Commit Graph
5896 Commits
Author SHA1 Message Date
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 46b2a85470 Merge branch 'red/lag' into red/t4d 2026-11-16 22:00:35 +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
KenM76andClaude Opus 5.5 511e260d23 craft-mesh: test every scene choice; README names the new warnings
The README's glTF "Not read" line was doubled and listed sparse
accessors and tangents, which are read.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 16:55:57 -05:00
KenM76andClaude Opus 5.5 8c1498d1f8 craft-mesh: warn when glTF morph targets or other scenes are left out
A primitive's morph targets are not read, and only one scene becomes the
roots. Both now add a warning: a count of the primitives drawn in their
base shape, and which scene of how many was read.

Closes #1938.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 16:53:23 -05: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
KenM76andClaude Opus 5.5 deaee4e8e1 craft-mesh: decode a glTF data URI's percent escapes to bytes
A base64 body with `%2B`, `%2F` or `%3D` escapes was refused as bad
base64, and a plain body lost every escaped byte that was not UTF-8 to
U+FFFD. Escapes are now decoded to bytes first, then base64 when the URI
says so. `uri_decode` is unchanged for file names.

Closes #1936

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 16:47:28 -05: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 1d2dd82a0c save for web: trial for the WebP 4-Up variants 2026-11-16 21:39:35 +00:00
aiongg e8a5b74857 print: trial for the image box drag keeping capture off the sheet 2026-11-16 21:38:30 +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 5a9a7c6d5c HostedPrint::request_refresh asks the app for the printer list again 2026-11-16 21:37:53 +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 d29fa4dc5e Export As options always list scale_all so a control or test can set it on an empty list 2026-11-16 21:36: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
Dylan M. Taylor 892ef9116c ci: accept moved stable rust toolchain pin (#1472) 2026-11-16 16:21:25 -05: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