Commit Graph
236 Commits
Author SHA1 Message Date
aiongg e7767a86c2 build: pin craft-libs at storytold/craft-libs#3900's head 47ba4dfd38
The frame-floor batch on storytold main with craft-libs#3801. toml moves
to 1.1.8, the version craft-update pins exactly.
2026-11-27 15:10:08 +00:00
aiongg 113c6af86d Merge photocraft#17149's head (be49e08345) into fw365-int-pc
The egui pin at storytold/egui#65's merge commit 932a73b2, as
craft-libs#3801 pins it.
2026-11-27 15:01:04 +00:00
aiongg d39d976fdc Merge storytold main (b88866441b) into fw365-int-pc
Conflicts:
- options_bar/fill.rs: main's HealingReplace arm joins the Paint Bucket's
  mode match, which writes only when the mode changes.
- retouch_ui/bar/tone.rs: Finger Painting keeps its tracked binding;
  main's pressure-for-size switch follows it.
2026-11-27 15:01:00 +00:00
David MannandClaude Opus 5.5 be49e08345 Pin egui at storytold/egui#65's merge commit and craft-libs at storytold/craft-libs#3801's head (#17148)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-27 15:15:54 +01:00
David Mann c33e300484 Merge remote-tracking branch 'origin/main' into perf/pointer-move-gate-17148 2026-11-27 14:59:10 +01:00
David Mann 7450da5a52 Merge #14820 into the merge queue batch
Refuse Group from Layers when the Background is selected (#14709)
2026-11-27 12:51:09 +01:00
David Mann 6e11d1972b Merge #16447 into the merge queue batch
Undo of New Channel and Calculations restores the channel target
2026-11-27 12:51:08 +01:00
David Mann 8f48e4a1b9 Merge #16230 into the merge queue batch
Layer Style: a new Gradient Overlay starts at grey 215 to white, Smooth (#14900)
2026-11-27 12:51:07 +01:00
David Mann b437ef3b16 Merge #16455 into the merge queue batch
Artboard from Layers: Width and Height take 4 to 32000 px
2026-11-27 12:51:06 +01:00
David Mann ca09020a6c Merge #16653 into the merge queue batch
Layers to Files: Include ICC Profile checkbox and iccProfile param
2026-11-27 12:08:37 +01:00
David Mann e5645b570e Merge #15154 into the merge queue batch
Actions: load every recorded Content-Aware Fill value and empty steps (#14254)
2026-11-27 12:08:36 +01:00
mlo0352 8303d38c60 fix: preserve unsaved Duplicate Image copies and their initial history (#14680)
* fix: mark duplicate images unsaved with their own history state

* test: use engine save API for duplicate close regression

* test: install commands for duplicate history cases

* test: keep duplicate history fixture core-only
2026-11-27 09:29:50 +00:00
qvest-ssels 79592621f3 Merge main into fix/group-from-layers-background-14709
# Conflicts:
#	crates/engine-core/src/cmd/layer_multi_cmds/group_from_layers_background_tests.rs
2026-11-27 10:15:52 +01:00
qvest-ssels da571544ef Drop channel view imports main no longer uses
The merge kept both import lists in channel_cmds/view.rs. Main moved the
code that used AlphaChannel, Color and ColorIndicates out of this file,
so clippy -D warnings failed on unused imports.
2026-11-27 09:40:05 +01:00
qvest-ssels ce2ed9b117 Merge main into fix/gradient-overlay-factory-defaults-14900
# Conflicts:
#	crates/engine-core/src/layer_style.rs
#	crates/engine-core/src/layer_style/gradient_overlay_defaults_tests.rs
2026-11-27 08:51:24 +01:00
qvest-ssels f8ec532dcc Merge main into fix/undo-restores-channel-target-14683
# Conflicts:
#	crates/engine-core/src/cmd/channel_cmds.rs
#	crates/engine-core/src/cmd/channel_cmds/undo_channel_target_tests.rs
#	crates/engine-core/src/cmd/channel_cmds/view.rs
2026-11-27 07:02:26 +01:00
qvest-ssels bae76cf3d8 Merge main into fix/artboard-from-layers-size-range-14577
# Conflicts:
#	crates/engine-core/src/cmd/artboard_cmds/from_layers_size_range_tests.rs
2026-11-27 07:01:16 +01:00
aiongg ef9f9ca9e1 Merge fw365-f6b (56bf471c4a) into fw365-int-pc
Conflicts:
- Cargo.lock: kept photocraft#17149's lock. F6's a5e476b933 committed a lock the local patch file had rewritten.
- panels/region_versions.rs (no textual conflict): F6b deleted `serialized`, which F4's canvas version still uses for
  the UI state that has no `Hash`. `serialized` stays; the canvas version reads the tool options through their
  revision instead of serializing them.
2026-11-27 03:11:37 +00:00
aiongg a5e476b933 Status bar binds the zoom alone; what the app remembers in preferences moves no region's version (FW-365 F6) 2026-11-27 00:40:21 +00:00
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
David MannandClaude Opus 5.5 b8304c6d5d build: craft-libs at storytold/craft-libs#3801's head (egui_fork::REV matches the egui pin)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-27 00:42:09 +01:00
David MannandClaude Opus 5.5 951cfadeeb perf(ui): a pointer move that changes nothing under the pointer runs no frame (#17148)
PhotoCraft turns on the framework's pointer-move gate
(storytold/craft-libs#3801, storytold/egui#65): a move with no button held
runs a frame only when what lies under the pointer changes, a drag runs, or
the pointer is over a canvas, which follows the pointer (its cursor, the
rulers' marks, the readouts). craft-libs and egui are pinned at those PRs'
heads.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-27 00:27:41 +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
RickiNano 40491cd8da Actions: the Custom-area message of an empty Content-Aware Fill step is translatable (#14254)
The engine keeps its English message for automation clients, now as
`atn_cmds::CAF_CUSTOM_AREA_NOT_REMEMBERED`. When a step fails with it, the
status bar shows the shell's literal `tl!` copy instead, so the recovery
instructions follow the UI language and the translation coverage report
lists the key.
2026-11-26 08:20:38 +01:00
RickiNano 9e8827aa45 Actions: an empty Content-Aware Fill step after a Custom fill stops and says why (#14254)
The workspace remembers Custom sampling but not its painted area (Custom
reopens empty), so an empty recorded step had no area to sample and failed
with the command's parameter error. It now stops before filling with a
message that says the Custom area isn't remembered and how to go on, and
never falls back to another sampling area. The document and the remembered
settings are unchanged.
2026-11-26 07:52:56 +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
qvest-ssels 13a3c3acaa Leave the profile out of an Indexed PSD when Include ICC Profile is off
An Indexed Color document is written over its colour table by palette_map, which adds its RGB profile
(resource 1039) and returned before the embed_icc check, so Layers to Files with Include ICC Profile off
still wrote the profile into an Indexed document's PSD or PSB (#13973). That path now drops the resource
when embed_icc is off. Indexed PNG, BMP and GIF never carry a profile, and its JPEG and flat and layered
TIFF already followed the setting; the new test covers them too.
2026-11-25 20:59:00 +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