The tests that count the layouts the Type tool keeps read vectorcraft_text::layout_inputs()
through its cache key. Tests in the same binary that add a font or change the hyphenation
exceptions bump it, so a count running beside one saw every frame laid out again
(type_overlays_keep_at_most_frame_layouts_max: 2051 instead of 2). Counting tests now hold a
shared test-only lock for reading and tests that change those inputs hold it for writing.
"rop shdaow" now finds Drop Shadow: with a query word matched through a
typo, each other word may also be text in the result's names or ids, as
the substring rule allows. A word found nowhere still leaves the result
out, and queries without a typo keep their results and order.
Docs: the typo line in docs/target-app-parity.md now says where typo
matches rank (after direct name, menu path and id matches, before
description-only matches) and that the typo grades order them before
the label's length.
- 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.
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.
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.
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.
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.
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.
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.
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.