Commit Graph
6492 Commits
Author SHA1 Message Date
Martin BallandClaude Opus 5.5 6ca7cf0ecc docs: the components index regenerated from the registrations
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:46:43 +00:00
Martin BallandClaude Opus 5.5 a9deabd00e design-lint: api, props, contract and exception findings of the port code
- api/non-exhaustive: #[non_exhaustive] on public enums, variants and structs, with constructors for what
  callers built by struct expression (KeytipControl, GroupWidths, RibbonMenuRequest, EdgeLook::sample,
  BalloonItem, CropScope::object, PageBandRoom, WheelSpeed, AltCodePages, GalleryFace, GradientTile).
  GalleryItem, RibbonOutput, LineBreakOptions, AsianTypography and GapEdge join the closed list.
- props/hand-setter: setters that only store become #[prop] fields. Keytips drops its own enabled field
  for Common enabled, and its show becomes show_over.
- contract/no-global-state: constant tables are const, not static.
- contract/egui-import, memory, allocate: LayerId, TreeUpdate, Id::unique, the text scroll memory and
  allocate_space go through runtime::egui.
- contract/overlay-flag: CanvasScrollbars declares overlay; its drag story covers Open.
- Markers and exception entries only where the code is the exception (stories, trials, unit-square
  coordinates, the balloons id scope).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:38:56 +00:00
