Commit Graph
2314 Commits
Author SHA1 Message Date
FredApps c1f2cf664a Merge pull request #4905 from r3d42-git/r3d/per-photo-denoiser
LR-EDIT-DETAIL-DENOISE: Choose and remember the denoiser per photo
2026-12-02 00:44:38 +01:00
FredApps 7dd7851df1 Merge pull request #2633 from Bruno-Alumn/fix/panic-log-settings-folder-2572
Desktop: the panic log is kept in the settings folder, never the shared temp folder (#2572)
2026-12-02 00:44:12 +01:00
FredApps 12bfc45506 Merge pull request #2492 from AlexChambers/codex/1765-panorama-verification
LR-MERGE-PANO: report omitted photos and pair verification outcomes
2026-12-02 00:43:46 +01:00
P2HandClaude Opus 5.5 84b296e0d6 Import: optional backup copy that mirrors the destination (#4840) (#4847)
* Import: optional backup copy that mirrors the destination (#4840)

Copy and Move imports can make a second, verified copy of each file in a
backup folder (dialog: Backup to; library.import: backup). The backup takes
the path the main copy ended up with, relative to the destination, so
folder and rename templates, sequence numbers, the -1 of a taken name and
Copy as DNG all carry over: the backup mirrors the destination.

Each backup gets the check Copy runs (copy_verified: a new file, synced,
checked against the probe hash or byte for byte); a bad one is removed and
reported in backupFailed. A Move keeps the original of a photo whose backup
failed. A different file already at the backup's place is left alone and
reported, never renamed. A backup with mode add, or a backup folder that is,
is inside or contains the destination, is refused up front.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Import backup: address review findings (#4840)

- A backup place that is the file being imported (a backup folder set to
  the card) is not a backup: it is reported, and a Move keeps the original
  instead of deleting the only copy.
- The backup folder check runs when library.import's params are checked,
  so the import dialog refuses it before creating a new album.
- The "outside the destination" check also compares the folders with
  links resolved through their nearest existing ancestor, so a backup
  folder that doesn't exist yet can't slip inside the destination.
- A photo browsed in Local that a Copy or Move adds in place is reported
  in backupFailed.
- docs/user describes the latest release only: the import guide's backup
  step is held back until a release ships the option.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Import backup: resolve `..` and relative backup paths; refuse a backup on the main copy (#4840)

- import_move::resolved makes a path absolute and follows it part by part:
  links of the parts that exist are resolved, and a `..` after a part that
  doesn't exist yet steps back from it (it used to stop there and compare
  the path unresolved, so <base>/missing/../out/bk got past the "outside
  the destination" check).
- back_up also refuses a backup place that is the main copy or one of a
  Move's placed sidecars, not only the original.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Import backup: compare backup and destination in one path form (#4840)

On Windows, import_move::resolved gave a path whose first folder exists in
the \?\C:\ form canonicalizing returns, and one whose first folder doesn't
in the plain C:\ form; Path::starts_with told them apart, so a backup
inside a destination that doesn't exist yet could pass the overlap check.
resolved now always returns the plain form, and compare_key (used by the
overlap check and the backup-is-the-file check) also ignores letter case
on Windows.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Import backup: check folder overlap on resolved paths only (#4840)

backup_folder_error also ran import_move::inside, which compares the raw
paths first, so a folder beside the destination named through it
(<dest>/../bk) was refused as inside it. The resolved comparison
(compare_key: absolute, links and `..` followed) already covers equal and
nested folders, so the raw checks are dropped.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* add my real name in contributors

* Import backup: a Move checks its backup again before removing the original (#4840)

The backup path a transfer made was dropped from the Move's bookkeeping,
so finish_moves checked only the main copy: a backup removed (or a backup
drive unplugged) while the catalog was committed and saved still let the
original be deleted. The path is now carried to finish_moves, and
import_move::backup_intact checks the photo's backup and its sidecars'
against the placed copies before the source is removed; when it fails the
original stays, reported in kept like a backup that failed outright.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-12-01 11:40:11 +01:00
BrunoandFredApps 56aa693e17 LR-FILT-RATING: = or ≤ no stars shows the unrated photos instead of every photo (#3417) (#3433)
* LR-FILT-RATING: = or ≤ no stars shows the unrated photos instead of every photo (#3417)

* Saving the view as a smart album keeps the rating's stars with its operator

* LR-FILT-RATING: deleting the keyword of a filter put aside keeps = or ≤ no stars

Enable Filters can put aside a filter of a keyword and "= no stars" or "≤ no stars". Deleting that keyword
dropped the whole filter, as if the rating operator alone filtered nothing. Since #3417 those operators show
the unrated photos, so the rule is still put aside and comes back. "≥ no stars" still filters nothing and is
dropped.

* style: apply CI formatting to saved rating filters

* refactor: separate no-match Smart Album rendering

---------

Co-authored-by: FredApps <[email protected]>
2026-12-01 11:29:23 +01:00
6f3819ab4c LR-EDIT-CURVE: show the selected Tone Curve's sampled input histogram (#987) (#2531)
* LR-EDIT-CURVE: show sampled Tone Curve input (#987)

Keep the output Histogram separate. Sample each selected curve's input
with the production prefix LUT builder and strict request identity.
Preserve current main's source facts, mask behavior and render output.

Credit @zelefogs for the request and @aiongg for the input/output
clarification. Human contributor credit remains @AlexChambers.

Co-Authored-By: GPT-6-Astra <[email protected]>

* LR-EDIT-CURVE: refresh curve input source after relink (#987)

Rebuild the prepared diagnostic job when its origin changes, even if
the content hash and render key stay the same. Retain completed
histograms for identical content.

Add a real-file regression through import, relink, the prepared-job
caller flow and the native worker. Check the actual retry path,
source facts and successful recovery.

Co-Authored-By: GPT-6-Astra <[email protected]>

* LR-EDIT-CURVE: bound histogram UI test work (#987)

Use two small generated PNGs for the input-histogram tests. Keep the
production decoder, render queue and pipeline, and retain the 20-second
settle budget. The full demo library adds unrelated thumbnail and
neighbor work when the failure gate opens.

Assert that stale cached histograms stay hidden during pending and
failed replacements, and verify that clearing the selection leaves
no active photo. Keep the existing histogram stage checks.

Human contributor credit remains @AlexChambers.

Co-Authored-By: GPT-6-Astra <[email protected]>

* LR-EDIT-CURVE: adapt the histogram to main's render parameters (#987)

Carry the curve input source, edit panel and tests into the module layout and
render-parameter API on current main.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* LR-EDIT-CURVE: register the histogram label with the panel's Ui (#987)

Main's register now takes the Ui, not its Context.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* LR-EDIT-CURVE: match unknown channels to the Point input (#987)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* LR-EDIT-CURVE: refresh the parity summary after the merge

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* LR-EDIT-CURVE: fit the merge to main's three-argument file loader; histogram-only slots in one helper (#987)

Main's loaders take the camera profile as a third argument, so the curve tests' loaders take it too. Keeping the Tone Curve and HDR histograms moves into keep_histogram, which brings Renderer::collect back under the cognitive complexity limit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* LR-EDIT-CURVE: the input diagnostic's pixels are dithered like the render's (#987)

Main's finish dithers its 8-bit output with an 8x8 Bayer pattern (#3509). The diagnostic's image used plain rounding, so it no longer matched a render with the later curves removed; it now encodes with finish's dither at the same output position. Its histogram still bins the undithered samples.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* LR-EDIT-CURVE: refresh the parity summary after the merge

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* LR-EDIT-CURVE: refresh the parity summary after the merge

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* LR-EDIT-CURVE: refresh the parity summary after the merge

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Trim duplicate Tone Curve histogram tests (#987)

* LR-EDIT-CURVE: check the brush budget before sampling a curve's input (#987)

The Tone Curve input diagnostic went straight into mask preparation in
both the native render job and the web worker, skipping
check_brush_budget. An over-budget brush then lost its later strokes and
the backdrop showed that partial sample as the curve's input.

curve_input::render now runs check_brush_budget on its own clamped,
full-crop request (at most 256 px, no window) and returns a Result, so
both callers fail the request and the UI shows "Input histogram
unavailable". Regression tests cover the pipeline, the native job, the
worker and the headless UI.

* LR-EDIT-CURVE: tell screen readers the selected channel and the input status (#987)

The Tone Curve's channel buttons now report which channel is selected
(toggled), through the same helper the segmented controls use. The input
histogram's caption is a polite live region, so screen readers read it
when it changes between loading, sampled and unavailable, and the focus
stays where it is. A new announce_live helper sets the live region; the
AccessKit adapters read a live node only when its text changes.

The headless test view keeps the last frame's AccessKit tree in test
builds, and a new test checks both behaviours through it.

---------

Co-authored-by: GPT-6-Astra <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: FredApps <[email protected]>
2026-12-01 11:03:57 +01:00
BrunoandFredApps 88d457db4c Camera look: refuse a fitted matrix led by another channel (#3973) (#3992)
* Camera look: refuse a fitted matrix led by another channel (#3973)

A Canon EOS 400D CR2 fitted blue = 2.07·R − 3.37·G + 2.38·B to its embedded JPEG
(and 2.97·R − 4.50·G + 2.57·B without its clipped pixels). The 96 px proxy holds
few saturated oranges, so the holdout gates passed it, and the render turned
orange lights and red roofs magenta. fit_matrix now refuses a matrix where a row
isn't led by its own channel or another channel weighs more than 1.0, for the
full look, the partial look and pooled profiles alike. LOOK_VERSION 14 and
RENDER_CACHE_VERSION 77 redraw what was built with such a fit.

* Camera look: judge a cross weight against the row's own weight (review)

An EOS 6D fit with blue row [1.86, -4.65, 3.87] renders a turquoise scene like
its camera JPEG but was refused by the absolute 1.0 limit. A row's own weight
must now be at least 1.5 times any positive cross weight: the refused fits have
0.87, 1.15 and 0.88, the 6D's 2.08.

* Camera look: hold stored camera profiles to the same matrix rule; log the real reason (review)

A camera profile in the config folder saved before the fit refused implausible matrices could
still carry one, and look_fit uses a profile's matrix before fitting. CameraProfile::valid now
also asks plausible_matrix, so such a profile is not loaded. The ten bundled profiles pass with a
margin (lowest own-to-cross ratio 4.8, the rule asks 1.5).

The profiling line said a refused row was "led by another channel", the first rule; it now names
the ratio. The fit's own doc line had slipped above plausible_matrix; it is back on fit_matrix.

---------

Co-authored-by: FredApps <[email protected]>
2026-12-01 10:49:20 +01:00
FredApps 1980f52709 Merge upstream main into panorama diagnostics
Preserve both the panorama and SAM GPU documentation history.
2026-11-30 02:49:18 +01:00
r3d42-git 75852a37bd Explain how to recover unreadable denoise settings 2026-11-29 17:43:31 +01:00
r3d42-git c3c19e1416 LR-EDIT-DETAIL-DENOISE: Preserve model choices and refresh evicted previews 2026-11-29 15:55:58 +01:00
r3d42-git 5c1987548a LR-EDIT-DETAIL-DENOISE: Choose and remember the denoiser per photo 2026-11-29 15:18:13 +01:00
FredApps ca9c4a5f31 Merge branch 'main' into fix/import-reports-skipped-4319
# Conflicts:
#	docs/whats-new.md
2026-11-28 08:05:53 +07:00
FredApps 12c5615aac Merge branch 'main' into feat/ai-defringe
# Conflicts:
#	docs/whats-new.md
2026-11-28 06:29:49 +07:00
FredApps 75385e01af Merge branch 'main' into fix/import-reports-skipped-4319
# Conflicts:
#	docs/whats-new.md
2026-11-28 06:29:10 +07:00
FredApps f329ac035d Merge branch 'main' into feat/ai-defringe
# Conflicts:
#	docs/parity-checklist.md
#	docs/whats-new.md
2026-11-28 05:42:01 +07:00
FredApps dd7b982487 Merge branch 'main' into fix/import-reports-skipped-4319
# Conflicts:
#	docs/whats-new.md
2026-11-28 05:40:47 +07:00
FredApps ee66caa20c Merge branch 'main' into faces/mirror-average-1920
# Conflicts:
#	docs/whats-new.md
2026-11-28 05:39:55 +07:00
FredApps 973d85291d Merge pull request #4503 from Bruno-Alumn/fix/denoise-test-wait-4502
Denoise test: the background install gets 30 s, not 3, on a loaded machine (#4502)
2026-11-27 23:24:05 +01:00
FredApps 27e4cbe02e Merge pull request #4020 from Bruno-Alumn/fix/low-disk-share-4013
Low-disk notice: warn under 20 GB free, not under 10 % of the drive (#4013)
2026-11-27 23:20:30 +01:00
Bruno-Alumn 0b11feed41 AI Defringe: the correction's key includes the photo's lens database profile 2026-11-27 17:25:44 +01:00
Bruno-Alumn c28824a72b Crash log: main's Nightly profile comes through the settings folder; a Windows test path is fully qualified 2026-11-27 03:51:37 +01:00
Bruno-Alumn 16a961c8e3 Merge remote-tracking branch 'upstream/main' into tmp/fix-2633
# Conflicts:
#	apps/lightcraft/src/launch.rs
#	apps/lightcraft/src/main.rs
#	docs/whats-new.md
2026-11-27 03:45:37 +01:00
FredApps b5dce46382 Merge upstream main and preserve the low-disk documentation change 2026-11-27 02:14:00 +01:00
Bruno-Alumn dfbff20ab8 Import: expand_knowing is only used by tests now 2026-11-27 01:49:53 +01:00
Bruno-Alumn 1f54461b0b Merge remote-tracking branch 'upstream/main' into tmp/fix-4321
# Conflicts:
#	crates/engine/src/import/job.rs
#	docs/parity-checklist.md
#	docs/whats-new.md
2026-11-27 01:30:03 +01:00
Bruno-Alumn c9bc3149b9 Merge remote-tracking branch 'upstream/main' into tmp/fix-4545
# Conflicts:
#	docs/parity-checklist.md
#	docs/whats-new.md
2026-11-27 01:23:41 +01:00
Bruno-Alumn 56464567dc Merge remote-tracking branch 'upstream/main' into tmp/fix-4174
# Conflicts:
#	docs/whats-new.md
2026-11-27 01:23:08 +01:00
r3d42-git 25a43773dc Keep exact correspondence samples at invalid borders
Use coincident interpolation bounds at integer pixel centres so only contributing neighbours can propagate NaN. Clarify when a LensDB reload invalidates fitted Smart Previews.
2026-11-26 23:17:47 +01:00
r3d42-git fd17163ff7 Merge main and preserve non-CR3 correspondence geometry
Apply the measured database vignetting at sensor coordinates when an external warp is accepted. Carry aligned colour and tone samples into pooled calibration. Preserve the CR3 framing and Smart Preview source identity, and advance look and render cache versions.
2026-11-26 22:56:34 +01:00
FredApps 5973d956df Merge pull request #2966 from OneSlips/pr/upright-posts
LR-EDIT-GEOM-UPRIGHT: Upright corrects posts among people, and says why it found nothing
2026-11-26 21:40:32 +01:00
FredApps 3cd2e41eb8 Merge pull request #2971 from nledford/import-browsed-photos
LR-IMP-DUPES: a photo browsed in Local is offered by Import and no longer blocks the library's own file
2026-11-26 20:19:06 +01:00
FredApps 4082b3b3d4 Merge main (55be0bcafe) into pr/upright-posts
Conflicts:
docs/parity-checklist.md

Also renames the fallback note "No Upright correction" to "No perspective correction": main's new display-name guard (crates/ui-egui/tests/display_names.rs, c137ffea) bans "Upright" in production labels and failed the gate on this PR.
2026-11-26 20:08:51 +01:00
FredApps 55be0bcafe Merge pull request #2955 from OneSlips/pr/color-mixer-hsl
LR-EDIT-COLOR-MIXER-HSL: the Color Mixer's HSL mode, laid out as in Lightroom Classic
2026-11-26 20:06:19 +01:00
FredApps 70264a69d0 Merge main (2755f24de0) into import-browsed-photos
Conflicts:
crates/ui-egui/locales/cs.json
crates/ui-egui/locales/de.json
crates/ui-egui/locales/es.json
crates/ui-egui/locales/fi.json
crates/ui-egui/locales/fr.json
crates/ui-egui/locales/id.json
crates/ui-egui/locales/it.json
crates/ui-egui/locales/ja.json
crates/ui-egui/locales/ka.json
crates/ui-egui/locales/pl.json
crates/ui-egui/locales/pt-br.json
crates/ui-egui/locales/ru.json
crates/ui-egui/locales/sv.json
crates/ui-egui/locales/uk.json
crates/ui-egui/locales/vi.json
crates/ui-egui/locales/zh-hans.json
crates/ui-egui/locales/zh-hant.json

Locale-only conflicts after #2818; merged both sides' keys (JSON validated).
2026-11-26 19:32:53 +01:00
FredApps 25bba173e1 Merge pull request #4816 from storytold/fix/library-folder-path-case-agnostic
LRC-LIB-LIBFOLDERS: a library path that differs only in letter case is the library's own
2026-11-26 19:20:03 +01:00
FredApps 1e11dc3e58 Merge main (5ef158833b) into pr/color-mixer-hsl
Conflicts:
docs/parity-checklist.md
docs/whats-new.md

Docs-only conflicts (parity checklist / whats-new) after #2920; kept both sides.
2026-11-26 19:19:51 +01:00
FredApps fa1f2dc42f Merge main (5ef158833b) into pr/upright-posts
Conflicts:
docs/parity-checklist.md

Docs-only conflicts (parity checklist / whats-new) after #2920; kept both sides.
2026-11-26 19:19:32 +01:00
FredApps 5ef158833b Merge pull request #2920 from OneSlips/pr/mask-overlay-rule
LR-MASK-OVERLAY: one overlay rule — the overlay shows when it helps, never over a mask's effect
2026-11-26 19:07:22 +01:00
FredApps 0206078489 Merge pull request #3845 from bd78/export-album-var
export: support {album}, {date}, and {hour} variables in subfolder field
2026-11-26 18:54:10 +01:00
FredApps d7f6e70690 Merge main (11c43da8be) into import-browsed-photos
Conflicts:
crates/ui-egui/locales/fi.json
crates/ui-egui/locales/id.json
crates/ui-egui/locales/ka.json
crates/ui-egui/locales/sv.json
crates/ui-egui/locales/vi.json

Locale-only conflicts after #2874 (settings strings); kept both sides' keys.
2026-11-27 00:45:40 +07:00
FredApps 078971ed08 LRC-LIB-LIBFOLDERS: refuse a path that reaches the library through a link below a case-distinct prefix
foreign_link_in_library_prefix now walks every component of the source,
not only the library-length prefix, so a distinct LIB folder whose
Originals is a link into the library is not rewritten and renamed as
the library's own folder.
2026-11-27 00:43:13 +07:00
FredApps ce0dd7e03a Merge main (85c38c487b) into pr/upright-posts
Conflicts:
docs/parity-checklist.md

Ported: the locale and docs conflicts keep both sides' entries.
2026-11-27 00:31:05 +07:00
FredApps 63d7f409e4 Merge main (85c38c487b) into pr/mask-overlay-rule
Conflicts:
docs/parity-checklist.md

Ported: the locale and docs conflicts keep both sides' entries.
2026-11-27 00:31:01 +07:00
FredApps 07a3f902e8 Merge main (85c38c487b) into pr/color-mixer-hsl
Conflicts:
crates/ui-egui/locales/cs.json
crates/ui-egui/locales/de.json
crates/ui-egui/locales/es.json
crates/ui-egui/locales/ja.json
crates/ui-egui/locales/pl.json
crates/ui-egui/locales/pt-br.json
crates/ui-egui/locales/ru.json
crates/ui-egui/locales/uk.json
crates/ui-egui/locales/zh-hans.json
crates/ui-egui/locales/zh-hant.json
docs/parity-checklist.md

Ported: the locale and docs conflicts keep both sides' entries.
2026-11-27 00:30:56 +07:00
FredApps f778f0e0fb Merge pull request #2867 from nledford/catalog-keep-before-upgrade
Catalog: an upgrade keeps the files it replaces
2026-11-26 18:28:39 +01:00
FredApps fa22a04726 Merge pull request #2194 from nledford/menu-structure
MENU-BAR: every command has a place in the menus, and View drops from 62 rows to 36
2026-11-26 18:28:07 +01:00
FredApps 2fac6b8351 Merge main (5ced0a20dc) into catalog-keep-before-upgrade
Conflicts:
crates/engine/src/tests/persist.rs

Ported: crates/engine/src/tests/persist.rs keeps both sides' new tests (this PR's upgrade-notice tests and main's partly-applied-rollback tests). The persist tests and clippy pass locally.
2026-11-26 23:53:58 +07:00
FredApps 7911db589e Test: join folder path components so catalog path asserts match on Windows
The same pattern as the #3016 test on main: lib.join("Originals/Beach/a.jpg")
builds a mixed-separator path on Windows and fails a string compare with the
catalog.
2026-11-26 23:49:43 +07:00
FredApps 914fc9f006 Export subfolder: {date} and {hour} in local time, not UTC (the day the person exported on) 2026-11-26 23:48:57 +07:00
FredApps a3281b74e8 Merge main (5ced0a20dc) into export-album-var
Conflicts: crates/engine/Cargo.toml (main's jiff kept; chrono stays in the all-target dependencies this PR moved it to), the locale catalogs (both sides' new strings kept).
2026-11-26 23:48:27 +07:00