Commit Graph
27 Commits
Author SHA1 Message Date
aiongg b8416e7cc7 An open press keeps the pointer until its button comes up: a press of a held button starts nothing, and injected input drops a Down for a button it holds 2026-11-16 21:26:42 +00:00
aiongg 63a4811416 cargo fmt 2026-11-16 14:34:57 +00:00
aiongg fbe5a16ffe design-lint: api/non-exhaustive: #[non_exhaustive] on public types and variants, constructors where other crates build them 2026-11-16 13:31:29 +00:00
aiongg a809ccadc6 merge-fwd: item 1: FW3: windows::mount_window decides a viewport mount's own window (not from a full-screen or Wayland-maximized opener) at all six sites; trials 2026-11-16 12:37:57 +00:00
aiongg 743dfd1da6 merge-fwa: FW4: one tool-icon cursor with a crosshair or arrow pointer (PointerTool replaces CrosshairTool), protractor drawing 2026-11-16 12:31:40 +00:00
aiongg 260a64cf62 Clippy: lints the gate denies in ui-contract and window (identical if blocks, then_some, an Option mask in the icon trial, items after the test module); the it tests name epaint_default_fonts' special emojis and use Id::unique 2026-11-16 01:55:23 +00:00
aiongg 9a47a9f65a tfix4-f7: injected input with a NaN or infinite point queues nothing; a release there lets go where the pointer is held 2026-11-15 22:52:38 +00:00
aiongg c1192adafc tfix4-f7: WindowHost::key_window and typing; the native menu's key equivalents and paste go to the window that has the keys 2026-11-15 22:51:10 +00:00
aiongg 95ee8ae9a5 tfix3-f5: pen readings pair one to one with the pass's moves from the last reading before them; a pass with contact drops pressure-0 readings and a lifted tap keeps its contact reading (#1798) 2026-11-15 19:00:52 +00:00
aiongg 80e47af962 tfix3-f4: hit reach read, snap kinds, warp frame, fill expand/contract, finite pointer requests, pen host end, exact right-angle cap, empty tone channels 2026-11-15 16:58:16 +00:00
aiongg 8d2b4c67a3 canvas-widgets-w14: net change of 2 commits
- canvas-widgets-w14: review fixes (review-1)
- canvas-widgets-w14: review fixes (round 2)
2026-11-15 09:18:08 +00:00
aiongg b9d2a9b266 top-w7: net change of 6 commits
- top-w7: written by an agent
- top-w7: review fixes (review-1.md)
- top-w7: menu redirect keeps the return stop's chain, with its trial (review-1.md, lead ruling on the gap)
- top-w7: a component inside a menu resolves its bound command from where focus goes once the menus close, through focus's walk (top run round)
- Integration: pick_focus trials keep top-w2's Help search-field Cut trial after this set's shortcut trial
- top-w7: a menu row's command takes its instance from the row's own chain, judged from the stop focus returns to, which gives the instance when the chain holds none (top run round)
2026-11-15 04:46:09 +00:00
aiongg 46bd564b75 top-w2: net change of 6 commits
- top-w2: written by an agent
- top-w2: finished by an agent
- top-w2: review fixes (review-1)
- top-w2: the menu-letter step of the shortcut trial types its letter as text, which mnemonics read (top run round)
- top-w2: typed letters in a menu go to the container of the focused row's level, with a trial for a title-click menu (top run round)
- top-w2: a menu row's pick walks out from the menu it runs in, with a trial for Cut from the Help search field's edit menu (top run round)
2026-11-15 04:46:09 +00:00
aiongg 6487acdbf4 dialogs-w17: net change of 11 commits
- dialogs-w17: written by an agent
- dialogs-w17: mod line for its raw_develop trials (combine)
- Integration: the Camera Raw workspace calls dialogs-w18's preview helpers as written (lab readouts, held clipping mask) and the sampler marks' carried prop; step events taken before queueing (combine)
- dialogs-w17: the curve splits' word, named after its settings field as the naming rule gives (combine)
- dialogs-w17: the settings side clones the reset value per pass (combine)
- dialogs-w17: review fixes (review-1)
- dialogs-w17: review fixes (review-1): the edited mark uses the catalog's filled circle
- dialogs-w17: Before is a momentary command, so its release shows the developed picture again; the trial's pictures report their changes (dialogs run round)
- Integration: a layer opened inside a modal family shows in the family's tier
- Integration: windows.rs keeps dialogs-w11's trials beside the full-window layer trial
- Integration: note_activated keeps canvas-widgets-w11's closed-layer walk over the tiered drawing stack
2026-11-15 04:46:07 +00:00
aiongg 83642e1416 dialogs-w5: net change of 3 commits
- dialogs-w5: written by an agent
- dialogs-w5: Integration: a closed container ends its shown life at once (dialogs run round)
- dialogs-w5: Integration: a closed dialog runs no pipeline; a hold opener's dwell is the opener's (dialogs run round)
2026-11-15 04:46:07 +00:00
aiongg b8cbaab7fa dialogs-w11: net change of 7 commits
- dialogs-w11: written by an agent
- dialogs-w11: finished by an agent
- dialogs-w11: measure_layer takes Overlay::full_window (combine)
- dialogs-w11: BrushWorkspace's queue is visible to its trials (combine)
- dialogs-w11: review fixes (review-1)
- dialogs-w11: the held-OK trial reads one tree for the shown and disabled checks (dialogs run round)
- dialogs-w11: a resizable window takes its default or content size only to open (dialogs run round)
2026-11-15 04:46:06 +00:00
aiongg 38fbe5ca55 canvas-widgets-w5: net change of 3 commits
- canvas-widgets-w5: written from its sheet
- canvas-widgets-w5: review fixes (review-1)
- canvas-widgets-w5: review fixes (review-top-1)
2026-11-15 04:46:06 +00:00
aiongg 1e8c2736ed canvas-widgets-w4: net change of 11 commits
- canvas-widgets-w4: written by an agent
- canvas-widgets-w4: finished by an agent
- canvas-widgets-w4: review fixes (review-1)
- canvas-widgets-w4: pen readings drain in the pass that carries moves (per-frame input rule)
- Integration: input hook keeps canvas-widgets-w13's frame key and inject_pass beside the focus-loss withdrawal and inject_ime
- canvas-widgets-w4: tp.T39 ControlClick moved from PhotoCraft (Integration: top-w7's item, on this set's hot path)
- canvas-widgets-w4: Control-click trial in the it binary (tp.T39)
- canvas-widgets-w4: the gesture-gap trial reads the wake once egui's wheel smoothing has settled (fwcw round 3)
- canvas-widgets-w4: the list-end trial starts a new wheel gesture at the list's end, as a running gesture keeps its taker (fwcw round 3)
- canvas-widgets-w4: the free-slider wheel trial points inside the panel, which is as wide as its members (fwcw round 3)
- canvas-widgets-w4: the Tab-and-paste trial uses prose editors, as a code editor part keeps Tab (fwcw round 3)
2026-11-15 04:46:06 +00:00
aiongg c0023f9e92 canvas-widgets-w13: net change of 12 commits
- canvas-widgets-w13: partly written (run interrupted)
- canvas-widgets-w13: partly written (run interrupted)
- canvas-widgets-w13: partly written (run interrupted)
- canvas-widgets-w13: review fixes (review-1)
- canvas-widgets-w13: input enters a frame's first pass only (per-frame input rule)
- fixup: count the rerun trial per consumer
- Integration: access trials keep framework-01-w5's face_record module
- canvas-widgets-w13: the listed-without-size trial clears its first frame's texture delta (fwcw round 3)
- canvas-widgets-w13: the first-pass gate holds back only the next step, so an unrun step is still withdrawn when its target changes (fwcw round 3)
- canvas-widgets-w13: wheel-turn trial carries Alt, which no input stage reinterprets (fwcw round 3)
- canvas-widgets-w13: bounds reads the last finished pass (egui widget_rect_last_pass, repin) (fwcw round 3)
- Integration: Cargo.lock for the egui repin
2026-11-15 04:46:06 +00:00
aiongg d2d7d870c9 canvas-widgets-w12: net change of 7 commits
- canvas-widgets-w12: written by an agent
- canvas-widgets-w12: review fixes (review-1)
- canvas-widgets-w12: the pass's elapsed time (top round, review-top-1)
- canvas-widgets-w12: the strip trial reads rows wholly in view, not the first row's clipped rect (top run round)
- canvas-widgets-w12: the walk out of the menus is focus's (out_of_menus), with the menu-level container and the running menu; a body group names its container (top run round)
- canvas-widgets-w12: the walk out of the menus stops at the first return stop that is no menu row, and a menu pick returns focus by the same walk (top run round)
- canvas-widgets-w12: the walk out of a layer returns the menus it crosses; a pick walks from the menu its row runs in, and an activation closes the layer it ran in and the menus that walk crosses (top run round)
2026-11-15 04:46:06 +00:00
aiongg 2151ca4cd4 canvas-widgets-w11: net change of 12 commits
- canvas-widgets-w11: partly written (run interrupted)
- canvas-widgets-w11: partly written (run interrupted)
- canvas-widgets-w11: partly written (run interrupted)
- canvas-widgets-w11: written by an agent
- canvas-widgets-w11: review fixes (review-1)
- canvas-widgets-w11: a root's response reports the presses on every part of its own, whatever egui widget took them; the part results say which part (fwcw round 3)
- canvas-widgets-w11: a press keeps focus only on the framework's focused stop, so a press on the canvas background focuses the canvas while a body member holds the stop (fwcw round 3)
- Integration: ui-widgets exports TextWords for Alert::range (dialogs-w4, cw.N6)
- canvas-widgets-w11: the held edit-menu selection drives the text part's keys and survives the pass focus takes to come back (top run round)
- canvas-widgets-w11: a root's own background is a hover candidate below its parts, and the root's response hovers by the framework's resolve wherever its arena is under the pointer; the press fallback to the background folds into the same shape (top run round)
- canvas-widgets-w11: an activation closes only the layers its walk out of the layer it ran in crosses, so a pick in a field's edit menu inside Help leaves Help open (top run round)
- Integration: overlay pass keeps framework-01-w9's layer spaces beside the activation's closed layers
2026-11-15 04:46:05 +00:00
aiongg 045b9df8c6 Cursor images: a trial for the root-window rule; the API map points CursorBitmap at the cursor service
Frames::frame_in_viewport runs a full frame of a child window, events and recorded output included, through the
fixture's one frame runner, so a trial can see what a child window's pass sends out. A painted pointer in a child
window sends no image and is painted.
2026-11-13 01:27:37 +00:00
aiongg 6e301f04c7 Cursor images: a badged system cursor keeps the system arrow; trials for where, when and how the image goes out 2026-11-13 01:27:37 +00:00
aiongg dd0666065e ui-contract: pass-local service state
The services the pipeline touches on every run live in one PassState with a
RefCell field each. The begin hook of a context's outermost pass on a thread
moves it out of context data into the thread; the end hook moves it back.
Inside a pass a service access is a borrow of a plain field: no TypeId map
probe, no Arc handle, no mutex. Access outside a pass holds the state for
that one call.

PerViewport types say where their records live through the Stored trait:
a context service by default, a PassState field for the pass-local ones.

The thread-local handle map (HANDLES, ContextToken, open_handles) goes;
Service::run is a context-data lookup for the services that stay there.
A testing counter of those lookups backs a trial: a settled pass of forty
leaves makes as many lookups as one of ten.
2026-11-12 14:32:39 +00:00
aiongg 65f67985fc Count trial: a settled memory stage records no slot again 2026-11-12 14:32:39 +00:00
aiongg 5835939df3 Memory write-back records only what the registry lacks 2026-11-12 14:32:39 +00:00
aiongg e4d2fc38fb Runtime and contract: craft-ui-contract, macros and the test kit 2026-11-12 14:09:32 +00:00