Commit Graph
386 Commits
Author SHA1 Message Date
Dylan M. Taylor 82276297a6 Share authenticated JSON-lines control protocol 2026-11-15 18:57:52 +00:00
Dylan M. Taylor 0d87f371ad Merge pull request #1591 from el-j/feat/captions-ass
craft-captions: ASS and SSA subtitles
2026-11-15 12:51:03 -05:00
Dylan M. Taylor f5a22a008c Merge pull request #1576 from el-j/feat/image-codecs-jpegls
craft-image-codecs: JPEG-LS reader and writer
2026-11-15 12:22:57 -05:00
Dylan M. Taylor c4c4547b7b Merge pull request #1602 from storytold/codex/svg-neutral-document
Share streaming SVG primitives and drawing output
2026-11-15 12:10:47 -05:00
Dylan M. Taylor b0d84cd15d Merge pull request #1598 from storytold/codex/vectorcraft-streaming-envelope
Share VectorCraft streaming envelope helpers
2026-11-15 11:48:48 -05:00
Dylan M. Taylor c376774f15 Merge pull request #1579 from storytold/codex/tcraft-stream-format
Share streaming TextureCraft tile payloads
2026-11-15 11:27:35 -05: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 6c22881fc1 Share streaming neutral SVG geometry and output 2026-11-15 15:16:39 +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
Dylan M. Taylor 0cdda6e15d Share VectorCraft streaming envelope helpers 2026-11-15 14:44:38 +00:00
Dylan M. Taylor 424a2dc2be Share streaming gzip writer with stored segments 2026-11-15 14:41:14 +00: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
el-j 7b4d5f992c craft-captions: ASS and SSA subtitles (Format::Ass)
Reads the [Events] section of ASS v4+ and SSA v4 files and writes a
minimal ASS v4+ file. Keeps line breaks, the Name field as the speaker
and the \i, \b, \u override tags; other override tags and vector
drawings are dropped.

Closes #1550
2026-11-15 15:18:25 +01:00
Dylan M. Taylor 533b37bd56 Add reusable MCP server session envelopes 2026-11-15 13:41:22 +00:00
Dylan M. Taylor 09a962def8 Merge pull request #1575 from storytold/codex/jsonrpc-envelope
Add bounded JSON-RPC server envelopes
2026-11-15 08:37:05 -05:00
Dylan M. Taylor b6d9feed23 Merge pull request #1569 from storytold/codex/shared-mcmat
Share bounded portable material archives
2026-11-15 08:06:54 -05:00
Dylan M. Taylor 478c50560d Merge pull request #1448 from storytold/fix/avif-exif-hlg
fix(image-codecs): preserve AVIF EXIF and HLG levels
2026-11-15 08:02:58 -05:00
Dylan M. Taylor 1ec7ab92b5 Expose bounded cross-platform binary plist reader with explicit limits 2026-11-15 07:57:29 -05:00
Dylan M. Taylor b85e4b150b Add neutral project document schema 2026-11-15 12:34:47 +00:00
Dylan M. Taylor 3e970577b9 Merge pull request #1564 from storytold/dot/shared-pctip
pcraft-format: share PCTIP1 brush-tip serialization
2026-11-15 07:29:12 -05:00
Dylan M. Taylor 6ac9046bd4 Share streaming TextureCraft tile payloads 2026-11-15 12:10:04 +00:00
el-j 3ce92b332d craft-image-codecs: JPEG-LS (ITU-T T.87) reader and writer
Adds Format::JpegLs: lossless and near-lossless gray and RGB, 2 to 16
bits. Reads scans that code one component each; writes lossless 8- and
16-bit gray and RGB. Line- and sample-interleaved scans, mapping tables
and colour transforms are reported as unsupported.

