Commit Graph
6442 Commits
Author SHA1 Message Date
dotCooCoo b423ce5855 Quick Pen: on-canvas toolbar with its actions, Flip Arc and More menu
Selecting the Quick Pen tool shows a toolbar on the canvas. Straight
Line, Continuous Arc and Sharp Corner Arc set the tool's action, Flip
Arc flips the last sharp-corner arc as C does, and More Options has
Hide Toolbar, Pin Toolbar Position and Reset Toolbar Position. The
handle at its left end drags it.

While a path is being drawn, the toolbar sits beside the path's last
point, 24 screen points off it on the side the path heads toward, or on
the other side where that side runs off the canvas. With no path being
drawn, it sits at the bottom center of the canvas. A drag's offset
applies in the kind of place it was made in (beside the drawing or
resting), and not where it would cover the path's last point. Pinned,
it stays at its place in the canvas window. It hides while a press
drags on the canvas, and its controls wrap in a canvas pane narrower
than the toolbar. Hide Toolbar hides it until the tool is selected
again; Window › Quick Pen Toolbar also shows or hides it.

- Tool::drawing_end and Session::tool_drawing_end give the point the
  path goes on from and the direction it arrives in.
- New desktop commands: window.quickPenToolbar, window.quickPenToolbar.pin,
  window.quickPenToolbar.reset and tool.quickPen.flipArc; ui.inspect
  reports quickPenToolbar.
- Labels in every catalog.

