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>
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>
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).