Commit Graph
1050 Commits
Author SHA1 Message Date
.CooCoo ceacaac6d4 Merge pull request #10551 from dotCooCoo/fix/placement-options-after-undo
Links: Placement Options does not edit an image placed after Undo
2026-12-03 07:27:14 -08:00
.CooCoo 44c6916bde Merge pull request #10077 from dotCooCoo/feat/artboard-flood-fill
Document Tools: Flood Fill Artboards adds an artboard-sized rectangle on its own layer
2026-12-03 07:17:43 -08:00
dotCooCoo 74d8757ef5 Find and Replace: the params text and docs/mcp.md say which tab runs each action
ui.dialog.confirm refuses an action whose button the open tab does not show. The ui.paramDialog params text (crates/mcp/src/ui_catalog.rs and crates/ui-egui/src/menus/ui_commands.rs) and docs/mcp.md now say so.
2026-12-03 06:01:21 -08:00
dotCooCoo fae03ac701 Merge main into fix/print-paper-size-to-cups 2026-12-02 14:27:22 -08:00
dotCooCoo badc85e0d0 Merge main into fix/print-dialog-printer-discovery 2026-12-02 12:10:58 -08:00
dotCooCoo ec8c564a6f Merge main into fix/print-paper-size-to-cups 2026-12-02 11:48:41 -08:00
.CooCoo 2af7a40836 Merge pull request #10548 from dotCooCoo/fix/print-gaps-9087
Print: file.print in the app passes maxPages on to the engine
2026-12-02 11:08:38 -08:00
dotCooCoo bde6add09c MCP: regenerate the UI command catalog for the Print dialog text
The gate's ui-commands step failed because crates/mcp/src/ui_catalog.rs
still held the old file.print params text after the change to
crates/ui-egui/src/menus/ui_commands.rs. The catalog now matches the
table (cargo xtask ui-commands --check).
2026-12-02 08:34:08 -08:00
dotCooCoo d23dd117ba Print: the job asks CUPS for the paper size chosen
On macOS and Linux the print job carried no media option, so the queue
printed on its default paper whatever Size the Print dialog showed. The
dialog now sends the driver's keyword for the chosen Size, and
file.print takes it as `paper`; the job passes it to CUPS as `media`.
A `paper` that is not a single keyword is an error, and so is `paper`
with file output, with directPdf or on Windows, where the spooler does
not apply it. While the chosen printer's sizes are still loading, Print
is refused and the dialog stays open.

A queue with no PPD on this machine (a driverless or remote printer)
listed no paper sizes. Its sizes now come from `lpoptions -p NAME -l`,
and when its server has no PPD either, from the queue's IPP
media-supported attribute on the scheduler CUPS uses. CUPS's B4 and B5
keywords are the JIS sizes, and ISOB4 and ISOB5 the ISO ones.