Docs: docs/mcp.md, docs/control-protocol.md, ROADMAP, docs/ui-parity.md,
docs/target-app-parity.md. Part of #2660.
2026-11-19 10:04:07 -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
BFlat 115790a0b0 Merge pull request #8740 from storytold/train/carry8044
Color Wheel: HSL Sliders edit a color by hue, saturation and lightness (#8044)
2026-11-20 00:54:48 +07:00
BFlat 9a137e183a Merge pull request #8735 from storytold/train/carry8585
Direct Selection: Cmd/Ctrl added during a handle drag mirrors the opposite handle (#8585)
2026-11-20 00:48:35 +07:00
bflatastic eee6f40a92 Merge remote-tracking branch 'origin/main' into fix/8044 2026-11-19 23:39:16 +07:00
bflatastic aeebd25b5a Merge remote-tracking branch 'origin/main' into fix/8479
# Conflicts:
#	crates/engine/src/cmd/brushlib.rs
#	crates/ui-egui/src/i18n/bg.tsv
#	crates/ui-egui/src/i18n/bs.tsv
#	crates/ui-egui/src/i18n/ca.tsv
#	crates/ui-egui/src/i18n/cs.tsv
#	crates/ui-egui/src/i18n/da.tsv
#	crates/ui-egui/src/i18n/de.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/fr.tsv
#	crates/ui-egui/src/i18n/gu.tsv
#	crates/ui-egui/src/i18n/hi.tsv
#	crates/ui-egui/src/i18n/hu.tsv
#	crates/ui-egui/src/i18n/id.tsv
#	crates/ui-egui/src/i18n/it.tsv
#	crates/ui-egui/src/i18n/ja.tsv
#	crates/ui-egui/src/i18n/ka.tsv
#	crates/ui-egui/src/i18n/ko.tsv
#	crates/ui-egui/src/i18n/nl.tsv
#	crates/ui-egui/src/i18n/pl.tsv
#	crates/ui-egui/src/i18n/pt-br.tsv
#	crates/ui-egui/src/i18n/ru.tsv
#	crates/ui-egui/src/i18n/sv.tsv
#	crates/ui-egui/src/i18n/tr.tsv
#	crates/ui-egui/src/i18n/uk.tsv
#	crates/ui-egui/src/i18n/vi.tsv
#	crates/ui-egui/src/i18n/zh-hans.tsv
#	crates/ui-egui/src/i18n/zh-hant.tsv
#	docs/gaps.md
#	docs/mcp.md
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 23:24:47 +07:00
bflatastic 8157194da2 Merge remote-tracking branch 'origin/main' into fix/8585 2026-11-19 23:23:53 +07:00
bflatastic d61eb33e52 Merge main into #8399
# Conflicts:
#	crates/ui-egui/src/i18n/bg.tsv
#	crates/ui-egui/src/i18n/bs.tsv
#	crates/ui-egui/src/i18n/ca.tsv
#	crates/ui-egui/src/i18n/cs.tsv
#	crates/ui-egui/src/i18n/da.tsv
#	crates/ui-egui/src/i18n/de.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/fr.tsv
#	crates/ui-egui/src/i18n/gu.tsv
#	crates/ui-egui/src/i18n/hi.tsv
#	crates/ui-egui/src/i18n/hu.tsv
#	crates/ui-egui/src/i18n/id.tsv
#	crates/ui-egui/src/i18n/it.tsv
#	crates/ui-egui/src/i18n/ja.tsv
#	crates/ui-egui/src/i18n/ka.tsv
#	crates/ui-egui/src/i18n/ko.tsv
#	crates/ui-egui/src/i18n/nl.tsv
#	crates/ui-egui/src/i18n/pl.tsv
#	crates/ui-egui/src/i18n/pt-br.tsv
#	crates/ui-egui/src/i18n/ru.tsv
#	crates/ui-egui/src/i18n/sv.tsv
#	crates/ui-egui/src/i18n/tr.tsv
#	crates/ui-egui/src/i18n/uk.tsv
#	crates/ui-egui/src/i18n/vi.tsv
#	crates/ui-egui/src/i18n/zh-hans.tsv
#	crates/ui-egui/src/i18n/zh-hant.tsv
#	docs/gaps.md
#	docs/mcp.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-19 23:17:00 +07:00
bflatastic fb96dfc5a0 Merge main into #8455
# Conflicts:
#	crates/ui-egui/src/i18n/bg.tsv
#	crates/ui-egui/src/i18n/bs.tsv
#	crates/ui-egui/src/i18n/gu.tsv
#	crates/ui-egui/src/i18n/id.tsv
2026-11-19 22:21:39 +07:00
bflatastic 3d5eaa855e Merge main into #8164
# Conflicts:
#	docs/target-app-parity.md
2026-11-19 22:20:34 +07:00
BFlat 859b3cdbd7 Merge pull request #8696 from dotCooCoo/fix/live-paint-bucket-gradient-aspect
Gradient: an aspect with no object to edit is an error, not a silent no-op
2026-11-19 22:14:21 +07:00
bflatastic 6a3db0e842 Merge main into #7977 2026-11-19 21:44:26 +07:00
BFlat aad3ea3bb5 Merge pull request #7674 from dotCooCoo/feat/proof-setup-customize
View: Proof Setup › Customize… opens a dialog for the device to simulate
2026-11-19 21:31:51 +07:00
dotCooCoo c4c1495c04 Direct Selection: Alt and Cmd/Ctrl apply while Space moves a handle
A handle drag kept the Alt and Cmd/Ctrl state it had before Space was
pressed, so pressing Alt or releasing Cmd/Ctrl during a Space translation
changed nothing until Space was released and the pointer moved. Both
modifiers are now read on every drag event. The Space translation still
keeps the accepted handle position.
2026-11-19 06:23:27 -08:00
BFlat fd22531ba6 Merge pull request #8514 from dotCooCoo/feat/swatches-alt-drag-pattern-replace
Swatches: art Alt-dragged onto a pattern swatch replaces its tile art
2026-11-19 21:20:55 +07:00
BFlat f0d97f5e45 Merge pull request #8330 from dotCooCoo/feat/engraving-brush-library
Brushes: Add original Engraving library
2026-11-19 21:20:18 +07:00
BFlat ef3e7a5677 Merge pull request #7899 from dotCooCoo/feat/recolor-edit-base-color-menus
Recolor Artwork: Edit tab right-click menus set the base color, pick a shade and add colors
2026-11-19 21:13:03 +07:00
BFlat 6b7ad6cf55 Merge pull request #8605 from dotCooCoo/feat/dimension-stroke-arrowheads
Dimension: Arrow Style offers every built-in stroke arrowhead
2026-11-19 21:07:19 +07:00
BFlat 4e6cc2aed2 Merge pull request #8464 from dotCooCoo/fix/psd-knockout-layers-merge
PSD import: a layer with a knockout merges with the layers below it in its group
2026-11-19 21:01:03 +07:00
dotCooCoo 8d7eaf36bb Gradient: an aspect for a Live Paint group without faces is an error
A fill edit of a selected Live Paint group with edges and no faces edits
no object, yet paint.editGradient accepted an aspect there and returned
no ids, and the Aspect Ratio field stayed enabled.

- paint.editGradient refuses an aspect when the Live Paint filter leaves
  no object. Graph design art alone still changes nothing without an
  error, as for the other params.
- Session::gradient_edit_has_objects reads the same filtered targets, so
  the field is dimmed in that case.
- Params text and docs/mcp.md name the case.
2026-11-19 05:53:08 -08:00
dotCooCoo 8b289bf6bb Direct Selection: Cmd/Ctrl mirrors an ordinary path's handle again
The handle drag that keeps Space translation sent path.setHandle without
`symmetric`, so Cmd/Ctrl no longer mirrored the opposite handle on an
ordinary path. The drag now records the mirror with the handle it accepts
and sends it on every preview, so the opposite handle stays mirrored while
Space moves the anchor. Alt still takes priority.
2026-11-19 05:49:14 -08:00
BFlat 778b95918d Merge pull request #8460 from dotCooCoo/feat/transform-rect-ellipse-angle
Transform: Rectangle and Ellipse Properties show the shape's angle
2026-11-19 20:44:43 +07:00
BFlat bccded3d86 Merge pull request #8276 from yoriswind/codex/8068-trace-ignore-sampler
#8068: sample Image Trace Ignore Color from the source image
2026-11-19 20:44:24 +07:00
dotCooCoo 8c7b75300f Merge main into feat/paint-brush-library 2026-11-19 05:41:10 -08:00
dotCooCoo efe4c7e30f Proof Setup: a setup that would be too large to load is not saved
view.proofSetup.save refuses a setup whose file would be larger than
the 64 KiB view.proofSetup.load reads (a device profile with a very
long name), and writes nothing.
2026-11-19 05:39:51 -08:00
dotCooCoo 71086edeed Merge main into feat/swatches-add-selected-colors 2026-11-19 05:25:36 -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 056059d8cb Merge main into feat/direct-select-mirror-handles 2026-11-19 05:18:05 -08:00
dotCooCoo 5d458d3142 Merge main into feat/arc-by-points 2026-11-19 05:12:59 -08:00
dotCooCoo 3e0963814f Merge main into feat/engraving-brush-library 2026-11-19 05:06:49 -08:00
dotCooCoo 63d87b6d3e Merge main into feat/swatches-alt-drag-pattern-replace 2026-11-19 05:05:44 -08:00
dotCooCoo dafade6173 Merge main into feat/proof-setup-customize
# Conflicts:
#	crates/ui-egui/src/dialogs.rs
#	crates/ui-egui/src/i18n/tests.rs
2026-11-19 05:04:12 -08:00
dotCooCoo 50b039cd10 Merge main into feat/color-wheel-hsl-sliders 2026-11-19 05:03:21 -08:00
BFlat 2ef4858543 Merge pull request #8698 from Hassan1305/fix-8693-script-io-real-temp
Tests: script_io makes its temp folders by their real paths
2026-11-19 20:02:19 +07:00
dotCooCoo d48e652972 Merge main into feat/artistic-brush-library 2026-11-19 05:01:01 -08:00
dotCooCoo d5ab3f8654 Merge main into fix/live-paint-bucket-gradient-aspect 2026-11-19 05:00:35 -08:00
dotCooCoo 9fb331f75b Merge main into feat/recolor-edit-base-color-menus 2026-11-19 04:57:32 -08:00
dotCooCoo d084e90cba Merge main into feat/dimension-stroke-arrowheads 2026-11-19 04:54:39 -08:00
dotCooCoo 89c9b61c56 Merge main into fix/psd-knockout-layers-merge 2026-11-19 04:52:41 -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 b0bebd324d Merge main into feat/transform-rect-ellipse-angle 2026-11-19 04:42:52 -08:00
yoriswind 943f28989a Merge pinned main preserving Image Trace sampler ownership 2026-11-19 04:34:33 -08:00
Sven Lafebre 40b2b36067 Merge remote-tracking branch 'origin/main' into fix/8188-ai-arrowheads
# Conflicts:
#	crates/engine/src/cmd/stroke.rs
2026-11-19 12:54:51 +01:00
HassanKhan 24da5d2936 Tests: script_io makes its temp folders by their real paths
On macOS the temp folder /var/... is a link to /private/var/.... Kept
script file grants hold real paths, and ScriptScope refuses a path by
its names alone when they don't start with a granted path, so the 11
grant tests that name their files under the temp folder were refused
and asked again. folder() now returns the real path of the folder it
makes.

ui_inspect_script_report_leaves_out_files_outside_the_read_root failed
on macOS for the same reason: the report names the included file by
its real path, and the test compared it with the /var spelling. It now
compares with the real path. No change outside the tests.

Fixes #8693
2026-11-19 16:50:28 +05:00
yoriswind 18793ed27d Fix redundant color-management closure borrow 2026-11-19 03:45:18 -08:00
BFlat 2bc41aeb86 Merge pull request #8685 from dotCooCoo/fix/live-paint-group-faces-edges
Live Paint: a fill given to a whole group paints its faces and a stroke paints its edges
2026-11-19 18:41:35 +07:00
Sven Lafebre 4c20c3e21f Merge remote-tracking branch 'origin/main' into fix/8188-ai-arrowheads
# Conflicts:
#	crates/engine/src/cmd/stroke.rs
#	crates/eps/src/import/ai/read/ops.rs
#	docs/file-format-parity.md
2026-11-19 12:34:27 +01:00
dotCooCoo 6cb7b51076 Gradient: an aspect with no object to edit is an error, not a silent no-op
paint.editGradient with an aspect returned ok and changed nothing when it
edited no object: with the Live Paint Bucket active (its default gradient)
or with nothing paintable selected. The default gradient for new art is
fitted to each object it paints and keeps no aspect, so the aspect was
dropped.

- paint.editGradient now refuses an aspect when it edits no object, and
  leaves the default gradient as it was. Named or selected objects still
  take the aspect.
- The Gradient panel's Aspect Ratio field is dimmed in that case
  (Session::gradient_edit_has_objects).
- Params text and docs/mcp.md say so.
2026-11-19 02:30:52 -08:00
dotCooCoo ddd1a961fb Live Paint: Swap leaves faces with freeform gradients as they are
Swap Fill and Stroke on a whole Live Paint group compared the faces'
fills without gradient placement, so faces with freeform gradients
counted as one shared fill and the edges took a freeform gradient
without its points. A freeform gradient on any face or edge now counts
as a paint the parts do not share, and the group keeps its paint.

- docs/mcp.md says that a face or edge given with its whole group follows
  the group's rule, and that Default Fill and Stroke replaces the parts'
  appearance also when the Default Graphic Style is redefined.
- The progress-doc line states the behavior as VectorCraft's own rule and
  lists all eight tests.
- Tests cover freeform faces in Swap, an edge given with its group, and
  Default Fill and Stroke with a redefined Default Graphic Style.
2026-11-19 02:10:41 -08:00
dotCooCoo df614fb80c Pen: Quick Pen tool draws lines, continuous arcs and sharp-corner arcs
A new tool in the Pen tool's group, chosen with Alt+P (Option+P on
macOS), draws paths of straight lines and circular arcs, as the Quick
Pen help pages describe:
https://helpx.adobe.com/illustrator/web/add-and-edit-artwork/draw-and-edit-paths/draw-with-quick-pen-tool.html
https://helpx.adobe.com/illustrator/web/add-and-edit-artwork/draw-and-edit-paths/quick-pen-tool-keyboard-shortcuts.html

- A click sets the start point; each click, or a press dragged to where
  it is let go, adds a line, a continuous arc (it leaves the last point
  in the path's direction) or a sharp-corner arc, as the tool's action
  says. Each piece is one undo step.
- Alt (Option) pressed and let go on its own switches to the next
  action. C flips the last sharp-corner arc to the other side of its
  chord, and [ and ] make the arc size 15 degrees smaller or larger.
- A click on the first point closes the path, a click on an end of an
  open path continues it, and Escape or Enter ends it. An edit made to
  the path from outside the tool also ends it.
- path.quickPen {start | id, subpath?, keep?, pieces, closed?} draws
  the same path for agents and scripts. The action and arc size are
  kept with the preferences.

The 180 degree default arc size, its 15 degree steps, the side an arc
bulges to and Enter ending the path are VectorCraft's own rules.

Part of #2660 (reported by earlvanze). Not yet: the on-canvas toolbar,
dragging a path's ends to change its length, Ctrl+scroll for the arc
size, and editing and deleting with the tool.
2026-11-19 01:29:06 -08:00