Commit Graph
17793 Commits
Author SHA1 Message Date
David Mann ff804c86b2 Merge remote-tracking branch 'origin/main' into fix/17430-fill-script-place-along-path 2026-11-30 23:33:44 +01:00
David Mann dd1c7bfd29 Merge remote-tracking branch 'origin/main' into fix/17430-fill-script-place-along-path
# Conflicts:
#	crates/compose/src/scripted_pattern.rs
#	crates/engine-paint/src/cmd/fill_cmds.rs
#	crates/engine-paint/src/fill_script_brick_tests.rs
#	crates/engine-paint/src/lib.rs
#	crates/ui-egui/src/dialogs/fill_script_ui.rs
#	crates/ui-egui/src/dialogs/fill_script_ui_tests.rs
2026-11-30 23:33:19 +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 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 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 a5206743e0 Vector: a sampled corner takes the piece that ends there in any request order
Polyline::sample kept the cursor on the current piece when a request
landed exactly on that piece's start, so the same arc length gave the
next piece's direction after a later request and the previous piece's
on its own. Reset at that boundary too (review finding on #18401).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 23:18:58 +01:00
David MannandClaude Opus 5.5 7d75b77f71 Fill: Place Along Path scripted pattern (#17430)
Edit > Fill > Pattern > Script > Place Along Path lays the pattern tile
along the path selected in the Paths panel: tiles centred on the path,
the first on the start point, turned with the path, a step of the tile's
shorter side plus Spacing apart, placed while they end before the path
does, every other tile mirrored with Alternate patterns. The dialog has
the 10 controls with their check boxes and greying rules; without a
selected path the fill is refused with "No path selected" and the dialog
does not open. Path sampling by arc length lives in the vector crate.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 23:03:00 +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
David MannandClaude Opus 5.5 67f8cdb202 Fill scripts: tiles clear at a pixel do not use up the layer limit (#17429)
A tile that covers a pixel but is transparent there counted toward the
1024-layer cap, so with a mostly clear pattern at the largest overlap the
cap ran out before the tiles that show at that pixel were reached and the
pixel stayed empty. Only visible samples count now; a separate, larger
visit cap keeps the work per pixel bounded. Applies to Brick Fill and
Cross Weave alike.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 22:27:43 +01:00
David Mann 1553cd3c9e Merge queue batch #18441: #12159, #18383, #18357, #18393
Merge queue batch: 4 PRs (#12159, #18383, #18357, #18393)
2026-11-30 21:43:45 +01:00
David MannandClaude Opus 5.5 d95e44570d Merge origin/main into fix/fill-quick-mask-greyed-17488
Contents greys History when its source does not match (#17464) or on the
Quick Mask channel, and the fill from surroundings without a selection or on
the channel.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 21:09:10 +01:00
David Mann 7aeb1bf641 Merge #18393 into the merge queue batch
Add the Select Data Points submenu with a checked Custom item
2026-11-30 21:07:09 +01:00
David Mann 5a80645701 Merge #18357 into the merge queue batch
Art History Brush: keep pressure toggles on Reset Tool (#18335)
2026-11-30 21:07:08 +01:00
David Mann 8acc3103eb Merge #18383 into the merge queue batch
Move tool: show W and H beside the pointer while drawing the layer marquee (#18162)
2026-11-30 21:07:06 +01:00
David Mann 424e9a5515 Merge #12159 into the merge queue batch
Brush Preset picker: Size and Hardness take whole numbers and alert when out of range
2026-11-30 21:07:04 +01:00
David Mann 35d5defc5e Merge queue batch #18424: #18014
Merge queue batch: 1 PRs (#18014)
2026-11-30 21:05:20 +01:00
David Mann 99fbbb7cbc Merge #18014 into the merge queue batch
Fill: grey History in Contents when its source does not match (#17464)
2026-11-30 20:26:42 +01:00
David MannandClaude Opus 5.5 965aebff55 Fill: Cross Weave script (#17429)
Edit > Fill > Pattern > Script > Cross Weave weaves the pattern tile in a
basket weave: square cells of the mean tile side plus Spacing alternate
between a flat and an upright tile like a checkerboard, leaving a 5 x 5
transparent hole at every 35 px grid point for a 40 x 30 tile, each tile
turned half way or not at random (repeatable by seed). edit.fill and the
dialog preview both lay scripts out through one render() in
scripted_pattern.rs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 20:16:39 +01:00
David Mann 6c28867ac0 Merge queue batch #18405: #18028
Merge queue batch: 1 PRs (#18028)
2026-11-30 20:03:23 +01:00
David MannandClaude Opus 5.5 1bd46c520d ui-egui: give dialogs a roomier margin (#18416)
PhotoCraft left the shared space.pad.dialog token at its default (12 px
Comfortable, 8 px Compact), so title, message and buttons sat right at
the dialog's edge. Set it to 24 and 16 px in the app's size overrides;
only dialogs read this token.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 19:48:10 +01:00
David Mann bafe706f9b Merge #18028 into the merge queue batch
Fill: History on a layer missing from the source clears to transparent (#17465)
2026-11-30 19:20:57 +01:00
David Mann 7118602a25 Merge queue batch #18394: #18098, #10431, #17693, #11882, #18378, #18384
Merge queue batch: 6 PRs (#18098, #10431, #17693, #11882, #18378, #18384)
2026-11-30 19:19:40 +01:00
David MannandClaude Opus 5.5 93a120630d Brush Preset picker range alert test: a typed Size fraction is cut off
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 19:08:58 +01:00
David Mann 71bb781745 Merge remote-tracking branch 'origin/main' into HEAD 2026-11-30 19:06:41 +01:00
Dan f2ed4c6dfd Retry Windows CI after texture page order failure 2026-11-30 17:37:51 +00:00
David MannandClaude Opus 5.5 0e7ef629b9 Merge origin/main into fix/fill-quick-mask-greyed-17488
The Script option's early remember keeps a Mode the Quick Mask dialog greyed,
as the fill path does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 18:32:00 +01:00
NaufalDzzandOpenBot 6f91fb0941 Merge main and preserve brush reset pressure settings
Co-authored-by: OpenBot <335604065+openbotgit[bot]@users.noreply.github.com>
2026-11-30 17:30:54 +00:00
David Mann 9e2d60af2b Merge #18384 into the merge queue batch
Layer Align: name each History state after its entry (#18283)
2026-11-30 18:27:47 +01:00
David Mann 719b2fe370 Merge #18378 into the merge queue batch
Disable Save for Web for 32-bit and Multichannel documents
2026-11-30 18:27:46 +01:00
David Mann 13319475bf Merge #11882 into the merge queue batch
fix(engine): the magic wand measures Tolerance in the document's own channels
2026-11-30 18:27:45 +01:00
David Mann e9d2bccd1b Merge #17693 into the merge queue batch
Hold a legacy Brightness/Contrast brightness in -100..100
2026-11-30 18:27:43 +01:00
David Mann 86a13c1145 Merge #10431 into the merge queue batch
Tests: CMYK proptest regression seeds run again
2026-11-30 18:27:42 +01:00
David Mann 00eede3821 Merge #18098 into the merge queue batch
Fill: Quick Mask colour fills in Grayscale, CMYK and Lab take the grey profile's value (#17487)
2026-11-30 18:27:41 +01:00
David Mann 3dedcc6dad Merge pull request #18013 from davidmann4/fix/17428-fill-script-brick-fill
Fill: Script option with Brick Fill (#17428)
2026-11-30 18:25:44 +01:00
David Mann 57b391852a Merge pull request #18292 from davidmann4/fix/18208-headless-mcp-discovery
Fix headless MCP command discovery and edit validation (#18289)
2026-11-30 18:25:31 +01:00
David Mann 71001a7938 Merge pull request #18369 from davidmann4/fix/crop-frame-active-document
Crop frame only on the active document (#18368)
2026-11-30 18:25:28 +01:00
David Mann 7e28e68a94 Merge pull request #18386 from davidmann4/perf/window-move-no-pass-18000
A window move runs no frame (#18000)
2026-11-30 18:19:14 +01:00
David Mann 9a84038d7b Merge pull request #18385 from davidmann4/fix/17190-floating-dropdown
Floating panel windows: dropdown picks, submenus and hover work again (#17190)
2026-11-30 18:16:02 +01:00
David Mann 1fac003ba2 Merge queue batch #18387: #18207, #18345
Merge queue batch: 2 PRs (#18207, #18345)
2026-11-30 18:10:06 +01:00
Dan 71cc84045d Open Select Data Points from a checked Custom submenu item 2026-11-30 17:09:12 +00:00
David MannandClaude Opus 5.5 5ff7b5de89 Fill in Quick Mask keeps a remembered Mode the document greys
A Mode greyed by the document's colour mode or depth (Overlay in RGB 32 bit)
opened as Normal in Quick Mask, and OK saved Normal over it. Keep it like the
modes the channel greys.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 17:42:18 +01:00
David MannandClaude Opus 5.5 055755e523 Merge origin/main into fix/fill-quick-mask-greyed-17488
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 17:42:05 +01:00
David Mann 06415bb6a5 Merge remote-tracking branch 'origin/main' into fix/17428-fill-script-brick-fill
# Conflicts:
#	crates/engine-paint/src/cmd/fill_cmds.rs
#	crates/engine-paint/src/lib.rs
2026-11-30 17:34:17 +01:00
David Mann ccfd278fd6 Merge remote-tracking branch 'origin/main' into fix/17465-fill-history-missing-layer
# Conflicts:
#	crates/engine-paint/src/cmd/fill_cmds.rs
2026-11-30 17:26:32 +01:00
David Mann 3b2ca66a16 Merge remote-tracking branch 'origin/main' into fix/17487-quick-mask-fill-gray-modes
# Conflicts:
#	crates/engine-core/src/cmd/color_cmds.rs
#	crates/engine-paint/src/cmd/fill_cmds.rs
2026-11-30 17:14:38 +01:00
David MannandClaude Opus 5.5 d83b11f035 Merge main into fix/17464-fill-history-greyed
Main now has #18016's same_mode_and_depth and #18015's opening default.
fill_source_usable now also requires the same colour mode and bit depth,
so the Fill dialog greys History for a mode or depth mismatch too; the
tests cover 16 Bits/Channel and Grayscale.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 17:12:49 +01:00
David Mann e7232ae6a6 Merge #18345 into the merge queue batch
Expand groups made from one layer with Group from Layers
2026-11-30 16:56:37 +01:00
David Mann 4aaef1b3c3 Merge #18207 into the merge queue batch
Background Eraser: show the Opacity row in the resize readout (#18053)
2026-11-30 16:56:36 +01:00
David MannandClaude Opus 5.5 66550bff7a Pin craft-libs at storytold/craft-libs#4508: dropdowns and menus work in a panel's own window (#17190)
craft-libs#4508 keeps a popup window's layer out of replayed records (a dropdown pick in a floated
panel's window took no effect), keeps the app from counting as away while a closed submenu's focus goes
back to its menu (leaving a submenu row closed the whole menu), and lets the pointer-move gate find the
layer under the pointer in a popup window (the list's hover highlight stuck on one row).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 16:41:42 +01:00
dholzricandClaude Fable 5.2 e0ccf638cd Layer Align: name each History state after its entry (#18283)
All six layer.align.* commands recorded their step as "Align". Each now
records the entry's name, such as "Align Left Edges", as the reference
application does. Distribute keeps its name.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-11-30 09:41:23 -06:00