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).
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").
Re-merged main after today's merges. Conflicts: Cargo.lock Ported in this merge: Cargo.lock conflicted only because this PR adds jiff; the lock is main's with just jiff 0.2.46 and its jiff-core/jiff-static/jiff-tzdb-platform entries added (53 lines, no other version changes). Engine clippy (all targets, -D warnings) passes locally. 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").
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.
Conflicts:
crates/engine/src/import/job.rs
Ported in this merge: in import/job.rs main added the read_duplicates option, so this PR's skip_sidecar keeps main's `&& !opts.read_duplicates` and both the embedded and external sidecar reads use it; the comment keeps this PR's wording (a file's embedded XMP, a skipped duplicate). Engine import tests pass locally.
Conflicts:
Cargo.lock
Ported in this merge: Cargo.lock conflicted only because this PR adds jiff; the lock is main's with just jiff 0.2.46 and its jiff-core/jiff-static/jiff-tzdb-platform entries added (53 lines, no other version changes). Engine clippy (all targets, -D warnings) passes locally.
The test registered a photo whose file didn't exist and never checked the
relink. It now writes the file, checks `relinked`, the photo's catalog path
and the file after the rename, and both again after the one undo step
(CodeRabbit).
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.
Conflicts:
crates/engine/src/cmd/previews.rs
Conflict: the help string both sides edited is word-merged, keeping this PR's wording and main's addition. Docs: both revision rows kept, summary regenerated.
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.
Conflicts:
crates/engine/src/lib.rs
crates/engine/src/lightroom_catalog.rs
docs/parity-checklist.md
Conflicts: main moved the engine's test modules under crates/engine/src/tests/ and lightroom_catalog's tests to lightroom_catalog/tests.rs. Ported this PR's tests the same way: tests_lightroom_history.rs is now tests/lightroom_history.rs (registered in tests.rs), and its three new lightroom_catalog tests are in lightroom_catalog/tests.rs, unchanged. docs/parity-checklist.md: main's header, both revision rows. Not built locally (box overloaded); hosted CI is the check.
Conflicts:
crates/ui-egui/src/panels/detail/retouch.rs
docs/parity-checklist.md
Conflicts: crates/ui-egui/src/panels/detail/retouch.rs (main added spot_brush and the brush.is_some() guard; kept it beside this PR's SpotBodies/spot_under and the primary-button release), docs/parity-checklist.md (both revision rows kept). Not built locally (box overloaded); hosted CI is the check.
- folder.rename/folder.move: a folder inside the library reached through a
link to the library (or another spelling of its path) moved on disk while
its photos, stored under the library's own path, kept pointing at the old
folder. It is now refused with the path to use, and a regression test
covers the linked parent (CodeRabbit).
- dialogs: the TextPrompt pattern added to the MovePhotos error arm could
never match, since the earlier TextPrompt arm from 17a9e97a (a refused
one-line prompt stays open with its text so the name can be fixed) wins.
Drop it so the code says what runs (CodeRabbit).
Opening smart-preview refresh now carries the photo's Remove Hot Pixels
setting. A cached proxy source only stands in while the original is
offline, so Build Smart Previews can rebuild a stale proxy once the
drive is back. Unbinned denoised twins use value-based highlight
reconstruction, because the ordinary demosaic's sensor mask does not
describe the product. The crates/raw docs no longer call the balanced
path "full-size exports".
Co-authored-by: Alex Chambers <[email protected]>
Switch unbinned RAW development onto craft-develop's develop_balanced_masked
(craft-libs#3042, already pinned by #4670). Bump RENDER_CACHE_VERSION to 84
and stamp smart previews with SOURCE_VERSION so raw proxies refresh once.
Fixes#1328.
Part of storytold/craft-libs#778.
Co-authored-by: Alex Chambers <[email protected]>
Co-authored-by: Dylan M. Taylor <[email protected]>
Main split files.rs, import.rs and headless.rs into modules. The
local-time changes now live in import/commit.rs, files/fs.rs,
files/tests.rs and headless/tests.rs. The new
write_png_with_metadata helper also pins its file date with
local_instant.
Co-Authored-By: Claude Opus 5.5 <[email protected]>