Commit Graph
23424 Commits
Author SHA1 Message Date
dotCooCoo 845544618c Color Effects: Randomize Fill Colors documents that colors follow the ids order
The MCP guide and the command help now say that colors are drawn in the
order ids lists the objects, so the same seed can give each object a
different color when the order changes.

The graph design test also covers copies that keep the design flag while
the series no longer names a design, so the flag alone keeps their fills.
2026-11-29 21:56:00 -08:00
dotCooCoo 5fccf73431 Color Effects: Randomize Fill Colors colors compound marks in a graph series
A compound path or live compound shape directly in a graph series group now
takes a color. Generated column, marker and legend swatch copies carry a new
graph_design_art flag and keep their design's fill; in documents saved before
the flag, a compound in a series whose assigned design is itself a compound is
still treated as design art. Paths a user groups inside a series keep their
fills, as for paint.setFill. Nested members resolve to the outermost compound
in one walk of the ancestry, and series membership is looked up once per run.
2026-11-29 18:02:26 -08:00
dotCooCoo 2c807a0e9d Color Effects: Randomize Fill Colors leaves art on a locked artboard alone
Objects named in `ids` skipped the locked-artboard filter that the
selection applies, so the command could recolor art on a locked artboard.
The command now skips every target the locked artboards hold, checked once
per run with `Document::locked_artboards`. New art made on a locked
artboard that is still selected takes a color, as with other commands.

The params text, docs/mcp.md and the ROADMAP entry state the rule.
2026-11-29 10:45:46 -08:00
dotCooCoo 9334f11ddf Color Effects: Randomize Fill Colors gives each selected filled path its own random fill
Object › Plug-ins › Color Effects › Randomize Fill Colors… gives each
selected filled path and compound path, and each one inside the selected
groups and clipping groups, a fill color of its own, picked at random
from a seed, as one undo step (none when no fill changes).

- addon.color.randomFill {scheme?, swatch?, min?, max?, seed?, ids?}:
  "color" picks red, green and blue at random in the document's color
  mode, "tint" picks a linked tint of a global or spot swatch, and "gray"
  picks a gray, the tints and grays between min and max percent.
- Unfilled paths, clipping paths (compound ones included), hidden and
  locked objects and the objects in hidden or locked groups and layers,
  type, images, symbol instances, blends and envelopes keep their fills.
  A compound path's member given by id colors the compound path, and an
  object reached twice is colored once.
- Bad params are refused: an unknown scheme, min or max with "color",
  swatch without "tint", a percent outside 0 to 100, min above max, a
  missing or process swatch, and a seed that is not a whole number.
- The dialog has Colors, Swatch (the document's global and spot
  swatches), Minimum, Maximum and Seed, with Preview; OK is off while the
  minimum is above the maximum or tints have no swatch.

