Commit Graph
11138 Commits
Author SHA1 Message Date
dotCooCoo 220c60b4a7 Merge main into feat/scripts-document-views 2026-11-25 20:37:28 -08:00
dotCooCoo c7ee18375a Merge main into fix/issue-1232
Main's Cmd lends the Selection tool change passes the shown tool to the corner widgets; the picked and hollow corner widgets take it the same way.
2026-11-25 20:23:27 -08:00
dotCooCoo 65e48e08c7 Merge main into feat/corner-widget-hover 2026-11-25 20:02:29 -08:00
dotCooCoo 51dd9bff51 Merge main into feat/scripts-app-redraw 2026-11-25 19:42:59 -08:00
dotCooCoo ac256df28e Merge main into feat/color-wheel-copy-color-as 2026-11-25 19:42:58 -08:00
dotCooCoo 0d5d6d34f3 Merge main into feat/color-wheel-oklch-sliders-v2 2026-11-25 19:27:00 -08:00
dotCooCoo 5220c3ce4b Plug-ins: importer type and images past the canvas open nothing
Type or an image an importer at API level 4 returns that reaches more than 4,000,000 pt from the origin is refused, as the document would drop it on the next open. plugin.list's description and docs/mcp.md name outputKinds and API level 4.
2026-11-25 19:25:40 -08:00
dotCooCoo 6cb7fcadae Merge main into feat/quick-pen-edit-delete 2026-11-25 19:18:48 -08:00
dotCooCoo 046a97cb73 Merge main into feat/curvature-circle-options 2026-11-25 19:16:23 -08:00
dotCooCoo 6b7b780c22 Color Wheel: contrast measures a painting tool's color without the selection's drawing
While the Live Paint Bucket (or the Shape Builder, for the fill) is the
active tool, the Fill and Stroke proxies show the color the tool paints
with. color.contrast still took the opacity and blend modes from the
selected objects, so it rated the bucket's color at an opacity it is not
drawn with, and refused to answer when the selected objects were drawn
differently. It now draws the tool's color in Normal mode, at `opacity`
or fully opaque, as for a given `color`.

Docs: docs/mcp.md and the command's params text.
2026-11-25 19:09:41 -08:00
dotCooCoo cec8e029f7 Merge main into feat/tangent-circle-ask-radius 2026-11-25 19:05:38 -08:00
dotCooCoo 1332a448a5 Merge main into feat/plugin-api-importer-output-kinds
Importers at API level 4 also place their type, images and visible layers with File › Place; their artboards are left out.
2026-11-25 19:03:39 -08:00
dotCooCoo ecdb9e9757 Merge main into feat/toolbar-command-buttons 2026-11-25 19:03:06 -08:00
dotCooCoo 812b6a2a92 Toolbars: command buttons skip the tool re-homing, and the protocol doc splits the remove rule
- `palette::button_texts` reads the kept palette build as it is and no
  longer recomputes every tool's home on each footer pass; it builds
  only when no build exists for the current catalog.
- `docs/control-protocol.md` states the errors of `toolbar.addCommand`
  apart from `toolbar.removeCommand`, which answers with the unchanged
  list for a command the toolbar has no button for.
- The edit toolbar tests run their lookups in a frame from
  `crate::testing::part_frame`.
2026-11-25 19:01:06 -08:00
dotCooCoo 132d2da4a1 Merge main into feat/plugin-api-filter-type-images-symbols 2026-11-25 19:01:04 -08:00
dotCooCoo 7291fe1aed Merge main into feat/tangent-circle-add-points 2026-11-25 18:51:00 -08:00
dotCooCoo 594ebcb6e3 Merge main into feat/plugin-api-generated-art 2026-11-25 18:46:05 -08:00
dotCooCoo cb1361c889 Merge main into feat/plugins-web-worker 2026-11-25 18:45:04 -08:00
dotCooCoo a868058b44 Shortcuts: panel and dialog commands whose params are all optional can be given a key
Edit › Keyboard Shortcuts left out UI commands with no default key, no
menu bar item and a params doc other than {} or {path…}, so New Swatch…,
New Color Group…, Color Group Options…, New Brush…, Brush Options…,
the Layers panel's Options for Selection…, Corners…, Placement Options…,
Relink…, Perspective Plane Options…, Bullets and Numbering…, Missing
Fonts Dialog and Find Fonts in Folder… could not get a key, although
each runs with no params. They are now listed
through a KEY_ONLY_UI list that replaces the `id ==` checks for Rename
and Color Picker…. A key opens the dialog for the selection or the
current item, or the status bar says why it cannot.

