Commit Graph
8520 Commits
Author SHA1 Message Date
FredApps 89e96d2790 raw: opcodes::parse_list/write_list use the opcode_raw envelope walker and encoder
One opcode-list envelope implementation: opcode_raw::Records walks the records (stopping at a
truncated one) for both the strict opcode_raw::parse and the typed opcodes::parse_list, and
opcodes::write_list encodes through opcode_raw::encode instead of truncating lengths with as.
2026-11-16 08:32:10 +01:00
FredApps 456b7d5b35 Merge remote-tracking branch 'origin/codex/shared-dng-raw' into w1645 2026-11-16 08:30:57 +01:00
FredApps e8aed7cfa6 image-codecs: find the JPEG EXIF APP1 by walking segments and bound the copy by its length
An Exif signature inside a COM segment was taken for the EXIF APP1, and the copy was checked
only against the end of the file, so a replacement longer than the APP1 overwrote the next
marker. Walk the header segments to the first EXIF APP1 and copy only within its declared length.
2026-11-16 08:30:28 +01:00
FredApps 59d28093e6 raw: dng_lines reuses the DNG reader's unpackers and JPEG decoder, drops the image dependency
- uncompressed rows go through crate::unpack (read_u16s / unpack_msb), as in dng.rs
- lossy JPEG tiles (34892) use tiffraw::lossy_jpeg_with_tile (zune-jpeg) with its tile-size checks
- line-dng now implies dng instead of pulling in image
- tests: every layout and compression read against the full reader, refusals, unpack depths
2026-11-16 08:27:55 +01:00
FredApps 3fd0383c81 Merge remote-tracking branch 'origin/main' into w1644 2026-11-16 08:20:40 +01:00
FredApps 4ffa307f1a Merge pull request #1407 from AlexChambers/craft-heif/primary-item-metadata
craft-heif: items reads the primary image's EXIF and XMP; add scan for every metadata item
2026-11-16 08:19:32 +01:00
Andy Ching 741192a57c craft-docx: write Word 2010 shapes inside mc:AlternateContent with a VML fallback
A shape was written as a bare `wps:wsp` in `w:drawing`. Word 2007, and
Word 2000-2003 with the Office Compatibility Pack, don't know `wps` and
refuse the whole file. Word writes such shapes in `mc:AlternateContent`.

`write_shape` now guards the drawing with `mc:Choice Requires="wps"` and,
for rectangles, text boxes, rounded rectangles and ellipses, adds an
`mc:Fallback` with the shape as VML: size, position, z-order, wrapping,
fill, outline and the text box's text (copied from the choice's output,
so the story isn't written twice). Other kinds get no fallback; an old
reader skips that shape and still opens the file.

