FredApps
712feab586
craft-zip: the lenient reader as craft_zip::lenient instead of a second ZIP crate
...
craft-unzip's raw-bytes reader moves unchanged into craft-zip as the
`lenient` module, behind the `lenient` feature (DEFLATE) and
`lenient-bzip2`, `lenient-lzma` and `lenient-zstd` for the other
methods, with `serde` for the listing types. craft-zip's default build
is unchanged; the module doesn't use the `zip` crate. Its unit and
integration tests move with it and run in craft-zip's test build.
2026-11-16 12:25:00 +01:00
ecc89eccff
Add craft-unzip: Craft Anything's hardened ZIP reader
...
Moves Craft Anything's crates/formats/src/zip.rs, zip_file.rs and the
entry decoders from decompress.rs into a pure-Rust crate, keeping the
R3.12 hardening: directory and extra-field bounds, ZIP64 end-record
recovery after a prepended stub, multi-volume refusal, CRC-checked
Info-ZIP Unicode Path names, decoded-size and CRC-32 checks.
bzip2, LZMA/XZ and Zstandard entry methods sit behind default features;
Serialize sits behind an optional serde feature.
Part of #778 .
Co-authored-by: Afloat <ShuffleMonkey@163.com >
Co-authored-by: BFlat <bombayapirat@gmail.com >
Co-authored-by: Brandon Thomas <echelon@gmail.com >
Co-authored-by: GGWA <65288322+rech4210@users.noreply.github.com >
Co-authored-by: Max Mittelstädt <62167861+TheGalitube@users.noreply.github.com >
Co-authored-by: NetterSilver <133535268+Silvertree2010@users.noreply.github.com >
Co-authored-by: RRFZ <247457381+Plastic-time@users.noreply.github.com >
Co-authored-by: Roman Serikoff <serikoff@li.ru >
2026-11-16 11:40:58 +01:00
FredApps
341020b2c1
Merge pull request #1757 from el-j/feat/video-mjpeg
...
craft-video: Motion JPEG decoder and encoder (mjpeg)
2026-11-16 11:18:40 +01:00
FredApps
57288edafd
Merge pull request #1693 from storytold/codex/edl-bounded-report
...
Support bounded EDL parse diagnostics
2026-11-16 10:33:09 +01:00
FredApps
5689c73d29
Merge pull request #1685 from storytold/codex/fcp7-bounded-report
...
Support bounded FCP7 diagnostics
2026-11-16 10:17:11 +01:00
FredApps
a4e74a5290
Merge pull request #1645 from storytold/codex/shared-dng-opcode-envelope
...
raw: share bounded DNG opcode envelopes
2026-11-16 10:09:02 +01:00
FredApps
4b69e41374
Merge pull request #1646 from storytold/codex/shared-raw-exif
...
Share explicit raw EXIF and JPEG APP metadata helpers
2026-11-16 10:05:47 +01:00
FredApps
a5c59b3d7c
Merge pull request #1644 from storytold/codex/shared-dng-raw
...
raw: share bounded DNG strip and tile decoding
2026-11-16 10:00:06 +01:00
FredApps
80fea1fcab
Merge pull request #1832 from storytold/fix/exr-display-block-bound
...
fix(exr): bound the display decoder by its largest block, not the whole part
2026-11-16 09:42:09 +01:00
FredApps
a53b894e08
Merge remote-tracking branch 'origin/codex/fcp7-bounded-report' into w1693
2026-11-16 08:54:47 +01:00
FredApps
52fe6cb6cb
Merge remote-tracking branch 'origin/main' into w1685
...
# Conflicts:
# crates/timeline/src/fcp7.rs
# crates/timeline/tests/it/fcp7.rs
2026-11-16 08:54:28 +01:00
FredApps
7d08706a3d
Merge pull request #1681 from storytold/codex/fcpxml-bounded-report
...
Support bounded FCPXML diagnostics
2026-11-16 08:53:32 +01:00
FredApps
456e71da87
Merge remote-tracking branch 'origin/codex/shared-dng-raw' into w1645
2026-11-16 08:52:01 +01:00
FredApps
8a067d58d0
raw: dng_lines checks unpack sizes, budgets each chunk's real decode allocation, and allows subsampled lossy JPEG
...
- unpack: checked sample, row-bit and output products, capped at MAX_SAMPLES before allocating
- every chunk is charged what its decoder may allocate (lossless: coded rows + 1/8; lossy: the
32-pixel MCU-padded tile) against the aggregate budget before decoding, the lossless decoder
is held to that, and truncated capacity is released
- the lossy encoded-size floor allows 64 x spp samples per two-bit block (chroma subsampling)
2026-11-16 08:51:58 +01:00
FredApps
b952ca0231
Merge pull request #1728 from storytold/codex/fbx-ordered-placements
...
Preserve FBX placement and polygon order
2026-11-16 08:44:23 +01:00
FredApps
33f35d74f8
exr: clamp the scan-line block bound to the part height
...
A part shorter than its compression's scan-line group (a one-row ZIP16 part) only decodes its
own rows, so the all-channel block bound is min(scan_lines_per_block, layer_h) rows.
2026-11-16 08:38:50 +01:00
FredApps
cb111c2ea6
Merge pull request #1733 from storytold/codex/shared-paragraph-composer
...
Share paragraph-wide line composition
2026-11-16 08:37:53 +01:00
FredApps
0153109e34
Merge pull request #1670 from storytold/codex/avif-coverage-features
...
Enable AVIF codec tests in coverage
2026-11-16 08:37:43 +01:00
FredApps
89e96d2790
raw: opcodes::parse_list/write_list use the opcode_raw envelope walker and encoder
...
One opcode-list envelope implementation: opcode_raw::Records walks the records (stopping at a
truncated one) for both the strict opcode_raw::parse and the typed opcodes::parse_list, and
opcodes::write_list encodes through opcode_raw::encode instead of truncating lengths with as.
2026-11-16 08:32:10 +01:00
FredApps
456b7d5b35
Merge remote-tracking branch 'origin/codex/shared-dng-raw' into w1645
2026-11-16 08:30:57 +01:00
FredApps
e8aed7cfa6
image-codecs: find the JPEG EXIF APP1 by walking segments and bound the copy by its length
...
An Exif signature inside a COM segment was taken for the EXIF APP1, and the copy was checked
only against the end of the file, so a replacement longer than the APP1 overwrote the next
marker. Walk the header segments to the first EXIF APP1 and copy only within its declared length.
2026-11-16 08:30:28 +01:00
FredApps
59d28093e6
raw: dng_lines reuses the DNG reader's unpackers and JPEG decoder, drops the image dependency
...
- uncompressed rows go through crate::unpack (read_u16s / unpack_msb), as in dng.rs
- lossy JPEG tiles (34892) use tiffraw::lossy_jpeg_with_tile (zune-jpeg) with its tile-size checks
- line-dng now implies dng instead of pulling in image
- tests: every layout and compression read against the full reader, refusals, unpack depths
2026-11-16 08:27:55 +01:00
FredApps
3fd0383c81
Merge remote-tracking branch 'origin/main' into w1644
2026-11-16 08:20:40 +01:00
FredApps
4ffa307f1a
Merge pull request #1407 from AlexChambers/craft-heif/primary-item-metadata
...
craft-heif: items reads the primary image's EXIF and XMP; add scan for every metadata item
2026-11-16 08:19:32 +01:00
FredApps
15aaced60a
fix(exr): bound the display decoder by its largest block, not the whole part
...
decode_display_part refused a part whose data window across all channels
exceeded max_bytes, even when the kept planes fit. The EXR crate decompresses
one block at a time, so bound the largest all-channel block (a tile within the
data window, or one scan-line group across it) instead. Large multi-layer
files whose picture planes fit now decode; the selected-plane and file
capacity checks are unchanged.
2026-11-16 07:47:17 +01:00
FredApps
d01d8e5f70
timeline: order fcpxml export after its limited form (Sonar duplication with otio)
2026-11-16 07:37:34 +01:00
FredApps
00149f5d83
Merge remote-tracking branch 'origin/main' into w1728
...
# Conflicts:
# crates/mesh/src/tests/fbx.rs
2026-11-16 07:09:12 +01:00
FredApps
5acfead5b6
text: cover the paragraph composer's justified, hyphen-limit, credit and measure paths
2026-11-16 07:08:34 +01:00
FredApps
ae150f240b
Merge remote-tracking branch 'origin/main' into w1733
2026-11-16 07:07:19 +01:00
FredApps
3a85d8b69a
Merge pull request #1725 from storytold/codex/shared-positioned-glyph
...
Share composed glyph model and caret placement
2026-11-16 07:06:59 +01:00
FredApps
281508dc4b
timeline: share one limited-push path for report levels; keep transition diagnostic levels; cover export limit
2026-11-16 07:06:09 +01:00
FredApps
5f3851a2ee
Merge remote-tracking branch 'origin/main' into w1681
2026-11-16 07:05:24 +01:00
FredApps
82062077bb
Merge pull request #1697 from storytold/codex/codec-config-fields
...
Share video and audio codec configuration fields
2026-11-16 07:05:00 +01:00
FredApps
a380d33f46
Merge pull request #1699 from storytold/codex/lpcm-shared
...
Share DVD and Blu-ray LPCM decoding
2026-11-16 07:04:47 +01:00
Dylan M. Taylor
4f9c4dd7aa
Merge pull request #1816 from storytold/fix/wmf-frame-target
...
fix(metafile): support WMF mapping records without resizing the frame
2026-11-16 01:04:32 -05:00
FredApps
13d9da9697
Merge remote-tracking branch 'origin/main' into w1670
...
# Conflicts:
# .github/workflows/sonarcloud.yml
2026-11-16 06:58:34 +01:00
FredApps
51b074a35a
Merge pull request #1627 from storytold/pr-solidcraft-format
...
feat: add craft-format (versioned JSON file formats)
2026-11-16 06:55:33 +01:00
FredApps
3c78b4d670
Merge remote-tracking branch 'origin/main' into w1646
...
# Conflicts:
# crates/image-codecs/src/codecs/jpeg.rs
# crates/image-codecs/src/lib.rs
2026-11-16 06:48:43 +01:00
FredApps
a1540d3039
Merge pull request #1696 from storytold/codex/psd-head-metadata
...
Share PSD EXIF and XMP resource selection
2026-11-16 06:48:01 +01:00
FredApps
791561953d
Merge pull request #1686 from storytold/codex/exif-ifd0-orientation
...
Expose compatible first-IFD orientation lookup
2026-11-16 06:47:48 +01:00
FredApps
763312c0a4
Merge pull request #1777 from storytold/fredapps/i778-fbx-batch
...
mesh: land the FBX import batch (#1719 #1717 #1703 #1704 #1705 #1701 #1714 #1706 #1711 )
2026-11-16 06:35:01 +01:00
Dylan M. Taylor
8644532ed7
fix(metafile): preserve viewport scaling before inferred target
2026-11-16 00:05:09 -05:00
Dylan M. Taylor
7585d2df79
fix(metafile): retain WMF player target across viewport scaling
2026-11-15 23:50:34 -05:00
Hamza
aaa7230822
craft-metafile: WMF scale and offset mapping records
...
META_SCALEVIEWPORTEXT, META_SCALEWINDOWEXT, META_OFFSETVIEWPORTORG and
META_OFFSETWINDOWORG were skipped, so a WMF that draws sub-pictures into
parts of its frame (each halving the viewport between SaveDC and RestoreDC)
stretched the first one over the whole frame and drew the next outside it
(storytold/deckcraft#2069 ).
2026-11-15 23:50:11 -05:00
Dylan M. Taylor
5c91598ccc
Merge pull request #1807 from storytold/fix/av1-zero-quantizer
...
fix(video): preserve explicit rav1e zero quantizer
2026-11-15 23:44:40 -05:00
FredApps
5e780f24e1
fbx package: refuse an oversized model up front and stop resolving once the byte limit is passed
2026-11-16 05:26:28 +01:00
FredApps
4f75e7ccbc
Merge remote-tracking branch 'origin/main' into w1777
2026-11-16 05:26:28 +01:00
FredApps
75017e2bdf
craft-format: multi-line step detection, budget keeps every byte read, unreadable-entry test, place match when no identity survives
2026-11-16 05:25:45 +01:00
FredApps
009c8d23b3
Merge remote-tracking branch 'origin/main' into w1627
2026-11-16 05:25:45 +01:00
Dylan M. Taylor
0050743b99
Merge pull request #1798 from storytold/feat/smf-raw-timed-writer
...
MIDI: share bounded source-timed SMF framing for LoopCraft
2026-11-15 23:24:44 -05:00