Commit Graph
21720 Commits
Author SHA1 Message Date
dotCooCoo 946c80f9e1 Merge main into fix/value-fields-arithmetic 2026-11-19 17:22:16 -08:00
dotCooCoo 88e3575a1e Quick Pen: a length drag ends where the pointer is let go and ignores outside edits and piece keys
The end handle's drag now applies the release position before it ends, so a press let go
away from the handle without a drag event still changes the length. An edit made outside
the tool during the press ends the drag, so a later preview does not overwrite it. C and
[ ] do nothing until the drag ends. A selected compound path shows the length handles of
the paths it holds, and path.quickPenLength checks its result against the same canvas rule
as the drag.
2026-11-19 17:22:09 -08:00
dotCooCoo 2d3be0f514 Pen: Quick Pen drags move a selected path's anchors and segments, and its context menu deletes
With no path being drawn, the Quick Pen tool edits the selected paths, as the
help page describes ("Drag the anchor points or the path to edit the object",
and right-click Delete to remove a path):

- A drag on an anchor moves it, and a drag that starts on one of several
  selected anchors moves them all; a drag on a segment moves its two ends.
  The tool selects what it moves (select.anchors or select.segments) and
  sends path.moveAnchors with interpolate, one undo step per drag, so a
  segment with one moved end is turned and scaled to its new ends: a line
  stays a line and an arc an arc of the same angle. A dragged anchor snaps
  to Smart Guides. Escape during the drag takes it back.
- A click on an anchor selects it alone, and Shift-click adds it to the
  selected anchors or takes it out. A click on an open end still goes on
  drawing from it (with the path selected whole again), a drag there moves
  the end, and a click on a segment starts a new path.
- With the Quick Pen chosen, the canvas context menu has Delete
  (edit.clear), which removes the selected anchors or objects.

The cursor shows what a press does over an anchor, a selected anchor, an
open end or a segment. While a path is being drawn, a press adds a piece as
before. Which presses select and which move, and the drag snapping only an
anchor, are VectorCraft's own rules.

Docs: docs/mcp.md, ROADMAP, docs/target-app-parity.md, docs/ui-parity.md,
crates/tools/src/cursors.toml.

https://helpx.adobe.com/illustrator/web/add-and-edit-artwork/draw-and-edit-paths/draw-with-quick-pen-tool.html
2026-11-19 17:19:01 -08:00
dotCooCoo 83d84dedca Color Wheel: the checked Harmony Rule item runs no command
Clicking the rule that is already set ran ui.colorWheel and counted as a
command. It now does nothing, as the checked view and channel items do.
2026-11-19 17:14:51 -08:00
dotCooCoo 99781bb329 Links: Relink and folder Unembed no longer refuse a distorted image
The refusals that ran before the files were read and before a folder was
written stopped Relink and the folder form of Unembed on an image changed
by Perspective Distort or Free Distort, which now keep their corners.
2026-11-19 17:10:00 -08:00
dotCooCoo fe7d225d6f Retype: a contour reaching outside a concave one is no counter of it, and a rejected split gives way to another
A contour counts as lying inside another only when up to eight of its anchor points do. When the paint check rejects the split with the longest runs, the split with the shortest runs is tried before the shape stays an outline.
2026-11-19 17:07:50 -08:00
dotCooCoo b8c39c5f92 Merge main into feat/color-wheel-contrast 2026-11-19 17:06:46 -08:00
dotCooCoo ae34cc3e77 Color Wheel: Show Out-of-Gamut Colors runs through the panel menu's command helper
The item called the command function directly, so it skipped the app's
command entry point and an error went unreported. It now uses the same
helper as the other panel menu items. The menu test checks that one
command runs.
2026-11-19 17:00:33 -08:00
dotCooCoo 9175afffe0 Merge main into feat/circle-from-center 2026-11-19 16:57:58 -08:00
dotCooCoo 3f8e4b1fdc Merge main into feat/distorted-image-commands 2026-11-19 16:54:09 -08:00
dotCooCoo c3c2b0294e Fields: Tsume reads a percent sign like the other percent fields
The Tsume field in Advanced Character Formats shows a % beside it but
read its text as a unitless number, so 25% and 50%/2 were rejected with
"Tsume must be a number". It now takes the percent field dispatch; the
0 to 100 clamp still applies.
2026-11-19 16:41:48 -08:00
dotCooCoo 089ab75553 Merge main into feat/color-wheel-opacity 2026-11-19 16:41:40 -08:00
dotCooCoo 8158107e82 Retype: a counter too narrow in any direction, or an outline too large to probe, keeps the shape an outline
The fill check rejects a counter whose convex hull is narrower than three times the outline tolerance in some direction, so a turned strip is caught as well as an upright one, and rejects a shape whose outline is too large to flatten. Exact parts of a split compound are checked at tolerance 0 even when near matches are allowed, so a split that only exact matching found is not accepted under the wider tolerance. The tracking sentence in docs/type-parity.md names its three-glyph condition.
2026-11-19 16:40:10 -08:00
BFlat 7a519eea68 Merge pull request #8787 from dotCooCoo/fix/retype-skip-prohibited-tracking
Retype: a tracking that translucent glyphs cannot take no longer drops the tracked prefix already found
2026-11-20 07:37:24 +07:00
dotCooCoo 4aa133a285 Merge main into feat/color-wheel-contrast 2026-11-19 16:36:02 -08:00
dotCooCoo 426ea94268 Live Paint: bucket paint commands replay from the journal with any tool
While the Live Paint Bucket is active, a paint or stroke command that names
no objects changes only the colors the bucket paints with. The journal
recorded the params as given, and the active tool is not journaled, so a
replay with the Selection tool active painted the selection instead.

