Commit Graph
3074 Commits
Author SHA1 Message Date
FredApps b99a64fc5b pcm_export: refuse zero channels, zero sample rate and partial frames 2026-11-16 03:01:11 +01:00
FredApps 9de25ee47a Merge remote-tracking branch 'origin/main' into w1621 2026-11-16 02:58:38 +01:00
FredApps f28df9c471 format: address the CodeRabbit review
- build: fail on unreadable folders/entries (only a missing pending/ is empty);
  detect a step by its declaration, not a substring
- container: commit part state only after the write; honour cancellation
  before each part and between pieces of a long one; count written parts in
  room(); bound the initial read to the approved length; enforce per-part
  limits when reading; check both thumbnail part limits before writing
- lib: crate-root deny lints; parse the legacy prefix on its own
- newer: retained container.json needs a container; index list anchors;
  report a retained field an edit replaced
2026-11-16 02:57:10 +01:00
FredApps 9baecfa4a1 Merge origin/main; route frames zune-jpeg may panic on to craft-jpeg where panics abort
On panic = "abort" targets (wasm32) the catch_unwind fallback can't run, so
frames whose first component is sampled below the frame's largest factors
go to craft-jpeg before zune-jpeg is called.
2026-11-16 02:54:50 +01:00
FredApps 462fe40be1 Merge remote-tracking branch 'origin/main' into w1627 2026-11-16 02:54:17 +01:00
Dylan M. Taylor 5ac7c9664c Merge pull request #1778 from storytold/fix/rav1e-threading
Forward opt-in threading to rav1e encoder dependencies
2026-11-15 20:53:17 -05:00
FredApps c28356d400 Merge pull request #1660 from storytold/codex/legacy-exif-orientation
Share legacy EXIF summary and preserve PNG orientation
2026-11-16 02:48:31 +01:00
FredApps a9a9c22994 Merge remote-tracking branch 'origin/main' into w1732
# Conflicts:
#	.github/workflows/sonarcloud.yml
2026-11-16 02:42:43 +01:00
FredApps 8625f2a31a Merge pull request #1673 from storytold/codex/sunraster-ci-coverage
Include Sun Raster in coverage build
2026-11-16 02:42:30 +01:00
FredApps 831c080ac5 dpx: write the reservation helper and its test independently of tga's 2026-11-16 02:42:09 +01:00
FredApps 5b5f42961c Merge pull request #1672 from storytold/codex/sunraster-main-reconcile
craft-image-codecs: add opt-in Sun Raster reader and writer
2026-11-16 02:41:41 +01:00
FredApps 4a70763629 fix(image-codecs): refuse JPEG inks of frames too large for their scan data
zune-jpeg allocates its whole output before reading a scan, so
decode_jpeg_inks now applies decode's scan-data guard (one byte for every
2048 pixels, counted on scan data, not APP padding) first. The comparison
test's noise is computed in u64, so it doesn't overflow on 32-bit targets.
2026-11-16 02:39:34 +01:00
FredApps 832883b5b4 Merge pull request #1755 from storytold/image-codecs/probe-size-png-jpeg-tiff
image-codecs: probe PNG, JPEG and TIFF sizes from the header
2026-11-16 02:38:50 +01:00
FredApps 815e30d5b6 Merge remote-tracking branch 'origin/main' into w1732
# Conflicts:
#	.github/workflows/sonarcloud.yml
2026-11-16 02:33:07 +01:00
FredApps eef0d8ae36 Merge pull request #1605 from storytold/extract/shx-compiler
shx: extract CADCraft SHP to SHX compiler
2026-11-16 02:32:29 +01:00
FredApps 0c15f7c749 Merge pull request #1723 from storytold/codex/shared-jsonrpc-io
Share asynchronous JSON-RPC line adapter
2026-11-16 02:32:15 +01:00
FredApps 7d1d64fc46 Merge remote-tracking branch 'origin/main' into w1687
# Conflicts:
#	crates/font-catalog/src/tests.rs
2026-11-16 02:31:10 +01:00
FredApps 5e27cfc222 Merge pull request #1700 from storytold/codex/shared-font-bytes
Share font face data ownership
2026-11-16 02:19:26 +01:00
FredApps 6253fff31f Merge pull request #1596 from storytold/extract/tga-metadata-bounds
tga: reuse FilmCraft metadata boundaries before decoder cutover
2026-11-16 02:19:13 +01:00
FredApps 95aba513e7 tga, dpx: test the RGBA8 encoders' allocation-failure path
Follow-up to #1631 (CodeRabbit): the fallible output reservation moves into a
small helper whose OutOfMemory mapping is covered by a test.
2026-11-16 02:17:34 +01:00
FredApps 6ec4c31355 mesh: FBX material IDs per corner/control point, texture candidate order
Addresses CodeRabbit on #1777: ByPolygonVertex/ByControlPoint material IDs use the
polygon's first corner instead of the polygon number; an earlier texture candidate
is tried before a later cached one; regression test for strict colours reading the
validated layer.
2026-11-16 02:16:29 +01:00
FredApps d4f5f1e0c4 Merge remote-tracking branch 'origin/main' into w1777 2026-11-16 02:14:58 +01:00
FredApps c3ad96bfd8 video: honour QuickTime RGB row padding; require BGRX masks for BI_BITFIELDS
Addresses the CodeRabbit review on #1692: odd-width raw RGB rows carry a pad byte,
and BI_BITFIELDS is only BGRX with the matching masks (new from_avi_bitfields).
2026-11-16 02:14:30 +01:00
FredApps eb5eff868a Merge remote-tracking branch 'origin/main' into w1692 2026-11-16 02:13:24 +01:00
FredApps cb504733bf Merge pull request #1635 from storytold/codex/shared-shaped-run
Share contextual directional text shaping
2026-11-16 02:13:00 +01:00
FredApps 7f30d66469 Merge pull request #1773 from storytold/extract/light-icc-normalize
cms: share bounded ICC embedding normalization
2026-11-16 02:12:34 +01:00
FredApps d4009b4c95 Merge pull request #1631 from storytold/codex/tga-dpx-rgba-writers
tga dpx: share uncompressed RGBA8 export
2026-11-16 02:12:20 +01:00
FredApps 9a6d894200 Add craft-gridcraft-format: GridCraft's native JSON workbook (#1749)
GridCraft's native workbook format, moved from storytold/gridcraft at
1d0b311b: the `.json`/`.scjson` extensions (crates/engine/src/io.rs), the
reader and its error text (io.rs), and the pretty writer with newer macros kept
unread and appended to `macros` as the file held them
(crates/engine/src/macros/mod.rs json_bytes).

