Commit Graph
7469 Commits
Author SHA1 Message Date
dotCooCoo 2df812df41 Merge main into feat/scripts-startup-scripts 2026-11-25 13:49:06 -08:00
dotCooCoo c0487189bd Scripts: check then's parameters and keep a failed startup script's message
script.startup.run checks then's parameters as script.run checks them,
before any startup script runs. In the app, the message of a startup
script that fails or is stopped, through the quit prompt too, stays in
the status bar's notes after the chosen script ends.
2026-11-25 13:49:06 -08:00
dotCooCoo b81e6dbabb Merge main into feat/circle-from-center 2026-11-25 13:46:50 -08:00
dotCooCoo 93828740e2 Merge main into feat/save-for-web-transparency-dither 2026-11-25 13:41:08 -08:00
dotCooCoo d97e0428b4 Merge main into fix/reset-preferences-interface-settings 2026-11-25 13:37:30 -08:00
dotCooCoo 0947c9a780 Merge main into feat/script-grants-list 2026-11-25 13:35:17 -08:00
dotCooCoo 0c65a8442b Fill Area: a path left out of the search stops an area only when it reaches it
When the paths together are over the segment limit, the search maps the
paths near the point and leaves out the ones with the most segments. A
path left out made the search give up on an area when it came within the
gap plus 1 pt of the area's outline, so with Gap Detection off a long line
0.75 pt outside a square stopped a click inside the square from filling
it. A gap bridge reaches at most the gap, so the check now uses the gap
plus the map's 0.05 pt contact tolerance. The 1 pt padding still decides
which paths the search picks.
2026-11-25 13:02:16 -08:00
dotCooCoo 4217560cde Fill Area: ids that name what holds the isolated group take its paths
In isolation mode, shapeBuilder.copyRegion with ids already takes every
path of the isolated layer or group when ids lists it, or a layer or
group that holds it, and ignores the other listed objects. The params
text and docs/mcp.md said only the listed objects inside it counted.
They now describe that case, and a new engine test pins it.
2026-11-25 12:58:29 -08:00
ncic 187e9c9c8a Pencil: a redraw stroke's bend stops at the edit distance, and its preview shows on top in any drawing mode (#8438)
Most of this pull request reached main with #4221 (the smooth join and the
redraw preview). What is left:

- A redraw stroke's end bends onto the path over Edit selected paths' distance.
  When the stroke's points are far apart (a fast stroke), the bend used to run
  on to the next point; a point is now added where the bend stops, and only one
  where both ends' bends stop at the same place.
- The preview of a redraw stroke is drawn on top, as with Draw Normal, in Draw
  Behind and Draw Inside too; before, it went behind the path or into its clip
  group. path.freehand's `leaveSelection` becomes `preview`, which does both.
2026-11-25 21:51:08 +01:00
dotCooCoo 9567d7349a Fill Area: clipped art bounds areas only where its mask shows it
Fill Area used the full outline of art inside a clipping group, so a
click in the part a mask hides still found an area, and the new path
above the clipping group showed art the mask hid. Now each clipped
path is cut to every mask around it before it bounds areas, nested
clipping groups and clipped layers included: a filled path keeps its
overlap with the mask, and the outline of an unfilled path and open
paths keep only their pieces inside it. A mask that clips to nothing
hides what it clips. The new path still goes above the clipping group.

Follows #8001.
2026-11-25 12:21:49 -08:00
dotCooCoo 36d3cd0a15 Layers: Shift-click in the selection column selects the art of a range of rows
After a selection square is clicked, Shift-clicking another selects the
art of every row listed from the last square clicked to this one, down or
up and across sublayers and groups. Shift+Ctrl/Cmd-click adds that art to
the selection. Hidden and locked rows and art outside the isolated group
are left out, and a range does not move where the next Shift-click
starts. Before any square is clicked, Shift-click still adds one row's
art or takes it out. Ctrl/Cmd-click on a square now does the same; it
used to select the row's art alone, as a plain click does.

The panel menu's Select Art of Highlighted Rows selects the art of the
highlighted rows by the same rules.

- layer.selectAll takes {range: [id...], add?}, gathered with
  Selection::target_range as the target circles' ranges are.
- layer.selectHighlighted {add?} is new. Neither is an undo step, and
  the highlighted rows stay.
- Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-25 11:38:03 -08:00
BFlat 3ce5379692 Merge pull request #9011 from Zaxaerith/fix/8850-artboard-color-help
docs(cli): correct artboard color export help (#8850)
2026-11-26 01:43:58 +07:00
dotCooCoo 05b6a15d48 Guides: selected ruler guides rotate with the Rotate tool and Object › Transform › Rotate
A selected ruler guide was left out of every transform but a move: the
Rotate tool did nothing with only guides selected, and Object › Transform
› Rotate… refused with "nothing selected".

Each selected ruler guide now transforms as the line Release Guides makes
of it (across its artboard, or across the artboards' bounds for a canvas
guide), about the center of the selected objects' box and those lines
together. A guide that ends up vertical or horizontal stays a ruler guide:
a half turn keeps it and a quarter turn makes a horizontal guide vertical.
At any other angle it becomes a guide path along its line, on the guide's
layer, so it snaps, releases, locks and saves as other guide paths do.

- Object › Transform › Rotate… (Copy included), Transform Again and the
  Rotate tool's drag and Alt-click work with only guides selected, in one
  undo step. A turn that leaves the guides where they were records none.
- Scale, Reflect, Shear and the bounding box now transform selected guides
  along with the selected objects and direct-selected anchors, where
  before the guides stayed put.
- Locked and hidden guides, guides with ids given and guides with
  Transform Objects off do not transform. `absolute` with only guides
  selected is an error.

Part of #2418.
2026-11-25 10:37:15 -08:00
dotCooCoo 6f94760f04 Merge main into feat/quick-pen-edit-delete
# Conflicts:
#	crates/tools/src/quickpen.rs
#	docs/ui-parity.md
2026-11-25 10:31:38 -08:00
dotCooCoo 06845e7c3e Merge feat/scripts-api-d1a-app-documents into feat/scripts-execute-menu-command 2026-11-25 10:24:27 -08:00
dotCooCoo 948ebd6adb Merge main into feat/scripts-api-d1a-app-documents 2026-11-25 10:21:51 -08:00
dotCooCoo c27619310a Merge main into feat/fogra51-52-cmyk-v2 2026-11-25 10:19:57 -08:00
dotCooCoo 916ea13906 Merge main into fix/reset-preferences-interface-settings 2026-11-25 10:07:37 -08:00
dotCooCoo c8fc6a30d4 Merge main into feat/script-grants-list 2026-11-25 10:00:16 -08:00
dotCooCoo 73978a194f Scripts: script.grants.revoke matches a path as given as well as resolved
A grant whose path a link has since replaced is listed by script.grants
under the path it was kept for, but script.grants.revoke followed the
link and compared the link's target, so Revoke in Script File Access
removed nothing. A path is now matched as given and, inside the
automation read roots, also with its links followed.
2026-11-25 10:00:05 -08:00
dotCooCoo 388e1f29ef Merge main into feat/plugin-api-importers-place 2026-11-25 09:46:45 -08:00
dotCooCoo 9d3bbb8fa6 Merge main into feat/blob-eraser-size-stylus-wheel 2026-11-25 09:46:23 -08:00
dotCooCoo 9e3b3efed0 Merge main into fix/shape-builder-color-pick 2026-11-25 09:45:57 -08:00
dotCooCoo 754512b617 Merge main into fix/feather-effect-history-name 2026-11-25 09:40:01 -08:00
dotCooCoo bf48bb8f97 Merge main into fix/gradient-midpoint-owner 2026-11-25 09:39:19 -08:00
dotCooCoo 8fd21089db Merge main into fix/profile-row-mixed-strokes 2026-11-25 09:39:11 -08:00
dotCooCoo f6bc3d942a Merge main into feat/plugin-api-run-notices 2026-11-25 09:36:45 -08:00
dotCooCoo bc064fffa9 Merge main into fix/paste-all-artboards-conflicts 2026-11-25 09:33:05 -08:00
BFlat 5d00bb8fbf Merge pull request #9308 from dotCooCoo/feat/scripts-e4x
Scripts: every script reads E4X and has the XML objects
2026-11-26 00:31:24 +07:00
BFlat e256ac7022 Merge pull request #9141 from dotCooCoo/fix/eps-discard-white-overprint
EPS: white fills and strokes knock out with Discard White Overprint
2026-11-26 00:30:32 +07:00
dotCooCoo 1e8b2fcb32 Gradient panel: a picked midpoint and a selected stop stay selected when the document tab moves
The owner a selected stop, freeform point or midpoint diamond is kept for
now records the active document's uid instead of its tab index. Dragging
the document's tab along the strip (document.move) changed the index, so
the selection was dropped and the Location field was disabled although the
gradient had not changed.
2026-11-25 09:17:37 -08:00
dotCooCoo f906a0f814 Merge main into feat/scripts-startup-scripts 2026-11-25 09:16:13 -08:00
dotCooCoo a7cb77948a Save for Web: Save Color Table refuses an empty path
An empty or blank `path` was treated as no path, so the command
returned `dataBase64` and wrote no file. It is now an error, and a
`path` left out still returns the file as `dataBase64`.
2026-11-25 09:13:14 -08:00
dotCooCoo 18118db9c7 Merge main into feat/js-es2015-generators 2026-11-25 09:11:32 -08:00
dotCooCoo 335ed2cbb0 Merge main into feat/plugin-api-last-filter 2026-11-25 09:03:55 -08:00
dotCooCoo 0ea397db72 Scripts: Fit Artboard to artwork bounds does nothing on a locked or empty artboard
app.executeMenuCommand('Fit Artboard to artwork bounds') threw the
command's error when the active artboard was locked or had no art on
it. The canvas's right-click menu dims Fit to Artwork Bounds then
(DocState::any_art_to_fit), so the script now does nothing and adds
no undo step, as for the other menu items that are not available. The docs state
that an available menu item runs its command and that an error that
command returns throws.

The host-versus-checker name table lists
Application.prototype.executeMenuCommand.
2026-11-25 06:08:03 -08:00
dotCooCoo 0ff74ccbc9 Merge main into feat/save-for-web-save-color-table 2026-11-25 05:33:23 -08:00
dotCooCoo 5324da83f9 Merge main into feat/save-for-web-save-color-table 2026-11-25 05:33:01 -08:00
dotCooCoo b0f74500ee Scripts: a native file with a tag id that is not a whole number opens
A tag id in a native file that is negative, a fraction or text read as
an error, so the whole file failed to open. It now reads as 0, and
opening gives the tag a new id as it does for a missing or repeated id,
with its name and value kept.

The Scripts line in docs/target-app-parity.md now describes
PageItem.tags and Document.tags separately: Document.tags reads, renames
and deletes tags but its add throws.
2026-11-25 05:07:46 -08:00
BFlat 9ddc6b64e0 Merge pull request #8906 from dotCooCoo/feat/eyedropper-hover-highlight
Eyedropper: Object Highlighting outlines the object a click would act on
2026-11-25 19:56:02 +07:00
dotCooCoo 435570b7c1 Merge main into feat/smooth-tool-smoothness 2026-11-25 04:45:17 -08:00
dotCooCoo 07907fb70d Merge main into fix/parametric-shape-reference-point 2026-11-25 04:34:27 -08:00
BFlat 9a9bdca382 Merge pull request #9088 from dotCooCoo/feat/plugin-api-document-info
Plug-ins: filters and plug-in commands read document information without a selection
2026-11-25 19:33:17 +07:00
BFlat 62eff34cc6 Merge pull request #9069 from dotCooCoo/feat/plugins-load-on-workers
Plug-ins: stored and folder plug-ins load on worker threads while the window shows
2026-11-25 19:32:48 +07:00
dotCooCoo 59c1cc6e63 Merge main into fix/profile-row-mixed-strokes 2026-11-25 04:32:47 -08:00
BFlat 4e50ad0d4a Merge pull request #8927 from dotCooCoo/fix/profile-mismatch-background-queue
Color Settings: a background open whose profile question is gone finishes off the UI thread
2026-11-25 19:32:31 +07:00
dotCooCoo 391ea5dd4b Merge main into feat/curvature-circle-options 2026-11-25 04:30:52 -08:00
dotCooCoo ee179f34dd Merge main into feat/plugin-api-filter-type-images-symbols 2026-11-25 04:26:13 -08:00
.CooCoo d51c4b92fb Scripts: .js object literals take methods and __proto__, and functions get names (#9138) 2026-11-25 19:25:17 +07:00
dotCooCoo d95ff14cce Merge main into fix/paste-all-artboards-conflicts 2026-11-25 04:25:15 -08:00