Commit Graph
11194 Commits
Author SHA1 Message Date
dotCooCoo 8a5f206e3c Merge main into feat/scripts-api-d6-save-export-open 2026-11-30 10:55:42 -08:00
.CooCoo dc6beff197 Merge pull request #10281 from dotCooCoo/fix/issue-3211
Fix #3211: Text Wrap › Make wraps the area type selected with the object
2026-11-30 10:30:57 -08:00
.CooCoo 82108c11bd Merge pull request #9277 from dotCooCoo/feat/scripts-app-select-tool
Scripts: app.selectTool picks a tool
2026-11-30 09:44:47 -08:00
.CooCoo 8c1dc6bb5d Merge pull request #10069 from dotCooCoo/fix/brush-options-unchanged-undo
Brushes: Brush Options and Apply Brush that change nothing add no undo step
2026-11-30 08:45:52 -08:00
.CooCoo 298b15308d Merge pull request #8797 from yoriswind/codex/8710-layers-appearance-marker
Layers: distinguish own appearance from targeting
2026-11-30 07:55:12 -08:00
.CooCoo 44e57e37d7 Merge pull request #10169 from dotCooCoo/fix/shape-builder-fill
Shape Builder: Pick Color From defaults to Color Swatches, so a picked fill fills the merge
2026-11-30 07:53:27 -08:00
dotCooCoo ed0859d0d0 Scripts: kept-default option enumerations and refusal of non-UTF-8 real paths
The enumerations whose default member an option keeps (OutputFlattening,
CompressionQuality, the PDF color, compression, mark and security enums,
and the SVG encoding, DTD, CSS and font enums) are now defined, so a
script that sets an option to its default no longer throws a
ReferenceError; another member still throws as not available yet.

saveAs, exportFile, app.open and close with SAVECHANGES refuse a path
whose real file name is not valid UTF-8 instead of writing to or opening
a file named with a lossy copy of it.
2026-11-30 07:51:17 -08:00
dotCooCoo ede596a7ed Fix #3211: Text Wrap › Make wraps the area type selected with the object
Make set the wrap option on every selected object, the area type
included, and the wrap resolver never wraps an object that has the
option, so selecting the object and the type together and choosing Make
left the type as it was.

- Make leaves a selected type object with another selected object above
  it in its layer out of the wrap objects, and takes the option off it
  if an earlier Make set it there. Text Wrap Options leaves it out too.
- Make warns in the status bar when no area type lies below any of its
  wrap objects (the object is below the type, or the type is point
  type).
- Make and Options record no undo step when nothing changes.

Docs: docs/mcp.md, the text_wrap tool description and the command
params text.
2026-11-30 07:28:17 -08:00
FredApps 4892e7d3a4 Merge pull request #10197 from dotCooCoo/fix/asset-export-footer-scrolls
Asset Export: the settings scroll in a short panel instead of running off its top
2026-11-30 15:32:18 +01:00
yoriswind 3d0183495c Merge upstream panel harness changes for Layers appearance markers 2026-11-30 05:40:00 -08:00
FredApps 1d9f1ef042 Merge pull request #10206 from jmverges/fix/ai-page-word-of-two-text-objects
.ai import: a word the page draws from two text objects in a row is their type
2026-11-30 14:37:21 +01:00
dotCooCoo f4c911d4d3 Scripts: open options with an importer, null export options and close checks for files that keep every artboard
- document.open refuses page, cropTo, pages and crop when a named importer reads the file (linkPages
  still uses the built-in reader).
- exportFile with explicit null options throws a TypeError for GIF, PNG8 and TIFF too.
- close(SaveOptions.SAVECHANGES) saves a modern .ai or .ait file and an SVG file with Preserve
  Editing whatever range was remembered; a range the save refuses still refuses.
- The script checker keeps a try statement's catch and finally, and an else after a nested
  do-while, inside the loop body; a line break after a label does not start a new statement; a
  this assignment in a function that hides a global clears the global's saved methods; and
  holder.d['saveAs'] = ... no longer counts as a write to d.
