Commit Graph
17545 Commits
Author SHA1 Message Date
dotCooCoo c609e56b87 Dimension: no preview bounds corners for guides or compound members
- A path made into a guide draws without its strokes or effects, so its
  preview bounds give no corners.
- The members of a compound path draw with the compound path's own
  appearance, so only the compound path's preview bounds give corners.
- Another path's anchor right on a preview bounds corner takes a click
  on the anchor that corner stands in for, so the point links to that
  path.
- A corner that its path cannot hold a point at, as on a stroked dot
  whose anchors all coincide, is not snapped to, so a click by the dot
  picks its anchor.
- The pointer test before measuring a path includes the right and
  bottom edges, as the 8 pixel distance test does.

Docs: docs/dimensions.md and docs/target-app-parity.md name paths made
into guides and compound path members among the art without corners.
2026-11-18 07:33:20 -08:00
dotCooCoo 6cd6d22167 Merge main into fix/print-overprint-gradient-zero-stops 2026-11-18 07:33:08 -08:00
dotCooCoo 2499661541 Merge main into feat/layers-locate-frontmost 2026-11-18 07:33:00 -08:00
dotCooCoo 158c8f0909 Merge main into feat/arrows-brush-library 2026-11-18 07:31:23 -08:00
dotCooCoo 34ec4ab745 Merge main into feat/object-mosaic-dialog 2026-11-18 07:31:04 -08:00
dotCooCoo 10123bd29e Merge main into feat/swatches-drag-to-new 2026-11-18 07:29:53 -08:00
dotCooCoo 97897fa1fc Merge main into feat/palette-synonyms 2026-11-18 07:27:58 -08:00
dotCooCoo 85a410b08c Merge main into fix/transform-null-args 2026-11-18 07:25:53 -08:00
Dylan M. Taylor 9de706507c Merge pull request #8579 from storytold/codex/vector-xml-strict
Use shared strict XML attribute validation
2026-11-18 10:10:03 -05:00
dotCooCoo 5b58497e72 Merge main into fix/issue-8537 2026-11-18 07:09:23 -08:00
ruchirguitar 4c44f3c66c Merge remote-tracking branch 'upstream/main' into feat/4934-retype
# Conflicts:
#	crates/text/src/fontdb/lookup.rs
2026-11-18 20:38:09 +05:30
dotCooCoo 62c015d393 Dimension: a preview bounds corner takes only the anchor it stands for
A corner of a path's preview bounds took a Linear pick from every anchor
of its own object within 8 pixels, so the top, left, right and bottom
anchors of a small stroked circle, and the anchors of a rotated stroked
shape when zoomed out, could no longer be picked.

- The corner now takes the pick only from the holding path's anchor at
  the same corner of the object's geometric bounds. Any other anchor,
  of that object or of other art, that is nearer the pointer takes the
  point, and the nearest anchor wins a tie as the topmost.
- The path that holds a point picked on a corner is kept from the pick,
  instead of being worked out again from the point's position, so a
  point that only happens to lie on a corner links to what is under it.
  A path deleted between the clicks holds nothing.
- A corner of a compound path whose supplying member is hidden or
  locked is not snapped to.
- The hovering test checks the "anchor" label at the corner, and a new
  test covers the anchor ring right on the end of a dimension's line.

Docs: docs/dimensions.md and docs/target-app-parity.md say that only the
four corners are snapped to, by VectorCraft's own rule, not the edges of
the preview bounds, a group's own strokes or effects, or type; that a
corner point starts no construction guides; and that the dimension
measures W and H when it is drawn, since a later stroke weight change or
a scale with Scale Strokes off moves the point with the anchors.
2026-11-18 07:06:54 -08:00
dotCooCoo dcc684f8ff Part of #5941: a dialog keeps its scroll under a window opened over it and its alert
A window opened over a dialog (Import Shortcut Set over Keyboard
Shortcuts) held only the modal window drawn last in the pass before it
opened. When the dialog had an alert of its own drawn after it, the new
window held the alert instead, and when the new window closed the dialog
started again at its top. A second modal window that opened in the same
pass, such as an alert of the new window, was also counted as opened over
the dialog.

- A window opened over others holds every modal window drawn in the pass
  before it opened. Only the first modal window drawn after `over_parent`
  is counted as opened over them.
