Commit Graph
489 Commits
Author SHA1 Message Date
BFlat 190375c76c Merge pull request #7760 from dotCooCoo/feat/graph-designs-from-other-document
Graphs: graph designs come in from another document
2026-11-20 05:44:33 +07:00
BFlat 134e3defa6 Merge pull request #7021 from dotCooCoo/feat/3d-custom-bevels
3D: Extrude & Bevel takes custom bevel shapes drawn as open paths
2026-11-20 04:08:29 +07:00
dotCooCoo 7b222bbd57 Merge main into feat/graph-designs-from-other-document 2026-11-19 12:22:10 -08:00
BFlat f43f27658b Merge pull request #8759 from dotCooCoo/fix/live-paint-bucket-eyedropper-stop
Live Paint: the bucket keeps its colors through the stop eyedropper and a Cmd-click
2026-11-20 02:30:58 +07:00
dotCooCoo 856e61afb4 Merge main into feat/3d-custom-bevels 2026-11-19 11:13:58 -08:00
dotCooCoo b585b75109 Live Paint: the bucket keeps its colors through the stop eyedropper and a Cmd-click
The proxies and the paint commands that name no objects stood for the Live
Paint Bucket's colors only while the bucket itself was the active tool. Two
tools that work for the bucket lost them:

- The Gradient panel's eyedropper on a stop of the bucket's gradient: the
  stop was deselected as soon as the Eyedropper became active, and the click
  then copied the clicked object's appearance onto the selection.
- A Cmd-click with the bucket, which the Selection tool takes: with New Art
  Has Basic Appearance off, the new selection's appearance replaced the
  bucket's fill and stroke.

Session::bucket_paints() now answers for the bucket, the Eyedropper armed
for a stop of its gradient (Tool::returns_to), the Selection tool lent to
either, and the actions of the Eyedropper's click that end by switching back
to the bucket. Every check that compared the tool id with the bucket's now
uses it: the proxies, the Stroke panel, the selected stop's owner, new-art
inheritance, previews and their cancel.

- The armed pick ends without sampling, and switches back to the bucket,
  when its stop is no longer selected or no longer exists.
- Clicking the panel's eyedropper again while a pick is armed keeps the tool
  the pick returns to.
- The Color panel's cached mixed state is keyed on bucket_paints().
- A Brush Options Key Color pick or an Image Trace ignored-color pick armed
  from the bucket is not a stop pick.

