Commit Graph
26343 Commits
Author SHA1 Message Date
dotCooCoo 028ff072e2 Docs: Raster Settings OK refuses only when there are changes to apply
With unchanged settings OK closes the dialog before the document, history and object checks run (crates/ui-egui/src/panels/three_d/raster.rs:147), so docs/mcp.md and docs/three-d.md now say the refusals apply when there are changes.
2026-12-04 21:26:00 -08:00
dotCooCoo c5e2098a59 Merge main into fix/raster-settings-opened-objects
# Conflicts:
#	ROADMAP.md
2026-12-04 19:25:58 -08:00
.CooCoo 558191ec37 Merge pull request #10901 from dotCooCoo/fix/warm-no-test-executables
xtask: the cache warm no longer builds integration test executables
2026-12-04 19:24:38 -08:00
dotCooCoo eb1e5b6b14 3D: Raster Settings OK refuses after a canceled edit or during a tool edit
A canceled undo group, or a canceled undo scope that put back an earlier
snapshot, now advances the document's history restore count, as Undo
and Redo do. The same steps can make an equal object with the same id
again after such a cancel, so Raster Settings, Placement Options and
Create Object Mosaic ask to be reopened. A scope canceled without an
edit puts back the same snapshot and does not count.

Raster Settings OK also refuses while a tool edit computed on another
thread is pending, since running the command would apply that edit
first, after the targets were checked.

When the objects the dialog opened on render again, OK clears their
earlier fallback warning from the status bar while it still shows it,
unless a selected object still gives that warning; the selection's
first other warning takes its place.
2026-12-04 19:04:33 -08:00
.CooCoo dcab528174 Merge pull request #10632 from dotCooCoo/fix/tracing-mask-art
Scripts: retracing and releasing refuse a tracing with added opacity mask art
2026-12-04 18:58:41 -08:00
.CooCoo 72801b126e Merge pull request #10896 from dotCooCoo/fix/new-group-in-shaper-group
Shaper: new groups and clipping masks no longer delete a Shaper group
2026-12-04 18:52:48 -08:00
dotCooCoo 5bfe35996b xtask: the cache warm no longer builds integration test executables
Since #10163, `cargo xtask ci warm` built each test shard with
`--lib --bins --tests --no-run`, so the dependency-cache entry also held
the integration test executables. The gate-crates entry grew from about
4.7 GB to 10.3 to 10.5 GB, above the repository's 10 GB cache budget,
and the slowest test shard on main took 30 to 31 minutes afterwards
against 26 to 28 minutes before.

