Commit Graph
2792 Commits
Author SHA1 Message Date
Dylan M. Taylor d3024d0cd5 fix(captions): preserve literal ASS escapes and normalize newlines 2026-11-15 11:05:39 -05:00
Dylan M. Taylor ad9850f18f fix(audio): validate FLAC stream precision and complete consumption 2026-11-15 11:05:37 -05:00
Dylan M. Taylor b1d4c67196 Add streaming MTEXT lexical tokens 2026-11-15 16:02:52 +00:00
Dylan M. Taylor 8dcdca5476 Merge pull request #1597 from storytold/codex/shared-segmented-gzip
Share streaming gzip writer with stored segments
2026-11-15 11:02:33 -05:00
Dylan M. Taylor c393428049 Merge pull request #1461 from storytold/fix/png-bounded-row-stream
image-codecs: bound PNG row streaming without a full-frame allocation
2026-11-15 11:01:29 -05:00
Dylan M. Taylor 6345459e12 Share MTEXT Unicode and MIF escape decoding 2026-11-15 15:59:23 +00:00
Dylan M. Taylor a88aab72c4 aaf: bound duplicate property detection work 2026-11-15 15:58:28 +00:00
el-j 5a36112af6 craft-image-codecs: SGI rows may share compressed data and must start after the offset tables
Addresses review findings: the RLE size check no longer demands separate
payload space for every row, and a row offset inside the offset tables is
refused. A row without its trailing zero count still reads, as in ffmpeg.
2026-11-15 16:51:49 +01:00
Dylan M. Taylor aa398af9dd audio: fix range test lint on workspace gates 2026-11-15 15:48:01 +00:00
Dylan M. Taylor ac037cd941 aaf: expose bounded Bento container access 2026-11-15 15:46:32 +00:00
Dylan M. Taylor 188d935887 Cover bounded PNG header probing 2026-11-15 15:41:20 +00:00
Dylan M. Taylor e4cef773fc Enforce PNG probe pixel limit before chunk scanning 2026-11-15 15:40:50 +00:00
Dylan M. Taylor badb790411 audio: expose WAV signature detection 2026-11-15 15:40:02 +00:00
Dylan M. Taylor 1bce1af0eb Expose early PNG dimension preflight 2026-11-15 15:39:50 +00:00
Dylan M. Taylor 8e394d43fa audio: share bounded range-backed WAV PCM access 2026-11-15 15:39:42 +00:00
Dylan M. Taylor 32eff39b74 Share PNG header and color chunk inspection 2026-11-15 15:39:23 +00:00
Dylan M. Taylor 828b07f3c9 Merge pull request #1589 from storytold/codex/zip64-size-sentinel
Guard ZIP64 directory-size sentinel entry counts
2026-11-15 10:39:06 -05:00
Dylan M. Taylor 451a390542 Add opt-in legacy Base64 compatibility 2026-11-15 15:37:41 +00:00
Dylan M. Taylor 2c9903ca1d Support configurable legacy MCP sessions and envelopes 2026-11-15 15:29:27 +00:00
Dylan M. Taylor 2823525586 Merge pull request #1592 from storytold/extract/psd-displace-map
psd: share bounded Displace map payload reader and writer
2026-11-15 10:28:44 -05:00
Dylan M. Taylor ae5020c1ed Use a BMP size supported by the baseline decoder 2026-11-15 15:23:57 +00:00
Dylan M. Taylor 89cbc41650 Satisfy SVG reader clippy gate 2026-11-15 15:22:39 +00:00
Dylan M. Taylor 373d36ea3f Expose bounded stored image dimensions 2026-11-15 15:18:47 +00:00
Dylan M. Taylor 811b386e89 Merge pull request #1581 from storytold/codex/jpeg-encoder-notices
Retain IJG and SIMD notices for shared JPEG encoding
2026-11-15 10:18:17 -05:00
Dylan M. Taylor 6c22881fc1 Share streaming neutral SVG geometry and output 2026-11-15 15:16:39 +00:00
Dylan M. Taylor c6eb84d427 Merge pull request #1573 from storytold/extract/cube-export-style
cms: share annotated CUBE export and integer-depth precision
2026-11-15 10:12:13 -05:00
Dylan M. Taylor 1d8836f265 Merge pull request #1583 from storytold/feat/mime-optional-base64-padding
mime: expose optional Base64 padding without relaxing strict decoding
2026-11-15 10:11:19 -05:00
Dylan M. Taylor 2bb5d0344f docs(psd): document editable TySh envelope fields 2026-11-15 10:10:41 -05:00
FredApps 9399c25341 image-codecs: decode AVIF pixels with craft-video's pure-Rust AV1 decoder
New optional `avif-decode` feature (native targets) reads still AVIF
files: the HEIF/ISOBMFF item graph, grids, clap/irot/imir, alpha
auxiliary images (including premultiplied), 8/10/12-bit 4:0:0, 4:2:0,
4:2:2 and 4:4:4, nclx/ICC colour, Exif and XMP, and PQ/HLG to linear
F32 through cicp::linearize as the HEIF path does.

