Commit Graph
471 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
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
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 2336314a9f Merge main (11c43da8be) into looping-album-empty
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
docs/parity-checklist.md

Locale and parity-summary conflicts after #2874; kept both sides.
2026-11-27 00:46:02 +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 5416b9c70b Merge main (cd4e1f63ee) into looping-album-empty
Conflicts:
docs/whats-new.md

Ported: docs/whats-new.md keeps both sides' entries.
2026-11-27 00:03:37 +07:00
FredApps 3a7a5987af Merge pull request #2812 from nledford/shared-settings
PERF-CATALOG: equal develop settings are held once in memory
2026-11-26 17:58:59 +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 3dccdd0305 Merge main (a5531d485d) into looping-album-empty
Conflicts:
crates/ui-egui/locales/sv-formats.json
crates/ui-egui/locales/sv.json
docs/parity-checklist.md

Ported: the locale and docs conflicts keep both sides' entries.
2026-11-26 23:36:19 +07:00
FredApps 1f72730168 Merge pull request #2797 from nledford/partial-rollback-journal
LR-BEHAV-AUTOSAVE: a change that could only be partly taken back is saved and can be undone
2026-11-26 17:34:22 +01:00
FredApps cbf3bd5595 Merge pull request #4695 from bd78/feat/edit-panel-camera-name
ui-egui, catalog: name the camera above the Edit header
2026-11-26 17:33:52 +01:00
FredApps 64edd7c3c0 Merge main (fc10a3faa6) into shared-settings
Conflicts:
crates/catalog/src/lib.rs

Ported: catalog lib.rs keeps both module lists (mod tests_search_text; mod tests_shared;). Also folds in main's two gate fixes: rustfmt of crates/engine/src/import/job.rs (left unformatted by #1995) and the Windows-safe path joins in crates/engine/src/tests/folders.rs.
2026-11-26 23:00:40 +07:00
FredApps 43f578dc42 Merge main (fc10a3faa6) into pr/keyword-list-lines
Conflicts:
crates/ui-egui/src/panels/keyword_list.rs
docs/parity-checklist.md

Re-merged main. Ported: panels/keyword_list.rs takes main's reworked drag (a NotAllowed cursor is kept, the frame's drag hint wins) and main's give_keyword(), using this PR's one-line names: drag_leaf() for the label fallback and hover_path() for the Add/Added keyword text. Keyword tests and ui-egui clippy pass locally. Also folds in the fix for main's Windows-only folders test failure (the expected path now joins each component).
2026-11-26 22:29:51 +07:00
FredApps cebe02f3a7 Merge main (fc10a3faa6) into looping-album-empty
Conflicts:
crates/catalog/src/index.rs
crates/ui-egui/locales/cs-formats.json
crates/ui-egui/locales/cs.json
crates/ui-egui/locales/de-formats.json
crates/ui-egui/locales/de.json
crates/ui-egui/locales/es-formats.json
crates/ui-egui/locales/es.json
crates/ui-egui/locales/fi-formats.json
crates/ui-egui/locales/fi.json
crates/ui-egui/locales/fr-formats.json
crates/ui-egui/locales/fr.json
crates/ui-egui/locales/id-formats.json
crates/ui-egui/locales/id.json
crates/ui-egui/locales/it-formats.json
crates/ui-egui/locales/it.json
crates/ui-egui/locales/ja-formats.json
crates/ui-egui/locales/ja.json
crates/ui-egui/locales/ka-formats.json
crates/ui-egui/locales/ka.json
crates/ui-egui/locales/pl-formats.json
crates/ui-egui/locales/pl.json
crates/ui-egui/locales/pt-br-formats.json
crates/ui-egui/locales/pt-br.json
crates/ui-egui/locales/ru-formats.json
crates/ui-egui/locales/ru.json
crates/ui-egui/locales/sv-formats.json
crates/ui-egui/locales/sv.json
crates/ui-egui/locales/uk-formats.json
crates/ui-egui/locales/uk.json
crates/ui-egui/locales/vi-formats.json
crates/ui-egui/locales/vi.json
crates/ui-egui/locales/zh-hans-formats.json
crates/ui-egui/locales/zh-hans.json
crates/ui-egui/locales/zh-hant-formats.json
crates/ui-egui/locales/zh-hant.json

