Commit Graph
15989 Commits
Author SHA1 Message Date
David Mann 7d4d3d85db Merge #15212 into the merge queue batch
fix(layer-style): start a new Outer Glow at the measured defaults

# Conflicts:
#	crates/engine/src/layer_style.rs
2026-11-20 02:04:28 +01:00
David Mann a792cac8c6 Merge #12094 into the merge queue batch
Add a contextual task bar to Free Transform
2026-11-20 02:04:27 +01:00
David Mann 366490418e Merge #15101 into the merge queue batch
Color Replacement: number keys set Tolerance
2026-11-20 02:04:27 +01:00
David Mann 76ba730b8e Merge #15167 into the merge queue batch
Mixer Brush: restore measured Reset Tool defaults
2026-11-20 02:04:26 +01:00
aiongg 4d91c2ec04 Merge pull request #15826 from aiongg/ci-shard-archives
CI: one test archive per shard, balanced by recorded test times
2026-11-19 20:03:50 -05:00
aiongg 7a2dbc9b6f Merge pull request #15828 from aiongg/ci-cache-budget
CI: keep the Actions cache within its budget (trim saved entries, prune replaced ones as they land)
2026-11-19 19:50:16 -05:00
aiongg 98f4bc7d30 Region versions hold the brush and the colours only where a region shows them
Every settling region's version held the brush and preset revisions and the
foreground and background colours, so each coalesced tools.setBrush of a Size or
Opacity drag, and each Color slider move, ran every panel body, the options bar
and the status bar. The brush and its presets move the versions of the options
bar, Brush Settings and Brushes; the colours move the options bar, the toolbar,
Color, Swatches, Gradients, the Gradient Editor and Properties.

Part of #15476, for #15859.
2026-11-20 00:39:04 +00:00
aiongg ee406d9456 The canvas shows the rulers; the guides read the ruler drag from the canvas
The rulers move to Canvas::with_rulers and the canvas's view lies inside their strips, so tool previews and canvas controls no longer paint over them. Needs craft-libs#2470.
2026-11-20 00:27:21 +00:00
hnoerenberg b2e4444f3a Merge upstream/main into fix/quick-selection-enhance-edge-12923
17 commits, no overlap with the quick-selection edge work (smartselect_cmds.rs, matting.rs, quick.rs untouched upstream).
2026-11-20 01:03:57 +01:00
hnoerenberg 7555a8fda3 docs(smartselect): note that RIM_HALO is ceil(3*sigma)+1
Comment only: spells out the rounding the integer cast relies on - exact while ENHANCE.radius stays integral.
2026-11-20 01:03:16 +01:00
Ivan Sanchez 5445aeec54 Lens Blur: an alpha channel as the depth map runs again
Since the move to the craft UI framework, Lens Blur's Depth Map menu
names an alpha channel `channel:N`, and that id went to the command as
is. The engine takes `channel` with `depthChannel`, so OK failed with
"`depthMap` must be one of none|transparency|layerMask|channel" and the
preview showed nothing. command_params now sends the `channel` source
and the channel's index.

Test: a document with two alpha channels, the second chosen as the
depth map, reaches the command as `channel` and index 1 and runs (fails
before the change: `channel:1` and no depthChannel).
2026-11-19 15:57:54 -08:00
hnoerenberg e3b14133de test(selection): follow main's Quick Selection footprint
#12922 landed while this was in progress and moved the raw footprint from
99,99,301,251 (1400 partly selected, an outer 64/48/16 rim) to the rectangle
itself with 696 partly selected. The Enhance Edge off pin keeps main's current
output, so it still says "unchanged by this change". The rim tests are
unaffected: same bounds, same 2120 partly selected pixels at 253-254.

