* 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>
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>
* 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.
`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.
`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.
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.
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.
- Dialogs: ButtonPlace { Foot, Side, Body } beside the port's refusal notice and
ChildDialog; every side_buttons caller (find, hyperlink, paragraph, list manager,
form dialogs) takes button_place, keeping the port's held answers, close buttons
and name check.
- Colour picker: upstream's fixed Full arrangement, CompareSwatch and warning module;
the port's shown_model and tabbed Colors dialog kept (its buttons stand in the side
column, the Full layout's in the picker's slot); the Compact layout shows the
compare block beside its area when the host gives a compare colour; focus_on_open
goes as upstream.
- Task bar: the grip is the bar's first member on one floating surface, for the task
kind only; the selection kind and the close reason stay.
- Keymap: lookup_where's accept filter runs through upstream's winners().
- craft-gpu: upstream's provider-neutral crate, with the port's eframe start-up
choices behind a startup feature (facade gpu-startup); duplicate facade row removed.
- Facade features, ATTRIBUTION, BMP density probe, margin story fit, theme icon-pack
and dialog first-field trials: both sides kept; the clipboard presence code stays
replaced by the port's offer modules.
- body/hooks: upstream's step split (header/end/label/body steps, MeasurePlan) with the
port's least-width floor (MeasurePlan.pad, measured_took), body_end hook in run_body,
exiting end regions and content_width() label room
- cx/body: RegionShare constructor; the port's with_exiting kept
- layout/body: upstream's per-layout functions; run_row keeps the wrapping row's paragraph measure
- access/scope+emit, steps/report: the port's held/leave label scope (arranged rows) with
upstream's rule that static texts are no label controls; node check before node facts,
note_command and pass_through kept
- icon, ghost, icon_trials: theme icon packs (no IconSpec.set) with IconMark and layered paint;
pointer art stays in runtime::cursor; both icon trials kept
- env/tokens: UiTokens::of_theme with the app's pins
- focus, cx/focus, keys/input: register_menu_bar(id, by_claim) journalled for replay
- commands/board+mod: maps for modal and page roots; port exports kept
- inspect, run, text, items/hooks, viewport, layout/mod, host_key_trials: both sides kept
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
replay notes the replayed record's journal into the records open around it and keeps entries' calls from noting
again, so an outer record holds each entry once whether its call journals itself or not.
A replayed scope takes its opener by the same rule as a run (the opener is focus-service state, not view output), and
transcripts compare without it. Transcript::first_difference names the first record two transcripts differ in.