Commit Graph
5290 Commits
Author SHA1 Message Date
aiongg ac3dfd1f53 Merge storytold main into next (17 Nov sync)
storytold main 83cb1133dd (291 commits) into the integration head bab1a99b85; 47 conflicted files.

- Domain test files (metafile, prepress, pdf plates, settings store, heif, media-testkit, atomic): tests next cut stay cut; tests new on main are kept, as trials where the crate's test target runs trials.
- atomic: main's group-bits test and Faulty::set_group go to src/tests.rs. audio: main's GSM and SBC oracles join tests/main.rs. cms constructors, pdf knockout_backdrop and testing_pdf join their crates' one test binary; timeline's preflight tests become src/preflight_tests.rs trials.
- update: main's changes to detect, install (linux, macos) and the tests land in next's split modules. The app's own offer is inspected on a thread of its own, picked up by tick's polling; settle_for_tests settles offers too. Later on a ready update drops the close it asked for. updater_pin_tests.rs stays deleted; its new pin test is in tests/it/update.rs.
- craft-color: main added a different crate at crates/color (the colour tags of compositor and display frames); it is next's craft-color module `tags`, re-exported at the root.
- Old crates/ui (combo, docking, testing, README) and keymap's ui/view.rs stay deleted; main's new crates/ui/src/testing files are dropped with them.
- New crates in the craft facade: ai, control, dds, frame, ipc, media-source, palette, press-print, score, ssip. testkit and xtask are listed outside it.
- Cargo.lock: the union of both locks, resolved by cargo metadata. Workflow: main's nextest Windows leg, with next's --keep-going clippy.
2026-11-17 12:44:52 +00:00
aiongg bab1a99b85 Drop an unused import in the zero-width trials 2026-11-17 12:10:57 +00:00
aiongg 4cc694c415 Canvas::queued is a derived prop; ViewRequest is non-exhaustive 2026-11-17 12:10:33 +00:00
aiongg f3e9c483d4 Remove the pointer-resolution DIAG prints 2026-11-17 12:08:54 +00:00
aiongg 1299984080 Merge branch 'fw/hover' into q/stage 2026-11-17 11:41:31 +00:00
aiongg 3e234bcd8d An overlay layer's own Area widget stands for no widget in the pointer resolution
egui gives the press to an interactable Area's own widget wherever no widget on the layer is.
The overlay host records that widget, and find_under and foreign_target read it as no target,
so the layer's shapes take the press and hover there (a menu's scroll strips).
2026-11-17 11:40:58 +00:00
aiongg e5e06108c8 Merge branch 'fw/zoom' into p/stage 2026-11-17 11:03:46 +00:00
aiongg 8c66b02cf1 Pointer-over readers and component text widgets in the one pointer resolution
The roots that contain the pointer are found whatever egui's click target is.
A widget a component made for its own text (a field's text, a selection part)
is recorded with its component: a press egui gives it stays the widget's, and
the hover goes to that component's topmost shape. Collection rows report
pointer_over beside hovered, and the document tab strip names the tab under
the pointer by it, so a drop target reads it while another root holds the
press. DIAG (CRAFT_DIAG_PRESS) prints each resolution's stack and answer.
2026-11-17 11:03:06 +00:00
aiongg 0bfa3ca65a Canvas::queued takes ViewRequest: user commands ease, app placements jump
A new or cropped document's fit and a new arrangement's fits place the view, which jumps as PhotoCraft's
placements did; a menu row or an action step eases under Animated Zoom as its chord does. The full-window wheel
trial turns Overscroll on: after the 20-point fit one notch leaves the image smaller than the canvas, which
Overscroll off centres.
2026-11-17 10:59:06 +00:00
aiongg a804f08d83 Context-menu part reads the hovered member through Hovered::find 2026-11-17 10:25:27 +00:00
aiongg 83ed4b0b6c Merge branch 'fw/hover' into o/stage 2026-11-17 10:17:58 +00:00
aiongg d046011855 Full-window view: read the target before borrowing the view 2026-11-17 10:17:41 +00:00
aiongg abf5962ac4 Hover follows the press winner: one resolution of what lies under the pointer
pointer::Under, found once per pass at the begin hook over last pass's shape
record, answers both the press and the hover: the press winners hover, plus
the topmost shape when it takes no press; roots with a shape under the point
contain the pointer. While a press is open only its target hovers. Arenas
read their hover and their press hit from it; the per-root layer check and
the arena's own hover and press resolves are gone, and withheld members are
dropped in the one resolution. Toasts pause on contains_pointer. Trials for
hover/press agreement, nested controls, held presses and one resolution per
pass.
2026-11-17 10:17:17 +00:00
aiongg fe6da87e8b Canvas view commands: queued app commands, 20 pt Fit on Screen, one implementation for full-window views
- Fit on Screen leaves 20 points on each side (PhotoCraft and the old framework) and fits up to the target's fit
  ceiling: 100 % for a document canvas, 400 % for a full-window dialog.
- Canvas::queued: view commands an app asks of a document's canvas run in the canvas's loop before the fired ones,
  eased the same way, and never in a measuring run.
- FullWindowView runs Zoom In, Zoom Out, Fit on Screen and 100% through ViewCommands::apply.
2026-11-17 10:10:41 +00:00
aiongg cd73a4f24a Remove the DIAG prints 2026-11-17 09:35:16 +00:00
Dylan M. Taylor 83cb1133dd Merge pull request #2009 from storytold/feat/lottie-raw-gradient
feat(lottie): expose raw gradient values for animated fitting
2026-11-17 04:32:57 -05:00
aiongg 15d73ac5fc Merge branch 'red/ff' into m/stage 2026-11-17 08:55:31 +00:00
aiongg 80fef44001 Typing scopes: a command set marked typing is a keymap context while an instance is around the focus, so a text component's own keys work while it types; the text editor's formatting keys are one 2026-11-17 08:54:37 +00:00
aiongg 544153f5bd Tab moves focus from a text field however it got the focus: only a pressed control leaves Tab to the panels toggle 2026-11-17 08:54:37 +00:00
aiongg 4b3a558184 Remove the press-routing DIAG prints: the colour-well click reaches its member and the routing tests of rounds I-K pass 2026-11-17 08:51:00 +00:00
aiongg 2fc58c1ef7 ToolRail::show_column: the full-window workspaces' tool strips are one column wide 2026-11-17 08:31:27 +00:00
aiongg 5169a1e378 Merge branch 'red/screenmode' into m/stage 2026-11-17 08:30:02 +00:00
aiongg 6496e37e68 cargo fmt 2026-11-17 08:27:05 +00:00
aiongg f86c3b134c Keys with nothing focused match in the window's shell; a momentary command's held key makes its scope's keys work first (keymap context), and that scope's commands go to the application 2026-11-17 08:21:52 +00:00
aiongg 8d37b08071 Merge branch 'red/ff' into fw/mac1 2026-11-17 08:21:16 +00:00
Dylan M. Taylor 8672aff3d8 Merge pull request #1991 from storytold/fix/plot-range-contains
unbreak the Workspace gate: the xlsx fixture Result and the docx range-contains lint
2026-11-17 03:17:42 -05:00
aiongg 86fce21a01 cargo fmt 2026-11-17 08:07:14 +00:00
aiongg 98226eb219 Merge branch 'look/align' into fw/mac1 2026-11-17 08:04:37 +00:00
aiongg 81da1ad38b cargo fmt 2026-11-17 08:04:00 +00:00
aiongg 059d9b17d6 Tab after a press on a component toggles the panels in a canvas window: the focused stop keeps how focus reached it; focus_holds names a Tab that moves focus; typing lets only command chords and function keys fire 2026-11-17 08:03:41 +00:00
aiongg 4244120e1a DIAG: whether the press step runs in a measuring run 2026-11-17 08:03:05 +00:00
aiongg db6769d288 DIAG: the colour-well click past the arena start (the arena's own resolve, each press step, the end sweep, the member's read of the activation, the component's activation) 2026-11-17 08:02:43 +00:00
aiongg 05f34f857d Vanishing point delete trial: the first plane holds the layer's middle and the click lands on the canvas's middle, whatever zoom the fitted view takes 2026-11-17 08:02:43 +00:00
aiongg 5ccb18f828 A transformed box's corner near the origin holds the precision of the box's largest coordinate: a host's f32 write-back of a rotated text box no longer reads as a document change that cancels the handle drag after its first step 2026-11-17 08:02:42 +00:00
aiongg db4365d954 TransformFields panel form: the angle's rotate glyph sits beside its field in the column's label column, as W, X and H do; the bar keeps it inside 2026-11-17 07:59:12 +00:00
aiongg 54ccab3324 Text part: the text adapter gives the editor its line's baseline, so the egui runtime layer imports no primitives 2026-11-17 07:59:12 +00:00
aiongg 490a9e0207 Text in a control's line sits on the line's baseline: a field's mono digits and its unit share the body text's baseline 2026-11-17 07:52:46 +00:00
aiongg c44c32beb7 Test fixture: recorded paint nobody took drops its texture changes unrendered 2026-11-17 07:52:46 +00:00
aiongg 1a55c72e1e Grid: each column is a column group, so the labels beside the fields of one column share a width and the fields start at one x 2026-11-17 07:52:46 +00:00
aiongg f4eb126da2 Merge branch 'fw/press-route' into k/stage
# Conflicts:
#	crates/ui-contract/src/runtime/commands/board.rs
2026-11-17 07:22:17 +00:00
aiongg aef9f695dd cargo fmt 2026-11-17 07:21:19 +00:00
aiongg b0810ed1f4 A full-window workspace reports the canvas it shows its image on (WorkspacePass::canvas); the dialog host names the canvas of the latest open dialog that has one (StackDialog::canvas, DialogHost::canvas), where an app's tool input in document points goes 2026-11-17 07:19:41 +00:00
Dylan M. Taylor 5bbf16b61e Merge branch 'main' of https://github.com/storytold/craft-libs into feat/lottie-raw-gradient
# Conflicts:
#	ATTRIBUTION.md
2026-11-17 02:18:09 -05:00
aiongg d722349048 Merge branch 'red/p2fw' into fw/mac1 2026-11-17 07:16:34 +00:00
aiongg 85d1947cbf Merge branch 'red/ff' into fw/mac1 2026-11-17 07:16:34 +00:00
Dylan M. Taylor fd91be74f0 Merge pull request #2001 from storytold/feat/screen-video
video: share bounded Screen Video key-frame decoder from AniCraft
2026-11-17 02:16:15 -05:00
Dylan M. Taylor 3a1a627dc6 Merge pull request #1965 from storytold/feat/score-writers
craft-score: share MusicXML and SVG score writers with per-pitch ties
2026-11-17 02:16:11 -05:00
Dylan M. Taylor 77686f24fe Merge pull request #2007 from storytold/feat/svg-transform-compat
svg: extract prefix-preserving transform-list compatibility
2026-11-17 02:16:06 -05:00
aiongg fe8fdf6eea TransformBox corners take the first quarter of each side's band beside them, at most the band's width along it, as PhotoCraft's box does 2026-11-17 07:13:24 +00:00
aiongg 71b4720b98 A press at a document point past the window goes to the topmost recorded layer with a press-taking shape there that shows inside its clip; DIAG lists every recorded layer at the press for the Liquify, vanishing point and crop tests 2026-11-17 07:13:24 +00:00