Commit Graph
11148 Commits
Author SHA1 Message Date
dotCooCoo 3919499f10 Merge main into feat/artboard-flood-fill 2026-11-30 06:57:07 -08:00
dotCooCoo b57a4ff927 Document Tools: Flood Fill Artboards keeps an RGB current fill in a CMYK document
Two fixes for review threads on this pull request.

The dialog sent an RGB current fill's working components without
keepModel, so in a CMYK document the engine converted the fill to CMYK.
While the shown color is left unchanged, the dialog now also sends
keepModel: true. An edited color converts to the document's model as
before.

With New Art Has Basic Appearance off and nothing selected, a preview
that drew new art took its new-art paints from that art, and the next
preview then put back the paints the interaction began with. A second
rectangle preview after a fill preview was drawn with the starting fill
instead of the previewed one. The interaction now keeps the paints from
before the inheritance and the next preview starts from them. A fill
chosen during the drag updates them too. After a failed preview, a
cancel or a commit puts back the paints the interaction began with.
2026-11-30 06:20:07 -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 07dffc15fd Document Tools: Flood Fill Artboards keeps an out-of-sRGB RGB fill when Color is picked
The dialog shows the current fill as a display sRGB color, clamped to
the sRGB range, and converted that shown color back to working RGB when
Color was picked. In a working RGB space wider than sRGB, a saturated
fill did not convert back to itself. While the shown color is left
unchanged, the dialog now sends an RGB current fill's own working
components. Non-RGB fills and edited colors convert as before.
2026-11-30 03:38:14 -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 <[email protected]>
2026-11-30 07:06:19 +00: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 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 07ab97addc Document Tools: Flood Fill Artboards checks params on replay and keeps the defaults on Cancel
- Params that are not an object or null are an error on journal and
  action replay as well as in a batch.
- A call without `artboards` or `all` records the artboard it filled as
  `activeArtboard` for a journal replay; a recorded action leaves it out,
  so playing the action fills the artboard active then.
- The command is disabled when the document has no artboards.
- Canceling a Flood Fill preview puts back the new-art paints it began
  with instead of taking them from the selection.
2026-11-29 18:27:30 -08:00
dotCooCoo 9d3d9bde76 Document Tools: Flood Fill Artboards takes keepModel
- `keepModel: true` keeps an explicit RGB color in RGB in a CMYK
  document, as paint.setFill does; it is declared in the params text,
  docs/mcp.md and ROADMAP.
- A `keepModel` of null or another non-boolean is an error, and nothing
  is edited.
2026-11-29 17:26:32 -08:00
dotCooCoo d2c2f66940 Document Tools: Flood Fill Artboards respects isolation, color model and template layers
- The command is disabled, and refused, while a group is isolated.
- A chosen color goes into the document's color model as paint.setFill
  puts it, so a CMYK document gets a CMYK fill unless keepModel is set.
- Rectangles added to a template layer are not selected, as on a locked
  or hidden layer.
2026-11-29 16:19:09 -08:00
dotCooCoo cd4253e52c Document Tools: Flood Fill Artboards refuses editing modes and bad params
- Flood Fill Artboards is disabled, and refused, while a symbol or a
  pattern is edited, so the rectangles never land in a definition.
- Params that are not an object or null are refused, also when an
  action.batch step is checked before it runs.
- The dialog keeps OK off, with a reason, when Current Fill is chosen
  and there is no current fill.
- With New Art Has Basic Appearance off and nothing selected, a paint
  preview that is replaced or canceled puts back the starting paints,
  so two paint.swap previews commit one swap, while a preview that
  takes its paints from new art it selected is tracked on its own.
2026-11-29 15:44:00 -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 6148b9aefd Document Tools: Flood Fill Artboards keeps its dialog open for a clipping layer
- The dialog's OK button stays off, with a reason, when the layer name
  matches a top-level layer that holds a clipping mask, which the
  command refuses.
- A batch step takes the live fill, so paint.setFill followed by Flood
  Fill Artboards in one command.batch uses the new fill.
- The OK check counts at most 255 characters after trimming, the same
  limit the command applies.
2026-11-29 14:29:54 -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 1e31f9b94c Document Tools: Flood Fill Artboards refuses infinite colors and keeps the fill on Cancel
- A color component too large for f32 (c: 1e308, [1e39, 0, 0], gray or
  Lab out of range) read as infinite and reached the rectangles; the
  command now refuses it with "bad color".
- The dialog's Color option opened on the current fill in display sRGB
  and sent it as working RGB, so a document whose working RGB space is
  not sRGB got a shifted color. The dialog now opens on the fill's
  display color and converts the picked color back to working RGB.
- With New Art Has Basic Appearance off and nothing selected, a
  previewed color gave the new rectangles' fill to the new-art paints,
  and Cancel or a replaced preview kept it. Both now put back the paints
  the interaction began with.

