Commit Graph
7507 Commits
Author SHA1 Message Date
dotCooCoo 52971bc1d6 Plug-ins: stored plug-ins loading in the background count only a signed grants file
The background load of the plug-in store read the grants file directly and
counted its grants whether or not the file was signed, so a grants file
changed outside VectorCraft, or an earlier copy put back, still let its
plug-ins load. It now takes the grants through the same check as the other
reads (signed_grants), and an unsigned file grants nothing.

The three load tests that expect a grant in the store now write a signed
grants file and read it back in the signed format.
2026-11-25 17:22:04 -08:00
dotCooCoo 1d6f0340e2 Merge main into feat/color-wheel-contrast
The contrast row, its menu rows and its tests move to the craft UI framework,
as main's Color Wheel panel now uses it:

- The row is a Row with a Swatch named Background (a color well whose value is
  the background's hex value) and Text for the ratio and the AA and AAA
  results, each with the WCAG minimums as its tooltip.
- Show Contrast, Contrast For and Contrast Background are rows of the panel
  menu's items (ui.colorWheel.contrast, contrastFor.<id>,
  contrastBackground.below and contrastBackground.current), after Show
  Opacity. Current Color is gray, and its row answers an error, while the
  active proxy has no solid color.
- The kept background and ratio answer are fields of WheelUi instead of panel
  state. The answer's key also holds whether the Live Paint Bucket paints,
  which changes the proxies' paint without a document revision.
- The row's tests run in the panel's Fixture by accessible name; the drag test
  runs an interaction whose previews set the fill, as the Show Document Colors
  drag test does.
- The settings lists in the params text, docs/mcp.md and the tests take both
  opacity and the contrast keys.
2026-11-25 16:36:08 -08:00
ruchirguitar 210a40efdb Merge main and preserve both parity revision entries 2026-11-26 05:46:13 +05:30
dotCooCoo c7ae974cf3 Merge main into feat/corners-link-popup 2026-11-25 15:35:14 -08:00
dotCooCoo dd2aa06588 Merge main into fix/parametric-shape-reference-point 2026-11-25 15:24:19 -08:00
ruchirguitar c766f2f450 History panel: add snapshot-safe row context menus and keyboard access 2026-11-26 04:54:14 +05:30
dotCooCoo 94902542ac Merge main into feat/curvature-circle-options 2026-11-25 15:23:47 -08:00
dotCooCoo 2ef1946cfb Merge main into feat/smooth-tool-smoothness 2026-11-25 15:23:42 -08:00
dotCooCoo bf782369fc Merge main into feat/retype-installed-fonts 2026-11-25 15:23:05 -08:00
dotCooCoo 6ad8c0476a Scripts: script.grants.revoke removes only the grant named as given
script.grants.revoke matched a path both as given and with its links
followed, so revoking a grant whose path is now a link to another
granted path removed both grants. The spellings are now tried in order,
the path as given first, and only the first script and path pair that
some grant holds is removed.
2026-11-25 15:13:55 -08:00
dotCooCoo ceff5efd5f Merge main into feat/plugin-api-run-notices 2026-11-25 15:05:22 -08:00
dotCooCoo 1285de28ef Retype: plain shapes alone run the command at once
A selection of plain shapes (rectangles, bars) no longer starts a
background search of the installed fonts, which would read no font for
them. The command runs at once, as it does with `installed` false.
2026-11-25 14:57:55 -08:00
dotCooCoo 0ca2145429 Plug-ins: a filter run is given the typing in progress, and a refused output keeps it in progress
With Real-time Drawing off, typing in progress is kept as its own step before
the run is prepared, in plugin.run, a plug-in command and the app's background
start, so the plug-in is given the typed text. A run whose typing started after
it was prepared, with its text still out of the document, is refused, and a
background run that finishes then asks to be run again.

Typing whose text is already in the document is kept only after every check
that can refuse the output has passed, so a refused output leaves the
document, the history and the typing in progress as they were. When keeping it
changes the document, the output is applied to the document as kept.
2026-11-25 14:56:26 -08:00
dotCooCoo b19905b054 Merge main into fix/issue-9051 2026-11-25 14:55:35 -08:00
dotCooCoo c64d194a4d Merge main into fix/pathfinder-effect-options-followup 2026-11-25 14:43:59 -08:00
dotCooCoo 8ecba90108 Merge main into feat/plugin-api-javascript-runtime 2026-11-25 14:38:10 -08:00
dotCooCoo c3645d265d Merge main into feat/plugin-api-importers-place 2026-11-25 14:26:01 -08:00
dotCooCoo 6a71ec9638 Tests: retype tests that expect an outline leave the installed fonts out
Each test that expects a shape to stay an outline now passes
`"installed": false`, so the fonts on the test machine do not change its
result or its run time. With the installed fonts searched at tolerance
0.05, overlapping_exact_glyphs_stay_an_outline_when_near_matches_are_allowed
ran past the CI job's limit.
2026-11-25 14:22:00 -08:00
dotCooCoo e7bb81d80e Plug-ins: a script's command reads no plug-in folder file whose name isn't valid text
A plug-in folder load checks each file against the automation roots and,
in a command a script runs, the script's read gate. A file whose name
isn't valid text cannot be checked by name, and without automation roots
it loaded unchecked, also in a script's command. A link with such a name,
in a folder the script may read, loaded a module from anywhere.

Such a file is now refused in a script's command, as it already was under
automation roots. Outside both, it still loads.
2026-11-25 14:20:00 -08:00
dotCooCoo f07cd0c459 Merge main into feat/plugin-api-last-filter 2026-11-25 14:12:53 -08:00
dotCooCoo d535668a20 Merge main into feat/tangent-circle-add-points 2026-11-25 14:12:11 -08:00
dotCooCoo e1e90b48c7 Merge main into fix/shape-builder-color-pick 2026-11-25 14:01:29 -08:00
dotCooCoo c0fd2170d0 Merge main into feat/plugin-api-filter-type-images-symbols 2026-11-25 13:59:45 -08:00
dotCooCoo 950602cb84 Merge main into fix/plugin-grants-integrity 2026-11-25 13:57:17 -08:00
dotCooCoo 581f70be24 Merge main into feat/js-es2015-generators 2026-11-25 13:52:14 -08:00
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