Commit Graph
4741 Commits
Author SHA1 Message Date
FredApps c29336211a Merge branch 'main' into codex/format-adapter-safety 2026-11-15 04:53:49 +01:00
Dylan M. Taylor 33f797781f Merge latest main into XFL schema views 2026-11-15 03:46:49 +00:00
Dylan M. Taylor c0ff073356 feat(xfl): expose shared color attribute parser 2026-11-15 03:29:34 +00:00
Dylan M. Taylor a9c1d06a0f Test XFL document views with app adapter 2026-11-15 03:24:35 +00:00
Dylan M. Taylor 7f3fdc0dfe Merge pull request #1464 from storytold/codex/xfl-text-schema
Add shared XFL text field schema views
2026-11-14 22:19:12 -05:00
Dylan M. Taylor 4f3507ffff Merge pull request #1454 from storytold/pr-mailcraft-ber
feat: add craft-ber (ASN.1 BER/DER reader)
2026-11-14 22:16:03 -05:00
Dylan M. Taylor 100b68ed48 Merge branch 'codex/xfl-shape-hints' of https://github.com/storytold/craft-libs into codex/xfl-frame-sound 2026-11-15 03:16:00 +00:00
Dylan M. Taylor 8d8c85e881 Merge branch 'codex/xfl-filter-schema' of https://github.com/storytold/craft-libs into codex/xfl-shape-hints 2026-11-15 03:15:37 +00:00
Dylan M. Taylor 85ca7a893c Merge remote-tracking branch 'origin/main' into codex/xfl-filter-schema 2026-11-15 03:15:12 +00:00
Dylan M. Taylor b304c0790f Generalize XFL document schema views 2026-11-15 03:13:43 +00:00
Dylan M. Taylor 91949bdebb Refresh moved stable toolchain action pin (#1473) 2026-11-14 20:58:00 -06:00
Dylan M. Taylor 325354218a Merge branch 'codex/xfl-shape-hints' of https://github.com/storytold/craft-libs into codex/xfl-frame-sound 2026-11-15 02:49:34 +00:00
Dylan M. Taylor 6d7636227e Merge branch 'codex/xfl-filter-schema' of https://github.com/storytold/craft-libs into codex/xfl-shape-hints 2026-11-15 02:49:05 +00:00
Dylan M. Taylor afad374d74 Reuse XFL wire scalar parsers 2026-11-15 02:46:53 +00:00
Dylan M. Taylor e4325a82d0 Merge branch 'codex/xfl-shape-hints' of https://github.com/storytold/craft-libs into codex/xfl-frame-sound 2026-11-15 02:46:36 +00:00
Dylan M. Taylor 01815214d6 Reuse XFL wire scalar parsers 2026-11-15 02:46:16 +00:00
Dylan M. Taylor 1b60b979a4 Reuse XFL wire value parsers 2026-11-15 02:44:36 +00:00
Dylan M. Taylor 0b3ec84ebb Merge remote-tracking branch 'origin/main' into fix/png-bounded-row-stream 2026-11-15 02:40:59 +00:00
Dylan M. Taylor 858d1cde8a Add neutral XFL frame sound schema views 2026-11-15 02:38:58 +00:00
Dylan M. Taylor bb0c1c52ce Add neutral XFL tween schema views 2026-11-15 02:34:02 +00:00
FredApps d919ccd8db Merge branch 'main' into codex/format-adapter-safety 2026-11-15 03:33:06 +01:00
FredApps ca88e1b78a Merge pull request #1203 from dotCooCoo/fix/ui-tests-share-one-gpu
craft-ui: tests that render take turns with the wgpu renderer
2026-11-15 03:31:42 +01:00
Dylan M. Taylor 6eac1d353d Add neutral XFL shape hint schema views 2026-11-15 02:27:50 +00:00
kiwi4boy 14b2ebb7c2 craft-rtf: one index lookup per insert, and no key String for a known author
`Interned::insert` looked the key up and then inserted it, two probes for a
new key. It now goes through `HashMap::entry`, one probe either way, and
counts that probe itself, so the tests count what the index does.

`author()` built a `String` key on every call. It now looks the author up
borrowed first, and allocates only for a new one.

Review on #1467.
2026-11-14 21:24:56 -05:00
Dylan M. Taylor 6f7106fe0a Expose XFL filter highlight alpha 2026-11-15 02:17:51 +00:00
Dylan M. Taylor e5c3ff46c7 Add neutral XFL filter schema views 2026-11-15 02:14:32 +00:00
kiwi4boy 74495a579a craft-rtf: look up fonts, colours and authors through an index (#1466)
Both writers found each run's font and colour by scanning the table so far
(write.rs `Tables`, doc/export.rs `Tables` and `author` for `\revtbl`), so
a document with n distinct fonts or colours took O(n²) comparisons. 3,000
runs with their own font and colour took 18,006,000 steps in the small
writer and 13,498,500 in the word-model writer.

Each table stays a Vec, in first-use order, so the output is unchanged.
`Interned` adds a map from key to place beside it: the colour, the font
name lowercased (as `eq_ignore_ascii_case` matched), or the trimmed author.

Tests count lookups through a test-only counter, as PdfCraft's own RTF
writer does: at most four per run for 3,000 runs in each writer, and font
names still match without regard to ASCII case.
2026-11-14 21:04:34 -05:00
Dylan M. Taylor 543786812c Merge remote-tracking branch 'origin/main' into fix/avif-exif-hlg 2026-11-15 02:03:26 +00:00
Dylan M. Taylor 497febe524 fix(ber): reject malformed SignedData field structure 2026-11-14 20:57:04 -05:00
Dylan M. Taylor 177f04768a fix(ber): bound metadata allocation for wide hostile inputs 2026-11-14 20:56:34 -05:00
Dylan M. Taylor 603aaacba6 Add neutral XFL text field schema views 2026-11-15 01:54:00 +00:00
Dylan M. Taylor cbd4dcad96 fix(ber): record standalone crate in workspace lockfile 2026-11-14 20:53:46 -05:00
Dylan M. Taylor 18ae39adcb fix(ber): validate CMS containers and integrate workspace crate 2026-11-14 20:50:46 -05:00
Dylan M. Taylor 5c0b0a3632 Deduplicate raster codecs via shared image implementations (successor to #1198) (#1331)
* Share small raster format implementations

(cherry picked from commit 7aedc1de73)

* Preserve raster facade encode contracts

(cherry picked from commit 2db7c82705)

* Allow alpha in IFF compatibility encoder

(cherry picked from commit 80b55dee5a)

* Test shared raster facade contracts and refresh lockfile
2026-11-14 20:46:22 -05:00
Dylan M. Taylor 92c0b49b5e feat(video): support tiled AV1 for large frames (#1453)
* feat(video): add tiled AV1 large-frame fallback

* feat(video): expose tiled AV1 speed preset

* fix(video): use clamped AV1 keyframe interval
2026-11-14 20:38:28 -05:00
vangel76andClaude Sonnet 5.5 6767c71362 Re-run CI: the Ubuntu gate timed out
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 02:26:31 +01:00
Dylan M. Taylor 0f59e325e5 Merge pull request #1456 from storytold/codex/xfl-shape-style-schema
Add neutral XFL shape and media schema views
2026-11-14 20:23:07 -05:00
Dylan M. Taylor 727f945fc9 Merge branch 'main' into codex/format-adapter-safety 2026-11-14 20:11:50 -05:00
Dylan M. Taylor c0ce055384 image-codecs: bound PNG row streaming independently of full output 2026-11-14 20:04:36 -05:00
Dylan M. Taylor 8e20238384 Merge pull request #1321 from storytold/vorbis-encode-migration
feat(audio): migrate Ogg Vorbis encoding to craft-audio (PR #26)
2026-11-14 19:40:58 -05:00
Dylan M. Taylor e46c81e9cb test(avif): assert HLG color metadata without decoder 2026-11-15 00:40:25 +00:00
Dylan M. Taylor 1a4cf6d0ba Merge pull request #1195 from alehel/craft-video/mpeg2-encode-b
craft-video: MPEG-2 encoder, second step: B pictures (#1133)
2026-11-14 19:39:11 -05:00
Dylan M. Taylor d5a77b7dc1 Preserve legacy XFL matrix coefficient defaults 2026-11-15 00:33:05 +00:00
Dylan M. Taylor e4eddc5fe5 Preserve legacy XFL style table permissiveness 2026-11-15 00:23:42 +00:00
vangel76andClaude Sonnet 5.5 8761999c9b docx charts: automatic marker colour, data label positions, horizontal axis titles
Word draws markers without their own fill in the automatic palette colour of the
series index, not the explicit line colour. Line and scatter data labels sit to
the right of the point unless c:dLblPos says t, b, l, r or ctr. A vertical-axis
title with rot="0" stays horizontal, wrapped into a strip of at most a quarter of
the chart width, instead of being forced to -90 degrees.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 01:19:18 +01:00
Dylan M. Taylor 352a410332 Expose native XFL drawing primitives 2026-11-15 00:18:46 +00:00
Dylan M. Taylor bb9f9a95cc Add neutral XFL shape and media schema views 2026-11-15 00:12:52 +00:00
Dylan M. Taylor e54d36a76c fix(image-codecs): place AVIF tests after encoders 2026-11-15 00:10:45 +00:00
Dylan M. Taylor 93a7d13aa1 feat: add craft-ber (ASN.1 BER/DER reader)
Port from mailcraft: ASN.1 BER and DER (X.690) reader with:
- TLV parsing (tag, length, value)
- BER to DER conversion (indefinite lengths, constructed OCTET STRINGs)
- CMS signed_data content extraction

No external dependencies. Hostile-input bounded reading.
2026-11-14 19:10:34 -05:00
vangel76andClaude Sonnet 5.5 396402940c docx charts: marker symbols and sizes, data label formats, upward axis titles
A chart file carried three things that were read but not drawn like Word:
- c:marker/c:symbol was ignored (every marker was a circle): squares, diamonds,
  triangles, x, plus, star, dash and dot are drawn now, in the series' c:size;
  unknown names fall back to a circle, sizes are clamped to 2..72 points.
- c:dLbls/c:numFmt (not linked to the source) now formats the data labels, on
  the series or on the chart type; over-long codes are ignored.
- The vertical axis title is turned -90 degrees (reading upwards) as Word does,
  or 90 when the file's bodyPr rot says so. It was always +90.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 01:06:12 +01:00