Commit Graph
4772 Commits
Author SHA1 Message Date
aiongg d69d80d2cd Merge branch 'red/t10' into fw/mac1 2026-11-16 22:47:46 +00:00
aiongg b865bd53ad Merge branch 'red/t9' into fw/mac1 2026-11-16 22:47:46 +00:00
aiongg 6ef7c0c489 Merge branch 'red/t8' into fw/mac1 2026-11-16 22:47:46 +00:00
aiongg 5d9a02e86b Merge branch 'red/t7' into fw/mac1
# Conflicts:
#	crates/behavior/src/geometry/draft.rs
#	crates/behavior/tests/geometry/draft.rs
2026-11-16 22:47:46 +00:00
aiongg 6de8fd7139 rustfmt the crates round A changed 2026-11-16 22:44:29 +00:00
aiongg 2313dd96a7 Readout trial: the release-pass check runs its tool in the canvas body, from the canvas's tool pass 2026-11-16 22:12:27 +00:00
aiongg e902b2d306 Merge branch 'red/lag' into fw/mac1 2026-11-16 22:03:51 +00:00
aiongg 36becdf099 ToolHost::run takes the canvas's ToolPass only
Every host runs in its canvas body, so the form that read a CanvasOutput after
the canvas goes: CanvasOutput no longer carries the pass, and run has no
measuring-run return (no measuring run publishes a pass).
2026-11-16 22:02:07 +00:00
aiongg 8df0d78832 Page view hands the canvas's tool pass to the app's body
PageBody carries the canvas's ToolPass, so the app runs its tool host inside
the page view's canvas body, after its controls and before the overlays that
show what the tool did.
2026-11-16 22:02:07 +00:00
aiongg 88a153964a Tool stories run their tool in the canvas body
The story body is the canvas body: it shows the canvas controls, runs the
tool through the StoryHost on the canvas's tool pass, then shows what reads
the tool's state, so the canvas shows a press and its moves in the same pass.
The run closure applies the tool's events and the story buttons' edits to the
document after the canvas. The body gets the document mutably, since some
tools edit it themselves.
2026-11-16 22:02:07 +00:00
aiongg cf3eee7427 Shortcut import keeps a command's default key first among the set's keys 2026-11-16 21:58:10 +00:00
aiongg c597f5547f Keymap test: the Alt variant follows the command's key and yields to a bound Alt chord 2026-11-16 21:57:28 +00:00
aiongg 87a005c790 Merge branch 'ci/facade' into fw/mac1 2026-11-16 21:52:46 +00:00
aiongg 0734fdde26 Merge branch 'red/lag' into fw/mac1 2026-11-16 21:52:46 +00:00
aiongg 8cb12aa24f Merge branch 'red/t4c' into fw/mac1 2026-11-16 21:52:46 +00:00
aiongg f5b4138b17 CropOverlay reports a secondary press released on its parts as a context click, as the gradient overlay does 2026-11-16 21:51:16 +00:00
aiongg 83b6d0e48f craft facade: craft-ai-agents is an external crate, outside the facade 2026-11-16 21:47:49 +00:00
aiongg c065f71978 Corner widgets: a trial of a triangle's apex rounding with the pointer travel 2026-11-16 21:45:24 +00:00
aiongg fc5e6c1bc8 New Guide trial: Position text that does not parse keeps OK from making a guide 2026-11-16 21:43:42 +00:00
aiongg 9824f49b06 Crop overlay leaves Escape to the window while the frame is the untouched default 2026-11-16 21:43:39 +00:00
aiongg 1e1b260512 RAW Develop: OK accepts a point curve left as stored, so an older Smart Filter commits 2026-11-16 21:43:06 +00:00
aiongg 9718d8cb0d The freehand Lasso moves its outline by the pointer's step while Space is held, as the marquees do 2026-11-16 21:42:01 +00:00
aiongg 242d00d30f Pen trial: the close badge shows only over the first anchor 2026-11-16 21:41:44 +00:00
aiongg 701d0b4d8b Adaptive Wide Angle: undo and redo as workspace requests, as the other workspaces take them 2026-11-16 21:41:29 +00:00
aiongg 8b2ec1f1fc Vanishing Point: a written paste position or width reports a Paste event, as planes and strokes do 2026-11-16 21:41:11 +00:00
aiongg da0994b60f A key automation holds at a canvas does not start a command while a text field has the keys, as the key stage does not 2026-11-16 21:40:10 +00:00
aiongg 94064f1040 RAW Develop trial: a sampler reads the before picture while Before shows 2026-11-16 21:37:57 +00:00
aiongg 5eefdb88a1 Run the tool host in the canvas body at every caller but tool_story and PageView
Gallery mock panels, ui-bench, review story, doc examples and the test sites run
ToolHost::run on the ToolPass the canvas publishes, after the body's controls and
before the picture, which paints with .picture().
2026-11-16 21:37:38 +00:00
aiongg 858c826f75 Merge branch 'red/lag' into fw/mac1 2026-11-16 21:35:59 +00:00
aiongg b8fba385db Merge branch 'red/t6' into fw/mac1 2026-11-16 21:35:40 +00:00
aiongg 4c563057cd Merge branch 'red/t5' into fw/mac1 2026-11-16 21:35:40 +00:00
aiongg e546c64d77 Merge branch 'red/t4' into fw/mac1 2026-11-16 21:35:40 +00:00
aiongg e6ab0f2153 Merge branch 'red/t3' into fw/mac1 2026-11-16 21:35:40 +00:00
aiongg 7916ccb93e Merge branch 'red/t2' into fw/mac1 2026-11-16 21:35:40 +00:00
aiongg 7a0eb4c0ee TransformOverlay reach: TransformReach::MoveOnly offers only the move reach outside the frame (no handles, sides, inside, outside, keys or menu; drawn only while its drag runs), replacing the f32 move reach; the box and overlay report the part their open press holds 2026-11-16 21:35:23 +00:00
aiongg 19f06c9322 Transform session: Undo or Redo inside the nudge pause records the nudges as their own step first, so Redo finds nothing after them 2026-11-16 21:33:31 +00:00
aiongg 1676d9d533 Canvas tool host runs in the canvas body: input, tool, picture in one pass
The canvas publishes its pass's tool input (ToolPass: id, rect, press, space,
view, snap) to its body; ToolHost::run reads it there, after the body's
controls and before its picture, so the picture shows this pass's press and
moves without a second pass. No ToolPass exists in a measuring run, so the
host never runs in one. The full-window canvas and ToolFixture run their host
this way, with the image in the canvas's picture slot. CanvasOutput still
converts for the callers not yet moved into their bodies.
2026-11-16 21:32:48 +00:00
aiongg 1231eaa6ff Crop tool trial: a Straighten line inside a frame snaps its ends as points, never as a frame move 2026-11-16 21:31:42 +00:00
aiongg edd7a2afcd A host cancels an open press by its owner through the press lifecycle Escape uses; BezierOverlay's parts follow the press's tool
cancel_press_of(ctx, owner) marks the arena holding the owner's open press; its next lifecycle run ends the press with
PressCancel::Host, which step 9 turns into a HostChanged cancel of the gesture. PartsCx reads the component's press
slot, so BezierOverlay declares its parts under the tool the press began with, as it handles them. The overlay lets go
of a press that is cancelled or that none of its parts carries, and a release with nothing held does nothing.
2026-11-16 21:29:20 +00:00
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 af40a12e48 Font picker: a preview the pointer proposed ends when the pointer leaves the rows 2026-11-16 21:21:57 +00:00
aiongg ebf36dc279 A Single Row or Column Marquee click inside the selection selects the line at the press snapped as a point, leaving out the selection's own edges 2026-11-16 21:21:53 +00:00
aiongg 2b66d91e8b IME engine: the input method's byte-counted delete-surrounding deletes the characters those bytes cover, converted at the editor against its text around the caret 2026-11-16 21:20:27 +00:00
aiongg bc61abdff2 Gradient preview carries the gradient's direction, so a Reverse edit changes the paint a chip sets 2026-11-16 21:18:29 +00:00
aiongg de2c2972c2 BezierOverlay: an open press keeps the tool it began under; the host can cancel the open press 2026-11-16 21:17:55 +00:00
aiongg 503c7b1f78 Frames can keep their clock still, so time passes only where a test advances it 2026-11-16 21:17:37 +00:00
aiongg 4ad172d12d Tool host: a drag's readout ends with its gesture; trial 2026-11-16 21:17:26 +00:00
aiongg 02732c6cb1 Crop session: a first Set records a box step (the history starts from the frame before the change) 2026-11-16 21:16:52 +00:00
aiongg 3151102d53 Trial: a ratio typed in several steps fits from the frame the edit began with 2026-11-16 21:15:41 +00:00
aiongg c53698127e TransformBox snapping follows PhotoCraft: inside drags snap the box's bounds, the reference point snaps to the box's nine points only, Distort corners snap to guides only and Ctrl keeps their snapping, and a folded-short corner reports no line 2026-11-16 21:15:37 +00:00