- `modal::drawn_this_pass` reads the pass from the record of the windows
  drawn in each pass, in place of a key of its own.
- Save for Web measures Preview in Browser with `widgets::button_width`,
  as the button is drawn, and translates the label once.
- The reopen test covers an alert drawn after the dialog before the other
  window opens and checks which windows each one holds. The Save for Web
  test compares Preview in Browser with the frame of the download speed
  list instead of its text. The test of buttons inside a dialog's body
  also covers a stop's message box.
2026-11-18 07:04:53 -08:00
BFlat eeea54ba63 Merge pull request #8576 from storytold/fix/font-catalog-visual-order
text: fix the build after #7904 (craft-font-catalog pin, shared outline call)
2026-11-18 22:03:18 +07:00
bflatastic 11b6ae8203 text: pin craft-font-catalog to craft-libs main and restore the shared outline call 2026-11-18 22:02:41 +07:00
dotCooCoo 31eaa1dd4c Command Palette: describe where typo matches rank
Typo matches come after direct matches in a name, menu path or id and
before matches found only through a description. Each typo result's
whole-query match is read with the word of that result the typo meets,
so two such results can tie and then go by the later rules.

Docs: docs/target-app-parity.md.
2026-11-18 06:54:43 -08:00
Dylan M. Taylor c758d60942 Merge pull request #7904 from storytold/codex/shared-ligature-carets-caller
Use shared ligature caret mapping
2026-11-18 09:53:58 -05:00
BFlat 73f6385576 Merge pull request #8573 from storytold/fix/fmt-lookup-imports
fmt: reflow the fontdb lookup imports after #7877
2026-11-18 21:52:55 +07:00
bflatastic 585c0aaa70 fmt: reflow the fontdb lookup imports after #7877 2026-11-18 21:52:24 +07:00
Dylan M. Taylor 4c57169a87 Merge remote-tracking branch 'origin/main' into pr-7904
# Conflicts:
#	Cargo.lock
#	crates/text/Cargo.toml
#	crates/text/src/fontdb/lookup.rs
2026-11-18 09:50:09 -05:00
Dylan M. Taylor 54ef5ed6f7 Merge remote-tracking branch 'origin/main' into pr-7907 2026-11-18 09:49:26 -05:00
dotCooCoo 269c6fced8 Save PDF: an unlinked edit keeps the bleed link off, and every bleed write sets it
An edit to one side while the link is off now keeps it off when the four
values become equal, so the next edit changes one side only. Writing
`bleed` through ui.dialog.set lets the link follow the values each time,
also when the same values are written again.
2026-11-18 06:48:12 -08:00
Dylan M. Taylor 69b97c66c1 Merge pull request #7877 from storytold/codex/shared-font-outline-caller
Share cached glyph outline drawing
2026-11-18 09:47:37 -05:00
dotCooCoo 168cbaf884 Merge main into fix/kept-clipping-path-reads 2026-11-18 06:42:34 -08:00
ruchirguitar f65766f07d Merge remote-tracking branch 'upstream/main' into feat/4934-retype
# Conflicts:
#	docs/gaps.md
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-18 20:10:08 +05:30
dotCooCoo 38bceaa22a Command Palette: the catalog check reports a word two search rows add to different groups
A catalog's search rows are now checked together: a word that two rows
add to different groups fails the i18n test, naming the word and both
groups. A word repeated for one group, and a catalog with no search
rows, still pass.
2026-11-18 06:38:30 -08:00
dotCooCoo 0522ecdf96 Merge main into fix/recolor-group-keeps-gradient-swatches 2026-11-18 06:36:10 -08:00
dotCooCoo 9b29f8f526 Merge main into feat/object-align-to-commands 2026-11-18 06:36:09 -08:00
ruchirguitar db525996f0 M7/G4: retype checks the part before a mismatch on its own (#4934)
A font can place a glyph by the glyph after it, so the glyphs before a
mismatch are laid out again as a line of their own before they replace
their outlines. The glyph budget covers that second check.
2026-11-18 20:05:47 +05:30
BFlat 315e9da947 Merge pull request #6601 from yoriswind/codex/6582-erase-filled-open-paths
M2: preserve fill-only open paths when erasing
2026-11-18 21:32:31 +07:00
dotCooCoo 2a5fc378b1 Preferences: number rows move out of category_fields
category_fields reached clippy's cognitive complexity limit (31/30) once
main took #8086. The Num arms move into num_row and num_field_row, next
to bool_row and choice_row; the rows draw and save as before.
2026-11-18 06:29:22 -08:00
dotCooCoo b0e4302b64 MCP: transform's schema accepts the null arguments it already takes
The transform tool treats a null reflect, copy or origin, and a null
numeric step, as given, but its inputSchema allowed only the non-null
types, so a client that validates against the schema could not send
them. Each of those properties now also allows null. The transform row
in docs/mcp.md says a step that is neither a number nor null is an
error, and that a null dx or dy counts as 0 and still runs the move.
2026-11-18 06:27:31 -08:00
dotCooCoo 095897d658 Merge main into feat/anchor-point-alt-link-handles 2026-11-18 06:26:39 -08:00
dotCooCoo cc52bf5042 Merge main into feat/field-x-multiply 2026-11-18 06:26:33 -08:00
dotCooCoo 2fee6dae68 Merge main into feat/eraser-tip-preview-drag 2026-11-18 06:26:25 -08:00
Dylan M. Taylor 7841c6601b Merge remote-tracking branch 'origin/main' into pr-7907 2026-11-18 09:21:49 -05:00
Dylan M. Taylor 64458d0a5a Merge remote-tracking branch 'origin/main' into pr-7904 2026-11-18 09:21:45 -05:00
Dylan M. Taylor 1b150df493 Merge remote-tracking branch 'origin/main' into pr-7877 2026-11-18 09:21:41 -05:00
dotCooCoo ccedee483f Merge main into fix/issue-7849 2026-11-18 06:21:28 -08:00
dotCooCoo 62ccc549f9 Merge main into fix/metafile-empty-artboard-first 2026-11-18 06:20:40 -08:00
dotCooCoo e4379e39f1 Merge main into feat/attributes-url-count 2026-11-18 06:20:03 -08:00
dotCooCoo 3a69187896 Tests: Cmd+A then Cmd+Shift+= keeps the whole text and makes it superscript
The same-frame check now compares the joined run text with the full text as well as
checking that every run is superscript, so an empty or shortened result fails.
2026-11-18 06:15:41 -08:00
dotCooCoo d959415d48 Merge main into feat/background-save-progress 2026-11-18 06:15:04 -08:00
dotCooCoo 8b930faed3 Merge main into feat/bleed-coverage-warning 2026-11-18 06:14:15 -08:00
dotCooCoo 153dbc89af Merge main into feat/polygon-side-widget 2026-11-18 06:13:55 -08:00
dotCooCoo 6d4af2cb6a Merge main into feat/object-mosaic-dialog 2026-11-18 06:12:45 -08:00
ruchirguitar 4fe27f830c M7/G4: retype bounds readings tried and glyphs laid out (#4934)
Readings of a shape are capped by those tried, not those kept, so a shape
whose every reading fails stops at the cap. The layout check grows a
window from each line start, doubling while the type draws the outlines,
and starts the next line at a mismatch, so a line split at every glyph
costs about twice its glyphs, not half their square; a glyph budget
leaves anything past it as outlines. A tracked line of 450 glyphs: 259 ms.
2026-11-18 19:39:40 +05:30
dotCooCoo 5b0f70f2f4 Merge main into feat/hold-shortcuts 2026-11-18 06:08:50 -08:00
dotCooCoo 09daf0fadd Command Palette: a typo with a letter between two swapped letters still finds the command
The typo search counted two swapped letters as one edit only when they
stayed next to each other, so "rectgale" (g and a swapped, n left out
between them) was 3 edits from "rectangle" and found nothing. Each
letter added between two swapped letters, or left out from between
them, now counts as one more edit, so "rectgale" is 2 edits from
"rectangle" and finds the Rectangle Tool. The count still keeps only
the last bound + 2 rows and stops as soon as a row passes the bound.

Docs: docs/target-app-parity.md.
2026-11-18 06:05:43 -08:00
dotCooCoo a611d44b63 Merge main into feat/artboard-edge-button-tooltips 2026-11-18 05:56:53 -08:00