Commit Graph
121 Commits
Author SHA1 Message Date
aiongg 35b0b38909 Rename our craft-color to craft-color-ui; keep storytold main's craft-color (frame colour tags) at crates/color 2026-11-17 12:54:32 +00:00
aiongg ac3dfd1f53 Merge storytold main into next (17 Nov sync)
storytold main 83cb1133dd (291 commits) into the integration head bab1a99b85; 47 conflicted files.

- Domain test files (metafile, prepress, pdf plates, settings store, heif, media-testkit, atomic): tests next cut stay cut; tests new on main are kept, as trials where the crate's test target runs trials.
- atomic: main's group-bits test and Faulty::set_group go to src/tests.rs. audio: main's GSM and SBC oracles join tests/main.rs. cms constructors, pdf knockout_backdrop and testing_pdf join their crates' one test binary; timeline's preflight tests become src/preflight_tests.rs trials.
- update: main's changes to detect, install (linux, macos) and the tests land in next's split modules. The app's own offer is inspected on a thread of its own, picked up by tick's polling; settle_for_tests settles offers too. Later on a ready update drops the close it asked for. updater_pin_tests.rs stays deleted; its new pin test is in tests/it/update.rs.
- craft-color: main added a different crate at crates/color (the colour tags of compositor and display frames); it is next's craft-color module `tags`, re-exported at the root.
- Old crates/ui (combo, docking, testing, README) and keymap's ui/view.rs stay deleted; main's new crates/ui/src/testing files are dropped with them.
- New crates in the craft facade: ai, control, dds, frame, ipc, media-source, palette, press-print, score, ssip. testkit and xtask are listed outside it.
- Cargo.lock: the union of both locks, resolved by cargo metadata. Workflow: main's nextest Windows leg, with next's --keep-going clippy.
2026-11-17 12:44:52 +00:00
aiongg 73cf8de8f6 Pages: pages that take turns in one place at the size of the largest
A hidden page is measured only: a measuring run inside an invisible sizing
child, so it senses, registers and paints nothing. It reuses the size its
last measuring run found while nothing it read changed, under the settled
rules a measure reads (no input other than pointer motion, no edit of a value
it read, nothing moving, no app repaint): the measuring run opens the same
run record replay::open/close keeps for settling regions, and lazy keeps its
facts with the size. A reused page notes its reads again, so an edit of one
later in the pass reruns the pass.

PaintChip shows its paint kinds through Pages: its popover keeps the size of
its largest page, so a tab switch moves and resizes nothing.
2026-11-17 03:58:47 +00:00
aiongg fc22fcc030 Paint chip: the Solid tab's swatch list takes its content height up to five small control heights, then scrolls
In the content-sized popover the swatch browser filled the popover's whole room, as the gradient
palette did in the Gradient tab.
2026-11-17 00:40:21 +00:00
aiongg 0734fdde26 Merge branch 'red/lag' into fw/mac1 2026-11-16 21:52:46 +00:00
aiongg 5eefdb88a1 Run the tool host in the canvas body at every caller but tool_story and PageView
Gallery mock panels, ui-bench, review story, doc examples and the test sites run
ToolHost::run on the ToolPass the canvas publishes, after the body's controls and
before the picture, which paints with .picture().
2026-11-16 21:37:38 +00:00
aiongg bc61abdff2 Gradient preview carries the gradient's direction, so a Reverse edit changes the paint a chip sets 2026-11-16 21:18:29 +00:00
aiongg 9d61d87e46 cargo fmt 2026-11-16 18:29:58 +00:00
aiongg e0ebaf4634 A row's line record holds the line it shared: a row centred in another height measures its line afresh, so a title bar in its slot sits in the slot; the Swatches panel fills its room and scrolls its own swatches 2026-11-16 17:25:09 +00:00
aiongg 5215f02eef Merge branch 'fw/dlg-a' into fw/mac1 2026-11-16 16:47:54 +00:00
FredApps cc63a31309 Validate frame alpha depth and correct color metadata contracts 2026-11-16 17:41:25 +01:00
aiongg 68f7685b8e A form dialog's buttons go across the foot unless it asks for side buttons; Guide Layout, Layer Style and the Color Picker keep their button column 2026-11-16 16:37:51 +00:00
aiongg 23de14acd3 Hex fields show their # as the side label of their row: the Color readout, the compact and the full picker 2026-11-16 16:06:31 +00:00
FredApps b84343883d Validate compositor frame inputs and return allocation errors 2026-11-16 17:04:27 +01:00
aiongg 63a4811416 cargo fmt 2026-11-16 14:34:57 +00:00
FredApps f71eeae5fa Add craft-color and craft-frame for compositor pictures
craft-color holds ColorInfo, HdrMetadata, Y'CbCr matrices, transfer
functions and the small helpers display conversion needs. It is not a
colour-managed pipeline (no LUTs, log, grade or tone mapping).