Docs: docs/mcp.md.
2026-11-29 10:45:42 -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 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
.CooCoo 3ad283b9b0 CI: ui-egui tests run on two shards (#10080)
vectorcraft-ui-egui's tests were one leg that set the pull request run's
length (33.2 min median over 20 runs: about 19 min compiling and 11.9 min
running 5,288 tests). The gate now has six legs. Shards 1 and 2 each
build vectorcraft-ui-egui's tests and run half of them with nextest's
count partition. Each part also runs its own pinned slow tests, so the
slowest tests do not land on one leg. Part 1 alone runs the doctests and
the i18n report, and `cargo xtask ci warm` builds the split once.

Before running, a part lists the tests and stops with an error when a
pinned test name no longer exists. The xtask shard tests check that
every test of a split runs on exactly one part.

The nightly signing policy and its preparation doc list the new job
names (`test N/6`).
2026-11-29 09:10:57 -05:00
dotCooCoo 54a6a92878 Document Tools: Flood Fill Artboards adds an artboard-sized rectangle on its own layer
Object > Plug-ins > Document Tools > Flood Fill Artboards... opens a dialog
that previews on the canvas and, on OK, runs the new command
addon.document.floodFillArtboards as one undo step. The command adds an
editable rectangle exactly the size of the active artboard, of listed
artboards or of every artboard, painted with the current fill or a given
color and no stroke. The rectangles go on top of a top-level layer named
"Flood Fill" (or the name given), which is made at the bottom of the
layers when the document has none. A layer that already exists keeps its
lock and visibility, and the current layer stays as it was.

Every given value is checked: null, wrong types, an empty or too long
layer name, a color with alpha, unknown artboards, and artboards together
with all are errors. A current fill of None without a color is an error.
In a preview, the current fill is the one the preview began with.

Docs: docs/mcp.md, ROADMAP.
2026-11-29 04:09:45 -08:00
dotCooCoo 2b61bdc752 Arrange Tools: Offset Objects chains the selection in a row or a column with a set gap
Object › Plug-ins › Arrange Tools › Offset Objects… (addon.arrange.offset)
puts the selected objects one after another in a row (left to right) or
a column (top to bottom), each a gap past the one before it; a negative
gap overlaps them. The order is the stacking order from the back or the
position (left or top edges), and Reverse Order runs it the other way.
The first object stays where it is, and the others move only along the
row or column, keeping their place across it. Objects are measured by
their visual bounds, a clipping group by its mask. One undo step, none
when nothing moves; bad params are refused.

The dialog has Direction, Gap, Order and Reverse Order with Preview.
Docs: docs/mcp.md, docs/ui-parity.md, docs/target-app-parity.md, ROADMAP.
2026-11-29 03:38:29 -08:00
dotCooCoo 4f2bb0d177 Arrange Tools: Match Objects gives the others the key object's size, angle and stacking place
Object › Plug-ins › Arrange Tools › Match Objects… (addon.arrange.match)
makes the other selected objects match one source object: the key
object, or the top or the bottom selected object. Each can take the
source's width (height in proportion), height (width in proportion) or
both, its bounding-box angle, and its stacking place directly above it
in its layer or group, about a reference point, as one undo step. No
step is recorded when nothing changes, and invalid params are refused.
The dialog previews on the canvas; OK stays off while nothing is chosen
or the source is a missing key object.

Docs: docs/mcp.md, docs/target-app-parity.md, docs/ui-parity.md, ROADMAP.
2026-11-29 03:38:13 -08:00
dotCooCoo 951e552a76 Symbols: Symbol Options and Replace Symbol that change nothing add no undo step
symbol.options recorded an undo step and moved the revision whenever any
option was passed, unless only alignToPixelGrid was given with the value
the symbol already had. A newName equal to the current name, or a
registration, export type, 9-slice, type or pixel grid value the symbol
already has, now leaves the document and its undo history as they are.

symbol.replace with the symbol the instances already show recorded an
undo step too. It now records one only when an instance changes.

Both run through colorcmds::edit_if_changed, as the Symbol Shifter and
the other symbolism tools do.
2026-11-29 02:43:57 -08:00
dotCooCoo 0bd735f53d Merge main into feat/scripts-doc-defaults 2026-11-28 23:20:21 -08:00
.CooCoo c62571e073 Merge pull request #8822 from Hassan1305/fix-8531-snap-budget-edges
Smart Guides: the topmost objects keep their snap targets in a document past the anchor budget (#8531)
2026-11-28 22:17:29 -08:00
dotCooCoo ff47fc8699 Transparency: transparency.info reports the selected symbol part that transparency.set edits
With an object of a dynamic symbol instance selected by Direct Selection,
transparency.set without ids changes that object's opacity and blend mode
for the instance, and the Transparency panel shows those values. The
transparency.info command still reported the instance's own opacity and
blend mode. Without ids or id it now returns the panel's values
(Session::transparency_info), so it reports the part's opacity and blend
mode with the instance's isolate and knockout. With ids or id it still
reports those objects.
2026-11-28 21:58:54 -08:00
.CooCoo 88772eefd1 Merge pull request #10043 from dotCooCoo/fix/panel-drags-after-file-revert
Drag and drop: panel drags held across File › Revert are not dropped on the restored drawing
2026-11-28 21:53:55 -08:00
dotCooCoo e6ffa5cc9e Merge main into fix/panel-drags-after-file-revert 2026-11-28 21:43:03 -08:00
.CooCoo 677414e15e Merge pull request #8131 from dotCooCoo/feat/color-wheel-copy-color-as
Part of #978: Copy Color As in the Color Wheel panel copies the color as hex, hex with alpha, CSS or CMYK values
2026-11-28 21:39:54 -08:00