Commit Graph
5404 Commits
Author SHA1 Message Date
Martin Ball 681ebbeea2 canvas-w2: the IME target epoch is egui ImeTarget::replacement_epoch 2026-11-18 14:05:42 +00:00
Martin Ball 156da21200 owed by dialogs-w8: re-export items::{measure_item, show_item, show_item_in_flow} (S-L175) 2026-11-18 14:03:55 +00:00
Martin Ball a6926b4881 canvas-w6: net change of 3 commits
- canvas-w6: finished by an agent
- canvas-w6: review fixes (review-1)
- canvas-w6: review fixes (review-1b)
2026-11-18 14:03:48 +00:00
Martin Ball 59cc1ac191 canvas-w5: net change of 2 commits
- canvas-w5: written from its sheet
- canvas-w5: review fixes (review-1)
2026-11-18 14:03:48 +00:00
Martin Ball d45dad938a canvas-w1: net change of 3 commits
- canvas-w1: finished by an agent
- canvas-w1: finished by an agent
- canvas-w1: review fixes (review-1)
2026-11-18 14:03:48 +00:00
Martin Ball 57b7c457f3 canvas-w2: net change of 3 commits
- canvas-w2: finished by an agent
- canvas-w2: finished by an agent
- canvas-w2: review fixes (review-1)
2026-11-18 14:03:47 +00:00
Martin Ball ad6575845d canvas-w8: net change of 5 commits
- canvas-w8: written from its sheet
- canvas-w8: repair 1
- canvas-w8: finished by an agent
- canvas-w8: review fixes (review-1)
- canvas-w8: review fixes (review-1b)
2026-11-18 14:03:47 +00:00
Martin Ball 80d3e4d440 canvas-w7: net change of 3 commits
- canvas-w7: written by an agent
- canvas-w7: finished by an agent
- canvas-w7: review fixes (review-1)
2026-11-18 14:03:47 +00:00
Martin Ball 7d20a33d11 canvas-w3: net change of 2 commits
- canvas-w3: written by an agent
- canvas-w3: review fixes (review-1)
2026-11-18 14:03:47 +00:00
Martin Ball 5b9bf4c985 canvas-w4: net change of 5 commits
- canvas-w4: repair 1
- canvas-w4: finished by an agent
- canvas-w4: finished by an agent
- canvas-w4: finished by an agent
- canvas-w4: review fixes (review-1)
2026-11-18 14:03:47 +00:00
Martin Ball 6be76ca24f Cargo.lock: dependencies the shell sets added (serde_json in dialogs, craft-codepage in ui-contract) 2026-11-18 12:44:58 +00:00
Martin Ball 4414e30f9e fmt: shell framework batch 2026-11-18 12:44:54 +00:00
Martin Ball 1bce18bf17 i18n trial: a context lookup with no context row is None through get, as the app test read it 2026-11-18 12:44:40 +00:00
Martin Ball fb34d4d37c Merge branch 'red/red-shell-w3' into area/shell-fw 2026-11-18 12:42:25 +00:00
Martin Ball b315cbda06 Merge branch 'red/red-shell-w2' into area/shell-fw 2026-11-18 12:42:25 +00:00
Martin Ball bd3641bf34 ui-contract: a pass zoom comes from its own events, not egui eased zoom_delta (q129) 2026-11-18 12:42:25 +00:00
Martin Ball e62b11b944 owed by dialogs-w1: DialogHost::run opens a dialog take_child as its child (S-L156) 2026-11-18 12:40:08 +00:00
Martin Ball f51ab90148 ui-contract: a claimed Alt+digit goes to its owner and ends the Alt code; Alt-numpad code types once 2026-11-18 12:40:08 +00:00
Martin Ball 5d4155e815 i18n: the lookup test expects the app's row over the shared one, as documented 2026-11-18 12:34:41 +00:00
Martin Ball 03724ca7a1 quit: a failed save asks about the same document again without listing it twice 2026-11-18 12:34:40 +00:00
Martin Ball 0d37561828 shell-w2: review fixes (review-2) 2026-11-18 12:26:29 +00:00
Martin Ball 0bc3e87d3d shell-w2: drop the stale finished read left by the review fix 2026-11-18 12:22:48 +00:00
Martin Ball 34d9f5b333 owed by platform-w3: placeholder for the runtime clipboard trials module 2026-11-18 12:21:55 +00:00
Martin Ball c69a65748c owed by platform-w3: runtime::frame::root_input (S-L151) 2026-11-18 12:21:55 +00:00
Martin Ball 787bc35177 owed by ribbon-w5: FocusedRecord::menu_bar as Option<Id>, register_menu_bar(ctx, id) 2026-11-18 12:21:55 +00:00
Martin Ball 37692031c0 shell-w3: net change of 2 commits
- shell-w3: written from its sheet
- shell-w3: review fixes (review-1)
2026-11-18 12:20:27 +00:00
Martin Ball 1c9051d6c3 shell-w2: net change of 3 commits
- shell-w2: finished by an agent
- shell-w2: finished by an agent
- shell-w2: review fixes (review-1)
2026-11-18 12:20:27 +00:00
Martin Ball 74703d2017 shell-w1: net change of 3 commits
- shell-w1: written by an agent
- shell-w1: finished by an agent
- shell-w1: review fixes (review-1)
2026-11-18 12:20:27 +00:00
Martin Ball 2d810dfdc7 Contract stubs: save answer records_file, DocumentMap page, UpdateCheckDialog::words (S-L159, S-L162, S-L164) 2026-11-18 12:11:18 +00:00
Martin Ball 99230749f8 Contract stubs: StackDialog::take_child and ChildDialog (S-L156) 2026-11-18 12:07:30 +00:00
Martin Ball 3981899044 Contract stubs: phase 4 refresh (decisions S-L141..S-L152, consistency contract changes) 2026-11-18 10:20:44 +00:00
Martin Ball ee52d2283e Contract stubs: craft-text craft-pages craft-gpu craft-ui-gallery craft 2026-11-18 08:50:46 +00:00
Martin Ball 8304cc416d Contract stubs: craft-color-ui craft-draw craft-imaging craft-font-manager 2026-11-18 08:42:03 +00:00
Martin Ball b14ea47830 Contract stubs: craft-browse craft-dialogs craft-menu craft-print craft-review craft-table craft-update craft-automation 2026-11-18 08:35:49 +00:00
Martin Ball 80b8ea1f67 Contract stubs: craft-ui-patterns 2026-11-18 08:28:04 +00:00
Martin Ball 10b23c3d55 Contract stubs: craft-ui-canvas craft-ui-shell 2026-11-18 08:21:44 +00:00
Martin Ball 53e525ad78 Contract stubs: craft-ui-widgets craft-ui-panels 2026-11-18 08:15:57 +00:00
Martin Ball ec93a52260 Contract stubs: craft-ui-contract 2026-11-18 08:08:21 +00:00
Martin Ball b21c69300c Contract stubs: craft-codepage craft-i18n craft-host craft-quit craft-theme craft-keymap craft-behavior craft-settings craft-platform 2026-11-18 08:01:14 +00:00
Martin Ball cbc63d92c1 craft-mcp-server: options for apps that report argument errors as tool results (#2061)
* craft-mcp-server: options for apps that report argument errors as tool results (#778)

Add `Options` (default = today's behaviour) and `Server::with_options`:

- `website_url`: sent as `serverInfo.websiteUrl` at `initialize`.
- `tool_errors_as_results`: a `tools/call` whose arguments fail the schema check, or whose tool
  is unknown, returns a tool result with `isError: true` and the message as text, not -32602.
- `strict_request_ids`: a request id that is not a string or number gets -32600 with a null id.

`Info` is unchanged, so existing struct-literal callers still compile. Tests cover each option on
and off, and hostile input with all options on.

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

* craft-mcp-server: strict request ids also apply to the missing-method error (#778)

With strict_request_ids, a message without `method` echoed an object, array or
bool id in its -32600 reply. It now answers with a null id for any id that is
not a string or number, as the later strict check does. Valid ids, absent ids
and incoming responses behave as before.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 3e82d1719c)
2026-11-17 21:32:22 +00:00
Dylan M. Taylor 1d8bfe6acd drawingml: accept borrowed table definitions and caller XML validation (#2045)
(cherry picked from commit cff5af869d)
2026-11-17 21:32:22 +00:00
Dylan M. Taylor 45d9cab53b zip: preserve legacy Zstandard method 20 in lenient reads (#2015)
* zip: retain legacy Zstandard method compatibility

Ported from Craft Anything 29badae7c9280fdf4c24795927bf3a91f51694c6, including the bounded-reader regression. Firmware scanner policy remains app-owned.

* Record source of legacy ZIP Zstandard compatibility

* Document both ZIP Zstandard method identifiers

---------

Co-authored-by: RRFZ <247457381+Plastic-time@users.noreply.github.com>
(cherry picked from commit fb1d7f3681)
2026-11-17 21:32:22 +00:00
Dylan M. Taylor 1ba84bb14a Keep aligned stored entry headers compatible with USDZ exporter
(cherry picked from commit 6128eabbfb)
2026-11-17 21:32:14 +00:00
Dylan M. Taylor 20c67ba4f5 zip: support bounded aligned stored entry options
Co-authored-by: bflatastic <bombayapirat@gmail.com>
(cherry picked from commit e66b3a7954)
2026-11-17 21:32:14 +00:00
Martin Ball 38289b5343 craft-image-codecs: wrap a clipboard DIB as a BMP (dib_to_bmp, dib_layout) (#2062)
* image-codecs: wrap a clipboard DIB as a BMP (#778)

Add bmp_probe::dib_to_bmp (prepend the 14-byte file header, pixel offset
from the header with saturating arithmetic, try_reserve for the output)
and bmp_probe::dib_layout (V4/V5 alpha-mask BI_RGB becomes BI_BITFIELDS,
mask copy after the header). Both are ported from WordCraft's
crates/geom/src/picture.rs so it can drop its local copies. Tests compare
byte-for-byte with the originals over crafted DIBs and every prefix, and
decode wrapped results.

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

* image-codecs: fix DIB offsets for V2/V3 bitfields and ambiguous mask copies (#778)

- dib_to_bmp no longer adds 12 appended-mask bytes to the pixel offset for 52- and
  56-byte BI_BITFIELDS headers, which carry their masks inside the header; the
  decoder reads the pixels at bfOffBits, so the offset was 12 bytes too far.
- dib_layout treats 12 bytes after the header that equal the masks as an existing
  copy only when more bytes follow than the pixels need, so an exact-length DIB
  whose pixels equal the masks gets its copy inserted.
- dib_layout reserves the 12 bytes before changing compression or masks, so a
  failed reservation returns the DIB unchanged; the mask bytes are a [u8; 12]
  array, not a heap copy.

The differential tests against the WordCraft originals now exclude exactly the
52/56-byte bitfields offset and the exact-length payload cases, and assert the new
behaviour for them.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 93dac78c93)
2026-11-17 21:30:45 +00:00
Martin Ball 3e6e0de90d image-codecs: header-only PNG pixel model and WebP alpha probes (#778) (#2064)
png_probe::pixel_model reads width, height, bit depth, colour type and tRNS
presence from IHDR and the chunk headers before IDAT without inflating iCCP;
PixelModel::bytes_per_pixel and has_alpha give a caller's pixel size and alpha.
webp_probe::has_alpha reads the VP8X alpha flag, the VP8L alpha_is_used bit,
and treats plain VP8 as opaque. Differential tests compare against WordCraft's
png_chunks as an oracle.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 1928693fbb)
2026-11-17 21:30:45 +00:00
Martin Ball b964fed1c5 image-codecs: add jpeg_worst_case_coefficients (#778) (#2063)
A conservative pre-decode coefficient budget for hostile JPEG headers: the
larger of JpegInfo::held_coefficients and a whole-picture estimate over every
progressive frame header (SOF2/6/10/14, any precision, sampling clamped to
1..=4), with the costliest frame charged at the first frame's size when the
header can't be followed. held_coefficients is unchanged.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit ea02182945)
2026-11-17 21:30:45 +00:00
aiongg 427c816db0 Merge the Photoshop colour picker arrangement and NumberField unit placement 2026-11-17 16:09:20 +00:00
aiongg 2e6cc11242 Full colour picker: Photoshop arrangement (two groups, short fields, unit column, stacked compare block); NumberField UnitPlacement 2026-11-17 15:56:17 +00:00
aiongg a6b9d9c986 Merge the 17 Nov bug batch follow-ups: colour picker grid cells, tab joins at the layout's top edge, native stepped resize test kit 2026-11-17 15:39:15 +00:00