Skip to content

chore: repoint j2k pin from fork to upstream main (all fixes merged) - #78

Merged
CarlAllenn merged 5 commits into
mainfrom
repoint-j2k-upstream-main
Aug 4, 2026
Merged

chore: repoint j2k pin from fork to upstream main (all fixes merged)#78
CarlAllenn merged 5 commits into
mainfrom
repoint-j2k-upstream-main

Conversation

@CarlAllenn

Copy link
Copy Markdown
Member

Summary

All three fixes our fork pin carried are now merged upstream — frames-sg/j2k#63 (region IDWT), frames-sg/j2k#65 (tile skip), and frames-sg/j2k#70, the maintainer's implementation of the deep-region API proposed in frames-sg/j2k#66. No crates.io release carries them yet (v0.8.0 predates every merge), so the [patch.crates-io] section stays but now points at upstream main (rev 85e7e29) instead of our fork. The fork branches are superseded.

Changes

  • Cargo.toml: pin repointed CarlAllenn/j2kframes-sg/j2k, comment updated to the release-gate framing (see the amendment on Consume the three upstream j2k fixes; drop the temporary [patch.crates-io] #21)
  • crates/core/Cargo.toml: j2k = "0.7""0.8" (upstream main is 0.8.0-based)
  • deny.toml: allow-git entry follows the pin
  • jp2.rs: upstream kept our proposed decode_region_scaled_pow2_into signature verbatim, but kept the covering-rect helper private; we now compute it locally (scaled_covering_pow2, same documented floor-origin/ceil-far-edge contract)

Validation

  • task ci green
  • task spike2 differential goldens 6/6: lossless bit-exact vs OpenJPEG, lossy mean |Δ| 0.02 / max 2, HTJ2K bit-exact, quarter-scale goldens exact, perf gate passes
  • codec_masters 9/9 including partial-grid exact pixels and the reduced-resolution ladder test

Unpin gate (#21) is now solely the next upstream release.

🤖 Generated with Claude Code

CarlAllenn and others added 3 commits August 4, 2026 04:27
All three fixes the fork pin carried are now merged upstream:
frames-sg/j2k#63 (region IDWT), frames-sg/j2k#65 (tile skip), and
frames-sg/j2k#70 (deep region reduction, the maintainer's implementation
of the API proposed in frames-sg/j2k#66). No crates.io release carries
them yet — v0.8.0 predates the merges — so the [patch.crates-io]
section stays, now pointing at upstream rev 85e7e29.

Call-site changes: upstream kept the proposed public signature
decode_region_scaled_pow2_into unchanged, but did not expose the fork's
Rect::scaled_covering_denominator helper; jp2.rs now computes the
covering rect locally. j2k version requirement bumped 0.7 -> 0.8.

Validated: task ci green; spike2 differential goldens 6/6 (lossless
bit-exact vs OpenJPEG, lossy within tolerance, HTJ2K bit-exact);
codec_masters 9/9.

Refs #21.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The dependency-review action fetches license data from api.deps.dev and
OpenSSF Scorecard data from api.securityscorecards.dev; both were
blocked by the egress allowlist, failing the job with a bare
'fetch failed' (observed in the harden-runner agent log as
'domain not allowed'). Allowlist derived from the audit run per
issue #6 canon.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@CarlAllenn CarlAllenn closed this Aug 4, 2026
@CarlAllenn CarlAllenn reopened this Aug 4, 2026
@CarlAllenn
CarlAllenn merged commit 7324292 into main Aug 4, 2026
12 checks passed
@CarlAllenn
CarlAllenn deleted the repoint-j2k-upstream-main branch August 4, 2026 04:12
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.

1 participant