Commit Graph
7039 Commits
Author SHA1 Message Date
aiongg 910a14280f craft-ui: a component joins its body's roving group in the pass it says so
Stops register after update, which calls Cx::join_roving, so a stop and its focusable parts are in the body's
roving group from the first pass that shows them. Membership is a field of the pass (roving_member), read by the
stops and the report step; the pass-stamped join slots in egui memory (join_group, member_group, join_part_group,
part_group) go. testing::focus::pass_stop_groups reads what the running pass registered.
2026-11-20 00:11:15 +00:00
aiongg cfb62ec86f craft-ui: the layout memory a run keeps is a record fact, not journal entries
A run notes each layout memory entry and kept transcript it keeps (replay::note_layout_keep, from read, record,
end_measure and kept_serves) in Facts::layout_keeps, merged outward like owners. A replay keeps them through one
layout_memory::keep and passes them to the record open around it. The journal no longer holds where the run measured,
which changes with the path layout memory takes and means nothing to a replay.
2026-11-20 00:11:15 +00:00
aiongg a818e5dc45 craft-ui: the replay audit compares a moved replay with the kept run moved where the replay adds it
A view whose room moved (a scroll) replays its record shifted. Its audit run compares with the kept record as that
replay adds it: egui's records through PassRecords::shifted, journal entries with their arguments shifted, and the
kept rect moved by the shift's offset. journal's again is Copy (every capture-free closure is).
2026-11-20 00:11:15 +00:00
aiongg bf98f15211 egui: repin to bcdeb7bb8 (a part's records after a sizing pass; no empty shapes or sizing widgets; PassRecords::shifted) 2026-11-20 00:10:09 +00:00
aiongg 4417218eca ci: the Workspace gate's Linux leg runs the UI crates' tests again with the replay audit, from the same build 2026-11-20 00:10:09 +00:00
aiongg b257b150fb craft-ui: the replay audit runs every memoized view that would replay and compares it with the replay
Test builds only. With CRAFT_UI_AUDIT_REPLAY=1 (or testing::audit_replays), the outermost view that would replay in a
real pass runs for real inside an audit record; the kept run stays as it was. The run is compared with what the replay
adds: the view's rect, paint, widget rects and AccessKit nodes (PassRecords::first_difference), focus registrations,
the journal and the output. A difference panics with the view's name and the first difference of each kind. Counters
count nothing inside an audit run, so the count trials hold under the audit.

A record that paints a paint callback is blocked: its view runs every pass, and the audit names it.
2026-11-20 00:10:09 +00:00
Dylan M. Taylor ff98d8b93c fix(idml): remove unused imports in model test (#2467) 2026-11-19 19:07:33 -05:00
aiongg 7f91600cb9 craft-ui: a given-value edit reruns only the settling children with no content version
An edit through a given binding unsettled every settling child for its frame and
the next, so each move of a slider, scrub or other value drag ran every panel body
of the window. A child with a content version sees what the app does with the edit
as a new version, as it does for input elsewhere, so a given edit now follows the
input rule: only children without a content version run.

Part of storytold/photocraft#15476, for storytold/photocraft#15859.
2026-11-20 00:02:58 +00:00
FredApps 0290ef624a Include track decoding trials in video integration suite 2026-11-20 00:54:24 +01:00
FredApps b73ad070b2 Merge remote-tracking branch 'origin/next' into perf/2218-video 2026-11-20 00:52:34 +01:00
FredApps efa69b8bb8 Keep shared resolved labels in registry trial 2026-11-20 00:52:06 +01:00
aiongg 3a6624df13 Brush tip outlines show only inside the canvas view, under the layers above it
A tip outline the tool host requests carries its region: the canvas's view on
the canvas's layer. The window takes the whole outline as its cursor image only
while it lies inside that region with no layer over it; otherwise the ring paints
on the canvas's layer clipped to the view, under panels, menus and dialogs, and
the window takes only its marks, as for a tip too large for an image.

photocraft#15863
2026-11-19 23:50:56 +00:00
FredApps b5bfa1d29d Verify focus lookup after replaying a recorded stop 2026-11-20 00:44:13 +01:00
FredApps 236df21be2 Merge remote-tracking branch 'origin/next' into publish/registry-2332
# Conflicts:
#	crates/ui-shell/tests/it/commands/mod.rs
2026-11-20 00:43:55 +01:00
David Mann 2004470919 Merge pull request #2285 from davidmann4/anchor/12707-drag-handles
Add Anchor: a drag from a segment pulls out the new anchor's handles (photocraft#12707)
2026-11-20 00:42:48 +01:00
FredApps 26aaabc630 Merge remote-tracking branch 'origin/next' into perf/runtime-accessors
# Conflicts:
#	crates/ui-contract/src/runtime/focus.rs
2026-11-20 00:42:26 +01:00
dotCooCoo ebbc62b93d Update tests: the attach retry calls busy() 2026-11-19 15:39:12 -08:00
Terra854 f428c3d36e sqlite: add bounded wire decoding helpers (#2446) 2026-11-19 18:34:01 -05:00
Dylan M. Taylor 01c89f9a23 idml: add reusable designmap schema emission (#778) (#2455)
* idml: separate reusable designmap schema emission (#778)

* test(idml): split designmap schema roundtrip test for clippy
2026-11-19 18:32:24 -05:00
dotCooCoo 9bb003847d Merge main into fix/update-test-attach-retry 2026-11-19 15:23:47 -08:00
aiongg 0f23b31d1a Merge pull request #2438 from aiongg/update-hdiutil-eagain
craft-update: macOS install tests retry hdiutil while the disk-image helper is busy
2026-11-19 18:17:36 -05:00
aiongg ee73f4ef3f Merge pull request #2358 from aiongg/memo-resolve
Command resolution only on change (#2336)
2026-11-19 18:17:22 -05:00
FredApps ea9407b350 svg: share compact path command formatting (#778) [skip ci] (#2453) 2026-11-20 06:06:57 +07:00
42e0bd5482 Add a craft-raw decoder comparison example (#2417)
* Add a craft-raw decoder comparison example

* Clean up RAW decoder report test fixtures

* craft-raw: say the report hashes decoded samples and which revisions build it

The digest covers RawImage::data, after any decoder linearization, so the
README now says "decoded samples" and explains that two stored codes that
map to the same value give the same digest.

The copy-into-an-older-checkout instructions now name the first main
revision the example builds on (ecee6933, #1171): older revisions have no
Cfa origin fields.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: FredApps <FredApps@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 05:50:06 +07:00
Dylan M. Taylor f7569cc7ae Merge pull request #2425 from dotCooCoo/fix/file-formats-jpeg-ls
file-formats: register JPEG-LS and tell it from JPEG
2026-11-19 17:46:57 -05:00
pancakeandpancake 352c589d89 RAW-DNG: gate JPEG XL tests on the codec feature (#2381)
The DNG integration target also runs when JPEG XL decoding is disabled.
Gate the five JPEG XL cases and their fixture helpers on the jxl feature
so a DNG-only test run checks the codecs available in that build.

The full JPEG XL regressions remain enabled when jxl is selected.

Co-authored-by: pancake <pancake@nopcode.org>
2026-11-19 17:45:24 -05:00
Mex a559fd3abc fix(mcp-server): reject invalid JSON-RPC versions before dispatch (#2444)
* fix(mcp): validate JSON-RPC versions before dispatch

Reject malformed request envelopes before tool or lifecycle effects. Companion to storytold/gridcraft#4210 after the shared-server migration.

* test(mcp): cover invalid version markers across transports

Actual shared crate: baseline 18 passed and 3 new regressions failed; fixed 21 passed. Repository formatting and strict production Clippy pass.
2026-11-19 17:41:52 -05:00
Martin Ball 362eb28209 Merge branch 'red/fwstub-2' into area/ribbon-fw 2026-11-19 22:38:26 +00:00
Martin BallandClaude Opus 5.5 5a4b24de71 fwstub-1: a canvas tool host hovers once at a resting pointer after a press, so the tip the press dropped comes back without a pointer move (WordCraft showed a link's tip again after a Ctrl+click); trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 22:19:11 +00:00
Martin BallandClaude Opus 5.5 f3fea6f189 fwstub-2: a comment card selected again keeps its own edit draft (select_thread dropped every edit, so a draft the app could not write back went when its balloon was clicked again; S-L100 keeps no second copy in the app), and an inline edit takes the keyboard in the pass it opens, so one click on a balloon is enough to type, as the old WordCraft; trials
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 22:19:09 +00:00
Martin BallandClaude Opus 5.5 35ff705ba8 fwstub-1: the unlabelled-row label trial clicks the label node, not the field's group (both are named by the label; the scope and the click-to-focus were intact after the sync, the trial picked whichever "Turn" node the tree listed first); trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 22:15:11 +00:00
Martin BallandClaude Opus 5.5 e1d833c5ff fwstub-2: an editor that refuses an input method's edit asks for the interrupt itself (EditorHandle/Cx/ToolPass::ime_interrupt): a batch of a refused deletion and commits ends with nothing composing, so the engine could not see it, and the app fell back to an application change that made the fresh commit Other; the interrupt now goes out beside the pass's InputMethod receipt; trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 22:13:41 +00:00
Terra854 6a5ff3d4fd psd: open merged composites without image resources (#2426) 2026-11-20 05:07:30 +07:00
Martin Ball 15d43e03c0 Merge branch 'red/fwstub-2' into area/ribbon-fw 2026-11-19 22:07:16 +00:00
mmazzieri 2a3bdd16ed craft-doc-binary: read Layout in table cell from a shape's properties
`fLayoutInCell` (bit 15 of the Group Shape Boolean Properties, 0x03BF),
when its use bit `fUsefLayoutInCell` (bit 31) is set, now sets
`Float::outside_cell` when off. Word places such a shape outside the table
cell it is anchored in, and the cell's text does not wrap around it. Without
the use bit the setting keeps its default, on.
2026-11-19 22:35:42 +01:00
mmazzieri abaccb0d38 craft-docx: a VML shape in a body table cell keeps Layout in table cell off
`o:allowincell="f"` on a VML shape anchored in a body table cell now sets
`Float::outside_cell`, as `layoutInCell="0"` already does for DrawingML.
Word places such a shape outside its cell, and the cell's text does not wrap
around it. Without the attribute, or with it on, the shape stays in its cell.
The writer already saved `o:allowincell` from `outside_cell`, so the setting
now survives open and save.
2026-11-19 22:33:53 +01:00
Martin BallandClaude Opus 5.5 d470baa8b7 fwstub-2: the face-run story card sits at the Primitives level of the catalog
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:33:29 +00:00
Martin BallandClaude Opus 5.5 e10bb6ef02 fwstub-2: story card of Draw::face_run (a run in a document face on its baseline, kana the face lacks drawn by the interface fonts, a 4,000-point run drawn at the atlas cap), registered with craft-ui's stories so the gallery shows it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:32:39 +00:00
Mex b8af9ef92a DOCX: cover zoom changes with retained settings 2026-11-19 22:31:18 +01:00
Mex 14718ae0c1 DOCX: save the current zoom when merging settings 2026-11-19 22:31:00 +01:00
Dylan M. Taylor 219c1d0b14 dxf: add shared .lin and .pat text parsers (#2434) 2026-11-19 16:25:57 -05:00
Dylan M. Taylor 9d5c9cce69 psd: add resource writers for alpha names and clipping path (2999) (#2429) 2026-11-19 16:25:53 -05:00
Martin BallandClaude Opus 5.5 e368403605 fwstub-1: a labelled leaf in a wrapping row starts a new line when it would not fit the rest of the line (it is placed before egui allocates it, so the row never wrapped a radio and squeezed the last label); Page Setup's Text snaps to characters takes its second line again; trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:25:32 +00:00
Martin BallandClaude Opus 5.5 785e15c52e fwstub-1: headings and list items take AccessKit's zero-based level (Heading 1 is level 0, which UIA reports as 1; a first-level list item level 0), as WordCraft #3173; trial
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:25:29 +00:00
Martin BallandClaude Opus 5.5 e1b872bfad fwstub-2: Draw::face_run draws a run in a document face (bytes and index loaded once per key) at its size on a baseline, capped to the font atlas (a quarter of max_texture_side, at most 1,024 px), with the interface stack (CJK included) drawing what the face lacks; faces over 16 MiB stay in the interface face; TextLayout::char_x; trials
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 21:25:00 +00:00
FredApps dc6adc3fbd psd: expose bounded encoded composite rows [skip ci] (#2442) 2026-11-20 04:22:22 +07:00
Mex 18ff4ad4de test(ipp): cover language-tagged text and CUPS replies
Cover byte lengths, malformed signed framing, ordinary text compatibility, and localized queue/default/status replies over Content-Length and chunked HTTP. All 3 new regressions fail against the shared baseline; all 24 Windows-native tests pass with the decoder fix.
2026-11-19 22:12:41 +01:00
Mex 90716be5eb fix(ipp): decode language-tagged attribute text
Port the focused decoder correction from storytold/photocraft#15677 to the extracted shared crate. Read nonnegative signed language/text lengths and require exact framing; keep ordinary UTF-8 lossiness and missing/malformed fallback behavior.
2026-11-19 22:11:28 +01:00
Martin Ball 90efc95363 land sync: one output hook runs upstream's dangling-relation pruning, then the port's settled access tree 2026-11-19 21:06:38 +00:00
Martin Ball 7b0a3869a0 land sync: owed lines (cursor icon call, of_theme with the app pins, one craft-gpu workspace row); Cargo.lock from the port, resolved at the build 2026-11-19 21:03:29 +00:00