Commit Graph
11 Commits
Author SHA1 Message Date
dotCooCoo 3cd484ceb5 Merge next into feat/automation-ui-drag 2026-11-24 09:08:47 -08:00
Dylan M. Taylor 84dd65f487 fw-sync fw-menu-misc: resolve menu, behavior, automation, font picker, theme, color-ui, docs, vendor, Cargo.lock
menu: upstream's memoised bar and English names in the model, with the port's icons/compact
options and disabled submenus. behavior: press keeps both the pointer-left and pass-drag
states; KeyRole gains PartialEq/Eq. automation: agents deps via craft-control, screenshot
params with region, document points with a page. font picker: upstream's column list, kinds,
actions and missing note, with the port's host groups, current host row and mixed label.
theme: wordcraft and pdfcraft app palettes. Cargo.lock: port side; vendor jbig2: upstream.
2026-11-22 22:58:08 -05:00
Dylan M. Taylor cb3101725c sync skeleton: origin/next 118f1d2ff9 into pdf-port/gaps ea77c1676f, markers left
257 conflicted files staged with their conflict markers (630 hunks). The one
modify/delete, crates/ui-patterns/src/patterns/preferences/body.rs (deleted
upstream, modified by the port), keeps the port's file for its area to carry
into upstream's preferences/page.rs. Plan: landing/fw-sync-plan.md.
2026-11-22 22:42:09 -05:00
dotCooCoo 45515d18b5 craft-automation: ui.drag presses, moves in even steps and releases as one request
A host app that serves the control channel can now run a whole drag
from one request instead of composing ui.click with hold, ui.move steps
and ui.release itself.

- synthetic::Drag reads {from, to, button?, steps?, modifiers}. from and
  to are point objects {x?, y?, coordinates?, page?}, each in its own
  space; errors inside one name it (from.x ...). steps runs from 1 to
  MAX_DRAG_STEPS (200), default DRAG_STEPS (12).
- Drag::inject resolves both points before it queues anything, then
  queues the press at from, the moves to to in even steps (the last one
  lands on to) and the release at to. The modifiers stay held through
  the release and are let go afterwards unless other input stays held,
  as after ui.click.
- input_method dispatches ui.drag, so its reply waits for the release.
- The crate README, docs/craft-framework.md and docs/porting.md list it.

Tests: a drag with a document-point end presses at from, makes one move
per step towards to, releases at to and leaves nothing held; a drag
keeps its modifiers while a held key stays down; a drag whose end
cannot be placed queues no press; bad drag params join the refused-input
table.
2026-11-21 15:29:19 -08:00
aiongg 1851f6984f Component constants: one-component values live in the component's file
A dimension that belongs to one component's own drawing is a documented
constant in that component's file; layout sizes stay semantic tokens, and
no size-preset token exists for one component (craft-framework.md 5.4).

- Spec: 5.4 rule 3 reworded; Appendix A, 4.6 (the component-token rung
  goes, no such tokens exist), 8.3, porting.md and the theme README agree.
- design-lint: literal-size/* treats a module- or impl-level const with a
  doc comment as a named value: a name that resolves to it is not flagged,
  and its initializer is its definition. Fn-local and undocumented consts
  and call-site literals stay flagged. Nine markers that only covered such
  consts are removed.
- Ruler ticks: size.ruler.tick.* leaves the size presets; kit.rs draws
  TICK_MID = 6 and TICK_MINOR = 3 points in every density, as the old
  library and the apps' rulers do. Comfortable ticks go back to 6 / 3
  (from 9 / 4.5); Compact is unchanged.
- size.scroll_fade becomes FADE_LENGTH in scroll_bar.rs, size.notice.width
  CARD_WIDTH in notice.rs, and size.story.* multiples of size.control.md
  in testing/stage.rs (15, 10 and 30 control heights: today's values in
  both densities). pointer_tip, checker, thumb.sample.*, the card gaps and
  icon.glyph_md stay tokens: each has more than one user.
2026-11-20 17:33:27 +00:00
Martin Ball 37692031c0 shell-w3: net change of 2 commits
- shell-w3: written from its sheet
- shell-w3: review fixes (review-1)
2026-11-18 12:20:27 +00:00
Dylan M. Taylor be25458c1d pdf-shell-w2: net change of 2 commits
- pdf-shell-w2: written by an agent
- pdf-shell-w2: review fixes (review-1)
2026-11-18 03:15:53 -05:00
aiongg 77b98ad590 merge-fwe: FW16 E3: stoppable control server (listen, serve, Listening) replaces start 2026-11-16 12:36:06 +00:00
aiongg e80cbd30ab docs: sweep: neutral wording, craft-automation module table, broken link 2026-11-13 12:49:28 +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 62e38dc39f docs: porting guide (docs/porting.md), linked from craft-framework.md and development.md 2026-11-13 04:25:52 +00:00