The Workbook model, the index rebuilds after a read, and macro reading stay in
GridCraft. The consumer's golden test shows saved bytes are unchanged.

Part of #778.
2026-11-16 02:03:41 +01:00
FredApps 58964adec1 Merge pull request #1726 from storytold/extract/sony-lut-readers
cms: extract SPI3D and SPIMTX readers from EffectCraft
2026-11-16 01:59:17 +01:00
FredApps 58d6844dad raw: carry the linearization table through DngImage views
Main's writer (#1745) reads linearized/linearization_table from the image;
the borrowed view needs the same fields so the merge compiles.
2026-11-16 01:58:21 +01:00
FredApps c18762fb57 Merge remote-tracking branch 'origin/main' into t1770 2026-11-16 01:56:53 +01:00
FredApps 5f4e05d951 audio: rustfmt after main merge 2026-11-16 01:56:22 +01:00
FredApps 22ead09553 Merge remote-tracking branch 'origin/main' into w1621
# Conflicts:
#	crates/audio/src/lib.rs
2026-11-16 01:48:39 +01:00
Dylan M. Taylor 2d271b95bd raw: expose opcode encoding as a fallible API without panics 2026-11-15 19:45:27 -05:00
Dylan M. Taylor cbc6172375 raw: reject unrepresentable opcode envelope lengths before encoding 2026-11-15 19:44:12 -05:00
FredApps 7f78225721 Merge pull request #1614 from storytold/codex/shared-pcm-essence
audio: share compatible PCM essence wrappers
2026-11-16 01:43:05 +01:00
Dylan M. Taylor c48cf22a03 Adapt attributed FilmCraft opcode envelopes to shared bounded API
Reuse vangel76 source from filmcraft commit 7e6f075ef7d0e9d2517628a7f48f648b5aff2f1b. Keep shared extraction code unchanged while retaining corrected parent provenance.
2026-11-15 19:41:21 -05:00
vangel76andClaude Opus 5.5 c31578e1ff #1065: DNG opcode lists (OpcodeList1/2/3)
Problem: DNG opcode lists were ignored, so lens shading gain maps
(phones and many cameras), bad pixel maps, vignette and distortion
corrections and trims that a file asks for were silently left out,
and an opcode a reader must apply could not be refused.