craft-frame holds VideoFrame, PixelData, Chroma and Region: the
compositor and display picture type MediaSource will return. It is
distinct from craft-video's decoder-output VideoFrame (#1231 / #1768).

Came from the metadata and picture parts of filmcraft-color and
filmcraft-frame. Part of #778 and effectcraft#781.
2026-11-16 14:58:59 +01:00
aiongg c02478d2b1 HistoryEvent::rename/new_snapshot and SwatchEdit::move_group constructors 2026-11-16 13:44:24 +00:00
aiongg f647f41e82 Merge branch 'dl/api' into dl/all 2026-11-16 13:39:11 +00:00
aiongg fbe5a16ffe design-lint: api/non-exhaustive: #[non_exhaustive] on public types and variants, constructors where other crates build them 2026-11-16 13:31:29 +00:00
aiongg 6697fc9ebc design-lint: props: derive the setters of color components (#[prop]) and drop the hand setters 2026-11-16 13:27:45 +00:00
aiongg 0347762847 Merge branch 'fw/merge-f' into fw/merge-fb 2026-11-16 13:01:41 +00:00
aiongg 259fc8e0bc merge-fwb: FW13: param rows report range alerts; Global Light angle range and whole degrees; SliderField reports its field's range alert 2026-11-16 12:48:38 +00:00
aiongg 076e9ed13a merge-f: F2: Info panel shows the Ruler tool's measure (InfoMeasure; A, L, L1, L2) (#14982) 2026-11-16 12:46:23 +00:00
aiongg cc00dbd368 Clippy and test-target lints: redundant must_use, type aliases for complex types, boxed large variants, argument structs, struct-update initialisers, deprecated egui calls, unused imports and dead code; the swatch library's reorder test runs as a trial 2026-11-16 02:30:55 +00:00
aiongg 6d76e1a994 color trials: the injected-move HUD trial imports ShowContainer for the canvas 2026-11-15 10:39:27 +00:00
aiongg 83b8649a7d R76: tool-host injection rides the window host's injected lanes
ToolHost::inject hands each ToolInput to the window host's injected lane of the
canvas's viewport, one step per pass: presses, moves and releases as egui
pointer events (InjectedPointer), carrying the pen's reading, which the step's
pass reads in place of the tablet's; Hold/LetGo as steps with no event that the
lane holds (WindowHost::inject_hold, inject_let_go, injected_holds). The tool
reads its input from the canvas's press and the pass pointer as for a hand's,
so the Color HUD, hover and egui's button state see injected moves.

Held keys end where the lane drops input (withdrawal, focus loss, cancel, end
of the session). A held key's momentary command applies to the whole pass, as
the real key's does.

Removed: HostState.queued and injected_held, WindowHost::inject_pass and its
trial, the injected gesture path in the host (Active.injected, Run::injected,
pick_momentary), Momentary::press, ToolInput.clicks.

Trials: the injection trials run until injected_idle; new trials for a held
Space ended by a cancel, an injected pen reading, and the Color HUD picking at
an injected move.
2026-11-15 10:32:47 +00:00
aiongg 14d5ec609a cargo fmt 2026-11-15 10:23:21 +00:00
aiongg 6ece3ba5ce fwb1 review: Color HUD comment no longer claims ToolHost-injected moves stir the pass 2026-11-15 10:13:00 +00:00
aiongg 85ab1ada60 panels-w28: net change of 2 commits
- panels-w28: written by an agent
- panels-w28: review fixes (review-1)
2026-11-15 09:18:08 +00:00
aiongg 6476a39bb5 panels-w37: net change of 1 commits
- panels-w37: review fixes (review-1)
2026-11-15 09:18:07 +00:00
aiongg e5e7c3f593 tools-w12: net change of 6 commits
- tools-w12: written from its sheet
- tools-w12: repair 1
- tools-w12: review fixes (review-1.md)
- tools-w12: review fixes (review-1.md), keep planned trial name
- tools-w12: the Sample Size select hands the field body a reborrow of its binding (combine)
- tools-w12: the sampler trial puts the document at the canvas's top left, the view the canvas keeps; the invalid-capture trial is named for what it covers (tools run round)
2026-11-15 04:46:08 +00:00
aiongg f87418d391 dialogs-w8: net change of 3 commits
- dialogs-w8: written by an agent
- dialogs-w8: the gradient map builds craft-color's non-exhaustive stops and rules through their constructors (combine)
- dialogs-w8: review fixes (review-1)
2026-11-15 04:46:08 +00:00
aiongg 74322a79a9 dialogs-w6: net change of 4 commits
- dialogs-w6: written by an agent
- dialogs-w6: tone panels import the command traits (combine)
- dialogs-w6: review fixes (review-1)
- dialogs-w6: the compare swatch's current half sets the opening colour with its model values (dialogs run round)
2026-11-15 04:46:07 +00:00
aiongg d3257f265a dialogs-w15: net change of 7 commits
- dialogs-w15: written from its sheet
- dialogs-w15: repair 1
- dialogs-w15: trials build the non-exhaustive SaveForWebOptions from its default (combine)
- Integration: craft-color's re-export and panels trials take SwatchTable from craft_ui::choice (panels-w7 and panels-w6 requests, done here so the area compiles)
- dialogs-w15: review fixes (review-1)
- dialogs-w15: review fixes (item 3)
- dialogs-w15: the palette trial selects the Optimized pane, whose palette the Color Table shows (dialogs run round)
2026-11-15 04:46:07 +00:00
aiongg 51b41ec6df dialogs-w4: net change of 7 commits
- dialogs-w4: written by an agent
- dialogs-w4: finished by an agent
- dialogs-w4: drop the PLAN note on TextWords' export (combine)
- dialogs-w4: review fixes (review-1)
- dialogs-w4: the About tab strip takes its tabs' height in the stack header (dialogs run round)
- dialogs-w4: Integration: the dialog host ends the shown life of a dialog it removes (dialogs run round)
- dialogs-w4: ui.dialog.cancel on a prompt with Cancel answers that Cancel in the typed-dialogs trial, as dl.N2 rules (top run round)
2026-11-15 04:46:07 +00:00
aiongg c0023f9e92 canvas-widgets-w13: net change of 12 commits
- canvas-widgets-w13: partly written (run interrupted)
- canvas-widgets-w13: partly written (run interrupted)
- canvas-widgets-w13: partly written (run interrupted)
- canvas-widgets-w13: review fixes (review-1)
- canvas-widgets-w13: input enters a frame's first pass only (per-frame input rule)
- fixup: count the rerun trial per consumer
- Integration: access trials keep framework-01-w5's face_record module
- canvas-widgets-w13: the listed-without-size trial clears its first frame's texture delta (fwcw round 3)
- canvas-widgets-w13: the first-pass gate holds back only the next step, so an unrun step is still withdrawn when its target changes (fwcw round 3)
- canvas-widgets-w13: wheel-turn trial carries Alt, which no input stage reinterprets (fwcw round 3)
- canvas-widgets-w13: bounds reads the last finished pass (egui widget_rect_last_pass, repin) (fwcw round 3)
- Integration: Cargo.lock for the egui repin
2026-11-15 04:46:06 +00:00
aiongg bb9d7745b6 framework-01-w6: net change of 2 commits
- framework-01-w6: written from its sheet
- framework-01-w6: the edit-menu trials right-click outside the focusing click's click run (top run round)
2026-11-15 04:46:05 +00:00
aiongg 38d3342ad0 framework-01-w9: net change of 8 commits
- framework-01-w9: written by an agent
- framework-01-w9: finished by an agent
- Integration: desktop.rs icon_theme module lines owed by top-w2
- framework-01-w9: review fixes (review-1)
- framework-01-w9: layer containers map placement once (review-1 item 6)
- framework-01-w9: the flyout trials read the open panel's flyout, not one fading out (fw01 round 2)
- framework-01-w9: Flyout is IconicColumn's unregistered face (fw01 round 2)
- framework-01-w9: review fixes (review-tl-1.md)
2026-11-15 04:46:05 +00:00
aiongg e5c59f94fb Integration: lines owed by canvas-widgets-w4 (install app id), dialogs-w15 (SwatchTable export), dialogs-w8 and dialogs-w4 (color test modules) 2026-11-14 17:59:08 +00:00
aiongg e751988b64 panels-w31: review fixes (review-1) 2026-11-14 17:56:01 +00:00
aiongg e392c4f38c panels-w31: repair 1 2026-11-14 17:56:01 +00:00
aiongg 3802fcf910 panels-w31: written from its sheet 2026-11-14 17:56:01 +00:00
aiongg 67abb102f3 panels-w7: review fixes (review-3) 2026-11-14 17:56:00 +00:00
aiongg 700bb47e03 panels-w7: review fixes (review-2) 2026-11-14 17:56:00 +00:00
aiongg 61f6f0002b panels-w7: compile fixes (static story labels, table reads lines by reference) 2026-11-14 17:56:00 +00:00
aiongg bfbff6bd49 panels-w7: review fixes (review-1) 2026-11-14 17:56:00 +00:00
aiongg 39056798ee panels-w7: written from its sheet 2026-11-14 17:56:00 +00:00
aiongg c0da624878 panels-w6: review fixes (review-2) 2026-11-14 17:56:00 +00:00
aiongg 9ec8e74a98 panels-w6: rustfmt 2026-11-14 17:56:00 +00:00
aiongg 3de28472c2 panels-w6: review fixes (review-2) 2026-11-14 17:56:00 +00:00