Commit Graph
526 Commits
Author SHA1 Message Date
David Mann aa21256f7f Address CodeRabbit review on the restored batch
- CMYK Channel Mixer in a 32-bit document: the change is added as the
  difference of two round trips through the inks, so samples past 0..1
  keep their magnitude and an identity mixer leaves HDR highlights alone.
- PSD: a Channel Mixer block in PhotoCraft's old RGB layout (fourth record
  repeating the first, no black source) in a CMYK document keeps its RGB
  reading instead of setting the black ink to the cyan mix.
- Color Settings dialog: a Monitor Profile set before the first pass
  loads Monitor Color's working RGB at once, and Reset set before the
  first pass shows Custom.
- Test: the non-identity CMYK mixer check runs in RGB documents too.
2026-11-23 15:17:08 +01:00
David Mann 42236a89fa Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	crates/engine-core/Cargo.toml
#	crates/ipp/Cargo.toml
#	crates/ui-egui/src/tools/analysis/tests.rs
2026-11-23 14:58:08 +01:00
David Mann 81cc69f17e Address CodeRabbit review; follow main's colour state accessors
- Curves at 8 bit: evaluate the channel and composite curves at the 256
  exact levels instead of between two entries of the 4096-entry table, so
  a pencil step between levels 128 and 129 no longer gives level 128 a
  fraction that rounds to level 4.
- Color Settings: a later Monitor Profile change keeps "Monitor Color"
  only while the values still are what Monitor Color would set.
- Color Settings dialog: a control changed by ui.dialog.set before the
  first pass shows Custom instead of becoming the baseline.
- Stored-channel edits (Lab/CMYK, CMYK Channel Mixer) mix through the
  selection as v*(1-k) + o*k, exact at full coverage over huge 32-bit
  values.
- Action playback: a Channel Mixer step the editor refuses reports the
  refusal instead of opening the generic step editor.
- Shortcut set test: assert Cancel closes the confirmation.
- Merge follow-up: Session's colour state is reached through
  ColorExt::color()/color_mut() on main now.
