Commit Graph
17953 Commits
Author SHA1 Message Date
David Mann 59a4e6a84c Merge origin/main into the batch branch 2026-12-01 06:13:47 +01:00
David Mann dd1aff337f Merge branch 'bb-epic-color-replacement-mx3tl41i' of github.com:davidmann4/photocraft into bb-epic-color-replacement-mx3tl41i--17788-cr-cursor-pixel-group-locks 2026-12-01 06:09:48 +01:00
David Mann 8238840aa4 Merge branch 'bb-epic-color-replacement-mx3tl41i' of github.com:davidmann4/photocraft into bb-epic-color-replacement-mx3tl41i--17787-cr-lock-pixels-alert 2026-12-01 05:41:35 +01:00
David MannandClaude Opus 5.5 05b3028fbd Color Replacement: no-entry cursor for pixel, group and artboard locks (#17788)
The cursor is now the not-allowed sign over a layer with Lock Image Pixels, a group with
Lock All or Lock Image Pixels around it, an artboard with Lock All around it, that locked
group or artboard itself, and a hidden Lock All layer. Lock Transparent Pixels, Lock
Position, the artboard lock and the Background layer keep the tip; Alt keeps the Eyedropper.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 05:27:17 +01:00
David Mann 22a0bb7bf9 WIP: Color Replacement: no-entry cursor for pixel, group and artboard locks (#17788) 2026-12-01 05:23:09 +01:00
David Mann aec193d611 Merge branch 'bb-epic-color-replacement-mx3tl41i' of github.com:davidmann4/photocraft into bb-epic-color-replacement-mx3tl41i--17786-cr-tolerance-pressure 2026-12-01 05:14:56 +01:00
David MannandClaude Opus 5.5 ac27a5f445 Color Replacement: Lock image pixels opens the "layer is locked" alert (#17787)
A press with the Color Replacement tool on a layer whose image pixels are
locked, by its own lock or by a locked group or artboard around it, now
opens the alert with OK and paints nothing, like Lock All. Alt+click still
samples; Lock transparent pixels, Lock position and the artboard lock still
paint; a hidden layer and a group keep their alerts first.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 05:08:38 +01:00
David Mann eaa4fb73f0 Merge branch 'bb-epic-color-replacement-mx3tl41i' of github.com:davidmann4/photocraft into bb-epic-color-replacement-mx3tl41i--17785-cr-size-pressure-default 2026-12-01 05:00:11 +01:00
David MannandClaude Opus 5.5 4beeecd9cd Color Replacement: Tolerance on Pen Pressure scales each dab's tolerance (#17786)
With the brush popup's Tolerance control on Pen Pressure, each dab replaces only the
colours within Tolerance x the pen pressure at that dab. Off, the mouse and Stylus Wheel
keep the full Tolerance. Dabs now carry the input pressure they were placed at, and
`paint.colorReplacement` takes `toleranceControl` (off, penPressure, stylusWheel).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 04:54:13 +01:00
David Mann 000ff7cdbb Merge branch 'bb-epic-color-replacement-mx3tl41i' of github.com:davidmann4/photocraft into bb-epic-color-replacement-mx3tl41i--17784-cr-target-cursor 2026-12-01 04:44:26 +01:00
David MannandClaude Opus 5.5 c15a2fa6f0 Color Replacement: no-entry cursor over a target it refuses (#17784)
Over a pixel or adjustment layer's mask, an alpha channel, the Quick Mask,
one colour channel alone or a smart object, the Color Replacement tool now
shows the not-allowed cursor before any click, as the reference application
does in RGB documents. The composite and a vector-mask-only layer keep the
tip (Caps Lock the crosshair). Two colour channels, a group's mask, a
disabled mask and a hidden or locked layer's mask were not measured and keep
the tip.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 04:20:05 +01:00
David Mann 59153889bd Merge queue batch #18564: #18552
Merge queue batch: 1 PRs (#18552)
2026-12-01 04:12:48 +01:00
David MannandClaude Opus 5.5 7e43e330c4 Color Replacement: size follows pen pressure from the first use and after Reset Tool (#17785)
A first pick of the tool now starts its "Size:" control at Pen Pressure, as
Reset Tool already did (#11931), so a pen stroke is the tip size times the
pressure. Tests for both and for the stroke width at 0.25, 0.5 and full
pressure; the Brush tool keeps its own default.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 04:04:03 +01:00
David Mann 061e54ad65 WIP: Color Replacement: size follows pen pressure by default (#17785) 2026-12-01 03:56:24 +01:00
David MannandClaude Opus 5.5 5c96c63fbb Color Replacement: refuse one or two colour channels (#17783)
The tool recolours the full colour composite only. In an RGB document a
press, live stroke or paint.colorReplacement with one colour channel
targeted now gives "Could not use the Color Replacement tool because it
only works in full color modes.", with some but not all channels
"...because the target channels do not cover the composite.": nothing
painted, no History state. All channels still paint; other colour modes
were not measured and keep painting. The check sits in the shared
Color Replacement target refusal, so the canvas alert and the command
error use the same text.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 03:54:06 +01:00
David Mann 5777c8c5f2 Merge #18552 into the merge queue batch
Smart Objects: Edit Contents opens the top-most selected smart object (#18464)
2026-12-01 03:30:44 +01:00
David Mann 1c2937219b Merge branch 'bb-epic-color-replacement-mx3tl41i' of github.com:davidmann4/photocraft into bb-epic-color-replacement-mx3tl41i--17782-mask-channel-alerts 2026-12-01 03:16:34 +01:00
David Mann 141674bf4c Merge branch 'bb-epic-color-replacement-mx3tl41i' of github.com:davidmann4/photocraft into bb-epic-color-replacement-mx3tl41i--17760-cr-hud-tolerance 2026-12-01 03:14:53 +01:00
David Mann e81eeb05d7 Merge queue batch #18558: #18476, #18477, #18429, #18497, #18503, #18511, #18513, #18514, #18496, #18538, #18546, #18515
Merge queue batch: 12 PRs (#18476, #18477, #18429, #18497, #18503, #18511, #18513, #18514, #18496, #18538, #18546, #18515)
2026-12-01 02:43:42 +01:00
David MannandClaude Opus 5.5 8d91ad712d Color Replacement: alerts for a mask, adjustment layer, group mask or channel target (#17782)
The tool recolours a pixel layer's full colour composite only. A press on a
layer mask, an adjustment layer (its mask or its content), a group's mask, an
alpha channel or the Quick Mask now opens the reference application's alert
with OK, and paint.colorReplacement returns the same text. The target decides
before the hidden, locked and 32-bit checks. Measured in RGB documents; other
modes and the filter mask keep the generic refusal.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 02:37:39 +01:00
David Mann 18b6823ede Merge #18515 into the merge queue batch
Show a blocked Art History Brush cursor in Indexed Color and Bitmap (#18507)
2026-12-01 02:04:14 +01:00
David Mann 7cc1cde25d Merge #18546 into the merge queue batch
Show the Grid with Extras hidden (#18532)
2026-12-01 02:04:13 +01:00
David Mann e388a60178 Merge #18538 into the merge queue batch
Draw Layer Edges inside each targeted layer (#18531)
2026-12-01 02:04:13 +01:00
David Mann 2851b2e114 Merge #18496 into the merge queue batch
Reveal layers selected through automation (#18493)
2026-12-01 02:04:12 +01:00
David Mann 861b26548b Merge #18514 into the merge queue batch
Combine Shapes: name the two Overlap History states after their entries (#18451)
2026-12-01 02:04:11 +01:00
David Mann 1747e9c65e Merge #18513 into the merge queue batch
Refuse Art History Brush strokes in Indexed Color and Bitmap (#18506)
2026-12-01 02:04:11 +01:00
David Mann 4879c7eccd Merge #18511 into the merge queue batch
Grey Warp in the Transform menu for a selected group (#18498)
2026-12-01 02:04:10 +01:00
David Mann ddad555303 Merge #18503 into the merge queue batch
Restore Undo and Redo shortcuts in Content-Aware Fill (#18455)
2026-12-01 02:04:09 +01:00
David Mann ab963ebf16 Merge #18497 into the merge queue batch
Keep combined shapes visible when the top layer was hidden (#18453)
2026-12-01 02:04:08 +01:00
David Mann 0550b261a2 Merge #18429 into the merge queue batch
Layer Via Cut: grey it inside a group locked with Lock All (#18277)
2026-12-01 02:04:08 +01:00
David Mann 71d6ab1253 Merge #18477 into the merge queue batch
Free Transform: an untouched box applied on a smart object adds one "Free Transform" step (#17911)
2026-12-01 02:04:07 +01:00
David Mann bd277acfa0 Merge #18476 into the merge queue batch
Smart objects: Reset Transform greyed with Lock All or several layers selected (#18287)
2026-12-01 02:04:06 +01:00
David Mann 7f7d03bf84 Merge queue batch #18490: #15888, #18035, #18412, #18415, #18421, #18418, #18425, #18426, #18419
Merge queue batch: 9 PRs (#15888, #18035, #18412, #18415, #18421, #18418, #18425, #18426, #18419)
2026-12-01 02:02:43 +01:00
David Mann 756fe74f88 Merge commit 'refs/pull/18018/head' of github.com:storytold/photocraft into bb-epic-color-replacement-mx3tl41i--17761-color-replacement-locked-cursor 2026-12-01 01:55:03 +01:00
David Mann 56cf27fad0 Merge branch 'bb-epic-color-replacement-mx3tl41i' of github.com:davidmann4/photocraft into bb-epic-color-replacement-mx3tl41i
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	crates/engine-core/Cargo.toml
#	crates/ipp/Cargo.toml
2026-12-01 01:52:33 +01:00
David MannandClaude Opus 5.5 0c2709fe09 Merge main into the epic-color-replacement batch; pin craft-libs at its batch branch with main merged
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 01:49:09 +01:00
David MannandClaude Opus 5.5 d7673e4758 Color Replacement: the brush display's Opacity row is the Tolerance (#17760)
The Alt+right-drag display on Color Replacement shows the tool's
Tolerance in a third Opacity row beside Hardness, and with Vary Round
Brush Hardness on HUD off its level row reads and changes the Tolerance
at 0.25 % per screen point, as the reference application does. The tool
has no opacity, so the brush opacity it changed before had no effect.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 01:47:51 +01:00
David Mann 4fd5d6fd3a WIP: Color Replacement: the HUD's Opacity row is the Tolerance (#17760) 2026-12-01 01:41:14 +01:00
David MannandClaude Opus 5.5 b73f85b005 Color Replacement: the popup's "Size:" is the brush's Shape Dynamics size control (#11931)
The options bar's "Always use pressure for size" switch (#11929) is measured
off after Reset Tool while the popup's "Size:" reads Pen Pressure, so the two
cannot share `pressure_size`. "Size:" now sets the Shape Dynamics size
control; the bar switch stays the override.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 01:39:25 +01:00
David Mann a7e30f1122 Merge branch 'bb-epic-color-replacement-mx3tl41i' of github.com:davidmann4/photocraft into bb-11931 2026-12-01 01:29:09 +01:00
David MannandClaude Opus 5.5 62eba72297 Color Replacement: the brush picker and right-click open the compact popup (#11931)
The options-bar brush field and a canvas right-click with the Color
Replacement tool now open the compact brush popup instead of the preset
list: Size, Hardness, the tip widget, then Spacing (1-1000 %, range alert),
Angle, Roundness and the "Size:" and "Tolerance:" pen selects with the
tablet warning. "Tolerance:" is a new tool option (Off by default, reset by
Reset Tool); Reset Tool turns "Size:" to Pen Pressure, as measured.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 01:29:01 +01:00
David MannandClaude Opus 5.5 7d5dcef646 Pin craft-libs at the epic-color-replacement batch branch (#11931)
The batch branch keeps the Brush Preset picker's app rows through the
head's measuring run, which the Color Replacement compact popup needs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 01:29:00 +01:00
David Mann a13b937741 Merge #18419 into the merge queue batch
Type: name the missing-font History states "Replace Fonts" and "Replace All Missing Fonts" (#18324)
2026-12-01 01:20:45 +01:00
David Mann 12034beb24 Merge #18426 into the merge queue batch
Group from Layers: colour only the new group, keep the layers' tags (#18279)
2026-12-01 01:20:43 +01:00
David Mann edd7619e81 Merge #18425 into the merge queue batch
Stack Mode: the result is opaque wherever a layer has a pixel (#18296)
2026-12-01 01:20:41 +01:00
David Mann 3ed876090e Merge #18418 into the merge queue batch
Group measurement data points into one shared selection
2026-12-01 01:20:39 +01:00
David Mann 10303a4557 Merge #18421 into the merge queue batch
Stack Mode: name each mode's History state "Rendering Image Stack <entry>" (#18295)
2026-12-01 01:20:36 +01:00
David Mann dcd316c592 Merge #18415 into the merge queue batch
Smart Objects: name the Reset Transform History state "Reset Transforms" (#18285)
2026-12-01 01:20:34 +01:00
David Mann f526e6a6c7 Merge #18412 into the merge queue batch
Layer Align: centres round a half pixel towards the right and down (#18282)
2026-12-01 01:20:30 +01:00
David Mann 6cb569ce1e Merge #18035 into the merge queue batch
Fill: snap Indexed Color fills to the colour table (#17472)
2026-12-01 01:20:27 +01:00