Commit Graph
4867 Commits
Author SHA1 Message Date
FredApps fd8b0b236d Merge pull request #3697 from storytold/fix/sec-lensdb-profile-copies
security(lensdb): bound the names calibrations copy, read database files through the opened regular file
2026-11-04 13:07:16 +01:00
FredApps b4757824ba Merge pull request #2733 from Enthendor/sigma-10-18-wide-end
LR-EDIT-OPTICS-PROFILE: Sigma 10-18 mm exception on the ILCE-6700
2026-11-04 12:46:48 +01:00
FredApps 32b00266f6 Merge pull request #3012 from emmertex/upstream-pr/lens-crop-inside
#2361: lens corrections crop inside the corrected photo
2026-11-04 12:43:59 +01:00
FredApps ecbb77442c Merge remote-tracking branch 'origin/main' into pr-3697
# Conflicts:
#	crates/lensdb/src/tests.rs
2026-11-04 12:25:18 +01:00
FredApps 483650c32b Merge pull request #3660 from eliets2/fix/issue-2249-nikon-z-400mm-f-4-5-z-tc-1-4x-lensfun-co
Issue #2249: a teleconverter combination never inherits the bare lens's profile
2026-11-04 12:23:14 +01:00
FredApps 99a6728fd0 Merge remote-tracking branch 'origin/main' into pr-3012
# Conflicts:
#	docs/whats-new.md
2026-11-04 11:59:15 +01:00
FredApps c1a1896d30 Merge remote-tracking branch 'origin/main' into pr-2733 2026-11-04 11:59:02 +01:00
FredApps 1c1eec5179 security(lensdb): refuse a non-regular *.xml before opening it (opening a FIFO blocks)
The pathname is checked before File::open as well as the opened file after it: File::open on a FIFO blocks until a writer appears, so the post-open check alone never ran for one. Adds a unix regression test that hung before the fix.
2026-11-04 11:58:39 +01:00
FredApps 0a5a53c1da Merge remote-tracking branch 'origin/main' into pr-3697 2026-11-04 11:56:16 +01:00
FredApps c8887dabca Merge remote-tracking branch 'origin/main' into pr-3660
# Conflicts:
#	crates/lensdb/src/tests.rs
2026-11-04 11:55:19 +01:00
Dylan M. Taylor 4d42507bbc security(raster, segment): resample tall narrow images columns first (#3678) 2026-11-03 23:00:51 -05:00
Dylan M. Taylor 1c5cbce835 security(engine): the library folder is protected from folder.move however its path is spelled (#3676) 2026-11-03 23:00:31 -05:00
Dylan M. Taylor f618fc06a7 security: staging and probe files are created new, never written through an existing entry (#3673) 2026-11-03 22:59:41 -05:00
Dylan M. Taylor 7b80ffc32b engine: font paths the build embeds stay inside the asset checkout and print as one cargo line (#3670) 2026-11-03 22:59:11 -05:00
Dylan M. Taylor ab39f7dbbc web: a restore plans its writes first, each storage key once and within the file's bytes; workers are capped (#3669) 2026-11-03 22:58:42 -05:00
Dylan M. Taylor 00b020cf2f catalog: bound keyword list path expansion and index synonym merges (#3641)
* catalog: bound keyword list path expansion and index synonym merges

* address review: hold keyword list writer to the path budget the reader enforces

* address review: charge the emitted parent path in the keyword list writer
2026-11-03 22:51:11 -05:00
Dylan M. Taylor 9eb7b25e31 security(engine): sidecar copies, backups and version checks read regular files only (#3677)
* security(engine): sidecar copies, backups and version checks read regular files only

* address review: open the sidecar source and check the handle is the regular file that was checked
2026-11-03 22:50:49 -05:00
Dylan M. Taylor b0c4aa8cc8 security(raw): linear sparse planning, distinct-byte allocation bound, opcode list budget, ORF strip length (#3679)
* security(raw): linear sparse planning, distinct-byte allocation bound, opcode list budget, ORF strip length

* address review: zero opcode cost for no-op ops, compact the sparse plan buffer
2026-11-03 22:32:53 -05:00
Dylan M. Taylor f7e43a4a45 address review: charge name allocations and only kept calibrations to the copy budget 2026-11-03 23:58:25 +00:00
Dylan M. Taylor 03e03f382e security(tests): test fixture directories are created exclusively, never reused from a predictable name (#3721) 2026-11-03 17:49:04 -05:00
Dylan M. Taylor 5c96a70058 security(logging): a log message cannot begin a record of its own (#3720) 2026-11-03 17:48:44 -05:00
Dylan M. Taylor b2c1d7064a security(geocode): bound dataset reads, per-line fields, and the inflate error text (#3718) 2026-11-03 17:48:25 -05:00
Dylan M. Taylor a5803fe49f security(engine, faces): index repeated membership scans in photo move, keywords, import planning, sync and rename (#3709) 2026-11-03 17:48:05 -05:00
Dylan M. Taylor a93172c2f7 security(engine): Find Missing Photos hashes only regular files, no further than their size (#3704) 2026-11-03 17:47:46 -05:00
Dylan M. Taylor 6fee4fbacd security(lensdb): bound the names calibrations copy, read database files through the opened regular file 2026-11-03 17:46:15 +00:00
Dylan M. Taylor 4d2fa1269b lightcraft-cli: calibrate walks folders with the engine's bounded walk (#3643)
* lightcraft-cli: calibrate walks folders with the engine's bounded walk

* lightcraft-cli: calibrate keeps only regular raw files
2026-11-03 11:51:22 -05:00
Brandon Thomas 389ab177db Merge PR #3604: the Square Grid's badge band sits on the photo itself (#3601)
#3601: the Square Grid's badge band sits on the photo itself
2026-11-03 08:51:49 -05:00
Brandon ThomasandClaude Opus 5.5 d346fba2d3 #3601: rustfmt (drop the trailing blank line)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 08:36:22 -05:00
Brandon ThomasandClaude Opus 5.5 b873084d05 #3601: the Preview pill sits on the photo too, above its badge band
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 08:36:03 -05:00
Dylan M. Taylor ac1799db38 web: ?bench runs on demo photos in an unsaved library, never the stored one (#3646)
A navigation link with ?bench opened the first photo of the library in
browser storage and committed Exposure edits to it, finishing at 0 instead
of the photo's own value. ?bench now implies ?store=memory and loads the
generated demo photos, so the benchmark cannot edit stored photos.
2026-11-02 22:50:58 -05:00
06c1b9ae07 Use crw craftlib (#3503)
* CRW-LIB: decode Canon CRW through the shared craft-crw crate

LightCraft decodes Canon CRW (the CIFF raws of the EOS D30, D60, 10D, 300D and the
PowerShot G1/G6) through craft-libs' `craft-crw`, the clean-room decoder derived and
verified on the `clean-room-crw-format-decode` branch and moved there with its frozen
tables and derivation record. `crates/raw/src/vendor/crw.rs` is now the adapter: it maps
the crate's header and samples onto `RawImage` (CFA, levels, active area, orientation,
as-shot white balance, the make/model/time records a CRW keeps instead of Exif) and
converts the capture time through chrono. The dependency is a local path
(`../craft-libs/crates/crw`) until the craft-libs branch merges; then it becomes a git
revision.

Everything LightCraft-side from that branch comes along unchanged: `probe_bytes` fills
metadata gaps from the decoder's records so CRW imports name their camera; the EOS D60
bundled camera profile and its chart-measured dual-illuminant matrices (`chart_table.rs`,
`spectral::Camera` carries its illuminant pair) give the D60 a Kelvin white-balance scale;
CRW joins the JPEG-fitted starting look, the catalog's raw formats and `lightcraft-cli
calibrate`; `RENDER_CACHE_VERSION` 71; the CC0 CRW corpus entries for `cargo xtask corpus`;
coverage, parity, gaps, raw-parity, target-app-parity and ROADMAP updates. The G5 stays
preview-only (the crate refuses it with the reason) and the robustness test keeps its CRW
sample.

What does not come along: the decoder, its tables and `crw_oracle.rs` (now craft-crw's
digest-pinned sample test) and the derivation record, which lives in craft-libs
`crates/crw/clean-room/`. `clean-room/crw/` here keeps only the EOS D60 chart-calibration
document and its capture list, with a README pointing at the record.

Gates: fmt, clippy -D warnings (raw all targets; engine, catalog, cli), lightcraft-raw tests
(475 + 134, the corpus files decoding through the adapter), catalog tests, engine lib tests
(1,300 pass; the two failures, `tests_import::recursive_discovery_…` and
`originals::tests::write_targets_pin_absent_paths_…`, are in files unchanged from main),
`cargo xtask parity`, `assets`, `layers`, `coverage.py --check`.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* no message

* no message

* Update documentation after moving code to craft-libs

* Review coment fixes

* CRW: pin craft-crw f3b62ec, a truncated entropy stream is Corrupt

craft-libs #472 makes craft_crw::decode refuse a stream that ends more than
Limits::max_stream_end_fill (64 samples, one block) before the frame does,
instead of filling the rest with predictor values and returning success.
The adapter already maps craft_crw::Error::Corrupt to RawError::Corrupt;
a regression test proves a truncated CRW now fails at this boundary (it
decoded as a flat frame on the old pin) while its header still reads.

Only craft-crw moves; craft-ui/docpath/update/window stay on c5a1cbf.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Code review comment fix

* Add some tests

---------

Co-authored-by: Robert Woldberg <314159+rwoldberg@users.noreply.github.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-02 20:41:34 -05:00
Brandon ThomasandClaude Opus 5.5 32d569ad5d Release 0.18.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.18.0
2026-11-02 19:26:25 -05:00
Rahulandrahul05ranjan 01fa8545e8 #3601: the Square Grid's badge band sits on the photo itself
paint_cell_badges sized the badge band from the cell's whole image area, so on a portrait photo it stuck out past the photo on both sides and crossed the selection frame (which paint_cell_thumbnail draws around the photo's fitted rect). The band is now built from the rect the photo actually occupies - fitted rect, or the placeholder's - and a photo shorter than the band keeps its own top edge.

Co-authored-by: rahul05ranjan <11793455+rahul05ranjan@users.noreply.github.com>
2026-11-02 15:00:11 +05:30
Brandon Thomas ebe2477108 Merge PR #3443: keep unequal margins when merging full settings with linkMargins on
Keep unequal margins when merging full settings with linkMargins on
2026-11-02 01:13:54 -05:00
NetterSilverandClaude Sonnet 5.5 7a7be84e41 test: pin three linked margin keys boundary and wrap merged doc comment
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 04:33:24 +00:00
Brandon Thomas 0fad22a286 Merge PR: integration batch 46 (6 community PRs)
Integration batch 46 (6 community PRs)
2026-11-01 22:39:34 -05:00
Brandon Thomas 94bae746ed Merge PR #3563 2026-11-01 22:06:44 -05:00
Brandon Thomas d6a947bea0 Merge PR #3370 2026-11-01 22:06:44 -05:00
Brandon Thomas c37e73137e Merge PR #3442 2026-11-01 22:06:44 -05:00
Brandon Thomas 9e976e1741 Merge PR #3445 2026-11-01 22:06:44 -05:00
Brandon Thomas db30da9e6a Merge PR #3465 2026-11-01 22:06:44 -05:00
Brandon Thomas 6e943e9adc Merge PR #3515 2026-11-01 22:06:44 -05:00
Fridtjof MichelsandClaude Opus 5.5 da558f5b8f LR-VIEW-SURVEY: test that ⌘/Ctrl-click on the active survey photo activates the last one left
Review follow-up (#3563).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 22:34:35 +01:00
Fridtjof MichelsandClaude Opus 5.5 3609fe8466 LR-VIEW-SURVEY: the survey ⌘/Ctrl-click test covers a non-active tile and the last photo
Review follow-up (#3563): a plain click on another tile makes it active, a
⌘/Ctrl-click on a selected tile that is not active removes only that one, and
⌘/Ctrl-click on the last photo leaves it in the survey and active.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 22:13:54 +01:00
Fridtjof MichelsandClaude Opus 5.5 3e3955bb30 LR-VIEW-SURVEY: ⌘/Ctrl-click on a survey tile takes the photo out of the survey
As in Lightroom Classic, a ⌘/Ctrl-click on a tile in Survey deselects that
photo (library.select, mode toggle), as the hover × does; a plain click still
only makes it active, and the last photo stays so the survey never empties.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 21:12:47 +01:00
Brandon ThomasandClaude Opus 5.5 5a09d07530 Release 0.17.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.17.0
2026-11-01 13:57:58 -05:00
Dylan M. Taylor 496524ced5 docs: sync Craft App Suite list with ArtCraft Launcher 2026-11-01 12:29:55 -05:00
Julian ZahnowandClaude Opus 5.5 a20887e097 LR-EDIT-OPTICS-PROFILE: record the LensModel strings seen for the Sigma 10-18 mm exception
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 11:54:10 +01:00
Chad ElliottandClaude Opus 5.5 fe3b1813b1 docs(gpu): #1050 the skip check also expects the device-memory test, which a software adapter can't run out of
#3419 added a test that holds device memory until an allocation fails; on lavapipe the allocations
never fail, so it skips with the opt-in too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 23:31:56 -05:00
NetterSilverandClaude Haiku 5.5 50879d4d26 Fix Histogram::percentile returning black when the target truncates to 0
Found while testing crates/raster/src/histogram.rs:171 (Histogram::percentile)

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-01 03:50:13 +00:00