Commit Graph
4067 Commits
Author SHA1 Message Date
FredApps 8014b39bfc Merge pull request #2378 from trufae/fix/raw-nef-packed-guard
craft-raw: simplify NEF packed-layout eligibility
2026-11-20 13:41:41 +07:00
FredApps 385988d9a4 Merge pull request #2346 from OPUZZLES/opuzzles/html-rowspan-zero
craft-html: keep zero row spans in their row group
2026-11-20 13:36:07 +07:00
FredApps 63ed548b69 Merge pull request #2380 from trufae/fix/raw-orf-crop-coordinates
craft-raw: reject narrowing ORF crop coordinates
2026-11-20 13:35:05 +07:00
FredApps 2e45aeeee5 Merge pull request #2192 from Morzilla/docx-grid-from-cells
craft-docx: a table without w:tblGrid takes its grid from its cells, as Word rebuilds it
2026-11-20 13:33:59 +07:00
FredApps b93d7ca706 Merge pull request #2180 from dotCooCoo/fix/number-format-trailing-spaces
wordmodel: number formats keep a trailing space that is part of the code
2026-11-20 13:29:45 +07:00
FredApps 946094d5cf Merge pull request #2505 from OPUZZLES/opuzzles/rtf-prior-paragraph-layout
RTF: retain prior paragraph layout in tracked changes
2026-11-20 13:22:28 +07:00
Dylan M. Taylor a0afd7bbd2 Merge pull request #2013 from dotCooCoo/feat/audio-dsp
Add craft-audio-dsp: compressor, limiter, equalizer, loudness meter and other effects
2026-11-20 01:20:58 -05:00
FredApps 407e4a41b8 Merge pull request #2190 from arnav-hiwarkar/fix/3831-spi3d-allocate-after-rows
cms: validate SPI3D rows before reserving the lattice
2026-11-20 13:19:20 +07:00
Dylan M. Taylor 0c6b195efe craft-zip: add SeekableArchive::has_duplicate_names_matching and duplicate_names (#2511)
* craft-zip: add SeekableArchive::has_duplicate_names_matching and duplicate_names

* craft-zip: use zip::ZipWriter in duplicate-names test

* craft-zip: patch second entry name in duplicate-names test
2026-11-20 01:15:20 -05:00
FredApps d042b09745 Merge pull request #2510 from OPUZZLES/opuzzles/docx-picture-soft-edge-roundtrip
DOCX: preserve imported picture soft edges
2026-11-20 13:09:33 +07:00
Rees d6e13ee891 Count empty rows when resolving HTML zero row spans 2026-11-20 07:05:38 +01:00
FredApps 9867c5ac13 Merge pull request #2347 from OPUZZLES/opuzzles/docx-screentips
craft-docx: preserve bounded hyperlink ScreenTips
2026-11-20 12:54:14 +07:00
FredApps e956256f1d Merge pull request #2349 from OPUZZLES/opuzzles/docx-mail-merge
Preserve external DOCX mail-merge source relationships
2026-11-20 12:51:44 +07:00
FredApps 796d915ba9 Merge pull request #2445 from MMexicann/patch-4
DOCX: save the current zoom when merging retained settings
2026-11-20 12:47:19 +07:00
FredApps ceb5c69e7c Merge pull request #2492 from keithcsqueensu/ppt-trapezoid
craft-ppt-binary: OfficeArt trapezoids face the right way
2026-11-20 12:39:29 +07:00
FredApps 726b5b1184 Merge pull request #2450 from mmazzieri/fix/doc-layout-in-cell
craft-doc-binary: read Layout in table cell from a shape's properties
2026-11-20 12:27:44 +07:00
Dylan M. Taylor cbf62cb2ce Merge branch 'main' into feat/audio-dsp 2026-11-20 00:26:12 -05:00
FredApps 5a913a42ab Merge pull request #2449 from mmazzieri/fix/vml-allowincell
craft-docx: a VML shape in a body table cell keeps Layout in table cell off
2026-11-20 12:21:02 +07:00
Rees 8eae257cf3 DOCX #2532: preserve imported picture soft edges 2026-11-20 05:59:01 +01:00
FredApps 0a385b97df Merge pull request #2441 from MMexicann/patch-2
fix(ipp): decode language-tagged attribute text
2026-11-20 11:58:14 +07:00
Dylan M. Taylor a6e9a7e6c5 craft-pdf: add font wire builders (FontDescriptor, font stream, CID, ToUnicode) (#2499)
* craft-pdf: add font wire builders (FontDescriptor, font stream, CID, ToUnicode)

* craft-pdf: match Object::Stream in wire unit test

* craft-pdf: split doc.add borrow in wire unit test
2026-11-19 23:56:13 -05:00
FredApps c0eb1b6277 Merge pull request #1162 from keithcsqueensu/math-ports
craft-math: linear-format and OMML writer fixes (ports of wordcraft#6080–#6085, #6230, #6236)
2026-11-20 11:55:26 +07:00
Dylan M. Taylor b92907f69d idml: add reusable schema emission helpers for remaining IDML parts (#778) (#2501)
* idml: add reusable schema emission helpers for remaining IDML parts (#778)

* fix(idml): remove duplicate push_prefixed_attrs on FillValues
2026-11-19 23:48:59 -05:00
Dylan M. Taylor 4e1983238a Merge branch 'main' into feat/audio-dsp 2026-11-19 23:48:41 -05:00
Dylan M. Taylor c470ed170d hayro-interpret: restore FormXObject RESOURCES presence check and Indexed image recovery in x_object.rs (#2497)
* hayro-interpret: port remaining pdfcraft resource-scope, indexed-image, and text-clip patches

* hayro-interpret: keep craft-libs resource-scope and text contracts; retain x_object.rs fixes
2026-11-19 23:46:01 -05:00
Rees 0b26d31fec RTF #2915: preserve prior paragraph layout in tracked changes 2026-11-20 05:45:58 +01:00
Dylan M. Taylor 380a2f79f6 craft-sbs: share SBS package/schema read/write, sniffing, URI resolution, and embedded codec (#2496)
* sbs: add craft-sbs crate for SBS package/schema read/write

* craft-sbs: fix roxmltree 0.21 ParsingOptions and test imports
2026-11-19 23:40:51 -05:00
Dylan M. Taylor a7c6c9d61c image-codecs: extract JPEG and JP2 embedding probes (#2498) 2026-11-19 23:32:11 -05:00
Dylan M. Taylor f4c242fe21 test(raw): ensure CARGO_TARGET_TMPDIR exists in decode_report FixtureDir (#2502) 2026-11-19 23:32:07 -05:00
Dylan M. Taylor cfcc86242d ps(write): add line style, smooth shading, and image stream helpers (#2500) 2026-11-19 23:23:02 -05:00
Dylan M. Taylor d0193d7e94 craft-rtf: add OutlineWriter for PowerPoint-compatible Outline/RTF (refs #778) (#2494) 2026-11-19 23:15:41 -05:00
Dylan M. Taylor d7a1a6aec6 Merge branch 'main' into feat/audio-dsp 2026-11-19 22:48:18 -05:00
kiwi4boy b8879a2b0c ppt-binary: OfficeArt trapezoids face the right way (#2491)
OfficeArt's trapezoid (shape type 8) is wide at the top; DrawingML's trapezoid preset is wide at
the bottom, so mapping one to the other turned the shape upside down. It is now the custom outline
PowerPoint writes when it saves such a shape as .pptx: the full width along the top, the bottom
inset by the adjust value (5400 by default, clamped to 0-10800). Text in it stays upright.
2026-11-19 22:39:29 -05:00
Dylan M. Taylor 057b0e3e01 fix(media): custom ftyp compatible brands and real ReferenceBlock deltas (#2486)
* fix(media): support custom ftyp compatible brands and real ReferenceBlock deltas

* fix(media): satisfy clippy::chunks_exact_to_as_chunks in ftyp test
2026-11-19 22:34:35 -05:00
Dylan M. Taylor 7ec2437906 Bound default loudness channel weights 2026-11-19 22:30:27 -05:00
Dylan M. Taylor 63029ff9cb Merge branch 'main' into feat/audio-dsp 2026-11-19 22:27:43 -05:00
Dylan M. Taylor c8087acbd9 hayro*: port pdfcraft vendor/hayro* patches (#2472)
* hayro*: port pdfcraft vendor/hayro* patches (storytold/craft-libs#778)

* hayro-syntax: fix test and merge compile errors from port

* fix(hayro-syntax): avoid moving params.control in lzw_flate test

* fix(hayro-syntax): include early_change in lzw_flate test

* hayro*: fix hayro-interpret compile errors and hayro-syntax test failures

* hayro*: fix duplicate char_code_to_unicode and super::LETTER in test

* hayro-syntax: fix predictor cancellation and ArrayIter parse failure tests

* hayro-syntax: restore bit-level PNG predictor fallback when control is set

* hayro-syntax: support Checkpoints cancellation inside unfilter_png

* hayro-interpret: remove duplicate blob::tests and require hayro-syntax 0.7.2

* hayro-interpret: cast MAX_COLOR_SPACE_DEPTH u32 as usize in test

* hayro: drop unvendored vello_cpu set_max_coverage/coverage_full calls

* hayro-interpret: restore interpret_form_contents call and TextPass order

* hayro-interpret: split ExtendedWarning out of InterpreterWarning for vectorcraft compatibility

* hayro-interpret: clone extended_warning_sink before ImageXObject::new closure

* hayro-interpret: restore OP/op/OPM ExtGState handling for overprint

* hayro-interpret: restore DecodeLimits and truncation reporting in decode_content

* hayro: restore on_plate DefaultColorSpaces bypass and cmyk_luminosity soft mask
2026-11-19 21:57:15 -05:00
mtlcl410 38b4001816 MIDI: imported SMF SysEx packets retain their payloads and timing on export (#2077)
* Preserve SMF SysEx packet payloads and timing across MIDI round trips

* Order cross-track note-offs before SysEx when writing format zero

* Diagnose truncated SysEx and guard merged packet streams

* Validate emitted event order around split SysEx

* Preserve real split boundaries when exporting SMF SysEx

* Preserve same-tick SysEx order and require real termination
2026-11-20 09:57:10 +07:00
Elvis33LE 4b4d5f7a9d fix(exr): stage contained data windows in display canvas (#2033) 2026-11-19 21:30:51 -05:00
Terra854 359b72eebc docs: compare SQLite readers for #778 (#2443) 2026-11-19 21:30:46 -05:00
Dylan M. Taylor 5c0d5999bd Expose bounded ZIP directory records for catalog selection (#2474)
* zip: expose bounded central directory record listing

* Preserve original ZIP central directory name bytes
2026-11-19 21:08:56 -05:00
Dylan M. Taylor 3dff4793f1 craft-develop, craft-color-transform: deduplicate spline, add 1024-entry compose_len, spaces, and warm-green WB test (#2464)
* 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
2026-11-19 20:36:43 -05:00
Dylan M. Taylor 106134631c video: add TrackDecoderOptions, with_threads, and set_draft on TrackDecoder (#2461)
* 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
2026-11-19 20:36:39 -05:00
Dylan M. Taylor 483f2ab81f craft-usd: extract neutral USDA/USDC scene, prim, and layer read/write (#778) (#2459)
* 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
2026-11-19 20:36:34 -05:00
Dylan M. Taylor 03d1afced9 svg: extract shared SVG document/CSS interpretation helpers (#778) (#2456)
* svg: extract shared SVG document/CSS interpretation helpers (storytold/craft-libs#778)

* svg: document doc_style::length unknown-unit px fallback

* style(svg): fix clippy field_reassign_with_default in doc_style test
2026-11-19 20:36:26 -05:00
Dylan M. Taylor 1a3be2d439 craft-develop: extract ToneMap/CameraTone and pure-Rust finish helpers (#2471)
* craft-develop: extract ToneMap/CameraTone and pure-Rust finish helpers

* fix(develop): add serde_json dev-dependency for tone tests
2026-11-19 20:23:11 -05:00
keithcsqueensu f4917bc47e craft-math: the control-word check stays linear over a run of letters
ends_with_control_word walked back over the whole trailing run of
letters for every letter written, so a long run took quadratic time:
200,000 letters took about 10 s in a release build, and 400,000 did not
finish in 3 minutes in a test build. The output position after the last
plain letter is now remembered; while the output still ends there its
trailing letters are plain text and are not scanned again.

Review finding on #1162 (ends_with_control_word).
2026-11-20 01:22:46 +00:00
Dylan M. Taylor 429937ad72 craft-dds: expose shared BC1-7, ETC1/EAC, and packed pixel decoders (#778) (#2460)
* 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
2026-11-19 20:03:14 -05:00
Dylan M. Taylor 1546550b0d pptx/drawingml: upstream DeckCraft table caps, has_notes_slide, ModelError, and import_report (#2463)
* pptx/drawingml: upstream DeckCraft table caps, has_notes_slide, ModelError, and import_report (#792)

* drawingml(table): mark insert_row and insert_col #[must_use]
2026-11-19 20:01:09 -05:00
Dylan M. Taylor d0ca0cdb28 craft-mesh: add COLLADA (.dae) and Alembic (.abc) readers (#2462)
* 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
2026-11-19 20:01:05 -05:00