Commit Graph
20420 Commits
Author SHA1 Message Date
dotCooCoo 01f1ffa4cb Quick Pen: choosing the tool again during a length drag keeps the drawing
Choosing Quick Pen while a length drag was under way cleared the drawing, so the next preview of the drag carried no path. The drawing is now cleared only when neither a press nor a length drag is active.
2026-11-19 18:11:43 -08:00
Dylan M. Taylor 54f58fff31 eps: cut over PostScript scanner (lex.rs) to craft-ps (#8793)
* eps: cut over PostScript scanner (lex.rs) to craft-ps

* chore: repin craft-ps to craft-libs main
2026-11-19 21:05:18 -05:00
dotCooCoo c609eb49af Live Paint: canceling restores the defaults after a later ordinary preview
An interaction that previewed a command with defaultsOnly: true keeps
putting the defaults it began with back on every later preview and on
cancel, also when the latest preview gives no defaultsOnly. docs/mcp.md
says that library.use keeps item as the library item.
2026-11-19 17:59:44 -08:00
dotCooCoo 3e8e29891e Retype: a long run after a split keeps its tracking fraction and its spaces
The tracking measured over the first glyphs of a rest is read as a whole number, or as none under one unit, only when the difference moves the last glyph of the rest by no more than the tolerance. A rest whose tracking gives a space a negative advance is measured whole, as one with a small advance is. The whole-rest measure takes the budget for every glyph it reads.
2026-11-19 17:43:38 -08:00
dotCooCoo 03d14f062d Merge main into feat/color-wheel-opacity 2026-11-19 17:22:23 -08:00
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 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 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
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 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
BFlat f11c8da760 Merge pull request #8746 from storytold/train/carry8494
Shapes: Circle Tool Options set what the Circle tool shows and where its anchors go (#8494)
2026-11-20 05:15:55 +07:00