Commit Graph
17832 Commits
Author SHA1 Message Date
David Mann 690aceffbe Merge remote-tracking branch 'origin/main' into fix/17433-fill-script-symmetry-fill
# 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
2026-11-30 23:48:21 +01:00
David MannandClaude Opus 5.5 d116712677 Fill: Symmetry Fill turns about the selection's own centre (#17433)
A selection that reaches past the canvas kept the centre of its visible
part; it now turns about the centre of the whole selection, while the fill
stays clipped to the canvas. The centre is summed in f64 so a far-off
selection pixel cannot overflow.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 23:47:05 +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 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 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
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 391cc3ca20 Fill: Symmetry Fill script with 33 symmetry types (#17433)
Fill > Pattern > Script > Symmetry Fill repeats the pattern tile about the
canvas centre (the selection's centre with one) by one of 33 symmetry
types: line and point reflection, 4-fold rotation, translation, glide
reflection, four dilations, the seven frieze groups and the 17 wallpaper
groups. Type 1 matches the measured two mirrored tiles; the factory P6M
fills the area with 6-fold turned and mirrored copies.

The scripted-pattern module gets one render dispatch that edit.fill and
the dialog preview share; the script dialog gets the Symmetry type list
and the translation rows.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 22:36:01 +01: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 MannandClaude Opus 5.5 56f7eb1f41 Color Lookup: find LUT_3D_SIZE anywhere in the file, as the parser does (#18364)
The .cube parser reads every line and accepts a size keyword after the table rows; is_3d_cube stopped at
the first row and so called such a file not 3D, and Data Order and Table Order skipped it. The scan now
goes on until it finds the keyword, still decoding as it reads without copying the file; a file that names
its size before its rows, as files normally do, still ends the scan there.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 22:17:30 +01:00
David MannandClaude Opus 5.5 201c8d529f Color Lookup: tell a 3D .cube from its header, without copying the table (#18364)
The Properties panel asks on every draw whether the kept file is a 3D .cube. is_3d_cube decoded the whole
file into a new string for that; it now reads the lines before the first table row, decoding UTF-8 and
UTF-16 as it goes. A file whose size keyword came after its rows does not parse to a table of that size, so
a layer never holds one.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 21:54:51 +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 68c2325f2e Color Lookup layer Properties: Data Order and Table Order only for a 3D .cube (#18364)
A 1D .cube is read as written whatever the orders say, so the panel offered radios whose change could not
stick. They now show only while the LUT is a 3D .cube (is_3d_cube, now public in the engine).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 21:11:51 +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 b61989d981 Merge remote-tracking branch 'origin/main' into fix/17479-fill-multichannel
# Conflicts:
#	crates/engine-paint/src/cmd/fill_cmds.rs
2026-11-30 21:05:12 +01:00
David MannandClaude Opus 5.5 c7c89496a3 Fill: no canvas-sized buffers when filling Multichannel inks
Normal blends linearly, so the fill is turned into density and the channel is
filled as it is, sharing solid tiles. Other modes turn the channel into tone
and back one tile at a time.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 20:59:56 +01:00
David MannandClaude Opus 5.5 800e3ddf66 Color Lookup layer Properties: radio rows for 3DLUT File, Abstract and Device Link, a Dither checkbox and the .cube orders (#18364)
The panel lays out as the reference application's: three radio rows with their dropdowns, the Dither
checkbox, and Data Order / Table Order radio pairs while a .cube is the LUT. The layer keeps the orders its
.cube was read in (LutSource), and an edit naming only an order reads the kept file again in the new
orders. The Abstract and Device Link rows ask for an ICC profile and say that applying one is not supported
yet (#14428), or that the file is the wrong kind of profile; the layer keeps its LUT.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 20:40:05 +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 e4ce6b08fe Merge remote-tracking branch 'origin/main' into fix/18364-color-lookup-layer-props 2026-11-30 20:15:30 +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 Mann 850b8458d8 Merge remote-tracking branch 'origin/main' into fix/17479-fill-multichannel
# Conflicts:
#	crates/engine-paint/src/cmd/fill_cmds.rs
2026-11-30 19:57:18 +01:00
David MannandClaude Opus 5.5 772f58ceec Color Lookup layer Properties: Dither is a checkbox, as in the reference application (#18364)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 19:57:11 +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
David Mann e997a5a388 Merge remote-tracking branch 'origin/main' into fix/17483-opacity-fraction-alert 2026-11-30 19:02:31 +01:00
David Mann 4186e60f52 Merge remote-tracking branch 'origin/main' into fix/17479-fill-multichannel
# Conflicts:
#	crates/engine-paint/src/cmd/fill_cmds.rs
2026-11-30 18:45:03 +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