Tests: live_paint_bucket_keeps_its_colors_through_the_stop_eyedropper_and_a_cmd_click
(engine), the stop option test (tools), the stop eyedropper and mixed
selection tests (ui-egui). Docs: docs/mcp.md, the Live Paint Bucket
paragraph.
2026-11-19 10:05:22 -08:00
BFlat b902c33e0c Merge pull request #8706 from dotCooCoo/fix/setoption-survives-dropped-press
Tools: an option set during a press survives the press being dropped
2026-11-20 01:01:44 +07:00
dotCooCoo 42d22b6cc6 Merge main into feat/graph-designs-from-other-document
# Conflicts:
#	crates/engine/src/cmd/clipboard/resources.rs
2026-11-19 06:48:38 -08:00
dotCooCoo 54a964d4fa Tools: an option set during a press survives the press being dropped
A dropped press puts back the persistent options the tool had when the
press began. It also put back an option set while the press was held
(tool.setOption or the desktop app's setter), and the next store of the
tool's options wrote the old value over the new one. A General > Corner
Radius change during a Rounded Rectangle press was undone the same way.

- Setting an option of the tool that took the press updates the press's
  saved options with every option the set changed, so the dropped press
  keeps them.
- Setting an option stores all of the tool's options, the drag's changes
  included, so a dropped press after such a set stores the options it
  puts back.
- A Corner Radius change updates the held Rounded Rectangle press's
  saved radius.
- Both hold when the tool lent a selection tool for the press (a
  Cmd-drag).
2026-11-19 05:21:36 -08:00
dotCooCoo 3fb77f58bb Merge main into feat/3d-custom-bevels 2026-11-19 04:54:39 -08:00
dotCooCoo 5d8609e881 Merge main into feat/proof-setup-save-load
# Conflicts:
#	crates/ui-egui/src/dialogs.rs
#	crates/ui-egui/src/i18n/tests.rs
2026-11-19 04:47:38 -08:00
dotCooCoo db1442db8a Merge main into feat/3d-custom-bevels 2026-11-18 23:53:53 -08:00
dotCooCoo 2eeb582f35 Merge main into feat/proof-setup-save-load 2026-11-18 17:16:14 -08:00
dotCooCoo 877ecb27f1 Merge main into feat/graph-designs-from-other-document 2026-11-18 13:11:26 -08:00
dotCooCoo 80cc17da48 Merge main into feat/transform-show-on-shape-creation 2026-11-18 13:09:50 -08:00
bflatastic a8c951f7f7 combo: #8082 2026-11-19 01:26:03 +07:00
bflatastic 8cb2ab2a27 combo: #7971 2026-11-19 01:25:59 +07:00
bflatastic 1dc806b1ef Merge main into #8082 2026-11-19 01:20:16 +07:00
bflatastic 649879b0ce Merge main into #7971
# Conflicts:
#	crates/ui-egui/src/i18n/ca.tsv
#	crates/ui-egui/src/i18n/da.tsv
#	crates/ui-egui/src/i18n/el.tsv
#	crates/ui-egui/src/i18n/es.tsv
#	crates/ui-egui/src/i18n/fi.tsv
#	crates/ui-egui/src/i18n/vi.tsv
2026-11-19 01:19:54 +07:00
bflatastic 86eb9aa115 Merge main into #7867 2026-11-19 01:19:48 +07:00
dotCooCoo a6d6ff667d Merge main into feat/transform-show-on-shape-creation 2026-11-18 07:28:28 -08:00
dotCooCoo e4379e39f1 Merge main into feat/attributes-url-count 2026-11-18 06:20:03 -08:00
dotCooCoo 105ba854c1 Merge main into feat/hold-shortcuts 2026-11-18 01:56:46 -08:00
dotCooCoo 2123b284f0 Merge main into feat/proof-setup-save-load 2026-11-18 01:42:49 -08:00
dotCooCoo cd5d611196 Merge main into feat/toast-messages 2026-11-18 01:21:20 -08:00
dotCooCoo c6b657b96f Merge main into feat/editable-flares 2026-11-17 22:42:31 -08:00
dotCooCoo 924fd72183 Merge main into feat/attributes-url-count 2026-11-17 22:27:54 -08:00
dotCooCoo ef3659caa5 Merge main into feat/plugin-budget-preference 2026-11-17 22:27:52 -08:00
BFlat 4cba0fcc5b Merge pull request #8478 from dotCooCoo/feat/width-point-edit-discontinuous
Width Point Edit: a discontinuous point shows and edits both sets of side widths
2026-11-18 13:09:05 +07:00
dotCooCoo d42995dcff Merge main into feat/proof-setup-save-load 2026-11-17 20:26:07 -08:00
dotCooCoo 57d21108c9 Merge main into feat/hold-shortcuts 2026-11-17 20:08:52 -08:00
dotCooCoo b789a26dd5 Merge main into feat/plugin-budget-preference 2026-11-17 20:00:17 -08:00
dotCooCoo 44bd7ba6df Merge main into feat/toast-messages 2026-11-17 19:59:56 -08:00
dotCooCoo 0c4684e9b5 Merge main into feat/attributes-url-count 2026-11-17 19:57:38 -08:00
dotCooCoo 55b8fa8b6a Width Point Edit: the dialog and stroke.widthPoint.set share one pairing rule
The dialog and stroke.widthPoint.set each tested whether two width
points are the halves of one discontinuous point. The test is now one
engine function, width_point_pair: a point and the next one are the
two halves when they are the only points within 1e-6 of the first
one's place. The dialog still picks which point to test, and the
command still returns its error when the indices are not a pair.
2026-11-17 17:31:06 -08:00
dotCooCoo 386b2e9d30 Merge main into feat/graph-designs-from-other-document 2026-11-17 08:41:51 -08:00
dotCooCoo 04c65a85af Messages: app.toast shows a message over the window without stopping work
`app.toast {message, level?, seconds?}` queues a short message that the
desktop app shows at the window's bottom right. It closes after its time
(4 seconds by default, 0.5 to 60) or when clicked. At most 5 show at
once, the newest lowest; a message shows at most 6 lines with the whole
text on hover, and a stack taller than the window scrolls. `level`
(info, success, warning, error) sets the color of its edge.

Scripts raise one with `vc.run`, MCP clients and plug-ins through the
command, and an action records it as a step. The app's own code calls
`Session::toast`. The command edits no document and adds no undo step;
invalid values are errors. Part of #7523: the tick sound is not
included.

Docs: docs/mcp.md, the Automation evidence in docs/target-app-parity.md.
2026-11-17 08:30:51 -08:00
dotCooCoo ad0675d4f9 Transform panel: Show on Shape Creation shows the panel after a shape is drawn
The Transform panel menu has a Show on Shape Creation check item, the
`showOnShapeCreation` preference (off until chosen, kept with the
preferences). With it on, the app shows the Transform panel, as Window >
Transform shows it, after a shape is drawn: a drag or OK in the dialog of
the Rectangle, Rounded Rectangle, Ellipse, Polygon, Star or Line Segment
tool, a shape the Shaper tool recognizes, or a shape.rectangle,
shape.ellipse, shape.polygon, shape.star or shape.line command, alone or
as a batch step. A panel that is showing already stays as it is. A
canceled drag or dialog, a failed command, saved steps an action plays, a
script's commands and Presentation Mode leave the panels as they are.

The engine notes a drawn shape where it journals the command
(`Session::take_shape_drawn`), and the app checks it once per frame.

Help page: https://helpx.adobe.com/illustrator/desktop/manage-objects/reshape-transform-objects/transform-panel-overview.html
2026-11-16 08:16:11 -08:00
dotCooCoo 620c07848b Plug-ins: Preferences set the instruction budget for object-filter runs (Normal or Large)
Preferences > Plug-ins & Scratch Disks > Plug-in Instruction Budget
(`pluginInstructionBudget`) is a VectorCraft setting. Normal, the default,
keeps the limits a filter run has today. Large gives each object filter run
250 M instructions plus 4,000 per input byte, with the 60 s time budget, Cancel
and the other limits unchanged. An approved heavy filter keeps its 1 G and
300 s with either value; live effects, exporters and importers keep their own
budgets. The next run of an installed filter uses the value in force when the
run is prepared.

prefs.set refuses any value but normal or large; a saved preferences file
with another value reads as Normal and the other preferences load as saved.

Docs: docs/plugins.md, docs/mcp.md, docs/target-app-parity.md.
2026-11-16 03:02:49 -08:00
dotCooCoo 10f7206bbe Attributes: Panel Options sets how many recent URLs the URL menu lists
The Attributes panel menu gets Panel Options..., whose dialog sets how
many of the recent URLs the URL menu lists, a whole number from 1 to 30
(10 by default). ui.attributesPanelOptions {count} sets it without the
dialog; a count out of range is an error and changes nothing. The count
is kept with the UI state.

The recent URL list now keeps the 30 newest distinct URLs of the
session, so a lower count hides older URLs without removing them.
2026-11-16 00:26:27 -08:00
dotCooCoo e1033f239f Merge main into feat/editable-flares 2026-11-15 20:52:25 -08:00
dotCooCoo 38d2f83795 Merge main into feat/hold-shortcuts 2026-11-15 16:10:03 -08:00
dotCooCoo 3c73995861 Merge main into feat/script-file-folder-write 2026-11-15 16:06:24 -08:00
dotCooCoo d64310a02a Merge main into feat/3d-custom-bevels 2026-11-15 16:05:52 -08:00
dotCooCoo d6e96a0b09 Merge feat/proof-setup-customize into feat/proof-setup-save-load 2026-11-15 13:09:29 -08:00
dotCooCoo 23be2d879f View: Proof Setup saves and loads a custom proof setup
The Proof Setup dialog gets Save… and Load… buttons. Save… writes the
dialog's settings to a proof setup file, and Load… reads one back into
the dialog. View › Proof Setup lists the setups in the Proof Setups
folder next to the preferences below Customize…, and choosing one makes
it the proof setup with Proof Colors on.

view.proofSetup.save, view.proofSetup.load, view.proofSetup.read and
view.proofSetup.list do the same from scripts and control clients. The
file is VectorCraft's own JSON format (.vcproof, at most 64 KiB).
2026-11-15 13:09:24 -08:00
dotCooCoo 0cf59a7649 Shortcuts: a tool or command can have a hold shortcut that runs when its key is held
Edit › Keyboard Shortcuts gets a Hold Shortcuts checkbox, off by default,
with a ? button that explains it. While it is off, the dialog has no Hold
column and every key runs on its press as before. While it is on, the
dialog shows a Hold column and the Hold Shortcut Delay (`keyHoldDelay`,
0.35 s, 0.2 to 1.0 s), and a letter, digit or punctuation key, alone or
with Shift, can hold a tool or command. Held for the delay, the key runs
its hold shortcut once and its repeats are ignored until it is let go; a
quicker press runs what the key runs without one, at the release.
Another key, or Cmd, Ctrl or Alt, ends the wait first; focus loss, a
dialog, a text field, Presentation Mode or an input method composition
ends it without running anything. A hold on a letter alone leaves the
letter with Shift as it is, and a key the active tool uses itself (E
with the Extend Path tool) does not wait. A tool key with a hold
shortcut runs the hold instead of choosing its tool temporarily
(`holdToolKeys`). Preferences › General › Options lists both settings
too, with the delay dimmed while Hold Shortcuts is off.

Hold shortcuts are stored apart from the shortcuts (`shortcut_holds`).
`shortcuts.set` takes `hold`, `shortcuts.list` rows have `hold`,
`shortcuts.conflicts` lists hold clashes, Export… writes `holds` and
Import… reads it, and Export Text… adds a `Hold X` column while the
checkbox is on. Reset to Defaults and the presets clear them. The new
strings have rows in every catalog.
2026-11-15 12:49:39 -08:00
dotCooCoo 329aebc68c Merge main into feat/file-info-templates 2026-11-15 11:06:12 -08:00
dotCooCoo a670cd1102 File Info: metadata templates save, import and list from the File Info menu
File Info's menu saves the fields as an XMP metadata template (into the
Metadata Templates folder next to the preferences, or any file), imports
one with a choice of three merges, lists the saved templates and opens
the folder. The import is one undo step and records nothing when no
field changes.

- file.info.saveTemplate writes the title (when it is not the
  document's name), author, author title, description, keywords,
  rating, copyright status, notice and URL that have a value.
- file.info.applyTemplate reads a file, a saved template or XMP text
  (at most 8 MB) and merges it: replace clears the fields first, keep
  takes each field the template has, append adds keywords and fills
  only empty fields. apply: false returns the merged fields without
  changing the document.
- file.info.templates lists the folder's .xmp files.
- A PDF or .ai also opens with the rating and author title its XMP
  packet gives.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-15 11:05:55 -08:00
dotCooCoo ea3dec020c Merge main into feat/editable-flares 2026-11-15 06:55:47 -08:00