tone::adjust now delegates to a private adjust_with that takes the U16
table area threshold (U16_TABLE_AREA, 65_536, unchanged for production).
The fused-tile oracle test passes the area of its small bounds, so U16
still takes the table path for the full area and the holes mask and the
tiled path for the sparse mask, without 256 x 256 areas.
Also drops the empty blocks left by the earlier loop removals in
multi_channel_editing, tone_target_picker and the tone dialog test.
The colour-channel tests looped over every mode, depth, command and
target, although the code under test is generic over mode and depth
(restrict_coords, scatter_selected, tone::adjust). Each case now runs a
rotation that keeps every mode, depth, command and target (and the
refusal branches) in at least one case, with all assertions unchanged.
- multi_channel_editing: adjustments/filters/drawing (22 commands, one
mode and depth each, plus both refusal sides), live brush/eraser, live
mixer, live retouching, colour adjustments, desaturate, CMYK grayscale
clips, mask view
- tone_target_picker: gray tone records, native gray pickers, filter mask
picker
- tone: the fused-tile oracle keeps the 256 x 256 area only for U16, whose
table needs it
- tone dialog: one depth per (subset, record)
- cmyk_flatten_profile: the synthesised profile uses coarse LUT grids
restrict_region now restores only the pixels in the damage rect instead of
every pixel of each touched tile. Pinned to one core, the live mixer test
drops from 14.69 s to 1.15 s (12.8x faster) and the live retouching test
from 16.24 s to 7.93 s (2.0x faster).
Artboards to Files accepted any number as `quality` and clamped it while
writing, though the params string documents 0..12; it now returns
BadParams before any file is written. The warnings of each file's save
were dropped; they now come back as `warnings`, each prefixed with the
file name, as Save a Copy returns them.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* Hold ordered layer selection across reads
* Migrate UI and automation to the borrowed document selection
* Fix held selection migration diagnostics
* Preserve held selection for unchanged active layer
* Keep owned selection snapshots in engine tests
* Allow consuming a document state without cloning
* Preserve document ownership on close and capture export selection
* Migrate engine integration tests to held selection
* Keep isolate-layer test selection snapshot
* Read the active layer before editing the gradient test document
* Remove redundant selection slice borrows
---------
Co-authored-by: FredApps <[email protected]>
* Retain damage across document revisions
* Count canvas conversion after neutral revisions
* Check paragraph box damage against ink bounds
* Bound damage growth on deep documents
* Keep recorded effect reach without growing twice
* Construct indexed layer trees in damage history tests
---------
Co-authored-by: FredApps <[email protected]>
* Use fixed scratch volume capacity in engine unit tests
* Test fixed scratch capacity during preference setup
---------
Co-authored-by: FredApps <[email protected]>
* Use typed blend modes in Layers menu
* Cache translated UI menu entries
* Cache translated panel names
* Simplify language cache types
* Name cached footer menu type
---------
Co-authored-by: FredApps <[email protected]>
* Adopt the shared AGENTS.md (RFC-0072) and test rules (RFC-0071)
* AGENTS.md: correct the repository facts
Correct the layer list (no psd or codecs crate; ipp, raw and tablet are standalone; test helper crates), name the example plug-in that uses unsafe, and renumber a stale rule reference in docs/contributing.md.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---------
Co-authored-by: FredApps <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>