Removes the paired measure (Component::PAIRED_MEASURE, measure_pair and its
six adopters, MeasureCx::least_width) and the prepared-leaf path
(PreparedLeaf, PreparedStep, run_with, show_leaf_prepared,
measure_under_prepared, child_with_prepared): every leaf is measured by
measure alone, and the recursive run frames carry only what they read after
their children again.
Keeps the text layout memo and the lazy layout runs, with three fixes: a Line
run keys its width as infinity, entries unused for 60 passes go instead of
first in first out, and a 32 MiB budget bounds what the memo retains.
TextLayout's full and runs are private behind full() and runs().
The canvas settles the view it is given to whole device pixels, so a
thumb drag's first proposal came back with its centre a fraction of a
pixel off. The value step read that as the app changing the view under
the gesture and cancelled it (HostChanged); the cancelled gesture refused
every later proposal until the release, so the view moved once and then
stayed (photocraft#16006). The bars now take a host view with the same
zoom, turn, mirroring and aspect and a centre within a point as their own
value (same_value), as the number fields do with rounded values.
3155a1d38 made the hex field own Enter for the tabbed Colors dialog. The
Full layout focuses the same field on its first show, so its Enter only
committed the digits and the dialog stayed open. In the reference image
editor's Color Picker, digits typed there and Enter set the colour and
close the dialog. The field owns Enter in the Compact layout only.
The document chrome's step arrows were focusable stops. Tab stopped on
them, and when the canvas's focused part went away (a crop that shrank
the document) focus fell through to an arrow, which then took the Escape
that cancels the next crop frame. The canvas scrolls with its own keys
(arrows, Page Up/Down, Home and End), and in the reference application
the scroll bar arrows take no keyboard focus, so the arrows are
pointer-only, like the corner.
A spanned target catches only a point or box overlapping its span on the
other axis since canvas-w4, which keeps a layer's edge on its page from
catching a box on another page. Photoshop-style layer edges snap a box
beside them too (side-by-side boxes align their tops), so PhotoCraft's
Move tool stopped snapping to other layers' edges.
SnapTargets::reach_past_spans() lets every target catch along its whole
line, the span only shaping the drawn smart guide. The default is
unchanged, and filtered() keeps the setting.
next builds every crate's docs with -D warnings; main has no such check,
so main's new crate meets it here first. [`effects`] is both a module and
a function (mod@ picks the module), and loudness linked to the private
oversample module.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
next's submenu switch (62189858af) requests a plain repaint, and its trial counts a memoized view beside the bar,
which replays while sibling submenus switch, in place of a settling Lazy region.
Paint snaps to physical pixels and widget rects to the UI grid with f32::round, which takes a half step away from
zero: a coordinate on a half pixel moved by a whole pixel across zero snaps one pixel off the move (389.5 rounds to
390, -21.5 to -22). keeps_placement takes the moved area and needs it to keep its side of zero along each axis, so a
view moved across the window's edge runs. The gallery's glide to a selected card replayed a card one pixel off its
run under the audit.
A host runs a closed layer only while its open tween still shows it (motion::layer_fading). In the pass the exit
reaches its end the layer's container still runs, drives the tween to rest and paints nothing; a memoized view around
it kept that run as settled and replayed it, re-registering the layer's memory owner, while a real run of the next
pass skips the layer. layer_presence notes the pass unsettled when the exit ends there, so the next pass runs for real
and is the run kept. The menu bar's open-and-close trial runs under the audit.
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.
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).
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.