Commit Graph
2533 Commits
Author SHA1 Message Date
alehelandClaude Opus 5.5 2ceddfd4ae ODT: a new style derives from the file's style under the file's name
A style WordCraft writes that the file didn't have, based on a style the
import read under another name (`Base_20_Style`, WordCraft's `BaseStyle`),
named WordCraft's name as its parent. That resolved to WordCraft's own copy
of the style, without what WordCraft doesn't model of the file's. Its parent
and next style now take the file's name for every style read under another
name (`kept::file_names`), not only where an unread namesake collides.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 21:46:56 +01:00
alehelandClaude Opus 5.5 9087ce027e ODT: a new style derives from the file's style beside an unread namesake
A style WordCraft writes that the file didn't have (one made after reading)
is added as written, so one based on a read style whose WordCraft name is an
unread style of the file's (`MyCustom` beside `My_20_Custom`) derived from
that namesake. Its parent and next style now take the file's name, as text
written from the model does. `kept::read_names` gives the names unescaped;
the writer escapes them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 18:21:28 +01:00
alehelandClaude Opus 5.5 116914c8f2 ODT: text written from the model names the file's style beside an unread namesake
A file style the import read (My_20_Custom) whose WordCraft name (MyCustom) is
another of the file's styles the import didn't read keeps that namesake's own
definition. A paragraph or text span written from the model now names the
file's style it was read with, directly or as its automatic style's parent,
instead of resolving to the namesake.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 18:13:20 +01:00
alehelandClaude Opus 5.5 96320ea146 ODT: an edited style keeps its parent's and an unread namesake's file definitions
An edited style the file names as WordCraft does (`Eigen`) was skipped by
the rewrite, so its parent kept WordCraft's name (`BaseStyle`) instead of
the file's (`Base_20_Style`). It is now rewritten like any other.

A style the import didn't read whose name is the one WordCraft writes a
read style under (`MyCustom` beside `My_20_Custom`) took that style's edit
or deletion. It now keeps its own definition.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 15:21:24 +01:00
alehelandClaude Opus 5.5 ed8c7c2621 ODT: a style or list change keeps the file's other definitions
Any style or list change threw away every definition in the file's
office:styles and wrote them all from the model, which does not hold
everything: gradients, fill pictures, styles the model doesn't have and
the default style's settings were lost.

The import now records, per office:styles child, a hash of what the
writer would write for it (KeptXml::style_prints, replacing the single
styles_fp fingerprint) and which of the file's style names it read into
which style id (KeptXml::style_ids). A save rewrites only the
definitions whose hash changed, under the file's own names, escaped,
with parent and next style named as the file named them; a deleted
style stays deleted; everything else is written as read.

Ported from storytold/wordcraft#5702 (the ODT reader and writer now
live here).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 21:57:18 +01:00
Dylan M. Taylor 30596f73c5 Merge pull request #1707 from storytold/extract/wav-marker-metadata
audio: extract WAV cue, adtl, RF64 and XMP marker metadata
2026-11-15 15:43:10 -05:00
Dylan M. Taylor 589842f0da Merge pull request #1702 from storytold/extract/psd-guides-v2
craft-psd: share Grid and Guides v2 record decoding
2026-11-15 15:18:52 -05:00
Dylan M. Taylor 7d39dc4df2 Merge pull request #1145 from vangel76/feat/mxf-cinemadng
MXF: CinemaDNG pictures can be read and written
2026-11-15 14:22:04 -05:00
Dylan M. Taylor 654e8d55e1 Merge pull request #1611 from storytold/codex/bento-public
aaf: expose bounded Bento container access
2026-11-15 14:11:15 -05:00
Dylan M. Taylor cae7c1d8a6 Share Samsung SEF repair and JPEG EOI inspection (#1640)
* Expose tolerant JPEG marker inspection

* Export JPEG inspection API

* Factor JPEG inspection fields from shared walker

* Share ICC chunk collection between JPEG inspection modes

* Cover JPEG MPF and gain-map inspection

* Expose MPF index inspection for located payloads

* Cover located MPF index parity

* Preserve bounded MPF index directory validation

* Share Samsung SEF repair and JPEG EOI inspection

* Cover JPEG scan byte search
2026-11-15 13:57:49 -05:00
Dylan M. Taylor e7c96161dd Share JPEG marker and MPF index inspection (#1634)
* Expose tolerant JPEG marker inspection

* Export JPEG inspection API

* Factor JPEG inspection fields from shared walker

* Share ICC chunk collection between JPEG inspection modes

* Cover JPEG MPF and gain-map inspection

* Expose MPF index inspection for located payloads

* Cover located MPF index parity

* Preserve bounded MPF index directory validation
2026-11-15 13:51:53 -05:00
Dylan M. Taylor 3f4de9ca11 Merge pull request #1637 from storytold/codex/adts-asc-config
audio: expose ASC prefix to ADTS configuration
2026-11-15 13:36:24 -05:00
Dylan M. Taylor 7738cc6c68 Merge pull request #1639 from storytold/codex/dng-ljpeg-lines
raw: share line-restart lossless JPEG decoder
2026-11-15 13:36:14 -05:00
Dylan M. Taylor 1fdc42e5d6 Merge pull request #1626 from storytold/codex/exr-zlib
exr: share ZIP chunk compression
2026-11-15 13:17:40 -05:00
Bram Heerink 6d590ce432 Extract PSD guide resource decoding for shared consumers
Adapt PhotoCraft f49564d281bf8892db58ed154767717223aff4f6 to a validated allocation-free iterator; retain caller-owned guide policy.
2026-11-15 13:17:03 -05:00
FredAppsandDylan M. Taylor 8bd1412eaa craft-dxf: add VectorCraft's ASCII drawing writer (#1588)
* craft-dxf: add VectorCraft's ASCII drawing writer

Move the incremental file writer from vectorcraft-cad (crates/cad/src/writer.rs)
into craft_dxf::drawing. It writes the HEADER/TABLES/BLOCKS/OBJECTS skeleton
around a pre-built ENTITIES section, which is the format API VectorCraft's
scene mapper already uses. The existing model::write tag serializer is
unchanged.

Golden files lock the bytes for empty and one-LINE drawings in R12, 2000 and
2018. Part of #791 / #778.

* test(dxf): preserve exact golden bytes on Windows checkout

* fix(dxf): preserve BYBLOCK and use valid image dictionary keys

* test(dxf): clone images before write in dictionary-key test

Drawing::write takes self, so the assertions have to use a clone of
the image list. The rest of the test is unchanged.

---------

Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-15 19:07:46 +01:00
Dylan M. Taylor d181e08d3d Read selected merged PSD planes without parsing layers (#1623)
* Read selected merged PSD planes without parsing layers

* Validate merged PSD payload bounds without decoding

* Expose declared dimensions for limit reporting

* Cover complete and truncated merged payloads
2026-11-15 13:04:18 -05:00
Dylan M. Taylor 9ed120e6b1 Merge pull request #1622 from storytold/codex/dxf-mtext-tokenizer
Add streaming MTEXT lexical tokens
2026-11-15 13:01:02 -05:00
Dylan M. Taylor 16d838105b Write flat PSD from borrowed samples (#1620)
* Write flat PSD from borrowed interleaved samples

* Cover multiple PSD rows and planes

* Document flat PSD inputs and satisfy lint
2026-11-15 12:59:08 -05:00
Dylan M. Taylor e56b4e3cd4 Deduplicate EXIF orientation and ColorSpace through craft-metadata (#1465)
Extract the remaining metadata delegation from #1198 after #1331 landed the raster facade changes. Preserve current image-codecs API, pixel transforms, docs and regression tests; omit unrelated resolution reexports and TIFF cleanup.

Original-change: 1d52e89405
2026-11-15 12:55:47 -05:00
Dylan M. Taylor 0d87f371ad Merge pull request #1591 from el-j/feat/captions-ass
craft-captions: ASS and SSA subtitles
2026-11-15 12:51:03 -05:00
Dylan M. Taylor 993749338d Merge pull request #1618 from storytold/codex/aaf-property-bound
aaf: bound duplicate property detection work
2026-11-15 12:49:45 -05:00
Dylan M. Taylor 7b7568d95e Merge pull request #1608 from storytold/codex/wav-range-cutover
audio: share bounded range-backed WAV PCM access
2026-11-15 12:49:32 -05:00
Dylan M. Taylor 10f0fac31c Merge pull request #1619 from storytold/codex/dxf-mtext-escapes
Share MTEXT Unicode and MIF escape decoding
2026-11-15 12:38:03 -05:00
Dylan M. Taylor c9de09877b Share bounded BMP coverage inspection (#1610) 2026-11-15 12:29:34 -05:00
Dylan M. Taylor 8503f24cb8 Merge pull request #1595 from storytold/extract/cms-srgb-v2
cms: share the byte-compatible ICC v2 sRGB generator
2026-11-15 12:23:08 -05:00
Dylan M. Taylor 2d0d993c6d Merge pull request #1594 from storytold/feat/psd-tysh-envelope
psd: share editable TySh binary envelope
2026-11-15 12:23:02 -05:00
Dylan M. Taylor f5a22a008c Merge pull request #1576 from el-j/feat/image-codecs-jpegls
craft-image-codecs: JPEG-LS reader and writer
2026-11-15 12:22:57 -05:00
Dylan M. Taylor d1f67cae22 Merge pull request #1578 from el-j/feat/video-ffv1
craft-video: FFV1 lossless video (version 3, range coder) decoder and encoder
2026-11-15 12:22:53 -05:00
Dylan M. Taylor adf049efb3 Merge pull request #1572 from el-j/feat/audio-qoa
craft-audio: QOA (Quite OK Audio) decoder and encoder
2026-11-15 12:22:50 -05:00
Dylan M. Taylor 0325b2d736 Merge pull request #1606 from storytold/codex/base64-legacy-compatible
Add opt-in legacy Base64 compatibility
2026-11-15 12:17:04 -05:00
Dylan M. Taylor b6222158fb Merge pull request #1604 from storytold/codex/mcp-policy
Support configurable legacy MCP sessions and envelopes
2026-11-15 12:14:36 -05:00
Dylan M. Taylor c4c4547b7b Merge pull request #1602 from storytold/codex/svg-neutral-document
Share streaming SVG primitives and drawing output
2026-11-15 12:10:47 -05:00
Dylan M. Taylor b84bce6ef6 Merge pull request #1607 from storytold/codex/shared-png-header
Share PNG header and color chunk inspection
2026-11-15 12:08:10 -05:00
Dylan M. Taylor 86a206d6cd aaf: exercise default Bento writer API 2026-11-15 17:07:46 +00:00
Dylan M. Taylor 9eb96c47e0 Merge pull request #1199 from storytold/codex/craft-svg-photo-preflight
Expose shared SVG preflight and viewport rewrite
2026-11-15 11:49:35 -05:00
Dylan M. Taylor b0d84cd15d Merge pull request #1598 from storytold/codex/vectorcraft-streaming-envelope
Share VectorCraft streaming envelope helpers
2026-11-15 11:48:48 -05:00
Dylan M. Taylor c0fd5d610a Use fixed-size array chunks for RGBA layout inspection 2026-11-15 11:40:54 -05:00
Dylan M. Taylor d16ee7926c raw: share line-restart lossless JPEG decoder 2026-11-15 16:36:35 +00:00
Dylan M. Taylor 25b1cf2b6f audio: expose validated ADTS configuration fields 2026-11-15 16:30:22 +00:00
Dylan M. Taylor b958ba705f audio: expose ASC prefix to ADTS configuration 2026-11-15 16:29:38 +00:00
Dylan M. Taylor c376774f15 Merge pull request #1579 from storytold/codex/tcraft-stream-format
Share streaming TextureCraft tile payloads
2026-11-15 11:27:35 -05:00
Dylan M. Taylor fc54b56b65 Read CinemaDNG RGBA component depth and reference levels 2026-11-15 11:17:54 -05:00
Dylan M. Taylor ab37b756cc exr: fix compressor test helper lint 2026-11-15 16:16:31 +00:00
Dylan M. Taylor 25c7a8959c Merge pull request #1599 from storytold/codex/svg-fixed-viewbox
Support fixed-precision SVG scene coordinates
2026-11-15 11:09:10 -05:00
Dylan M. Taylor f31e878c6e exr: share ZIP chunk compression 2026-11-15 16:08:57 +00:00
Dylan M. Taylor d3024d0cd5 fix(captions): preserve literal ASS escapes and normalize newlines 2026-11-15 11:05:39 -05:00
Dylan M. Taylor b1d4c67196 Add streaming MTEXT lexical tokens 2026-11-15 16:02:52 +00:00
Dylan M. Taylor 8dcdca5476 Merge pull request #1597 from storytold/codex/shared-segmented-gzip
Share streaming gzip writer with stored segments
2026-11-15 11:02:33 -05:00
Dylan M. Taylor c393428049 Merge pull request #1461 from storytold/fix/png-bounded-row-stream
image-codecs: bound PNG row streaming without a full-frame allocation
2026-11-15 11:01:29 -05:00