Commit Graph
26336 Commits
Author SHA1 Message Date
dotCooCoo 8aaa7a186f fmt: wrap the Concept to Vector panel test's string list 2026-12-04 19:05:41 -08:00
dotCooCoo 5050a2b628 Merge main into feat/concept-to-vector-providers 2026-12-04 18:22:25 -08:00
dotCooCoo 70dc7cf536 Concept to Vector: group the panel's commands under Window › Concept to Vector
Keyboard Shortcuts listed Generate Concept to Vector Styles and Cancel
Concept to Vector under "Ui", the capitalized first part of their ids,
because no menu holds them and GROUPS had no row for them. They now go
under the panel's Window menu item, as other panels' commands do.

The panel test checks the first and last offline style labels instead of
every entry of the style table.
2026-12-04 18:22:25 -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
.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 6a84088dc8 Concept to Vector: insert results outside plug-in generated art
An image inside a plug-in's generated art group took the variations as
new members of that group, and the next Edit Generated Art redrew the
group and deleted them. The group now counts as generated, so the
results go beside it, as they do for the other generated groups.
2026-12-04 17:22:41 -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 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
.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 e8ebbc5707 Merge main into feat/concept-to-vector-providers 2026-12-04 16:20:12 -08:00
dotCooCoo a0f06dd02e i18n: remove the Concept to Vector rows from the non-English catalogs
Feature pull requests add English strings only, and translations go
through storytold/craft-i18n. This removes the 1,252 rows the branch
added to 28 non-English catalogs in crates/ui-egui/src/i18n/. Each
catalog now matches main; the English strings stay in the source.
2026-12-04 16:20:12 -08:00
dotCooCoo 00c09a568d Concept to Vector: Object › Concept to Vector… is a desktop menu item
main's desktop_items_of_placeable_menus_are_known_to_the_engine test
asks every desktop-only item of a menu plug-ins may place items in to
be listed in DESKTOP_MENU_ITEMS, so placed_menu gives the same result
with and without the desktop app. The item is listed after Image
Trace, where the Object menu shows it.
2026-12-04 16:13:38 -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 d4a2d88387 Concept to Vector: the panel uses the craft UI framework
The panel's note, Styles count, style check boxes, Detail slider,
disabled prompt field, progress bar, Generate, Cancel, the results and
Insert Selected are framework components (Text, Field, Checkbox,
SliderField, TextField, Progress, Button, Row and Stack). Each preview
is a Picture of the painted image, stored under a key for its job and
style. Results wait while a dialog asks a question, as trace runs do.
The panel's tests read the icon through the icon registry and use the
test UI context; every assertion is unchanged.
2026-12-04 15:41:43 -08:00
dotCooCoo 635a726c1f Merge main into feat/concept-to-vector-providers
Conflicts resolved by keeping both sides: the session state and script
and batch rollbacks keep the Concept to Vector jobs beside main's retype
hand-off, clipboard counts and plug-in events; the plug-in deny list
keeps main's entries in order. The Control bar and Properties' Quick
Actions take main's framework buttons with Concept to Vector added
after Crop Image, and the task bar test uses main's helpers. In
docs/ui-parity.md the Concept to Vector row moves into main's table
with its Headless column.
2026-12-04 15:41:35 -08:00
dotCooCoo d467c36805 Merge main into fix/trace-preset-bracket-names 2026-12-04 15:32:09 -08:00
.CooCoo 93c4a474d0 Merge pull request #10864 from dotCooCoo/fix/corner-radius-draft-target
Live Corners: an unfinished corner radius stays with the corners it was typed for
2026-12-04 15:30:00 -08:00
.CooCoo 99ee6dd5a1 Merge pull request #10858 from dotCooCoo/fix/attributes-target-undo
Attributes: Undo and Redo drop an unfinished URL or note
2026-12-04 15:29:56 -08:00
.CooCoo 304ce77216 Merge pull request #10614 from dotCooCoo/fix/new-document-background-chip
New Document: Background Contents shows its color chip again
2026-12-04 15:29:52 -08:00
.CooCoo 41b87e5d7d Merge pull request #10184 from dotCooCoo/fix/dialog-keys-ui-inspect
MCP: dialog params texts match the keys and fields ui.inspect lists
2026-12-04 15:29:47 -08:00
.CooCoo 6c8ede6578 Merge pull request #10863 from dotCooCoo/fix/agents-ui-tools-report-window-errors
Agents: a UI tool reports why the window could not be reached
2026-12-04 15:29:42 -08:00
.CooCoo 5e45e0b00f Merge pull request #10843 from dotCooCoo/fix/agents-headless-fail-closed
Agents: a headless agent session with no usable agent folder gets no file access
2026-12-04 15:29:38 -08:00
.CooCoo 2612015ffc Merge pull request #10090 from dotCooCoo/feat/artboard-rect-guides
Arrange Tools: Add Artboard Guides puts a guide rectangle inside or outside artboards
2026-12-04 15:29:34 -08:00
.CooCoo 1b02d80af7 Merge pull request #10855 from dotCooCoo/fix/confined-marked-links-keep-canvas-markers
Links: a confined links.marked call leaves the canvas markers alone
2026-12-04 15:29:25 -08:00
.CooCoo 88694da6eb Merge pull request #10628 from dotCooCoo/fix/script-remove-trace-source
Scripts: remove() refuses a tracing's shown source image
2026-12-04 15:29:17 -08:00
.CooCoo d802cf3cd5 Merge pull request #9259 from dotCooCoo/feat/scripts-api-layer-path-items
Scripts: layers and groups give their own path items
2026-12-04 15:29:12 -08:00
dotCooCoo 6c28ad2390 Docs: composite font placement errors apply only when the placed art uses one
file.place checks the composite fonts only when the placed art uses a
composite font that its file defines.
2026-12-04 15:28:40 -08:00
dotCooCoo 2dc8a41ff8 Merge main into fix/webp-embed-icc 2026-12-04 15:24:10 -08:00
dotCooCoo 87778a672b WebP export: Embed ICC Profile writes the sRGB profile in an ICCP chunk
WebP had no embedIcc option, and its encoder never attached a profile,
so no WebP file carried one. WebP now takes embedIcc like JPEG, TIFF and
PSD, on by default: the file becomes an extended (VP8X) file holding the
sRGB profile in an ICCP chunk, lossless or lossy. embedIcc: false writes
the plain file as before.

- document.export and Export for Screens' settings.webp take embedIcc,
  and document.formats lists it for WebP.
- WebP Options (Export As and Export for Screens' Format Settings) gets
  an Embed ICC Profile checkbox.
- Docs: docs/mcp.md and docs/file-format-parity.md.
2026-12-04 15:24:10 -08:00
dotCooCoo 7dc78396e0 Merge main into feat/scripts-api-d5-swatches-symbols 2026-12-04 15:11:24 -08:00
dotCooCoo 2b5ca4f2ad Merge main into fix/placed-dimension-composite-font 2026-12-04 15:04:24 -08:00
dotCooCoo 19eb6cd88c Merge main into fix/popout-stable-measure 2026-12-04 15:00:25 -08:00