Commit Graph
19258 Commits
Author SHA1 Message Date
ruchirguitar afbc788198 Layers panel: context menu on guide rows (Release Guide, Delete, Lock/Hide) 2026-11-19 02:43:28 +05:30
dotCooCoo 877ecb27f1 Merge main into feat/graph-designs-from-other-document 2026-11-18 13:11:26 -08:00
dotCooCoo 2c16bb4c67 Merge main into fix/pen-rubber-band-close-join 2026-11-18 13:11:07 -08:00
dotCooCoo 32d6efad9d Docs: name the selections that show the polygon side widget
The side widget shows only for exactly one whole live polygon that is visible, unlocked and not on a locked artboard, with none of its anchors or segments selected. The progress line now says so.
2026-11-18 13:10:56 -08:00
dotCooCoo f34f9e7bb8 Merge main into feat/recolor-edit-base-color-menus 2026-11-18 13:10:37 -08:00
dotCooCoo abdd32bdd1 Merge main into feat/symbolism-shift-gestures 2026-11-18 13:10:13 -08:00
dotCooCoo 80cc17da48 Merge main into feat/transform-show-on-shape-creation 2026-11-18 13:09:50 -08:00
dotCooCoo 70925d5753 Merge main into feat/swatches-add-selected-colors 2026-11-18 13:09:46 -08:00
dotCooCoo c0c2ed1aac Merge main into feat/palette-description 2026-11-18 13:09:31 -08:00
yoriswind a8041ce586 Separate the following ordinary gesture control from sampler setup 2026-11-18 12:53:20 -08:00
.CooCoo f2ffbe81d0 SVG import: a textPath finds the element its href names through an id map built once (#8160)
Each <textPath> with an href walked the whole document to find the element it names, so a file with many texts on paths took time proportional to the number of texts times the number of elements. The importer now builds a map of element ids at the first such lookup, keeping the first element in document order for each id, and looks each href up there. Files whose texts name no element do not build the map. The imported document is the same: a test compares the whole document and warnings with the per-id walk, including duplicate, missing and unusable ids.
2026-11-18 15:51:04 -05:00
dotCooCoo ca6871025a Merge main into feat/enclosing-shapes 2026-11-18 12:50:45 -08:00
yoriswind 0a389319d6 Return Selection tool activation errors to command callers 2026-11-18 12:47:35 -08:00
yoriswind f93a92a227 Test errors from a failed Selection tool toggle 2026-11-18 12:47:35 -08:00
yoriswind ab8d468ad1 Merge main while preserving configurable Selection tool switching 2026-11-18 12:47:35 -08:00
dotCooCoo 52e0508cbc Path Precision Tools: the bounding shapes are dimmed for a part of a symbol's art
Add Bounding Rectangle and Add Bounding Circle refuse a selected object
of a symbol instance's art, so they are now dimmed while one is selected,
as other commands that refuse it are.

- The circle keeps only the hull's corners while it reads a path's
  anchors too, so a path with very many anchors does not gather them all
  first.
- The convex hull treats -0.0 and 0.0 as one coordinate, so points on a
  vertical line at x = 0 give the line's two ends.
- docs/target-app-parity.md says that a curve is split into 1,024 pieces
  at most, and a piece that still bends counts by its control points.
2026-11-18 12:46:41 -08:00
yoriswind a0e6795946 Split sampler double-click scenarios into a focused helper 2026-11-18 12:39:58 -08:00
dotCooCoo 47acc31872 Dimension: Arrow Style offers every built-in stroke arrowhead
Arrow Style in Dimension Tool Options and in the Properties panel lists
Filled, Open, Tick and None, then the other 38 built-in Stroke panel
arrowheads, each with its drawn preview. The dimension line draws the
chosen head at both ends.

A dimension's options take a new arrowHead value: null, or a built-in
stroke arrowhead name as stroke.set takes it. The menu writes arrowStyle
filled with it, so versions that do not read arrowHead open such a
dimension with Filled arrows. Documents and tool settings saved before
open unchanged. Custom arrowheads and unknown names are refused.

Fixes #8049
Fixes #3222
2026-11-18 12:38:59 -08:00
dotCooCoo 734582bd81 Retype: the Retype panel lists the fonts that match outlined text
Window › Retype shows a panel that lists the fonts whose glyphs the
selected outlined text exactly matches. Find Matching Fonts lists ten,
ranked by how many shapes each matches and then by how closely, and
Find more font matches adds the next five from the same search. Each
row shows a sample in the font, at the size the panel menu sets (Small,
Medium, Large) and with the text typed in the panel. A click on a row
sets the font on the selected live type. Reset Retype Panel clears the
list.

- type.retypeFonts {count?} returns the ranked fonts without changing
  the document. It compares shapes with the glyphs of up to 96 loaded
  fonts, those of the document's live type first, by type.retype's
  matching. A shape counts once for each font it fits. Of two loaded
  versions of a font, only the version its name gives is compared.
- RetypeIndex::all_matches returns every fit of a shape, so fonts past
  the first 16 fits are ranked too.
- retype.find, retype.list, retype.preview and retype.reset drive the
  panel.
- Rows for the panel's labels and the commands' errors in every
  complete catalog. The Retype row also translates the Type › Retype
  menu item.

Docs: docs/mcp.md (Retype panel), docs/target-app-parity.md,
docs/ui-parity.md, docs/gaps.md, docs/type-parity.md.

Part of #4934. Builds on #8441.
2026-11-18 12:35:02 -08:00
dotCooCoo 38d9d45522 Merge branch 'fix/dimension-levels-linear' of github.com:dotCooCoo/vectorcraft into fix/dimension-levels-linear 2026-11-18 12:30:15 -08:00
dotCooCoo d515b1fb96 Dimension tool: the dimension reads stop at the 20,000-object limit
The walks that look for dimension ends and lines to snap to, and the
dimension lines a linear dimension lines up with, stop going through the
remaining layers and siblings once they have read 20,000 objects.
2026-11-18 12:30:12 -08:00
dotCooCoo cb3d274550 Fix #8568: a selection held by its edge lands that point on other paths
With Smart Guides on, a selection the Selection tool held by a point of
a path's edge (a press on its stroke, on its outline in Outline view, or
on the fill within 6 screen points of the edge) snapped that point only
to other anchors and centers, or lined its bounds up. It now also lands
on the other objects' paths ("path") and where paths and ruler guides
cross ("intersect"), as a selection grabbed by an anchor does since

