Commit Graph
388 Commits
Author SHA1 Message Date
David Mann c4a7664bf4 Merge #14660 into the merge queue batch
Magic Wand: Sample Size option, Point Sample up to 101 by 101 Average (#11777)
2026-11-30 03:20:12 +01:00
David Mann 006a02e496 Merge #11855 into the merge queue batch
fix(engine): a rectangular Perspective Crop keeps shape and fill layers (#11800)
2026-11-30 03:20:10 +01:00
David Mann 0854124275 Merge #14824 into the merge queue batch
Quick Selection: transparency is an edge for the cut on a layer (#12921)
2026-11-30 03:20:09 +01:00
David Mann 9a1888225a Merge #15010 into the merge queue batch
Warp: re-entering a smart object warped with a preset shows that preset
2026-11-30 03:20:08 +01:00
David Mann 403714d767 Merge #18010 into the merge queue batch
Merge Layers keeps the top layer's identity so the History Brush matches it
2026-11-30 00:25:21 +01:00
David Mann 1b6432e920 Merge #14922 into the merge queue batch
Edit › Presets: only Preset Manager… and Migrate Presets; Export/Import stays for automation
2026-11-30 00:25:15 +01:00
David Mann 96b07182b7 Merge #14836 into the merge queue batch
Layers: Layer from Background makes a hidden Background visible (#14822)
2026-11-30 00:25:13 +01:00
David MannandClaude Opus 5.5 17340f881b Magic Wand Sample Size tests: use the session with the commands installed
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 00:15:17 +01:00
David MannandClaude Opus 5.5 b697067c6b Quick Selection composite cut tests: start from crate::session(), which installs the commands in engine-core
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 23:31:46 +01:00
David MannandClaude Opus 5.5 81833526e9 Magic Wand Sample Size: paint test pixels directly, leave idle options alone
engine-core's session has no edit.fill, so the tests paint the layer through
Session::edit. The options bar writes the wand's sample size only when the
pick changes it, so idle frames don't move the tool options revision.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 23:26:19 +01:00
David MannandClaude Opus 5.5 042590eb7c test(engine-core): build the Perspective Crop vector layer tests on an installed session
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 23:12:45 +01:00
David Mann 858c24e62e Merge #17985 into the merge queue batch
Name Quick Mask indication changes in History
2026-11-29 22:39:08 +01:00
David MannandClaude Opus 5.5 d2e29f223c Magic Wand Sample Size: a clicked pixel unlike the average starts no fill
A contiguous fill marked the clicked pixel without comparing it with the
averaged reference, so it selected a pixel a global match would not.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 22:38:56 +01:00
David Mann ebef18697c Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/engine-core/src/cmd/smartselect_cmds.rs
#	crates/engine-core/src/cmd/smartselect_cmds/quick_composite_cut_tests.rs
2026-11-29 22:38:17 +01:00
David MannandClaude Opus 5.5 bcf8072265 Merge main into fix/edit-presets-submenu
Port the Edit > Presets tests to main's menu API (menu_rows, base_rows,
control::Reply) and recount the parity and scorecard totals.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 22:34:58 +01:00
David Mann d73c776a41 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/engine-core/src/cmd/extra_cmds.rs
#	crates/engine-core/src/cmd/layer_from_background_visible_tests.rs
2026-11-29 22:34:18 +01:00
David Mann 5dd939013e Merge remote-tracking branch 'origin/main' into HEAD 2026-11-29 22:32:01 +01:00
David MannandClaude Opus 5.5 12d27805ce Merge origin/main into fix/wand-sample-size
Ports the Magic Wand Sample Size option to main's layout: the engine part to
engine-core, the options-bar dropdown to panels/options_bar/selection.rs on
the craft UI framework (SampleSizeSelect), the canvas click to
canvas/tools/selection.rs.

Also fixes the two CodeRabbit findings: a global match now compares every
pixel, the clicked one included, against the averaged reference instead of
overwriting the clicked pixel (wand_region_with_reference in algo), and a
restored sample size the wand refuses falls back to Point Sample.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 22:30:28 +01:00
David MannandClaude Opus 5.5 e5245c2634 Merge origin/main into the Perspective Crop vector layers fix
Main moved the command to engine-core and now refuses documents with type
layers and smart objects (#11799), so the type-layer test is replaced. Also
addresses the review: only rectangle shapes and Color Fills are kept (other
shapes, Gradient and Pattern Fill rasterize, as the issue asks), the
parallelogram test scales its tolerance with the short side, and the docs say
when vector masks are rasterized.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 22:28:53 +01:00
David Mann 20bf93d7d7 Merge #17972 into the merge queue batch
Name Layer Arrange history steps after their commands
2026-11-29 21:15:41 +01:00
David Mann 10d8a1b344 Merge #14807 into the merge queue batch
Grey Global Light in a document whose only layer is the Background
2026-11-29 21:15:40 +01:00
David Mann 96e386b925 Merge pull request #11859 from DuBearte/fix/11803-perspective-crop-snap
fix(ui): a Perspective Crop drag from the pasteboard starts at the canvas edge (#11803)
2026-11-29 21:03:59 +01:00
BFlat 71bc742294 Merge pull request #17447 from ruchirguitar/digits-indic-10996
Type: draw digits in an Indic script, Western or by the letters before them (#10996)
2026-11-30 02:19:15 +07:00
David MannandClaude Opus 5.5 24738d4dd4 Perspective Crop: snap the drag start through the framework (#11803)
Main moved the tool's press and drag handling into craft-libs, so the
app-side snap_start is gone. storytold/craft-libs#4274 put the rule in
the framework's PerspectiveCropTool, which snaps through the canvas's
Snap the app already gives. Pin craft-libs at its current main, which
carries it, and port the tests to the new tool: a drag from beyond a
corner starts at it (also while dragging), one near an edge starts on
it, one inside or outside on one axis stays, Snap or Document Bounds
off changes nothing, and clicked corners stay put.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 20:00:19 +01:00
Dan 223951088e Name Quick Mask indication changes in History 2026-11-29 18:58:29 +00:00
qvest-ssels 5094030f8e Merge Layers keeps the top layer's identity so the History Brush matches it (#17802) 2026-11-29 19:58:12 +01:00
David Mann 8f74db0d9a Merge #17950 into the merge queue batch
Disable New Channel in Bitmap documents
2026-11-29 18:27:46 +01:00
David Mann 5b05233055 Merge #17948 into the merge queue batch
Layer navigation: Alt+[ and Alt+] wrap around the ends of the stack (#17631)
2026-11-29 18:27:45 +01:00
FredApps a24a1cb7ad Adopt retained UI registrations and paint storage (#17809)
* Adopt merged retained UI and paint storage across PhotoCraft

* Adapt UI inspections and preference labels to the shared revision

* Share retained-paint text inspection across UI tests
2026-11-29 18:02:25 +01:00
Dan 5ed12cbb27 Name Layer Arrange history steps after their commands 2026-11-29 16:58:29 +00:00
Dan 006484af36 Disable New Channel in Bitmap documents 2026-11-29 16:13:30 +00:00
RickiNano e00e598af2 Layer navigation: Alt+[ and Alt+] wrap around the ends of the stack (#17631)
Select Layer Below on the bottom row of the Layers panel now selects the
top row, and Select Layer Above on the top row the bottom one, as in the
reference application. Adding the layer above or below to the selection
(Alt+Shift+[ / ]) still stops at the ends, since that case wasn't
measured.
2026-11-29 17:06:30 +01:00
David Mann a3fc971484 Merge #17886 into the merge queue batch
Name the Transform Again history step
2026-11-29 15:32:29 +01:00
David Mann 347274b022 Merge #14041 into the merge queue batch
Layers to Files: an adjustment layer gets its own file, like an empty layer (#13966)
2026-11-29 15:32:29 +01:00
David MannandClaude Opus 5.5 dfb6eea5db Merge origin/main into fix/layers-to-files-adjustment-13966
Layers to Files moved to engine-core and now walks groups. The adjustment
rule moves into plan_layer_exports: PNG and JPEG export a top-level,
unmasked adjustment like an empty layer; one inside a group (not
measured) keeps the skip, pinned by a new test. PNG names now use dashes
for spaces, so the PNG test expects doc_0000_Levels-1.png.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 14:17:43 +01:00
David Mann 0a197f1ea5 Merge #17854 into the merge queue batch
Honor the rotation direction in recorded Crop actions
2026-11-29 14:15:40 +01:00
David Mann 6a0f4954ce Merge #17675 into the merge queue batch
Auto-Align Layers: Vignette Removal brightens the aligned layers' corners (#14197)
2026-11-29 14:15:38 +01:00
David Mann b7ee932e83 Merge #17529 into the merge queue batch
Frames: Convert to Frame resizes around the layer's centre (#17325)
2026-11-29 14:15:38 +01:00
David Mann ed90cf7501 Merge #17524 into the merge queue batch
Layers: Background from Layer is greyed with several layers selected (#17306)
2026-11-29 14:15:36 +01:00
David Mann 0c3ff5531e Merge #17575 into the merge queue batch
Record Measurements: warn and record nothing when no data point is enabled for the source (#17407)
2026-11-29 14:15:35 +01:00
David Mann 9327c00138 Merge #15091 into the merge queue batch
Edit › Fade names the step it fades, in its own menu group, with the same label in the right-click menu
2026-11-29 14:15:35 +01:00
Dan f55005ce12 Name the Transform Again history step (#17860) 2026-11-29 12:34:29 +00:00
RickiNano bf6229a7af Vignette estimate: the channel count as a match, which rustfmt keeps on one line each (#14197) 2026-11-29 13:12:58 +01:00
David Mann b9a0948eac Merge #17822 into the merge queue batch
Warp: the Free Transform warp toggle is the history step "Free Transform" (#17579)
2026-11-29 12:44:26 +01:00
David Mann 474e5938f6 Merge #17266 into the merge queue batch
Add File Info category pages
2026-11-29 12:44:25 +01:00
Dan d4380ddf59 Honor the rotation direction in recorded Crop actions (#17690) 2026-11-29 11:36:15 +00:00
David MannandClaude Opus 5.5 0f20c47fb9 Merge main into fix/fade-menu-label
Main moved the menus onto the craft UI framework (#15449): menus/render.rs is gone,
menu rows are `Row`s from `menu_rows`, and the canvas menu builds `Entry`s. The Fade
label hook now finds its row with `find(&mut rows, ..)`, `fade_label` lives in
menus/state.rs next to `translated_fade_label`, the canvas menu's Fade row reads it in
`entries`, and the tests read `menu_rows`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-29 12:34:41 +01:00
RickiNano c193177e5b Auto-Align Vignette Removal: brighten Lab through XYZ, in the toe of L* too (#14197)
Lab's a and b grew with (L* + 16), which matches brighter light only
where Lab's companding is a cube root; in the linear toe (L* below about
8) it changed the shadows' saturation. The correction now turns the
pixel into X, Y and Z relative to white, scales all three by the
luminance ratio, and encodes it back with the piecewise companding.

New test: a_brightened_lab_shadow_keeps_its_colour (fails without the change).
2026-11-29 12:33:56 +01:00
qvest-ssels 68beac427d Merge remote-tracking branch 'origin/main' into mm-17529
# Conflicts:
#	crates/engine-core/src/cmd/frame_cmds.rs
2026-11-29 12:29:48 +01:00
qvest-ssels 38a3b5f5b6 Merge remote-tracking branch 'origin/main' into mm-17524
# Conflicts:
#	crates/engine/tests/it/main.rs
2026-11-29 12:28:39 +01:00