Builds on the printer paper lookup in apps/vectorcraft/src/printing.rs
(#10511).
2026-12-02 07:07:42 -08:00
dotCooCoo 785cc3d66f Merge main into feat/artboard-flood-fill 2026-12-02 02:04:12 -08:00
dotCooCoo 628d21f37c Links: Placement Options does not edit an image placed after Undo
Placement Options checked the document and its reverts before OK, but not
Undo or Redo. After undoing the place of the image it opened on, a new
image can take the same id, and OK then changed that image's Placement
Options. OK now refuses after an Undo or Redo in the opening document, as
Create Object Mosaic does, and asks to reopen the dialog.

The guard was missing since the dialog started applying to the images it
opened on (62199b98b3).
2026-12-02 01:37:45 -08:00
dotCooCoo 8a3fe259e8 Print: file.print in the app passes maxPages on to the engine
The app's file.print forwarded preset, settings, format, level and
flattenerPreset to the engine but dropped maxPages, so a script that set
a page limit through Document.print (added in #9087) still printed or
saved every page. The app now forwards it, returns the engine's
{pages, format} without printing or saving when the job is past the
limit, and passes an explicit null on so the engine rejects it instead
of treating it as no limit. The command text in both catalogs lists the
parameter.
2026-12-02 00:41:23 -08:00
dotCooCoo ebbb369c0c Merge main into feat/artboard-flood-fill 2026-12-02 00:38:46 -08:00
dotCooCoo f2d6ea0c51 Merge main into fix/make-numbers-sequence 2026-12-01 20:00:19 -08:00
.CooCoo 3860a8025c Merge pull request #10502 from dotCooCoo/fix/common-tangents-metaball
Path Precision Tools: Common Tangents and Smooth Bridge are one dialog
2026-12-01 18:28:19 -08:00
.CooCoo 3852fa4afb Merge pull request #10484 from dotCooCoo/fix/pathops-cap-reports
Pathfinder: Divide and Live Paint report paths too complex to map
2026-12-01 15:33:36 -08:00
.CooCoo aa557da659 Merge pull request #8808 from dotCooCoo/feat/quick-pen-scroll-arc
Quick Pen: Ctrl+wheel over the canvas changes the arc size
2026-12-01 14:57:33 -08:00
dotCooCoo 4ce98e8032 MCP: regenerate the UI catalog for the Gap Options preview text
The params text of ui.livePaintGapOptions in
crates/ui-egui/src/menus/ui_commands.rs gained the failed-preview
sentence, but crates/mcp/src/ui_catalog.rs was not regenerated, so
`cargo xtask ui-commands --check` failed in CI. This is the output of
`cargo xtask ui-commands`.
2026-12-01 13:45:26 -08:00
dotCooCoo 988e5ca919 Merge main into fix/common-tangents-metaball 2026-12-01 11:16:00 -08:00
dotCooCoo 6f684e6da9 Path Precision Tools: Common Tangents and Smooth Bridge are one dialog
Common Tangents… now also does what Smooth Bridge… did (#10465).

- Connect tangents joins the two tangents of each kind into one closed
  shape, along the chords between where they touch each path (a point's
  two lines make a triangle). `connect` on
  `addon.pathtools.commonTangents`.
- With External, the dialog shows Straight and Curved. Straight keeps
  the tangent lines; Curved joins the circles along concave arcs, as
  Smooth Bridge did, with Radius, Constant Gap, Reach and Keep
  Originals, which take input only with Curved. `curved`, `radius`,
  `gap`, `reach` and `keepOriginals` on the command; options of the
  other mode are an error.
- The Smooth Bridge… menu item is gone. `addon.pathtools.bridge` still
  runs for scripts and actions, opens the merged dialog with External
  and Curved, and is left out of the command palette and Keyboard
  Shortcuts. A palette search for "metaball" or "smooth bridge" finds
  Common Tangents.

Docs: docs/mcp.md, docs/ui-parity.md, ROADMAP.
2026-12-01 11:16:00 -08:00
.CooCoo fd24af05d7 Merge pull request #10118 from dotCooCoo/fix/layer-options-key
MCP: dialog params texts name the keys ui.inspect reports
2026-12-01 09:47:10 -08:00
dotCooCoo c2cf867f1d Type: Make Numbers Sequence leaves locked type and masks alone and replaces signed numbers
Locked or hidden type inside a selected group is no longer numbered or
deleted, and removeUnused keeps a type object that masks a clipping group
or layer and keeps the selection instead of selecting the numbered objects.
In Numbers mode a minus sign that does not follow a letter is part of the
number, and a number or placeholder that already reads the new number keeps
its text and style. Rows and columns are found among the objects that get a
number, with the true median for an even count. A run that would replace
more than 10,000 numbers or placeholders is refused before any text is
built, and a seed that is not a whole number is refused even with shuffle
off. ui.menuDialog lists the dialog, and the progress doc has its line.
2026-12-01 09:46:40 -08:00
dotCooCoo 094adcad4d Merge main into feat/artboard-flood-fill 2026-12-01 09:04:42 -08:00
dotCooCoo a992850228 Merge main into feat/color-randomly
# Conflicts:
#	crates/mcp/src/ui_catalog.rs
#	crates/ui-egui/src/menus/ui_commands.rs
2026-12-01 06:26:48 -08:00
dotCooCoo 8ba55104f0 Merge main into feat/group-rows
# Conflicts:
#	crates/engine/src/cmd/plugin_call/reviewed.rs
#	crates/mcp/src/ui_catalog.rs
#	crates/ui-egui/src/addons/arrange.rs
#	crates/ui-egui/src/menus/ui_commands.rs
#	docs/mcp.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-12-01 06:20:46 -08:00
dotCooCoo 5e309268d7 Document Tools: Flood Fill Artboards' dialog is refused while its command is off
ui.menuDialog opened the Flood Fill Artboards dialog with no document or in an
editing mode the command refuses, and OK then failed. The dialog now checks the
command first and returns its reason. A reopened dialog also rolled back the open
preview only after reading the current fill, so with New Art Has Basic Appearance
off it opened on the previewed fill instead of the fill from before; it now rolls
the preview back first. The params text and docs/mcp.md say when it is refused.
2026-12-01 02:24:30 -08:00
dotCooCoo 540d0fad70 Plug-ins: list Mark Bounds of Each in ui.menuDialog's params text
ui.menuDialog opens the Mark Bounds of Each dialog, so its command list and the generated MCP catalog now name addon.arrange.markBounds.
2026-12-01 02:11:16 -08:00
dotCooCoo 78eb2f4afb Arrange Tools: list Group by Row among the dialogs ui.menuDialog opens
ui.menuDialog opens the Group by Row dialog, so its params text and the
MCP UI catalog name addon.arrange.groupRows with the other Arrange Tools
dialogs.
2026-12-01 02:09:48 -08:00
dotCooCoo 7dde2f0310 Color Effects: ui.menuDialog lists Randomize Fill Colors
ui.menuDialog opens the Randomize Fill Colors dialog, so its params text and the generated MCP catalog list addon.color.randomFill.
2026-12-01 01:48:16 -08:00
dotCooCoo d9262da342 MCP: ui.menuDialog's params text lists Flood Fill Artboards
The gate failed in menu_dialog_params_text_lists_every_command_whose_dialog_it_opens,
which main added in 7eda2320: ui.menuDialog opens Flood Fill Artboards' dialog, but
its params text did not list addon.document.floodFillArtboards. The command is now
in the list in ui_commands.rs and in the generated ui_catalog.rs.
2026-12-01 01:44:30 -08:00
dotCooCoo 1662723cae MCP: ui.menuDialog lists the slider keys and Edit Points Only
main now lists the Smooth and Simplify sliders in ui.inspect as dialogs
smoothSlider and simplifySlider, which ui.dialog.set, confirm and cancel
control, and Object › Plug-ins › Selection Tools › Edit Points Only…
opens through ui.menuDialog. The params text of ui.menuDialog,
ui.smoothAuto and ui.simplifyAuto, docs/mcp.md and the menu dialog key
test now say so.
2026-11-30 17:54:45 -08:00
dotCooCoo b1ca790ddf MCP: ui.menuDialog lists object.stepAndRepeat
Main added Object > Step and Repeat, whose dialog ui.menuDialog opens
under the key object.stepAndRepeat. The command list in ui.menuDialog's
params text (and its MCP mirror) did not name it, so
menu_dialog_params_text_lists_every_command_whose_dialog_it_opens failed
on the branch merged with main.
2026-11-30 11:15:09 -08:00
dotCooCoo 00e73ea26c Merge main into fix/menu-dialog-kind-names 2026-11-30 10:56:18 -08:00
.CooCoo dc6beff197 Merge pull request #10281 from dotCooCoo/fix/issue-3211
Fix #3211: Text Wrap › Make wraps the area type selected with the object
2026-11-30 10:30:57 -08:00
dotCooCoo 6dd6cb5f70 Merge main into fix/menu-dialog-kind-names 2026-11-30 09:03:09 -08:00
dotCooCoo 0c4a558686 MCP: ui.menuDialog's params text lists Offset Objects and Match Objects
Cause: main gained the Arrange add-on's Offset Objects and Match Objects
dialogs (addon.arrange.offset, addon.arrange.match) after this branch
started. ui.menuDialog opens both, but its params text in
crates/ui-egui/src/menus/ui_commands.rs and crates/mcp/src/ui_catalog.rs
did not list them, so the branch's
menu_dialog_params_text_lists_every_command_whose_dialog_it_opens test
failed once main was merged in. Both lists now name the two commands; each
dialog's key is its command id.
2026-11-30 07:50:02 -08:00
dotCooCoo ede596a7ed Fix #3211: Text Wrap › Make wraps the area type selected with the object
Make set the wrap option on every selected object, the area type
included, and the wrap resolver never wraps an object that has the
option, so selecting the object and the type together and choosing Make
left the type as it was.

- Make leaves a selected type object with another selected object above
  it in its layer out of the wrap objects, and takes the option off it
  if an earlier Make set it there. Text Wrap Options leaves it out too.
- Make warns in the status bar when no area type lies below any of its
  wrap objects (the object is below the type, or the type is point
  type).
- Make and Options record no undo step when nothing changes.

Docs: docs/mcp.md, the text_wrap tool description and the command
params text.
2026-11-30 07:28:17 -08:00
dotCooCoo 2be42e7986 Shape Builder: saved Artwork from earlier versions switches to Color Swatches once
Leaving the Shape Builder saved every one of its options, so preferences
from earlier versions hold pickColorFrom "artwork" whether or not it was
picked, and kept the old default after Color Swatches became the default.

The preferences now carry toolSettingsVersion, written as 1 once a tool
setting is stored. Applying preferences without it changes a saved
Shape Builder pickColorFrom "artwork" to "swatches" and writes the
version, so Artwork picked after that is kept at the next launch. A
saved "swatches" and preferences without a saved pickColorFrom are
unchanged.

Docs: docs/mcp.md and the tool options params text.
2026-11-29 19:52:59 -08:00
dotCooCoo 8e68c5edcf Shape Builder: Pick Color From defaults to Color Swatches
While the Shape Builder is active, a fill picked from a swatch or a color
changes only the current fill, and the selected art keeps its own. With
Pick Color From set to Artwork, a merge takes the look of the art, so the
picked color never reached the merged shape and the tool looked as if it
could not fill.

Pick Color From now defaults to Color Swatches: a merge fills with the
picked color, and the Left and Right arrow keys step through the color
swatches. A pickColorFrom saved with the preferences is kept, so a saved
Artwork stays Artwork; preferences saved without one take Color Swatches.
The shapeBuilder.merge command still defaults to artwork when its
pickColorFrom is left out.

Docs: docs/mcp.md and the tool options params text.
2026-11-29 17:43:37 -08:00
dotCooCoo e1b3943f46 MCP: tool.options' params text says where its dialog names appear
The params text of tool.options (in both command catalogs) and
docs/control-protocol.md named the dialogs' keys without saying that
they are the `key` ui.inspect reports. The `dialog` field tool.options
returns holds `rotate`, `scale`, `reflect` or `shear` for the transform
tools, `move` for the selection tools and `command` for the Type on a
Path tools.

- The text names both: the `key` in ui.inspect and the returned
  `dialog` field.
- The tool.options test checks the returned `dialog` field against the
  params text as well as the key.
- The ui.menuDialog test checks that the Simplify and Smooth popovers
  are showing when the params text says those commands show a slider.
2026-11-29 14:52:10 -08:00
dotCooCoo c72600c1ad MCP: the Simplify and Smooth sliders are canvas popovers, not dialogs
The params text of ui.simplifyAuto and ui.smoothAuto (in both command
catalogs) and docs/mcp.md described the Simplify and Smooth sliders as
dialogs `simplifySlider` and `smoothSlider` that ui.dialog.confirm
keeps. The sliders are canvas popovers: ui.inspect does not list them,
and the ui.dialog commands do not control them.

- The text says Enter or a click outside the popover keeps the result,
  with one undo step when the paths changed and none otherwise, and
  Escape restores the paths.
- The tool.options test compares each tool's dialog key with the key
  the params text gives for that tool.
2026-11-29 14:13:13 -08:00
dotCooCoo 7eda2320dc MCP: ui.menuDialog's params text lists every command whose dialog it opens
The params text of ui.menuDialog (and its copy in the MCP catalog) did
not list the add-on and other commands whose dialogs ui.menuDialog also
opens: Set Corners, Divide into Dashes, Bridge, Tangent Circle, Text
Tweaker, Color Legend, `addon.arrange.randomizeOpacity`,
`addon.arrange.sort`, Color Nearest, Select by Artboards,
`type.smartPunctuation`, and the variable and data set dialogs.

- The list now names those commands. The text says the variable and
  data set dialogs report the key `variables`, that the Color Nearest
  and Select by Artboards dialogs have no `key`, when Rename Variable,
  Set Data Set and Rename Data Set open, and that ui.dialog.set,
  ui.dialog.confirm and ui.dialog.cancel take the dialog's `id`.
- A test runs ui.menuDialog for every command and fails when one opens
  a dialog that the params text does not list. The key test compares
  each dialog's key with the key the params text gives for its command.
2026-11-29 13:57:21 -08:00
dotCooCoo 9f6afc8403 MCP: dialog params texts name the keys ui.inspect reports
ui.inspect lists each open dialog with a key. The params text of these
commands, and docs/mcp.md and docs/control-protocol.md, named a key that
no open dialog reports:

- Layer Options (ui.layerOptions, ui.newLayer): layerOptions, now
  ui.layerOptions.
- The Layers panel's Panel Options: layersPanelOptions, now
  ui.layersPanelOptions.
- The Navigator panel's Panel Options: navigatorPanelOptions, now
  ui.navigatorPanelOptions.
- Document Raster Effects Settings (ui.rasterEffectsSettingsDialog):
  rasterEffectsSettings, now document.rasterEffectsSettings.
- The PDF preset editor (ui.pdfPresetDialog): pdfPreset, now pdf-export.
- Save for Web (file.saveForWeb): saveForWeb, now save-for-web.
- The Actions panel's Reset Actions question (ui.actionSet.reset):
  resetActions, now actionsQuestion.

Each command now has a test that opens the dialog and checks that its
params text names the key ui.inspect lists.
2026-11-29 11:06:33 -08:00
dotCooCoo 497528564a Merge main into feat/quick-pen-scroll-arc 2026-11-29 09:28:14 -08:00
dotCooCoo 3cbe61a6d0 MCP: ui.menuDialog's params text names the dialog keys ui.inspect reports
Since the move to the craft UI framework, the dialogs ui.menuDialog
opens report their command id as their `key` in ui.inspect and
ui.dialog, except Transform Each and the envelope dialogs. The params
text, docs/mcp.md and docs/control-protocol.md still named the earlier
kinds (`move`, `scale`, `vectorHalftone`, `rearrangeArtboards`,
`renameArtboards`, `arrangeGrid`, `divideDashes`, `smoothBridge`,
`tangentCircle`, `textTweaker`, `command` and others), which no dialog
reports.

- The params text of ui.menuDialog (and its copy in the MCP catalog)
  says the key is the command id and names the four exceptions, and
  says Smooth, and Simplify until its dialog keeps its settings, show a
  slider rather than a dialog. ui.simplifyAuto and
  ui.simplifyMoreOptions name the Simplify dialog's key
  `object.path.simplify`.
- The params text of tool.options names the keys of the dialogs the
  Rotate, Scale, Reflect, Shear, selection and Type on a Path tools
  open: `object.rotate`, `object.scale`, `object.reflect`,
  `object.shear`, `object.move` and `type.pathOptions`.
- docs/mcp.md and docs/control-protocol.md name the keys the dialogs
  report, Type on a Path Options and Rasterize included.
- Tests open every command the ui.menuDialog params text lists, each of
  those tools' options and Simplify's More Options, and check the key
  against the params text, and that every key the ui.menuDialog text
  names is one a listed command opens.
2026-11-29 06:56:52 -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
dotCooCoo 3e2a615aee Merge main into feat/js-es2015-modules 2026-11-28 19:45:10 -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