Color Group Options… with no group selected now says "select a color
group in the Swatches panel, or pass group" instead of "missing `group`".

Docs: docs/mcp.md, docs/ui-parity.md.
2026-11-25 18:44:51 -08:00
dotCooCoo 66ed890366 Merge main into feat/plugin-api-javascript-runtime 2026-11-25 18:42:48 -08:00
dotCooCoo f525279b27 Merge main into feat/scripts-scriptui-dialogs 2026-11-25 18:42:43 -08:00
dotCooCoo 478ed51ace Merge main into feat/retype-installed-fonts 2026-11-25 18:40:00 -08:00
dotCooCoo acba47982f Merge main into feat/script-grants-list 2026-11-25 18:40:00 -08:00
dotCooCoo 06108afe3f Merge main into feat/pattern-brush-scale-pen-inputs 2026-11-25 18:37:49 -08:00
dotCooCoo 1fb8202f67 Merge main into feat/plugin-api-live-effect-appearance 2026-11-25 18:37:06 -08:00
dotCooCoo 67e6f0466e Merge main into fix/prefs-dialog-keeps-outside-changes 2026-11-25 18:37:04 -08:00
dotCooCoo b6b702f080 Merge main into fix/reset-preferences-interface-settings 2026-11-25 18:36:58 -08:00
dotCooCoo 9d34e458c1 Preferences: OK writes only the settings changed in the dialog
OK sent every row of the draft through prefs.set and wrote Smart Guides,
Snap to Grid and Enable Contextual Task Bar back from the values copied
when the dialog opened. A setting changed by a command, a panel menu or a
script while Preferences was open went back to its old value, and a
workspace switched to while it was open took the Contextual Task Bar of
the workspace the dialog opened in.

- The window keeps each row as it last read it (at open, after an import
  or a prefs.reset refreshes it, and after OK or Apply) and the rows set
  in it since then. OK and Apply write only the rows set in the window or
  whose value differs from the one read, so a reset in the window is
  still written. A row changed both ways takes the window's value.
- Enable Contextual Task Bar left alone in the dialog is not written, so
  each workspace keeps its own bar.
- OK with nothing changed runs no prefs.set, adds no undo step and does
  not ask the host to save the settings; original_editor::commit reports
  whether the Edit Original choice changed.

Docs: docs/mcp.md (Preferences) and a line in docs/target-app-parity.md.
2026-11-25 18:36:28 -08:00
dotCooCoo e70619bc4a Tangent Circle Tool: a second click replaces the open radius dialog
A click that asks for the radius while the dialog is still open (as a control request can send) closes the open dialog and rolls its preview back, and the new dialog takes over its held answer. Before, the new dialog lost its state to the old dialog's cancel and its OK could not draw.
2026-11-25 18:31:12 -08:00
FredApps ae70a8f174 Resolve main documentation conflict in History row menu PR #8845 2026-11-26 03:27:16 +01:00
dotCooCoo 32f1b14ab4 Merge main into feat/scripts-page-item-blending-mode 2026-11-25 18:26:28 -08:00
dotCooCoo 9375decc46 Merge main into fix/copy-region-ids-isolated-ancestor 2026-11-25 18:25:59 -08:00
dotCooCoo 6eec9ff0f3 Merge main into feat/plugin-api-context-menus 2026-11-25 18:25:26 -08:00
dotCooCoo 281cee4379 Live Corners: the Corners pop-up applies its radius after the Stack
The pop-up's Radius edits are now collected inside the Stack and applied
after it, as the kind and rounding radios already are.

relativeRadii no longer turns a plain path into a Live Corners path here;
that change goes to its own pull request. relativeRadii on a plain path,
an ellipse or a line leaves it as it is and adds no undo step.
2026-11-25 18:21:19 -08:00
dotCooCoo cbbb98149e Toolbars: a toolbar's command buttons are looked up together
The footer of a toolbar made with New Toolbar looked up each command
button's label on its own, which rebuilt the tool homes once per button
on every render. `palette::button_texts` looks up all of a toolbar's
buttons from one kept build, and `command_looks` uses it.

