The first run of a pass decides whether a Lazy child runs, and every later run
of the pass takes that answer. The decision used the extent of the deciding
run's kind, so a card its grid row stretches (content 68 pt, shown 723 pt) was
skipped in a pass whose measuring run decided and ran in one whose real run
decided. Cut by the view's top edge, it left a hole in the view for a frame,
and the Overview's next replay differed from a real run there (the replay audit
in scrolling_runs_only_the_cards_entering_the_view). The decision now takes the
shown extent (the last real run's, else a measuring run's, else the estimate);
a skipped child still takes its own kind's extent in flow.
#3899 added ProofLang::Hi, and on main it went into the old fixed list
(17 entries, range still 0u8..16, so Other wasn't drawn). Keep
every_lang() and add L::Hi to its match and list.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The spelling check and the repeated-word and spacing checks move to
script_checks, which takes a language's Script (its letters, digits and
an optional second spelling) and Rules (messages, repeat policy). Gujarati
uses it with the predicates it had, so its behaviour is unchanged; Hindi
uses the Devanagari letters from indic and its nukta spellings.
ProofLang::Hi maps to indic::Script::Devanagari, so Hindi words break
between aksharas.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
craft-ui-gallery: a story whose dialog is open replays in a settled frame. The
dialog's layer is part of the story's run and replays where it ran (f418a2a3f7);
the story ran every frame only because the pointer stayed over the card after the
click, which no longer runs a settled view while what sensing gives it is
unchanged (4fe31f5dc3). The trial asserts the dialog stays painted, the card keeps
the story in place of its opener, and the story does not run.
craft-layers: a blend-mode edit is a new version of the panel's view, so the
header measures its content afresh (7f4311f96f) and the blend rows run in that
measuring run and once in the real run, all in one pass. The trial asserts one
pass and one real run of the blend rows.
The module docs linked the private Script::kind, which the workspace docs
check (-D warnings) rejects, and gave ProofLang::Gu a redundant explicit target.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The cell list and the open menu's stamp read the source revision
separately, so a source that moved on between the two reads could stamp an
old list's glyph id with the new revision. The pass now reads the revision
once and uses it for both: a cell is stamped with the revision its list was
read at, and the next pass drops it if the source has moved on.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mixed_spans_never_panic drew from a hand-written list that never had
EnAu, Bg, Hr, De or a Pack language, and its fixed index range needed
#3887 after Gujarati was added. It now picks with
proptest::sample::select from every_lang(), which lists every ProofLang
next to an exhaustive match, so a new variant doesn't compile until it
is listed. A `fr` tag stands for the Pack languages.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings the pointer-move gate's per-root hover and press winners
(a885cd5f38) and the egui pin at storytold/egui#65's merge commit
932a73b2. The pointer trials keep both sides' additions.
Conflicts:
- ui-contract items/hooks.rs: rest_lead takes no placement here; main's
lead focus ring block is kept as main wrote it.
- ui-panels docking/mod.rs: main's FocusLook import kept; the memory::sub
import goes, since the dock no longer keeps pass frames in memory.
Follow-ups of the merge:
- MeasureCx::in_row (main) reads row_alone_room from the component's
scope env, as column_room does here.
- The split-handle focus ring trial (main) passes SplitArea's revision.
Review of storytold/craft-libs#3361 (bflatastic):
1. Links that didn't come from a .docx file lost w:history="1". Replace
CharProps::link_history: Option<bool> with Option<LinkHistory>
(Off, Omitted), set only by the .docx reader. None, which every
other link has and which the reader also gives a link with history
on, is written as w:history="1", as main does, so such a link reads
back unchanged. Text with no value takes the history of the link it
is in, so typing into a link doesn't split it. New test: a link made
with a CharProps patch saves with w:history="1". main's
picture_links test is back to expecting w:history="1".
2. settings_merge.rs is main's file plus a short merge_compat for the
w:-prefixed cases real files have: the owned switches come from the
generated part at their CT_Compat position, compatibilityMode is
replaced, added or removed, and a block left empty goes. The rest
(aliased and rebound prefixes, Strict and r:* relationship markup,
escaped names, BOMs and comments, vendor markup on switches) is
kept with its 22 tests on the fork branch
docx-settings-merge-hardening (079da658b) for a later PR.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ProofLang::Hi for hi, hi-IN and hin: spelling from an installed hi_IN
Hunspell dictionary (not bundled), dictionary-driven suggestions, and
generic checks (repeated words, spacing, ratios with Devanagari digits)
with Hindi messages. The Devanagari pieces (letters, digits, both
spellings of nukta letters, the spelling check and the generic checks)
are in a shared devanagari module for later Devanagari languages.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gujarati words fell to the English rules and got no break. They now
break only between orthographic syllables (aksharas): never inside a
conjunct, never before a vowel sign or mark, and never before a dead
final consonant. The rules come from the script's Unicode encoding (the
shared Brahmic block layout), so no pattern file is read. A `gu` Language
pack's patterns still come first.
The new `indic` module also carries the Devanagari table, so Hindi and
the other Devanagari languages need only a `Script::of` mapping.
Part of storytold/vectorcraft#4947.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The source can replace a face under the same family and style, and says so
through its revision. The held menu cell now keeps the revision it was
clicked at, and a glyph id is dropped once the revision changes. A character
names the same glyph in the read-again face, so it stays held.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The source may replace a face under the same family and style, and its
revision is the signal. The held menu cell now keeps the revision it was
clicked at, and a glyph id is dropped at a new revision; a character still
names the same character there, so it stays held.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- An enabled compat switch that appears more than once now keeps the
occurrences carrying markup the model doesn't write (e.g. x:vendor)
and drops only plain duplicates; with none, the first stays.
- A bare self-closing <w:compat/> follows the empty-block rule, like
<w:compat></w:compat>; one with unmodeled attributes is still kept.
- Compat retention and pruning treat every attribute in the
relationship namespace (r:embed, r:link, ...) as a reference, not
only r:id; vendor attributes of the same local name stay.
Each change has a regression test that fails without it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sonar's new-code coverage gate was 71.4% (needs 80%): CatalogSource and the
signature/document refusal paths had no tests. Add tests with a fake fallback
source and a fresh signed catalog; no network is used.
Overlapping shapes of one root can hit both points of a move while the
nearest centre picks another winner; the move now runs a pass then.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On a GitHub Windows runner the temp folder's Administrators entry is
inherited and comes first, so the folder check reported it before the
Users entry the test adds and the assertion on Users failed.
A glyph id names a glyph only in the face it was clicked in. The held menu
cell now keeps its family and style, and a pass in another face drops it, so
the menu never reports the same id against a different glyph.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adding Gujarati grew the language list in mixed_spans_never_panic to 16,
but the index range stayed 0..15, so the last entry, ProofLang::Other,
was never drawn. The range is now 0..16.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mark TransformBox::handle_side and PreferencesWindow::size as point
quantities the host supplies, and make CheckContext #[non_exhaustive].
#3855 and #3738 are reverted above: they read egui memory, raw keys and
pointer clicks outside runtime::egui.
- resolve the check_for_update doc-comment conflict with main
- offer prereleases from the signed catalog to a prerelease build, as the GitHub path does
- accept %2B in catalog download links and return the canonical link
- validate links against the catalog entry's own repo spelling
- share the stable/prerelease pick between latest_for and latest_for_repo
- add regression tests; rustfmt
A no-op v18 -> v19 step so FilmCraft can save Script Project items
(script lines, slates with linked takes, marks and thumbnail positions)
and older builds refuse such projects instead of dropping them on save.
Library part of storytold/filmcraft#2726, which until now bumped an
app-local schema number that clashed with the shared v18 (camera raw).
RadioGroup named the arrival in update from last pass's members, so the run
where a group first shows recorded none and a replay differed from a real run.
Cx::roving_arrival now amends the body group registered in the running pass
(focus::name_group_arrival), and the group calls it in finish, after its body's
members registered: the run's own record holds the arrival, with no extra pass.