Repository navigation
Upstream review r6: raw, DNG, fetch and catalog fixes - #680
Merged
Merged
Conversation
…9e74) Sources: upstream fix, hand-ported (opcode tests live in opcodes.rs here). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Found while testing crates/fetch/src/http.rs:598 (get) Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit 04a6224)
Found while testing crates/fetch/src/lib.rs:465 (parse_content_range) Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com> Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> (cherry picked from commit 73f0d25)
Found while testing crates/fetch/src/http.rs:140 (Url::parse) Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com> Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> (cherry picked from commit 1384930)
Found while testing crates/meta/src/datetime.rs:77 Co-Authored-By: GPT-6-Luna <noreply@openai.com> (cherry picked from commit e981b25)
Found while testing crates/geocode/src/unzip.rs:64 Co-Authored-By: GPT-6-Luna <noreply@openai.com> (cherry picked from commit 7ab2575)
Float DNGs (HDR merge, Render to DNG) wrote WhiteLevel as RATIONAL 1/1, which the DNG spec doesn't allow (SHORT or LONG only); libtiff warns "Incompatible type for WhiteLevel" and ignores the tag. WhiteLevel is now always LONG. Float data whose white level isn't a whole number (a float DNG from another writer, re-saved) is rescaled to white = 1 first, samples, black levels and black deltas together, as the spec expects float data to be stored. Fixes #3191 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit cb893dd334f2f3ffaceef0ef958613436493fae6)
Fixes #2997 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit f2e0964ab0aa49190f413c97aa591a7047a06f6e)
(cherry picked from commit 292f0d82ab66b6332dffbb24ca4ed1a3ffd5fada)
…e_file) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Reject excessive slice counts instead of silently changing sensor dimensions. Check slice-width arithmetic and bound used widths before converting to usize, including on wasm32. Add synthetic header/full rejection regressions and exact pixel coverage at the existing slice-count boundary. Update the parity and gap notes without changing coverage scores. AI assistance: OpenAI Codex for @schattie93. (cherry picked from commit 808cf4141dc88cb906c8e0fd08bad1fac1ac44dc)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 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 r6 (2026-10-29): upstream main
07bc2008d..77c0a6adf(57 commits) and PRs 3192-3306 (87 not yet recorded). Ported by hand, no merge. Not built or tested locally; CI verifies.Taken
read_no_follow, test brand-neutralReview criteria: no new dependencies, no unsafe, no network/process/build changes; brand check passes (xtask run locally); release notes added (
docs/whats-new/anddocs/changelog/unreleased/); review records andupstream-reviewed.txtadvanced.Skipped (all recorded in
docs/upstream-pr-reviews/)Unsure: #3304/#3281 (export quality) are worth a look later with a benchmark.
🤖 Generated with Claude Code