Closes #1558
2026-11-15 12:53:20 +01:00
Dylan M. Taylor 10ef64f183 Merge remote-tracking branch 'origin/main' into codex/jsonrpc-envelope 2026-11-15 11:51:21 +00:00
Dylan M. Taylor e67d770c09 Add bounded JSON-RPC server envelopes 2026-11-15 11:51:16 +00:00
Dylan M. Taylor 4780f75080 Merge remote-tracking branch 'origin/main' into fix/avif-exif-hlg
# Conflicts:
#	Cargo.lock
2026-11-15 11:39:31 +00:00
Dylan M. Taylor fe6b443acf Merge pull request #1505 from storytold/fix/svg-embedded-image-accounting
craft-svg: account for malformed embedded image data
2026-11-15 06:37:46 -05:00
Dylan M. Taylor 55b1d7f3c5 Merge pull request #1501 from storytold/extract/apng-container
craft-image-codecs: extract bounded APNG container assembly
2026-11-15 06:30:57 -05:00
Dylan M. Taylor 7dbfafa356 Share bounded portable material archives 2026-11-15 11:26:24 +00:00
3401d0af8e pcraft-format: extract PhotoCraft brush tip envelope and samples
Port PhotoCraft preset_store.rs at 19aec5eb44131de44361189d64910e7b3e19e57c. Preserve original primary author and later codec contributions.

Co-authored-by: David Mann <daaavid.mann@gmail.com>