2026-11-23 13:31:11 +01:00
aiongg 3098631a38 Hue/Saturation range swatches and spectrum run the engine's adjustment on one colour 2026-11-23 06:06:58 +00:00
David MannandClaude Opus 5.5 877982cb0c fix(compose): CMYK split stand-ins keep ink Curves off whole levels
#14650 puts 8-bit RGB Curves output on whole levels. The CMYK split route
renders ink Curves as RGB stand-ins, so they were rounded too, while the
exact ink path is not: the two routes parted by one level
(cmyk::tests::the_split_route_agrees_with_the_exact_path). The stand-in
contexts now build unrounded Curves tables; RGB documents are unchanged.
The shrunk failing case is kept as a proptest regression seed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-23 02:22:09 +01:00
David Mann bd5515513f Merge #14650 into the merge queue batch
fix(compose): round the channel curve before the composite curve at 8 bit
2026-11-23 01:58:03 +01:00
David Mann 8d479ee9c2 Merge #15311 into the merge queue batch
fix(compose): Outer Glow Range 1 % follows the measured reach and hardness (#14958)
2026-11-23 01:58:02 +01:00
David Mann d321a2db62 Merge #15085 into the merge queue batch
fix(compose): Inner Shadow size 1 draws the measured pixel
2026-11-23 01:58:00 +01:00
Higgs32584andClaude Opus 5.5 b0e95488da Merge upstream main into fix/8047-channel-mixer-cmyk
Keeps both test modules in crates/format/tests/it/main.rs: main's camera_raw_roundtrip and this PR's channel_mixer_cmyk.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-22 12:56:48 -05:00
hnoerenberg 1e30578f0d Merge upstream/main into fix/curves-composite-rounding-14446
# Conflicts:
#	crates/compose/src/adjust.rs
2026-11-21 16:28:00 +01:00
Mex ba53b47048 Use the standard divisibility check in the bevel fixture 2026-11-21 10:54:15 +01:00
Mex f0a1b7c9c3 Tests: cut duplicate bevel thread cases (#15935) 2026-11-21 10:39:20 +01:00
Higgs32584andClaude Opus 5.5 3356714009 Merge upstream main into fix/8047-channel-mixer-cmyk
Resolve the conflict in crates/engine/src/adjust_params.rs: keep this
branch's generic mixer_row (RGB rows of 4, ink rows of 5) and main's
rounding to whole percentages before clamping (#14414).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-20 18:57:10 -05:00
hnoerenberg bfe30f7eb9 test(compose): keep main's Size 1 review test honest about this branch's fix
#14934's review test asserted the Size 1 inner shadow map stays empty and that
Anti-aliased does not move it. #14933 changes the first half of that: Size 1 now
gets the 1/4-1/2-1/4 taps, so the first pixel inside every edge darkens. The gate
#14934 added still holds - aa_shift excludes a width-1 blur - so the map must stay
identical with the flag on and off, and darkening must stay symmetric on all four
edges instead of the one-sided line an ungated offset would paint.
2026-11-20 18:36:14 +01:00
hnoerenberg a8f4d243be Merge upstream/main into fix/inner-shadow-size-one-14933
# Conflicts:
#	crates/compose/src/effects.rs
#	crates/gpu/src/fx/builders.rs
#	crates/gpu/src/fx/tests.rs
2026-11-20 18:26:55 +01:00
hnoerenberg e395331e0e Merge upstream/main into fix/outer-glow-range-one-14958
Conflict: crates/compose/src/effects.rs test-module list only (kept both sides: outer_glow_range_one_tests plus main's satin_invert_contour_tests). crates/compose/src/effects/paint.rs merged cleanly: main changed noise() and glow_map(), this branch's Range-1 exception sits in glow_lut(), no overlap.
2026-11-20 16:21:55 +01:00
David Mann 59147c730c Merge #15112 into the merge queue batch
fix(compose): honour Anti-aliased for the Inner Shadow map
2026-11-20 15:52:16 +01:00
David Mann 1a97ade598 Merge #15735 into the merge queue batch
fix(compose): draw a one-pixel Size 1 Inner Glow
2026-11-20 14:16:36 +01:00
David Mann 95af987938 Merge #15013 into the merge queue batch
Gradient Map: keep the gradient's lightness in Grayscale documents (#14698)
2026-11-20 14:16:34 +01:00
hnoerenberg 8b1af24cb8 Merge upstream/main into fix/inner-shadow-antialiased-14934 2026-11-20 14:14:18 +01:00
hnoerenberg 900e9bbd02 Merge upstream/main into fix/inner-shadow-size-one-14933
# Conflicts:
#	crates/compose/src/effects.rs
2026-11-20 10:37:46 +01:00
hnoerenberg 2a5c4041b4 Merge upstream/main into fix/curves-composite-rounding-14446 2026-11-20 09:16:26 +01:00
David Mann bb4dc343b3 Merge #15420 into the merge queue batch
fix(compose): fade split Blend If points over both ends in 8-bit documents (#14855)
2026-11-20 02:04:37 +01:00
David Mann 968d74adee Merge #15282 into the merge queue batch
Layer Style: Satin's Invert flips the result after the contour (#14981)
2026-11-20 02:04:36 +01:00
David Mann 210de55b1a Merge #15197 into the merge queue batch
fix(compose): scatter Outer Glow noise at the measured strength

# Conflicts:
#	crates/compose/src/effects.rs
2026-11-19 22:27:52 +01:00
David Mann 79cb23b131 Merge #15188 into the merge queue batch
fix(compose): scatter effect noise at the measured strength (inner shadow)
2026-11-19 22:27:51 +01:00
Higgs32584andClaude Opus 5.5 e92804520d Merge upstream main into fix/8047-channel-mixer-cmyk
main moved the command table out of crates/engine/src/cmd.rs into crates/engine/src/cmd/table/. cmd.rs takes main's version; this PR's Channel Mixer params doc (cyan/magenta/yellow/black ink outputs, monochrome unsupported for CMYK outputs) now lives on the channelMixer entry in cmd/table/image/adjustments.rs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 15:53:45 -05:00
David Mann 3674da4f9d Merge pull request #10537 from admiralronton/fix/bevel-gloss-high-altitude
Bevel gloss contour: split at the unmapped sin(altitude) (#594)
2026-11-19 18:58:15 +01:00
Michael Higgins 9888613806 Merge branch 'storytold:main' into fix/8047-channel-mixer-cmyk 2026-11-19 10:19:01 -05:00
aiongg 5e6d342b36 Merge pull request #15718 from FredApps/fix/15708-deterministic-spill
Give scratch tests a deterministic volume capacity
2026-11-19 09:58:09 -05:00
hnoerenberg 505dcd7881 Merge upstream/main into fix/outer-glow-range-one-14958 2026-11-19 14:45:10 +01:00
hnoerenberg e0d86d4a8b Merge upstream/main into fix/outer-glow-noise-14952 2026-11-19 14:14:02 +01:00
hnoerenberg 67a003d706 Merge upstream/main into fix/inner-glow-noise-14936 2026-11-19 14:13:58 +01:00
hnoerenberg 3a06f56045 Merge upstream/main into fix/inner-shadow-antialiased-14934 2026-11-19 14:13:40 +01:00
hnoerenberg 34d7402244 Merge upstream/main into fix/inner-shadow-size-one-14933 2026-11-19 14:13:32 +01:00
hnoerenberg be11539592 Merge upstream/main into fix/curves-composite-rounding-14446 2026-11-19 13:42:22 +01:00
aiongg a8f95bd16d Document layer index and index-ordered selection (#15704)
Document.layers is a LayerTree that builds an id index on first lookup and drops it on any mutable access. Layer lookups and selected_layers use the index instead of walking the document.
2026-11-19 10:07:19 +00:00
haranishi 378c31c92b fix(compose): render Size 1 Softer Inner Glow at edges 2026-11-19 18:38:36 +09:00
FredApps 236bc84a5e Give scratch tests a deterministic volume capacity 2026-11-19 08:01:25 +01:00
jayzed80 3dffdf3254 Merge remote-tracking branch 'upstream/main' into fix/gradient-map-grayscale-lightness-14698 2026-11-19 02:03:19 +00:00
hnoerenberg 31753ef4cb Merge upstream/main into fix/outer-glow-range-one-14958 2026-11-19 02:52:59 +01:00
hnoerenberg c833af6559 Merge upstream/main into fix/outer-glow-noise-14952 2026-11-19 02:52:31 +01:00
hnoerenberg 750dc456f6 Merge upstream/main into fix/inner-glow-noise-14936 2026-11-19 02:52:26 +01:00
hnoerenberg 3d1b4633d9 Merge upstream/main into fix/inner-shadow-antialiased-14934 2026-11-19 02:00:52 +01:00
hnoerenberg 4affa542d3 Merge upstream/main into fix/inner-shadow-size-one-14933 2026-11-19 02:00:39 +01:00
hnoerenberg 4e65a50d35 Merge upstream/main into fix/curves-composite-rounding-14446 2026-11-19 01:19:00 +01:00
David Mann 1fb5b51051 Merge remote-tracking branch 'origin/main' into test-speed/15652-unclaimed-slow-tests
# Conflicts:
#	crates/ui-egui/tests/it/batch_export_options.rs
2026-11-18 22:14:41 +01:00
David MannandClaude Opus 5.5 493d2df62f Tests: trim the loops of the unclaimed slow tests that reach no new code (#15652)
Each removed variant takes the same branch as one that stays, or is covered without the app or
oracle cost by a named lower-level test; the commit's comments say which for every test.

ui-egui: floating-document zoom (10 frames after Enter, not 60), Wide Angle (one depth per mode,
alpha kept), Brush panel sections (only those Brush Settings draws; Brushes ignores the section),
Camera Raw GPU (8 and 32 bits), enable rules (one app per world, a copied style for Paste only),
Content-Aware Move preview (selection just past the coarse budget, smaller canvas).
algo/compose/engine/gpu/format: Pixelate (Lab, cell 100, seed 37, tile 1), box blurs (Gaussian
40), Smart Blur (multichannel layouts cover every arm; Low and High), FFT sharpen gate (one
depth), panorama batching (budgets at every split instead of a 47-step sweep), bevel and chisel
threads (2 and 16), fused tone tiles (256 x 256, the U16 table threshold), live dabs (8 and 32
bits), Camera Raw GPU sizes (1600 x 240 wide case; the proxy-size per-pixel run lives in the
clarity test), directory bundle (two modes; zip_cases has the matrix).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 22:14:12 +01:00
aiongg 877e23f543 Tests: one shared lock per process-wide global in each merged test binary
The scratch pool and spill configuration, simulated free memory and the global caches are locked from tests/it/main.rs instead of a mutex per file.
2026-11-18 19:19:35 +00:00
aiongg 0081fd10e1 Tests: merge single-file integration test binaries into one binary per crate
Each crate's top-level tests/*.rs files become modules of tests/it/main.rs, and a new xtask check (test-binaries) refuses a new single-file test binary.
2026-11-18 19:11:27 +00:00