Refs storytold/wordcraft#6849
2026-11-16 15:15:06 +08:00
FredApps 15aaced60a fix(exr): bound the display decoder by its largest block, not the whole part
decode_display_part refused a part whose data window across all channels
exceeded max_bytes, even when the kept planes fit. The EXR crate decompresses
one block at a time, so bound the largest all-channel block (a tile within the
data window, or one scan-line group across it) instead. Large multi-layer
files whose picture planes fit now decode; the selected-plane and file
capacity checks are unchanged.
2026-11-16 07:47:17 +01:00
FredApps d01d8e5f70 timeline: order fcpxml export after its limited form (Sonar duplication with otio) 2026-11-16 07:37:34 +01:00
FredApps 00149f5d83 Merge remote-tracking branch 'origin/main' into w1728
# Conflicts:
#	crates/mesh/src/tests/fbx.rs
2026-11-16 07:09:12 +01:00
FredApps 5acfead5b6 text: cover the paragraph composer's justified, hyphen-limit, credit and measure paths 2026-11-16 07:08:34 +01:00
FredApps ae150f240b Merge remote-tracking branch 'origin/main' into w1733 2026-11-16 07:07:19 +01:00
FredApps 3a85d8b69a Merge pull request #1725 from storytold/codex/shared-positioned-glyph
Share composed glyph model and caret placement
2026-11-16 07:06:59 +01:00
FredApps 281508dc4b timeline: share one limited-push path for report levels; keep transition diagnostic levels; cover export limit 2026-11-16 07:06:09 +01:00
FredApps 5f3851a2ee Merge remote-tracking branch 'origin/main' into w1681 2026-11-16 07:05:24 +01:00
FredApps 82062077bb Merge pull request #1697 from storytold/codex/codec-config-fields
Share video and audio codec configuration fields
2026-11-16 07:05:00 +01:00
FredApps a380d33f46 Merge pull request #1699 from storytold/codex/lpcm-shared
Share DVD and Blu-ray LPCM decoding
2026-11-16 07:04:47 +01:00
Dylan M. Taylor 4f9c4dd7aa Merge pull request #1816 from storytold/fix/wmf-frame-target
fix(metafile): support WMF mapping records without resizing the frame
2026-11-16 01:04:32 -05:00
FredApps 13d9da9697 Merge remote-tracking branch 'origin/main' into w1670
# Conflicts:
#	.github/workflows/sonarcloud.yml
2026-11-16 06:58:34 +01:00
FredApps 51b074a35a Merge pull request #1627 from storytold/pr-solidcraft-format
feat: add craft-format (versioned JSON file formats)
2026-11-16 06:55:33 +01:00
FredApps 3c78b4d670 Merge remote-tracking branch 'origin/main' into w1646
# Conflicts:
#	crates/image-codecs/src/codecs/jpeg.rs
#	crates/image-codecs/src/lib.rs
2026-11-16 06:48:43 +01:00
FredApps a1540d3039 Merge pull request #1696 from storytold/codex/psd-head-metadata
Share PSD EXIF and XMP resource selection
2026-11-16 06:48:01 +01:00
FredApps 791561953d Merge pull request #1686 from storytold/codex/exif-ifd0-orientation
Expose compatible first-IFD orientation lookup
2026-11-16 06:47:48 +01:00
FredApps 763312c0a4 Merge pull request #1777 from storytold/fredapps/i778-fbx-batch
mesh: land the FBX import batch (#1719 #1717 #1703 #1704 #1705 #1701 #1714 #1706 #1711)
2026-11-16 06:35:01 +01:00
Dylan M. Taylor 8644532ed7 fix(metafile): preserve viewport scaling before inferred target 2026-11-16 00:05:09 -05:00
aiongg 7ca2ec0a0e Move items to the layer that owns them: pointer art and surround painting up to primitives, member_gesture_running next to the arena members, gesture_key down to runtime::edit; the font defaults test no longer needs a system emoji font 2026-11-16 04:56:54 +00:00
Dylan M. Taylor 7585d2df79 fix(metafile): retain WMF player target across viewport scaling 2026-11-15 23:50:34 -05:00
Hamza aaa7230822 craft-metafile: WMF scale and offset mapping records
META_SCALEVIEWPORTEXT, META_SCALEWINDOWEXT, META_OFFSETVIEWPORTORG and
META_OFFSETWINDOWORG were skipped, so a WMF that draws sub-pictures into
parts of its frame (each halving the viewport between SaveDC and RestoreDC)
stretched the first one over the whole frame and drew the next outside it
(storytold/deckcraft#2069).
2026-11-15 23:50:11 -05:00
Dylan M. Taylor 5c91598ccc Merge pull request #1807 from storytold/fix/av1-zero-quantizer
fix(video): preserve explicit rav1e zero quantizer
2026-11-15 23:44:40 -05:00
FredApps 5e780f24e1 fbx package: refuse an oversized model up front and stop resolving once the byte limit is passed 2026-11-16 05:26:28 +01:00
FredApps 4f75e7ccbc Merge remote-tracking branch 'origin/main' into w1777 2026-11-16 05:26:28 +01:00
Dylan M. Taylor 4374003c36 raw: reject zero-pitch public opcode area iterators 2026-11-15 23:26:23 -05:00
FredApps 75017e2bdf craft-format: multi-line step detection, budget keeps every byte read, unreadable-entry test, place match when no identity survives 2026-11-16 05:25:45 +01:00
FredApps 009c8d23b3 Merge remote-tracking branch 'origin/main' into w1627 2026-11-16 05:25:45 +01:00
Dylan M. Taylor 0050743b99 Merge pull request #1798 from storytold/feat/smf-raw-timed-writer
MIDI: share bounded source-timed SMF framing for LoopCraft
2026-11-15 23:24:44 -05:00
FredApps f299664d7c craft-format: string-aware step detection, live expanded budget, unreadable names refused, retention identity fixes 2026-11-16 05:07:48 +01:00
FredApps b9636d757a Merge remote-tracking branch 'origin/main' into w1627 2026-11-16 05:06:49 +01:00
FredApps 2ecbd1e9cd fbx: integer index arrays in strict mode, cache package textures, set-based missing dedup 2026-11-16 05:04:55 +01:00
FredApps b203dc6705 Merge remote-tracking branch 'origin/main' into w1777 2026-11-16 05:04:55 +01:00
FredApps b3643af647 Merge pull request #1616 from storytold/codex/omf-bounds
aaf: preserve bounded FilmCraft OMF traversal
2026-11-16 04:50:18 +01:00
aiongg 286c5d0ecd Fix CI lints: ungate ChordChip sample, rustdoc links, level table, api-map, facade features, components index 2026-11-16 03:49:11 +00:00
FredApps a499742a93 Merge pull request #1779 from storytold/image-codecs/jpeg-stored-inks
feat(image-codecs): read four-component JPEGs as stored inks
2026-11-16 04:48:49 +01:00
FredApps a64f5a6e4a Merge pull request #1621 from storytold/codex/pcm-export-shared
audio: share streaming PCM export encoding
2026-11-16 04:48:11 +01:00
FredApps 07b5e88dce craft-format: block comments in step detection, room past budget, configured Deflate level, duplicate names, cached limits, whole-section/identity/top-level retention 2026-11-16 04:42:51 +01:00
batistalucasv 2e5e69091a craft-odf: preserve page background bitmap fill and legacy fallback (#1784)
- Preserves page background images and bitmap fills (`draw:fill="bitmap"`) alongside legacy `<style:background-image>` fallbacks on ODT export, preventing orphaned duplicate backgrounds and resolving naming collisions with header pictures.
- Reuses kept picture files or fill images with identical bytes on export instead of duplicating background files and definitions on every save.
- Allocates distinct fill names for replaced page pictures and maps colliding names in linear time.
- Falls back to legacy `<style:background-image>` when modern bitmap fill is missing or contains non-image bytes.
- Adds comprehensive round-trip tests in `crates/odf/src/text/tests_more/page_setup.rs`.
2026-11-16 00:41:54 -03:00
FredApps 1d2cd4a9b2 Merge remote-tracking branch 'origin/main' into w1627 2026-11-16 04:41:16 +01:00
FredApps 0479988f65 fbx package: entry limit counts only resolved textures; report overflow before the no-texture return 2026-11-16 04:39:34 +01:00
FredApps 232c2aa1f6 Merge remote-tracking branch 'origin/main' into w1777 2026-11-16 04:39:34 +01:00
FredApps aa6f41a3c8 Merge pull request #1732 from storytold/codex/jsonrpc-async-coverage
Cover optional JSON-RPC async line transport
2026-11-16 04:38:46 +01:00
FredApps 5a86ef0f26 Merge pull request #1692 from storytold/codex/shared-raw-video
Share uncompressed AVI and QuickTime sample decoding
2026-11-16 04:38:34 +01:00