Commit Graph
62 Commits
Author SHA1 Message Date
aiongg 2103be6de1 Fix clippy and rustdoc errors in automation, draw, imaging, svg, ui-patterns and ui-widgets 2026-11-16 15:40:46 +00:00
aiongg 63a4811416 cargo fmt 2026-11-16 14:34:57 +00:00
aiongg 8f1d4731d5 Props: vis option for setters; settings read follows open_with's folder and reports a damaged file; agent link rejects out-of-range ports 2026-11-16 14:10:46 +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 81f6211ee5 merge-fwg: automation trials: oversized reply, bad JSON id, repeat auth, unwritable token file 2026-11-16 13:11:32 +00:00
aiongg 8d3d8a3658 merge-fwe: FW16 E6: AgentsPage reads the host through the env view 2026-11-16 12:53:07 +00:00
aiongg 6da0540fce merge-fwe: FW16 E5: a link's first sync with agents off reports no change 2026-11-16 12:49:15 +00:00
aiongg a038653ff2 merge-fwe: FW16 E7: docs for agents in the open window (craft-automation README, craft-framework.md) 2026-11-16 12:48:01 +00:00
aiongg 42be2bc26c merge-fwe: FW16 E6: AgentsPage, the Agents page of Preferences over the agent settings in the draft (launcher switch line, link status, Control Port, folders through PathSetting, closed-app choice) 2026-11-16 12:47:42 +00:00
aiongg 6c8a1861bd merge-fwe: FW16 E5: AgentLink, the link host: start, move, stop and retry the agents' control server and publish its connection file 2026-11-16 12:40:26 +00:00
aiongg 463acfe5bd merge-fwe: FW16 E4: craft_automation::agents: agent settings, the launcher's switch (AgentSwitch) and the connection file 2026-11-16 12:38:25 +00:00
aiongg 77b98ad590 merge-fwe: FW16 E3: stoppable control server (listen, serve, Listening) replaces start 2026-11-16 12:36:06 +00:00
aiongg dffe1048ed merge-fwe: FW16 E2: challenge handshake (ServerHandshake) in craft-automation's control channel, one-frame auth kept 2026-11-16 12:35:15 +00:00
aiongg fa2993004a merge-fwe: FW16 E1: craft-ai-agents in the workspace and the craft facade, craft-automation agents feature 2026-11-16 12:33:41 +00:00
aiongg 4e69ea3f01 merge-fwa: FW1: actions library commands (Clear All, Reset, Replace) with one undo, PhotoCraft folder occurrences read into unique names 2026-11-16 12:31:25 +00:00
aiongg cc00dbd368 Clippy and test-target lints: redundant must_use, type aliases for complex types, boxed large variants, argument structs, struct-update initialisers, deprecated egui calls, unused imports and dead code; the swatch library's reorder test runs as a trial 2026-11-16 02:30:55 +00:00
aiongg b171283050 fmt 2026-11-16 01:01:56 +00:00
aiongg 4f7cf0bbfb Merge branch 'area/fwb2-f3' into area/fwb2 2026-11-15 17:02:15 +00:00
aiongg e390c0dba2 tfix3-f3: rustfmt 2026-11-15 17:01:49 +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 ef51284928 tfix3-f3: a hosted param dialog is instanced by its command key; take_keyed takes results of any instance (take keeps to uninstanced ones) 2026-11-15 16:56:45 +00:00
aiongg 450eba6c2d ui-patterns: hosted parameter dialogs open their values at open; custom rows declare companions and an opening value 2026-11-15 15:36:34 +00:00
aiongg 2bc5fd1782 tfix-dialog: a held OK is a state the host reports (HeldOk), and confirm finishes an accepted one
StackDialog::held_state / DialogHost::held_state tell a filed OK (Waiting), an accepted one and a refused one
apart from a refused confirm. HostedParamDialog and HostedWorkspace answer confirm with the accepted held answer;
Export As and Save for Web confirm without a path ask for the save dialog as their buttons do. ui.dialog.confirm
does not report a filed held OK as a refusal.
2026-11-15 14:26:31 +00:00
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 14d5ec609a cargo fmt 2026-11-15 10:23:21 +00:00
aiongg 80e4aa60d0 fwb1 review: file names keep their own names, only repeats are renamed 2026-11-15 10:01:34 +00:00
aiongg 68a389517a panels-w29: net change of 1 commits
- panels-w29: review fixes (review-1)
2026-11-15 09:18:08 +00:00
aiongg 280aa468e7 tools-w6: net change of 3 commits
- tools-w6: written by an agent
- tools-w6: review fixes (review-1)
- Integration: synthetic input trials keep canvas-widgets-w13's queued-pass trial beside tools-w6's
2026-11-15 04:46:08 +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 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 e93eaa8dfd panels-w9: review fixes (recording.rs) 2026-11-14 17:56:01 +00:00
aiongg b14f4d7f29 panels-w9: review fixes (review-1) 2026-11-14 17:56:01 +00:00
aiongg 33e79d645d panels-w9: written from its sheet 2026-11-14 17:56:01 +00:00
aiongg 0e216b6257 Contract stubs: decision pass 2026-11-14 16:07:24 +00:00
aiongg e9e3a961f4 Merge next (CI lint fixes) into phase2/stubs
# Conflicts:
#	crates/color/src/ui/swatches/menu.rs
2026-11-14 03:13:33 +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 deeb91802f Lints: doc links, test lint allowances, struct update in tests, wildcard imports, dead code 2026-11-14 02:35:35 +00:00
aiongg b12d6387c5 Contract stubs: craft-automation, craft-layers, craft-font-manager, craft-timeline, craft-print 2026-11-14 02:34:37 +00:00
aiongg a17171af48 Lints: drop the workspace missing_docs lint and warn on it in the framework crates that document every public item 2026-11-14 00:15:29 +00:00
aiongg 871945b5ae Trial: the focus target uses Id::unique (Id::new is deprecated in the egui pin) 2026-11-13 18:21:21 +00:00
aiongg b0f858b567 Injected input: a document withdraw takes effect per step at the next input hook and removes a handed-over step 2026-11-13 18:21:21 +00:00
aiongg 9d0d7ff3e2 Trial: queued input is withdrawn when its target changes 2026-11-13 18:21:21 +00:00
aiongg 12dae06907 Injected input holds presses, keys and modifiers; wheel, release, Caps Lock override, hover rest and document points 2026-11-13 18:21:21 +00:00
aiongg a9ed41b60f DialogHost::open_beside and close_beside: app dialogs take their stack place when they open and close 2026-11-13 18:15:44 +00:00
aiongg e98b39a326 DialogHost::sync_beside and automation inspect_stack: app dialogs share the host's stack 2026-11-13 18:15:44 +00:00
aiongg 409e1c9d67 docs: porting guide 6.4 captures old and port through craft-automation; trial for the client sample; README client row 2026-11-13 04:28:22 +00:00
aiongg 0109b9b8bf craft-automation: trials for the screenshot queue's budgets, settling, deadlines, cancellation, document generation and image checks 2026-11-13 03:20:08 +00:00
aiongg 738d034b69 craft-automation: names_open_dialog tells an app which ui.dialog requests are its DialogHost's 2026-11-13 03:20:08 +00:00
aiongg d4c4f57d96 craft-automation: a finished job sends the app's reply, so an error can carry partial results 2026-11-13 03:20:08 +00:00
aiongg 01f146b931 Dialogs: automation answers only what a user can press
StandardPrompt and UnsavedChangesDialog build their buttons, their choice
check and their programmatic OK from one offered list; a choice without an
enabled button is refused. HostedParamDialog opens its values once (remembered
values, defaults) before its first show, OK or set, through the helper the
first pass uses; OK builds its result through one helper; set refuses rows
that are hidden or disabled and reads the value as its row's kind.
set_json_field takes the Context. Automation lists dialog ids as decimal
strings, takes a string or a number, and names only the host's dialogs.
2026-11-12 22:27:40 +00:00