Commit Graph
10352 Commits
Author SHA1 Message Date
skylartaylor dfd21cd773 Merge craft-libs main (40e0459086) without changing layout ownership 2026-11-27 18:31:00 +01:00
aiongg 40e0459086 Merge pull request #3900 from aiongg/fw365-frame-floor
perf(ui): a settled frame replays more of the shell, dock and rows; four layout and focus fixes
2026-11-27 12:22:06 -05:00
BFlat 9c34eaa615 Merge pull request #3902 from ruchirguitar/fix/proptest-all-langs
proof: the mixed-spans proptest draws every language
2026-11-28 00:15:13 +07:00
skylartaylor 664f152108 Merge commit '4d0a0b89d6b4c5504e891cab51907f860d28f67b' into design-port/pr-docking-windows 2026-11-27 18:10:02 +01:00
aiongg 588110ab57 ui-contract: a lazy child meets the view by its shown extent, whichever kind of run decides
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.
2026-11-27 16:54:34 +00:00
ruchirguitarandClaude Opus 5.5 998a000af5 Merge upstream main; every_lang() draws Hindi too
#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>
2026-11-27 22:23:09 +05:30
BFlat 4d0a0b89d6 Merge pull request #3899 from ruchirguitar/feat/add-hindi-proof
proof: Hindi (hi, hi-IN) spelling, suggestions and grammar
2026-11-27 23:49:39 +07:00
BFlat 0d6695718b Merge pull request #3654 from ruchirguitar/glyphs-cell-menu
font-manager: a right-click on a glyph cell names that cell
2026-11-27 23:30:36 +07:00
ruchirguitarandClaude Opus 5.5 70286ac3e6 proof: one copy of the script checks for Gujarati and Hindi; Hindi akshara hyphenation
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>
2026-11-27 21:56:17 +05:30
David Mann c7c404fe52 Merge pull request #3801 from davidmann4/perf/pointer-move-gate
perf(ui-contract): a pointer move that changes nothing runs no frame (photocraft#17148)
2026-11-27 17:22:47 +01:00
aiongg 076b3e337b Trials follow the replay and measure rules: a story's open dialog replays, a panel edit measures afresh
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.
2026-11-27 16:15:09 +00:00
ruchirguitar 9e754e1dc4 Merge remote-tracking branch 'upstream/main' into feat/add-hindi-proof 2026-11-27 21:30:59 +05:30
BFlat 078f2cb357 Merge pull request #3901 from ruchirguitar/feat/gujarati-hyphenation
proof: hyphenate Gujarati between aksharas
2026-11-27 22:58:01 +07:00
ruchirguitarandClaude Opus 5.5 3123577f6f proof: indic docs link no private item
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>
2026-11-27 20:57:14 +05:30
ruchirguitarandClaude Opus 5.5 a771429124 proof: no doc link from the public Hindi grammar module to a private item
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 20:55:26 +05:30
aiongg 7d9544226d Clippy over the merged branch: needless borrows, a copied DockCommands, named tuple types 2026-11-27 15:17:06 +00:00
RuchirandClaude Opus 5.5 a6c4f46bfd font-manager: one revision read per glyphs pass
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>
2026-11-27 20:46:58 +05:30
ruchirguitarandClaude Opus 5.5 401d95a5ab proof: the mixed-spans proptest draws every language
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>
2026-11-27 20:43:35 +05:30
BFlat 082cd8f592 Merge pull request #3361 from ruchirguitar/fix/docx-fidelity-3308-3305
fix(docx): preserve absent compatibilityMode and hyperlink history (#3308, #3305)
2026-11-27 22:08:58 +07:00
ruchirguitarandClaude Opus 5.5 4ecc5e3ed0 proof: rustfmt the indic module
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 20:36:25 +05:30
ruchirguitarandClaude Opus 5.5 5b5de9fc19 proof: rustfmt the Hindi module
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 20:31:44 +05:30
aiongg 47ba4dfd38 Merge craft-libs#3801's head (b8bda06c2c) into fw365-int
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.
2026-11-27 15:00:51 +00:00
aiongg ee7ae9fb80 Merge storytold main (2aa00e60bf) into fw365-int
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.
2026-11-27 15:00:15 +00:00
ruchirguitarandClaude Opus 5.5 5b571e5254 Write history on for app-made links and cut settings merge back to w: compat cases
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>
2026-11-27 20:00:47 +05:30
ruchirguitarandClaude Opus 5.5 36b53c4bcf proof: Hindi (hi, hi-IN) spelling, suggestions and grammar
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>
2026-11-27 19:53:26 +05:30
ruchirguitarandClaude Opus 5.5 d14a23d33b proof: hyphenate Gujarati between aksharas
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>
2026-11-27 19:53:19 +05:30
RuchirandClaude Opus 5.5 323db9809e font-manager: an open glyph menu lets go of a glyph id when the source replaces its faces
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>
2026-11-27 19:49:28 +05:30
RuchirandClaude Opus 5.5 c2d8c9e2e3 font-manager: an open glyph menu lets go of a glyph id when the source changes
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>
2026-11-27 19:48:08 +05:30
Dylan M. Taylor 2aa00e60bf Merge pull request #3829 from storytold/feat/catalog-update-source
feat(update): default update checks to signed getartcraft.com catalog with GitHub fallback
2026-11-27 09:13:58 -05:00
David MannandClaude Opus 5.5 b8bda06c2c Pin egui at storytold/egui#65's merge commit 932a73b2 (photocraft#17148)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 14:58:00 +01:00
David Mann d0963a8423 Merge remote-tracking branch 'origin/main' into perf/pointer-move-gate 2026-11-27 14:51:03 +01:00
ruchirguitarandClaude Opus 5.5 079da658b3 Keep vendor markup on deduplicated switches and drop bare compat blocks and all relationship attributes
- 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>
2026-11-27 17:32:06 +05:30
FredApps 0f525a505d test(update): cover the signed-catalog source and signature failure paths
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.
2026-11-27 18:17:25 +07:00
David MannandClaude Opus 5.5 a885cd5f38 ui-contract: the pointer-move gate compares each root's hover and press winners
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>
2026-11-27 12:14:56 +01:00
FredApps 28b804aad6 Merge main into feat/catalog-update-source 2026-11-27 17:23:52 +07:00
BFlat e9da0dfb37 Merge pull request #3889 from storytold/fix/owner-only-inherit-test
platform: the inherit-only test checks the Users entry apart from the runner's
2026-11-27 17:08:31 +07:00
BFlat 81f6ed7dde Merge pull request #3887 from ruchirguitar/fix/proptest-lang-range
proof: the mixed-spans proptest draws every language again
2026-11-27 16:53:05 +07:00
bflatastic 9b4e1134d5 platform: the inherit-only test checks the Users entry apart from the runner's
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.
2026-11-27 16:18:46 +07:00
RuchirandClaude Opus 5.5 2573a91939 font-manager: an open glyph menu lets go of its cell when the face changes
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>
2026-11-27 14:47:13 +05:30
ruchirguitarandClaude Opus 5.5 2476cd8340 proof: the mixed-spans proptest draws every language again
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>
2026-11-27 14:46:04 +05:30
BFlat d84096ce14 Merge pull request #2871 from ruchirguitar/feat/add-gujarati-proof
Proofing: add Gujarati (gu_IN) spelling, suggestion dispatch and grammar checks
2026-11-27 16:12:36 +07:00
BFlat 7ddaa6dffa Merge pull request #3200 from ruchirguitar/fix/sec-zip-path-traversal
craft-zip: reject zip-slip path traversal vectors during entry enumeration
2026-11-27 16:12:24 +07:00
BFlat b1fd03f0b1 Merge pull request #3886 from storytold/fix/design-lint-findings 2026-11-27 16:12:09 +07:00
bflatastic 1eb6a92ade Clear the design-lint findings on main
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.
2026-11-27 15:52:38 +07:00
bflatastic 72ddff0c18 Revert "Merge pull request #3738 from dotCooCoo/fix/selectable-text-click-response"
This reverts commit 205995c95c, reversing
changes made to 85d26f43e0.
2026-11-27 15:52:38 +07:00
bflatastic b0370f2298 Revert "Merge pull request #3855 from dotCooCoo/fix/web-export-web-shift-state"
This reverts commit e707caf245, reversing
changes made to f66ed91a34.
2026-11-27 15:52:38 +07:00
BFlat ed6133a64b Merge pull request #3802 from dotCooCoo/fix/macos-update-test-errors
craft-update: assert macOS detach fixture setup without unwrap
2026-11-27 15:50:01 +07:00
FredApps 921a720426 Merge main into feat/catalog-update-source; fix catalog review findings
- 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
2026-11-27 09:42:41 +01:00
FredApps 33fb95c718 fcproj-format: schema v19 for FilmCraft Script items (#3782)
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).
2026-11-27 09:40:29 +01:00
aiongg df8ff14963 A radio group names Tab's arrival from the members its run registers (FW-365)
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.
2026-11-27 07:37:15 +00:00