docs/mcp.md now says which errors apply to `toolbar.addCommand` and
which to both commands, and that `toolbar.removeCommand` answers with
the unchanged list for a command the toolbar has no button for.
2026-11-25 18:19:41 -08:00
dotCooCoo bd8e900251 Windows: the Blob Brush's Stylus Wheel size also opens the Wintab context
The Blob Brush takes Stylus Wheel for its Size, and its tip already
counts through Tool::reads_wheel. The test and the docs name it.
2026-11-25 18:16:02 -08:00
jmvergesandClaude Opus 5.5 6a7ee26522 Merge main (a54d28887c) into the font width import branch
Main changed the M3 row of docs/roadmap.md, next to the M4 row this
branch adds its entry to: take main's M3 row and keep this branch's
entry at the front of main's M4 row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 02:12:35 +00:00
dotCooCoo 192a041ec8 Merge main into feat/js-es2015-generators 2026-11-25 18:09:25 -08:00
jmvergesandClaude Opus 5.5 8ed08d6637 Merge main (016ead2572) into the font width import branch
Main added its own entries to the change line at the top of
docs/file-format-parity.md and docs/target-app-parity.md: keep main's
lines and dates, with this branch's entry in front of them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 02:08:57 +00:00
dotCooCoo 0fd2672aa3 Docs: the scripting line names the Layer parent and the members still missing
The line said layers were not there yet, while a page item's parent is
already a Layer with name, typename and toString. It now names
Document.layers and Document.activeLayer as the members still missing.
2026-11-25 18:03:53 -08:00
dotCooCoo 48f055cf43 Merge main into feat/scripts-execute-menu-command 2026-11-25 18:01:37 -08:00
dotCooCoo 0bda609041 Merge main into feat/windows-stylus-wheel-wintab 2026-11-25 17:56:18 -08:00
dotCooCoo 7418753350 Windows: the Wintab context opens only while the tool uses the wheel
The Paintbrush with a brush whose Size or Width is on Stylus Wheel with
a range the wheel can change, or the Eraser with a value on Stylus Wheel
and a variation above 0, uses the wheel. The app asks the active tool
(Tool::reads_wheel) once a frame and tells the host when the answer
changes (Services::stylus_wheel). Until a tool uses the wheel, a pen
message loads no Wintab32.dll, installs no hook, subclasses no window
and opens no context; when it stops, the context closes.
2026-11-25 17:53:48 -08:00
BFlat a54d28887c Merge pull request #7718 from dotCooCoo/feat/color-wheel-contrast
Color Wheel: Show Contrast reports the WCAG contrast against the color behind the selection
2026-11-26 08:51:15 +07:00
BFlat 050f7cf407 Merge pull request #9019 from dotCooCoo/feat/scripts-api-d1a-app-documents
Scripts: app gives scripts the open documents, their selection and page items
2026-11-26 08:50:54 +07:00
BFlat f966e8d664 Merge pull request #9104 from dotCooCoo/feat/plugin-api-last-filter
Plug-ins: Apply Last Filter and Last Filter… repeat the last filter plug-in
2026-11-26 08:50:06 +07:00
BFlat fc34e27d99 Merge pull request #9110 from dotCooCoo/feat/plugin-api-importers-place
Plug-ins: importers whose manifest sets place also read files for File › Place
2026-11-26 08:49:00 +07:00
BFlat 5fea446015 Merge pull request #9084 from dotCooCoo/feat/plugin-api-run-notices
Plug-ins: a filter or plug-in command can report a notice in the status bar
2026-11-26 08:48:46 +07:00
BFlat 8bf4a7d58f Merge pull request #9331 from dotCooCoo/feat/layers-range-select-art
Layers: Shift-click in the selection column selects the art of a range of rows
2026-11-26 08:48:31 +07:00
BFlat dc0c47a9a3 Merge pull request #9329 from dotCooCoo/feat/rotate-ruler-guides
Guides: selected ruler guides rotate with the Rotate tool and Object › Transform › Rotate
2026-11-26 08:48:18 +07:00