The container walk follows LightCraft #3017 by @emmertex. Every size is
checked against the caller's Limits before the AV1 decoder runs, the
decoder's memory budget is capped by max_alloc, and the decode is
wrapped in catch_unwind so a decoder panic becomes an error.

Fixtures are tiny ffmpeg/libaom files; the 4:2:0 planes match libdav1d
bit for bit. Adds a decode_avif fuzz target.

Part of storytold/craft-libs#778.
2026-11-15 16:10:22 +01:00
Dylan M. Taylor 560b6f8268 Compare streaming native output with previous framing 2026-11-15 15:02:41 +00:00
Dylan M. Taylor 38c26217b1 Support fixed-precision SVG scene coordinates 2026-11-15 15:01:28 +00:00
Dylan M. Taylor e78ede0aa9 Merge pull request #1587 from storytold/codex/mcp-server-session
Share MCP server session envelopes
2026-11-15 09:53:42 -05:00
FredApps a0aae26efe Merge remote-tracking branch 'origin/main' into svg 2026-11-15 15:52:51 +01:00
FredApps cec6e24381 Check the rewritten SVG viewport output under the same limits 2026-11-15 15:52:47 +01:00
Dylan M. Taylor b5bd10d0d8 Stream envelope fields with bounded buffering 2026-11-15 14:49:04 +00:00
Dylan M. Taylor d1ee17aca4 Own native JSON schema in streaming writer 2026-11-15 14:46:50 +00:00
Dylan M. Taylor 0cdda6e15d Share VectorCraft streaming envelope helpers 2026-11-15 14:44:38 +00:00
Dylan M. Taylor cab96afd08 cms: keep public v2 helper before test module 2026-11-15 09:43:27 -05:00
Dylan M. Taylor 424a2dc2be Share streaming gzip writer with stored segments 2026-11-15 14:41:14 +00:00
Dylan M. Taylor 7bc5f2a4c8 cms: expose fixed v2 sRGB profile and verify shared parsing 2026-11-15 09:40:37 -05:00
Brandon Thomas f483f9d6dd cms: preserve original PDFCraft ICC v2 sRGB generator
Extracted unchanged from storytold/pdfcraft e098c5c85, crates/preflight/src/icc.rs; original implementation 4d60af8b1, rename d3db99818.
2026-11-15 09:39:55 -05:00
Dylan M. Taylor 1e204c51df psd: bound TySh serialization and reject unsafe geometry 2026-11-15 09:33:38 -05:00
Dylan M. Taylor 851c5cb8db Merge remote-tracking branch 'origin/main' into codex/tcraft-stream-format 2026-11-15 14:32:39 +00:00
Dylan M. Taylor e2e3b4213a Merge pull request #1585 from storytold/dot/plist-binary-v2
Extract bounded binary Apple property-list reader into craft-plist
2026-11-15 09:32:06 -05:00
Dylan M. Taylor ca64580510 Merge pull request #1577 from storytold/codex/zip-seek-boundary
Share bounded seekable ZIP indexing
2026-11-15 09:31:45 -05:00
Dylan M. Taylor d0feabc6c8 Exercise displacement dimension guards independently of mode 2026-11-15 09:30:43 -05:00
4d594a1130 psd: share editable TySh binary envelope from PhotoCraft
Preserve transform safety work and compatibility recovery; adapt to shared array geometry and add regression tests.

Co-authored-by: David Mann <daaavid.mann@gmail.com>
Co-authored-by: Sean Lavery <Theseanlavery@gmail.com>
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-15 09:30:30 -05:00
Dylan M. Taylor f2106054e0 Support bounded streaming displacement samples without plane copies 2026-11-15 09:30:28 -05:00
FredApps b850981f83 craft-audio: port EffectCraft's later Opus encoder speed-ups
The shared encoder was imported from storytold/effectcraft@c618429. EffectCraft's
copy has since gained @vangel76's speed-ups (effectcraft #2394, #2398, #2399,
#2402, #2403, #2404) and the strict-Clippy CELT stage refactor. Port them so
EffectCraft can drop crates/opusenc without slowing WebM export.

Packets are byte-identical to effectcraft-opusenc at d6c9ad66 (2100 packets
across SILK, hybrid and CELT, mono and stereo, 10-320 kb/s). The shared Error
API is unchanged.

Refs #778
2026-11-15 15:29:08 +01:00
Dylan M. Taylor 46cd009367 Add exact-plane payload writer and hostile-input regression tests 2026-11-15 09:29:01 -05:00