Commit Graph
82 Commits
Author SHA1 Message Date
aiongg dc7005d4a4 Engine split step 7: the main batch's core tests that run edit.fill move to the top crate's tests/it 2026-11-23 19:44:48 +00:00
aiongg 9277ac1673 Engine split step 7: hand fixes for the moved tests (test-local copies, flate2 dev-dependency, unused imports, dead test helpers) 2026-11-23 15:08:36 +00:00
aiongg a7fd5975a5 Engine split step 7: core tests that run paint commands move to the top crate's tests/it (move_tests.py and its output) 2026-11-23 15:06:31 +00:00
aiongg e1e1eb8f01 Actions tests: a Paint Bucket step's explicit colour replays after an .atn round trip 2026-11-23 07:45:29 +00:00
Dylan M. Taylor f3f382697f test(raw): pin pre-cutover Camera Raw SmartFilter and filter baseline (#587) (#16028)
* test(raw): pin pre-cutover Camera Raw SmartFilter and filter baseline (#587)

* test(format): avoid json! macro recursion limit in camera_raw_roundtrip (#587)

* test(format): wrap SmartSource::Embedded bytes in Arc (#587)

* test(engine): use select.deselect in camera_raw_baseline_pin (#587)

* test(raw): capture legacy RAW Open and Camera Raw Filter pixel baselines (#587)

* test(raw): lock Camera Raw Filter baseline pixels and capture RAW Open values (#587)

* test(io): lock legacy RAW Open baseline pixels (#587)

* test(io): capture RAW Open camera WB legacy baseline pixels (#587)

* test(io): lock RAW Open camera WB legacy baseline pixels (#587)
2026-11-21 19:59:28 -05:00
aiongg bd3712d114 Lint: each shared test fixture loads once per test binary, and xtask names its step list type 2026-11-18 21:20:35 +00:00
aiongg a015ef2934 Tests: engine tests on process-wide state get their own binary
The modules that assert on the scratch pool, spill configuration, simulated memory, global caches or compositor settings move to tests/global_state, where one lock makes them take turns. test-binaries lists it with the reason.
2026-11-18 19:26:28 +00:00
aiongg 877e23f543 Tests: one shared lock per process-wide global in each merged test binary
The scratch pool and spill configuration, simulated free memory and the global caches are locked from tests/it/main.rs instead of a mutex per file.
2026-11-18 19:19:35 +00:00
aiongg 0081fd10e1 Tests: merge single-file integration test binaries into one binary per crate
Each crate's top-level tests/*.rs files become modules of tests/it/main.rs, and a new xtask check (test-binaries) refuses a new single-file test binary.
2026-11-18 19:11:27 +00:00
aiongg bfaf39780b test(engine): a background job applies to the layer and channels it started on (#7366)
Replaces the ui-egui window test, whose order depended on wall time, with an engine test:
the job's result is applied only by poll_jobs/wait_job on the session's thread, so a
select_layer after start always comes first.
2026-11-18 15:12:05 +00:00
hnoerenberg 0b6c9d6700 Merge upstream/main into fix/gaussian-blur-edge-parity-11528 2026-11-15 16:27:43 +01:00
Tanish Manku 28d2b499b5 Merge pull request #11062 from yoriswind/codex/artboard-move-overflow
Reject cross-artboard moves whose required translation overflows
2026-11-11 00:27:05 -07:00
Vlad Grankovsky 333566a616 Merge upstream main 609e2aa72 into curves follow-up 2026-11-10 19:51:17 +01:00
Vlad Grankovsky 3d57a9afeb Merge upstream main 6ab991571 into curves follow-up
Keep recorded channel initialization shared with Record Again and retain upstream Photo Filter and Action playback behavior.
2026-11-08 14:13:01 +01:00
David Mann d95faebaa3 Merge remote-tracking branch 'origin/main' into pr-9077
# Conflicts:
#	docs/gaps.md
#	docs/target-app-parity.md
2026-11-08 03:04:43 +01:00
7f09b2013d Merge current main into #9077 (Average on Smart Objects)
Resolves the status-line conflicts in docs/gaps.md and
docs/target-app-parity.md (both sides kept) and the module list in
crates/engine/tests/it/main.rs.

Co-Authored-By: arjen <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-07 18:48:12 +01:00
yoriswind 6e38ee5760 Reconcile Artboard overflow tests and documentation with current main 2026-11-06 20:16:57 -08:00
Vlad Grankovsky 283de2c506 Merge upstream main 8df2b7a2e into curves follow-up 2026-11-07 01:27:10 +01:00
yoriswind 5f480238d0 Reconcile five Classic Actions commands with current main 2026-11-06 09:29:48 -08:00
yoriswind 84c41c5f10 Limit Actions panel changes to the five reviewed commands 2026-11-05 17:13:15 -08:00
ArjenS-LA a38fc6ff5b Refresh Average Smart Filter stack and verify selection and channel values 2026-11-05 15:53:24 -08:00
David Mann 1d053f5c2c Merge PR #11495: Actions: play recorded Stack Modes and Video Frame events 2026-11-06 00:28:47 +01:00
David Mann 1d5c69dda4 Merge PR #11458: Crop: fill the active layer and Background with Content-Aware Fill 2026-11-06 00:28:41 +01:00
David Mann f96e77e794 Merge PR #11553: Actions: replay recorded Perspective Warp steps 2026-11-06 00:28:38 +01:00
Hartmut Nörenberg f7e6e7249c test(algo): pin the Gaussian blur edge profile and its ATN identity
#11528 measures Photoshop 27.11 against PhotoCraft on an opaque black/white
step at radius 2.3 and finds up to 8 of 255 levels between them, at both
depths. Our row is exactly what a Gaussian sampled at whole pixels with
sigma = radius and a 3-sigma window produces (deviation 0 against a plain
model of that kernel), so nothing in the pipeline rounds or clamps wrong: the
gap is the radius-to-blur mapping, and no mapping is determinable from the
published numbers - Photoshop's own three radii imply factors of about 0.88,
1.08 and 0.97, while box-pass and truncation families fit worse than today's
kernel does.

So pin the behaviour instead, with a ratchet: the 8-bit and 16-bit rows across
the edge, the distance to Photoshop's measured rows (may shrink, may not
grow), and that a GsnB action replay renders the same bytes as the direct
command at both depths. A future mapping change then has to be a decision with
a number attached to it, not a silent edit of a kernel.
2026-11-06 00:17:30 +01:00
yoriswind 19ac2452a0 Merge Batch 17 while preserving Crop fill and Artboard sizing 2026-11-05 09:15:36 -08:00
yoriswind 8a126888f3 Merge upstream main after integration batch 17 2026-11-05 09:09:02 -08:00
yoriswind 3feae0e0b6 Actions: map recorded Perspective Warp planes 2026-11-05 08:36:06 -08:00
yoriswind 05d3c0bf27 Support recorded Smart Object Stack Modes and video frame edits 2026-11-05 06:24:06 -08:00
yoriswind 224dcdc936 Fix content-aware crop targets and history labels 2026-11-05 01:29:48 -08:00
David Mann 5385ebd95b Merge PR #10788: Support recorded dialog filters, Calculations and Batch naming
# Conflicts:
#	crates/engine/src/cmd/actions_cmds.rs
#	crates/engine/src/cmd/automate_cmds.rs
#	crates/engine/src/cmd/file_cmds.rs
#	crates/engine/src/cmd/file_cmds/batch_run.rs
#	crates/engine/src/cmd/file_cmds/tests.rs
#	crates/engine/tests/it/main.rs
#	crates/ui-egui/src/panels/actions.rs
2026-11-05 05:19:44 +01:00
30b199f8df Port #8659: keep name, blend mode and clipping on adjustment-layer Make steps
An adjustment layer's Make step now loads its `Nm  `, `Md  ` and `Grup`
keys as the command's `name`, `mode` and `clipToPrevious` params and saves
them back. An unreadable value keeps the step as an unsupported kept step;
`layer.newAdjustmentLayer.*` validates the new params like New Layer and
clips through the clip-group rules. Fixes the remainder of #8384.

Co-Authored-By: bommerts <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 04:35:32 +01:00
8d34370bcf Port #8111: the Crop tool fits a canvas-sized artboard to its frame
A straight Crop tool crop (image.crop with an explicit rectangle) of a
document whose only artboard covers the whole canvas now fits that board
to the new canvas and clears its size preset. Before, the board kept its
old size and hung past the cropped canvas.

Measured in the reference application: its Crop tool in an artboard
document edits the artboard ("Edit Artboard": the board takes the frame,
content stays where it is), so the visible result matches. Image > Crop
with a selection does nothing there, Image > Trim keeps the board's
size, and a turned crop is impossible with artboards.

Left out of the original PR: the fit on selection crops, Trim and turned
crops (they differ from the reference application), so crop_doc and
Export Layers to Files are unchanged; the printer-query commits
(superseded on main) and the shapes.rs hunk (already on main).

Co-Authored-By: durtyrobbin <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 04:00:14 +01:00
Vlad Grankovsky 3c6b137a96 Merge upstream main 8e82c0e72 into curves follow-up 2026-11-04 23:15:04 +01:00
yoriswind 1720af269d Merge current main while preserving recorded Batch safeguards 2026-11-04 10:47:01 -08:00
David Mann cb323e9aea Merge PR #10965: Group action playback into one history state 2026-11-04 14:51:18 +01:00
David Mann aac944a315 Merge PR #11223: Actions: map supported classic Gradient recordings
# Conflicts:
#	crates/engine/tests/it/main.rs
2026-11-04 14:51:00 +01:00
David Mann fd736f7ddc Merge PR #10986: Actions: map recorded Content-Aware Fill settings 2026-11-04 14:50:49 +01:00
yoriswind 85fc78bb64 Merge current main into recorded Actions dialog support 2026-11-03 21:55:00 -08:00
yoriswind 2974772936 Map supported classic Gradient action recordings 2026-11-03 19:32:28 -08:00
yoriswind 16b24885e6 Support recorded Type Create Work Path actions 2026-11-03 19:28:31 -08:00
yoriswind 1bcf7a3c6a Merge batch 14 main before action-history review fixes 2026-11-03 17:27:25 -08:00
yoriswind 1f9f37ae8e Merge batch 14 main into Content-Aware Fill recordings 2026-11-03 17:24:10 -08:00
David Mann 545d447c10 Merge PR #10998: Actions: map recorded Scale Effects and Create Layers 2026-11-04 00:51:01 +01:00
yoriswind 53f9de4375 Merge current main to include upstream CMYK split-route fix 2026-11-03 14:47:00 -08:00
Vlad Grankovsky 21a90058e7 Merge upstream main 81bd97376 and validate isolated tone targets 2026-11-03 22:20:32 +01:00
yoriswind 3028355333 Merge main and retain action history across Batch and Spelling 2026-11-03 12:42:57 -08:00
yoriswind 1b6bc4136c Merge main into recorded Content-Aware Fill mapping 2026-11-03 12:14:13 -08:00
yoriswind 27f86af55b Merge main into recorded layer style mappings 2026-11-03 12:12:41 -08:00
yoriswind 7763e2578f Merge main into recorded Shear mapping 2026-11-03 12:11:27 -08:00