The paint and stroke commands now take defaultsOnly: true, which keeps a
command without ids, id or item to the defaults with any tool active. When
the bucket routed a command, its journal entry notes defaultsOnly: true,
also when the params gave false. library.use (a color, gradient or pattern)
and swatch.library.add with apply note it too and pass it to the commands
they run.

- defaultsOnly is a bool. It is refused with ids, id or item, and in
  stroke.setAdvanced with brush.
- With New Art Has Basic Appearance off, new-art inheritance does not
  replace the defaults after such a command, unless a later step of a batch
  selects another first object or changes its appearance.
- A preview with defaultsOnly: true, and the one after it, starts from the
  defaults the interaction began with, and a cancel puts them back.
- paint.sampleColor with a stop and defaultsOnly reads the default's
  gradient.

Test: live_paint_bucket_commands_replay_from_the_journal_with_another_tool
(engine). Docs: docs/mcp.md, the Live Paint Bucket paragraph; params text
of each command.
2026-11-19 16:35:59 -08:00
dotCooCoo ff5071c93d Color Wheel: Show Opacity edge cases in the opacity commands and the row
- paint.setFill and paint.setStroke give a graph's series marks and axis lines the opacity they write even when the object already shows it, so another mark's kept opacity no longer comes back after the graph is drawn again.
- The proxies answer no opacity whenever the Live Paint Bucket paints, which includes a Cmd+click and an Eyedropper pick armed for it.
- A swatch that is not a name is an error with an opacity instead of an opacity alone.
- Hiding the Show Opacity row, or the row turning gray, during a drag keeps the previewed opacity as one undo step and ends the interaction.
- The help text and docs/mcp.md name the picked mesh points case, the grayscale image colorize exception and the New Art Has Basic Appearance off case.
2026-11-19 16:31:57 -08:00
dotCooCoo 0cb9626d42 Merge main into feat/color-wheel-oklch-sliders-v2 2026-11-19 16:20:20 -08:00
BFlat e34c9198dd Merge pull request #8757 from Hassan1305/fix-8711-layers-target-ring
Layers: keep the targeted ring visible around the appearance dot (#8711)
2026-11-20 07:16:03 +07:00
BFlat b9227b0b7c Merge pull request #8756 from storytold/train/carry8336
Symbols: Add original Nature Icons library (#8336)
2026-11-20 07:10:55 +07:00
BFlat 6dd1363d75 Merge pull request #8784 from storytold/cutover/eps-shared-epsi
refactor(eps): delegate EPSI preview decoding to craft-eps
2026-11-20 07:10:30 +07:00
dotCooCoo 2b21c1248f Fields: number fields outside the shared widgets read field arithmetic
The Contour bar's distance, Graph Data's Number of Decimals and Column
Width, Map Art's surface number, the Keyboard Shortcuts dialog's Hold
Shortcut Delay, the unitless values of the 3D effect dialogs and the
number fields of Character Style Options read typed text with their own
readers, so `4x3` or `1+2` were not read in most of them. They now read
it with the shared field arithmetic. The Contour bar's distance and
Character Style Options' length fields also read a unit (`2 mm`).
Warichu Settings' Lines and Scale read text given through
`ui.dialog.set` the same way.

These fields take `%` and `°` only where they show them, and none of
them reads an exponent (`1e3`) or a space inside a number (`1 000`).

In the shared unitless fields, a unit suffix, `%` or `°` between two
digits is now refused: `1%2` read as 12. The Stroke panel's Limit reads
`2x3` as 6 instead of 23.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-19 16:06:04 -08:00
BFlat 5efe19e7c5 Merge pull request #8782 from storytold/train/carry8001
Fill Area: a click adds a path of the enclosed area and keeps the paths around it (#8001)
2026-11-20 07:00:48 +07:00
bflatastic b95ff44c06 Merge main into #8336
# 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
2026-11-20 06:59:22 +07:00
dotCooCoo 1f5cee040e Retype: a long evenly tracked run after irregular gaps keeps its tracking
After a split, the tracking of the rest of the line was measured over the
whole rest, and each measure took six times the rest's glyphs from a shared
budget. A few irregular gaps early in a long line used that budget up, so
the evenly tracked run after them was not measured and split into
single-glyph objects.

The tracking of the rest is now measured from its first 32 glyphs, and the
glyphs after them follow at that tracking, so each split costs the same
however long the rest is. When the tracking leaves a space under half its
advance, the whole rest is still measured while the budget lasts, since
only the kerning a space breaks shows where such spaces are.
2026-11-19 15:48:39 -08:00
dotCooCoo bcc8bcf6cc Quick Pen: a length drag measures the curve against the canvas, not its handles
A cubic earlier in the path whose handle lies past the canvas while the curve stays on it no
longer blocks every length drag at the end of the path.
2026-11-19 15:37:10 -08:00
dotCooCoo c7de4acabf Merge main into feat/packaging-fold-angle 2026-11-19 15:35:38 -08:00
dotCooCoo 2ab519a630 Packaging Tools: a crease, partial cut or perforation can fold at its own angle
Set Fold Angle… (Object › Plug-ins › Packaging Tools) gives the selected
fold lines their own fold angle, from -180° to 180°, in place of their
role's 90° away from or toward the print, to the millionth of a degree;
reset: true takes it away. The angle is kept in the line's data under
vc-fold-angle, which native files and SVG with Preserve Editing keep and
plain SVG export leaves out of the path's attributes. A line keeps its
angle when it is given another role. The Fold Lines panel shows a Fold
Angle field for the selected lines it can change, empty when they
differ, and a Reset button.

- addon.packaging.setFoldAngle is one undo step, none when nothing
  changes, and is dimmed while the selection holds no Crease, Partial Cut
  or Perforation line that is neither locked nor hidden. An angle stored
  as other text for the same number counts as unchanged.
- addon.packaging.roles also returns foldLines, foldAngle, ownAngles and
  storedAngles for the lines Set Fold Angle can change, which are none
  while nothing is selected.
- A hinge folds at the angle of the line with the most length in it,
  counting a line the planar map splits into pieces whole and a line's
  subpaths on top of each other once; among lines of equal length the
  lowest id wins, in any line order. Before, it took the role of its
  longest piece, so a hinge whose lines have different roles can now
  fold the other way when a split line is the longer one.
- Fold Preview: a panel folded flat onto another (180°) is drawn behind
  that panel's printed side, and at -180° in front of it; a flap folded
  back over a folded panel lies between it and the panel before; a 0°
  hinge keeps its panel level with its parent. Panels in one plane keep
  their order when the panels they fold from are seen edge on, and a
  panel that comes round onto another's plane lies on the side it came
  from. Only panels in one plane stack by these rules; panels in
  different planes go by depth, so folds a hair short of flat stay in
  order wherever the blank lies in the document. The stack is worked out
  from the blank's largest panel whichever panel the window folds about,
  so a double-click on another panel moves the blank without changing
  which panel shows. Panels that 90° folds bring into one plane, such as
  a carton's closing flaps, now stack by these rules too.
- Set Fold Angle…'s dialog keeps the angle within -180° to 180° as it is
  typed, as the panel's field does. Both show every decimal place the
  angle has. ui.menuDialog opens the dialog for
  addon.packaging.setFoldAngle, and gives the command's reason while
  the selection holds no line it can change.
- Set Fold Angle skips a locked or hidden path of a compound path that is
  named by id or selected without its compound. addon.packaging.setRole
  (Make Cut Line and the other Make ... Line items) now skips it too;
  before, it changed the whole compound.
- Folding: a hinge whose middle falls in a cutout turns its panel by the
  side its parent lies on next to the hinge's own pieces, not by a point
  anywhere inside the parent, which folded a panel the wrong way when
  the parent also ran on past the hinge.

Docs: docs/mcp.md (Fold angles), ROADMAP.
2026-11-19 15:33:43 -08:00
dotCooCoo c55515ed41 Merge main into feat/color-wheel-opacity 2026-11-19 15:29:06 -08:00
ncic ef84260edb Merge remote-tracking branch 'upstream/main' into pencil-redraw-extend
# Conflicts:
#	crates/engine/src/cmd/draw2/commands.rs
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-20 00:24:54 +01:00
BFlat 9d0ae305d6 Merge pull request #8730 from storytold/train/carry8383
Brushes: Add original Ornamental library (#8383)
2026-11-20 06:22:11 +07:00
BFlat 78d135c38d Merge pull request #8786 from dotCooCoo/fix/dock-monitor-work-area
Panels: give floating panels and the restored window each monitor's work area
2026-11-20 06:15:40 +07:00
dotCooCoo 853c85ae4f Merge main into feat/quick-pen-length-handles 2026-11-19 15:15:26 -08:00
BFlat 10159277c3 Merge pull request #8731 from storytold/cutover/jpeg-icc-replace
doc: delegate JPEG ICC replacement to craft-image-codecs
2026-11-20 06:15:24 +07:00
BFlat 45f4050b2f Merge pull request #8790 from storytold/train/carry8741
3D and Materials: graphics map onto Inflate objects (#7767) (#8741)
2026-11-20 06:08:13 +07:00
bflatastic aa853ad275 Merge main into #8741
# Conflicts:
#	docs/effects-parity.md
#	docs/three-d.md
2026-11-20 06:07:45 +07:00
bflatastic 007ebaa36d Merge the earlier #8001 carry (superseded by this resolution) 2026-11-20 05:57:03 +07:00
HassanKhan c5a6971dfb Merge storytold/main (d38e414b77) into fix-8711-layers-target-ring
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-20 03:56:17 +05:00
bflatastic 0810ac5b87 Merge remote-tracking branch 'origin/main' into fix/8001
# Conflicts:
#	crates/mcp/src/ui_catalog.rs
#	crates/ui-egui/src/menus/ui_commands.rs
#	docs/roadmap.md
2026-11-20 05:47:07 +07:00
BFlat d38e414b77 Merge pull request #8765 from dotCooCoo/fix/live-paint-group-review-gaps
Live Paint: the Eyedropper, overprint, proxies and contents edits follow the whole-group rule
2026-11-20 05:46:01 +07:00
BFlat b366dad386 Merge pull request #8789 from storytold/train/carry8763
Quick Pen: on-canvas toolbar with its actions, Flip Arc and More menu (#8763)
2026-11-20 05:45:42 +07:00
bflatastic 864ef2f200 Merge main into #8763
# Conflicts:
#	docs/target-app-parity.md
2026-11-20 05:45:14 +07:00
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
Dylan M. Taylor 7c81cd7df8 eps: document and test shared EPSI preview compatibility 2026-11-19 17:42:11 -05:00
BFlat 4df756cc9a Merge pull request #8719 from Hassan1305/feat-8363-trim-view-guides
View: Trim View hides the guides and the grid while it is on (#8363)
2026-11-20 05:38:32 +07:00
BFlat fe8bcec1e4 Merge pull request #8716 from storytold/train/carry7112
Image Trace: Edit › Tracing Presets… manages, imports and exports tracing presets (#7112)
2026-11-20 05:38:06 +07:00
BFlat 684b1bf48d Merge pull request #7641 from dotCooCoo/feat/color-wheel-document-colors
Color Wheel: Show Document Colors lists the colors the art uses
2026-11-20 05:32:27 +07:00
BFlat 9a63cf2d1d Merge pull request #8769 from dotCooCoo/fix/quick-pen-followups
Pen: Quick Pen drags end where let go and keep outside edits
2026-11-20 05:26:53 +07:00
BFlat d2cecc63df Merge pull request #8754 from storytold/train/carry8729
HP-GL Options: OK writes nothing after another document became active (#8729)
2026-11-20 05:25:21 +07:00
dotCooCoo 654cb008c8 Merge main into feat/retype-near-matches 2026-11-19 14:18:05 -08:00