Skip to content

Upstream merge: #1924, #1545, #758 + 0.9.4 changelog - #304

Merged
emmertex merged 7 commits into
mainfrom
port/upstream-1924-stem-sidecar
Oct 19, 2026
Merged

emmertex merged 7 commits into
mainfrom
port/upstream-1924-stem-sidecar

Conversation

@emmertex

@emmertex emmertex commented Oct 19, 2026 •

Copy link
Copy Markdown
Owner

Upstream merge: ports open storytold/lightcraft PRs that fix real problems and aren't in the fork yet.

Ported

LOOK_VERSION 13 → 15, RENDER_CACHE_VERSION 66 → 68. Conflicts resolved against the fork's lcc_* crate names and its starting-colour/DCP changes.

Not ported

Also

  • 0.9.4 changelog rewrite (highlights, upstream PR markers) with entries for the ports.
  • Fixes the brand-check CI failure (product name in test comments).

Tests

cargo xtask ci --fast passes (fmt, brand, clippy, parity, wasm…); cargo test -p lcc-engine: 1499 passed, 0 failed.

🤖 Generated with Claude Code

t3z4 and others added 2 commits October 19, 2026 17:08
With stem naming, `IMG_0001.xmp` is the sidecar of every file of that stem and, in a
folder Lightroom has worked on, it is the raw's. On import the packet was looked up
with the library naming alone, so a TIFF or JPEG arriving beside a raw of the same
name read the raw's packet and took its rating, label, keywords and `crs:` develop
settings (the case radialmonster reported in #92; the read side of a catalogued photo
is #1523).

`ImportStems` ranks the files an import is adding as if they were catalogued already,
in the order `StemOwners` uses for writing: the library's files and the arriving ones
together, a raw first, then the file name in lower case. A file that does not own the
stem sidecar reads only its own `<file>.xmp`, never the sibling's packet. A file that
is not catalogued yet has no id, and the id it draws when the import commits is above
every id in the library, so it loses a tie against a catalogued file; between
arriving files the order they arrive in stands for it.

Folder synchronize and the Lightroom catalog import go through the same function, so
a file arriving there is ranked the same way.

Ported from upstream storytold/lightcraft#1924.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@emmertex
emmertex force-pushed the port/upstream-1924-stem-sidecar branch from 3f76ab5 to 5db1744 Compare October 19, 2026 06:08
emmertex and others added 5 commits October 19, 2026 17:19
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ported from upstream storytold/lightcraft#1545. LOOK_VERSION 14, RENDER_CACHE_VERSION 67
(one past the fork's). The fork's binner already applies lens opcodes, so the proxy test checks
a single vignetting gain rather than the unbinned fallback.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…edded JPEG (HDR-PQ shots)

A Canon HDR-PQ CR3 keeps only an HEVC preview, so no JPEG look is fitted and it rendered about
13 L* darker than the camera look. It now starts from the median tone and chroma curve of 50
JPEG-fitted Canon RF-mount looks; the source report names it (tone: canonMedian).

Ported from upstream storytold/lightcraft#758. LOOK_VERSION 15, RENDER_CACHE_VERSION 68.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@emmertex emmertex changed the title Port upstream #1924 (shared stem sidecar on import) + 0.9.4 changelog Upstream merge: #1924, #1545, #758 + 0.9.4 changelog Oct 19, 2026
@emmertex
emmertex merged commit 5053d7b into main Oct 19, 2026
6 checks passed
@emmertex
emmertex deleted the port/upstream-1924-stem-sidecar branch October 19, 2026 10:29
@emmertex emmertex mentioned this pull request Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants