Commit Graph
4 Commits
Author SHA1 Message Date
r31lin 8d5b02457e document-bundle: turn a non-zip file away after four bytes in read_preview_from
The zip reader searches a whole file for an end-of-directory record
before it gives up on a file that isn't a zip. DesignCraft reads the
preview of every recent file this way before the start screen's first
frame: 2.6 s for a local 110 MB InDesign document, 43 s on a network
share.

read_preview_from now checks the zip local-file header first.

Fixes #2031
2026-11-17 12:21:21 +01:00
aiongg b1b4602a71 designcraft-format: linked assets, proxy previews, streaming write (format 5) (#1264)
* designcraft-format v5: linked assets, proxy previews, streaming write_to

* Skip bytes of linked assets, latch writer errors, charge failed proxy reads
2026-11-14 02:12:23 -05:00
Dylan M. Taylor dc20b58f01 Bound document bundle asset reads 2026-11-12 19:19:53 -05:00
Dylan M. Taylor ef01d69f7d Shared document bundle package IO 2026-11-12 19:11:55 -05:00