Docs: docs/mcp.md, ROADMAP, docs/target-app-parity.md, docs/ui-parity.md.
2026-11-29 07:23:57 -08:00
Dylan M. Taylor d4d8da4544 chore(ci): allow manual workflow_dispatch for SonarCloud (#10070) 2026-11-29 06:43:03 -05:00
.CooCoo 5f92d8987f Merge pull request #10040 from dotCooCoo/fix/scriptcheck-linear-steps
Script check: a script whose only finding is unsure names is scanned once
2026-11-28 23:02:49 -08:00
.CooCoo 81e7545e1b Merge pull request #10045 from dotCooCoo/fix/set-corners-commit
Set Corners: typed values reach the preview
2026-11-28 22:55:49 -08:00
dotCooCoo ea99ddfa63 Merge main into fix/scriptcheck-linear-steps 2026-11-28 22:20:45 -08:00
.CooCoo 67f9daecb8 Merge pull request #9932 from makesomethingshit/fix/9814-web-file-drop-once
Web: route each dropped file once
2026-11-28 22:17:33 -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
.CooCoo 8f719e5186 Merge pull request #10046 from dotCooCoo/fix/speed-i13854-menu-rebuilds
Menus: a key press rebuilds the menu states once
2026-11-28 22:15:15 -08:00
dotCooCoo 9e5e698372 Merge main into fix/speed-i13854-menu-rebuilds 2026-11-28 21:55:13 -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
dotCooCoo 288c14310d Merge main into feat/color-wheel-copy-color-as 2026-11-28 21:39:07 -08:00
.CooCoo 8ea80cb3bf Merge pull request #9093 from dotCooCoo/feat/hairline-slivers
Clean Up: remove hairline slivers thinner than a set width
2026-11-28 21:38:18 -08:00
.CooCoo 208185a7cf Merge pull request #10039 from dotCooCoo/fix/speed-i13930-global-edit-preview
Global Edit: the preview after an edit compares only the changed objects again
2026-11-28 21:38:02 -08:00
.CooCoo f9769056a1 Merge pull request #10041 from dotCooCoo/fix/save-options-radio-rows
Save options: All/Range and Transparent/Opaque radios have no empty caption over them
2026-11-28 21:37:46 -08:00
.CooCoo 3d5a154ed0 Merge pull request #10042 from dotCooCoo/fix/scriptcheck-linear-work
Scripts: the checker scans a script that binds no name once
2026-11-28 21:37:31 -08:00
dotCooCoo 63f1b5d45f Merge main into fix/speed-i13854-menu-rebuilds 2026-11-28 21:33:25 -08:00
HassanKhan 78795e188b Merge remote-tracking branch 'upstream/main' into fix-8531-snap-budget-edges
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-29 10:20:07 +05:00
.CooCoo 7da0740ae9 Merge pull request #10029 from dotCooCoo/fix/speed-i13929-dimmed-rows
Menus: a dimmed row runs its command's check once per rebuild
2026-11-28 21:13:40 -08:00
dotCooCoo 5f99cb7ebb Libraries: a swatch row held across File › Revert is not added to a library
The Libraries panel accepted a swatch row dragged before File › Revert and added the restored swatch of that name. Membership::grabbed now refuses stale rows, for the hover marker and on release.
2026-11-28 21:05:01 -08:00
dotCooCoo 1930ef33dd Set Corners: typed values reach the preview
The Set Corners dialog did not bind its values to the host fields that
the preview reads, so after typing a radius of 7 and a lower angle of
120 the host fields still held 10 and 0. The dialog now binds its
values with Bind::bound(fields), as the Arrange dialogs do.
2026-11-28 21:01:35 -08:00
.CooCoo 7a8866e036 Merge pull request #9251 from dotCooCoo/feat/scripts-app-undo-redo
Scripts: app.undo and app.redo step through the run's own edits
2026-11-28 20:55:35 -08:00
dotCooCoo a3ccd60b5b Script check: a script whose only finding is unsure names is scanned once
A script without includes whose declarations give names values the analysis
does not read came back from its first scan with `Known::unsure` set and no
names. `settle` counted that as something known and scanned the script again,
which found the same and doubled the scan's steps. The proptest
`any_bytes_are_checked_in_linear_work` shrank one such input to 104 bytes that
took 550 steps, over its bound of 536.

`settle` now keeps the first scan when it found no bound names and no File
objects: the flag comes from the script's own declarations, which the first
scan already read.
2026-11-28 20:55:33 -08:00
dotCooCoo 967f83c442 Merge main into fix/scriptcheck-linear-work 2026-11-28 20:50:15 -08:00
dotCooCoo 30d22d07c8 Scripts: the checker scans a script that binds no name once
A script whose only finding about its variables was that a name in
brackets is not one literal (o[k]) was scanned a second time. That
finding comes from the names the script declares, which the first scan
has already read, so the second scan gave the same report and added up
to three steps a byte. A 104-byte input of single-character tokens took
550 steps against the 536 the property test allows.

The check now repeats a scan only when a variable holds a member chain
or a File or Folder object. The property tests take their bound from
the number of scans: five steps a byte for a script scanned once, and
seventeen for one scanned up to five times.
2026-11-28 20:50:13 -08:00
dotCooCoo d81c6f85ba Merge main into fix/speed-i13929-dimmed-rows 2026-11-28 20:49:48 -08:00
dotCooCoo cb75bb73fc Merge main into feat/scripts-app-undo-redo
# Conflicts:
#	crates/engine/src/cmd/scripts.rs
2026-11-28 20:45:40 -08:00
.CooCoo 2255484d45 Merge pull request #9132 from dotCooCoo/feat/js-es2015-modules
JavaScript: a .mjs script runs as an ECMAScript 2015 module
2026-11-28 20:44:58 -08:00
dotCooCoo cac93ca107 Merge main into feat/js-es2015-modules 2026-11-28 20:44:06 -08:00
.CooCoo eaad35e231 Merge pull request #9108 from dotCooCoo/feat/plugin-api-localized-labels
Plug-ins: names and labels show in the UI language from the manifest's translations
2026-11-28 20:41:55 -08:00
.CooCoo 197ffe8a78 Merge pull request #10037 from dotCooCoo/fix/stroke-panel-label-column
Stroke: the panel's rows share one label column, so their controls start at one x
2026-11-28 20:37:42 -08:00
.CooCoo 95cecd4881 Merge pull request #10038 from dotCooCoo/fix/undo-row-names-action
Menus: Edit › Undo and Redo name the step in the menu bar and the context menu
2026-11-28 20:37:27 -08:00
dotCooCoo bcb4ab729a Merge main into fix/save-options-radio-rows 2026-11-28 20:11:35 -08:00
dotCooCoo 8b30502be9 Save options: All/Range and Transparent/Opaque radios have no empty caption over them
The All and Range radios under the artboard check box of the .ai,
VectorCraft and EPS save options, and EPS's Transparent and Opaque
radios, were radio rows with an empty name, which the form draws as an
empty caption: a blank band about one row tall above the radios. Both
rows now use stacked options, so the radios follow the row above them.
The Transparent/Opaque row carries the option's label as the group's
accessible name.
2026-11-28 20:11:28 -08:00
dotCooCoo 5a8f56dc4e Merge main into feat/hairline-slivers 2026-11-28 20:07:16 -08:00
dotCooCoo aa5f1bdca1 Clean Up: Hairline Slivers leaves art at 0% opacity alone
A sliver at 0% opacity, or inside a group or layer at 0% opacity, paints
nothing, so Clean Up and Select > Object > Hairline Slivers now skip it.
The params text and docs/mcp.md say so, and docs/mcp.md also names what a
group or compound path used as a clipping path holds among the objects
both commands leave.
2026-11-28 20:07:16 -08:00
.CooCoo 9393a36007 Merge pull request #8894 from dotCooCoo/fix/swatch-drag-replaced-source
Swatches: a swatch replaced during a drag is not duplicated or deleted on drop
2026-11-28 20:06:13 -08:00
.CooCoo 70e3cc7e02 Merge pull request #8824 from dotCooCoo/fix/issue-1232
Live Corners: pick any corner widget with Direct Selection
2026-11-28 20:05:41 -08:00
dotCooCoo a3334bce1d Merge main into fix/speed-i13854-menu-rebuilds 2026-11-28 20:05:20 -08:00
dotCooCoo 9ed6cba61a Menus: a key press rebuilds the menu states once
The menus' state key took the pass number of a frame with a click or a
key press, and no number on other frames. The key therefore changed on
the frame after a press and again on the frame after that, and each
change built every row's state again: two rebuilds for one key press.

The key now keeps the pass of the last frame with a pointer button
pressed or released or a key pressed, so each of them changes it once.
A pointer release counts because a click ends there.

Test: menus::tests::a_key_press_rebuilds_the_menus_once counts the
rebuilds over a key press and the four frames after it: 1, and 2
without the change.
2026-11-28 20:05:20 -08:00
dotCooCoo 728da50e7b Merge main into fix/swatch-drag-replaced-source 2026-11-28 20:04:11 -08:00
dotCooCoo 38dfb800e1 Scripts: leave getIsFileOpen's path comparison as main has it
The change to how getIsFileOpen compares paths on and off Windows goes in its own change, with
its test.
2026-11-28 20:03:45 -08:00
dotCooCoo 45fc9cf55c Merge main into fix/speed-i13930-global-edit-preview 2026-11-28 20:03:00 -08:00
dotCooCoo b8daf6ff2c Global Edit: the preview after an edit compares only the changed objects again
With one object selected, the canvas highlights the objects Start Global
Edit would take. After every edit the engine reduced each candidate in
the document to its form again, measured its bounds twice, and made the
outline of each highlighted object again.

The forms, bounds and outlines are now kept by node between calls. An
edit replaces each node it changes, so after an edit only the replaced
nodes are measured again. Bounds of objects that hold symbol instances
are not kept. The outline pass finds each object, its selected ancestors
and its layer color in one walk down its index path.

The new test counts the forms and outlines made: 40 and 39 for the first
preview of 40 squares, then 1 and 0 after the selected square moves.
2026-11-28 20:03:00 -08:00
dotCooCoo 87456c5b35 Merge main into fix/issue-1232 2026-11-28 20:00:34 -08:00
dotCooCoo 475ea6da12 Merge main into fix/speed-i13929-dimmed-rows
# Conflicts:
#	crates/ui-egui/src/menus/model.rs
2026-11-28 19:59:05 -08:00