Commit Graph
21362 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 e9b593f2ea Document Info: a click on a value copies it
A click on a Document Info value copies the whole value to the clipboard
and the status bar shows "Copied the value". Dragging across a value still
selects part of it, a Shift-click still extends the selection, and a double
click copies the value once and selects a word. Part of #8432.
2026-11-25 16:58:43 -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
dotCooCoo 643f048a89 Presets: Export… suggests the preset's name as the file name
Export… in the Print Presets, PDF Presets, Transparency Flattener Presets
and Perspective Grid Presets dialogs suggested the document's name
(Untitled.vcprintpresets). It now suggests the selected preset's name with
the format's extension, made safe as a file name the way Export Library…
makes a library's. A built-in preset's file is named without its brackets
([Default] gives Default.vcprintpresets). The four dialogs share one
helper, preset_manager::export, and the web downloads the file under the
same name.
2026-11-25 16:16:42 -08:00
ruchirguitar 210a40efdb Merge main and preserve both parity revision entries 2026-11-26 05:46:13 +05:30
dotCooCoo 910ce79f59 Graphic Styles: a rename left open stays in its document
The panel's style browser used one id for every document, and styles
are keyed by name. A rename field left open in one document moved to
the next document's style of the same name, with the text typed so far,
and Enter renamed that document's style. The browser id now includes
the document's uid, so the open rename field and the scroll position
are kept per document.

The new test types into a style's rename field, switches documents,
types again and presses Enter. Without the change the second
document's style is renamed to "XY".
2026-11-25 15:43:32 -08:00
dotCooCoo 0845850026 Merge main into fix/dialogs-framework-widgets 2026-11-25 15:43:03 -08:00
dotCooCoo 25d6651eab Merge main into feat/plugin-api-filter-type-images-symbols 2026-11-25 15:42:49 -08:00
dotCooCoo 4ec3a4cba2 Canvas: test a long dashed overlay line through paint
The test paints a dashed Overlay::Line that runs far past both sides of
the canvas through paint and checks that only the dashes near the canvas
are drawn, all on the line.
2026-11-25 15:42:39 -08:00
dotCooCoo 1c4df7b343 Rerun CI 2026-11-25 15:42:21 -08:00
dotCooCoo edcb93b973 Rerun CI 2026-11-25 15:41:25 -08:00
dotCooCoo 402e9a8cee Merge main into feat/save-for-web-transparency-dither 2026-11-25 15:40:47 -08:00
dotCooCoo 9cfd5e9a01 Align: dimmed Align and Distribute buttons say why they can't run
The Align panel's buttons, and the Object > Align and Object > Distribute
items that run the same commands, are UI commands. Their enabled check
returned only true or false, so a dimmed button was described as "command
`Vertical Distribute Top` is not available right now", in its tooltip and
to screen readers.

