Commit Graph
25590 Commits
Author SHA1 Message Date
.CooCoo a7ee8aeec4 Merge pull request #10772 from dotCooCoo/fix/font-catalog-bundled-lazy
Fonts: add the bundled fonts to the font catalog on its first read
2026-12-03 12:37:10 -08:00
.CooCoo dec8be341e Merge pull request #10731 from dotCooCoo/fix/blend-round-corners
Blend: steps between rounded rectangles keep round corners
2026-12-03 12:24:18 -08:00
.CooCoo 90c2216f36 Merge pull request #10768 from dotCooCoo/fix/eps-budget-test-cheaper
EPS import: test the measuring budget with 4 MiB of data instead of 300 MiB
2026-12-03 12:13:07 -08:00
.CooCoo 5b163436be Merge pull request #10763 from dotCooCoo/fix/drops-ignore-hidden-palettes
Panels: hidden or minimized palette windows no longer block canvas drops
2026-12-03 12:08:26 -08:00
.CooCoo 7d5f0ee29f Merge pull request #10761 from dotCooCoo/fix/pathfinder-too-many-pieces-test
Tests: Divide refuses cutting lines past the segment cap
2026-12-03 12:01:23 -08:00
.CooCoo f45c39472a Merge pull request #10753 from dotCooCoo/fix/desktop-links-open
Links: clicking a link on desktop opens it in the browser again
2026-12-03 11:45:06 -08:00
.CooCoo 004910a871 Merge pull request #10755 from dotCooCoo/fix/eps-skip-test-cheaper
EPS import: test the skipping of oversized image data under a 1 MiB limit
2026-12-03 11:37:52 -08:00
.CooCoo 64a7515fea Merge pull request #9147 from dotCooCoo/feat/scripts-scriptui-palettes
Scripts: ScriptUI palettes stay open after the run and run their handlers in line
2026-12-03 11:24:20 -08:00
.CooCoo 7fcf5f33e4 Merge pull request #10735 from dotCooCoo/feat/curvature-comb
View: Curvature Comb overlay on selected paths (Fixes #10659)
2026-12-03 10:46:43 -08:00
.CooCoo 6ec7bdd244 Merge pull request #10696 from dotCooCoo/fix/global-edit-stale-points
Scripts: path points of other Global Edit members go stale when Global Edit changes them
2026-12-03 10:46:39 -08:00
dotCooCoo 5548b83291 Merge main into fix/font-catalog-bundled-lazy 2026-12-03 10:44:28 -08:00
dotCooCoo a244590e8b Fonts: add the bundled fonts to the font catalog on its first read
FontDb::new copied every bundled and craft-fonts font into the font
catalog with add_bytes, which keeps its own copy of the bytes. A CLI run
that exports a small SVG peaked at about 130 MiB, against about 26 MiB
in 0.24.1.

The database now adds the bundled fonts the first time
FontDb::catalog is called, and its own catalog lookups go through that
call. A run that never looks a font up in the catalog does not copy
them: exporting a 10 x 10 SVG with vectorcraft-cli on Linux peaks at
42 MiB instead of 130 MiB, with the same PNG. The workaround can go once
the catalog takes static bytes without copying them (craft-libs#4888).

Part of #10666
2026-12-03 10:44:28 -08:00
dotCooCoo f039f4ad46 EPS import: test the measuring budget with 4 MiB of data instead of 300 MiB
measuring_data_too_large_to_hold_in_a_loop_runs_out_of_the_budget deflated
and measured 300 MiB of zeros against the 50,000,000-operation budget, and
took about 3.9 s. It now runs with the reader limited to 1 MiB
(with_data_limit), zeros that decompress to 4 MiB, and a budget of 524,288
operations for a file whatever its length (with_ops_limit, a test-only seam
for MAX_OPS like with_data_limit). It still checks that the data is
measured in full more than once and at most five times, and runs in about
0.09 s.

read_counting now reads on its thread with the calling thread's data and
operation limits, so tests that use it can lower them.
2026-12-03 10:41:14 -08:00
.CooCoo de5157cf88 Merge pull request #10729 from dotCooCoo/fix/issue-10639
Color Picker: the canvas stays undimmed while the picker and preview dialogs are open
2026-12-03 10:14:03 -08:00
dotCooCoo c976e47115 Panels: hidden or minimized palette windows no longer block canvas drops
A floating panel's OS window counted as covering the canvas even while it
was minimized, or hidden because a dialog or popup was open. Art dragged
onto the canvas and released over the spot where such a window sat was
refused, and the tools treated the pointer there as covered.

os_window_at now skips windows the OS reports minimized, and reports no
cover while a dialog or popup is open. This works around
storytold/craft-libs#4739; the checks are removed when the craft-libs pin
includes that change.
2026-12-03 10:09:29 -08:00
dotCooCoo db1d346bc4 Tests: Divide refuses cutting lines past the segment cap
A square and an unfilled zigzag with one segment more than the planar
map's cap: Divide returns the "select fewer paths" error and leaves the
document and the undo history unchanged. With the check replaced by the
unchecked Divide, the test fails because Divide returns the square uncut.
2026-12-03 09:56:28 -08:00
dotCooCoo 6ba1e6cc23 EPS import: test the skipping of oversized image data under a 1 MiB limit
the_data_of_an_image_too_large_to_hold_is_skipped built 300 MiB of zeros
and Flate- and LZW-encoded each of them to get past the reader's 256 MiB
data limit, and took about 8.7 s.

Tests can now lower the limit on their own thread with
`with_data_limit`; shipped builds keep the 256 MiB constant. The test
runs under a 1 MiB limit with 2 MiB of data per filter, and checks that
the Flate and LZW data is measured in full, so it fails when the lower
limit does not take effect. It now takes about 0.14 s.
2026-12-03 09:46:51 -08:00
dotCooCoo 7cba3b786d Links: clicking a link on desktop opens it in the browser again
The desktop app sends every link it opens (Help menu community links, the
app bar's Discord button, Home's Community links, About and credits, help
links in dialogs, the updater's Open URL, an object's URL attribute) as
egui's OpenUrl output. The app built eframe without its `links` feature, so
egui-winit only logged "Cannot open url - feature \"links\" not enabled." and
nothing opened.

Turn on eframe's `links` feature in apps/vectorcraft. Cargo.lock adds
webbrowser 1.2.8. The web build does not use egui-winit and is unchanged.
The feature can be removed once the craft-libs pin includes
storytold/craft-libs#5083, which opens links in the shared app setup.
2026-12-03 09:36:33 -08:00
dotCooCoo c4a737f255 Merge main into feat/scripts-scriptui-palettes 2026-12-03 09:29:28 -08:00
dotCooCoo c1efe27ff7 Merge main into fix/blend-round-corners 2026-12-03 09:09:26 -08:00
dotCooCoo b09940b6a6 Docs: blend steps take the keys' drawn radii, positions on a straight spine
Steps between live rectangles interpolate each key's radius after it is
fitted to its sides, not the stored radius. Their positions lie between
the keys' only on a straight spine; on an edited or replaced spine each
step sits on the spine.
2026-12-03 09:09:20 -08:00
.CooCoo 3055e36ad5 Merge pull request #10736 from dotCooCoo/fix/rounded-bevel-cap-triangulation
3D: large caps are cut into triangles without testing every corner per ear
2026-12-03 09:08:22 -08:00
.CooCoo 4cf5678434 Merge pull request #10737 from dotCooCoo/fix/xtask-check-line-endings
xtask: ui-commands --check passes in a checkout with core.autocrlf
2026-12-03 09:07:06 -08:00
dotCooCoo c618b9b22c View: Curvature Comb does not close across segments a capped comb skips
When a long subpath has more segments than the tooth budget, only every
k-th segment gets teeth. comb_closes compared only the first and last
tooth positions, so a last sampled segment that ended on the first anchor
joined its tip to the first tooth across the skipped closing segment.

Each tooth now records its segment, and the comb closes only when the
segments between the last tooth and the first across the seam have no
length.
2026-12-03 09:02:42 -08:00
dotCooCoo 5ff65970f9 Merge main into fix/global-edit-stale-points 2026-12-03 08:56:53 -08:00
.CooCoo abe50250fa Merge pull request #10728 from dotCooCoo/fix/artboard-name-edit-target
Artboards: an unentered name stays with its artboard
2026-12-03 08:49:36 -08:00
.CooCoo c55947d2c1 Merge pull request #10727 from dotCooCoo/fix/cli-export-size
CLI: convert and run --export take --width, --height and --background
2026-12-03 08:49:20 -08:00
.CooCoo e8aa48f1fa Merge pull request #10715 from dotCooCoo/fix/gradient-stop-draft-follows-stop
Gradient: an unfinished field value stays with the stop, point or gradient it was typed for
2026-12-03 08:49:03 -08:00
.CooCoo d91cf654b3 Merge pull request #10699 from dotCooCoo/fix/script-point-undo-selection
Scripts: undoing a point write selects the anchors it dropped again
2026-12-03 08:48:47 -08:00
.CooCoo dc8a26be02 Merge pull request #10695 from dotCooCoo/fix/hyphenation-dialog-zone-gate
Hyphenation: the dialog disables the options that do not apply to the paragraphs
2026-12-03 08:48:30 -08:00
.CooCoo 9a2a06a136 Merge pull request #10693 from dotCooCoo/chore/script-dom-coverage
Tests: cover script DOM range checks, PrintOptions groups and evalFile refusals
2026-12-03 08:48:14 -08:00
.CooCoo e6ef622acb Merge pull request #10688 from dotCooCoo/fix/eps-embedded-font-tests
EPS import: tests for Type 1 encrypted-part lexing and CIDFont metrics, glyph directories and data limit
2026-12-03 08:47:58 -08:00
.CooCoo 70c734d72a Merge pull request #10687 from dotCooCoo/fix/coverage-recolor-theme-legends
Tests: cover the theme picker's masks and blends, and pie legend contrast past the wedge limit
2026-12-03 08:47:42 -08:00
.CooCoo dbacda04ee Merge pull request #10698 from dotCooCoo/fix/script-text-spot-color
Scripts: a text color assigned in a CMYK document is compared as the document stores it
2026-12-03 08:47:10 -08:00
.CooCoo 71feb45ef1 Merge pull request #10745 from dotCooCoo/fix/main-see-all-points-result
Main: removeAll on a clipping path passes on a stale-point error
2026-12-03 08:46:49 -08:00
dotCooCoo a857b49af4 Main: removeAll on a clipping path passes on a stale-point error
#10682 made paths::see_all_points return a Result; d22384d6 had added a call in the mask-release path of removeAll that ignored it, so clippy -D warnings fails on main. The call now passes the error on with ?, as the other three callers do.
2026-12-03 08:46:32 -08:00
.CooCoo 989d4512e7 Merge pull request #10683 from dotCooCoo/test/coverage-gaps-engine-file-limits
Tests: cover the script gate's checked writes and three file-size limits
2026-12-03 08:22:49 -08:00
.CooCoo fff1c92179 Merge pull request #10682 from dotCooCoo/fix/script-point-scan-charged
Scripts: the look for changed path points after each command is charged
2026-12-03 08:22:32 -08:00
.CooCoo 554c0ab1c2 Merge pull request #10681 from dotCooCoo/fix/eps-interpreter-coverage
EPS import: tests for LZW data, skipped image data, save limits and cvs text
2026-12-03 08:22:15 -08:00
.CooCoo 04330419a0 Merge pull request #10679 from dotCooCoo/chore/geom-coverage-batch-18
Tests: cover geom arc, straightness, quad length and anchor table checks
2026-12-03 08:21:59 -08:00
.CooCoo 61ac3d5d57 Merge pull request #10647 from dotCooCoo/fix/raster-400-worker
Canvas: pans at high zoom keep the paths the canvas drew while waiting for the worker
2026-12-03 08:21:40 -08:00
BFlat b8e3576f17 Merge pull request #10558 from ruchirguitar/plate-row-menu
Separations Preview: add a context menu to ink plate rows
2026-12-03 23:15:43 +07:00
BFlat ceb282a6b8 Merge pull request #10561 from ruchirguitar/cleanup-row-menu
Artwork Cleanup: offer actions on scan results
2026-12-03 23:15:23 +07:00
BFlat e4dbbe9521 Merge pull request #10562 from ruchirguitar/codex/fold-finding-menu
Packaging: add a row menu to Fold Lines findings
2026-12-03 23:14:33 +07:00
BFlat 9daf4163eb Merge pull request #10568 from ruchirguitar/fix/web-served-fonts
Web: the site publishes the interface's served fonts under fonts/ui/
2026-12-03 23:14:15 +07:00
BFlat 9f781011b3 Merge pull request #10604 from ruchirguitar/feat/4602-canvas-menu-icons
Canvas context menu: common rows show an icon
2026-12-03 23:13:38 +07:00
dotCooCoo 80e8c74d55 View: Curvature Comb breaks at a cusp on an anchor
The direction of the last curved tooth now carries from one segment to
the next, so a cusp where two curved segments meet starts a new line
through the tips. It is cleared wherever a tooth is left out, on a
line and between strided segments.

A closed comb now closes at its first anchor when the curve goes on
there without turning back (comb_closes), instead of only when the
comb has no break at all, so a cusp elsewhere does not open the join.
2026-12-03 07:57:29 -08:00
dotCooCoo 96e3535c45 Merge main into fix/global-edit-stale-points 2026-12-03 07:45:26 -08:00
.CooCoo f1c39395eb Merge pull request #10677 from dotCooCoo/chore/coverage-gaps-batch3-path-select
Tests: path joins, Pathfinder refusals and unknown selection modes
2026-12-03 07:37:19 -08:00
.CooCoo 557a98c866 Merge pull request #10672 from dotCooCoo/fix/format-write-and-unpack-budget-tests
Tests: checked saves keep the original, compressed files capped on both paths
2026-12-03 07:37:03 -08:00