Commit Graph
2342 Commits
Author SHA1 Message Date
el-j 2e3ff2162b craft-image-codecs: SGI image reader and writer
Adds Format::Sgi: 8- and 16-bit gray, gray+alpha, RGB and RGBA, verbatim
and run-length encoded on read, run-length encoded on write.
Palette-mapped files are reported as unsupported.

Closes #1559
2026-11-15 11:44:48 +01:00
Dylan M. Taylor 7581345a22 craft-update: do not self-update extracted nextest test binaries (#1503)
* fix(update): treat extracted nextest archives as development builds

* fix(update): match only binaries listed by bounded nextest inventory
2026-11-15 05:35:32 -05: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 0c144b7d98 Merge pull request #1496 from storytold/fix/webp-animation-export
craft-webp: expose animated writer and avoid duplicate frame buffer
2026-11-15 04:45:59 -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
Dylan M. Taylorandbflatastic 979413980e Extract MIDI synchronization wire helpers from LoopCraft (#1478)
Preserve transport/SPP and non-drop MTC wire behavior; keep scheduling app-owned. Add allocation-free shared APIs and protocol regression tests.

Co-authored-by: bflatastic <bombayapirat@gmail.com>
2026-11-15 04:02:15 -05:00
.CooCoo cd8207b436 Merge pull request #1489 from dotCooCoo/fix/bounded-to-rgba-f32-a-tiff-strip-past-the-file
image-codecs: to_rgba_f32 checks its output against caller Limits
2026-11-15 04:01:40 -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
Dylan M. Taylor b7bc61e1a1 Merge pull request #1477 from storytold/fix/fcpxml-depth-parity
craft-timeline: preserve FCPXML depth and cache safeguards
2026-11-15 03:52:20 -05:00
Dylan M. Taylor 80d4e2395e test(webp): cover lossy alpha container and XMP framing 2026-11-15 03:26:23 -05:00
Dylan M. Taylor b67b9f90c5 Merge pull request #1497 from storytold/codex/xfl-color-effect-view
xfl: expose neutral instance color effect view
2026-11-15 02:51:49 -05:00
Dylan M. Taylor 502f056d6c xfl: expose neutral instance color effect view 2026-11-15 07:14:59 +00:00
Dylan M. Taylor ec53d5d399 fix(webp): expose animation writer and avoid full frame-list copy 2026-11-15 01:55:09 -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 0073b2674f Merge pull request #1480 from storytold/codex/xfl-library-schema
Add shared XFL library metadata views
2026-11-15 00:53:30 -05:00
Dylan M. Taylor bf48df0473 Merge pull request #1471 from storytold/codex/xfl-frame-sound
Add shared XFL frame sound schema views
2026-11-15 00:36:20 -05:00
Dylan M. Taylor ec2dd163b4 Merge pull request #1470 from storytold/codex/xfl-shape-hints
Add shared XFL shape hint and tween schema views
2026-11-15 00:22:00 -05:00
FredApps ad8faa1c13 Merge pull request #1300 from Terra854/codex/format-adapter-safety
Preserve native bundle saves and validate SVG/RAW decoding
2026-11-15 06:17:29 +01:00
Dylan M. Taylor 5542cd3d59 Merge pull request #1475 from storytold/codex/xfl-document-metadata
Generalize XFL document schema views
2026-11-15 00:02:26 -05:00
Dylan M. Taylor fc82610ef9 test(xfl): cover library metadata accessors 2026-11-15 04:51:19 +00:00
skylar taylor-barrick cc7312bf34 ci: cancel superseded Workspace PR runs (#1458)
* ci: cancel superseded Workspace pull-request runs

The Workspace workflow (the native, MSRV and WASM legs) had no concurrency
group, so every push to a lockfile or dependency pull request started a second
full set of runs while the first set kept going, up to three runners each.

Give pull requests one group per pull request, so a newer push cancels the
older run, and give every other run a group of its own, so a main push, a
release tag or a manual run is neither cancelled nor replaced while queued.
github.ref is refs/pull/<n>/merge for a pull request, so two forks with the
same branch name stay separate. The pattern is the one merged in #772 for the
23 crate workflows, which left this reusable-workflow caller out.

The gate commands, jobs, inputs, matrices, timeouts, triggers and permissions
are untouched.

scripts/test-workspace-concurrency.py checks the policy itself: the two fields
and their documented expression shapes, one group per pull request and one per
other run, cancellation on a pull request only, and no job-level concurrency.
It reads the workflow without wiring anything into CI.

* test(workspace-concurrency): reject a scalar concurrency value

`read_concurrency` matched any line starting with `concurrency:` and read the
indented lines under it as fields. Under `concurrency: |` — a block scalar, not
a mapping — the workflow would have passed every policy check with the reader
alone, while the `PyYAML` cross-check that catches it is skipped when PyYAML is
absent. `concurrency: some-string` was rejected only by accident, through the
empty field set.

Require the header itself to be `concurrency:` (an inline comment allowed), and
test both scalar shapes. CodeRabbit found this on the pull request.

* sonar: analyse the Workspace concurrency guard as a test

scripts/test-workspace-concurrency.py is a unittest module: each case reads a
workflow and asserts on the policy. Listing it in sonar.test.inclusions keeps it
analysed as test code — linted, indexed and reported — instead of counting it as
production code that needs coverage, which is what failed the quality gate at
0.0% Coverage on New Code.

The exact path is appended to the three existing Rust patterns, so no other
script, and nothing else in the repository, is reclassified. No coverage
exclusion, quality threshold, workflow or build change.

* ci: run the Workspace concurrency guard in the gate

scripts/test-workspace-concurrency.py guarded the policy only when someone remembered to
run it, so a reworded concurrency block could land with 16 green checks. The gate's
`command` step now runs it before the cargo steps; `command` covers the Linux and macOS
legs, and it is one python3 call that needs nothing installed and fails in a second, ahead
of an hour of building.

The Windows leg keeps its existing `windows-command`: the script passes on a CRLF copy of
the workflow, but this change does not put an untested step on Windows.
2026-11-14 22:34:05 -06:00
Dylan M. Taylor b8ac314286 Merge remote-tracking branch 'origin/codex/xfl-shape-hints' into codex/xfl-frame-sound
# Conflicts:
#	crates/xfl/src/lib.rs
2026-11-15 04:30:21 +00:00
Dylan M. Taylor c3b9c1f91a Merge remote-tracking branch 'origin/main' into codex/xfl-shape-hints
# Conflicts:
#	crates/xfl/src/lib.rs
2026-11-15 04:24:07 +00:00
Dylan M. Taylor ef6a3441c1 Merge pull request #1468 from storytold/codex/xfl-filter-schema
Add shared XFL filter schema views
2026-11-14 23:20:46 -05:00
Dylan M. Taylor 186005d279 Add shared XFL library metadata views 2026-11-15 04:18:13 +00:00
Dylan M. Taylor c4fb292825 Use canonical parity check in WAV iXML fixture 2026-11-14 23:02:09 -05:00
Dylan M. Taylor a44e1b7273 Reject cached FCPXML graphs that reach a rebuilding ancestor 2026-11-14 23:00:44 -05:00
Dylan M. Taylor 47036b5e63 craft-timeline: bound FCPXML traversal and retry truncated media 2026-11-14 22:57:47 -05:00
Dylan M. Taylor 44802bd54d craft-audio: preserve iXML WAV time-reference fallback 2026-11-14 22:57:45 -05:00
FredApps c29336211a Merge branch 'main' into codex/format-adapter-safety 2026-11-15 04:53:49 +01:00
Dylan M. Taylor 33f797781f Merge latest main into XFL schema views 2026-11-15 03:46:49 +00:00
Dylan M. Taylor c0ff073356 feat(xfl): expose shared color attribute parser 2026-11-15 03:29:34 +00:00
Dylan M. Taylor a9c1d06a0f Test XFL document views with app adapter 2026-11-15 03:24:35 +00:00
Dylan M. Taylor 7f3fdc0dfe Merge pull request #1464 from storytold/codex/xfl-text-schema
Add shared XFL text field schema views
2026-11-14 22:19:12 -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 100b68ed48 Merge branch 'codex/xfl-shape-hints' of https://github.com/storytold/craft-libs into codex/xfl-frame-sound 2026-11-15 03:16:00 +00:00
Dylan M. Taylor 8d8c85e881 Merge branch 'codex/xfl-filter-schema' of https://github.com/storytold/craft-libs into codex/xfl-shape-hints 2026-11-15 03:15:37 +00:00
Dylan M. Taylor 85ca7a893c Merge remote-tracking branch 'origin/main' into codex/xfl-filter-schema 2026-11-15 03:15:12 +00:00
Dylan M. Taylor b304c0790f Generalize XFL document schema views 2026-11-15 03:13:43 +00:00
Dylan M. Taylor 91949bdebb Refresh moved stable toolchain action pin (#1473) 2026-11-14 20:58:00 -06:00
Dylan M. Taylor 325354218a Merge branch 'codex/xfl-shape-hints' of https://github.com/storytold/craft-libs into codex/xfl-frame-sound 2026-11-15 02:49:34 +00:00
Dylan M. Taylor 6d7636227e Merge branch 'codex/xfl-filter-schema' of https://github.com/storytold/craft-libs into codex/xfl-shape-hints 2026-11-15 02:49:05 +00:00
Dylan M. Taylor afad374d74 Reuse XFL wire scalar parsers 2026-11-15 02:46:53 +00:00
Dylan M. Taylor e4325a82d0 Merge branch 'codex/xfl-shape-hints' of https://github.com/storytold/craft-libs into codex/xfl-frame-sound 2026-11-15 02:46:36 +00:00
Dylan M. Taylor 01815214d6 Reuse XFL wire scalar parsers 2026-11-15 02:46:16 +00:00
Dylan M. Taylor 1b60b979a4 Reuse XFL wire value parsers 2026-11-15 02:44:36 +00:00
Dylan M. Taylor 858d1cde8a Add neutral XFL frame sound schema views 2026-11-15 02:38:58 +00:00
Dylan M. Taylor bb0c1c52ce Add neutral XFL tween schema views 2026-11-15 02:34:02 +00:00
FredApps d919ccd8db Merge branch 'main' into codex/format-adapter-safety 2026-11-15 03:33:06 +01:00