The warm build now builds the library and binary tests of each shard's
crates (`--lib --bins --no-run`) and skips a run of integration tests
alone, whose crate has its library tests built on another shard. The
integration tests take the same dependencies and dev-dependencies, so
the entry still holds every dependency the shards build. Cargo again
warns `unused dependency vectorcraft-testkit` for vectorcraft-cli in the
warm log; only that crate's integration tests use it.
2026-12-04 18:47:47 -08:00
.CooCoo 4be58b75cd Merge pull request #10144 from dotCooCoo/feat/release-containers
Artwork Cleanup: Release All Containers takes apart every group, clipping mask and compound path
2026-12-04 18:46:43 -08:00
.CooCoo f6085cbfdc Merge pull request #10893 from dotCooCoo/fix/libraries-panel-scroll
Libraries: a library taller than the panel scrolls
2026-12-04 18:46:22 -08:00
.CooCoo 88851063c0 Merge pull request #10894 from dotCooCoo/fix/font-hinting-back-on
Fonts: text is hinted again, now that the pinned skrifa ends its blue-zone search
2026-12-04 18:36:15 -08:00
.CooCoo 7802fe94be Merge pull request #10726 from dotCooCoo/fix/held-dialog-outcomes
Dialogs: a control confirm of a held OK replies with the app's answer
2026-12-04 18:30:21 -08:00
.CooCoo a67c2e90c7 Merge pull request #10389 from dotCooCoo/fix/undock-essentials-palettes-shown
Panels: a panel floated in Essentials opens a window that shows
2026-12-04 18:29:13 -08:00
.CooCoo e34c9590cc Merge pull request #10716 from dotCooCoo/fix/blend-spacing-draft-follows-selection
Blend: an unfinished Steps, Distance, Ramp or Shift value stays with the blend it was typed for
2026-12-04 18:21:58 -08:00
dotCooCoo a680aef74a Merge main into fix/tracing-mask-art 2026-12-04 18:19:19 -08:00
dotCooCoo 0ca72a4a26 Merge main into fix/new-group-in-shaper-group 2026-12-04 18:18:17 -08:00
.CooCoo ae67ca69e6 Merge pull request #10884 from dotCooCoo/fix/script-stale-collection-before-range
Scripts: stale layers and artboards throw their stale error from index()
2026-12-04 18:10:21 -08:00
.CooCoo f4c65a2f0f Merge pull request #9053 from dotCooCoo/feat/scripts-api-d5-swatches-symbols
Scripts: documents give scripts their swatches, spots, symbols, graphic styles and brushes
2026-12-04 18:08:05 -08:00
.CooCoo e14a044217 Merge pull request #10881 from dotCooCoo/fix/artboard-guide-closing-anchor
Arrange Tools: a guide whose last anchor repeats its first is not added again
2026-12-04 18:07:08 -08:00
dotCooCoo 43d4cb2a25 Merge main into feat/release-containers 2026-12-04 18:03:46 -08:00
dotCooCoo 55043a5c0f Merge main into fix/libraries-panel-scroll 2026-12-04 18:03:22 -08:00
dotCooCoo 05ed058fb1 Shaper: new groups and clipping masks no longer delete a Shaper group
A Shaper group keeps its source art at the bottom and rebuilds the rest
from it. object.newGroup with a Shaper group as parent at index 0, and
layer.clippingMask.toggle (also a script's clipped = true) on a Shaper
group, put a new object where the source art was. The group then read
no sources and was deleted. Both commands now refuse a Shaper group and
leave the document as it is; the clipping check runs before the edit
opens, so a refused call leaves typing as it is.
2026-12-04 18:02:53 -08:00
.CooCoo 85bd77b528 Merge pull request #9315 from dotCooCoo/feat/scripts-export-for-screens
Scripts: Document.exportForScreens writes artboards, assets or the document into a folder
2026-12-04 17:59:22 -08:00
.CooCoo 415fa81712 Merge pull request #10641 from dotCooCoo/fix/trace-preset-bracket-names
Scripts: loading the same built-in preset with or without brackets does not trace again
2026-12-04 17:59:16 -08:00
.CooCoo 48488547af Merge pull request #10856 from dotCooCoo/fix/live-corners-keep-straightened-radius
Live Corners: a straightened corner rounds again when a later move bends it
2026-12-04 17:59:11 -08:00
.CooCoo 32513255bd Merge pull request #10860 from dotCooCoo/fix/placed-dimension-composite-font
Place: a placed dimension keeps the composite font its label was renamed to
2026-12-04 17:59:07 -08:00
.CooCoo 0fb3f00a4b Merge pull request #10877 from dotCooCoo/fix/dwt-dws-open
DWG: .dwt templates and .dws standards files open as DWG drawings
2026-12-04 17:59:00 -08:00
.CooCoo 43e046ed33 Merge pull request #10878 from dotCooCoo/fix/webp-embed-icc
WebP export: Embed ICC Profile writes the sRGB profile in an ICCP chunk
2026-12-04 17:58:57 -08:00
dotCooCoo 5cddb35244 Merge main into feat/release-containers 2026-12-04 17:52:15 -08:00
dotCooCoo ec78385f8c Artwork Cleanup: Release All Containers keeps group paint and clipped art on locked artboards
- A group with fill or stroke rows of its own stays whole, so its members
  keep the paint the group draws for them.
- A clipping group whose shown clipped artwork overlaps a locked artboard
  stays whole even when its clipping path lies off the artboard, including
  when a target inside it is named by `ids`. Hidden artwork, art in pattern
  editing mode and runs with `clipGroups` false do not count.
2026-12-04 17:45:02 -08:00
dotCooCoo b4f7d20598 Libraries: a library taller than the panel scrolls
The panel's items sat in a stack that filled the panel's room without
scrolling, so the wheel, touchpad and scroll bar did nothing and items
past the bottom edge could not be reached, in both the list and the
thumbnail view. The stack now scrolls vertically under the library
picker and search field, and the footer stays in place.
2026-12-04 17:44:33 -08:00
dotCooCoo e487e66d0c Merge main into fix/held-dialog-outcomes 2026-12-04 17:36:29 -08:00
dotCooCoo 4e9a761be2 Tests: wrap the unhinted sample test's doc comment like the rest of the file 2026-12-04 17:26:55 -08:00
dotCooCoo a53165fa85 Scripts: stale layers and artboards throw their stale error from index()
layers.index(n) and artboards.index(n) returned Not found for a negative
or fractional number before checking whether the collection was stale, so
a script holding a stale collection got the wrong error. Both now check
the collection first, as the art collections' index() does.
2026-12-04 17:03:47 -08:00
.CooCoo bcc1ce94fe Merge pull request #10861 from dotCooCoo/docs/place-composite-font-errors
Docs: composite fonts that placed editable art brings, and their errors
2026-12-04 17:03:34 -08:00
.CooCoo ecf3096ff0 Merge pull request #10867 from dotCooCoo/fix/save-changes-docs-choice
Docs: the save-changes question takes choice dontSave, not discard
2026-12-04 17:03:30 -08:00
.CooCoo 1a4e9fe934 Merge pull request #10850 from dotCooCoo/fix/prefs-agents-control-clients
Agents: control clients can't change the agent settings
2026-12-04 17:03:25 -08:00
.CooCoo ecd771c54c Merge pull request #10644 from dotCooCoo/fix/popout-stable-measure
Panels: the Color and Gradient pop-outs run one pass a frame
2026-12-04 17:03:21 -08:00
dotCooCoo 1efdc3ffb1 Fonts: text is hinted again, now that the pinned skrifa ends its blue-zone search
The VectorCraft window drew all text without font hinting, because
adopt_context turned egui's hinting off in both themes of each new
context (ui_fonts::hinting_off). With hinting on, skrifa 0.44's
automatic hinter never finished a tall narrow Hebrew letter in a face
without hinting instructions, and the font list stopped responding.

The craft-libs rev in Cargo.toml (37d0532f42, storytold/craft-libs#5222)
carries skrifa 0.44.0 with the blue-zone exit, and the [patch.crates-io]
entry takes skrifa from it. Remove hinting_off and its call, so every
context hints text as egui does by default: interface text and the
samples in the font list and the font picker. Type on the canvas is
drawn from its own outlines and does not change.

a_face_without_hinting_instructions_draws_its_sample now checks that a
context the app adopts hints text in its global, light and dark styles,
and still draws U+05D1 from a face without instructions.
2026-12-04 16:57:16 -08:00
dotCooCoo a4b2e4fe36 Scripts: remove the unused empty-path closed set
Setting `closed` on a path with no points gives it an empty closed
subpath, so the path's own data keeps the setting. The separate set of
empty paths, its key, its cleanup after commands and its copy in the
command trail were no longer written to by anything. `closed` and
`setEntirePath` now read the closed state from the subpaths only.
2026-12-04 16:52:48 -08:00
.CooCoo 2a17b3d23d Merge pull request #10875 from dotCooCoo/fix/compress-i18n-catalogs
i18n: embed the interface language catalogs Brotli-compressed, 16 MB smaller binary
2026-12-04 16:52:39 -08:00
dotCooCoo 6607e9acc5 Arrange Tools: a guide whose last anchor repeats its first is not added again
Add Artboard Guides (#10090) skipped a guide already on the Artboard
Guides layer only when its path listed each corner once. A closed path
whose last anchor sits on its first one, as some files and tools write
a rectangle, did not match, so each run added another guide and another
undo step. The corner check now leaves out a closing anchor on the
first one; the segment check still runs over every anchor, so that
anchor's handles must stay on its point.
2026-12-04 16:43:27 -08:00
dotCooCoo 8ff9964b13 3D: Raster Settings OK sets the objects the dialog opened on
Raster Settings opened with the selected objects' render settings, but
OK applied the edited values to whatever was selected at OK time. An
object selected while the dialog was open took settings it was never
shown.

OK now sets the objects selected when the dialog opened. When the
document is no longer the active one, was reverted, had an Undo or
Redo, or one of those objects was changed, deleted, locked or hidden,
OK keeps the dialog open with the reason.
2026-12-04 16:41:41 -08:00
.CooCoo 3368ac519c Merge pull request #10871 from dotCooCoo/fix/cad-clipboard-paste
Paste: read CAD apps' metafiles on Windows and copied DXF, DWG and HP-GL files
2026-12-04 16:29:31 -08:00
dotCooCoo fc2c469eb2 Docs: a straightened corner's stored radius keeps the path live
The Live Corners line said an anchor edit makes the shape a plain path when no corner has a radius. The check reads the stored radii, so a straight anchor that holds the only radius above 0 keeps the path live.
2026-12-04 16:28:41 -08:00
dotCooCoo 96e66b5e8d Merge main into feat/scripts-api-d5-swatches-symbols 2026-12-04 16:27:43 -08:00
dotCooCoo ba9b2691eb Merge feat/scripts-export-for-screens 2026-12-04 16:05:16 -08:00
dotCooCoo 8b82ccf327 Scripts: null exportForScreens arguments throw, and a read before a closing brace is shared
- Document.exportForScreens throws a TypeError for null in place of the
  options, itemToExport or fileNamePrefix, as exportFile does for null
  options, instead of taking the defaults.
- The script checker counts a variable read just before the `}` that
  closes a function body (`function get() { return $.global['local'] }`)
  as read in that body, so a later literal's saveAs is no longer exempt.
2026-12-04 16:04:49 -08:00
dotCooCoo b8e11fb2c7 Place: a placed dimension reuses an equal composite font of the same name
When the document defined a composite font with the same name and the same
definition as one a placed dimension used, but spelled in more than the 256
bytes a dimension's family keeps (a case-insensitive match such as Kelvin
signs for k), placement copied the incoming font under a new name instead of
reusing the document's. The byte limit now applies only to an alias under
another name; a same-name reuse keeps the dimension's own spelling.

Merging main had also left a second, unguarded rename of a dimension's
family next to the guarded one, so a renamed family that was too long or
only differed in case was still written. The unguarded rename is removed.

docs/mcp.md describes how file.place renames a placed dimension's family.
2026-12-04 16:00:35 -08:00
dotCooCoo 2101a3af56 Tests: check the prefixed export folder holds two entries before checking each is a file 2026-12-04 15:58:20 -08:00
dotCooCoo e32c3ae32d Merge main into fix/tracing-mask-art 2026-12-04 15:56:51 -08:00