Commit Graph
56 Commits
Author SHA1 Message Date
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
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
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 0383e19b70 Keep a composite's faces out of the layout memory
A face measured by MeasureCx::face is part of its composite's measure
call: that call's answer and the inputs the faces read are the record
the layout memory keeps and checks. The face recorded a leaf of its own
under one id shared by every face of the composite, so only the first
face was kept, and a change to it that left the composite's size alone
dropped the kept measurements and asked for a discard pass.

measure_face measures a face as measure_under does, without the leaf.
2026-11-20 08:18:48 +00:00
aiongg ef1a365006 Lay out a text measured at its least once
TextRun::least (MeasureCx::least) returns the run laid out whole with its
least width, so a text measured at Proposal::Min no longer lays the whole
line out a second time for its height. A fitted select face takes its cap
from the same call. A select of 29 blend modes plus the mixed word lays out
56 texts per Min ask instead of 86.
2026-11-20 08:05:28 +00:00
Martin Ball e9f8979aac Merge craft-libs next 200447091 (memo-resolve, drag handles) into the WordCraft port: story command states through CommandStates 2026-11-20 00:36:56 +00:00
Martin Ball 6dedbe4fe6 skeleton: merge up/next into area/ribbon-fw with conflict markers left in (land step 1) 2026-11-19 20:42:08 +00:00
aiongg 20eec89c29 docs: regenerate contract-api.md 2026-11-19 16:41:17 +00:00
aiongg e31c08f0f6 docs: regenerate contract-api.md 2026-11-19 13:33:23 +00:00
aiongg 9bfa2c751b Command resolution only on change
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.
2026-11-19 10:33:55 +00:00
Martin Ball 1ca3168b02 platform-w3: net change of 2 commits
- platform-w3: written from its sheet
- platform-w3: review fixes (review-1)
2026-11-18 17:25:03 +00:00
aiongg 0238e191e3 Native dock windows: the mount carries that the app moves the window (Overlay::moved_by_app), so its first pass knows it before the Windows hit test is routed 2026-11-17 18:10:29 +00:00
aiongg 3c2d6360c6 Merge branch 'fw/mac1' into fw/press-route 2026-11-17 05:32:46 +00:00
aiongg a70609d944 Press routing: exactly one root starts a press, the one whose shape is on top under it
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.
2026-11-17 05:31:53 +00:00
aiongg 6d972e35ed Rails: ToolRail lays out the columns its width holds with a measure and dock grid; PanelRail and the CanvasPanel rail removed 2026-11-17 03:59:55 +00:00
aiongg 5a6839a3b3 dialogs-w18: net change of 9 commits
- 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)
2026-11-15 04:46:07 +00:00
aiongg 54c2116152 docs: contract-api and components-index regenerated 2026-11-13 19:30:04 +00:00
aiongg 1e2a432679 SwatchPair: round wells take the pointer in their circle, trial for the well shape per theme; Color panel slider modes: the ramp takes the room the channel rows leave (least size.ramp.bar); SliderField keeps its field width from its measure; story-render --theme/--mode; Fixture::theme_id 2026-11-13 19:26:50 +00:00
aiongg 5b3749e34a docs: PaintUi::measure in contract-api 2026-11-13 19:26:50 +00:00
aiongg 80fa53719e docs: contract-api and components-index regenerated 2026-11-13 18:47:26 +00:00
aiongg 449e133c11 A resized anchored popover keeps only its size: each opening places it from its anchor or point at that size, with grips only on the edges its placement leaves free; Contour picker in 4 columns; contract-api regenerated 2026-11-13 18:40:30 +00:00
aiongg 3944c303e3 Popovers size from their content, at least their anchor's width below or above it, capped by the window; a collection measured from its content lays its rows out at the width it asks for; PresetPicker and PresetBrowser columns (default 6) give the grid's ideal width 2026-11-13 18:40:30 +00:00
aiongg 4daa178128 docs: contract-api and components-index regenerated 2026-11-13 18:38:51 +00:00
aiongg df9a3eee36 docs: contract-api and components-index regenerated 2026-11-13 18:28:08 +00:00
aiongg 5a0f8a6cdd docs: contract-api and components-index regenerated 2026-11-13 18:25:40 +00:00
aiongg 42f4adb378 docs: contract-api and components-index regenerated 2026-11-13 18:21:18 +00:00
aiongg c6a443ac1b docs: contract-api and components-index regenerated 2026-11-13 18:02:26 +00:00
aiongg 449f761222 docs: contract-api and components-index regenerated 2026-11-13 17:56:56 +00:00
aiongg a350d741fc docs: contract-api and components-index regenerated 2026-11-13 17:43:26 +00:00
aiongg d2627ae1aa docs: contract-api and components-index regenerated 2026-11-13 16:41:47 +00:00
aiongg f910b4fe3c IME engine: an editor's own end of composition interrupts the OS composition; resets end only with their own completion
EditorState.composing replaces EditorState.revision (and TextEditorHost::revision): an editor that reported
composing and now does not ended the composition itself (a press in its text, a selection, an app edit over the
marked text), and the engine interrupts the OS composition and drops its late events. TextEditor and the sheet
grid report their marked text; editors that show none report false throughout.