Co-authored-by: FinnNk <finnnk@gmail.com>
2026-11-15 05:58:00 -05:00
Dylan M. Taylor a8f2612c7c Test decoded HLG AVIF reference levels 2026-11-15 10:46:51 +00:00
Dylan M. Taylor 0f5b23b4de Merge pull request #1455 from storytold/pr-mailcraft-smime
feat: add craft-smime (S/MIME CMS/X.509/PKCS#12)
2026-11-15 05:34:46 -05:00
Dylan M. Taylor 4e9b3e9fdd fix(svg): account for invalid embedded image data 2026-11-15 04:11:43 -05:00
.CooCoo b63198042b craft-image-codecs: check the deep EXR corpus against pinned SHA-256 values (#1487)
The deep EXR corpus test read the five OpenEXR files in corpus/exr/
without a size bound or digest check, and a missing file failed with
advice to run `cargo xtask corpus --exr`, which craft-libs does not have.

- REAL_FILE_SHA256 pins the five files (OpenEXR commit 69b2604f). The
  test reads only those names, refuses a file that is missing, is not
  a regular file, is larger than 4 MiB or does not match its digest,
  and names the file and both digests.
- The failure points at the crate README, which says where the files
  come from and how to fill corpus/exr/, either from OpenEXR or with
  PhotoCraft's fetcher at the commit CI uses.
- Three tests that run without the corpus feature cover the pins, a
  changed byte, and missing, oversize and folder inputs.
2026-11-15 04:11:00 -05:00
Dylan M. Taylor 26a4f6c855 feat: add craft-proto (IMAP4rev1 + SMTP clients) (#1457)
* feat: add craft-proto (IMAP4rev1 + SMTP clients)

Port from mailcraft: IMAP4rev1 and SMTP protocol clients over any
Read + Write stream, no sockets or browser APIs.

## IMAP (RFC 3501, 4315, 4959, 6154, 6851)
- Mailbox operations: SELECT, EXAMINE, LIST, LSUB
- Message operations: FETCH, STORE, COPY, MOVE, EXPUNGE
- IDLE (RFC 2177): server-initiated change notifications
- AUTH: PLAIN, LOGIN, XOAUTH2 (RFC 4954)
- STATUS (RFC 3501 §6.3.10): mailbox stats without opening
- Modified UTF-7 encoding for mailbox names

## SMTP (RFC 5321, 3207, 4954)
- EHLO/HELO, MAIL FROM, RCPT TO, DATA
- STARTTLS (RFC 3207)
- AUTH: PLAIN, LOGIN, XOAUTH2

## Design
- No I/O of its own: works over any Read + Write stream
- Hostile-input bounded reading: lines, literals, counts capped
- Passwords and tokens never reach logs or errors (Secrets wiped on drop)
- Follows craft-libs safety pattern: no unwrap/expect/panic

* fix(proto): restore standalone protocol wiring and safe authentication helpers

* fix(proto): register dependencies and export message macro

* fix(proto): retain upstream private trace filtering and regression coverage

* fix(proto): redact uppercase private reply text and preserve error API

* fix(proto): satisfy hosted workspace lint gates

* fix(proto): bound IDLE polling and preserve mailbox updates safely

* test(proto): exercise BODY sections in FETCH context

* test(proto): distinguish fixed UID ranges from wildcard bounds
2026-11-15 04:02:49 -05:00
Tanish Manku 82fa80fca9 feat(image-codecs): extract bounded APNG container assembly
Preserve AniCraft animated PNG wire semantics while validating geometry, sequence numbers and allocation budget before writing.

Co-authored-by: Tanish Manku <tmanku.dev@gmail.com>
2026-11-15 03:58:22 -05:00
Dylan M. Taylor dd7c65ba32 Merge pull request #1479 from storytold/fix/wav-ixml-parity
craft-audio: preserve WAV iXML time-reference fallback
2026-11-15 03:53:25 -05:00
.CooCoo 600fc71614 print: winprint 8ae097ef: from_dev_mode at its merge commit on main (#1474)
craft-print took PrintTicket::from_dev_mode (winprint.rs#24) at the pull request's earlier head
72951d74, which is not on winprint.rs's main. #24 merged as 8ae097ef, and the pin moves there.

The only code difference between the two revisions is in from_dev_mode's own size check: it now
accepts a DEVMODE whose public part reaches dmFields (76 bytes) instead of requiring 156 bytes.
craft-print passes it only settings that craft-winprint-gdi's DevMode::from_bytes accepted, which
still requires 156 bytes, so craft-print's behavior does not change. The API craft-print uses is
unchanged; only the rev and the lockfile move.
2026-11-15 00:12:37 -06:00
Dylan M. Taylor 44802bd54d craft-audio: preserve iXML WAV time-reference fallback 2026-11-14 22:57:45 -05:00
Dylan M. Taylor 4f3507ffff Merge pull request #1454 from storytold/pr-mailcraft-ber
feat: add craft-ber (ASN.1 BER/DER reader)
2026-11-14 22:16:03 -05:00
Dylan M. Taylor cbd4dcad96 fix(ber): record standalone crate in workspace lockfile 2026-11-14 20:53:46 -05:00
Dylan M. Taylor 5c0b0a3632 Deduplicate raster codecs via shared image implementations (successor to #1198) (#1331)
* Share small raster format implementations

(cherry picked from commit 7aedc1de73)

* Preserve raster facade encode contracts

(cherry picked from commit 2db7c82705)

* Allow alpha in IFF compatibility encoder

(cherry picked from commit 80b55dee5a)

* Test shared raster facade contracts and refresh lockfile
2026-11-14 20:46:22 -05:00
Dylan M. Taylor 92c0b49b5e feat(video): support tiled AV1 for large frames (#1453)
* feat(video): add tiled AV1 large-frame fallback

* feat(video): expose tiled AV1 speed preset

* fix(video): use clamped AV1 keyframe interval
2026-11-14 20:38:28 -05:00
Dylan M. Taylor 8e20238384 Merge pull request #1321 from storytold/vorbis-encode-migration
feat(audio): migrate Ogg Vorbis encoding to craft-audio (PR #26)
2026-11-14 19:40:58 -05:00
Dylan M. Taylor 136b29dd76 Merge pull request #1375 from storytold/codex/xfl-xml-shared
Add shared XFL document schema model
2026-11-14 18:16:50 -05:00
Dylan M. Taylor 8ae42d1aeb Merge main and reconcile Vorbis encoding with current audio APIs 2026-11-14 18:12:03 -05:00
Dylan M. Taylor d6cd7836d3 feat(video,image-codecs,stream-codecs): add encode_with_key, encode_avif_hdr, and decode_ccitt_raw (#1369) 2026-11-14 16:15:44 -05:00
Dylan M. Taylor f215740d1d Add shared XFL document schema model 2026-11-14 20:44:52 +00:00
Dylan M. Taylor 30209caad8 feat(gif,image-codecs): add indexed/interlaced GIF, jpeg_progressive_scans, and JP2 decode (#1358)
* feat(gif,image-codecs): add indexed/interlaced GIF, jpeg_progressive_scans, and JP2 decode

* chore: update Cargo.lock for craft-image-codecs jp2 dep

* fix(image-codecs,svg): deref jp2 ch and re-export resvg from craft_svg::tree::draw
2026-11-14 15:13:21 -05:00
Dylan M. Taylor 29fb8f8e86 Merge pull request #1216 from dotCooCoo/feat/craft-texture-planes
craft-texture: add bounded float image planes and texture sampling
2026-11-14 11:28:44 -05:00