Commit Graph
11425 Commits
Author SHA1 Message Date
yoriswind c7d2332948 Keep unowned library playback valid across a later recording take 2026-11-04 02:24:12 -08:00
DingusMcRinkyDinkyandClaude Opus 5.5 03fd903bd4 Gradient Map: a stop drag that ends elsewhere still commits
A review of this PR found that a drag ending without drag_stopped (taken
away, or the button let go where the strip doesn't see it) dropped its
state without committing, so a stop the preview had removed stayed
removed with no History step and was committed with the next edit. Any
end of the drag now commits what the preview shows. The off-strip
distance is one helper shared by the Gradient Map, the Gradient tool and
the shape gradient editor, and the tests check the History steps too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EZbgszHyuEuWAzxaamteuU
2026-11-04 11:01:53 +01:00
yoriswind 508a35c83d Align Batch playback namespaces and retain child results 2026-11-04 01:51:41 -08:00
yoriswind f31dbe4546 Preserve Batch namespace ownership and recorded playback context 2026-11-04 01:51:40 -08:00
Psychotoxical f44510490f fix(ui): Empty checks an opaque default against the canvas, cached per document (#10881)
A layer with an opaque default pixel is empty when its stored tiles
cover the canvas and are clear on it; parts of the canvas without a
tile show the default. The empty layers are cached per document (a
Weak to it) instead of per revision, which a selection moves too.
Tests: an opaque default erased over the canvas, a selection and a
second document, a hidden group with a visible child.
2026-11-04 10:46:55 +01:00
Psychotoxical f874701bd9 fix(ui): the Empty scan runs on one thread in the browser (#10881)
rayon is a desktop-only dependency of photocraft-ui-egui, so the wasm
build failed. The browser scans the tiles one after another.
2026-11-04 10:13:20 +01:00
Psychotoxical cf1ca93e75 perf(ui): the Empty scan reads alpha bytes in parallel (#10881)
Integer alpha is above 0 where any of its bytes is, so blocks of pixels
are OR-ed together instead of decoding each sample, and tiles are scanned
in parallel. Three completely erased 36 MP layers (release): 87 ms
before, 11 ms after.
2026-11-04 09:49:44 +01:00
Psychotoxical c71677a159 Merge remote-tracking branch 'origin/main' into feat/layer-filter-attribute
# Conflicts:
#	crates/automation/src/server.rs
#	crates/ui-egui/src/control/tests.rs
#	crates/ui-egui/src/panels/layer_filter_ui.rs
#	crates/ui-egui/src/state.rs
#	docs/control-protocol.md
2026-11-04 09:49:44 +01:00
yoriswind ad5c259667 Use white glyphs on coloured Actions thumbnails 2026-11-04 00:19:46 -08:00
yoriswind fc4ca40f39 Merge current main while preserving selected Batch actions 2026-11-04 00:12:49 -08:00
NewsBaba 72686e6804 Native-speaker reviewed and changes made to translation
Native-speaker reviewed translated words and changes were made. Multiple translated words changed by native-speaker.
2026-11-04 13:41:06 +05:30
Josias Eli Rodriguez 5d416cf812 test(review): Layer via Copy adds exactly one layer (#11217) 2026-11-04 01:52:00 -06:00
Hamza e85b360248 Merge remote-tracking branch 'origin/main' into fix/layer-filter-kind-and-mode
# Conflicts:
#	crates/ui-egui/src/control/tests.rs
#	crates/ui-egui/src/panels/layer_filter_ui.rs
#	docs/control-protocol.md
2026-11-04 12:48:11 +05:00
Hamza d45face8ef Crop look tests: a commit now hides the frame until the next press (main's 75a6828f5) 2026-11-04 12:42:11 +05:00
Hamza a78664046c Merge remote-tracking branch 'origin/main' into fix/crop-overlay-and-fill-defaults
# Conflicts:
#	crates/ui-egui/tests/it/main.rs
2026-11-04 12:42:11 +05:00
yoriswind 61057eb740 Document Actions sidecar ordering and migration transaction ownership 2026-11-03 23:33:31 -08:00
yoriswind 5e748bfc01 Validate action definitions with the durable encoder before publication 2026-11-03 23:33:30 -08:00
Hamza a4ff5aa673 Crop: a drag keeps the started look once it has changed the frame, and the untouched dashes stay anchored to the corners 2026-11-04 12:32:34 +05:00
Josias Eli Rodriguez f29532f0d3 test(review): Layer via Copy of a linked layer starts unlinked (#11217) 2026-11-04 01:30:29 -06:00
Josias Eli Rodriguez 64cf1678ba fix(review): transforms keep untargeted Backgrounds out, duplicates start outside the source link group, warp guard judges the widened set (#11217) 2026-11-04 01:17:56 -06:00
NaufalDzz 3d0024c4eb i18n(transform): translate the Toggle Reference Point check box
The check box uses the catalogue's existing "Toggle reference point",
which most languages already had; the eight without it get it now.
2026-11-04 14:08:41 +07:00
NaufalDzz e04e2b23fa test(transform): move the Toggle Reference Point tests to their own file
The issue asks for the tests in transform_reference_point_tests.rs, so
they go there and drive the box through the public begin and pointer.
2026-11-04 14:05:20 +07:00
yoriswind 13abd9d916 Declare PSD fixture dependency for CLI integration tests 2026-11-03 22:46:11 -08:00
NaufalDzz 34dc2c4819 Find Layers: show a Layers panel closed in the panel docking layout (#10884)
With the panel docking layout on (any customized workspace), Window ›
Layers closes the Layers panel in that layout, which the dock group's
reveal doesn't reopen. Find Layers now shows it through
window.panel.activate there, as a new adjustment layer shows Properties.
2026-11-04 13:38:52 +07:00
Hartmut Nörenberg f7f2983f78 fix(assets): bind post-save generation to the saved document's identity
A Save Document script that closes or moves a tab changed the document list between the script event and the Image Assets continuation, which reused a resolved-before index: the saved document's outputs were silently skipped, or a shifted-to index exported another tab's. document_saved now takes the DocId, resolves it only after the script ran, and generates nothing when the script closed the saved document.
2026-11-04 07:36:16 +01:00
Josias Eli Rodriguez 519c0a48e4 fix(transform): linked layers scale and rotate together (#11217) 2026-11-04 00:29:39 -06:00
NaufalDzz c1d996fb96 Find Layers: focus the Name field after the click on the menu item (#10884)
Clicking Select › Find Layers ran the command in the frame of the click,
so the Name field asked for the focus in a frame with a pointer press
elsewhere and egui dropped it at the end of that frame. The focus now
waits for a frame without a press or release. New tests click the real
menu item, and close the Layers panel from Window › Layers before the
shortcut.
2026-11-04 13:26:49 +07:00
yoriswind 0f1fc00651 Preserve recorded Batch invariants on live documents 2026-11-03 22:11:17 -08:00
yoriswind 6b38df86bc Document transform hit-zone invariants and regression controls 2026-11-03 22:11:16 -08:00
yoriswind 29534d08c0 Document atomic Move control dispatch and behavioral controls 2026-11-03 22:11:16 -08:00
yoriswind 6855fb68fd Document Type Work Path mapping and regression oracles 2026-11-03 22:06:23 -08:00
yoriswind 838dca6f5d Document action history ownership and continuation contracts 2026-11-03 22:06:22 -08:00
NaufalDzz 4fb9866c80 Smart filter rows test: reselect the layer the Name filter deselected (#10879) 2026-11-04 12:58:59 +07:00
yoriswind 85fc78bb64 Merge current main into recorded Actions dialog support 2026-11-03 21:55:00 -08:00
yoriswind fb34385723 Cover automated composed gates and dialog mask defaults 2026-11-03 21:36:19 -08:00
NewsBaba 88ad85a8d3 Merge branch 'storytold:main' into main 2026-11-04 11:04:53 +05:30
yoriswind 1bee4f9bf4 Clarify paused playback policy compatibility 2026-11-03 21:19:51 -08:00
yoriswind fdf1f48a1c test(crop): dispose unused CPU texture updates 2026-11-03 21:10:29 -08:00
yoriswind 4789b5e6b1 Keep the pixel adjustment control independent of mask selection 2026-11-03 21:02:17 -08:00
yoriswind dbe2d24411 Build document views before exercising window-control ownership 2026-11-03 21:00:58 -08:00
yoriswind a918da2c2d Correct alternate shortcut fixture types and format review regressions 2026-11-03 20:59:30 -08:00
yoriswind 118e521507 Keep disambiguated folder names stable after collision removal 2026-11-03 20:58:02 -08:00
yoriswind ea9ec0f462 Cover picker choices through owned Actions draft Save and reload 2026-11-03 20:57:07 -08:00
yoriswind 3c9bc2d588 Reconcile exact browser Actions migration retries in one transaction 2026-11-03 20:55:34 -08:00
yoriswind 13a830c6c1 Label the Actions picker for both icon and color choices 2026-11-03 20:45:56 -08:00
yoriswind 23e8afa89f Use external ATN input limits in CLI batch loading 2026-11-03 20:43:57 -08:00
yoriswind fb548fc7b6 Keep Actions preview dialogs on their document and contrast thumbnail glyphs 2026-11-03 20:41:14 -08:00
yoriswind d72aa36d1d Preserve Actions targets and reject incomplete definition publication 2026-11-03 20:41:06 -08:00
yoriswind 3125470df6 Keep session and service gates distinct across paused actions 2026-11-03 20:40:11 -08:00
NaufalDzz a6eddde4aa Select › Find Layers opens the Layers panel's Name filter (#10884)
As in Photoshop, Find Layers (Ctrl+Alt+Shift+F) no longer selects the
layers whose name matches. From the menu or its shortcut it shows the
Layers panel, switches the filter to Name and puts the caret in the Name
field with its text selected, so typing replaces it. With a `name` param
(scripts and agents) it sets the Name text instead. The layer selection
is unchanged either way.

select.findLayers no longer changes the selection and no longer fails
when nothing matches; its reply lists the matching ids in `selected`, as
before, and the Name filter applied in a new `layerFilter` field.

Fixes #10884
2026-11-04 11:36:55 +07:00