Re-merged main. Ported: crates/catalog/src/index.rs keeps this PR's `looping` cache next to main's new `search` and `rule_text` caches; docs merged by keeping both sides. Catalog tests and catalog/engine clippy pass locally. Also folds in the fix for main's Windows-only folders test failure (the expected path now joins each component).
2026-11-26 22:29:41 +07:00
FredApps 5b40600f77 Merge main (fc10a3faa6) into partial-rollback-journal
Conflicts:
docs/whats-new.md

Re-merged main after today's merges.  Conflicts: docs/whats-new.md   Docs/locale conflicts are resolved by keeping both sides. No code change since my last approval note. Also folds in the fix for main's Windows-only failure in tests::folders::a_date_folder_inside_the_library_can_be_renamed_but_the_librarys_own_folders_cannot: the expected path now joins each component instead of lib.join("Originals/Beach/a.jpg").
2026-11-26 22:18:09 +07:00
FredApps 43f5eb93f0 Merge main (30e25557cb) into catalog-keep-before-upgrade
Conflicts:
docs/whats-new.md

Re-merged main: only docs/whats-new.md conflicted (both entries kept). Includes my 8b05bc2b CodeRabbit fixes (a landed snapshot reconciled after an error; persistence doc). Also in this merge: main's folders test a_date_folder_inside_the_library_can_be_renamed_but_the_librarys_own_folders_cannot built its expected path as lib.join("Originals/Beach/a.jpg"), which fails on Windows (mixed separators). It now joins each component, so the Windows gate passes; the test passes locally.
2026-11-26 22:09:18 +07:00
FredApps 8b05bc2b5e catalog: a snapshot that landed despite an error tells its kept files at once; persistence doc says which writes wait (CodeRabbit on #2867) 2026-11-26 21:48:28 +07:00
FredApps b6c90ef374 Merge main (4edf1ee286) into partial-rollback-journal
Conflicts:
crates/catalog/src/lib.rs
crates/catalog/src/tests.rs
crates/engine/src/rename.rs
docs/parity-checklist.md

Delta since my approval reviewed: c99c8d3161 makes Catalog::replay count a partly applied batch and go on, as Journal::open does, through one replay_op (with a regression test); 02346710d8 rewords the What's new note. Both are right. Ported in this merge: Catalog::apply keeps main's keyword_list save/restore (this PR dropped `torn`), and a failed op restores keyword_list before returning; the catalog tests are a union with main's boxed-lens test; rename.rs takes main's fs imports and MoveFs/RealFs re-export, and keeps this PR's move_all/rest_after_move_back re-export. main's persist tests build FolderMove with this PR's new `on_disk: true`. Catalog lib tests, engine rename/persist tests and clippy pass locally.
2026-11-26 21:44:38 +07:00
FredApps 4ded7fb483 Merge main (3c6a9f2c47) into pr/keyword-list-lines
Conflicts:
crates/engine/src/library.rs
docs/parity-checklist.md

Delta since approval (4069964d..225718bc: one-line keyword names, split keyword options and sidecar writes, default parent) reviewed. Conflict: engine library.rs keeps the PR's split_multiline_keywords and main's persist doc.
2026-11-26 21:06:15 +07:00
FredApps 4f6c6f68f8 Merge main (3c6a9f2c47) into looping-album-empty
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
docs/parity-checklist.md

Re-merged main after #2043 and the later sibling merges; clean apart from locale catalogs merged per key.
2026-11-26 21:01:17 +07:00
FredApps 93b47ba009 Merge main (73b2f3328a) into shared-settings
Conflicts:
crates/catalog/src/lib.rs
docs/whats-new.md

Delta since approval (418072de, 2b509136: shared equal settings on load, grid references resolved once) reviewed. Conflict: AddPhoto keeps both the PR's shared::photo and main's file index update.
2026-11-26 20:57:13 +07:00
FredApps 39fd014463 Merge main (f8aee307b2) into catalog-keep-before-upgrade
Conflicts:
docs/whats-new.md

Delta since approval (6934ade5 remove ends the log thread + test; f8e5be99 staging-file cleanup guarded) reviewed. Clean merge.
2026-11-26 20:49:41 +07:00
FredApps aba6dfdba6 Merge main (f8aee307b2) into perf-search-text
Conflicts:
crates/catalog/src/index.rs
crates/catalog/src/lib.rs
docs/whats-new.md

Delta since approval (315cd357: repair drops the text kept for photos it copied, + test) reviewed. Conflicts: catalog index.rs carries both main's contents/folders/names indexes and the PR's search/rule_text caches (fields, methods and module doc unioned); RemovePhoto updates both main's file index and the PR's text cache.
2026-11-26 20:49:29 +07:00
FredApps 47759acc22 Merge pull request #3018 from emmertex/upstream-pr/box-embedded-lens
perf(catalog): box Photo::embedded_lens (~240 MB less per 1M photos)
2026-11-26 14:41:28 +01:00
FredApps 9d37007e34 Merge main (a2a1712229) into upstream-pr/box-embedded-lens
Conflicts:
crates/ui-egui/src/panels/compare.rs
crates/ui-egui/src/panels/detail.rs

Conflict: main changed embedded_lens to Option<String>, so this PR's reads now use .as_deref() instead of .as_ref() (compare.rs, detail.rs, tests/compare.rs); otherwise main's code. Docs: both revision rows kept.
2026-11-26 19:56:35 +07:00
FredApps 017f4f8c37 Merge main (a2a1712229) into smart-duplicates-rule
Conflicts:
crates/catalog/src/index.rs
crates/catalog/src/lib.rs
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
docs/parity-checklist.md

Conflicts: crates/catalog/src/index.rs and lib.rs keep this PR's content index next to main's new folder/name indexes (both kept, each forgotten by its own ops). Locale files: key-level three-way merge, both sides' strings kept. docs/parity-checklist.md: row text word-merged, both revision rows kept, summary regenerated.
2026-11-26 19:56:24 +07:00
FredApps b0110332bc Merge main (a2a1712229) into looping-album-empty
Conflicts:
crates/catalog/src/index.rs
crates/ui-egui/locales/cs-formats.json
crates/ui-egui/locales/cs.json
crates/ui-egui/locales/de-formats.json
crates/ui-egui/locales/de.json
crates/ui-egui/locales/es-formats.json
crates/ui-egui/locales/es.json
crates/ui-egui/locales/fi-formats.json
crates/ui-egui/locales/fi.json
crates/ui-egui/locales/fr-formats.json
crates/ui-egui/locales/fr.json
crates/ui-egui/locales/id-formats.json
crates/ui-egui/locales/id.json
crates/ui-egui/locales/it-formats.json
crates/ui-egui/locales/it.json
crates/ui-egui/locales/ja-formats.json
crates/ui-egui/locales/ja.json
crates/ui-egui/locales/ka-formats.json
crates/ui-egui/locales/ka.json
crates/ui-egui/locales/pl-formats.json
crates/ui-egui/locales/pl.json
crates/ui-egui/locales/pt-br-formats.json
crates/ui-egui/locales/pt-br.json
crates/ui-egui/locales/ru-formats.json
crates/ui-egui/locales/ru.json
crates/ui-egui/locales/sv-formats.json
crates/ui-egui/locales/sv.json
crates/ui-egui/locales/uk-formats.json
crates/ui-egui/locales/uk.json
crates/ui-egui/locales/vi-formats.json
crates/ui-egui/locales/vi.json
crates/ui-egui/locales/zh-hans-formats.json
crates/ui-egui/locales/zh-hans.json
crates/ui-egui/locales/zh-hant-formats.json
crates/ui-egui/locales/zh-hant.json
docs/parity-checklist.md
docs/whats-new.md

Conflict: crates/catalog/src/index.rs gains both main's folder/name indexes and this PR's looping-albums index as struct fields. Locale files: key-level three-way merge. Docs: both revision rows kept, summary regenerated.
2026-11-26 19:56:00 +07:00
FredApps 7eecd5dea7 Merge main into cull-group-dnd (tests.rs mod list: keep both, sorted) 2026-11-26 19:17:54 +07:00
FredApps 31652a3440 Merge pull request #2757 from nledford/sidebar-batch-ops
LR-BEHAV-MULTISELECT: several sidebar albums, keywords or folders are deleted, moved or labeled as one undo step (engine)
2026-11-26 13:13:18 +01:00
FredApps fb6b97bc64 Merge branch 'main' into sidebar-batch-ops 2026-11-26 18:31:53 +07:00
FredApps 67510eb49c Merge branch 'main' into cull-group-dnd 2026-11-26 10:29:44 +01:00
FredApps ad9c7ba6d4 Merge branch 'main' into missing-photos-sweep 2026-11-26 10:14:35 +01:00
Bruno D.andClaude Opus 5.5 339b0d72e4 catalog: a camera name with no maker field keeps descriptive model words
For a photo added before the maker was kept, the maker is the camera's
first word, and every company word after it was dropped: "ACME Computer
1000" read "Acme 1000". Company words now split into legal forms (CORP.,
CO.,LTD., AG, COMPANY...) and descriptive words (IMAGING, CAMERA,
COMPUTER...): the leading company words are dropped only when they hold
a legal form ("CASIO COMPUTER CO.,LTD." still gives Casio EX-Z1050),
otherwise only the maker said again. The first word also ends at any
whitespace, not only a space ("CANON<tab>ALPHA R5" is Canon ALPHA R5).
The test covers both cases.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-24 18:43:46 -05:00
Bruno D.andClaude Opus 5.5 7071e0aead catalog: company words alone are not a camera's maker said again
With make "ACME COMPUTER", camera "ACME COMPUTER Computer 1000" read
"Acme 1000": the end of the make that the model starts with was
"COMPUTER", a company word alone, so the model's own "Computer" was
dropped as a repeated maker. An end of the make now counts only when it
holds a word that is not a company word. The test covers the case.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-24 18:08:31 -05:00
Bruno D.andClaude Opus 5.5 32a034d18f catalog: a camera's model drops only the end of its maker said again
With the maker known, the model dropped any leading word equal to any
maker word ("OM Digital Solutions Digital 1000" lost "Digital") and any
company word after a repeated maker, even one the make never had
("ACME ACME Computer 1000" lost "Computer"). It now drops the longest
leading run that repeats the end of the make (with or without its
company words: "NIKON", "ACME CAMERA SYSTEMS", "KODAK" after "EASTMAN
KODAK COMPANY"), then the make's own company words, and nothing else.
A maker taken from the camera's first word is handled as before. The
test covers each case.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-24 17:25:45 -05:00
Bruno D.andClaude Opus 5.5 1c358c74de catalog: a camera's model keeps a company word that starts it
With the maker known, the model also skipped leading company words, so
make "ACME" with camera "ACME Computer 1000" read "Acme 1000" (since
"computer" became a company word; "Camera" or "Optical" at the start of
a model were already cut the same way). The model now drops the maker
said again together with the company words right after it ("NIKON
CORPORATION NIKON CORPORATION Z 8" is Nikon Z 8), and leading company
words only when the maker was taken from the camera's first word
("CASIO COMPUTER CO.,LTD. EX-Z1050" with no maker is Casio EX-Z1050).
The test covers both new cases.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-24 16:45:06 -05:00
Bruno D.andClaude Opus 5.5 8dc6c67808 ui-egui, catalog: a camera name drops "Computer" from the maker (Casio)
Casio writes its maker as "CASIO COMPUTER CO.,LTD.", so the Edit panel's
camera line read "Casio Computer EX-Z1050", or "Casio COMPUTER CO.,LTD.
EX-Z1050" for a photo added before the maker field was kept. "computer"
is now one of the company words, and the camera-name test covers Casio
with the maker known and empty: both give "Casio EX-Z1050".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-24 15:08:07 -05:00
Bruno D.andClaude Opus 5.5 912bf32be6 ui-egui, catalog: name the camera above the Edit header
The Edit panel names the photo's camera, maker and model, on a line
between the histogram and the Edit header ("Olympus E-M5MarkII",
"Nikon Z 8").

Meta::camera_name tidies the Exif strings for display: the maker
without its company words, written as a name rather than in capitals
(an initialism such as DJI stays) and not said again before the model;
the model as the camera writes it. It also works for photos added
before Meta::make was kept.

The line is a label, so screen readers read it, in text_label (text_dim
is under 4.5:1 in Charcoal and Silver); a long name is cut short and
shown whole on hover. It keeps its height for a photo that names no
camera, so the controls below don't move.

Checks: the catalog camera_name test and the ui-egui edit_layout tests
pass, with fmt and clippy on catalog and ui-egui. cargo xtask ci
--quick was stopped by request during the ui-egui tests; fmt, workspace
clippy and every test run until then passed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-23 02:56:31 -05:00
FredApps bd8aba38e1 Merge branch 'main' into lr-lib-delete-folder-name-index 2026-11-21 17:04:04 +07:00
FredApps 041c8db2f7 Merge pull request #3482 from dotCooCoo/fix/keyword-names-no-trailing-asterisk
LRC-LIB-KEYWORDS: a new keyword name cannot end in an asterisk
2026-11-20 21:04:02 +07:00
FredApps d501e3c5d4 Merge pull request #3469 from dotCooCoo/feat/keywording-enter-keywords
LRC-LIB-KEYWORDS: the Keywording panel's Enter Keywords view edits keywords as text
2026-11-20 21:03:57 +07:00
Nathaniel Ledford 5811600f17 Merge origin/main (78b575658a) into sidebar-batch-ops
origin/main at 78b575658a
2026-11-19 12:22:48 -05:00
Nathaniel Ledford 8f60f77ec1 Merge origin/main (78b575658a) into missing-photos-sweep
origin/main at 78b575658a
2026-11-19 11:46:27 -05:00
Nathaniel LedfordandClaude 6934ade56c catalog: removing the log's file ends its writer thread
`FsStore::remove` kept the log thread after unlinking `catalog.log`, so the next append
found a file of another length and the thread held its records back. It now writes what
the thread holds first, and ends the thread once the file is gone (the next append
starts one), as the same method does on the segments branch.

Co-Authored-By: Claude <[email protected]>
2026-11-19 11:20:28 -05:00
Nathaniel LedfordandClaude f8e5be997b catalog: a failed rename of a streamed write removes its staging file only while it is still ours
Co-Authored-By: Claude <[email protected]>
2026-11-19 10:44:53 -05:00
Nathaniel LedfordandClaude c99c8d3161 catalog: replaying a saved log goes on after a batch that was only partly applied
`Journal::open` counted a logged `PartlyApplied` batch as replayed, but
`Catalog::replay` still stopped at the first one. Both now go through
`Catalog::replay_op`, the one place that says a logged batch that was only partly
taken back is the log being replayed, not damage. The What's new note also says
Undo finishes the rollback once the file error that stopped it is gone.

Co-Authored-By: Claude <[email protected]>
2026-11-19 10:43:53 -05:00
Nathaniel LedfordandClaude 315cd357a9 catalog: repair drops the derived lookups before it copies photos
`repair` copies every photo others hold (`Arc::make_mut`) without reporting a
change on a sound catalog, so the kept search and Text-rule texts stayed keyed
to the address a retained photo still has, and read that photo's old text after
it was edited on its own. Drop the lookups up front (they are built again when
asked), which also covers any copy a later change to `repair` adds.

Co-Authored-By: Claude <[email protected]>
2026-11-19 10:36:31 -05:00
Nathaniel Ledford a3cac015c1 Merge origin/main (78b575658a) into catalog-keep-before-upgrade
origin/main at 78b575658a
2026-11-19 10:34:40 -05:00
Nathaniel Ledford 34db1e1448 Merge origin/main (78b575658a) into looping-album-empty
origin/main at 78b575658a
2026-11-19 10:21:00 -05:00