A stream cut just after the SlideAtom's header left an atom with no
body, which counted as kept: the slide read blank and nothing was named
lost. A slide is now kept only when its atom gives its id and its
master's.
PowerPoint 95 writes a slide's SlideAtom first. A slide record without
one is what a file cut just after the slide's header leaves; it read as
a blank slide, and import_checked reported nothing lost. It is now left
out, as the PowerPoint 97 path leaves out the slides it lost, and named
by its position.
The detector took any root whose first child was a Document, so an empty
Document read as a deck with no slides instead of being damaged. It now
also needs a DocumentAtom long enough for its slide count.
import_checked names the slides that count says are missing, by position,
so a cut-short file no longer reads as whole.
TooOld no longer promises every file before PowerPoint 95: a file that
isn't a compound file is NotPpt, and no earlier file was tried.
The slide box's bytes at +16 and +17 are whether a slide shows the master's objects and uses the
master's colour scheme: turning the master's objects off on one slide clears the first, and giving
one slide its own scheme clears the second. A slide following the master's scheme now takes the
master's colours rather than the copy it holds.
Each master becomes a copy of the caller's default master with its layouts, so a file listing
many masters is held to 256 rather than the slides' 65,536.
PowerPoint 95 files use 16-byte record headers and a single record tree
instead of an edit chain. A stream that starts with that tree now takes
its own path: the slide size, each master as the caller's default master
with the file's colour scheme as its theme, and the slides in order with
their master, layout type and, when they don't follow the master's, a
solid background. Shapes, text, pictures and notes come in later steps,
so the slides are empty. Anything else keeps the PowerPoint 97 path,
whose TooOld error now names PowerPoint 4.0 and earlier.
* craft-develop, craft-color-transform: deduplicate spline, add 1024-entry Lut1::compose_len, spaces, and warm-green WB test
* cct: check bradford identity and matrix tolerance in warm-green WB test
* style(color-transform): fix clippy needless_range_loop in cct test
* video: add TrackDecoderOptions, with_threads, and set_draft on TrackDecoder (#778)
* fix(video): allow unused opts when decoder features disabled
* video: fix unreachable pattern in TrackDecoder::set_draft and verify inner state on reset
* fix(video): allow irrefutable_let_patterns when single decoder feature enabled
* fix(video): remove nonexistent hevc/av1 Decoder::threads test getters
* style(video): allow clippy::cognitive_complexity in track options test
* craft-usd: extract neutral USDA/USDC scene, prim, and layer read/write (#778)
* chore: update Cargo.lock for craft-usd
* craft-usd: add integration tests for USDA/USDC scene read/write (#778)
* fix(usd): use asset-only external reference syntax in scene test
* test(usd): include Shader child prim for material surface target in neutral layer test
* 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
* 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
* 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
* 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
* 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>
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>
* 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.
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.
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.