The reset fence ends only with the completion of the engine's latest request (ImeResetId); an earlier request's
completion is stale. A request the integration can no longer answer (a pass with no IME output, an unfocused
window) is retired and asked again when an owner returns.

Trials: preedit and a click during composition for a canvas TextEditor, with one press per pass holding the late
commit for the next pass (craft-text); reset requests and stale completions (craft-ui-contract).
2026-11-13 16:15:16 +00:00
aiongg 957e2282c4 docs: contract-api and components-index regenerated 2026-11-13 13:19:33 +00:00
aiongg 27c143b9f0 docs: contract-api and components-index regenerated 2026-11-13 01:30:18 +00:00
aiongg 908da71beb New Workspace's Capture boxes sit in a titled group box; contract API lists the workspace captures 2026-11-13 01:22:55 +00:00
aiongg fcc93550ef docs: contract-api and components-index regenerated 2026-11-12 22:55:41 +00:00
aiongg 4e7ab74238 docs: contract-api and components-index regenerated 2026-11-12 22:48:32 +00:00
aiongg d3dedf55cb docs: contract-api and components-index regenerated 2026-11-12 22:40:25 +00:00
aiongg 15fe3dba92 docs: contract-api and components-index regenerated 2026-11-12 22:04:33 +00:00
aiongg 1894665c49 docs: contract-api and components-index regenerated 2026-11-12 15:16:45 +00:00
aiongg eef6832088 contract-api and components-index: regenerated (Component::RULE, shrink order) 2026-11-12 14:32:52 +00:00
aiongg 9471d93e9b contract-api and components-index: regenerated (filter types, band fill, list command form, SwatchPair glyphs) 2026-11-12 14:32:51 +00:00
aiongg ed285c40f5 contract-api: dialog width roles and the wrap width 2026-11-12 14:32:51 +00:00
aiongg 69d613ff2a contract-api and components-index: regenerated (list part drags, edge press, empty-space menu) 2026-11-12 14:32:51 +00:00
aiongg 71ee596134 contract-api and components-index: regenerated (DataMode, data_shapes) 2026-11-12 14:32:51 +00:00
aiongg 67b6471bef contract-api and components-index: regenerated (FooterRegion::inset) 2026-11-12 14:32:51 +00:00
aiongg 58343dfe88 contract-api: regenerated (Component::padding, PartsCx::rows_view, Draw::text by alignment) 2026-11-12 14:32:50 +00:00
aiongg 08b37f0edf contract-api and components-index: regenerated (disabled data colours) 2026-11-12 14:32:50 +00:00
aiongg 157f7a05b0 contract-api and components-index: regenerated (label columns) 2026-11-12 14:32:50 +00:00
aiongg 28cb372926 contract-api and components-index: regenerated (row heights, chart roles, polygon fill) 2026-11-12 14:32:50 +00:00
aiongg 793497ca28 contract-api: regenerated (glyph roles) 2026-11-12 14:32:50 +00:00