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.
A record moved by a whole pixel from positions off the float grid differs from a run at the new place by rounding
only. Shift::snapped takes a value's coordinates and floats from the run's where they lie within the tolerance, so the
journal, the rect and the output compare with == after it; egui's PassRecords::first_difference takes the same
tolerance (aiongg/egui b65cbd8d9, pinned here). Ids, counts, colours and text stay exact.
A tip outline the tool host requests carries its region: the canvas's view on
the canvas's layer. The window takes the whole outline as its cursor image only
while it lies inside that region with no layer over it; otherwise the ring paints
on the canvas's layer clipped to the view, under panels, menus and dialogs, and
the window takes only its marks, as for a tip too large for an image.
photocraft#15863
A kept run replays where its room is now: the room's position leaves the place comparison and
becomes the offset of one RecordShift, which moves egui's records, every journal entry and what
a memoized view returned. Room size, layer, layout, scale and environment stay compared.
- Place::shift_to: the move is a whole step of egui's UI rounding; a moved record holds no paint
callback and sits on an untransformed layer; clip rects follow when the clip moved with the
room, or when the run lay wholly inside its clip (nothing culled). Otherwise the view runs.
- Shift: journal arguments (A: Shift) and MemoView's R (R: Shift) move by the replay's shift
inside replay::replay; rects and points move, Clip goes through the clip rule, the rest stays
(stays!). Vec2 has no impl: a size and a move are both Vec2.
- The engaged test reads the moved rect; the scroll-view rule compares the view moved with the
record while the clip moved with it; sizing extents compare the room's size.
- The scroll body moves its content by whole UI rounding steps, as egui places widget rects.
- Trials: a moved replay equals a run there (pass records, revealed rects, returned rect); a room
of another size runs; a cut run moved under its clip runs and moved with its clip replays; the
Overview's scroll runs only entering cards and the pointer's.
A memoized view's content is a fn and its props are its only input, so the
framework sees every input it reads. While its key (the props type, the fn's
address and the props' inputs) equals the key after its last run, it adds
that run again and returns what the run returned. Lazy and MemoView share
one runner and one settled test; a memo view ignores the two rules that infer
a change of app data (input arrived, a repaint was asked), replays a run of an
earlier pass of the same frame when nothing it read was edited after the run
started and the run asked for no discard pass, and keeps its entry through
absence up to twice the shown views per viewport.
MemoProps gains identity() (the props type with its lifetimes erased, through
the typeid crate), &mut Tracked<T> by revision and Bind by value and place.
A binding's check takes its inputs as props: check(fn) and
check_with(inputs, fn), one mechanism; a composite hands its check on through
BindMut::check_of. The preset name check (NameCheck) takes inputs the same
way, with PresetNames as a library's names. Glyph is Any + MemoProps, and an
icon keys a glyph by its type, then by its key; the caption glyph owns an
Arc<CaptionIcons>.
Facts::register is journaled, layout memory notes discard asks into the open
record, and the settle counters become MemoRun and last_pass_memo_runs. The
idle-frame trial moves onto memo views, beside count trials of the mechanism.
`runtime::journal(ctx, args, again)` notes a registration as its arguments and a capture-free `again` (a function or
a closure without captures; a capture fails to compile). Two entries are equal when they come from the same `again`
with equal arguments, and `Debug` names the call and its arguments, so a replay can be compared with a real run.
The focus `Transcript` and the records it holds (`StopRec`, `ScopeRec`, `RowGroups`, `Stop`, `Group`, `KeyUse`,
`KeyRole`) derive `PartialEq`. The journal's argument types gain `PartialEq` or `Debug` where they lacked them;
`UiTokens` compares by its content key. The docking generics that journal drop spots require `PartialEq + Debug` of
the panel type.
MemoProps keys every input of a memoized view. The derive builds on the
plain-data field check, with #[memo_props(hash = "reason")] for foreign
plain types and #[memo_props(stateless)] for the type parameter of a
Stateless callback, which no fn item implements MemoProps for: the shared
check takes an optional per-parameter escape beside the field escape, and
PlainData passes none. FitKeep derives Hash.
`runtime::journal(ctx, args, again)` notes a registration as its arguments and a capture-free `again` (a function or
a closure without captures; a capture fails to compile). Two entries are equal when they come from the same `again`
with equal arguments, and `Debug` names the call and its arguments, so a replay can be compared with a real run.
The focus `Transcript` and the records it holds (`StopRec`, `ScopeRec`, `RowGroups`, `Stop`, `Group`, `KeyUse`,
`KeyRole`) derive `PartialEq`. The journal's argument types gain `PartialEq` or `Debug` where they lacked them;
`UiTokens` compares by its content key. The docking generics that journal drop spots require `PartialEq + Debug` of
the panel type.
The reference application adds an anchor when a click is up to 5 px
from a segment at 100 % and adds none at 6 px. The overlay's segments
hit within a line's 4 points, so a click 4.5 or 5 points away added
nothing under Add Anchor.
craft-behavior's polyline hit shape gets its own reach
(`HitShape::polyline_within`; `polyline` keeps `LINE_REACH`), and the
overlay gives Add Anchor's segments a 5-point reach. Delete Anchor,
Direct Selection and the other tools keep a line's reach.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- ribbon-w1: written by an agent
- ribbon-w1: finished by an agent
- ribbon-w1: finished by an agent
- ribbon-w1: review fixes (review-1b)
- ribbon-w1: review fixes (review-1c)
- 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)
- pdf-workflows-w1: written by an agent
- pdf-workflows-w1: finished by an agent
- pdf-workflows-w1: review fixes (review-1)
- pdf-workflows-w1: peek_rename, so a requested rename keeps its row listed (lead applied the refused hunk)
winit reports the pointer leaving the window while the button is held, and the
press machine marked the open press abandoned, which also stopped its drag from
starting. A window's resize grip lies inside the window and starts the OS
resize on DragStart, so pulling an edge outward left the window before slop and
the resize never started. Leaving the window now ends only the press's click.
`Permissions::docks_outside_columns` (on in `ALL`): without it a panel docks
only in dock columns or floats. Any action that leaves it in a frame of the
docked tree (a split beside the canvas, an edge of the docked area) is a
column-rights breach, so the model refuses it and a drag's dry run shows no
drop mark there. Reconcile moves a saved one out of a frame into a dock
column. A toolbar sets it so it never lies across the window.
- craft-behavior: Preview<V> derives Default with #[default] Unchanged (clippy::derivable_impls on Rust 1.100).
- craft-prepress tests/flatten_write.rs: main's even-odd test needs the Cyan ink const.
- craft-svg: the embedded-SVG scene test needs the data-URL image resolver, which is behind feature tree.
- Docs: no links to private items (markdown, dwg, ui-patterns), no link to a crate that is not a dependency (frame), write() for the function (doc-binary), an autolink for the URL (update), Self::from_bytes (psd). craft-midi's source_timed and craft-pdf's cos::content keep only their inner docs, so their links resolve inside the module.
- README: main's craft-zip entry with its lenient reader sentence, lost in the 17 Nov merge.