Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
278 commits
Select commit Hold shift + click to select a range
5d9355e
CT-G15: opening a library writes nothing to it (store, log, snapshot …
blwfish Dec 2, 2026
3ff624a
CT-G15: closing a library writes nothing when nothing changed, and do…
blwfish Dec 2, 2026
cdc9ddf
CT-G15: the engine's close calls the catalog's closing step; two Stac…
blwfish Dec 2, 2026
4c17029
CT-G15: the close leaves the store alone only when the log carries ev…
blwfish Dec 2, 2026
2ccd4a5
CT-G15: engine tests follow Stack::top's Option, and the close test s…
blwfish Dec 2, 2026
c89b5ff
CT-G15: the close notices a replaced store, and the review's remainin…
blwfish Dec 2, 2026
ba547f5
CT set 2: neutral wording for the legacy library in comments and rele…
blwfish Dec 2, 2026
7e39152
CT-G15: the log proof builds for wasm32 (no v4 store there)
blwfish Dec 2, 2026
c9c66c0
REVIEW-P26: a compressed ORF whose stream cannot hold one code per sa…
blwfish Dec 3, 2026
21043b2
CT-G5, CT-G6: depth read as evaluation counts it, tallies through set…
blwfish Dec 3, 2026
bb68aee
REVIEW-P27: a CR3 whose coded data cannot be the picture its header n…
blwfish Dec 3, 2026
58c48dc
REVIEW-P28: an ARW6 tile table that names more samples than its data …
blwfish Dec 3, 2026
8ad5d3a
REVIEW-P32: a Sony lossless ARW tile that fails fails the image
blwfish Dec 3, 2026
12ffe3a
REVIEW-P29: a big packed or uncompressed raw strip must hold a quarte…
blwfish Dec 3, 2026
6fbbd25
REVIEW-P30: RawImage::normalized reserves its buffers fallibly
blwfish Dec 3, 2026
82bcbb1
REVIEW-P31: the sparse TIFF walk has a total budget of entries and Su…
blwfish Dec 3, 2026
215cf59
REVIEW-P33: SRW checks its compressed strip before allocating; srwc c…
blwfish Dec 3, 2026
0a1dab8
REVIEW-P34: MAX_SAMPLES is 2^27 on 32-bit targets
blwfish Dec 3, 2026
76bc8d4
REVIEW-P35: CRW refuses a stream that leaves samples undecoded; ljpeg…
blwfish Dec 3, 2026
5af3ae4
REVIEW-P26..P35: fmt and clippy in the new raw tests
blwfish Dec 3, 2026
b49750c
REVIEW-P01: the stage cache keeps the plain resample and the film-dus…
blwfish Dec 3, 2026
4397954
REVIEW-P14: a windowed render does not give a source-less Remove spot…
blwfish Dec 3, 2026
7b169f6
REVIEW-P42: windows grow for spots, skin, tone equalizer and lens blu…
blwfish Dec 3, 2026
a81604b
REVIEW-P39: mask sliders, curves and mixers are kept in range when se…
blwfish Dec 3, 2026
95c4fcd
REVIEW-P38: the HSL Curves section eye switches the curves off
blwfish Dec 3, 2026
3af9245
REVIEW-P40: a float source's NaN and infinity are made finite in to_w…
blwfish Dec 3, 2026
3fe943e
REVIEW-P41: JPEG blockiness is measured on the photo's own 8-pixel grid
blwfish Dec 3, 2026
37b8870
REVIEW-P43: a failed run of the depth model is remembered for 30 seconds
blwfish Dec 3, 2026
9c52e37
REVIEW-P44: Recolor measures its main colour on the frame its masks a…
blwfish Dec 3, 2026
9f5d40a
REVIEW-P02: a brush stroke's stamping work is bounded (thinned over 4…
blwfish Dec 3, 2026
f6d4d71
REVIEW-P03: the mask alpha cap is 4 GiB (512 MiB on 32-bit), a real f…
blwfish Dec 3, 2026
afba149
REVIEW-P05+P06: the Colour / Luminance Range pickers refuse non-finit…
blwfish Dec 3, 2026
9ccf334
REVIEW-P04: a Lightroom-model stroke builds no more dabs than it is a…
blwfish Dec 3, 2026
970debd
REVIEW-P49: parse_cube refuses an empty input domain; auto_bw_mix lea…
blwfish Dec 3, 2026
1ff61e1
REVIEW-P45: film dust picks its borrowed grain by position in the who…
blwfish Dec 3, 2026
fee7bd4
REVIEW-P07: waiting for another render's native plug-in run ends at t…
blwfish Dec 3, 2026
28e5003
REVIEW-P01..P49 (pipeline, develop, codecs): fmt and clippy in the ne…
blwfish Dec 3, 2026
073cc4d
REVIEW-P15: the GPU render carries the plan's warnings
blwfish Dec 3, 2026
1a4347f
REVIEW-P08: a GPU replacement that held for ten minutes is forgiven a…
blwfish Dec 3, 2026
b85bc06
REVIEW-P09+P10: Gpu::poll fails with a typed PollFailure; read_textur…
blwfish Dec 3, 2026
909443b
REVIEW-P16: a dispatch over the device's workgroup limit fails the re…
blwfish Dec 3, 2026
6b90493
REVIEW-P17: the GPU's HSL curves hold their last table cell flat, as …
blwfish Dec 3, 2026
2c2f4d5
REVIEW-P18+P19: deep renders' 8-bit image is not dithered on the GPU;…
blwfish Dec 3, 2026
607ead4
REVIEW-P11+P12+P13: the render's own device decides a lost-device red…
blwfish Dec 3, 2026
35142cc
REVIEW-P23: the GPU's Point Color and Smooth Skin caps are tied to th…
blwfish Dec 3, 2026
de22626
REVIEW-P24 (part): a failed video frame buffer is not kept; a readbac…
blwfish Dec 3, 2026
aa9a615
REVIEW-P08..P24 (gpu): fmt
blwfish Dec 3, 2026
04d9152
REVIEW-T01, REVIEW-F40, REVIEW-V05: the uncompressed strip rule is te…
blwfish Dec 3, 2026
ced28a0
REVIEW-T05: difference category 16 is pinned as valid and 17 as the f…
blwfish Dec 3, 2026
cc12d72
REVIEW-F08, REVIEW-V08: CRW refuses only a width that shifts bands; a…
blwfish Dec 3, 2026
78efcfb
REVIEW-F42: the CRW / lossless-JPEG release note says what the code does
blwfish Dec 3, 2026
18c04d5
REVIEW-F09, REVIEW-V06a: a lossless ARW tile must be exactly half its…
blwfish Dec 3, 2026
f1bb9d3
REVIEW-F41, REVIEW-F10, REVIEW-V09, REVIEW-V12: one helper for "claim…
blwfish Dec 3, 2026
b11f7c1
REVIEW-F39, REVIEW-I15, REVIEW-V04: the sparse walk takes its TIFF bo…
blwfish Dec 3, 2026
d1b2103
REVIEW-T09, REVIEW-F12: normalized allocates only through one fallibl…
blwfish Dec 3, 2026
dfb7551
REVIEW-T10, REVIEW-F06, REVIEW-F43, REVIEW-V01: the pointer-width cap…
blwfish Dec 3, 2026
3093a28
REVIEW-T11, REVIEW-F07: the ARW6 sample cap is the lower of its own a…
blwfish Dec 3, 2026
1033672
REVIEW-F43: the ARW6 release notes agree on the size of the file, and…
blwfish Dec 3, 2026
5c9504a
REVIEW-T12: a hostile-input test for the srwc i64 product
blwfish Dec 3, 2026
69e6590
REVIEW-T13: the ORF two-field row collection is tested for reserving …
blwfish Dec 3, 2026
a35b67c
REVIEW-F03: remove the stray empty crates/raw/6.rs
blwfish Dec 3, 2026
70251ec
REVIEW-F05: ARW1 refuses a strip too short for its samples before it …
blwfish Dec 3, 2026
e260dbd
REVIEW-V11: a header probe of an ORF that states its colour filter re…
blwfish Dec 3, 2026
c90476d
REVIEW-V11: an ORF that fits no layout says why its two-field 12-bit …
blwfish Dec 3, 2026
53b68ad
REVIEW-V13a: SRW 32773 decodes the last width % 16 columns (and rows …
blwfish Dec 3, 2026
ff27c6f
REVIEW-T21: hostile-input tests for a CRW sensor of no size or over t…
blwfish Dec 3, 2026
a7fd256
REVIEW-F08..T21 (raw batch): cargo fmt
blwfish Dec 3, 2026
2842051
REVIEW-F39: clippy (a constant assertion in the new bounds test is a …
blwfish Dec 3, 2026
1d5d1c1
REVIEW-I09: withdraw the dead full-resolution blockiness path (P41)
blwfish Dec 3, 2026
fc3921b
REVIEW-V17a: mask cap follows the whole output frame; masks over it a…
blwfish Dec 3, 2026
a72be5f
REVIEW-T03: the stroke-thinning skip in stamp_dabs_budgeted is now te…
blwfish Dec 3, 2026
1bd4d5b
REVIEW-T04: the film dust cache hit is tested, with and without a Sou…
blwfish Dec 3, 2026
de3e106
REVIEW-F22: float-source non-finite rule in one place; denoise input …
blwfish Dec 3, 2026
61c25ed
REVIEW-V16a: a saved settings block that can't be read says why inste…
blwfish Dec 3, 2026
4c6e515
REVIEW-I11: the mask panel's slider ranges are tested against what cl…
blwfish Dec 3, 2026
93ce202
REVIEW-T17: untrusted-range tests cover every mask curve channel, mix…
blwfish Dec 3, 2026
7ceb084
REVIEW-T07: the depth model's failure window is tested with an inject…
blwfish Dec 3, 2026
9188159
REVIEW-V19a: auto_bw_mix tells a non-finite pixel before the white ba…
blwfish Dec 3, 2026
4c7298a
REVIEW-V14a: a .cube domain narrower than the floor apply() clamps to…
blwfish Dec 3, 2026
fcf2390
REVIEW-F21: Refine, Feather, Point Color and brush strokes are kept i…
blwfish Dec 3, 2026
b3d06cb
REVIEW-V17c: a brush stroke of no numeric size paints nothing; the st…
blwfish Dec 3, 2026
0e5c17c
REVIEW-T16: the deep-window growth test covers Smooth Skin, the Tone …
blwfish Dec 3, 2026
e0f3377
REVIEW-I02: a zoomed window is grown by film dust's reach, so a mark …
blwfish Dec 3, 2026
47881a2
REVIEW-I19: color_range_sample refuses a point that maps to a non-fin…
blwfish Dec 3, 2026
82f920f
REVIEW-F37: Decoded::to_srgb8 reads an alpha plane only when it is th…
blwfish Dec 3, 2026
6afea05
REVIEW-pipeline-render batch: cargo fmt
blwfish Dec 3, 2026
fefe1c9
REVIEW-pipeline-render batch: clippy in the new tests
blwfish Dec 3, 2026
814f207
REVIEW-T02: the slot's forgiveness wiring is tested (begin_loss/repla…
blwfish Dec 3, 2026
0d7317e
REVIEW-F01+F02+T06: a render whose own device raised an uncaptured er…
blwfish Dec 3, 2026
b44d766
REVIEW-F24: the denoiser, face, CLIP and video-LUT waits are typed, a…
blwfish Dec 3, 2026
416fce6
REVIEW-V20a: a panic out of Device::poll keeps its text and is a lost…
blwfish Dec 3, 2026
7189287
REVIEW-F28+I06: the HSL table length and the skin face limit come fro…
blwfish Dec 3, 2026
8549c9e
REVIEW-T15+F27: two GPU tests skip with a reason instead of returning…
blwfish Dec 3, 2026
02ae57c
REVIEW-F25+F26: the injected validation fault holds on any adapter; a…
blwfish Dec 3, 2026
d32b732
REVIEW-V20b: readback sizing is checked arithmetic, and a sizing erro…
blwfish Dec 3, 2026
42c2c11
REVIEW-F29+I04: the recovery docs describe the per-run count, and "st…
blwfish Dec 3, 2026
841e62c
REVIEW-F23+T20: the budget's module doc says what grows it; `succeede…
blwfish Dec 3, 2026
ad7e48d
REVIEW-F31: the plan's warnings are worked out once per GPU render
blwfish Dec 3, 2026
c6651c6
Merge branch 'review/raw-hostile-input' into scratch/merge-fixed
blwfish Dec 3, 2026
01585fb
Merge branch 'review/pipeline-render' into scratch/merge-fixed
blwfish Dec 3, 2026
482becc
Merge branch 'review/gpu' into scratch/merge-fixed
blwfish Dec 3, 2026
195106d
Merge fixes: wire GPU mask cap to the whole frame (fmt)
blwfish Dec 3, 2026
ed61ad2
REVIEW2-12: one selector for the masks a render applies, every per-ma…
blwfish Dec 3, 2026
7977004
REVIEW2-43: one clamp rule, Point Color ranges read from the control …
blwfish Dec 3, 2026
2c84b07
REVIEW2-187: exact limit test for every LocalAdjustments field
blwfish Dec 3, 2026
ab14d31
REVIEW2-31: a mask shape's numbers are held to a range when settings …
blwfish Dec 3, 2026
acacb15
REVIEW2-16: a depth-model failure is stamped when it happens, not whe…
blwfish Dec 3, 2026
218e116
REVIEW2-195: film dust has one "active" predicate and one reach; the …
blwfish Dec 3, 2026
91da014
REVIEW2-33: a JPEG larger than the scan's thumbnail has no compressio…
blwfish Dec 3, 2026
a84fae1
REVIEW2-48: one reader of a float picture's non-finite samples and al…
blwfish Dec 3, 2026
b6c84ae
REVIEW2-156: a sidecar's saved settings are read key by key; REVIEW2-…
blwfish Dec 3, 2026
afa78e3
REVIEW2-54: film dust reads GRAIN_OFFSETS directly, not through an al…
blwfish Dec 3, 2026
d1cac03
REVIEW2-55: plan_warnings asks for the mask cap once
blwfish Dec 3, 2026
fcf5648
REVIEW2-13: masks::evaluate says it caps by its own plane (with REVIE…
blwfish Dec 3, 2026
cb9ce77
REVIEW2-200: the compression factor's doc says what is measured now
blwfish Dec 3, 2026
9465df6
REVIEW2-175: hash64 stands in the Debug text if serialization ever fa…
blwfish Dec 3, 2026
a311c86
REVIEW2-172: unit_point's rule for a non-number is pinned (0, whichev…
blwfish Dec 3, 2026
a773e0c
REVIEW2-40: the import builds its warning's context string only for a…
blwfish Dec 3, 2026
8e99d90
REVIEW2-149: codecs Lows of the float-picture review: alpha invariant…
blwfish Dec 3, 2026
90eecdd
Format the REVIEW2 batch P changes (cargo fmt --all)
blwfish Dec 3, 2026
b856d90
REVIEW2-149: drop the import the EXR budget check left unused (clippy)
blwfish Dec 3, 2026
8acfa20
REVIEW2-12: the GPU builds its masks once from the one selector (GPU …
blwfish Dec 3, 2026
0c197bb
REVIEW2-01: a panic out of Device::poll is a lost device, not a guess…
blwfish Dec 3, 2026
4c7cb9f
REVIEW2-190: each module's wait path is driven with a simulated poll …
blwfish Dec 3, 2026
0673ff6
Issue #1857: face-aware sharpness in the Image Quality Scanner
Dec 3, 2026
39a17d9
REVIEW2-189: one checked workgroup type for every dispatch of a modul…
blwfish Dec 3, 2026
9ce3663
REVIEW2-56: the five-strikes rule is counted in one place, and its te…
blwfish Dec 3, 2026
522b8ac
REVIEW2-45: the LUT domain floor is one constant, injected into the k…
blwfish Dec 3, 2026
7b4dde5
REVIEW2-76: a brush stroke the CPU thins is left to the CPU by the GPU
blwfish Dec 3, 2026
6d1a114
REVIEW2-79: the "no graphics processor" notice is told by a typed rea…
blwfish Dec 3, 2026
02a7127
REVIEW2-57: the GPU's "a deep render is not dithered" rule lives in t…
blwfish Dec 3, 2026
9236a97
REVIEW2-8: what the host itself got wrong fails the render, not the d…
blwfish Dec 3, 2026
b48d129
REVIEW2-77: the readback's policy for a failed wait is written down; …
blwfish Dec 3, 2026
0f9ee5e
REVIEW2-01: the poll test's retire closures name nothing unreachable …
blwfish Dec 3, 2026
9c375e7
REVIEW2-185: the CRW padding allowance is derived, documented and pin…
blwfish Dec 3, 2026
42630a6
REVIEW2-63: the raw sample cap's doc says what the code does (it coun…
blwfish Dec 3, 2026
35b010e
REVIEW2-49: the lossless-JPEG readers state their entropy bound throu…
blwfish Dec 3, 2026
6d86d37
REVIEW2-46: the CR3 plan's box cap is lcc_meta's own constant, and on…
blwfish Dec 3, 2026
5503192
REVIEW2-194: a lossless-ARW tile frame is exact inside the picture an…
blwfish Dec 3, 2026
6018b0d
REVIEW2-188: the per-codec samples-per-byte numbers are pinned as lit…
blwfish Dec 3, 2026
6f972de
REVIEW2-65: the decode_compressed doc is back on decode_compressed
blwfish Dec 3, 2026
33707f2
REVIEW2-83: the sparse-uncompressed-chunk refusal names the bytes it …
blwfish Dec 3, 2026
9ad3655
REVIEW2-66: the test comment's arithmetic is right
blwfish Dec 3, 2026
af7cb67
REVIEW2-82: a raw too large to develop is no longer reported as out o…
blwfish Dec 3, 2026
a362c16
REVIEW2-129: the CRX "too short" refusal names the density rule it ap…
blwfish Dec 3, 2026
51d188b
REVIEW2-128: the compressed-SRW plausibility bound counts the rows th…
blwfish Dec 3, 2026
12230ba
REVIEW2-38: the SRW row trim is done in place, with nothing indexed b…
blwfish Dec 3, 2026
44451b6
REVIEW2-105: the ARW6 cap test names the check that refuses at the ca…
blwfish Dec 3, 2026
2978e1e
Merge remote-tracking branch 'origin/staging' into review/cycle2-fixes
blwfish Dec 3, 2026
a498848
REVIEW3-01: one mask-cap path, tested through the real plan wiring
blwfish Dec 3, 2026
0d53ef9
REVIEW3-47: the windowed airlight proxy follows the kept masks
blwfish Dec 3, 2026
2fbb61a
REVIEW3-68: the brush dab budget is checked for the kept masks only
blwfish Dec 3, 2026
f3c93c7
REVIEW3-25: the Recolor measurement cache is keyed on the measured ma…
blwfish Dec 3, 2026
d632550
REVIEW3-15: the All-Masks view asks the renderer's own predicate
blwfish Dec 3, 2026
6ca440f
REVIEW3-17: merge frames read +infinity as the other float readers do
blwfish Dec 3, 2026
be44352
REVIEW3-22: the plug-in stack's film dust key is the render's own
blwfish Dec 3, 2026
13162ce
REVIEW3-16: one finite-then-clamp rule: lcc_develop::clamp_finite is …
blwfish Dec 3, 2026
a44bdaa
REVIEW3-32: mask commands hold the shape they make to the renderer's …
blwfish Dec 3, 2026
fb7b528
REVIEW3-36: a .cube that would load with wrong colours is refused, wi…
blwfish Dec 3, 2026
d02679c
REVIEW3-113: the colour range's no-pin place is named, and the shape …
blwfish Dec 3, 2026
d96e5fd
REVIEW3-108: the sidecar settings note says sections, as the code rea…
blwfish Dec 3, 2026
1b0f757
REVIEW3-24: the brush sliders carry their own getter and setter
blwfish Dec 3, 2026
e1e7a75
REVIEW3-02: an EXR is read into fallibly allocated final storage, and…
blwfish Dec 3, 2026
4be92d4
REVIEW3-10: a float picture is cleaned in the one pass that converts …
blwfish Dec 3, 2026
a967b43
REVIEW3-06: a sidecar with an unreadable key resets the groups it lea…
blwfish Dec 3, 2026
267349d
REVIEW3-07: one typed warning for an unreadable saved-settings block,…
blwfish Dec 3, 2026
9895aa3
REVIEW3-09: the Lightroom catalog's typed and plain settings warnings…
blwfish Dec 3, 2026
a79fe90
REVIEW3-34: a scan nothing could be scored for is Pending, not Reject…
blwfish Dec 3, 2026
bfbda19
REVIEW3-52: the unreadable-block test says what the code does now (Re…
blwfish Dec 3, 2026
934834b
REVIEW3-173: the EXR module doc lists what the decode does not read
blwfish Dec 3, 2026
2f5e096
REVIEW3-224: blockiness_measured's JPEG and known-width terms are pinned
blwfish Dec 3, 2026
1942d19
REVIEW3-07: clippy fixes for the batch (then_some in the EXR decode, …
blwfish Dec 3, 2026
57cb5fa
REVIEW3-23: the module retire closures run in the tests (a lost poll …
blwfish Dec 3, 2026
e020dd9
Merge pull request #1868 from emmertex/sync/main-to-staging-26.49.2
emmertex Dec 3, 2026
d9e53d3
REVIEW3-08: the poll-panic doc and the changelog say that every panic…
blwfish Dec 3, 2026
683df76
REVIEW3-12: lost_reason_from reads the typed Unavailable, not its text
blwfish Dec 3, 2026
65cd57a
REVIEW3-20, REVIEW3-21: one source each for "disabled by ...=off", th…
blwfish Dec 3, 2026
418e173
REVIEW3-29: the LUT domain floor is checked by rendering, not by sear…
blwfish Dec 3, 2026
213076d
REVIEW3-78: the cap assertion in slot.rs names the test that exists
blwfish Dec 3, 2026
f85da34
REVIEW3-40, REVIEW3-91: the mask-cap test owns its doc comment; the a…
blwfish Dec 3, 2026
748e12b
REVIEW3-65: the gpu tests that decide on why the GPU is off read the …
blwfish Dec 3, 2026
8c19557
REVIEW3-86: CreateFailure has Display only (text() removed)
blwfish Dec 3, 2026
1612c0c
REVIEW3-88: the small convolution of the face-module tests is built once
blwfish Dec 3, 2026
ddfd91f
REVIEW3-04: tiffraw's lossless per-byte bound is derived from ljpeg's…
blwfish Dec 3, 2026
beed1a7
REVIEW3-18: AllocError carries its kind; every develop allocation in …
blwfish Dec 3, 2026
c7c1262
REVIEW3-14: the MAX_SAMPLES doc says what is true about allocation
blwfish Dec 3, 2026
aaf64b6
REVIEW3-19: ORF's plausibility bound goes through a shared helper of …
blwfish Dec 3, 2026
10f8ccc
REVIEW3-28: SRW's plausibility bound and its decoders size from one f…
blwfish Dec 3, 2026
6ffe81e
REVIEW3-125: a zero-sample image is "no samples", not "image too large"
blwfish Dec 3, 2026
26ac75e
REVIEW3-129: the chunk-past-EOF error names the chunk, its offset and…
blwfish Dec 3, 2026
9152f86
REVIEW3-41: the unreleased note names both develop-memory messages
blwfish Dec 3, 2026
4ffa854
export: the cancel test cancels at the second photo, not after 300 ms
blwfish Dec 3, 2026
5cf5328
Merge pull request #1864 from blwfish/review/cycle2-fixes
emmertex Dec 3, 2026
885e4de
Merge remote-tracking branch 'origin/staging' into review/cycle3-fixes
blwfish Dec 3, 2026
19610a9
#1269: drop the universal macOS image from package.sh and the updater
clydecbrown Dec 3, 2026
14ba5aa
Merge remote-tracking branch 'origin/staging' into fix/flaky-export-c…
blwfish Dec 3, 2026
f1fabb2
#1873: Cancel::MustFinish/Drop replace Cancel::No; Quit names the tas…
clydecbrown Dec 3, 2026
36acd27
Merge pull request #1870 from clydecbrown/classic/build/macos-drop-un…
emmertex Dec 3, 2026
dabf9b4
Merge pull request #1871 from blwfish/review/cycle3-fixes
emmertex Dec 3, 2026
a1d9e3e
Merge pull request #1872 from blwfish/fix/flaky-export-cancel-test
emmertex Dec 4, 2026
9611e81
Merge origin/staging into fix/uncancellable-tasks
clydecbrown Dec 4, 2026
0c9e65d
#1875: survey every toast against the pill
clydecbrown Dec 4, 2026
ecb3a45
Merge pull request #1874 from clydecbrown/classic/fix/uncancellable-t…
emmertex Dec 4, 2026
3bbe7de
Merge remote-tracking branch 'origin/staging' into fix/catalog-readab…
blwfish Dec 4, 2026
e3c9d3a
Merge branch 'staging' into classic/feat/toast-survey
emmertex Dec 4, 2026
d587a34
Merge pull request #1876 from clydecbrown/classic/feat/toast-survey
emmertex Dec 4, 2026
2420285
Merge remote-tracking branch 'origin/staging' into fix/catalog-import…
blwfish Dec 4, 2026
c0601bc
#1878: The startup catalog upgrade, publish and the printer lookups g…
clydecbrown Dec 4, 2026
4c47bbb
Export presets: a wrong-typed dryRun, names or paths is refused
blwfish Dec 4, 2026
1fa2d33
Export presets: an import from a folder reports what its walk left out
blwfish Dec 4, 2026
4946f0d
Merge pull request #1879 from clydecbrown/classic/fix/migration-task-row
emmertex Dec 4, 2026
6562ad5
Merge pull request #1877 from blwfish/fix/catalog-readable-rules-and-…
emmertex Dec 4, 2026
783db0d
CT-G15: tell the user about a damaged log at open, and the cheap revi…
blwfish Dec 4, 2026
3f1e6ec
#1882: stack the pill and the messages
clydecbrown Dec 4, 2026
3b24376
Merge remote-tracking branch 'origin/staging' into fix/catalog-import…
blwfish Dec 4, 2026
9079f01
Merge pull request #1883 from clydecbrown/classic/feat/pill-in-stack
emmertex Dec 4, 2026
e0f9edb
Merge remote-tracking branch 'origin/staging' into fix/catalog-import…
blwfish Dec 4, 2026
e8fc71a
Merge emmertex/chromaforge staging into arena/4873c1b5-lightcraft-cla…
Dec 4, 2026
8dd8a66
Merge pull request #1885 from blwfish/fix/catalog-import-and-quiet-store
emmertex Dec 4, 2026
571df44
rustfmt: the face-aware test helpers and the QualityScanner match arm
Dec 4, 2026
4eef433
Merge pull request #1887 from 1234destiny1234/arena/4873c1b5-lightcra…
emmertex Dec 4, 2026
f1d4fb8
#1886: train face prototypes from the people you named
1234destiny1234 Dec 4, 2026
945a097
fmt: keep the raw-string write on one line (cargo fmt)
1234destiny1234 Dec 4, 2026
2da60f8
fix(engine): pass the sort to Catalog::query when training from the c…
1234destiny1234 Dec 4, 2026
3b536e7
clippy: read the new test fixtures as slices
1234destiny1234 Dec 4, 2026
5de4cc6
clippy: key the prototype sorts and count the embed loop by enumerate
1234destiny1234 Dec 4, 2026
65dd668
clippy: clone the confirmed-face list into the dialog instead of repl…
1234destiny1234 Dec 4, 2026
c3d6b4c
clippy: read the maintenance reply through JsonExt in the person page
1234destiny1234 Dec 4, 2026
1150f30
fix(engine): match a trained person on their faces, not a frozen cent…
1234destiny1234 Dec 4, 2026
b334005
fmt: join the guards and expects rustfmt keeps on one line
1234destiny1234 Dec 4, 2026
4946fc1
clippy: build the maintenance prototype plan with then_some
1234destiny1234 Dec 4, 2026
31428b6
docs: keep the branch to the change itself (drop a scratch note)
1234destiny1234 Dec 4, 2026
c8dfc46
fix: rebuild every named face on rebuildNamed, walk the gallery once …
1234destiny1234 Dec 4, 2026
1379b7d
fix: keep similar helper test-only
1234destiny1234 Dec 4, 2026
28c193f
Export presets: no row for non-preset files, drop the unread FolderWa…
blwfish Dec 4, 2026
80e0762
Merge remote-tracking branch 'origin/staging' into HEAD
blwfish Dec 4, 2026
c85ab2c
Merge branch 'staging' into arena/92067518-lightcraft-classic
emmertex Dec 4, 2026
5df5a81
Merge pull request #1888 from 1234destiny1234/arena/92067518-lightcra…
emmertex Dec 4, 2026
fa9ea20
REVIEW3 nits: whats-new entries, and three tests assert behaviour ins…
blwfish Dec 4, 2026
0512c4e
Catalog: UsedKeywords::probes exists only in test builds
blwfish Dec 4, 2026
eb0357c
Merge pull request #1890 from blwfish/fix/used-keywords-probes-test-only
emmertex Dec 4, 2026
3c9fbaf
Merge pull request #1889 from blwfish/review/cycle3-nits
emmertex Dec 4, 2026
4c1cfe6
Merge pull request #1880 from blwfish/fix/export-presets-command-para…
emmertex Dec 4, 2026
74b3bf7
Catalog: a collection set counts its photos, smart collections that t…
blwfish Dec 4, 2026
7e0d770
Say what a delete and an import leave out
blwfish Dec 4, 2026
8ef8272
Merge remote-tracking branch 'origin/staging' into fix/catalog-readab…
blwfish Dec 4, 2026
e290b40
NIGHTLY-2026-12-05: map docs/parity-checklist.md to lcc-engine in ci …
emmertex Dec 4, 2026
2f9f4e2
NIGHTLY-2026-12-05: face-prototype tests the batch run found failing
emmertex Dec 4, 2026
2cee78b
Merge pull request #1899 from emmertex/fix/nightly-2026-12-05-batch-t…
emmertex Dec 4, 2026
389f763
Merge pull request #1895 from blwfish/fix/catalog-readability-leftovers
emmertex Dec 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ never a panic. Never ship a panic path; fix crashes before building on them. Thi
- **Everything is a command** (`crates/engine`): id, label, menu path, shortcut, params, `enabled()`, `run()`. UI,
CLI, control channel, MCP all dispatch by id. Every slider is a `develop` control spec.
- **Activity stack** ([`docs/background-tasks.md`](docs/background-tasks.md)): off-UI-thread work longer than a moment
holds a `TaskGuard` from `session.activity.start(kind, label, cancel)`; adopts the job's `Cancel::Flag` or
`Cancel::No`. No own progress UI; tests assert the row.
holds a `TaskGuard` from `session.activity.start(kind, label, cancel)`; adopts the job's `Cancel::Flag`. Rarely
uncancellable: `Cancel::MustFinish(why)` / `Cancel::Drop(why)` only when stopping between steps would do harm (when:
that doc → Cancel). No own progress UI; tests assert the row.
- **Resolution independence:** normalized image coordinates, relative radii; previews == exports.
- **Time via `chrono`.** Never hand-roll calendar math. One exception: past chrono's range, shift by whole 400-year
Gregorian cycles (146,097 days), let chrono compute, add cycles back.
Expand Down
33 changes: 24 additions & 9 deletions apps/app/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,15 +297,27 @@ fn gpu_lost_marker_path() -> Option<std::path::PathBuf> {
/// Why the GPU was lost, when the device failed in this process (a driver reset, a hang, the
/// Windows watchdog), even if a new device replaced it since: `None` when it never failed.
fn gpu_lost_reason() -> Option<String> {
lost_reason_from(lcc_engine::gpu::last_loss(), lcc_engine::gpu::unavailable_reason())
lost_reason_from(lcc_engine::gpu::last_loss(), lcc_engine::gpu::unavailable())
}

/// [`gpu_lost_reason`] from the session's latest device failure (`last_loss`, kept after a new device
/// replaced it) and why renders don't use the GPU now (`unavailable`). A first loss reads "paused after a
/// GPU failure, restarting the graphics card: …" while the replacement is pending, so the reason comes
/// from `last_loss`; "stopped after a GPU failure: …" also covers a device marked broken without a loss.
fn lost_reason_from(last_loss: Option<String>, unavailable: Option<String>) -> Option<String> {
last_loss.filter(|r| !r.trim().is_empty()).or_else(|| unavailable?.strip_prefix("stopped after a GPU failure: ").map(str::to_string))
/// from `last_loss`; [`Unavailable::Stopped`](lcc_engine::gpu::Unavailable) also covers a device marked broken without a
/// loss. `unavailable` is the typed value, not its text: the reason is the variant's own field.
fn lost_reason_from(last_loss: Option<String>, unavailable: Option<lcc_engine::gpu::Unavailable>) -> Option<String> {
use lcc_engine::gpu::Unavailable;
last_loss.filter(|r| !r.trim().is_empty()).or_else(|| match unavailable? {
Unavailable::Stopped(why) => Some(why),
// not a failure of the device (switched off, closing, no adapter, a pause that has a loss record of its own, ...)
Unavailable::SwitchedOffByEnvironment(_)
| Unavailable::SwitchedOffByPreference
| Unavailable::Closing
| Unavailable::Paused(_)
| Unavailable::NoAdapter(_)
| Unavailable::CouldNotStart(_)
| Unavailable::NoBrowserPath => None,
})
}

/// Record that the app stopped after the GPU was lost, for the next launch.
Expand Down Expand Up @@ -2409,21 +2421,24 @@ mod tests {
/// renders on the CPU. Only "stopped after" counted, and no marker was written.
#[test]
fn a_first_gpu_loss_is_recorded_while_its_replacement_is_pending() {
use lcc_engine::gpu::Unavailable;
let lost = "device lost (Unknown): Unexpected error variant (driver implementation is at fault)";
let paused = format!("paused after a GPU failure, restarting the graphics card: {lost}");
assert_eq!(lost_reason_from(Some(lost.into()), Some(paused)).as_deref(), Some(lost));
let paused = || Some(Unavailable::Paused(lost.into()));
assert_eq!(lost_reason_from(Some(lost.into()), paused()).as_deref(), Some(lost));
// the new device came up before the window stopped: the loss is still this session's
assert_eq!(lost_reason_from(Some(lost.into()), None).as_deref(), Some(lost));
// a device marked broken without a loss record, after the recoveries ran out
assert_eq!(lost_reason_from(None, Some(format!("stopped after a GPU failure: {lost}"))).as_deref(), Some(lost));
assert_eq!(lost_reason_from(None, Some(Unavailable::Stopped(lost.into()))).as_deref(), Some(lost));
// no failure: a panic for another reason turns nothing off
assert_eq!(lost_reason_from(None, Some("disabled by the GPU rendering preference (app.gpu)".into())), None);
assert_eq!(lost_reason_from(None, Some(Unavailable::SwitchedOffByPreference)), None);
// and with a loss record absent, a pause alone is not a recorded loss (its reason is in `last_loss`)
assert_eq!(lost_reason_from(None, paused()), None);
assert_eq!(lost_reason_from(None, None), None);
assert_eq!(lost_reason_from(Some(" ".into()), None), None);
// and what the stop then writes: the next start says why and renders on the CPU
let d = dir("gpu-lost-paused");
let m = d.join("gpu-lost.marker");
let reason = lost_reason_from(Some(lost.into()), Some(format!("paused after a GPU failure, restarting the graphics card: {lost}")));
let reason = lost_reason_from(Some(lost.into()), paused());
if let Some(r) = &reason {
record_gpu_lost(Some(&m), r);
}
Expand Down
21 changes: 20 additions & 1 deletion apps/cli/src/quality_scan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

use serde_json::{Map, Value, json};

const USAGE: &str = "quality-scan [--demo] [--library DIR] [--import PATH]… [--connect [ADDR]] [--scope selection|view|folder|catalog] [--accepted N] [--rejected N] [--apply-flags|--auto-flag] [--auto-rate] [--overwrite-metadata] [--star-breaks a,b,c,d,e] [--rescan] [--weights a,b,c,d] [--ids 1,2,3] [FOLDER]";
const USAGE: &str = "quality-scan [--demo] [--library DIR] [--import PATH]… [--connect [ADDR]] [--scope selection|view|folder|catalog] [--accepted N] [--rejected N] [--apply-flags|--auto-flag] [--auto-rate] [--overwrite-metadata] [--star-breaks a,b,c,d,e] [--rescan] [--weights a,b,c,d] [--face-aware|--no-face-aware] [--ids 1,2,3] [FOLDER]";

/// The `run` arguments that scan quality with these options.
pub fn to_run_args(args: &[String]) -> Result<Vec<String>, String> {
Expand Down Expand Up @@ -75,6 +75,13 @@ pub fn to_run_args(args: &[String]) -> Result<Vec<String>, String> {
"--rescan" => {
params.insert("rescan".into(), json!(true));
}
// face-aware sharpness is on by default; --no-face-aware measures the whole frame
"--face-aware" => {
params.insert("faceAware".into(), json!(true));
}
"--no-face-aware" => {
params.insert("faceAware".into(), json!(false));
}
"--weights" => {
let v = value!();
let parts: Vec<&str> = v.split(',').map(str::trim).collect();
Expand Down Expand Up @@ -179,6 +186,18 @@ mod tests {
}
}

#[test]
fn face_aware_sharpness_is_the_commands_param() {
// on by default: a bare scan carries no faceAware (the engine's default is on)
let p = params(&to_run_args(&s(&["--library", "/l"])).unwrap());
assert!(p.get("faceAware").is_none(), "the default is the engine's (on)");
// the explicit switches
let p = params(&to_run_args(&s(&["--no-face-aware"])).unwrap());
assert_eq!(p["faceAware"], false);
let p = params(&to_run_args(&s(&["--face-aware"])).unwrap());
assert_eq!(p["faceAware"], true);
}

#[test]
fn the_app_runs_it_in_the_background() {
let p = params(&to_run_args(&s(&["--connect", "7980"])).unwrap());
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/web.rs
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ impl WebApp {
}
Err(e) => {
log::warn!("import: {e}");
self.app.toast(ctx, lcc_ui_egui::i18n::dropped_import_failed(&e));
self.app.toast_error(ctx, lcc_ui_egui::i18n::dropped_import_failed(&e));
}
}
}
Expand Down
56 changes: 46 additions & 10 deletions crates/catalog/src/advanced_search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ impl AdvancedSearch {
}
}
out.extend(self.pick_rules());
out.extend(self.field_rules(false)?.into_iter().map(rule_of));
out.extend(self.field_rules()?.into_iter().map(rule_of));
if let Some(f) = &self.faces {
if let Some(spec) = f.count.as_deref().map(str::trim).filter(|c| !c.is_empty()) {
let spec = crate::query::parse_face_spec(spec).map_err(|e| format!("faces count: {e}"))?;
Expand All @@ -526,9 +526,9 @@ impl AdvancedSearch {
}

/// The categories' field conditions as `{"field", "op", "value"}` triples: everything but the words, the
/// collection, the people and the face count, and the keywords only when `keywords` (a group of one search
/// whose conditions all match lists them here, as it always has).
fn field_rules(&self, keywords: bool) -> Result<Vec<Value>, String> {
/// keywords, the collection, the people and the face count (those are filter fields or conditions of their own,
/// so the keywords' any / all is said once).
fn field_rules(&self) -> Result<Vec<Value>, String> {
let mut rules: Vec<Value> = Vec::new();
if let Some(f) = &self.file
&& !f.is_empty()
Expand All @@ -545,11 +545,6 @@ impl AdvancedSearch {
if let Some(rule) = text_rule("folder", &f.folder) {
rules.push(rule);
}
if keywords && let Some(list) = trimmed(&f.keywords) {
for k in list {
rules.push(json!({"field": "keywords", "op": "contains", "value": k}));
}
}
}
if let Some(p) = &self.properties
&& !p.is_empty()
Expand Down Expand Up @@ -698,7 +693,7 @@ impl AdvancedSearch {
}

fn all_of_one_group(&self) -> Result<Filter, String> {
let rules = self.field_rules(true)?;
let rules = self.field_rules()?;
let mut filter = Filter { text: self.words.trim().to_string(), ..Filter::default() };
if let Some(f) = &self.file
&& !f.is_empty()
Expand Down Expand Up @@ -1209,6 +1204,47 @@ mod tests {
assert_eq!(serde_json::to_value(&p).unwrap()["properties"]["fileSizeMb"]["min"], json!(1.0));
}

/// Picked keywords combine as their own any / all says in every shape a query can take: the one-group "all"
/// form (the filter's own keyword list) and the forms lowered to rule groups, with or without another condition
/// in the group.
#[test]
fn keyword_any_and_all_hold_in_every_query_shape() {
let mut c = Catalog::new();
let mut add = |id: u64, keywords: &[&str], rating: u8| {
let mut p = Photo::new(PhotoId(id), Source::Demo { scene: 1 }, &format!("k{id}.jpg"), "JPEG", 60, 40, "2026-05-01T10:00:00");
p.rating = rating;
p.meta.keywords = keywords.iter().map(|k| k.to_string()).collect();
c.apply(Op::AddPhoto { photo: Box::new(p) }).unwrap();
};
add(1, &["travel"], 4);
add(2, &["ocean"], 4);
add(3, &["travel", "ocean"], 4);
add(4, &["travel"], 1);
add(5, &[], 4);
let ids = |q: &AdvancedSearch| -> Vec<u64> { matches(&c, q).into_iter().map(|p| p.0).collect() };
let keywords = |op: MatchOp| FileCategory { keywords: vec!["travel".into(), "ocean".into()], keyword_op: op, ..Default::default() };
// a second group that every photo meets: the query is lowered to rule groups instead
let everything = AdvancedSearch { properties: Some(PropertiesCategory { rating: Some(0), ..Default::default() }), ..q() };
let rated = PropertiesCategory { rating: Some(3), rating_op: RatingOp::AtLeast, ..Default::default() };
for (shape, with_group) in [("one group", false), ("one group and a second", true)] {
let query = |op: MatchOp, properties: Option<PropertiesCategory>| AdvancedSearch {
file: Some(keywords(op)),
properties,
groups: if with_group { vec![everything.clone()] } else { Vec::new() },
..q()
};
assert_eq!(ids(&query(MatchOp::Any, None)), vec![1, 2, 3, 4], "{shape}: any of the keywords");
assert_eq!(ids(&query(MatchOp::All, None)), vec![3], "{shape}: all of the keywords");
assert_eq!(ids(&query(MatchOp::Any, Some(rated.clone()))), vec![1, 2, 3], "{shape}: any of the keywords, and rated");
assert_eq!(ids(&query(MatchOp::All, Some(rated.clone()))), vec![3], "{shape}: all of the keywords, and rated");
}
// the group's own match still decides how the keywords meet the other conditions
let either = AdvancedSearch { mode: SearchMatch::Any, file: Some(keywords(MatchOp::Any)), properties: Some(rated.clone()), ..q() };
assert_eq!(ids(&either), vec![1, 2, 3, 4, 5], "match any: a keyword, or rated");
let neither = AdvancedSearch { mode: SearchMatch::None, ..either };
assert!(ids(&neither).is_empty(), "match none: no keyword and not rated");
}

#[test]
fn unsupported_audio_video_conditions_are_rejected_actionably() {
let mut query = q();
Expand Down
Loading
Loading