Commit Graph
76 Commits
Author SHA1 Message Date
FredApps 36dea842e8 Merge remote-tracking branch 'origin/next' into perf/2332-print-coverage
# Conflicts:
#	crates/design-lint/src/workspace.rs
#	crates/menu/tests/it/main.rs
#	crates/ui-contract/src/testing/mod.rs
#	crates/ui-gallery/src/chrome/card.rs
#	crates/ui-gallery/src/viewer/catalog.rs
#	crates/ui-gallery/tests/it/main.rs
#	crates/ui-widgets/tests/it/bars/mod.rs
#	crates/ui-widgets/tests/it/body/mod.rs
#	crates/ui-widgets/tests/it/text/chips.rs
2026-11-20 19:23:18 +01:00
FredApps 428601bc95 Merge branch 'next' of https://github.com/storytold/craft-libs into publish/registry-2332
# Conflicts:
#	crates/color-ui/src/ui/swatches.rs
#	crates/draw/tests/it/main.rs
#	crates/imaging/tests/it/main.rs
#	crates/menu/tests/it/shortcuts/mod.rs
#	crates/text/tests/it/main.rs
#	crates/ui-patterns/tests/it/form_dialogs/mod.rs
#	crates/ui-widgets/tests/it/text/mod.rs
2026-11-20 16:35:19 +01:00
aiongg 339570da6f Merge storytold next into memo-audit-fix
next's submenu switch (62189858af) requests a plain repaint, and its trial counts a memoized view beside the bar,
which replays while sibling submenus switch, in place of a settling Lazy region.
2026-11-20 15:33:50 +00:00
aiongg 39da1180ee Merge storytold next into memo-audit-fix
next's WordCraft port and the framework work under it (243d68e12d) take the memoized-view APIs where they meet the
branch: story values bind through StoryData::bind, value_at and pair_at (next's copy-out stories included; one held
form story still binds a copy, as its held answer is a note beside the value); next's env values (GroupLevel,
ControlPlace, RibbonLook, ScreenModeSet), IconMark and PageBandRoom derive MemoProps, and the shell entry keys the page
band's room; request_own_repaint calls become request_repaint. The collection extent next reworked (motion-owned
style context, FillHeight, ideal width by item count) moves into items_extent. The header's hosted cells join the
parts' roving group from the pass's own membership (parts_group over Cx::join_roving), as the parts' stops do. A
content-sized shell slot measures its content with the app running in it every pass. The gallery card hands the
story's output from its view's real run (StoryRun).
2026-11-20 14:58:23 +00:00
FredApps 048ab3d01b Merge branch 'next' of https://github.com/storytold/craft-libs into publish/registry-2332
# Conflicts:
#	crates/imaging/Cargo.toml
2026-11-20 13:48:31 +01:00
David Mann 934edb1adf Merge #2432: Let hosts opt in to deleting an individual process channel 2026-11-20 12:51:48 +01:00
David Mann b816275d43 Merge #2394: Keep Color Range sampling and preview controls in the dialog 2026-11-20 12:51:40 +01:00
haranishi 523e2fb2c5 Validate process channel deletion against the current row 2026-11-20 15:46:50 +09:00
haranishi 29d64df3c1 Allow hosts to opt in to deleting one process channel 2026-11-20 04:59:06 +09:00
haranishi fe0f8bf2bc Remember the native Raw Develop window placement 2026-11-20 03:12:44 +09:00
aiongg c7e4abfcfa craft-ui: memoized views are the one change mechanism; the settling path goes
Lazy::settles, Lazy::content, Key::Version, the input and unsettle rules
(Changes::input_through, unsettled_through, scan) and lazy::unsettle with its
callers are removed. frame::request_repaint marks the record of the view it
is asked in and reruns only that view; asked outside every view, every view
replays. request_own_repaint goes; ui-canvas calls request_repaint. Pages
measures each hidden page once per pass. The tests that used the old API are
memoized views, with trials for repaints in and outside views and for
given-value edits. API map rows and the framework doc describe memoized
views.
2026-11-19 16:32:30 +00:00
haranishi 3f936c68f4 fix(color-range): keep the sampling controls within the dialog 2026-11-19 23:32:23 +09:00
FredApps b04d18a735 Select UI suite items through explicit registries 2026-11-19 12:20:08 +01: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 06e8f642e2 The selection trials' tool wrapper passes on whether the tool takes every move, as the app's wrapper does 2026-11-17 05:09:01 +00:00
aiongg c481e1c1fd The freehand Lasso follows every move from its press, so a lasso drawn inside the click distance selects 2026-11-17 04:06:12 +00:00
aiongg 759abc01ab The Magnetic Lasso closes within 8 screen points of its first point, so a click where the outline began closes it 2026-11-17 04:04:56 +00:00
aiongg b49daffe12 Camera Raw workspace: a held OK files its answer for the app (OK and Done); trial 2026-11-16 23:43:10 +00:00
aiongg bcdfd861b3 Camera Raw: the sampler readouts follow Before; the workspace's automation fields carry the pointer and sampler readouts (json_fields takes the source) 2026-11-16 23:39:06 +00:00
aiongg 6ef7c0c489 Merge branch 'red/t8' into fw/mac1 2026-11-16 22:47:46 +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 94064f1040 RAW Develop trial: a sampler reads the before picture while Before shows 2026-11-16 21:37: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 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 f647f41e82 Merge branch 'dl/api' into dl/all 2026-11-16 13:39:11 +00:00
aiongg b39d967677 Merge branch 'dl/contract' into dl/all 2026-11-16 13:39:10 +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 3be93ea350 design-lint: contract/keys, contract/egui-import, contract/pointer, test/harness: imaging's raw story presses through testing::input, SelectMask::start_pass, CylinderValues::moved, the magnetic width trial in the select trials 2026-11-16 13:29:30 +00:00
aiongg 839b67b628 Merge branch 'fw/merge-fb' into area/fwb2 2026-11-16 13:20:06 +00:00
aiongg c321c26d35 merge-fwf: StyledPreview: one composite store per filter in a context, keyed by the preview's name, so closed previews' composites are evicted; trial 2026-11-16 13:13:18 +00:00
aiongg cb0b9afa4a merge-fwf: F7 settled regions: a Loading answer of the texture loader notes the asking code as still moving, so a settled region showing a stand-in reruns when the job lands; trial: the mip trial in a settling region 2026-11-16 13:13:18 +00:00
aiongg f77d72c556 merge-f: F7: PreviewTextures builds mip levels on the shared TextureLoader, the closest finer level standing in (#13382); one store per context keyed by name and level, revisioned per preview; the loader drops finished results of keys nobody asked for 2026-11-16 13:00:43 +00:00
aiongg 70fda8a853 merge-c3: Magnetic Lasso cursor reads the canvas's precise cursor (cx.precise()); MagneticLassoTool::precise_cursor removed 2026-11-16 12:55:44 +00:00
aiongg f009a2065d merge-c4: 3.1: the lasso click trial names its rigs apart from the rig helper 2026-11-16 12:43:03 +00:00
aiongg dd1dbea3d4 merge-c4: 5.1: LassoTool::outline_operation, the operation the open outline latched at its press 2026-11-16 12:34:31 +00:00
aiongg 8f78c213de merge-c4: 3.1: a Lasso click deselects only when its operation is New (#13612) 2026-11-16 12:34:06 +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 6dabf1503d tfix5-f8: content moves take every move from the press; MoveGesture::left_press is their only click rule; a selection drag that ends where it began cancels 2026-11-15 23:33:58 +00:00
aiongg 01199ba26e tfix4-f6d: format the fill trial 2026-11-15 22:04:53 +00:00
aiongg 5cabd08694 tfix4-f6d: FormDialog::opening is the host's Reset baseline in every pass; HostedAdjustDialog::seed moves it, so Reset returns to the last seed 2026-11-15 22:04:30 +00:00
aiongg 245f0dba01 tfix4-f6d: FullWindowWorkspace::closed runs on every close of a hosted workspace; Content-Aware Fill stores its settings there only 2026-11-15 22:03:17 +00:00
aiongg eb1aa98b2b tfix4-f6: HostedAdjustDialog::json_form lists the value's automation fields in the app's form (the command's params), with the edited signal 2026-11-15 21:43:01 +00:00
aiongg ebe44b9779 tfix4-f6: HostedAdjustDialog::edited is the dialog's edit signal (editor, Reset, field sets, value_mut); seed replaces the value without one 2026-11-15 21:40:51 +00:00
aiongg 4f7cf0bbfb Merge branch 'area/fwb2-f3' into area/fwb2 2026-11-15 17:02:15 +00:00
aiongg 55fd41e76c tfix3-f3: one held OK (HeldAnswer) for every hosted family: HostedParamDialog and HostedWorkspace use it, HostedAdjustDialog gains held_ok/take_ok/answer_ok 2026-11-15 17:01:32 +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 189783bde2 imaging, draw: Wide Angle undo/redo methods, lasso replaces_selection, Delete Anchor segment drag, vanishing point writes queue Planes/Stamp Set 2026-11-15 14:37:28 +00:00
aiongg f696f22deb fwb2-fix: remember for Content-Aware Fill and Liquify, Liquify redo depth
(cherry picked from commit 4848ca7f70f9455979824b47876adbaa3696f0bb)
2026-11-15 12:06:39 +00:00
aiongg 1b18c0b443 imaging select trials: injected input passes through the press arena as a hand's does
- marquee drag: the first move goes past the slop before the sub-pixel moves; the release elsewhere is a move there first
- lasso Alt clicks: Alt stays down across presses and releases, so the trial uses the hand's pointer and keyboard
- magnetic jump: the canvas is wide enough that the jump ends over it
- magnetic close on the start: the pointer reaches the start along the edge
2026-11-15 10:46:10 +00:00