Each kept resolution holds the key of what it read: the state's revision,
the gate's key and answer, a shared generation (keymap and catalog, scope
parents, instances and their liveness, modal facts) and, when read, the
focus generation, the focused stop's edits and a layer's or menu's vantage.
A reader whose key holds gets the kept Arc<ResolvedCommand>; the wake at
the start of a pass walks only when an input moved. CommandGate is a fn
plus props, asked once per command per key. App-scope states come from a
held Tracked<CommandStates>. resolve and resolve_command return
Arc<ResolvedCommand>. Under testing, every 100th pass compares every kept
resolution with a full one; count_resolve counts new, repeated and checked
resolutions.
Merges main at 3b8e426a26.
- crates/ui: main's e-sign dialog (crates/ui/src/esign) moves to craft-cloud-ui beside the
share dialog, behind craft-cloud-ui's esign feature; craft-ui forwards `esign` and
re-exports the module.
- crates/proof: main's can_suggest_cased goes to affix/check.rs and its tests to
affix/tests.rs (next split affix.rs); French wiring in lib.rs.
- crates/svg: main's validated resolver and raster validation stay under tree-render, which
now also enables gif and image-webp; the shared image-codec helpers are gated on tree.
- craft-ai-agents: main's rev (craft-ai-integrations main), one entry.
- crates/craft: facade dependencies, features and re-exports for main's new crates.
A container's ThemeScope applies at its own env (step 1), so its surface, header,
rules, scroll bars, pads and focus ring resolve in the scope as well as its
regions, body and the layers opened from it; collections honour it too. The
root token cache keeps every entry read in the current frame, drops the least
recently read beyond eight, and moves a value hit onto the caller's Arc so the
next frames hit by pointer. The drag preview paints in the env of the region
the drag started in, a drop mark in its target region's tokens, and canvas
readouts in the asking region's env.
ThemeDef gains icon_pack (IconPackId), read and written as the top-level
icon_pack key of the v1 theme format. UiTokens::of_theme resolves a theme
and takes the icon set its pack names (craft.lucide, craft.phosphor,
craft.carbon, craft.tabler); a pack that is not installed draws the
default set. SvgIcon::of reads the set from the tokens, so IconSpec.set
is removed.
Store::save_theme replaces a library theme under the suite lock when its
file still has the stamp the caller loaded it with (StoreError::Changed
otherwise; built-ins refused) and bumps library_revision, sharing the
import/delete write steps. The disk backend replaces through craft_atomic
with the existing pre-rename guard, which now checks bytes for
selection.json and the stamp for a theme. Op::Save / OpOutput::Saved on
the worker; SuiteClient::save_theme, is_saving and take_saved, one save
in flight. Tests: store save, changed stamp, built-in refusal, client
round trip, and a save child in two_processes.
The shape record keeps each shape's place in the pass's paint order and the clip it shows through, and which
root a transformed body layer belongs to. pointer::press_winner resolves every root recorded on the topmost layer
at the press (a body layer's root beneath its body) and gives the press to the root whose winning shape was
recorded last; egui's targets stay only to tell a raw egui widget on top. The sensing core starts a press on that
root alone, so a control under a later body-sized widget takes its press and a frame handle over a nested editor
wins over the editor. Member widgets over nested roots, which only steered egui's target, are gone.
Trials: a control under a later body widget; one root of three overlapping ones starts each press.
An app workspace declares its selection, tracked crates, expected features,
environment, shards, default test times, run slots and test threads in its
root Cargo.toml; cl reads them from cargo metadata and refuses unknown keys
and wrong types. The PhotoCraft constants and CL_PC_LAUNCHER/CL_PC_RUNNER
are gone: every workspace uses CL_LAUNCHER and CL_RUNNER. `cl build
<example>` builds any example over the selection. Drops a committed
__pycache__ file and ignores __pycache__/.
- hide::shown reads ShellCx::panels_hidden: the host's Except stays, any other hide hides every panel; a hidden
dock (Tab) hides every panel. The columns no longer skip themselves on the shell's dock visibility.
- DockTo::Docked tries the dock columns' groups, then the docked tree's, as tabs, and takes the first the model
takes under the permissions (drop::takes), so a toolbar's group is passed over.
- DockSizes::title_row is FloatingGroup's title row height; the window commands' source, stepped window heights
and FloatSpace::title_row use it.
- Trials: hidden.rs, dock_back.rs, and the window group under the area's title row in floating_area.rs.
Pass::column shows a column, docked or floating: an IconicColumn while it is
collapsed, else a DockColumn, with what the user did turned into actions in
column_work. Each dock column calls it with its own bar; each floating window
calls it inside a FloatingGroup with ColumnBar::Window, the title row being
the column's bar: its double arrow sets the column iconic, and a collapsed
window shows its icons at their size against the float area's nearer edge.
The window's split tree, its split resizes and its minimized toggle are gone.
Trial: the double arrow collapses a floating window's column and expands it,
the window keeping its rect.
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.
- dialogs-w18: written from its sheet
- dialogs-w18: repair 1
- dialogs-w18: the grading tail reads dialogs-w17's blending and balance words; zone memory arms are statements (combine)
- dialogs-w18: review fixes (review-1)
- Integration: a kept binding with nothing stored reads its reset value
- dialogs-w18: review fixes (review-1): the mixer tab is a kept binding
- Integration: a component reads its running gesture's start value
- dialogs-w18: tone-zone drag reports absolute values (item 2)
- dialogs-w18: a mixed tone-zone value steps and drags from the zones' reset values (dialogs run round)
- framework-01-w2: repair 1
- framework-01-w2: RowStyle and ShapeTokens::rows go (size.rs, lib.rs rows of the sheet)
- framework-01-w2: list rows: option rows rounded, others square; layer rules in every theme (show.rs row of the sheet)
- framework-01-w2: review fixes (review-1)
- framework-01-w2: review fixes (review-1, files the rulings name)
- framework-01-w2: the escaped-sweep trial follows the sweep rule: only the eyes it switched are restored (fw01 round 2)
- framework-01-w2: a drop past the last item in reading order lands at the end, in every layout (fwcw round 3)