Fix (DNG 1.7.1.0 chapter 7): a big-endian opcode list parser (at most
256 opcodes, every count checked against the parameter bytes before
allocating) and the opcodes WarpRectilinear, WarpFisheye,
WarpRectilinear2 (with the skip rule), FixVignetteRadial,
FixBadPixelsConstant / List, TrimBounds, MapTable, MapPolynomial,
GainMap, DeltaPerRow / Column and ScalePerRow / Column. OpcodeList1 runs
on the stored samples (0-65535), OpcodeList2 on the linear values
before white balance (the fused normalise splits only then),
OpcodeList3 on the demosaiced camera values; values are clipped after
each opcode. Unknown opcodes or ones newer than 1.7.1.0 are skipped
when optional and an error naming them when mandatory; preview-only
opcodes are skipped on the reduced-resolution path, and a mandatory
OpcodeList3 keeps full resolution. Interpretations where the spec
leaves room are recorded in the README. Files without opcode lists
develop exactly as before.

Tests: unit tests per opcode with known results (tables, polynomials,
deltas, scales, gain map interpolation and edge replication, vignette,
warps reproducing a ramp, fisheye, the skip rule, bad pixels, trim,
hostile parameters) and whole-file tests of each list's stage, the
optional flag, the preview path, and 3000 mutations under catch_unwind.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 19:41:21 -05:00
FredApps 47ce856487 Merge pull request #1669 from storytold/codex/otio-bounded-report
Support bounded OTIO diagnostics
2026-11-16 01:37:33 +01:00
FredApps fc1801a3aa Merge remote-tracking branch 'origin/main' into image-codecs/jpeg-zune-panic 2026-11-16 01:33:19 +01:00
FredApps c6f155bb83 Merge pull request #1772 from storytold/stream-codecs/ccitt-raw-literal-alignment
stream-codecs: decode_ccitt_raw reads rows on bytes as its parameters say
2026-11-16 01:32:56 +01:00
Dylan M. Taylor d99d0d3f9d Merge main preserving AVIF threading and SGI features 2026-11-15 19:32:43 -05:00
FredApps 00dbe7449a raw: initialize linearization_table in the dngwrite test image 2026-11-15 19:31:39 -05:00
FredApps 41ca1712bf Merge remote-tracking branch 'origin/codex/sunraster-main-reconcile' into w1673
# Conflicts:
#	.github/workflows/sonarcloud.yml
2026-11-16 01:31:27 +01:00
FredApps 91a03d4564 Merge pull request #1712 from storytold/codex/fbx-layer-selection
Select FBX layer zero and require indexed data
2026-11-16 01:30:36 +01:00
FredApps 1a83fd70a3 Merge pull request #1761 from storytold/extract/dcp-wire
craft-raw: extract DCP camera-profile reader and writer
2026-11-16 01:30:25 +01:00
FredApps cbf14205dc raw: initialize linearization_table in the dngwrite test image
(cherry picked from commit 920c745f42)
2026-11-15 19:27:39 -05:00
FredApps 12fdc6571f Merge remote-tracking branch 'origin/main' into w1672 2026-11-16 01:27:27 +01:00
FredApps 3bb4dffea3 Merge pull request #1671 from storytold/codex/sgi-ci-coverage
CI: measure optional SGI codec coverage
2026-11-16 01:27:16 +01:00
FredApps 1b71cd1c18 Merge pull request #1667 from storytold/codex/sgi-main-reconcile
Reconcile SGI codec with merged JPEG-LS support
2026-11-16 01:26:24 +01:00