Commit Graph
18 Commits
Author SHA1 Message Date
aiongg 83b8649a7d R76: tool-host injection rides the window host's injected lanes
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.
2026-11-15 10:32:47 +00:00
aiongg 331a2a3ab2 tools-w11: net change of 4 commits
- tools-w11: written from its sheet
- tools-w11: repair 1
- Integration: gradient overlay builds its non_exhaustive StopColor with StopColor::new
- tools-w11: review fixes (review-1)
2026-11-15 04:46:08 +00:00
aiongg f87418d391 dialogs-w8: net change of 3 commits
- dialogs-w8: written by an agent
- dialogs-w8: the gradient map builds craft-color's non-exhaustive stops and rules through their constructors (combine)
- dialogs-w8: review fixes (review-1)
2026-11-15 04:46:08 +00:00
aiongg 6e122e4c38 dialogs-w3: net change of 1 commits
- dialogs-w3: written from its sheet
2026-11-15 04:46:07 +00:00
aiongg 20e0bcf93b dialogs-w2: net change of 3 commits
- dialogs-w2: written by an agent
- Integration: ParamRows keeps dialogs-w1's preview_colors beside the patterns rows (dialogs-w1 7a195af4a)
- dialogs-w2: review fixes (review-1)
2026-11-15 04:46:07 +00:00
aiongg d3257f265a dialogs-w15: net change of 7 commits
- dialogs-w15: written from its sheet
- dialogs-w15: repair 1
- dialogs-w15: trials build the non-exhaustive SaveForWebOptions from its default (combine)
- Integration: craft-color's re-export and panels trials take SwatchTable from craft_ui::choice (panels-w7 and panels-w6 requests, done here so the area compiles)
- dialogs-w15: review fixes (review-1)
- dialogs-w15: review fixes (item 3)
- dialogs-w15: the palette trial selects the Optimized pane, whose palette the Color Table shows (dialogs run round)
2026-11-15 04:46:07 +00:00
aiongg b0fc3a6521 dialogs-w10: net change of 5 commits
- dialogs-w10: written by an agent
- dialogs-w10: fill issues resolve their label through the env's view (combine)
- dialogs-w10: review fixes (review-1)
- dialogs-w10: review fixes (review-1): Props import
- dialogs-w10: liquify's command loop borrows the view per call, so the Preview command can toggle through set_preview (combine)
2026-11-15 04:46:07 +00:00
aiongg 51b41ec6df dialogs-w4: net change of 7 commits
- dialogs-w4: written by an agent
- dialogs-w4: finished by an agent
- dialogs-w4: drop the PLAN note on TextWords' export (combine)
- dialogs-w4: review fixes (review-1)
- dialogs-w4: the About tab strip takes its tabs' height in the stack header (dialogs run round)
- dialogs-w4: Integration: the dialog host ends the shown life of a dialog it removes (dialogs run round)
- dialogs-w4: ui.dialog.cancel on a prompt with Cancel answers that Cancel in the typed-dialogs trial, as dl.N2 rules (top run round)
2026-11-15 04:46:07 +00:00
aiongg 66a61366fa dialogs-w1: net change of 2 commits
- dialogs-w1: written by an agent
- dialogs-w1: review fixes (review-1)
2026-11-15 04:46:06 +00:00
aiongg f83986ad4b canvas-widgets-w3: net change of 9 commits
- canvas-widgets-w3: partly written (run interrupted)
- canvas-widgets-w3: partly written (run interrupted)
- canvas-widgets-w3: partly written (run interrupted)
- canvas-widgets-w3: written by an agent
- canvas-widgets-w3: review fixes (review-1)
- Integration: canvas trials keep canvas-widgets-w10's split module
- canvas-widgets-w3: the drag's snap reads the press bounds alone, so the release can take the gesture (combine)
- canvas-widgets-w3: the ruled guides trial shows its canvas in a room that holds the bounds, so its releases land on the canvas (fwcw round 3)
- canvas-widgets-w3: review fixes (review-tl-1)
2026-11-15 04:46:06 +00:00
aiongg 1951630307 canvas-widgets-w10: net change of 5 commits
- canvas-widgets-w10: partly written (run interrupted)
- canvas-widgets-w10: partly written (run interrupted)
- canvas-widgets-w10: partly written (run interrupted)
- canvas-widgets-w10: finished by an agent
- canvas-widgets-w10: review fixes (review-1)
2026-11-15 04:46:05 +00:00
aiongg 6c3fe5e209 panels-w13: written from its sheet 2026-11-14 17:56:01 +00:00
aiongg bb277cc3ac Lints: doc links, ungate the click event helper, api map entry for AppPaint, test allowances 2026-11-14 02:51:47 +00:00
aiongg 577055bc34 Merge storytold main 3c59a2aa5 into craft-framework (sync 13 Nov)
202 upstream commits since 6cb00467a. Resolutions:
- craft-window, craft-platform: ours. Upstream's frame policy v2, restore
  store and GNOME light/wait_first are the versions carried on 28 Oct;
  ours moved place() to craft-behavior and kept LayoutWatch and the
  appearance/portal.rs split.
- craft-timeline: ours. craft-time (crates/time) lands as upstream wrote
  it and is not yet used by craft-timeline.
- Old crates/ui modules stay removed. Upstream's frosted backdrops, shape
  gallery, dialog tabs and the iconic flyout top-edge rendering are not
  carried. The #1094 model half is in craft-behavior's dock:
  Group::flyout_offset and Action::MoveFlyoutTop.
- craft-update: #586 Save and Update, the install probe on the check
  thread and quiet per-user MSI self-updates, carried into updater.rs,
  stack_dialogs.rs, install/windows.rs and self_update/helper.rs.
- craft-jpeg: progressive Huffman decoding, carried into huffman.rs,
  parse.rs and scan.rs.
- craft-print: the driver settings dialog's new tests and the bounded
  XML parse's tests, as trials.
- Test-only conflicts: upstream tests from before the base that our side
  cut stay cut; tests new upstream are kept.
2026-11-13 17:11:48 +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 7fd2b260db ui-contract: the host's tool gesture holds only beside a modal body that keeps the canvas
The registry keeps the dialog's part and the host's part apart: the
host's gestures join the reach only while a modal body keeps the same
canvas, whatever order the two are made in, so a modal that keeps
nothing (an alert) leaves the canvas blocked. Trials: the host's gesture
lapses when the dialog stops keeping the canvas; under a dialog that
keeps nothing it passes no press and no wheel.

Also: the BlockingOverlay story's drive opens it; rows.rs doc wrapped;
api-map TonePickerRow note names pass_canvas_gesture.
2026-11-12 22:38:11 +00:00
aiongg 11e82a60b2 Canvas: trials for the painted display's surround and paint count; Fixture::frame_shapes clears the texture changes it drops 2026-11-12 22:02:35 +00:00
aiongg 3a0736c569 Docs: the framework, development workflow, design notes and migration records 2026-11-12 14:32:38 +00:00