Repository navigation
Upstream review r4: 10 ports from open PRs #3038–#3118 - #635
Merged
Merged
Conversation
Ported from upstream #3054 (crates/meta GPS bound and its test only; the PR's chunk-walk, export, locale and UI parts are not taken). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ported from upstream #3038. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ad of hanging Ported from storytold/lightcraft#3117 (ab46d2bf8, fa1657436, 79ed3d03b), applied by hand: the time limit's variable goes through lcc_brand (<PREFIX>_GPU_INIT_TIMEOUT), the fork's brand-templated messages are kept, and the video LUT test device is created under the same limit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Canon CR3 ColorData states a white level below where the sensor really clips (EOS RP 14558 vs 16383; R100 at ISO 640 10439 vs ~13300), so highlights above it were reconstructed as clipped. A full CR3 decode now raises the white level to the data's pile-up above the stated level (`RawImage::extend_white_to_saturation`), adds the change to the baseline exposure so everything below renders as before, and records it as `ColorData::white_extension_ev` so the camera-look fit still treats what the file called clipped as clipped. Header probes report the stated colour. Only CR3 calls the raise; other formats get white_extension_ev 0. Chromaforge adaptations: engine hunks ported by hand (camera_preview moved; RENDER_CACHE_VERSION 74 -> 75); vendor `sample_row_step` refactor keeps the fork's white_from_data plateau behaviour; lcc-camdb's `Entry::apply` undoes the extension when an entry overrides the white level; docs notes added to the fork's checklist row / raw-parity (no whats-new.md edit; docs/whats-new/2026-10-27-cr3-white-level.md). Ported from storytold/lightcraft#3097 (head e32691a5ca), via gh pr diff. Sources: own design (upstream). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ported from storytold/lightcraft#3118 (77a6c3dba, d7df83f5b, 3bbb23504, ce61a6067, f4ad0f9cf, bd0b1fb4a), applied by hand: crate names mapped to lcc-*, the fork's sysmem docs (two FFI calls, fsync) kept, new limits module is safe std-only code (#![forbid(unsafe_code)]) with its Linux parts cfg-gated, the fork README kept as is. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…der tree Ported from upstream #3045. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ported from upstream #3098. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…se notice
Ported from upstream #3076. Adapted: the fork's idle notice text ("idle too
long") is the one matched; the notice is marked only for authenticated idle
timeouts (not the auth deadline); upstream's spawn_connection tests do not
apply, the fork's idle test checks the marker instead.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… WebP exports An export to PNG, TIFF or WebP (not HDR) asks for the source's colour without the white to_working flattens transparency onto (lcc_codecs::unflatten) and carries the alpha plane through the same geometry (lcc_pipeline::render_alpha, Frame::sample_alpha). TIFF writes associated alpha; associated-alpha TIFFs are un-premultiplied in their stored values on decode. JPEG, PSD, AVIF, JPEG XL and HDR exports, previews and thumbnails render as before (request.alpha stays false). Adapted: fork's Rendered (warnings, coverage), SourceInfo (filters, colorimetric) and RenderRequest (downscale) fields kept; export_job_with_alpha keeps the fork's check_output_size, Sharp downscale and cache-key salt. Parity row only (no Last updated / revision line). CLI test moved to apps/cli/tests/cli.rs. (cherry picked from commit 50412e6c6e9b3504ba46740446d1faa7e57a7117) (cherry picked from commit f3f393765ad4537ec47f7e087a3743eea6ea9348) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…wn shape, not 640 x 640 Adapted: parity row only (no Last updated line); What's New entry in docs/whats-new/. (cherry picked from commit d4913b2042) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # apps/cli/tests/cli.rs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upstream review r4 (2026-10-27): open upstream PRs #2930–#3119 and upstream main up to
c9860ea7a. Decisions for every PR not yet recorded are indocs/upstream-pr-reviews/open-2930-up.md(r4 section).Ported (one commit each)
RENDER_CACHE_VERSION74 → 75, so thumbnails rebuild. Fork-only addition: a camdb white-level override undoes the raise.<PREFIX>_GPU_INIT_TIMEOUT).crates/sysmem).--connectresends a command that crossed the idle-close notice.CFBundleLocalizationsfor the fork's 18 locales.Already on main (skipped): #3024, #3013, #3020, #2986, #2959, #2954. Upstream main after
c7961df10: file-layout refactors (skipped) and the docking follow-ups (still deferred).Checks
cargo xtask ci --fast, targeted tests of every touched crate (meta, mcp, cli, app, gpu, sysmem, engine, raw, merge, camdb, codecs, faces, ui-egui, xtask: 5,532 passed, 0 failed) andcargo xtask sil: all green, run once after all ports were merged.🤖 Generated with Claude Code