Commit Graph
8520 Commits
Author SHA1 Message Date
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
Martin Ball 805dd64c5a Merge branches 'merge/fw-contract' and 'merge/fw-rest' into merge-fw/main 2026-11-19 21:03:09 +00:00
haranishi 8dc0a214ef Allow NumberField to set a separate scrub step 2026-11-20 06:03:02 +09:00
Martin Ball 576dcb3817 fw-rest: resolve the framework sync conflicts (up/next into area/ribbon-fw)
- 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.
2026-11-19 20:57:28 +00:00
Martin BallandClaude Opus 5.5 e6e78aebd6 land fw-contract: resolve the ui-contract conflicts of the craft-libs next sync
- 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>
2026-11-19 20:56:45 +00:00
Dylan M. Taylor d552111634 rustfmt framework batch 3 2026-11-19 15:48:49 -05:00
Dylan M. Taylor db1903ed36 Merge branch 'pdf-port/fwb3-d' into pdf-port/followups 2026-11-19 15:48:27 -05:00
Dylan M. Taylor 4ae8ab2869 Merge branch 'pdf-port/fwb3-c' into pdf-port/followups 2026-11-19 15:48:27 -05:00
Dylan M. Taylor 88b867f4dc Framework batch 3 d: port follow-ups (see runs/fwb3-d.md) 2026-11-19 15:48:27 -05:00
Dylan M. Taylor 1312780139 Merge branch 'pdf-port/fwb3-b' into pdf-port/followups 2026-11-19 15:48:27 -05:00
Dylan M. Taylor e015cb0a56 Framework batch 3 c: port follow-ups (see runs/fwb3-c.md) 2026-11-19 15:48:27 -05:00
Dylan M. Taylor ebc242fe36 Framework batch 3 a: port follow-ups (see runs/fwb3-a.md) 2026-11-19 15:48:27 -05:00
Dylan M. Taylor 0a4db7f915 Framework batch 3 b: port follow-ups (see runs/fwb3-b.md) 2026-11-19 15:48:27 -05:00
haranishi 61514f82d2 Use lifetime-generic dialog builders in the unit-order regression 2026-11-20 05:43:19 +09:00
Martin Ball 6dedbe4fe6 skeleton: merge up/next into area/ribbon-fw with conflict markers left in (land step 1) 2026-11-19 20:42:08 +00:00
Martin Ball feaea98c11 Merge branch 'red/fwstub-1' into area/ribbon-fw 2026-11-19 20:41:10 +00:00
Martin Ball faca29ba97 lead: a side menu row takes the large icon token (the standard one is a plain button's already, so the trial saw no change) 2026-11-19 20:41:10 +00:00
haranishi 299a9edfea List Percent before Pixels in Image Size 2026-11-20 05:40:28 +09:00
aiongg e163a0435a craft-ui: a record replayed inside a recorded run is in that run's journal
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.
2026-11-19 20:32:54 +00:00
aiongg fe40ab109b craft-ui: a focus scope keeps the opener of the pass it first appeared in, in a run and a replay alike
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.
2026-11-19 20:32:54 +00:00
aiongg ff64465e3a ui-contract: replay trials allow expect, as test code 2026-11-19 20:32:54 +00:00