Commit Graph
23394 Commits
Author SHA1 Message Date
dotCooCoo ea99ddfa63 Merge main into fix/scriptcheck-linear-steps 2026-11-28 22:20:45 -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
.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
.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 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
.CooCoo d27b077d4f Merge pull request #10028 from dotCooCoo/fix/speed-i13929-menu-model
Menus: edits and selection changes keep the command catalog's rows
2026-11-28 19:58:23 -08:00
dotCooCoo f9496f6c59 Merge main into feat/color-wheel-copy-color-as 2026-11-28 19:54:43 -08:00
dotCooCoo 31444b7a3f Stroke: set the Miter Limit word outside the panel's label group
The label group runs its rows once to measure them, and that run may not
set the interface words, so the word override now wraps the group.
2026-11-28 19:53:52 -08:00
dotCooCoo 8c668944d1 Scripts: name app.undo and app.redo in script.run's help, and leave file.new's messages to their own change
script.run's params text now says what app.undo() and app.redo() do. The artboardLayout messages,
their test and their catalog rows go back to main's text; they belong to file.new rather than to
script history.
2026-11-28 19:51:50 -08:00
dotCooCoo ecf193cc06 Merge main into feat/scripts-app-undo-redo
# Conflicts:
#	crates/engine/tests/it/script_host_vs_scriptcheck.rs
#	docs/target-app-parity.md
2026-11-28 19:47:12 -08:00
dotCooCoo 3e2a615aee Merge main into feat/js-es2015-modules 2026-11-28 19:45:10 -08:00
Dylan M. Taylor 3454e365fd fix(nightly): enable Linux package_formats (including Flatpak) in signing policy (#10036) 2026-11-28 22:42:01 -05:00
dotCooCoo 3381168a7e Drag and drop: panel drags held across File › Revert are not dropped on the restored drawing
#9931 refused an appearance carried across File › Revert. Graphic styles,
brushes, symbols, swatch rows and appearance stack rows had the same fault:
a held drag still resolved a name or id against the restored contents.

- Graphic style, brush, symbol and swatch drags carry the document's revert
  count, and the canvas, the panels, the Fill/Stroke wells and the Gradient
  slider refuse a drag from before the revert.
- The Brushes panel shows no reorder marker for a stale brush drag.
- docs/mcp.md says which drops File › Revert cancels.

Follows #9931 by @dotCooCoo.
2026-11-28 19:41:34 -08:00
dotCooCoo e3c1710346 Merge main into fix/swatch-drag-replaced-source 2026-11-28 19:40:53 -08:00
.CooCoo 4f7fe4556e Merge pull request #9005 from dotCooCoo/feat/color-wheel-contrast-lines
Color Wheel: the box and the wheel mark the contrast lines and offer the closest passing color
2026-11-28 19:39:31 -08:00
.CooCoo 8cdff3aacf Merge pull request #10025 from dotCooCoo/fix/docs-test262-count
Docs: test262 counts match what cargo xtask test262 reports on main
2026-11-28 19:39:01 -08:00
.CooCoo a3485952ce Merge pull request #10023 from dotCooCoo/fix/js-eval-new-target-super
Scripts: direct eval inside a method or derived constructor reads super
2026-11-28 19:38:45 -08:00
dotCooCoo 1ad8134791 Merge main into feat/color-wheel-contrast-lines 2026-11-28 19:38:37 -08:00
.CooCoo ec760703b7 Merge pull request #10020 from dotCooCoo/fix/golden-fixtures-eol
Tests: the DXF writer goldens keep LF line endings in a checkout with core.autocrlf
2026-11-28 19:38:30 -08:00
dotCooCoo 828eb27097 Merge main into feat/plugin-api-localized-labels
# Conflicts:
#	crates/plugins/src/manifest.rs
#	crates/ui-egui/src/tests/panel_harness.rs
2026-11-28 19:28:43 -08:00
dotCooCoo 321ae3dfc0 Scripts: describe app.redraw apart from undo and redo, and drop a repeated indexer test
app.redraw() changes nothing, so docs/mcp.md now describes it on its own. The undo step a run
leaves is stated for documents that were open before the run and are still open after it.
main's own indexer tests already check the receiver's and the key's limits.
2026-11-28 19:24:00 -08:00