Commit Graph
17888 Commits
Author SHA1 Message Date
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 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 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 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 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 fe45033881 Merge pull request #18414 from davidmann4/fix/18413-new-document-look
New Document: darker preset pane, clipboard glyph, compact details, resizable (#18413)
2026-12-01 01:16:34 +01:00
David Mann c198d7b96f Merge #17015 into the batch branch 2026-12-01 01:07:06 +01:00
David Mann 9d3305d010 Merge remote-tracking branch 'origin/main' into bb-epic-color-replacement-mx3tl41i 2026-12-01 01:06:54 +01:00
David MannandClaude Opus 5.5 6ac592c2d0 Color Replacement: keep the first use's live tip; the bar test visits the tool first (#11929)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 00:51:30 +01:00
David Mann 860846efe4 Merge pull request #18380 from davidmann4/fix/adjustment-layer-glyphs-9038
Layers panel: each adjustment layer shows its own glyph (#9038)
2026-12-01 00:39:34 +01:00
David Mann be487b3448 Merge branch 'bb-epic-color-replacement-mx3tl41i' of github.com:davidmann4/photocraft into HEAD 2026-12-01 00:27:19 +01:00
David MannandClaude Opus 5.5 c43e59cfd0 New Document: glyph preset cards (#18413)
PhotoCraft's preset cards take PresetCardLook::Glyph (line-art sheets on flat cards, a clipboard on the Clipboard
card), from storytold/craft-libs#4562, which is in the craft-libs commit #18380 pins.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 00:08:00 +01:00
David Mann c91916cf50 Merge branch 'bb-epic-color-replacement-mx3tl41i' of github.com:davidmann4/photocraft into bb-11916 2026-11-30 23:50:38 +01:00
David Mann f06b2f7501 Merge pull request #18365 from davidmann4/fix/18364-color-lookup-layer-props
Color Lookup layer Properties: the reference rows, Dither checkbox, .cube orders, no interpolation choice (#18364)
2026-11-30 23:44:03 +01:00
David Mann 3a640487c1 Merge pull request #18052 from davidmann4/fix/17483-opacity-fraction-alert
Fill and Stroke: a typed fraction in Opacity raises the integer alert (#17483)
2026-11-30 23:42:33 +01:00
David Mann 2d8bd1f5a2 Merge pull request #18391 from davidmann4/fix/17494-gradient-preset-classic-mode
Gradient tool: keep the Classic mode out of tool presets (#17494)
2026-11-30 23:35:38 +01:00
David Mann b7059306d2 Merge pull request #18049 from davidmann4/fix/17479-fill-multichannel
Fill: write the fill's grey into every channel of a Multichannel document (#17479)
2026-11-30 23:35:12 +01:00
David MannandClaude Opus 5.5 73318789a7 Color Replacement: Angle field and Pressure for Size toggle on the options bar (#11929)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 23:33:40 +01:00
David Mann 82dd267fec Merge pull request #14328 from TrevorBrown-dev/fix/check-spelling-enter-escape-14179
Check Spelling: Enter and Escape close the dialog like Done (#14179)
2026-11-30 23:33:31 +01:00
David MannandClaude Opus 5.5 7994d07717 Color Replacement: handle the stroke result in the falloff tests (#12368)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 23:32:56 +01:00
David Mann f0e51519c7 Merge pull request #18213 from qvest-ssels/fix/fill-quick-mask-greyed-17488
Fill dialog in Quick Mask greys what the channel can't take
2026-11-30 23:32:46 +01:00
David MannandClaude Opus 5.5 25270653b0 Pin craft-libs at craft-libs#4527's merge commit 0b064039 on main
Builds on #18404 (the port to craft-libs main 83fa9a5d: legacy preferences
import, the Type tool's editor host) and follows two more framework changes:

- FormDialog::extra_buttons no longer forces stays_open: an extra button
  without it now closes the dialog and accepts. The Fill script dialog's
  Reset, Color Table's Load/Save, Contact Sheet's Load/Save/Reset and
  "Stop syncing this Smart Object" all act and close themselves, so each
  keeps stays_open(true).
- A target change now withdraws only queued input aimed at a point; keys
  stay and go to the focus current when they run. The lifecycle test
  queues a click at a point instead of a key.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 23:30:24 +01:00
David Mann 8b72b67fc8 Merge pull request #18397 from davidmann4/fix/17429-fill-script-cross-weave
Fill: Cross Weave script (#17429)
2026-11-30 23:28:23 +01:00
David Mann 1408fce42d Merge main into #18380 2026-11-30 23:25:52 +01:00
David Mann 7e602282fc Merge remote-tracking branch 'origin/main' into HEAD 2026-11-30 23:25:44 +01:00
David Mann db0fbd6ed6 Merge pull request #18417 from davidmann4/fix/dialog-padding-18416
ui-egui: give dialogs a roomier margin (#18416)
2026-11-30 23:23:44 +01:00
David MannandClaude Opus 5.5 e146acf767 Color Replacement: check block 7 with a stroke past it (#12368, #11916)
At Tolerance 100 the table's block 7 is the stroke's end point, where the
reference's value depends on where its last dabs land (measured: 176,169,181
ending at 750, 195,178,69 ending at 740). A stroke on to x 790 leaves the
block's centre at 166,165,238 in the reference; compare against that within
6 levels instead of only checking it is partly replaced.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 23:15:15 +01:00
David Mann fd06de1b1a Merge #16279 into the batch branch
# Conflicts:
#	crates/ui-egui/src/hidden_layer_tests.rs
#	crates/ui-egui/src/tools/brush_refusal.rs
2026-11-30 23:11:26 +01:00
David Mann b86b2a8bd6 Merge #12368 into the batch branch 2026-11-30 23:10:57 +01:00
Elvis33LE 7cbe48c80f CI: Split the panic hunt and cap Linux Rayon pools (#18439)
Run the existing panic hunt as eight ignored Nextest cases in one test binary, preserving every command and input, the harness self-test, and the 180-second deadline per test process.

Set RAYON_NUM_THREADS=4 for the Linux gate and no-HEIF job. That limits the default global Rayon pool per process; it does not cap total Nextest concurrency or demonstrate that cluster contention or OOMs are fixed.

The eight cases and self-test passed in hosted Ubuntu and Windows on the earlier merge preview and in the scoped current-main Linux validation. The latter used Rayon two.
2026-11-30 15:46:01 -06:00