Commit Graph
3891 Commits
Author SHA1 Message Date
632a62b554 Integration: Custom import takes whole numbers only, export refuses non-object params (#10631)
A Custom (Cstm) step with a fractional Scl/Ofst/cell, e.g. Scl Double 1.5,
was mapped to filter.other.custom with scale 1.5, but export writes integers
and refuses the fraction, so Save Actions failed on a step that used to stay
a kept Photoshop step and round-trip. `within` now requires a whole number;
an integral Double such as 2.0 still maps.

`sets_only` accepted any non-object params, so custom_to(json!([1])) wrote an
identity Custom and bare_to(json!(5)) an empty descriptor for params no
command can play. Only an object or null passes now.

Co-authored-by: hectorviov <1501713+hectorviov@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 01:59:05 +01:00
yoriswind ed71465b89 Apply measured Artboard background settings without resizing 2026-11-01 16:58:20 -08:00
363e0f5e89 Integration: keep Wave action steps with more generators than the renderer draws (#10629)
A Wave step recorded with NmbG above 64 (photocraft_algo::MAX_WAVE_GENERATORS)
mapped to filter.distort.wave, but the renderer clamps to 64 generators, so the
step played differently from Photoshop. Add generators 1..MAX_WAVE_GENERATORS to
WAVE_COMMAND_LIMITS: such a step (e.g. NmbG 65, 999, 1000000) now stays a kept
Photoshop step on import, and {"generators": 65} is refused on export, as the
PSD smart-filter mapper does.

Co-authored-by: hectorviov <1501713+hectorviov@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 01:58:01 +01:00
yoriswind 609d839607 Cover nonlinear 3DL shapers through action playback 2026-11-01 16:55:31 -08:00
David Mann 5a99af60d7 Merge PR #10620: Map Render filter steps in Photoshop actions 2026-11-02 01:54:44 +01:00
yoriswind 863597ba90 Merge remote-tracking branch 'origin/main' into codex/atn-missing-action-events 2026-11-01 16:53:50 -08:00
yoriswind d752b8a3a2 Add embedded LUT and custom shape action support 2026-11-01 16:46:48 -08:00
yoriswind 2c1a83e542 Construct both alpha layouts explicitly in the work-plan test 2026-11-01 16:36:54 -08:00
yoriswind 9ce240b104 Bound Lab replacement work for sparse opaque surfaces 2026-11-01 16:29:11 -08:00
dotCooCoo 0fde94b2c9 Merge main into fix/spelling-change-keeps-its-layer-when-recorded 2026-11-01 16:22:59 -08:00
yoriswind 3f0f4b4076 Merge commit 'fab871dadb85e7422d0b7c872497ff485ae92da9' into codex/atn-dialog-calculations 2026-11-01 16:19:09 -08:00
yoriswind 9a59fc2b09 Read explicit merged transparency from the composite 2026-11-01 16:19:09 -08:00
yoriswind ecd7b2df55 Initialize the merged ATN encoding field in the test fixture 2026-11-01 16:18:10 -08:00
yoriswind 6aa4a52391 Merge main and preserve both ATN development notes 2026-11-01 16:16:56 -08:00
yoriswind 8e71182017 Map recorded Calculations Make steps 2026-11-01 16:13:41 -08:00
aiongg fab871dadb Merge pull request #10535 from davidmann4/integration-batch-11
Integration batch 11: 9 ATN PRs on main
2026-11-01 19:11:02 -05:00
yoriswind 545e6f21db Exercise the actual raster tile boundaries in Lab replacement 2026-11-01 16:08:18 -08:00
yoriswind 6152cffe4e Include opaque default pixels in Lab Replace Color 2026-11-01 15:56:39 -08:00
yoriswind e378246991 Bound Lab Replace Color buffers to stored tiles 2026-11-01 15:53:19 -08:00
dotCooCoo 7a2d998ff7 Merge main into feat/pcraft-full-composite 2026-11-01 15:51:56 -08:00
Gabriel Heuser 24be8ea6e2 Add editable arrowheads to Line tool (#6408) (#9259)
* Add configurable arrowheads to line tool

* Add editable arrowheads to Line tool

* Fix arrow scaling validation and PSD import defaults

* Preserve arrow geometry under affine transforms

* Preserve scaled arrowhead dimensions and prevent non-finite geometry

* Localize arrowhead Start and End labels

* Fix arrow transform editability and short line handling

* Fix PSD arrow concavity serialization

* Fix arrow dimension fallback validation

* Refine arrowhead options UI to match Photoshop

* Add opt-in arrowhead defaults to Shape properties

* Fix tool reset syntax after upstream merge

* Validate arrowhead flags and clamp copied defaults

* Preserve editable headless lines under transforms

* Fix arrowhead UI imports and formatting after v0.17 merge

* Format arrowhead properties after v0.18 merge

* Fix Clippy lint errors in arrow geometry and tests

* Fix headless arrow geometry after nonuniform scaling

* Fix proportional arrow scaling in Properties panel

* Fix Rust formatting in Properties arrow scaling tests

* test: validate invalid arrowhead dimensions without mutation

* fix: preserve arrow compatibility with older pcraft versions
2026-11-01 18:46:05 -05:00
yoriswind 3fa3d34461 Describe adjustment test invariants and conversion boundaries 2026-11-01 15:32:13 -08:00
dotCooCoo e7829eb449 Merge main into feat/pcraft-full-composite 2026-11-01 15:30:48 -08:00
yoriswind e6f23fd8e2 feat(engine): map limited Artboard-from-Group ATN forms
Preserve the target-only call and exactly reconstruct empty-guide settings. Apply preset tags without resizing, retain fractional RGB, and refuse unresolved guide state before mutation. Nonempty associations and unproved flag values remain unfinished.
2026-11-01 15:26:29 -08:00
yoriswind 75ab50544e Limit Lab Replace Color work to selected bounds 2026-11-01 15:14:44 -08:00
yoriswind 82e613fca8 docs: explain ATN adapters and reference survey scope 2026-11-01 14:34:32 -08:00
yoriswind be36a01846 docs: explain direct adjustment validation helpers 2026-11-01 14:17:28 -08:00
yoriswind 686f08c884 test(engine): record and export accepted comp index bounds 2026-11-01 14:08:40 -08:00
yoriswind f39d0b8280 feat(engine): replay the Crop Photos ATN parent once 2026-11-01 14:06:12 -08:00
yoriswind 2d15501659 Support recorded direct Gradient Map and Lab-range Replace Color 2026-11-01 14:02:51 -08:00
yoriswind 1130c8a66c feat(engine): map Type to Shape and radius-only Shape Blur ATN 2026-11-01 13:53:09 -08:00
yoriswind 5321bd773d Reject comp references outside the ATN index format before recording 2026-11-01 13:52:11 -08:00
VoiceLessQ 06ae0dfb87 Merge remote-tracking branch 'upstream/main' into pattern-preview-wrap-tools
# Conflicts:
#	crates/engine/src/cmd/brush_cmds.rs
#	crates/engine/src/cmd/eraser_cmds.rs
#	crates/engine/src/cmd/retouch_cmds/dab.rs
2026-11-01 19:45:50 -02:00
yoriswind c5ed8f9fcf Cover comp recording wire bounds and invalid move destinations 2026-11-01 13:44:29 -08:00
yoriswind 71b98c8134 feat(engine): replay target-only ATN menu events 2026-11-01 13:36:08 -08:00
yoriswind 6e5f02c014 Check absolute profile intent against an independent pixel value 2026-11-01 13:17:55 -08:00
yoriswind 0ae7356064 Respect mask creation clearing the selection in the control test 2026-11-01 13:15:34 -08:00
yoriswind 0aac40105e Reject group transparency before modifying the selection 2026-11-01 13:12:39 -08:00
yoriswind b4c7656c49 feat(engine): replay Smart Object file events from ATN 2026-11-01 13:09:16 -08:00
yoriswind cebea834c1 Prove recorded comp ordinals restore the current layout 2026-11-01 13:06:05 -08:00
yoriswind 8aed34d540 Cover group transparency and empty-name source defaults 2026-11-01 13:04:53 -08:00
yoriswind 21b6546907 Resolve recorded Action reference forms at playback 2026-11-01 12:55:02 -08:00
yoriswind 5881923406 fix(engine): replay recorded link and unlink explicitly 2026-11-01 12:49:47 -08:00
yoriswind e8c5608966 Strengthen paste and profile playback checks
Include the default frosted Glass code in the reference allowed values.
2026-11-01 12:38:07 -08:00
yoriswind 1e3a04c34b Document selection descriptor encoding 2026-11-01 12:23:00 -08:00
yoriswind 2854b4f9fb Preserve named transparency sources and allow false depth flags 2026-11-01 12:17:43 -08:00
yoriswind 408f48d0bc Reproduce named transparency and false depth-flag import failures 2026-11-01 12:16:02 -08:00
yoriswind 713aa92ba5 Exercise legacy action imports through the integration suite 2026-11-01 11:50:10 -08:00
yoriswind 4c6ddb9cb7 Correct legacy action import expectations and document version support 2026-11-01 11:49:17 -08:00
yoriswind 7ca16e9eba Read Photoshop Actions version 12 descriptors 2026-11-01 11:45:32 -08:00