Commit Graph
11425 Commits
Author SHA1 Message Date
yoriswind 5185f65fe6 test(actions): target the intended nonlinear redo row 2026-11-03 00:07:38 -08:00
FredApps fdab6c0a33 Merge remote-tracking branch 'upstream/main' into pr-5331 2026-11-03 09:06:31 +01:00
FredApps f7b7e7f618 Rescope to EXR streaming: drop the separate PSD/PSB reader, seekable outputs and export pre-check
Main already opens PSD/PSB from the file in bands (4915f0970, #5106) through
psd_to_document_owned, which keeps damaged-file flagging, failed-layer drops,
type-layer setup and the PSD pixel budget; PSD limits are handled in #10778.
This drops the second PSD/PSB stream reader (psd::stream, io::psd_stream),
the seekable PSB writer and atomic stream helpers, the authorized-workspace
seekable open plumbing and the working-memory pre-check that refused
ordinary exports. The flat scanline EXR band decoder and its tests stay and
are wired into main's path open after merging main.
2026-11-03 09:06:31 +01:00
FredApps 25f21db893 Revert "Stream native PSD and EXR imports through bounded seekable bands"
This reverts commit 89ed4cb284 from the
#5332 branch so the GPU viewport streaming lands standalone. The import
work is rescoped separately in #5331 (EXR streaming only).
2026-11-03 09:03:38 +01:00
yoriswind 446e1a4589 Merge commit '655295b2a2c400bded0640f5d97367000a057b2e' into codex/10723-nested-lefx 2026-11-03 00:01:32 -08:00
yoriswind e482bcb1f8 test(actions): cover explicit history row deletion and Purge Undo 2026-11-02 23:59:33 -08:00
yoriswind d5f0dced78 docs: regenerate scorecard for main scratch storage integration 2026-11-02 23:36:04 -08:00
yoriswind 70aea3465d merge: integrate exact main scratch storage checkpoint
Merge 655295b2a2. Resolve generated scorecard conflict with exact upstream text only; actual source-bound regeneration and combined validation remain pending.
2026-11-02 23:30:10 -08:00
Khawar Zamman Wani 259b5590ae Merge origin/main (655295b2a2) into PR #10897 branch
Keep the PSD memory admission work and upstream's scratch storage
together. Conflicts resolved:
- Cargo.lock: both sysinfo versions are required. 0.40.1 serves
  photocraft-io's adaptive import budget; 0.37.2 serves
  photocraft-raster's scratch volume and memory supervision. Cargo
  metadata resolved the lock with no other changes.
- crates/engine/src/lib.rs: Session keeps pending_preflights and
  next_pending_preflight beside scratch_runtime and scratch_epoch.
  Session derives Default, so neither set needs a manual initializer.

Upstream: 655295b2a2
2026-11-03 12:54:59 +05:30
DingusMcRinkyDinkyandClaude Opus 5.5 80e32f8ef7 Pen: Make Shape turns the path into a shape layer (#10934)
The Pen options bar in Path mode only offered Make Selection, so a drawn
path could not become a shape layer. Make Shape now does that, next to
Make Selection, with the shape tools' fill and stroke, as one History
step. A path still being drawn is finished first. The Work Path becomes
the shape's path and is removed; a saved path stays.

New engine command path.toShape, so scripts and agents can do the same.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EZbgszHyuEuWAzxaamteuU
2026-11-03 08:24:33 +01:00
yoriswind d74288d7ea Style: wrap the malformed effects playback assertion 2026-11-02 23:23:10 -08:00
Khawar Zamman Wani da41a65811 docs: document PSD memory admission and open queue functions
(cherry picked from commit 07c6a3f87cff39dde8ec2b334f4e9b388667bfc8)
2026-11-03 12:51:53 +05:30
FredApps 655295b2a2 Merge pull request #5330 from vistaero/codex/scratch-storage
Add guarded scratch storage and owned memory supervision
2026-11-03 08:16:41 +01:00
yoriswind 4d188a9106 fix(actions): preserve cleared source context and Undo Clear 2026-11-02 23:07:41 -08:00
ArjenS-LA abd0d76aa9 Retain Average parameter validation test adaptation after module split 2026-11-02 23:05:09 -08:00
yoriswind 35dbf2a1bc Actions: keep miskeyed effects references intact 2026-11-02 23:01:31 -08:00
Luis 030972eddb Merge remote-tracking branch 'origin/main' into fix/9754-color-lookup-lut-folder
# Conflicts:
#	contributors/people.toml
2026-11-03 08:01:28 +01:00
yoriswind 66d067d30d Tests: play a miskeyed effects reference before checking retention 2026-11-02 23:00:36 -08:00
ArjenS-LA 93a8d93104 Merge refreshed transparency prerequisite into Average Smart Filters 2026-11-02 22:52:23 -08:00
ArjenS-LA 051c2a8287 Merge current main and retain Average transparency regressions 2026-11-02 22:51:37 -08:00
yoriswind 7fab733238 ci: retrigger checks after contributor approval 2026-11-02 22:47:35 -08:00
yoriswind da54cec641 Tests: match the canonical layer-style reference names 2026-11-02 22:23:16 -08:00
yoriswind 9e2bad749f test(actions): cover clear undo and deferred brush sources 2026-11-02 22:20:45 -08:00
FredApps f4d8886f6e Refuse scripted .pcraft saves whose previews read unreadable scratch
The automation .pcraft save renders the previews and main's optional
full-size composite before the bundle writer takes its scratch snapshot,
so a tile that failed and recovered in between could be saved as
placeholder pixels. Check the document's scratch health and the read-error
generation around that render, as io's export path already does.
2026-11-03 07:19:16 +01:00
yoriswind 0de587b502 Tests: correct layer-style document and wire oracles 2026-11-02 22:17:42 -08:00
yoriswind f650359b77 Merge current main and refresh combined preference scorecard 2026-11-02 22:13:07 -08:00
FredApps 8ce599da3a Merge remote-tracking branch 'upstream/main' into pr-5330 2026-11-03 07:12:38 +01:00
Claude dfdb3a7827 #10113: typing in another document is a step of its own; an edit naming no layer coalesces
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GbuSKAS2k5248LGFEapMUR
2026-11-03 06:05:00 +00:00
Claude eb6cf17f5a #10726: knots carried on don't toggle; the target test keeps its selection; reversed and committed joins tested
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GbuSKAS2k5248LGFEapMUR
2026-11-03 06:05:00 +00:00
yoriswind 3271b4acf0 Actions: map Scale Effects and Create Layers recordings 2026-11-02 22:03:52 -08:00
yoriswind 34c49d575b Tests: exercise recorded layer-style actions against native output 2026-11-02 22:02:42 -08:00
yoriswind 15977fee7f fix(actions): retain explicit history controls during grouping 2026-11-02 21:31:33 -08:00
Khawar Zamman Wani d8e0dde8b5 fix: pass footage import options to the single-file fallback
`load_frames`'s single-file path called `file_cmds::import`, which uses default
import options, so the footage command's lowered PSD/layered-TIFF memory limit
never reached a single-page layered TIFF or PSD. Multi-page TIFF pages already
passed their `opts`.

Give the engine import one shared `import_result_with` path and an
`import_with_options` entry that keep the allocation checkpoint, native
`.pcraft` and format dispatch, typed memory refusals and the preview-only
refusal; the existing `import` delegates with default options, so every other
caller behaves exactly as before. The single-file fallback now passes `opts`.

Add a command-level regression: a single-page layered TIFF under a thread-scoped
`psd_max_pixel_bytes` of 1 must reach `file.import.videoFramesToLayers` as a
typed `EngineError::PsdHardBudget` with its name, required and limit fields
intact and the document unchanged, then import as one frame when the limit is
not lowered.
2026-11-03 10:41:03 +05:30
yoriswind 47473150b9 Actions: export edited CAF settings canonically 2026-11-02 21:04:36 -08:00
yoriswind 1592def699 Tests: cover edited CAF export and multilayer current sampling 2026-11-02 21:03:46 -08:00
ljkx be5b361c59 Crop: a turned ratio corner snaps only to a crossing within reach
Sliding a turned ratio corner along its diagonal onto a guide went as far
as the crossing was: with the diagonal nearly parallel to the guide, a
guide a few px from the handle is met hundreds of px further along, and
the frame jumped there. The slide now has to stay inside the tolerance box
the handle was snapped in (at most the tolerance on each axis); otherwise
the corner follows the drag unsnapped.

Test: a frame turned -31 degrees, whose bottom-right diagonal runs 1 degree
off horizontal, ignores a horizontal guide 3 px from the handle and ends
as with no guide, in Classic Mode and the default mode. It grew by about
40 % before.
2026-11-03 05:53:10 +01:00
yoriswind b5b9d449db Tests: share the CAF pixel equality assertion
Keep both complete pixel comparisons and the existing New/Current output assertions while bringing the playback test under the cognitive-complexity gate. Production behavior and baseline import/kept-control fixtures are unchanged.
2026-11-02 20:43:31 -08:00
Dylan M. Taylor c6af3dcb98 Merge pull request #9913 from dotCooCoo/feat/pcraft-full-composite
Save the flattened document at full size into .pcraft files as an option
2026-11-02 23:29:23 -05:00
yoriswind a6ac7fee15 Style: format CAF action adapter and regressions 2026-11-02 20:13:09 -08:00
yoriswind 699683d8eb test(actions): cover grouped and per-step history 2026-11-02 20:08:20 -08:00
ljkx 22ece6934e Crop: check the kept pixels and the square's centroid in the Ctrl-held Straighten tests (#10870)
With Delete Cropped Pixels off, Reveal All brings back the turned image
outside the frame (and with it on there is nothing to reveal). The 4°
crop checks the red square's centroid instead of one pixel, which a crop
off by up to about 19 px still covered.
2026-11-03 05:08:15 +01:00
Khawar Zamman Wani 06d00e06a9 fix: keep multipage TIFF frames inside the footage budget and refusals typed
The multi-page TIFF branch of `load_frames` pushed each flattened page
straight into `frames`, bypassing the `keep` closure, so `MAX_FOOTAGE_BYTES`
was never checked for those pages: many large pages could retain more than
the cap without an error. Route every flattened page through `keep`, with the
same file-context error mapping as the single-file and GIF/WebP paths, and
keep typed page admission refusals typed.

Add command-level regressions. A per-thread test scope lowers the footage and
PSD limits, so neither test allocates gibibytes: one proves an over-budget
multi-page TIFF is refused with nothing imported, and one proves a page with
Photoshop layer data reaches `file.import.videoFramesToLayers` as a typed
`EngineError::PsdHardBudget` with its name, required and limit fields intact
and the document unchanged.
2026-11-03 09:33:29 +05:30
dotCooCoo 7cd9c9beb9 Layers: test Artboard filtering with nested artboards 2026-11-02 19:56:03 -08:00
yoriswind 7e53861e62 Actions: admit recorded CAF Current Layer output
Use the explicit cafOutputToCurrentLayer Action Manager binding alongside measured New Layer output. Rectangular sampling remains required; native output may use its proven Current default. Extend existing roundtrip, native-default and pixel/Undo controls without changing renderer or history code. Source-only successor; formatting, compilation and tests remain unrun under native0.
2026-11-02 19:54:44 -08:00
Davit MatchakhelidzeandClaude Opus 5.5 376af9145f i18n(ka): bring the Georgian catalog up to date
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 07:51:23 +04:00
Davit Matchakhelidze c399e2ff01 Merge upstream main into ka-language 2026-11-03 07:51:22 +04:00
yoriswind d94717c8ca Actions: map the measured Content-Aware Fill recording
Map the seven-field Rectangular/Default/None/New Layer form to the existing CAF command, retaining source descriptor data only while native settings agree. Keep other enum forms whole and refuse unrepresented native exports. Add focused public regressions, the common round-trip case and supported-form documentation. This is a source-only draft increment: formatting, compilation and runtime validation remain pending under native0.
2026-11-02 19:47:45 -08:00
yoriswind 0738c9bb13 test: retain outer action history across a nested dialog
Extend the existing nested-dialog set-play regression to check the outer action name, single entry and exact Undo/Redo document identity. Production source and the 14 passing public cases are unchanged.
2026-11-02 19:27:30 -08:00
yoriswind 1f55de75c5 test(atn): cover nonfinite vertical Shear coordinates 2026-11-02 19:25:52 -08:00
ljkx e2252cf3bb Crop: a turned Shift-corner drag snaps by sliding along its diagonal
On a turned frame a corner with a ratio (a Shift corner's diagonal or an
options-bar preset) can only slide along its turned diagonal. Handle
snapping moved the handle sideways onto the guide in canvas axes, and the
ratio then put it back off the line: a Shift corner stopped short of the
guide and lost its snap line, and a preset corner grew away from it.
crop_handle now slides the corner along the diagonal onto the nearest line
it reached. Upright frames keep the existing ratio solve.

Tests: a turned frame snapping to a guide with Shift and with an 8:5
preset, in Classic Mode and the default mode; Shift on the top-right and
bottom-left corners, which use the other diagonal.
2026-11-03 04:14:20 +01:00