On a straight path, the selection then slides along that path, the
point staying on it, until its bounds line up with other objects, are
spaced evenly with them or line up with a ruler guide. The slide goes
at most twice the Snapping Tolerance and not past the path's ends. On a
curved path and at a crossing the point lands as an anchor does, and
the bounds do not line up.
2026-11-18 12:29:10 -08:00
ruchirguitar 0858c0d516 Merge main into feat/5804-private-editor (#5804) 2026-11-19 01:46:48 +05:30
yoriswind 149cc16969 Format the cancelled sampler pointer-state binding 2026-11-18 12:16:00 -08:00
jayzed80 f64e61a986 Merge remote-tracking branch 'upstream/main' into HEAD
# Conflicts:
#	crates/doc/src/hit.rs
#	crates/tools/src/text.rs
2026-11-18 20:13:37 +00:00
yoriswind 42f69621a2 Keep a cancelled trace sampler press owned through release 2026-11-18 12:12:05 -08:00
el-j 33701e2321 Layers panel: add row context menus for guide and blend spine rows (#8592) 2026-11-18 20:58:54 +01:00
bflatastic 309333c1d5 tests: fix main after tonight's merges crossed
- The French script error line now has the catalog's no-break spaces before its colons.
- es.tsv drops the old file.info control character row a merge brought back.

(cherry picked from commit bb66ae9a87)
2026-11-18 11:58:48 -08:00
yoriswind 34b6637cb4 Merge main into the text-thread overlay selection fix
Preserve the reviewed selection filtering and include the upstream status-test and catalog corrections.
2026-11-18 11:58:47 -08:00
yoriswind 768edc48fe Test stale sampler double-click release ownership 2026-11-18 11:36:39 -08:00
yoriswind 2226777d00 Update image tracing sampling to the current target API 2026-11-18 11:26:06 -08:00
Dan Green 94a4a50a15 Panels: focus moving between the app's windows can make floating panels disappear
Clicking between app windows (floating panels and the canvas) passes through one frame where none of them has focus. The palette levels counted the app inactive on that frame and lowered every floating panel's OS window. The panels flickered, could end up disappearing behind the main window until the next repaint, and a click on one panel's bar could hand the keyboard to another.

The app now counts as inactive once none of its windows has had focus for  0.25 s, counted from the first frame that saw none. craft-ui's docking waits as long.
Fixes #6986
2026-11-18 11:03:56 -08:00
BFlat e34bf8c82f Merge pull request #8601 from storytold/fix/main-tests-after-merges
tests: fix two main test failures from crossed merges
2026-11-19 01:53:26 +07:00
bflatastic bb66ae9a87 tests: fix main after tonight's merges crossed
- The French script error line now has the catalog's no-break spaces before its colons.
- es.tsv drops the old file.info control character row a merge brought back.
2026-11-19 01:47:51 +07:00
yoriswind 65351f9f6c 7234: resolve main conflicts preserving contribution 2026-11-18 10:47:18 -08:00
dotCooCoo 667886c260 Merge main into fix/point-tangents-same-lines-test 2026-11-18 10:45:18 -08:00
dotCooCoo 9d16998435 Merge main into fix/dimension-levels-linear 2026-11-18 10:41:39 -08:00
dotCooCoo a877d4bef7 Merge main into fix/classic-overprint-separations 2026-11-18 10:41:33 -08:00
dotCooCoo 87fcec7fcc Merge main into feat/width-point-edit-all-selected 2026-11-18 10:41:24 -08:00
BFlat be2e4afa67 Merge pull request #8600 from storytold/fix/catalog-duplicate-rows
i18n: fix main's catalog test (duplicate Gujarati Panel row)
2026-11-19 01:40:00 +07:00
bflatastic b41254d05b i18n: drop the Gujarati Panel row two merges both added
Two PRs merged tonight each added the same row, so bundled_catalogs_are_consistent fails on main
(gu: duplicate "" "Panel"). Both rows have the same translation.
2026-11-19 01:39:31 +07:00
dotCooCoo c63d611b45 Merge main into fix/export3d-revolve-side-graphics 2026-11-18 10:38:03 -08:00
dotCooCoo 0720312bba Merge main into feat/prefs-descriptions-appearance-of-black 2026-11-18 10:37:58 -08:00
dotCooCoo d8118de334 Merge main into feat/prefs-descriptions-clipboard 2026-11-18 10:37:42 -08:00
dotCooCoo c025b4e8ff Merge main into feat/reflect-tool-two-click-axis 2026-11-18 10:34:17 -08:00
dotCooCoo 234bc87341 Merge main into feat/transform-rect-ellipse-angle 2026-11-18 10:34:09 -08:00
yoriswind 9455062fd1 8068: preserve image trace sampling alongside current mesh options 2026-11-18 10:30:49 -08:00
dotCooCoo 3c26aadcc4 Merge main into feat/swatches-color-group-options 2026-11-18 10:30:36 -08:00
dotCooCoo 275dff5d31 Merge main into feat/arc-by-points 2026-11-18 10:30:34 -08:00
dotCooCoo 7dd0f0c4e9 Merge main into perf/appearance-written-set 2026-11-18 10:30:27 -08:00