Commit Graph
17875 Commits
Author SHA1 Message Date
yoriswind a19deb5d2a Preserve locks when Group from Layers leaves a group 2026-11-30 17:04:24 -08: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 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
David Mann 5290b8aaef Merge #15888 into the merge queue batch
Initialize basic XMP for new documents
2026-12-01 01:20:24 +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 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 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 9672455eda Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/engine-paint/src/cmd/fill_cmds.rs
2026-11-30 23:49:19 +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 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
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 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
yoriswind 69097bd31e Merge main for the landed thumbnail timing test fix 2026-11-30 12:56:09 -08: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
RickiNano 5b207688dd Group from Layers: colour only the new group, keep the layers' tags (#18279)
GroupOptions::apply wrote the dialog's colour on the new group and on
every layer inside it, so Group from Layers with a colour overwrote the
moved layers' own tags. apply now takes tag_layers: Group from Layers
tags the group only, while Group Layers (Ctrl+G, not measured) keeps
passing the colour on, as before. New Group's group is empty, so its
call does not change.
2026-11-30 20:33:28 +01:00
David MannandClaude Opus 5.5 fab6da250a Pin craft-libs at craft-libs#4527's head with the inverted Vibrance gradient (b6b044ae)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-30 20:30:29 +01:00
RickiNano f60c012a7c Stack Mode: the result is opaque wherever a layer has a pixel (#18296)
`combine_with` gave each result pixel the highest input alpha, so a
stack of half-transparent layers stayed half transparent in every mode.
The result is now opaque wherever at least one sample has alpha > 0 and
stays transparent where none has. Colours are unchanged: samples still
count at full weight.

The existing stack tests pinned the old alpha for pixels with only
partly transparent samples; their alpha now reads 1.0, colours as before.
2026-11-30 20:28:13 +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 ff73d00e9b Merge remote-tracking branch 'origin/main' into fix/17472-fill-indexed-palette
# Conflicts:
#	crates/engine-paint/src/cmd/fill_cmds.rs
2026-11-30 20:08:58 +01:00
dholzricandClaude Fable 5.2 b3a0b77679 Stack Mode: name each mode's History state "Rendering Image Stack <entry>" (#18295)
Layer > Smart Objects > Stack Mode recorded a mode as "Stack Mode:
<entry>". The reference application names the state "Rendering Image
Stack <entry>", with the entry's menu label. None keeps "Stack Mode:
None".

The stack mode entries in atn_cmds/events.rs are unchanged: actions find
these steps by command id and event name, not by the History name.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-11-30 13:07:42 -06:00