They now give the reason of the engine command the button runs: "select at
least two objects" for Distribute with fewer than two objects, "nothing
selected" for Align, "no document open". With the Artboard tool chosen
they say how many artboards Distribute needs ("select at least three
artboards", or two with Align to Artboard).

A dimmed menu item's reason is now shown in the interface language, as
the fallback text already was.
2026-11-25 15:40:08 -08:00
dotCooCoo c7ae974cf3 Merge main into feat/corners-link-popup 2026-11-25 15:35:14 -08:00
dotCooCoo 9a84bb1004 Merge main into fix/followup-8463-preview-test 2026-11-25 15:34:49 -08:00
dotCooCoo a65611d52a Docs: Blob Brush Size states the 0.1 pt minimum and the mid-drag mode rules
The Stylus Wheel and Pressure widths are at least 0.1 pt. A drag keeps the
size when Size is set to Stylus Wheel, or to Pressure after a Fixed start; a
drag that started on Stylus Wheel follows its recorded pen pressure after a
change to Pressure.
2026-11-25 15:30:29 -08:00
dotCooCoo 881a94bce9 Merge main into fix/font-menu-test-order 2026-11-25 15:29:38 -08:00
dotCooCoo 27bdf16e04 Merge main into feat/tangent-circle-preview-prefs 2026-11-25 15:29:08 -08:00
dotCooCoo b0600b9251 Merge main into fix/screen-formats-header-fits 2026-11-25 15:28:44 -08:00
dotCooCoo 523e240ca3 Tools: the one-column drawing-mode button reads as a plain button
In one column the Tools rail shows a single drawing-mode button, named
for the current mode, that cycles the modes. It took the selected look
whenever the mode was not Draw Normal, so a screen reader read "Draw
Normal (Shift+D), toggle button, not pressed" while Draw Normal was the
current mode. The button now has no pressed state: it reads as a button
named for the current mode, and it no longer takes the selected look in
Draw Behind or Draw Inside. In two columns each of the three buttons
still reads pressed when it is the current mode.
2026-11-25 15:26:32 -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
ruchirguitar c0495c4e31 Revert "Fix floating document raise after Presentation Mode"
This reverts commit 77a12e40bb.
2026-11-26 04:54:00 +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 f341cb5b0d Scripts: a chosen script keeps script.run's reply with startup scripts on
With Run Startup Scripts on, ui.runScript and ui.runInstalledScript
return script.run's reply, or its error when the chosen script cannot
start, with the startup run's reply under startup. While a startup
script runs first, the reply is {running: true, queued: true}.
2026-11-25 15:22:31 -08:00
dotCooCoo 48f5bd5fa8 Layers: each document keeps its own selection-square start
The panel kept one start for Shift-click ranges on selection squares, so a
click in another document replaced it, and a Shift-click back in the first
document toggled one row instead of selecting the range. The starts are now
kept per open document, and closed documents' starts are dropped.
2026-11-25 15:20:15 -08:00
dotCooCoo 6c29bf9937 Transform Each: screen readers tell the Scale and Move fields apart
Transform Each and Effect > Distort & Transform > Transform named both
the Scale and the Move slider and number field "Horizontal:" and
"Vertical:", so only the unit in the value told them apart. Each
control's accessible name now starts with its row ("Scale Horizontal:",
"Move Vertical:"), and the visible label describes it, as Split Into
Grid names its Gutter and Total fields. The visible labels are
unchanged.
2026-11-25 15:18:53 -08:00
dotCooCoo 268b766354 Merge main into fix/ui-port-text-divider-notice 2026-11-25 15:17:35 -08:00
ruchirguitar 6cce77ffb5 Fix floating document raise after Presentation Mode 2026-11-26 04:45:36 +05:30
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 5099ce5e55 Plug-ins: unknown keys inside a written style's nested attributes are refused
A paragraph style's hyphenation, justification, tab stops and list, and a
character style's stroke dash, now refuse a key they don't read, naming the
field, as the style's own keys already did. A misspelled nested key no longer
leaves that setting unchanged without an error.
2026-11-25 15:10:16 -08:00
dotCooCoo 29d6542c9f Merge main into fix/selection-marks-skip-hidden-members 2026-11-25 15:07:56 -08:00
dotCooCoo 4cab642d17 Merge main into fix/gradient-presets-proxy-in-front 2026-11-25 15:06:18 -08:00
dotCooCoo ceff5efd5f Merge main into feat/plugin-api-run-notices 2026-11-25 15:05:22 -08:00
dotCooCoo 01d77a45b9 Docs: a host at api 3 that doesn't read writes ignores the key
Hosts from before api 3 refuse the manifest. A host at api 3 without writes
installs the filter, ignores the key and refuses an output that changes the
objects it was given.
2026-11-25 15:00:28 -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 11af59a2b5 Panels: the Cycle Display Sizes button is named by its label
The double-triangle button at the left end of a panel's tab strip ran
window.panel.cycleOptions with no label of its own. No menu item runs
that command, so it has no command definition, and the button took the
command id as its accessible name: screen readers read
"window.panel.cycleOptions" and the button showed no tooltip. The button
now carries the "Cycle Display Sizes" label, which names it and gives it
its tooltip. The string is already in the word catalogs.

A test opens the Stroke panel, reads the access tree and checks that the
button is named "Cycle Display Sizes" and that no button in the window
is named by a command id.
2026-11-25 14:57:29 -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 9cd83e9342 Learn: a click or Enter on the skill or tutorial opened before opens it again
Follow-up to #8800. The Learn panel's skill and tutorial lists keep their
selection, and a click on the row that is already selected reports
CollectionEvent::Picked rather than a selection change, so after Back a
click on the skill or tutorial opened before did nothing. Enter on that
row reports Activate, which the lists also ignored.

The lists now open the item on Picked and Activate as well as on a
selection change, as every row click did before the port.
2026-11-25 14:28:23 -08:00
dotCooCoo 8934d5c608 Merge main into feat/smart-pen-default-toolbar 2026-11-25 14:27:28 -08:00
dotCooCoo c3645d265d Merge main into feat/plugin-api-importers-place 2026-11-25 14:26:01 -08:00
dotCooCoo 307626406b Merge main into fix/dashed-overlay-line-clip 2026-11-25 14:24:24 -08:00
dotCooCoo 1db2fbc514 Merge main into fix/dashed-overlay-line-clip 2026-11-25 14:24:24 -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