Repository navigation
Show RAW starting-colour provenance in Profile panels - #1332
QuirkyTurtle94 wants to merge 3 commits into
Conversation
Locate the Unix test child through PATH, preserve physical-file fault injection across case aliases, handle APFS filename restrictions, and account for the Apple Photos export row. Reuse the test-only fixes from local commit 3fd5d82. Co-authored-by: Codex <noreply@openai.com>
…anels Carry accepted colour and tone provenance from decoding to the selected photo in native and browser views. Distinguish validated local and built-in profiles, per-photo and partial fits, file matrices, spectral colour, and neutral fallback without changing pixels or cache versions. Co-authored-by: Codex <noreply@openai.com>
s17sh70x2jfl031ag
left a comment
There was a problem hiding this comment.
These two pt-BR lines were still in English, so here are translations (native speaker). The same two lines are in #1342.
Co-authored-by: null 00000111 <287216888+s17sh70x2jfl031ag@users.noreply.github.com>
wanikhawar
left a comment
There was a problem hiding this comment.
This edits translation files in crates/ui-egui/locales. Translations go to storytold/craft-i18n, and feature PRs add English only (rule 16). Please move the locale edits there and keep English only here. The file list also includes unrelated files (gpx.rs, xmp.rs, sidecar.rs and others), which suggests a stale base: please rebase so the PR carries only the provenance readout. It conflicts with main and has no CI results.
|
Please drop the locale JSON edits (English only here, rule 16) and move the macOS test-portability fixes into their own PR (rule 8). This overlaps #1342, so please agree the order with it. |
When a RAW starts dark or flat, the Profile panel now reports the starting-colour path actually accepted by the decoder: the file's matrices, a built-in or local camera profile, its own camera-JPEG fit (including partial fits), spectral sensitivities, or neutral fallback. Black-and-white JPEG tone and an applied DRO tone change are reported separately.
The readout appears below the creative profile in both Edit and the profile browser. It follows the selected original, shows an unavailable state before decoding, and carries provenance across browser workers with bounded caching and source-identity checks. Profile presence alone is never presented as acceptance. Pixel calculations and render-cache versions are unchanged.
Validation:
LIGHTCRAFT_PROFILEdiagnostics.cargo xtask ci: all eight gates passed (fmt, clippy, optional HEIF, workspace tests, parity, layers, assets, WASM). Native checks used Homebrew Rust 1.97.1; WASM checks used the installed rustup 1.97.1 toolchain, since Homebrew lacks that target.The first commit contains test-only macOS portability fixes: locate
truethrough PATH, handle APFS filename/case behavior, and account for the macOS-only export row. These were needed to run the unchanged test suite on macOS; the feature is isolated in the second commit.Clean-room: no code, profiles, matrices, or camera data from other RAW processors. No photos or generated media are included.
Fixes #1310. The calibration wizard and selectable named camera profiles in #1315 remain a separate contribution.