- docs/mcp.md describes which files keep every artboard on close.
2026-11-30 03:36:01 -08:00
jmvergesandClaude Opus 5.5 bc9e7c9124 .ai import: a word the page draws from two text objects in a row is their type
Where the text document makes the type of every text object that shows,
each piece of the page's type is matched with the made type that holds
it, and a word of the piece is that type's when its spelling contains
the word. The page can draw two text objects as one word: a word and a
letter set apart from it (a swash "h" after "Spirit") come out of the
page as one piece, "Spirith". Both text objects hold the piece, but
neither spells the word, so it was counted as type with no text object,
with the note "some of the page's type has no text object in the
layers, so it is left out" (a loss, so `convert` wouldn't write over the
file), though both text objects come in and draw it.

A word still left is now the type of the text objects holding the piece
when it is the last word of one of them joined to the first word of
another that draws after it along the first one's lines. Each part is a
whole word of its text object, so bits of words don't make up a piece,
and the two the other way round don't make the word.

In our garment files (used locally, never committed) this takes the
note off one file of 424 and changes nothing else.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 07:06:19 +00:00
dotCooCoo e94496b42f Asset Export: the settings scroll in a short panel
With assets in the panel and many format rows, the Export Settings
section grew past the top of the panel, so its heading and the first
format rows could not be reached. The settings now sit in a scrolling
stack that takes at most half the panel's height, as the CSS
Properties panel does, and the preset name row, Export and the footer
bar stay below it.
2026-11-29 22:16:18 -08:00
.CooCoo 782cf7b474 Merge pull request #10183 from dotCooCoo/docs/docs-roadmap-current
Docs: docs/roadmap.md matches what main ships
2026-11-29 20:09:23 -08:00
.CooCoo f5abe7c1ae Merge pull request #10181 from dotCooCoo/docs/three-d-current
Docs: three-d.md matches what main ships
2026-11-29 20:09:17 -08:00
.CooCoo 079a5efdbe Merge pull request #10180 from dotCooCoo/docs/hardware-parity-current
Docs: hardware-parity.md matches what main ships
2026-11-29 20:09:11 -08:00
.CooCoo 1ee2fb8d0a Merge pull request #10179 from dotCooCoo/docs/type-parity-current
Docs: type-parity.md matches what main ships
2026-11-29 20:09:04 -08:00
.CooCoo 1718b77510 Merge pull request #10178 from dotCooCoo/docs/effects-parity-current
Docs: effects-parity.md matches what main ships
2026-11-29 20:08:57 -08:00
.CooCoo 8d6748a927 Merge pull request #10177 from dotCooCoo/docs/file-format-parity-current
Docs: file-format-parity.md matches what main ships
2026-11-29 20:08:49 -08:00
.CooCoo 5e128de75b Merge pull request #10176 from dotCooCoo/docs/ui-parity-current
Docs: ui-parity.md matches what main ships
2026-11-29 20:08:40 -08:00
.CooCoo ae18c8e8bf Merge pull request #10175 from dotCooCoo/docs/target-app-parity-current
Docs: target-app-parity.md matches what main ships
2026-11-29 20:08:29 -08:00
dotCooCoo 2be42e7986 Shape Builder: saved Artwork from earlier versions switches to Color Swatches once
Leaving the Shape Builder saved every one of its options, so preferences
from earlier versions hold pickColorFrom "artwork" whether or not it was
picked, and kept the old default after Color Swatches became the default.

The preferences now carry toolSettingsVersion, written as 1 once a tool
setting is stored. Applying preferences without it changes a saved
Shape Builder pickColorFrom "artwork" to "swatches" and writes the
version, so Artwork picked after that is kept at the next launch. A
saved "swatches" and preferences without a saved pickColorFrom are
unchanged.

Docs: docs/mcp.md and the tool options params text.
2026-11-29 19:52:59 -08:00
dotCooCoo 3a8b8b8f25 Merge main into feat/scripts-api-d6-save-export-open 2026-11-29 19:06:23 -08:00
dotCooCoo 0d81846481 Docs: docs/roadmap.md matches what main ships
The Set type row names Justification… (#2771) instead of calling the
justification options missing. The Alongside step names the one menu stub
left, Effect › 3D and Materials › Materials…, instead of 28. Both M7 rows
mark tab leaders done (#1880) and vertical type in progress with Type ›
Type Orientation (#5027).
2026-11-29 18:44:43 -08:00
dotCooCoo 4092a8b10b Docs: gaps.md matches what main ships
Lines that called shipped work missing, pending or unconfirmed now say
what main has: the key anchor for Align and Distribute (#7769, #8023),
artboard colors in exports and print (#4991), update checks (#4138),
Touch Type, Snap to Glyph, ruby, kinsoku sets and tate-chu-yoko, the
file-font and read-only save regressions passing in #4569 and #6671,
and the Wayland cursor and Windows title bar fixes the reporters
confirmed (#1645, #1758). The built-in brush library count and list
match the twenty libraries in brushlib.rs, and the Preferences count
matches the two options still listed under Missing.
2026-11-29 18:44:15 -08:00
dotCooCoo 059946687a Docs: target-app-parity.md matches what main ships
Lines that listed shipped features as remaining now name the pull
request that built them: Touch Type (#2469), the Dimension tool (#1788),
the freehand Keep selected (#2246), Alt to the Smooth tool (#2685), Blob
Brush Merge Only with Selection (#2367), Live Corners' Relative rounding
(#3091), Global Edit of similar groups (#4983), Consolidate All Windows
(#5216), Select All across threaded frames (#5542), the Bullets and
Numbering dialog and list levels (#5037), Convert to Text (#4093), the
spelling dialogs (#6341, #6425, #7744), Retype's installed-font search
(#8823), Retype in Quick Actions (#8778) and Cursor Swatch Preview
(#7265). The #1758 entry records the reporter's confirmation. Scores,
status lines and revision-history rows are unchanged.
2026-11-29 18:44:10 -08:00
dotCooCoo 47d067bfca Docs: ui-parity.md matches what main ships
The two duplicate Simplify rows are marked done: the slider opens at
the Auto-Simplify level (#3750), and with part of a path
direct-selected only the selected runs are simplified (#3814).

The Actions panel row names New Action (#5270) and Action Options
setting a function key that plays the action; editing actions remains.

The dynamic symbols row adds gradient and pattern fills and strokes
and the Transparency panel's opacity and blend for a picked part
(#6308), and .ai editing data keeping dynamic symbols (#8747).
2026-11-29 18:41:10 -08:00
dotCooCoo 51f49815a4 Docs: hardware-parity.md matches what main ships
- Summary: Windows reads the pen's tilt and barrel rotation with
  Windows Ink (#372).
- Pen tilt row: Bristle brushes follow the recorded pen pose (#8490).
- Touch gestures row: the Touch workspace ships (#3139); touch-screen
  rotation is still missing.
- Multiple monitors row: floating panels (#4135) and floating document
  windows (#5278) are OS windows, and a floating panel reopens on the
  monitor where it was left (#6038); Wayland remains.
- 3D GPU rendering row: 3D and Materials ship (#1453) and draw on the
  CPU, shaded or wireframe, with no ray tracing.

No status line, revision-history row or score changes.
2026-11-29 18:40:37 -08:00
dotCooCoo d4ba715061 Docs: effects-parity.md matches what main ships
- 3D and Materials: the summary row counts Revolve (Classic) and
  Rotate (Classic) beside Extrude & Bevel (Classic) (#6174, #6817,
  #6826).
- Path: Use Preview Bounds measures type with Outline Object by its
  glyph outlines in Align, Distribute and the Transform panel (#2595).
- Stylize: Scribble Options has its Settings presets (#4274).
- Warp: the Mesh tool and Direct Selection edit a warp envelope's
  points (#7064).
2026-11-29 18:40:34 -08:00
dotCooCoo 848d8881b2 Docs: file-format-parity.md matches what main ships
The PDF embedded-font paragraph now records that full workspace CI
passed on #4569 before it merged; hardening paths outside those suites
stay pending. The read-only Save summary now records that the focused
engine regressions from #6671 passed; native panel acceptance stays
pending.
2026-11-29 18:40:28 -08:00
dotCooCoo 4c24874e2e Docs: type-parity.md matches what main ships
The CJK row lists custom kinsoku sets as done, through Type › Kinsoku
Shori Settings… (#7229); custom mojikumi sets and the Mojikumi Settings
dialog stay missing. The Retype row no longer lists the Properties
panel's Quick Actions among the missing ways to open the Retype panel,
since its Retype Quick Action does that (#8778).
2026-11-29 18:40:13 -08:00
dotCooCoo 45b0cb12f0 Docs: three-d.md matches what main ships
Graphics map onto Inflate's puffed front and back (#7767), so the
unbuilt list no longer names graphics on Inflate and the Graphics
sentence names Inflate's faces. The 3D (Classic) effects export as
meshes through Asset Export (#6168, #7852), so only Turntable stays
named as unbuilt there.
2026-11-29 18:39:59 -08:00
dotCooCoo 8e68c5edcf Shape Builder: Pick Color From defaults to Color Swatches
While the Shape Builder is active, a fill picked from a swatch or a color
changes only the current fill, and the selected art keeps its own. With
Pick Color From set to Artwork, a merge takes the look of the art, so the
picked color never reached the merged shape and the tool looked as if it
could not fill.

Pick Color From now defaults to Color Swatches: a merge fills with the
picked color, and the Left and Right arrow keys step through the color
swatches. A pickColorFrom saved with the preferences is kept, so a saved
Artwork stays Artwork; preferences saved without one take Color Swatches.
The shapeBuilder.merge command still defaults to artwork when its
pickColorFrom is left out.

Docs: docs/mcp.md and the tool options params text.
2026-11-29 17:43:37 -08:00
dotCooCoo f99ef023ad Scripts: close checks the artboards the saved file keeps; saves report warnings
Document.close(SaveOptions.SAVECHANGES) now judges artboard loss by the
file the save writes. A PDF last saved with useArtboards: false is
refused, since it holds one page of the art's bounds. A native or .ai
file saved with separateArtboards is saved and closed whatever its range
names, since the range picks only the separate files; a version 7 .ai
file keeps the range check.

Document.saveAs, Document.exportFile, app.open and the save that
close(SaveOptions.SAVECHANGES) runs write each warning of their command
to the console after the method's name (for example "saveAs: SVG keeps 1
of the document's 2 artboards ...").

Script Check reports a file write for a saveAs or exportFile call on the
script's own object when the variable is assigned in a loop around the
call, since a later iteration may run the call on a document. Loop bodies
without braces follow if, else and line breaks, and a variable of the
same name that a function declares is kept apart.

A test shows that a waiting point change counts as unsaved for
Document.saved and close().
2026-11-29 16:49:37 -08:00
dotCooCoo 2960e55b6c Match Objects: a stacking match keeps clipping paths and settles Intertwine groups
Merging main made DIALOGS one entry short: Offset Objects and Match Objects
both joined it, so vectorcraft-ui-egui did not compile. The table now
declares seven entries.

A stacking match moved a clipping path out of its clip position and could
move a member out of an Intertwine group with its old overlap tiers. It now
refuses to move a clipping path, refuses a destination that would nest
Intertwine art, and clears the tiers of members that leave their group.

A stacking or rotate-only match no longer needs bounds on the source. A
size match measures each target after it is sized and turned, in its final
frame, and is refused when a target can't take the requested size, instead
of reporting success with the size unchanged. A target with no bounds that
needs to turn is refused.
2026-11-29 15:40:43 -08:00
dotCooCoo f11aac5aaa Merge main into feat/match-objects-to-key 2026-11-29 15:00:53 -08:00
dotCooCoo b1e9a4cbb3 Merge main into feat/scripts-api-d6-save-export-open
main's Document member list held saveAs and close as members that are not
available yet; this branch's save_open members implement them, so the
merge drops them from that list and keeps main's other entries. The
script host test lists take main's members together with this branch's
open, userInteractionLevel, fullName, path, saved and option classes,
and the heap accounting keeps main's ModuleNamespace arm beside the
FsEntry string arm.
2026-11-29 14:13:21 -08:00
.CooCoo 52de8120d3 Merge pull request #10105 from dotCooCoo/fix/script-dom-path-edits
Scripts: point removals keep the selection, new-art defaults and batching right
2026-11-29 10:58:53 -08:00
dotCooCoo cddc75cf5c Brushes: only Brush Options skips an unchanged library save
The equality check that skips the undo step now sits in brush.options,
which compares the edited brush with the stored one. New, Delete, Move,
Duplicate and Replace Brush Art save the library as they do on main,
without decoding it a second time. docs/target-app-parity.md lists the
no-op rules for Brush Options and Apply Brush with their tests.
2026-11-29 10:27:30 -08:00
dotCooCoo fda48b02d0 Merge main into feat/scripts-app-select-tool 2026-11-29 10:25:17 -08:00
dotCooCoo 87b5aef639 Scripts: point removals keep the selection, defaults and batching right
Follow-up to #9288.

- Removing the last anchor of a closed path with its closing segment
  selected also deselects the first anchor, the segment's other end.
- Removing a point puts back new art's paint, so a default stroke width
  a script set still applies to the next path it draws.
- A removal that leaves the direct selection as it was waits with the
  other point changes, unless every remaining anchor is now selected,
  the selection refers to points that are gone, or the path is in an
  Objects on Path group.
- Reading the points of a path first writes the waiting point changes
  of another path in the same Objects on Path group.
- Writing a path in an Objects on Path group checks the other tracked
  paths in the outermost such group, so their PathPoint handles go stale
  when the group moves them, even after an undo.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-29 10:24:53 -08:00
.CooCoo 283902214f Merge pull request #10075 from dotCooCoo/feat/offset-objects-row
Arrange Tools: Offset Objects chains the selection in a row or a column with a set gap
2026-11-29 10:23:17 -08:00
dotCooCoo bd0d0149ac Brushes: Apply Brush text says it clears a stroke's own settings
brush.apply clears the brush settings of each path's top stroke, and
clearing them is one undo step. The command text and docs/mcp.md now
limit the no-op to a current brush whose top strokes already have it,
paint, a width above 0 and no settings of their own. A new test applies
the current brush to a stroke with its own settings and checks that they
are cleared as one undo step.
2026-11-29 10:00:26 -08:00
dotCooCoo a5f877e0d1 Merge main into feat/match-objects-to-key 2026-11-29 09:39:05 -08:00
ruchirguitar a4659724f6 Merge main into feat/spell-check
Cargo.toml: #10049 moved craft-libs to 186a229c; the font store crates this
branch adds move with it, so every craft-libs crate stays at one rev.
2026-11-29 22:41:45 +05:30
.CooCoo 619a6e5ed1 Merge pull request #10071 from dotCooCoo/fix/symbol-options-unchanged-undo
Symbols: Symbol Options and Replace Symbol that change nothing add no undo step
2026-11-29 09:10:19 -08:00
.CooCoo e21b9202e9 Merge pull request #10048 from dotCooCoo/fix/transparency-info-values
Transparency: transparency.info reports the selected symbol part that transparency.set edits
2026-11-29 09:07:52 -08:00
dotCooCoo c10031537b Merge main into feat/scripts-doc-defaults 2026-11-29 06:45:39 -08:00
dotCooCoo 6ef6df3407 Scripts: round artboard rows as main's New Document test expects, and drop pathItems= from the host table
Cause of the CI failures on 212090fd7a:
- main's dialogs::new_document test a_presets_rows_reach_the_document_create_makes
  sets artboardLayout.rows to 3.6 and expects 4, but this branch refused a
  rows value that was not a whole number. rows now rounds like columns and is
  still refused outside 1 to 1000.
- script_host_vs_scriptcheck listed Document.prototype.pathItems=, the
  setter of main's placeholder. This branch makes pathItems a read-only
  collection, like pageItems, so the row goes.
2026-11-29 06:45:32 -08:00