Commit Graph
24 Commits
Author SHA1 Message Date
aiongg cf35f7dbae Merge remote-tracking branch 'upstream/main' into next-sync-1123
# Conflicts:
#	Cargo.toml
#	crates/audio/src/track.rs
2026-11-23 01:29:52 +00:00
Terra854 ba25ccd233 Honor initial GIF and WebP frame budgets (#2843) 2026-11-21 13:00:24 -05:00
Terra854 bb30de6b91 Keep GIF graphic control with its rendering block (#2848)
* Keep GIF graphic control with its rendering block

* gif: apply text control scope during frame decoding
2026-11-21 13:00:21 -05:00
aiongg dffc61a7e0 Merge storytold main 832883b5 (sync 16 Nov)
961 upstream commits since 7bb6c900. Resolutions:
- Test-only conflicts: upstream tests from before the base that our side
  cut stay cut; tests new upstream are kept (audio aac/config, layout,
  encode_format; cms lutfile; media mux; print windows_native, ticket;
  update self_update; xml hostile).
- Code our side moved, with upstream's change carried to the new place:
  craft-media mux roll sample groups (mux/boxes.rs) and writer-start
  offsets with overflow checks (mux/progressive.rs); craft-print's
  shrink-to-fit scale guard (sheets/plan.rs); craft-update's nextest
  archive detection (self_update/detect.rs); craft-vectorcraft-format's
  Tail::write_to_with (container.rs); craft-i18n's pedantic fixes
  (bidi.rs, negotiation.rs).
- craft-ui: the old crate's modules stay removed; gpu_test_lock guarded
  their per-test wgpu renderers, which the snapshot kit does not have.
- New upstream tests in crates that build their integration tests into
  the library's test executable are modules of tests/main.rs (audio
  flac_decode and qoa_oracle, cms, docpath, pcraft-format,
  vectorcraft-format).
- The 22 new crates are optional members of the craft facade.
2026-11-16 01:52:09 +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
aiongg deeb91802f Lints: doc links, test lint allowances, struct update in tests, wildcard imports, dead code 2026-11-14 02:35:35 +00:00
Dylan M. Taylor 543e5d4983 Validate GIF frame length before copying 2026-11-14 00:34:24 +00:00
Dylan M. Taylor d5e9fd7a49 Preserve GIF writer default disposal 2026-11-13 23:37:55 +00:00
Dylan M. Taylor 86621fbab3 Keep GIF render batches palette-quantized 2026-11-13 22:49:33 +00:00
Dylan M. Taylor f399135165 Merge remote-tracking branch 'origin/main' into codex/gif-animation-writer 2026-11-13 22:22:08 +00:00
Dylan M. Taylor 6159ef9c39 Bound streaming GIF writer lifecycle 2026-11-13 22:09:54 +00:00
Dylan M. Taylor 8b8603c6e7 Support streaming animated GIF output 2026-11-13 22:08:57 +00:00
Dylan M. Taylor 2b4f6b4f87 Add shared animated GIF writer 2026-11-13 22:05:00 +00:00
Dylan M. Taylor 74337e8fc5 fix(gif): report frame cap after merging 2026-11-13 21:27:44 +00:00
Dylan M. Taylor 830e897714 Merge craft-libs main after GIF limits 2026-11-13 21:09:43 +00:00
Dylan M. Taylor 669d62e755 docs(gif): clarify combined allocation budget 2026-11-13 20:36:02 +00:00
Dylan M. Taylor ededdd75c9 gif: expose first-frame data byte count 2026-11-13 19:51:49 +00:00
Dylan M. Taylor 0b73ba5337 Clarify GIF decoder combined allocation budget 2026-11-13 19:43:38 +00:00
Dylan M. Taylor 3c51d88330 gif: stop at requested frame limit 2026-11-13 19:20:05 +00:00
Dylan M. Taylor a8b889fe2a gif: expose bounded first-frame pixel coverage and ICC metadata 2026-11-13 19:16:25 +00:00
Dylan M. Taylor 9496c93881 fix: classify gif limits and clarify webp canvas cap 2026-11-13 19:04:36 +00:00
Dylan M. Taylor 70451cf4db feat: cap individual gif and webp frame decode allocations 2026-11-13 19:04:36 +00:00
Dylan M. Taylor aa84415bae craft-gif, craft-webp: bounded frame decoding through the image crate (feature frames) (#1028)
* craft-gif: bounded frame decoding through the image crate (feature frames)

* craft-webp: bounded frame decoding through the image crate (feature frames)

Like craft-gif's: every frame composited, a still as one frame, canvas cap
checked from the headers, stops at the frame or byte limit or at a damaged
frame and says which, optional merging of identical frames.
2026-11-11 20:43:12 -05:00
Dylan M. Taylor 77591e5efb craft-gif: GIF block reader (#939)
One walk over a GIF's blocks, without decompressing pixels: the logical
screen, each frame's position, delay, disposal and transparent colour, the
loop count and the first frame's colour table. Replaces PhotoCraft's two
block walkers and gives the other apps a header-only animation probe.
2026-11-11 18:53:16 -05:00