Commit Graph
206 Commits
Author SHA1 Message Date
David Mann 321c383171 Merge #17117 into the merge queue batch
Color Settings: Blend Text Colors Using Gamma is a checkbox with a 1.00–3.00 field
2026-11-27 00:59:34 +01:00
David Mann 294fbe3351 Merge #14621 into the merge queue batch
Correct Calculations Gray values for default RGB composites
2026-11-27 00:59:33 +01:00
qvest-ssels ab2c75f621 Color Settings: only a legacy blendTextGamma of 1 loads as the box off
Settings saved before the checkbox (#14243) held one number, with 1 meaning off. Any number up to 1
loaded as the box off with 1.45, so a hand-edited 0.5 was silently replaced and not reported. Only
exactly 1 is the off sentinel now; a smaller number is reported as an invalid preference and loads
as 1.45 with the box on, as an out-of-range value in the new format does.
2026-11-26 23:47:29 +01:00
David MannandClaude Opus 5.5 d201f0ebe5 build: move craft-libs to storytold next a46af76c (storytold/craft-libs#3788 merged)
Also brings storytold/craft-libs#3773 (readout flicker between moves).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 22:17:14 +01:00
David MannandClaude Opus 5.5 a5fb6aa532 build: pin craft-libs at storytold/craft-libs#3788 (Layers blend rows replay, #17131)
main's pin 5d2c8bdcf with the PR's one change merged in; move to next once it merges.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 21:00:10 +01:00
Ian 4fe21f6e50 test: install channel command registry 2026-11-26 14:50:51 -05:00
David Mann 18c90f2499 Merge pull request #17103 from davidmann4/fix/17102-flyout-no-empty-ring
Tool flyouts mark only the shown tool (#17102)
2026-11-26 20:36:13 +01:00
David MannandClaude Opus 5.5 3a9b2eed72 Move craft-libs to storytold next 5d2c8bdcf4 (tool flyouts check the shown tool, storytold/craft-libs#3746)
The flyout rows check the shown tool and draw no empty ring before the
others (#17102). The new pin also carries:
- a list's toggle cell reports one access node, a CheckBox when it is
  one (craft-libs 73743edd0): the Brush Settings test clicks the
  Enable Scattering check box by that role;
- a color row with opacity (craft-libs 39a7ddf9d): four numbers read
  back as the fields' f32 Rgba value, so the printable-area test
  compares the area within f32's precision (file.print allows 2 pt).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 18:56:21 +01:00
yoriswind f7699272e1 Preserve custom-pattern phase coverage on the current bitmap fixture 2026-11-26 09:14:41 -08:00
qvest-ssels ee10c0804e Color Settings: Blend Text Colors Using Gamma is a checkbox with a 1.00-3.00 field
Blend Text Colors Using Gamma was a 1.0 to 2.2 slider where 1.0 meant off, so turning it off and on lost a custom value. ColorSettings now keeps the field's value (blend_text_gamma, 1.00 to 3.00, two decimals) and the box (blend_text_gamma_on) apart; text_gamma() is what the compositor blends in (1 while the box is off), and the compositor takes up to 3.00. edit.colorSettings still takes a bool for blendTextGamma (the box alone) or a number in range (the value, and the box checked), plus blendTextGammaOn. The dialog shows the checkbox with the field beside it: typing a value checks the box, focusing does not, an out-of-range value alerts "A number between 1.00 and 3.00 is required. Closest value inserted." and an emptied field puts its value back. Settings saved as one number still load: 1 as the box off with 1.45, any other value as the box on with that value (#14243).
2026-11-26 17:22:41 +01:00
David MannandClaude Opus 5.5 307761b442 Preferences: the Appearance Size row keeps Comfortable (#17096)
The Appearance page's Size pick was dropped: appearance_row copied back
only the mode and the theme slots, so the row showed Compact again on the
next frame. PhotoCraft also kept no size, sent none to the suite and never
gave the root a density.

Add interface.density (compact/comfortable), drawn by the Appearance page,
kept in step with the suite's shared size like the mode and themes, and
set as the root's density each frame.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 16:49:20 +01:00
David Mann 743d1b6c80 Merge #16961 into the merge queue batch
Package: skip PSD-embedded smart objects
2026-11-26 14:36:50 +01:00
Ian 49c76cf95d test: verify embedded package payloads 2026-11-25 21:54:19 -05:00
David MannandClaude Opus 5.5 735f15b492 Agents: move craft-libs to next with the token cache fix (#17006)
craft-libs 5c30761a (next, with craft-libs#3599): a settings change
(agents off and on, another port) reads the agent token file again
instead of reusing a token from an earlier failed start.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 01:39:05 +01:00
David MannandClaude Opus 5.5 09e1d1cb60 Agents: no UI freeze every 5 s from a refused token file (#17006)
Move craft-libs to the newest `next` (83a63bca, with craft-libs#3579)
and egui to the revision `next` pins (b9770908).

craft-libs#3579: the agent link no longer retries a refused token file
every 5 s from the UI thread (each try started whoami and PowerShell,
~300 ms), replaces a token file an older PhotoCraft wrote without
restricting it on Windows, and reuses the checked token when it retries
a taken port.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 00:21:56 +01:00
Dan 00aabb53bd Integrate atomic Layer Style confirmation with current main 2026-11-25 19:49:12 +00:00
David Mann 5e33fa6a70 Merge #16958 into the merge queue batch
Layers: Layer from Background's History state reads "Make Layer" (#16760)
2026-11-25 19:05:47 +01:00
David Mann 7095c743d9 Merge #16442 into the merge queue batch
Color Lookup: Image > Adjustments interpolates tetrahedrally and dithers by default (#14419)
2026-11-25 19:05:46 +01:00
David Mann 8a16296b97 Merge #15966 into the merge queue batch
fix(engine): the Spectrum and system Color Table presets run in the reference order (#14344)
2026-11-25 19:05:46 +01:00
David Mann eff5cf198a Merge #16065 into the merge queue batch
Define Brush Preset: tips up to 5000 px, unavailable for larger areas (#14275)
2026-11-25 17:31:42 +01:00
David Mann 80a19d25ee Merge #16023 into the merge queue batch
Canvas Size: a relative size in percent grows or shrinks each side by that share (#14541)
2026-11-25 17:31:41 +01:00
David Mann 7876190068 Merge #16175 into the merge queue batch
#14293: Define Custom Shape stores a targeted path together with the active shape layer
2026-11-25 17:31:41 +01:00
David Mann 92a7f23f42 Merge #16651 into the merge queue batch
Render Video: Alpha Channel option for PNG sequences (#14163)
2026-11-25 17:31:40 +01:00
David Mann e376c2311e Merge #15233 into the merge queue batch
Layer Style: the stroke command refuses an eleventh stroke (#15140)
2026-11-25 17:31:38 +01:00
x-labb 2aa6e06571 Color Table preset tests: start from the installed command registry (#14344) 2026-11-25 16:56:45 +01:00
RickiNano 37c3c0a32c Merge remote-tracking branch 'origin/main' into s073-16442
# Conflicts:
#	crates/engine-core/src/cmd/table/image/adjustments.rs
2026-11-25 16:34:48 +01:00
RickiNano 029cbe6c7f Color Lookup: a smart filter's unknown interpolation reaches its editor unchanged
lookup_filter_params applied the legacy tetrahedral flag before checking the
interpolation name, so {"interpolation":"unsupported","tetrahedral":false}
came back as trilinear although lookup_from_params refuses it. Check the
name first.
2026-11-25 16:24:40 +01:00
Ian ffeaaad070 Skip PSD embedded sources when packaging 2026-11-25 10:12:14 -05:00
David Mann 830316b775 Merge pull request #16955 from davidmann4/fix/16905-repin-own-window-moves
RAW Develop's window moves and resizes again (#16905)
2026-11-25 16:11:58 +01:00
RickiNano 34238f8b55 Layers: Layer from Background's History state reads "Make Layer" (#16760)
The menu entry, the double-click and the lock icon on the Background row
and a recorded action step all run layer.new.layerFromBackground, which
named its one History state "Layer From Background". The reference
application names it "Make Layer".
2026-11-25 16:02:57 +01:00
David MannandClaude Opus 5.5 6604a4cec8 Move craft-libs to storytold next a165ef3a2c and egui to b15ffe9bf (own-window dialogs move and resize, storytold/craft-libs#3476)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 15:09:15 +01:00
David Mann a9b731d104 Merge #16012 into the merge queue batch
Brightness/Contrast: refuse a hidden or empty pixel layer (#14359)
2026-11-25 14:55:29 +01:00
David Mann ac393630ea Merge #16686 into the merge queue batch
feat(vector): every Pen click gets its own History entry (#12890)
2026-11-25 14:55:27 +01:00
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 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 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 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 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 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
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
David Mann 3e3831ab41 Merge remote-tracking branch 'origin/main' into HEAD 2026-11-25 02:29:05 +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
hnoerenberg 326a8bd78f fix(vector): the Pen's live Work Path over a replace and a Redo (#12890)
The first click of a new path took the subpath index it carries from the
path that was in the document before the write. A replacing click sends
`path.set` without `op`, and that write leaves the drawn path the
document's only one (`vector_cmds/paths.rs`), so after Enter had finished
a path with one subpath the draft looked for its anchor at index one,
found no subpath there, and never went live: every further click stayed
in the draft and made no History step of its own. A click that joins the
path selected in the Paths panel still appends with `op`, so the count
that path had stays its index there.

Redo of one of the Pen's own clicks back to the History tip left no state
waiting to be redone, so the live draft did not follow the path: the next
pass cancelled it ("Pen draft cancelled because its source document or
path changed") and the click after that wrote a new one-anchor Work Path
over the path being drawn. `can_redo()` cannot tell that case from a
command that replaced the subpath, so the rule now asks who made the
state the document is on: the six Pen step names are refused for any
other `path.set` (`paths.rs`), so Redo and Step Forward to one of those
states rebuild the draft from its path, as stepping back to an earlier
state always did, while a command from elsewhere leaves a state under
another label and the draft goes stale there (#6593). `PEN_STEP_NAMES`
becomes an export of `vector_cmds` so the Pen's route and the allowlist
read one list.

`the_path_that_replaces_the_one_enter_finished_is_live_from_its_first_click`
and `redoing_to_the_tip_of_a_live_path_puts_its_click_back_on_the_pen`
fail at 39a3bc5377 - after Enter the steps there are only
["New Work Path"] where the clicks are two, and at the tip of a Redo the
draft is gone - and pass here.
2026-11-25 01:33:25 +01:00
David Mann 349af1806f Merge remote-tracking branch 'origin/main' into HEAD 2026-11-25 01:09:11 +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 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
hnoerenberg 11e6ed38ea rustfmt over the spliced test line: the chain wraps as the file does elsewhere 2026-11-24 23:54:02 +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