Commit Graph
6685 Commits
Author SHA1 Message Date
aiongg ec70bb0ff0 Merge storytold next into memo-audit-fix
next's egui pin (6525c87923, storytold/egui#53 on top of the branch's 1a44fd11cd) replaces the branch's; the lockfile
keeps the branch's typeid and craft-ui-contract dependencies. A replay keeps passing its shift: next's in-place
replay is the branch's RecordShift::none case.
2026-11-20 15:01:43 +00:00
aiongg 39da1180ee Merge storytold next into memo-audit-fix
next's WordCraft port and the framework work under it (243d68e12d) take the memoized-view APIs where they meet the
branch: story values bind through StoryData::bind, value_at and pair_at (next's copy-out stories included; one held
form story still binds a copy, as its held answer is a note beside the value); next's env values (GroupLevel,
ControlPlace, RibbonLook, ScreenModeSet), IconMark and PageBandRoom derive MemoProps, and the shell entry keys the page
band's room; request_own_repaint calls become request_repaint. The collection extent next reworked (motion-owned
style context, FillHeight, ideal width by item count) moves into items_extent. The header's hosted cells join the
parts' roving group from the pass's own membership (parts_group over Cx::join_roving), as the parts' stops do. A
content-sized shell slot measures its content with the app running in it every pass. The gallery card hands the
story's output from its view's real run (StoryRun).
2026-11-20 14:58:23 +00:00
FredApps 7afb9444d3 Merge pull request #2544 from storytold/deps/egui-font-cache-revision
Update egui for reusable font layouts
2026-11-20 21:46:26 +07:00
aiongg a214d2e8e5 MemoProps: every_pass, covered_by and address derive attributes; the framework's own keys stay hand-written in ui-contract
The derive takes #[memo_props(every_pass = "why")] on a type (it keys in every pass and
feeds no field), #[memo_props(covered_by = "<field>", reason = "why")] on a field another
field of the same variant stands for (the named field must exist and feed the key) and
#[memo_props(address = "why")] on a &'static field. Group, menu level, timeline and canvas
contexts and GuideDrag key in every pass; CaptionIcons, Catalog and ModalRules name the
field that covers the rest (ModalRules' allowlist entry goes); CardStory keys its
registration by address. design-lint allows hand impls of framework keys in ui-contract
(values.rs, icon.rs, memo_view.rs beside memo.rs) and lists the gallery's &mut state views
and the two presets walks with their reasons. Doctests for each attribute.
2026-11-20 14:21:25 +00:00
aiongg 6575942aed MemoProps by the derive where it expresses the key; the tool rail trials' rooms are trial rooms
ShapePreset derives (a fieldless enum: its variant), UnderVeil and the gallery card's Look
derive with their foreign fields keyed by Hash. The rail trials' fixture room is exempt from
literal-size as the iconic column trials' are.
2026-11-20 14:08:58 +00:00
aiongg 31bda8a4fb craft-ui: a root shown at a rect that is not a number registers its egui widget at no place
The root's widget takes its whole rect since f43fb4e2c2, so a NaN rect reached egui's
create_widget, which asserts on it (value_drag's degenerate-rect trial). Before, the
intersection with the clip hid it.
2026-11-20 13:57:58 +00:00
aiongg b4dc6b1e2f craft-ui: a memoized view's content keeps the axes its body sizes from its content
start_room cleared the enclosing body's content axes, so a fill-width child in a view
shown in a content-sized column took the room instead of its measured size: the tool
rail's slot grid filled the Liquify and Vanishing Point dialogs' rows and left their
canvases no width. The axes stay, like cell_fills and least, and the scope key holds them.
Trial: a view in a content-sized column lays its fill-width row out as outside a view.
2026-11-20 13:57:58 +00:00
aiongg fade8e0ba5 craft-ui: a focus request waits for the stop it names when that stop registers later in the pass
A component asks for its own focus from update, and its stops register after update
(910a14280f). The request found no stop and focused the component's id, which is no egui
widget when the stop's root is another widget (an arena member's root), so egui dropped the
focus after its grace pass: a shortcut recorder lost focus before any key reached it. The
stop now takes the focus when it registers in the same pass.
2026-11-20 13:47:38 +00:00
Martin Ball 243d68e12d Merge pull request #2473 from storytold/port/wordcraft-ui
WordCraft UI port: framework changes
2026-11-20 13:31:28 +00:00
Martin BallandClaude Opus 5.5 c7d194eb66 ribbon face: stacked lines measure through MeasureCx::least, as next now does
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:27:09 +00:00
FredApps d4eb5c01a3 Keep the egui fork revision constant in sync 2026-11-20 14:22:27 +01:00
Martin BallandClaude Opus 5.5 5970a5a5e3 Merge storytold next (9ca7a5480) into the port
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:21:54 +00:00
David Mann 9ca7a54803 Merge pull request #2520 from aiongg/select-measure-once
Measure a select's faces once and keep them out of the layout memory
2026-11-20 14:20:09 +01:00
FredApps 96e54fd6dd Keep recorded replay in place after egui update 2026-11-20 13:45:13 +01:00
FredApps 13fa150f7e Merge pull request #2365 from storytold/perf/2218-video
video: consolidate integration test binaries
2026-11-20 19:43:03 +07:00
aiongg be31589c88 craft-timeline: drop an unused import in the timecode tests 2026-11-20 12:37:47 +00:00
FredApps 5cbdea1d15 build: update egui for reusable font layouts 2026-11-20 13:36:36 +01:00
aiongg e08485440e craft-ui-panels: the group header's doc names the tab row view without linking a private item 2026-11-20 12:29:04 +00:00
Martin BallandClaude Opus 5.5 27c1c0ebb1 Merge storytold next (d5b465e54) into the port
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:17:11 +00:00
aiongg d9475fba2b craft-ui: a root keeps the key focus it holds for a member at step 8
The stop of an arena member (a radio in its group, a theme chip) has its root's
egui widget as its widget. Step 8 registers that widget with the root's own and
its parts' senses, and the members' senses join once the body has run
(widen_root). egui drops the focus of a widget registered without a focus sense,
so Tab, an AccessKit Focus or a press that focused a member lost it in the same
pass. While the focus service says the root holds focus for another component's
stop (focus::held_for_member), the step-8 sense includes focus.
2026-11-20 12:16:39 +00:00
aiongg 4af1ede89b craft-ui: arrays and texture ids carry through a shifted replay 2026-11-20 12:04:34 +00:00
aiongg fbb1f0f911 story-render: walk the gallery's kept story states through Cells::states_mut 2026-11-20 11:56:02 +00:00
aiongg 7e5db7494b ci: the workflow test knows the Linux leg's replay audit step 2026-11-20 11:48:03 +00:00
David Mann d5b465e544 Merge pull request #2419 from haranishi/fix/10102-raw-window-placement
Remember the native Raw Develop window placement
2026-11-20 12:44:45 +01:00
aiongg 439a6ced67 Merge storytold next into memo-audit-fix 2026-11-20 11:44:32 +00:00
FredApps a00313a52e Merge pull request #2375 from storytold/perf/2218-time-evm
time and evm: consolidate integration tests
2026-11-20 18:41:15 +07:00
FredApps 82ebc7bb35 Merge pull request #2374 from storytold/perf/2218-cloud
cloud, proof and testkit: consolidate integration tests
2026-11-20 18:40:16 +07:00
FredApps 35786102e9 Merge pull request #2372 from storytold/perf/2218-idml
document formats: consolidate integration tests
2026-11-20 18:39:16 +07:00
FredApps 00963f1d77 Merge pull request #2371 from storytold/perf/2218-sourcemap
XML formats: consolidate integration tests
2026-11-20 18:36:15 +07:00
FredApps f5e078193b Merge pull request #2370 from storytold/perf/2218-pptx
office formats: consolidate integration tests
2026-11-20 18:34:52 +07:00
FredApps ab9f9a4a27 Merge pull request #2369 from storytold/perf/2218-raster
image codecs: consolidate integration tests
2026-11-20 18:33:50 +07:00
FredApps 0ff58f1dac Merge pull request #2368 from storytold/perf/2218-dxf
dxf and prc: consolidate integration tests
2026-11-20 18:32:19 +07:00
FredApps 20dec8bbfc Merge pull request #2367 from storytold/perf/2218-zip
zip: consolidate integration test binaries
2026-11-20 18:30:49 +07:00
FredApps bcd5feda80 Merge pull request #2366 from storytold/perf/2218-ipc
ipc: consolidate integration tests and preserve discovery isolation
2026-11-20 18:29:32 +07:00
FredApps 06b351f51d Merge pull request #2364 from storytold/perf/2218-pcap
pcap: consolidate integration test binaries
2026-11-20 18:28:01 +07:00
FredApps f2180e9a9c Merge remote-tracking branch 'origin/next' into HEAD 2026-11-20 12:24:55 +01:00
aiongg 2d61e3e443 Audit trial: a kept run that missed a framework input, which only the run's facts hold
A missed inspection-record read is also in the run's journal, so the
journal comparison caught it before the facts were compared.
2026-11-20 11:23:36 +00:00
FredApps 186d77bcad Merge pull request #2373 from storytold/perf/2218-menu
menu: consolidate tests and keep AppKit on the main thread
2026-11-20 18:22:34 +07:00
FredApps c8d7736628 Merge pull request #2362 from storytold/perf/2335-runtime-accessors
Share pass services and contract steps across component types
2026-11-20 18:20:49 +07:00
aiongg 69ae41ff40 Reads: an edit reaches every read of an overlapping span in its source
A field's edit reaches a read of the whole value, as a whole value's edit
reaches its fields, in the same-frame rerun and in a settled view's check.
2026-11-20 11:20:46 +00:00
aiongg ea609119ea egui: pin storytold/egui next at 1a44fd11c 2026-11-20 11:17:07 +00:00
aiongg a9bd542c50 Container regions: a scrolling body in unbounded room shows its measured line in every real run
The real run is told by the run's own flag (no sizing pass), not by
whether a measured size is present.
2026-11-20 11:17:07 +00:00
aiongg 4b2769acac Replay audit: bare floats exact, reads and inputs compared; a whole story value's edit reaches its fields
A bare f32 or f64 a record holds or a view returns compares exactly; only
positions and the hit-shape distances snap within the tolerance. The audit
compares a kept run's reads and framework inputs with the real run's. A
command reader notes the keymap whether its resolution was kept or made
in the pass. A Tracked key holds its size, and an edit reaches every read
of a part inside it (BindKey::reaches), so a field of a story value bound
earlier in the pass runs again when the Properties editor writes the
whole value. Story value keys hash the name and the type.
2026-11-20 11:17:07 +00:00
aiongg 7dfc887cec Lints: DropMark copies; PlainData puts its bound on the type parameter; a stop-group alias in a bar trial 2026-11-20 11:17:07 +00:00
aiongg bddc593180 Merge storytold next into memo-audit-fix
Memoized views stay the one change mechanism: next's settling-path additions (modifier reads as bind keys, given-edit
and keymap unsettling, settle counters) give way to the tracked inputs that cover them, and request_own_repaint calls
become request_repaint. next's command board, node facts after the node check, the guide drag out of a ruler and the
CommandStates input are taken; the trials next wrote on Lazy::settles run on memoized views. The ruler guide env value
keys a view under the canvas in every pass of a drag. The replay audit's run in the gate takes next's target selection.
2026-11-20 10:26:06 +00:00
aiongg 5589523161 stories: values bound together come from one story value or StoryData::pair_at, helpers bind by source
A story binds two values at once from pair_at when one of them must keep its own name, as a dialog's open does for
the gallery's opener; values bound together otherwise share one story value, and a helper takes the value's ValueAt
beside it. The PDF export story's open leaves its settings value, so the card opens the dialog again after Cancel.
Unused Bind imports in story files are gone.
2026-11-20 10:11:06 +00:00
aiongg ddc06cae58 craft-ui: a scrolling body's measuring run keeps its unbounded band
The bound to the measured line applies once this pass measured the body; its measuring run lays the content out in
the unbounded band, so a measure reports the content's whole extent.
2026-11-20 09:58:39 +00:00
aiongg cc6c57134c craft-ui: face measure docs name every caller (measure, parts, header parts); trial says why entry 0 2026-11-20 09:52:22 +00:00
aiongg 717ff260cb stories: format 2026-11-20 09:50:49 +00:00
aiongg f39ad653e3 tests: drop the two card audit trials that pass without their fixes
Shown as the gallery shows cards (raised surfaces in rows that run only in view), a card moved by a fractional wheel
step and a card partly out of view still replay equal to a run with the moved-replay fixes reverted, so neither trial
guards them; the gallery's audit-on suite does.
2026-11-20 09:49:11 +00:00