Martin BallandClaude Opus 5.5 1becfbb1ee ui-contract: lower layers no longer import higher ones (design-lint layer/import)
The painted pointer art and painted_image move from runtime::cursor to primitives::pointer_art, which
draws them; EditorSurrounding moves to runtime::ime, which reads it; StyleCx::face moves to
contract::items beside measure_under. EditorSurrounding gets text() and unavailable() constructors now
its variants are non_exhaustive. painted_image is reached as craft_ui::primitives::painted_image.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:38:49 +00:00
Martin BallandClaude Opus 5.5 84b8358d24 dialogs trial: the chooser folder field is compared with the platform separator (Windows)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:35:40 +00:00
Martin BallandClaude Opus 5.5 6999c3c7b2 ui-contract trial: on macOS, where Move has no default chord, Alt+F7 in a floating window is the app binding
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:28:58 +00:00
Martin BallandClaude Opus 5.5 e5ac84f5f5 platform: Apple open events pass the paths through without a same-type conversion (macOS clippy)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 08:27:24 +00:00
Martin BallandClaude Opus 5.5 a5f6cd7f6c Test kit: a closed child window leaves the next frame's input
The windows kit listed every child that ever ran a pass in each later
input, so a closed window stayed live with what its last pass left. Since
c8fe2cf86 a modal cover records itself from its first pass, so a window
closed right after its first modal pass (a Save prompt answered at once)
kept blocking the root's close in later frames. An integration drops a
viewport egui no longer outputs; the kit now does too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 05:16:35 +00:00
Martin BallandClaude Opus 5.5 5d6a3ef6ea Merge follow-up: the page view leaves room for its rulers without Canvas::show_rulers
Upstream 650694d5a removed Canvas::show_rulers and clips a canvas body to its view. PageView::rulers(on) now shows the canvas inside the ruler strips (Rulers::strips), so the view is inset as before, and runs the app body with the clip opened over the strips, where PageRulers show at PageBody::rect.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 04:53:30 +00:00
Martin BallandClaude Opus 5.5 9e099b475a Merge craft-libs next 3e9bbdff1 into the WordCraft port
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 04:29:29 +00:00
aiongg 3e9bbdff11 Merge pull request #2487 from aiongg/clipboard-wasm-imports
Clipboard: craft-platform's clipboard feature builds for wasm32
2026-11-19 23:24:47 -05:00
Martin BallandClaude Opus 5.5 5dda594ad1 Merge craft-libs next 3e85f5975 into the WordCraft port
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 04:24:38 +00:00
aiongg c6a1e2a372 Merge pull request #2470 from aiongg/canvas-view-clip
Clip a canvas's body to its view; the canvas shows its rulers
2026-11-19 23:24:05 -05:00
aiongg 3e85f5975a Merge pull request #2468 from aiongg/tool-overlay-clip
Brush tip outlines show only inside the canvas view (photocraft#15863)
2026-11-19 23:15:06 -05:00
aiongg a726e8a570 Merge pull request #2476 from aiongg/submenu-lag
Menus: a submenu row hover repaints only the menu
2026-11-19 23:14:23 -05:00
Martin BallandClaude Opus 5.5 bc4bb7bd73 Merge craft-libs next 7efbe8bb6 into the WordCraft port
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 03:53:30 +00:00
aiongg 7efbe8bb61 Merge pull request #2478 from aiongg/menu-gate-memo-key
menu: Gate and ModalRules key the runtime's command gate
2026-11-19 22:36:31 -05:00
aiongg 4c99a71f0f Merge pull request #2477 from aiongg/next-sync-1120
Merge storytold main into next (20 Nov sync)
2026-11-19 22:35:47 -05:00
Martin BallandClaude Opus 5.5 6eb08ef180 wasm: gate craft-print cancel token and craft-font-manager store imports off wasm32
On wasm32 the spooler-only `Cancel` internals (SENDING, CANCELLED_MESSAGE, start_sending)
and the SuiteStore imports (Arc, Catalog) were never used. They follow the same cfg as
their users, so the wasm check has no dead-code or unused-import warnings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 03:31:52 +00:00
Martin BallandClaude Opus 5.5 93bc1d8fbb Ribbon story: the app look shows the body band
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
2026-11-20 03:04:24 +00:00
Martin BallandClaude Opus 5.5 197d3b3b57 Ribbon gallery: framed and spare_buttons options, with a story
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
2026-11-20 03:04:24 +00:00
Martin BallandClaude Opus 5.5 7df066cd9a Ribbon look: the body on a lighter band ruled above and below (RibbonLook::body)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
2026-11-20 03:04:24 +00:00
Martin BallandClaude Opus 5.5 0eef719c72 Ribbon look: group columns a tight gap apart, so View fits with Zoom labelled as the old ribbon
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
2026-11-20 03:04:24 +00:00
Martin BallandClaude Opus 5.5 ed5b2b06b5 Ribbon look row height reaches check boxes: View Show rows at the 22-point pitch
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
2026-11-20 03:04:24 +00:00
Martin BallandClaude Opus 5.5 ace9547545 Ribbon look: tabs rest in the text colour over a bar underline (RibbonLook::tabs); the story shows the whole look
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
2026-11-20 03:04:24 +00:00
aiongg c8fe2cf860 A modal cover shows and absorbs from its first pass
The cover's egui area had no size on its first show, so egui made that
pass a hidden sizing pass: no scrim and no absorbed hits. The discard pass
every container layer used to ask on its first show hid this; without it
the opening frame published no cover, and a modal's drag strips over the
title bar came a frame late. The cover area is seeded at its screen rect
before its first pass, as container layers are.
2026-11-20 03:02:28 +00:00
aiongg 90e6fc41d1 Guides story: the drag travels a quarter of the canvas 2026-11-20 03:01:25 +00:00
aiongg fa8447050d Clipboard: the native-only conversions are imported only off wasm 2026-11-20 02:55:37 +00:00
aiongg 5b9cd2e994 Cursor: reach the layer id through runtime::egui 2026-11-20 02:31:59 +00:00
Martin Ball 2b7e9dc96b Ribbon: a collapsed group button shows the look menu arrow 2026-11-20 02:29:53 +00:00
Martin Ball 9bd719e717 Ribbon look: RibbonLook (renamed from RibbonIcons) sets the small row height; the body least follows three rows a tight gap apart 2026-11-20 02:26:58 +00:00
Martin Ball 44114f108b Ribbon menu arrows: RibbonIcons::arrow draws the filled triangle right after the label in its own room 2026-11-20 02:22:46 +00:00
Martin Ball 16cba38396 Ribbon: app icon sides (RibbonIcons, Ribbon::icons) and launcher icon; group titles centred; ribbon tabs padded, 28-pt bar, underline under the label; strip and row start insets 2026-11-20 02:17:30 +00:00
aiongg 3b45620977 Reveals end at a container on its own layer; trials for the aim wake and layer reveals
- Step 15 routes a reveal to the scroll owner only from a component in its
  parent's flow (`in_flow`): a container on a layer, full-window layer or
  OS viewport passes neither its own focus reveal nor its body's reveal to
  the scroll region of its opener or to what lies under it.
- The part of a revealed rect a scroll body passes on is computed from the
  move it applied, after clamping.
- `Fixture::repaint_delay`, and trials: a crossed menu row waits for its
  rest with one wake, and a menu opened below a scroll region's view leaves
  the region's offset.
2026-11-20 02:10:55 +00:00
aiongg 2e70718e57 Guides story: is_some_and for the rulers' click 2026-11-20 02:09:17 +00:00
aiongg 871e9590f8 svg, usd: module doc links name their items by path 2026-11-20 02:05:44 +00:00
aiongg 995f290435 Canvas: rulers carry their zero; clip skips transformed bodies; ruler trial checks the strip 2026-11-20 02:03:59 +00:00
aiongg d3bcafaf55 Cursor trial: the cover area takes a unique id 2026-11-20 01:53:53 +00:00
aiongg e19e64edba menu: Gate and ModalRules are props of the runtime's command gate
Gate derives MemoProps. ModalRules keys on its plain fields and its revision, which stands for the
pending closure the derive cannot take; design-lint allows that one hand-written impl.
2026-11-20 01:51:38 +00:00
aiongg b05c1c27f9 Merge storytold main into next (20 Nov sync) 2026-11-20 01:48:18 +00:00
aiongg a7822c06c7 Menus: a submenu row hover repaints only the menu
Opening a submenu ran every settling region of the window for two frames,
in two passes each:

- Menu level changes (open or clear a submenu, step, activate or run a row)
  ask `request_own_repaint`: no app data changed, so only the menu runs
  again. A crossed row waits for the end of its rest with one wake instead
  of a repaint every pass; the rest starts at the pointer's last move.
- A container layer is placed by the size its container measured in this
  pass, so it reads and records no `layer_size` entry and asks no discard
  pass on its first show.
- A reveal queues a scroll jump only when the clamped offset moves, and a
  container on its own layer or window passes no reveal on to the scroll
  region of its opener's body.
2026-11-20 01:46:51 +00:00
Dylan M. Taylor 3dff4793f1 craft-develop, craft-color-transform: deduplicate spline, add 1024-entry compose_len, spaces, and warm-green WB test (#2464)
* craft-develop, craft-color-transform: deduplicate spline, add 1024-entry Lut1::compose_len, spaces, and warm-green WB test

* cct: check bradford identity and matrix tolerance in warm-green WB test

* style(color-transform): fix clippy needless_range_loop in cct test
2026-11-19 20:36:43 -05:00
Dylan M. Taylor 106134631c video: add TrackDecoderOptions, with_threads, and set_draft on TrackDecoder (#2461)
* video: add TrackDecoderOptions, with_threads, and set_draft on TrackDecoder (#778)

* fix(video): allow unused opts when decoder features disabled

* video: fix unreachable pattern in TrackDecoder::set_draft and verify inner state on reset

* fix(video): allow irrefutable_let_patterns when single decoder feature enabled

* fix(video): remove nonexistent hevc/av1 Decoder::threads test getters

* style(video): allow clippy::cognitive_complexity in track options test
2026-11-19 20:36:39 -05:00
Dylan M. Taylor 483f2ab81f craft-usd: extract neutral USDA/USDC scene, prim, and layer read/write (#778) (#2459)
* craft-usd: extract neutral USDA/USDC scene, prim, and layer read/write (#778)

* chore: update Cargo.lock for craft-usd

* craft-usd: add integration tests for USDA/USDC scene read/write (#778)

* fix(usd): use asset-only external reference syntax in scene test

* test(usd): include Shader child prim for material surface target in neutral layer test
2026-11-19 20:36:34 -05:00
Dylan M. Taylor 03d1afced9 svg: extract shared SVG document/CSS interpretation helpers (#778) (#2456)
* svg: extract shared SVG document/CSS interpretation helpers (storytold/craft-libs#778)

* svg: document doc_style::length unknown-unit px fallback

* style(svg): fix clippy field_reassign_with_default in doc_style test
2026-11-19 20:36:26 -05:00
Martin Ball e93b8c1fea Docs: intra-doc links resolve under -D warnings 2026-11-20 01:33:09 +00:00
Martin BallandClaude Opus 5.5 a2085c5505 board: regression test for a kept resolution of the focused stop's edits
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 01:30:21 +00:00
Martin BallandClaude Opus 5.5 f73cb0d60a Command board: a kept resolution that read the focused stop edits is stale once an end hook moved them, so a read between passes (a test after its frames) sees a field Undo state
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 01:26:06 +00:00
Dylan M. Taylor 1a3be2d439 craft-develop: extract ToneMap/CameraTone and pure-Rust finish helpers (#2471)
* craft-develop: extract ToneMap/CameraTone and pure-Rust finish helpers

* fix(develop): add serde_json dev-dependency for tone tests
2026-11-19 20:23:11 -05:00
Alan Rockefeller bbe5b514a8 Dialogs: a Save over an existing file keeps its extension's spelling (#2114)
With Lowercase Extension on, saving over an existing PHOTO.PNG wrote
PHOTO.png: a second file beside the one the panel asked about on a file
system that tells letter case apart, or a silent rename on one that does
not. settled_save_path now lowercases only a name that does not exist yet.

Port of storytold/photocraft#9899, whose code moved here in
storytold/photocraft#15449.
2026-11-19 20:16:53 -05:00
Dylan M. Taylor 429937ad72 craft-dds: expose shared BC1-7, ETC1/EAC, and packed pixel decoders (#778) (#2460)
* craft-dds: expose shared BC1-7, ETC1/EAC, and packed pixel decoders (#778)

* fix(dds): qualify super::anchor in bptc test

* craft-dds: add independent known-answer test vectors for BC6H, BC7, ETC1, and EAC

* fix(dds): remove unused partition/anchor imports in bptc test
2026-11-19 20:03:14 -05:00