Fixes #12923
2026-11-20 00:20:00 +01:00
aiongg 470324eb26 Merge pull request #15817 from aiongg/web-pr-wasm-opt
Web CI: skip wasm-opt --converge on pull requests
2026-11-19 18:17:09 -05:00
aiongg eb7fae1898 Merge pull request #15819 from aiongg/test-exit-deadline
control_exit_code: drop the in-test exit deadline
2026-11-19 18:16:54 -05:00
aiongg 6cef4c278a Merge pull request #15813 from aiongg/perf-15709b
Key document queries on revisions instead of per-frame walks (#15709)
2026-11-19 18:16:39 -05:00
aiongg f63ed56fe8 Merge pull request #15782 from aiongg/engine-split-registry
Engine install registry (#15710)
2026-11-19 18:16:25 -05:00
hnoerenberg d57c96f1eb Merge remote-tracking branch 'upstream/main' into fix/quick-selection-enhance-edge-12923 2026-11-19 23:55:51 +01:00
Dylan M. Taylor e9bb736189 io: move remaining PSD block bytes to craft-psd (#15839)
* io: cut over remaining PSD block bytes to craft-psd

* io: unwrap PsdFile::to_bytes in clipping_path_resource_2999 test
2026-11-19 17:51:07 -05:00
hnoerenberg 7854fdebba fix(selection): give Quick Selection's Enhance Edge its measured soft rim
Enhance Edge ended at a hard cut: on the issue's red rectangle 29996 pixels
fully selected and four corners stuck at 186, where the reference application
measures 2146 partly selected pixels at 248-254 about three pixels inside the
edge. No setting of the refine parameters reaches that band - its one feather
softens both sides of the edge and moves the bounds (feather 2 gives bounds
99,99,301,251) - so the refined cut now keeps a feather clipped to itself: a
selected pixel loses up to one percent of its coverage, by the share of an
edge-radius neighbourhood around it that lies outside the cut. Smooth goes from
15 to 10 because at 15 the four corner pixels stay stuck at 186, outside the
measured band, and a rim that only takes coverage away cannot lift them.

Fixes #12923
2026-11-19 23:48:30 +01:00
David Mann dce9e88a95 Merge pull request #15833 from davidmann4/mq-batch-383d24fa-mwo1j7jw
Merge queue batch: 20 PRs (#13952, #14856, #14879, #12276, #14123, #12296, #12284, #15217, #14481, #14672, #13130, #14795, #14779, #14555, #14887, #14569, #14456, #15188, #15197, #15206)
2026-11-19 23:39:06 +01:00
aiongg 0b09cee9f9 ci: prune each replaced cache entry as soon as its successor is saved
cache-prune replaces gate-cache-prune. It starts with the run (the gate is one reusable call, so
needs: gate waited for every shard) and runs craft-common-actions' cache-prune action in watch
mode: each time the gate's build jobs, web or corpus finish, it deletes the entries their new
entries replace (the older rolling crates entry, and lockfile- or manifest-keyed entries nothing
used since), and it ends when none of those jobs is queued or running.
2026-11-19 22:20:51 +00:00
Mex 3c1043a87b test(xtask): cover ATN corpus trigger paths
Exercise the ATN root and nested modules, all existing corpus prefixes, and unrelated engine paths.
2026-11-19 23:07:29 +01:00
aiongg 3f28dd6751 CI shards: check the plan against the archive and mode; times only from full runs
- A shard fails unless its plan's GPU mode matches --gpu/--no-gpu and its archive holds exactly the
  binaries its plan names; a single-archive build deletes any shard plan left in the target dir.
- Shard runs pass --no-tests warn: a shard may hold no runnable test, and the build job's check
  already guarantees that every test runs once.
- scripts/ci-test-times.py takes only main's push and nightly runs (pull requests leave packages
  out on Windows) unless given --force, and names binaries a refresh drops.
- target_dir() moves from perf.rs to main.rs for both users.
2026-11-19 22:06:59 +00:00
Mex 1fba8d090f fix(xtask): run corpus tests for changes to the current ATN module
Point the changed-path trigger at the current engine command module and share the predicate with regression tests.
2026-11-19 23:06:47 +01:00
Mex d5fcd848c2 test(io): cover OpenRaster layer blending loss warnings
Exercise both losses independently and keep explicitly full-range Blend If warning-free.
2026-11-19 22:59:03 +01:00
Mex 4c727f324f fix(io): report OpenRaster blending losses on export
Report channel exclusions and non-default Blend If settings for editable layers in the shared writer and dry loss check.
2026-11-19 22:58:16 +01:00
Mex 9b67220c92 docs(automation): clarify null params for doc.render
Document the tested shorthand for an empty request and the distinction between inline PNG and string output paths.
2026-11-19 22:50:11 +01:00
aiongg 60385cb15e Keep effects and group disclosure off the document revision
Opening or closing an effects list or a group is view state: the document
revision, which feeds the modified state, saves and every revision-keyed
cache, stays where it is. DocState::layers_view_revision moves instead, and
the Layers panel's rows key on it.
2026-11-19 21:47:28 +00:00
Mex 923dbadade test(engine): cover Exact conversion with a floating selection
Reproduce failure after a partial clear-pixel fill, preserving the floating copy and redo. Exercise successful conversion after filling the last clear pixel.
2026-11-19 22:47:20 +01:00
Mex d57b7b2ff1 Implement checkpoint for Exact conversion failures
Restore the active document state and action history on a rejected Exact conversion that auto-drops a floating selection. Keep the normal command, drop, and history sequence on success.
2026-11-19 22:47:11 +01:00
Mex 84c9cbb3a0 test(automation): cover malformed doc.render requests
Check rejection for invalid parameter containers and path types. Verify that omitted and null paths still return an inline PNG.
2026-11-19 22:35:41 +01:00
Mex 5490e9c3f9 fix(automation): reject invalid doc.render parameters before rendering
Validate the parameter object and optional output path before rendering. Keep the existing behavior for an omitted or null path and string output paths.
2026-11-19 22:35:02 +01:00
David Mann 4b64ec5198 Merge #15206 into the merge queue batch
fix(layer-style): keep Inner Shadow values inside the page's ranges
2026-11-19 22:27:53 +01:00
David Mann 210de55b1a Merge #15197 into the merge queue batch
fix(compose): scatter Outer Glow noise at the measured strength

# Conflicts:
#	crates/compose/src/effects.rs
2026-11-19 22:27:52 +01:00
David Mann 79cb23b131 Merge #15188 into the merge queue batch
fix(compose): scatter effect noise at the measured strength (inner shadow)
2026-11-19 22:27:51 +01:00
David Mann 484a2e2119 Merge #14456 into the merge queue batch
fix(engine): Color Balance action steps round tones and default Preserve Luminosity off
2026-11-19 22:27:51 +01:00
David Mann 49f5814430 Merge #14569 into the merge queue batch
fix(engine): Image Rotation Arbitrary refuses Bitmap documents

# Conflicts:
#	crates/engine/src/cmd.rs
2026-11-19 22:27:50 +01:00
David Mann 45688270e1 Merge #14887 into the merge queue batch
fix(ui): Reset to Default keeps the shared light angle
2026-11-19 22:27:50 +01:00
David Mann 2aee1c0367 Merge #14555 into the merge queue batch
fix(engine): arbitrary canvas rotation keeps and turns its guides
2026-11-19 22:27:49 +01:00
David Mann e157e6e13d Merge #14779 into the merge queue batch
Import Notes: place notes by target height / source height, no clamping, alert off-canvas (#13914)

# Conflicts:
#	crates/ui-egui/src/tools/analysis_ui.rs
2026-11-19 22:27:49 +01:00
David Mann a5f968d021 Merge #14795 into the merge queue batch
Keep existing Image Processor folder outputs
2026-11-19 22:27:48 +01:00
David Mann 8587babd14 Merge #13130 into the merge queue batch
Match measured Sponge Saturate and Desaturate colors
2026-11-19 22:27:47 +01:00
David Mann 267148f755 Merge #14672 into the merge queue batch
Quick Selection: a stroke drops the active layer's transparent pixels from the selection (#12919)
2026-11-19 22:27:46 +01:00
David Mann a1b93266a9 Merge #14481 into the merge queue batch
Color Table: recolour by index, black past a shrunk table (#14342)
2026-11-19 22:27:46 +01:00
David Mann de12d655fd Merge #15217 into the merge queue batch
Merge to HDR Pro: Remove ghosts catches a moved object where frames are clipped
2026-11-19 22:27:45 +01:00
David Mann 44b13eae2a Merge #12284 into the merge queue batch
Mixer Brush: a load lasts for a length of stroke, not a number of dabs (#11943)
2026-11-19 22:27:44 +01:00
David Mann 82af382c06 Merge #12296 into the merge queue batch
Mixer Brush: the load swatch shows a checkerboard or the sampled tip image (#11953)

# Conflicts:
#	crates/ui-egui/src/panels/brush_controls.rs
2026-11-19 22:27:43 +01:00
David Mann 3ebf128dd2 Merge #14123 into the merge queue batch
Package: a layer named after a renamed link takes the new name (#14079)
2026-11-19 22:27:40 +01:00
David Mann cf014b3b13 Merge #12276 into the merge queue batch
fix(engine): stack duplicated layers above the originals (#11915)
2026-11-19 22:27:38 +01:00
David Mann 38fba92c9f Merge #14879 into the merge queue batch
Artboard from Group: size the board to the group's visible layers

# Conflicts:
#	crates/engine/src/cmd/artboard_cmds.rs
2026-11-19 22:27:37 +01:00