Commit Graph
16391 Commits
Author SHA1 Message Date
David Mann b8eea8463d Merge #15990 into the merge queue batch
Fill and Stroke grey the modes the document can't use (#14647)
2026-11-25 13:28:25 +01:00
David Mann 09a55b4a02 Merge #16010 into the merge queue batch
feat(type-tool): Alt+drag on Vertical Type Mask opens the Paragraph Text Size dialog (#12090)
2026-11-25 13:28:25 +01:00
David Mann ec236094ca Merge #16638 into the merge queue batch
fix(tools): a pattern from an Indexed image keeps painting (#13071)
2026-11-25 13:28:24 +01:00
David Mann 3bd9c0deb0 Merge #16411 into the merge queue batch
Layer Comps to Files: comment in the name, dashes in PNG names, .tif and .jpg (#13940)
2026-11-25 13:28:24 +01:00
David Mann 3cf3766392 Merge #16017 into the merge queue batch
Content-Aware Fill with the whole canvas selected does nothing silently (#14253)
2026-11-25 13:28:23 +01:00
David Mann f53e981b00 Merge #16553 into the merge queue batch
Fix Levels Alt-drag clipping preview state
2026-11-25 13:28:22 +01:00
David Mann 8aaaa73199 Merge #16379 into the merge queue batch
Actions: play and record the Auto-Align Layers step (#14201)
2026-11-25 13:28:22 +01:00
David Mann 77b7358fbf Merge #16200 into the merge queue batch
Modern Brightness at +150 and -150 matches the reference ramps (#14348)
2026-11-25 13:28:21 +01:00
David Mann aca633da34 Merge #15562 into the merge queue batch
feat(droplet): Create Droplet gets the Destination dropdown (#13711)
2026-11-25 13:28:20 +01:00
RickiNano baea3f6ef8 Layer Comps to Files: a part that fits keeps its trailing space (#13940)
`clip_bytes` trimmed trailing spaces even when it didn't cut anything,
so a sanitized prefix such as `A ` (from `A .`) lost its space in a
short file name. It now returns a part that fits unchanged and trims
only the end a cut leaves.
2026-11-25 07:28:31 +01:00
RickiNano 580011e93e Actions: play the Auto-Align step in the full app's session (#14201)
Engine split step 8 moved Auto-Align Layers to engine-vector, so the
playback and Undo test in engine-core built a session where
`edit.autoAlignLayers` isn't registered, and no longer exercised the
real command. It moves to the engine integration tests
(`atn_auto_align_play.rs`), where `Session::new()` installs every crate's
commands, and now also checks that playing the step adds one history
state. The import and export tests stay in engine-core.
2026-11-25 07:24:53 +01:00
RickiNano 3fc42fdab2 Layer Comps to Files: a cut part leaves out the parts after it (#13940)
When a part of the file name was cut, the bytes left over (less than one
character of it) could still hold a later, lower-priority part: a cut
comp name could lose its last character while a one-letter comment
stayed. Now a cut prefix leaves out the name and comment, and a cut
name leaves out the comment.
2026-11-25 07:24:40 +01:00
RickiNano 5bc0153391 Layer Comps to Files: a long comment is shortened, not a failed export (#13940)
The comp comment is appended to the file name, and nothing limited the
length, so a comment of a few sentences gave a name past the 255-byte
file name limit and the save stopped the whole export at that comp.

`comp_file_name` now builds `<prefix>_<index>_<name>[_<comment>].<ext>`
within 255 bytes (which also keeps it within Windows' 255 UTF-16 units).
A name that doesn't fit loses the end of its comment first, the whole
comment with its `_` when none of it fits, then of the comp name, then
of the prefix. The index and extension always stay, and every cut falls
between characters.

The new test exports a comp with a six-sentence comment (with umlauts)
and the comp after it, as PNG and TIFF; without the change the export
fails at the first comp. The names tests now export into a folder per
run, so the PNG tests no longer share one.
2026-11-25 07:16:04 +01:00
RickiNano b1100518a1 Modern Brightness: each input rises with the slider up to ±150 (#14348)
Past +110 the curve mixed the slider's own roll-off with the fixed +150
fit. The power roll-offs come closer to white than that fit past about
input 220, so the mix fell there as the slider neared +150: input 200
gave 253.55 at +134 and 253.32 at +150.

The ease now starts at +109.5, the last Hermite roll-off, which stays at
or below the +150 fit everywhere, and mixes from the roll-off held at or
below the fit. Both parts of the mix then rise with the slider, and the
curve reaches the +150 fit itself at +150, so the measured ramps are
unchanged.

The new test steps the slider one unit at a time from ±100 to ±150 and
checks every 8-bit input; it fails on the previous curve.
2026-11-25 07:06:51 +01:00
aiongg e22facf45b Merge pull request #16894 from superplay2021/fix/cmyk-vector-shape-paint
fix(cmyk): preserve native CMYK in vector shape fills and strokes
2026-11-24 23:14:17 -05:00
aiongg a39646d494 Merge branch 'main' into fix/cmyk-vector-shape-paint 2026-11-24 22:30:12 -05:00
aiongg 8a3ff6c089 Merge pull request #16691 from davidmann4/batch/16665-16598
PhotoCraft 0.24 on craft-libs next, with the RAW Develop window fix (#16665 + #16598)
2026-11-24 22:06:45 -05:00
David MannandClaude Opus 5.5 3e094078e6 Pen shape-mode tests read the number before the unit next adds to a field's accessible value
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 03:17:04 +01:00
David MannandClaude Opus 5.5 2f9362d241 Move craft-libs to storytold next 3656e8aaa4 (dock-gap fixes, storytold/craft-libs#3383, #3360, #3058, #3086, #3212)
On that pin DockAreaOutput.window_files is grouped per window; the files dropped on a floating panel's window are
flattened before they open (as aiongg/photocraft@54911df7f5).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 03:11:59 +01:00
hnoerenberg 98e31bc19d The droplet destination tests clean up their fixture folders
The `tmp` helper built its folder under the OS temp directory named
`photocraft-droplet-dest-<pid>-<name>` and only removed it at the start
of the next run, so every test run that did not reach the same name
again left its fixtures behind. The sibling droplet_play_options_tests.rs
already uses `tempfile::tempdir()` (engine-core has the tempfile dev
dependency); `tmp` now hands back the `TempDir` beside the path and each
test holds it, so the fixture goes when the test ends, panicked or not.
Paths are derived from the temp folder; no assertion reads the old
naming.
2026-11-25 03:07:18 +01:00
superplay2021 ffe41a5dc5 fix(cmyk): discard invisible ink before dropping alpha 2026-11-25 03:51:55 +02:00
David Mann 3e3831ab41 Merge remote-tracking branch 'origin/main' into HEAD 2026-11-25 02:29:05 +01:00
David MannandClaude Opus 5.5 b76d2a12b4 i18n tests: the drawn File title starts with the translation, with the access key after it on next
On craft-libs next the app's menu bar draws the English access key after a translated title where the language
shows one ("ファイル(F)", storytold/craft-libs#3364), while the bare menu bar the tests read the reference from
draws the translation alone. The live tests look for a drawn title that starts with it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 02:28:56 +01:00
superplay2021 492cbae90b fix(cmyk): preserve native CMYK in vector shape fills and strokes 2026-11-25 03:13:59 +02:00
David Mann ac2e39a063 Merge queue batch #16717: #15767, #15421, #16049, #15092, #16446
Merge queue batch: 5 PRs (#15767, #15421, #16049, #15092, #16446)
2026-11-25 02:03:15 +01:00
David MannandClaude Opus 5.5 2af203280a Review fixes: a held corner widget is no snap target; a pasted CRLF moves the caret by one
- pressed_layers also leaves out the shapes a held corner widget rounds: the widgets show without the scale box
  (Target Path hidden, the Move tool) and beside other layers in a mixed selection.
- The type editor counts inserted text as the engine stores it (a CRLF pair is one line break), for the caret and
  the count it reports.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 01:45:04 +01:00
David MannandClaude Opus 5.5 39f8ba661d Move craft-libs to storytold next a3174010b7 (font-manager builds for wasm again, storytold/craft-libs#3399)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 01:45:04 +01:00
David Mann 349af1806f Merge remote-tracking branch 'origin/main' into HEAD 2026-11-25 01:09:11 +01:00
David MannandClaude Opus 5.5 23bf461dae Task bars stay clear of the scroll bars; the Magnetic Lasso test takes the arrow cursor
On craft-libs next a task bar whose anchor fills the canvas slides over it (storytold/craft-libs#3343, #16657), so
with a crop frame larger than the view the Crop bar sat on the horizontal scroll bar and took its presses (#16231
again). The crop, transform and frame task bars now show inside the canvas short of the bars.

The lassos' Standard cursor is the arrow with the tool icon beside it on next (#16671).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 01:09:02 +01:00
David Mann 5babb6a3bd Merge #16446 into the merge queue batch
Enlarge with Preserve Details without ringing at hard edges
2026-11-25 00:57:23 +01:00
David Mann 8cf4c99513 Merge #15092 into the merge queue batch
Summarize: order modifiers Alt, Shift, Ctrl off macOS (#14882)
2026-11-25 00:57:22 +01:00
David Mann 713963e393 Merge #16049 into the merge queue batch
feat(pen): Fill, Stroke, W/H and Align Edges in the Shape-mode options bar
2026-11-25 00:57:21 +01:00
David Mann 0aaf8ecfba Merge #15421 into the merge queue batch
Tests: wait for the other thread's state instead of a fixed sleep (#15379)
2026-11-25 00:57:21 +01:00
David Mann 94f9683886 Merge #15767 into the merge queue batch
fix(atn): ask Continue or Stop when a played step names a missing layer
2026-11-25 00:57:20 +01:00
Dylan M. Taylor 928326271c RAW #587: choose the actual frame budget for shared CFA development (#16699) 2026-11-24 18:20:07 -05:00
hnoerenberg 11e6ed38ea rustfmt over the spliced test line: the chain wraps as the file does elsewhere 2026-11-24 23:54:02 +01:00
David Mann dd56106df2 Merge queue batch #16705: #14467, #16250, #16290, #15965, #16318, #16308
Merge queue batch: 6 PRs (#14467, #16250, #16290, #15965, #16318, #16308)
2026-11-24 23:44:15 +01:00
hnoerenberg e691ebb031 The Destination run sits on main's session accessors: actions_mut(), the recording counters and the preset-store trait
The merged main moved the Actions state and the playback counters behind accessors
(ActionsExt::actions/actions_mut, Session::recording) and the preset store behind PresetStoreExt.
`run_droplet_open` now reads and writes the captured action list, the batch depth and the script
step budget through those, and its tests build their sessions with `crate::session()`, the way the
droplet tests on main do. The rule the tests pin is unchanged: a None run installs the droplet's
captured actions, raises the nesting depth for its own steps and hands both back.
2026-11-24 23:36:02 +01:00
hnoerenberg 0e8616faa6 Merge upstream/main into feat/droplet-destination-13711
# Conflicts:
#	crates/engine-core/src/cmd/automate_cmds.rs
#	crates/engine-core/src/cmd/droplet_destination_tests.rs
#	crates/ui-egui/src/dialogs/file_forms.rs
2026-11-24 23:12:58 +01:00
hnoerenberg 6e5dec7860 Drop a stray trailing blank line at the test file's end 2026-11-24 23:04:57 +01:00
hnoerenberg 76467eab56 Name the dot-parse assumption on field_number: the harness locale is the built-in one, a comma locale would need a pin 2026-11-24 22:42:36 +01:00
hnoerenberg 399271a8e8 Merge upstream/main into feat/pen-shape-fill-stroke-12907 2026-11-24 22:40:28 +01:00
David Mann 928b9ff707 Merge #16308 into the merge queue batch
Smudge: Alt turns Finger Painting the other way for the stroke
2026-11-24 22:20:19 +01:00
David Mann e67693730f Merge #16318 into the merge queue batch
Create Ellipse: open with the active ellipse's size, else 100 x 100
2026-11-24 22:20:19 +01:00
David Mann c80a7a618c Merge #15965 into the merge queue batch
fix(engine): Auto-Blend Layers is unavailable with a type layer or smart object selected (#14204)
2026-11-24 22:20:18 +01:00
David Mann 223d159e6a Merge #16290 into the merge queue batch
Magic Eraser: alerts for a hidden layer, a locked layer and a group
2026-11-24 22:20:17 +01:00
David Mann f1c86f09c6 Merge #16250 into the merge queue batch
Content-Aware Fill: choosing Custom asks for the Sampling Brush
2026-11-24 22:20:17 +01:00
David Mann 7e8d2959ca Merge #14467 into the merge queue batch
New Document: documents created alike stay separate Recent items (#14038)
2026-11-24 22:20:16 +01:00
David Mann 32f53c8fbb Merge queue batch #16687: #16079, #16122
Merge queue batch: 2 PRs (#16079, #16122)
2026-11-24 22:18:16 +01:00
hnoerenberg e86d7a20b9 test(atn): start the engine guard tests from an installed session
CI runs one test process per test. These four started from a bare
Session::new(), so the first command returned NotInstalled and the unwrap
panicked: crates/engine-core/src/cmd/actions_cmds/tests.rs:438 in
recording_starts_with_no_document_open, and :447 in the shared helper
other_names_document that the three playback pins call. Every other test
in this file starts from crate::session(), which installs this crate's
commands first; the four now do the same.

Verified per test rather than per run: run alone, each of the four failed
before this change (unwrap on Err(NotInstalled)) and passes alone after
it. A single whole-lib process hides this because one test's install serves
the rest; the whole lib stays green either way (3276 passed, 0 failed).
2026-11-24 22:14:37 +01:00