Commit Graph
3965 Commits
Author SHA1 Message Date
Dylan M. Taylor 03d1afced9 svg: extract shared SVG document/CSS interpretation helpers (#778) (#2456)
* svg: extract shared SVG document/CSS interpretation helpers (storytold/craft-libs#778)

* svg: document doc_style::length unknown-unit px fallback

* style(svg): fix clippy field_reassign_with_default in doc_style test
2026-11-19 20:36:26 -05:00
Dylan M. Taylor 1a3be2d439 craft-develop: extract ToneMap/CameraTone and pure-Rust finish helpers (#2471)
* craft-develop: extract ToneMap/CameraTone and pure-Rust finish helpers

* fix(develop): add serde_json dev-dependency for tone tests
2026-11-19 20:23:11 -05:00
Dylan M. Taylor 429937ad72 craft-dds: expose shared BC1-7, ETC1/EAC, and packed pixel decoders (#778) (#2460)
* craft-dds: expose shared BC1-7, ETC1/EAC, and packed pixel decoders (#778)

* fix(dds): qualify super::anchor in bptc test

* craft-dds: add independent known-answer test vectors for BC6H, BC7, ETC1, and EAC

* fix(dds): remove unused partition/anchor imports in bptc test
2026-11-19 20:03:14 -05:00
Dylan M. Taylor 1546550b0d pptx/drawingml: upstream DeckCraft table caps, has_notes_slide, ModelError, and import_report (#2463)
* pptx/drawingml: upstream DeckCraft table caps, has_notes_slide, ModelError, and import_report (#792)

* drawingml(table): mark insert_row and insert_col #[must_use]
2026-11-19 20:01:09 -05:00
Dylan M. Taylor d0ca0cdb28 craft-mesh: add COLLADA (.dae) and Alembic (.abc) readers (#2462)
* craft-mesh: add COLLADA (.dae) and Alembic (.abc) readers

* fix(mesh): use str::to_owned instead of into_owned in dae

* craft-mesh: make dae and abc opt-in features

* fix(mesh): remove unused Error import and use Entry API in abc
2026-11-19 20:01:05 -05:00
Dylan M. Taylor 7258e42d8d ps: expose public PostScript token/lexer scanner (read::lex) (#2458)
* ps: expose public PostScript token/lexer scanner (read::lex)

* ps(lex): only mark stream fresh on Ok token

* fix(ps): allow clippy::should_implement_trait on Lexer::next
2026-11-19 19:55:29 -05:00
Dylan M. Taylor 512a1b8e8b mesh, image-codecs: add clearcoat/sheen GLB, obj_with_mtl, and EXR chromaticities (#778) (#2466)
* mesh, image-codecs: add clearcoat/sheen GLB, obj_with_mtl, and EXR chromaticities (#778)

* fix(mesh): import Image and TextureRef in obj tests

* fix(mesh): construct Mesh via struct literal in gltf test
2026-11-19 19:50:59 -05:00
Dylan M. Taylor 0ffb1a0abe xlsx, drawingml: track dropped cells and chart data tables/pivot source/first slice angle (#778) (#2465)
* xlsx, drawingml: track dropped cells and chart data tables/pivot source/first slice angle (#778)

* xlsx, drawingml: add unit tests for dropped_cells, ChartDataTable, first_slice_angle, pivot_source (#778)
2026-11-19 19:39:15 -05:00
Dylan M. Taylor 0275c0b107 html, xfdf: extract standalone HTML writer and XFDF annotation/FDF grammar (#778) (#2457)
* html, xfdf: add standalone HTML writer and XFDF annotation/FDF grammar (#778)

* html, xfdf: escape image mime attribute and clarify rich_plain vs direct_text
2026-11-19 19:38:35 -05:00
Dylan M. Taylor 6719b207fa craft-pdf: add fonts feature with PDF encodings and Standard-14 metrics (#2454)
* craft-pdf: add fonts feature with ISO 32000-2 Annex D encodings and Standard-14 metrics

* pdf(fonts): call crate::fonts::win_ansi in std14
2026-11-19 19:14:36 -05:00
Dylan M. Taylor ff98d8b93c fix(idml): remove unused imports in model test (#2467) 2026-11-19 19:07:33 -05:00
Terra854 f428c3d36e sqlite: add bounded wire decoding helpers (#2446) 2026-11-19 18:34:01 -05:00
Dylan M. Taylor 01c89f9a23 idml: add reusable designmap schema emission (#778) (#2455)
* idml: separate reusable designmap schema emission (#778)

* test(idml): split designmap schema roundtrip test for clippy
2026-11-19 18:32:24 -05:00
aiongg 0f23b31d1a Merge pull request #2438 from aiongg/update-hdiutil-eagain
craft-update: macOS install tests retry hdiutil while the disk-image helper is busy
2026-11-19 18:17:36 -05:00
FredApps ea9407b350 svg: share compact path command formatting (#778) [skip ci] (#2453) 2026-11-20 06:06:57 +07:00
42e0bd5482 Add a craft-raw decoder comparison example (#2417)
* Add a craft-raw decoder comparison example

* Clean up RAW decoder report test fixtures

* craft-raw: say the report hashes decoded samples and which revisions build it

The digest covers RawImage::data, after any decoder linearization, so the
README now says "decoded samples" and explains that two stored codes that
map to the same value give the same digest.

The copy-into-an-older-checkout instructions now name the first main
revision the example builds on (ecee6933, #1171): older revisions have no
Cfa origin fields.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: FredApps <FredApps@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 05:50:06 +07:00
Dylan M. Taylor f7569cc7ae Merge pull request #2425 from dotCooCoo/fix/file-formats-jpeg-ls
file-formats: register JPEG-LS and tell it from JPEG
2026-11-19 17:46:57 -05:00
pancakeandpancake 352c589d89 RAW-DNG: gate JPEG XL tests on the codec feature (#2381)
The DNG integration target also runs when JPEG XL decoding is disabled.
Gate the five JPEG XL cases and their fixture helpers on the jxl feature
so a DNG-only test run checks the codecs available in that build.

The full JPEG XL regressions remain enabled when jxl is selected.

Co-authored-by: pancake <pancake@nopcode.org>
2026-11-19 17:45:24 -05:00
Mex a559fd3abc fix(mcp-server): reject invalid JSON-RPC versions before dispatch (#2444)
* fix(mcp): validate JSON-RPC versions before dispatch

Reject malformed request envelopes before tool or lifecycle effects. Companion to storytold/gridcraft#4210 after the shared-server migration.

* test(mcp): cover invalid version markers across transports

Actual shared crate: baseline 18 passed and 3 new regressions failed; fixed 21 passed. Repository formatting and strict production Clippy pass.
2026-11-19 17:41:52 -05:00
Terra854 6a5ff3d4fd psd: open merged composites without image resources (#2426) 2026-11-20 05:07:30 +07:00
Dylan M. Taylor 219c1d0b14 dxf: add shared .lin and .pat text parsers (#2434) 2026-11-19 16:25:57 -05:00
Dylan M. Taylor 9d5c9cce69 psd: add resource writers for alpha names and clipping path (2999) (#2429) 2026-11-19 16:25:53 -05:00
FredApps dc6adc3fbd psd: expose bounded encoded composite rows [skip ci] (#2442) 2026-11-20 04:22:22 +07:00
aiongg 6ec20913b0 craft-update: name std::time::Duration in the macOS test helper 2026-11-19 20:29:34 +00:00
aiongg bf6054c96d craft-update tests: retry hdiutil create and attach while the disk-image helper is busy 2026-11-19 20:24:41 +00:00
Dylan M. Taylor bc186ca719 image-codecs: keep first JFIF APP0 density in scan_metadata (#2422) 2026-11-19 14:51:45 -05:00
dotCooCoo a524687f93 file-formats: register JPEG-LS and tell it from JPEG
craft-image-codecs reads and writes JPEG-LS since #1576, but the
format registry had no entry for it. A `.jls` name resolved to no
format, and a JPEG-LS file was reported as JPEG because both start
with `FF D8 FF`.

`Format::JpegLs` now has the `jls` extension, the `image/jls` media
type and the codec mapping, so its capabilities come from the codec.

A file that starts with `FF D8 FF` is JPEG-LS when its marker segments
lead to an SOF55 frame header (`FF F7`). The walk follows
`jpeg_frame_from` in craft-image-codecs, which a build without the
`raster-codecs` feature does not link, and reads at most the first
1 MiB. When the bytes end before any frame header, a `.jls` name gives
JPEG-LS and any other name gives JPEG.

craft-file-import routes `JpegLs` to its raster reader and lists `jls`
and `image/jls`, so a JPEG-LS file still imports as it did when it was
detected as JPEG.

Follows #1576.
2026-11-19 11:02:50 -08:00
Dylan M. Taylor 08da5e1486 anicraft-format: add write_version for explicit envelope version (#2420) 2026-11-19 14:00:33 -05:00
Dylan M. Taylor 8dbe9705ff psd: detect Lr16/Lr32 and Mt* merged transparency in Merged::open (#2412) 2026-11-19 13:11:21 -05:00
Dylan M. Taylor 5d422c4f9d zip: add symlink detection and streaming writer destinations (#2411)
* zip: add symlink detection and streaming writer destinations

* Reject legacy UTF-8 mode from generic ZIP finish_into
2026-11-19 13:11:18 -05:00
Dylan M. Taylor 41a9edd001 image-codecs: keep resolution probe fallback and container-only WebP EXIF scan (#2409) 2026-11-19 13:11:14 -05:00
aiongg ae0b772337 Merge pull request #2402 from aiongg/ci-keep-workspace-crates
ci: the Workspace gate keeps compiled workspace crates on its Linux leg
2026-11-19 12:53:45 -05:00
Dylan M. Taylor b041cd8224 Merge pull request #2407 from storytold/fix/svg-path-data-quads
svg: add parse_path_with_quads preserving quadratic segments
2026-11-19 12:40:00 -05:00
Dylan M. Taylor 5c496f6e96 zip: add SeekableArchive streaming reader and seekable entry-count guard (#2406) 2026-11-19 12:27:57 -05:00
Dylan M. Taylor 45da77942b svg: add parse_path_with_quads preserving quadratic segments 2026-11-19 11:52:55 -05:00
aiongg 7a040c1f3b ci: the Workspace gate keeps compiled workspace crates on its Linux leg
The Linux leg restores the newest rolling cache entry of the workspace
crates (cache-workspace-crates), so a pull request rebuilds only the
crates its change reaches. Each main run saves an entry of its own and
cache-prune deletes the older ones; the midnight scheduled run builds from
source and starts the entry afresh.

gate.yml's cache-workspace-crates covers a whole call, so the macOS and
Windows legs move to a call of their own with dependency-only entries. A
select platforms job decides whether that call runs, since an empty leg
list would fail it.

To fit the 10 GB cache budget, the lint legs and the sonarcloud
instrumented build keep no cache.
2026-11-19 16:02:38 +00:00
Dylan M. Taylor d7c9632bfb image-codecs: add jpeg_with_icc and jpeg_without_icc to jpeg_inks (#2400) 2026-11-19 10:53:18 -05:00
Dylan M. Taylor 48c57b5faf http-url: add parse_content_range (#2395) 2026-11-19 10:00:32 -05:00
Dylan M. Taylor cfadb66dbf midi: add live MIDI 1.0 channel-voice message decoder (#2392) 2026-11-19 10:00:27 -05:00
FredAppsandFredApps 30a568b97f image-codecs: expose raw BMP density probe (#2354) [skip ci]
Co-authored-by: FredApps <FredApps@users.noreply.github.com>
2026-11-19 21:26:09 +07:00
FredAppsandCodex 50b0ee7bf8 Expose structured palette errors for localized consumers (#2377) [skip ci]
Co-authored-by: Codex <codex@openai.com>
2026-11-19 20:36:51 +07:00
FredApps a0919f3cdb Merge pull request #2338 from FredApps/fix/786-psd-sold-prefix
PSD: stage borrowed descriptor and SoLd data framing
2026-11-19 20:12:01 +07:00
Dylan M. Taylor 1292300110 Merge pull request #1787 from el-j/feat/audio-dsd
craft-audio: DSD audio (DSF and DFF) to PCM
2026-11-19 06:54:33 -05:00
FredApps a49f56c504 Merge current video decoder main into PSD stack [skip ci] 2026-11-19 12:43:16 +01:00
FredApps 6d0aba2eeb Merge main HPGL fix into reviewed PSD stack [skip ci] 2026-11-19 12:41:44 +01:00
Dylan M. Taylor c260a6e1c3 Merge pull request #2351 from alehel/codex/video-track-remaining-decoders
craft-video: TrackDecoder for ProRes, DNx, APV, FFV1 and VP8 (#1231)
2026-11-19 06:36:08 -05:00
FredApps b963c7a6b1 Merge current main into reviewed PSD stack [skip ci] 2026-11-19 12:35:06 +01:00
FredAppsandCodex 8fc78247a6 Fix HPGL2 byte stream encoding (#2359) [skip ci]
* fix(plotter): preserve HP-GL/2 byte encoding and pen state [skip ci]

* test(plotter): cover PE continuation bytes and palette bounds [skip ci]

---------

Co-authored-by: Codex <codex@openai.com>
2026-11-19 18:34:11 +07:00
FredApps f86a51e6c7 psd: append borrowed TySh payload framing [skip ci] 2026-11-19 11:30:36 +01:00
Dylan M. Taylor 1acd07f6bc Merge pull request #2345 from storytold/dot/pkcs7-cms-inspection-private-20261119
craft-pkcs7: add bounded borrowed CMS wire inspection
2026-11-19 05:03:32 -05:00