* ppt-binary: open PowerPoint 97-2003 .ppt/.pot/.pps files New crate deckcraft-ppt (L3), written from the public [MS-CFB], [MS-PPT] and [MS-ODRAW] Open Specifications: a compound-file reader (ported from FilmCraft's clean-room reader), the edit chain and persist directory, and the OfficeArt drawings. Main masters become masters (colours, fonts, text styles, background, decorations), title masters become layouts; slides keep their shapes (presets, freeforms, groups, rotation, flips), fills, lines, shadows, pictures (PNG, JPEG, DIB, TIFF, EMF, WMF), text with the master styles resolved into it, fields, notes and hidden flags. Import only: an opened .ppt has no save path, so Save asks for a new name. A .pps from the system starts the slide show. File dialogs, drag and drop, the web shell and the macOS, Windows and Linux file associations offer the three extensions. Tests build .ppt files from records and sweep hostile input. From storytold/deckcraft@0aef89cb1a (storytold/deckcraft#1137). * ppt-binary: address review: budget picture decoding, read each persist directory once, macOS .pot/.pps types - Pictures decode lazily, when a shape first uses them, each at most once and all within a shared 4 GiB budget: many store entries pointing at one deflated blob can no longer ask for unbounded memory. - A persist directory named by many edits is read once. - Info.plist declares com.microsoft.powerpoint.pot and .pps alongside .ppt. From storytold/deckcraft@9e575ccecc (storytold/deckcraft#1137). * ppt-binary: address review: check the picture budget before copying bitmap data From storytold/deckcraft@470a429392 (storytold/deckcraft#1137). * ppt-binary: build against current main - convert.rs: set `flip: None` on imported gradients. `Gradient` gained the field in ad97533a; None is what an unflipped gradient was before. - tests.rs: split `imports_a_presentation` into one check per section (title, picture, group, text box, master) for the workspace `cognitive_complexity` lint (6ddd2fb8). The assertions are unchanged. - Cargo.lock: deckcraft-ppt takes the workspace version, 0.15.0. From storytold/deckcraft@a0ececefeb (storytold/deckcraft#1137). * ppt-binary: keep the picture budget on 32-bit targets `MAX_TOTAL` was `4 << 30` as a `usize`. On wasm32 that is 2^32, which wraps to 0 without any error, so the web build's picture budget was zero and every .ppt picture was dropped. Use the address space as the limit there. A compile-time assertion that the budget holds at least one picture keeps it from happening again on any target: the CI wasm step (`cargo check`) now fails if it does. From storytold/deckcraft@4fd930ce1a (storytold/deckcraft#1137). * ppt-binary: read past the character fields PowerPoint 2002 and later add A TextCFException can end with pp10runid (mask bit 20), newEAFontRef (24), csFontRef (25) and pp11ext (26), after `position`. read_cf stopped at `position`, so in a StyleTextPropAtom the next run's count and mask were read from the leftover bytes, and every later run got garbage formatting or the walk ended. Master text styles go through the same reader. The fields are read past and not used. The test has a run carrying all four followed by a bold 18 pt run, which now reads as written. From storytold/deckcraft@773af639c9 (storytold/deckcraft#1137). * ppt-binary: convert each listed object once and index notes pages Nothing stopped a slide list from naming one persist object many times, and each listing converted its whole drawing again: a 100k-shape slide listed 180k times fits in about 10 MB and makes 1.8e10 shapes. An object is now listed once across the slide, master and notes lists (PowerPoint never lists one twice), and a repeat is logged and skipped. Notes pages are looked up through a map built once, instead of a scan per slide (slides x notes). The first matching page still wins. From storytold/deckcraft@b3aa0983bd (storytold/deckcraft#1137). * ppt-binary: find formatting runs by binary search paragraphs() found the run at a position (rposition) and the next run start (find) by scanning the run starts for every run, break and field, so text cost grew with chars x runs. The starts are a running sum and never decrease, so both lookups are now partition_point. Measured in a debug build, 640k one-character runs (about 6 MB of file): 75 s before, about 2 s after. The test uses a 20 s bound, like render's pathgrad budget test. From storytold/deckcraft@b70b022362 (storytold/deckcraft#1137). * ppt-binary: cap decoded pictures at the .pptx package total The picture budget was 4 GiB, so a few MB of small deflated metafiles, each inflating to 64 MiB, could make the import hold 4 GiB. A .pptx package may inflate to 2 GiB in total (deckcraft-pptx opc MAX_TOTAL), and pictures are the only part of a .ppt this crate inflates, so use the same 2 GiB. That also fits a 32-bit usize, which replaces the wasm32 special case. This is a limit change, so there is no new test: the budget test (the_store_decodes_lazily_within_a_budget) and the compile-time check that the budget holds a picture still cover it. From storytold/deckcraft@a9cefff8b8 (storytold/deckcraft#1137). * ppt-binary: fall back to the first main master the same way every time A slide naming a master that doesn't exist fell back to the lowest index in the masters HashMap. A title master is stored with its main master's index, so the two tied and the HashMap's random order picked one: the same file got the "Title Master" layout on some opens and the main master's on others. The fallback now considers main masters only. The test opens such a deck 30 times; before the fix it took the title master's layout within those opens. From storytold/deckcraft@60942d5950 (storytold/deckcraft#1137). * ppt-binary: try the edit scan before calling a file too old Any Current User token other than the plain or encrypted one, including none at all from a truncated record, returned TooOld at once. A PowerPoint 97 file with a damaged Current User stream was reported as "made by PowerPoint 95 or earlier", and the UserEditAtom scan meant for a missing stream never ran. [MS-PPT] allows only those two tokens, so an unknown one can't tell a damaged file from an older format. The scan now runs, and TooOld is returned only when it finds no edit record behind an unknown token. From storytold/deckcraft@3869c3dc51 (storytold/deckcraft#1137). * ppt-binary: read persist directories within one stream's worth of words dirs_seen only skips a directory named at the same offset again. Directories nested inside one another, each named by its own UserEditAtom, were each read to the end of the stream: MAX_EDITS x the stream. In a debug build, 4095 such edits over a 64 MiB stream took about 48 s. All directories now share a budget of stream.len() / 4 words. Real directories are separate records inside the stream, so they always fit. The hostile case stops in milliseconds and is reported as damaged. From storytold/deckcraft@5799048d88 (storytold/deckcraft#1137). * ppt-binary: check two additions on input-derived sizes - cfb.rs: the mini sector end `at + MINI_SECTOR_SIZE` was unchecked. On a 32-bit target (wasm32), a sector number near 0x03FF_FFFF puts `at` at the top of usize, so the add panics in a debug build and wraps in release. - text.rs: the style-run total `chars.len() as u32 + 1` truncated and could overflow past u32::MAX characters. It now saturates. Neither case can be reached in a native test (one needs a 32-bit target, the other more than 4 GiB of text), so there is no new test. The `+ 1`s in convert.rs paragraphs() that the review also named are bounded by the text length and can't overflow, so they are unchanged. From storytold/deckcraft@b58c354246 (storytold/deckcraft#1137). * ppt-binary: a sector chain that revisits a sector is an error read_chain stopped at the stream's size, so a FAT loop shorter than the stream returned the looped sectors again as the stream's bytes. It now tracks visited sectors and fails on a revisit, and reserves the stream's size (capped at the file length) up front. a_looping_chain_stops expected the repeated bytes; it now expects the error (eliets2's review). From storytold/deckcraft@2b0940bff5 (storytold/deckcraft#1137). * ppt-binary: slide shapes inherit from their own master's shapes Master shape properties were remembered by shape id alone, so a later master (a title master, or a second main master) that reused a shape id replaced the first master's entry, and slides inherited fill and line from the wrong master. They are now keyed by master slide id and shape id, and a shape's hspMaster is looked up in its slide's master, then a title master's main master. Notes pages have no imported master, so they inherit nothing. PowerPoint gives shapes file-unique ids, so this takes a damaged or generated file (eliets2's review). From storytold/deckcraft@7ad2f5152b (storytold/deckcraft#1137). * ppt-binary: drop the unused fBackground field RawShape.background was set from the FSP flag but never read: the background shape is the drawing container's own shape (OfficeArtDgContainer.shape, [MS-ODRAW] 2.2.13), which drawing() already takes. The comment there now says so (eliets2's review). From storytold/deckcraft@afd57f47e0 (storytold/deckcraft#1137). * ppt-binary: shadowed text keeps its shadow TextCFException's shadow bit was read and merged but never reached the run. A shadowed run now gets a shadow in the colour scheme's shadow colour, at the distance and direction of the app's own Text Shadow command, with no blur (the record has none). Emboss has no counterpart in the model, so its field is gone and the loss is listed in the docs (eliets2's review). From storytold/deckcraft@ab5cf618e1 (storytold/deckcraft#1137). * ppt-binary: the .pps show-on-open test opens a real 97-2003 file a_ppsx_from_the_system_starts_the_show saved a .pptx under the name "Old talk.pps", so it went through the PPTX path and never reached the legacy importer. crates/ppt/tests/fixtures/old-talk.pps is a one-slide .pps built from records by the ppt tests (rebuilt with DECKCRAFT_WRITE_PPT_FIXTURE=1, checked on every run), attributed CC0 like the other generated fixtures, and the UI test opens it (eliets2's review). From storytold/deckcraft@f511a2a66b (storytold/deckcraft#1137). * ppt-binary: test mini streams, 4096-byte sectors and the DIFAT chain The compound-file test builder only made version-3 files with 512-byte sectors, no mini stream and every FAT sector in the header, so read_mini_chain, 4096-byte sectors and the DIFAT chain never ran. build_with takes the sector shift and the mini stream cutoff, and lists FAT sectors past the header's 109 in DIFAT sectors; build is build_with(streams, 9, 0), so existing tests see the same layout. Three tests read streams back through each path (eliets2's review). From storytold/deckcraft@212788b693 (storytold/deckcraft#1137). * ppt-binary: test every picture kind, two-UID blips and blips inside the FBSE The blip tests covered PNG, deflated WMF and DIB only. New tests decode JPEG (RGB and CMYK), TIFF and PNG with one and two UIDs, an uncompressed EMF with each UID count, a metafile over the budget (compressed or not), and a blip held inside its FBSE rather than in the Pictures stream. All passed as written (eliets2's review). From storytold/deckcraft@fe8023b9c2 (storytold/deckcraft#1137). * ppt-binary: placeholder text held only in the slide list is imported A shape's client text box may hold just an OutlineTextRefAtom, with no TextHeaderAtom ([MS-PPT] OfficeArtClientTextbox): the text lives in the slide list, and that is the usual form for slide placeholders. read_block returned None without a header, so text_block never reached its outline fallback and the placeholder came in empty. A block with a reference and no header is now returned for the caller to follow. placeholder_text_can_come_from_the_slide_list covers the reference alone (it failed before this change) and a header with a reference; the test document builder can put outline blocks in the slide list (streams_with_outline). Found writing the test eliets2's review asked for. From storytold/deckcraft@bf8ec603f3 (storytold/deckcraft#1137). * ppt-binary: test newer edits and the two other encryption signs doc::read had tests for one edit and the Current User token only. a_later_edit_replaces_a_slide adds an edit whose persist directory gives the slide a new object; the newer slide is imported and the master from the older directory is kept. encryption_is_found_in_the_edit_and_the_persist_directory covers an edit record long enough for encryptSessionPersistIdRef and a CryptSession object named by a later edit. Both passed as written (eliets2's review). From storytold/deckcraft@f0b8525cc6 (storytold/deckcraft#1137). * ppt-binary: test title masters and slides that follow nothing No test made a slide of a title master or a slide with the follow-master flags off. The new test checks that a title master becomes a "Title Master" layout with its own background and shapes and without the master's shapes, that its slide uses that layout and follows its background, and that a slide with all three flags off keeps its own background and colour scheme and hides the master's shapes. It passed as written (eliets2's review). From storytold/deckcraft@a41bf545e7 (storytold/deckcraft#1137). * ppt-binary: merge boolean properties flag by flag A boolean property word holds sixteen flags, each with its own fUse bit. Props::inherit and add_table kept the whole word from the most specific set, so a placeholder or text box that set only fNoFillHitTest lost the inherited "not filled" and "no line" and was drawn with a fill and an outline. Merge those words per flag instead (storytold/deckcraft#1137 review, issue 1). From storytold/deckcraft@79ae833152 (storytold/deckcraft#1137). * ppt-binary: recover a broken edit chain and report lost slides An edit whose previous-edit offset points back at itself (or anywhere that isn't an edit) cut the older edits off, and with them the persist directories holding the slides: such a file opened as an empty deck with no warning. When the chain doesn't end at offset 0, read every edit's persist directory in the stream, newest first, filling only what the chain left unset. Slides the slide list names but whose objects are still missing are now returned by deckcraft_ppt::import_checked and reported like a damaged .pptx: lostSlides, a "(Repaired)" copy and the CLI warning (storytold/deckcraft#1137 review, issue 3). From storytold/deckcraft@135674101f (storytold/deckcraft#1137). * ppt-binary: picture frames, inline picture fills, gradients, footers, numbering The remaining differences from LibreOffice in the storytold/deckcraft#1137 stress test: - Picture frames (and OLE frames) that say nothing about fill or line start with neither, as placeholders and text boxes do, instead of the drawing defaults' fill. - A pib or fillBlip held in the property's own complex bytes (fBid) is decoded within the picture budget: table cells with a picture fill showed a plain colour. - Shaded fills put the back colour at fillFocus ([MS-ODRAW]), and the linear angle follows how LibreOffice writes and reads it (0 degrees from the top): the linear gradient was reversed, the radial inside out. - HeadersFooters (the slide's, else the document's) add the date, footer and slide number placeholders; the master's footer placement, alignment, size and colour reach every layout. - Numbering from the document's ___PPT9 tag (OutlineTextProps9, pp9rt in the runs' fontStyle) turns bulleted paragraphs into numbered ones. - Wingdings diamonds draw as a diamond, not a dot. From storytold/deckcraft@24437bd075 (storytold/deckcraft#1137). * ppt-binary: read CString records up to their first NUL Header/footer text and the ___PPT9 tag name were decoded from the whole CString body. A writer that ends the string with a NUL would put the NUL into the footer text and make the tag name fail to match, losing the numbering. Stop at the first NUL, as the font names already do. From storytold/deckcraft@110e1420fd (storytold/deckcraft#1137). * ppt-binary: on craft-cfb and craft-pptx (the move from DeckCraft) What the move from storytold/deckcraft#1137 changes; the commits before this one are that PR's crates/ppt as it is on its branch, without its manifest. - craft-cfb replaces the crate's own compound-file reader (cfb.rs, 552 lines). Streams are read capped at the file's length, as before. Its six tests (looping chains, mini streams, version 4 sectors, the DIFAT) are covered by craft-cfb's own. The byte helpers move to record.rs. Test files are written by craft-cfb's writer. - deckcraft-model, deckcraft-color and deckcraft-geom become craft-pptx and craft-drawingml, the same types (storytold/deckcraft#2179, storytold/deckcraft#2180 and #792's plan). A gradient now states its shape and rotate-with-shape explicitly, as craft-drawingml's are optional. - DeckCraft's default master (defaults::build_master and blank_presentation) becomes the caller's craft_pptx::Defaults: import(bytes, &defaults), as craft_pptx::import takes. The file's masters take the default master's layouts and placeholders, then the file's theme, placeholder boxes and styles. The tests use a default master with title, body and footer placeholders and the seven layouts .ppt layout types map to; a new test reads with craft_pptx::Plain. - The two tests that drive DeckCraft's engine (open and save, lost slides in the app) stay in DeckCraft. - The fixture's rebuild variable is CRAFT_WRITE_PPT_FIXTURE; old-talk.pps is unchanged and gets its ATTRIBUTION row. Bare #1137 references in comments name storytold/deckcraft#1137. - README, crate README (doctested) and the workspace entry. * ppt-binary: bound text, strings, paths and repeated work from hostile files Tab stops keep the first 64 entries while still reading past the rest, string properties stop at 4096 units, and a freeform path uses at most 8192 vertices, since each of these is copied into every paragraph or inheriting shape. An outline block in the slide list is the text of one shape only; a second reference keeps the shape's own text. The fallback master and each master's layout per type are found once before the slides are converted, a shape's primary property tables are collected without inserting at the front, and a compressed metafile that fails to inflate is charged to the picture budget. * ppt-binary: review fixes for footers, rulers, title masters, paths and numbering A slide's own headers and footers record (instance 0) now wins over the document's, and a text box that points at an outline block keeps the margins and indents of its own ruler. A slide list entry whose object is not a slide is reported as lost. Title masters place their layout's placeholders from their own placeholder boxes, adding any the title layout lacks, and copy only placeholders from an earlier title layout. Slides that don't name a title master no longer pick its layout. Freeform paths skip the points of escape segments, and without segments follow shapePath (closed lines by default, open lines or curves). DIB colour tables are sized by bit depth and refused when they run past the bitmap. Numbering schemes 0x10 to 0x28 map to their DrawingML names, master style levels go to the level they name, and a broken edit chain reads the newest edits rather than the oldest. The nested persist directory test now checks the file is reported damaged, the footer test fails when a layout has no slide number, and the README says tables come in as groups of shapes. * ppt-binary: second review round: failed pictures, title layouts, notes, arcs and property tables Inflating a compressed metafile is now charged its compressed bytes as well as its output, and is refused when those bytes alone pass the remaining budget, so many entries pointing at one stream that inflates to nothing can't each read it again for free. A title master's layout starts only from the defaults' own title layout, not one made for an earlier title master. A notes page shared by two slide records with the same slide id goes to the first only. After elliptical quadrants or a quadratic Bezier escape a path goes on from their last point; after an arc or angle ellipse, whose end isn't one of its vertices, the path stops rather than draw from the wrong place. A property set keeps at most 1024 distinct properties, so copying the drawing defaults into each shape costs a bounded amount. * ppt-binary: take each main master's title-layout base once; test outline notes A title master's layout starts from the placeholders of the defaults' title layout. They are now taken once, when the main master is made, instead of rebuilding the set of title-master layouts and rescanning the master's layouts for every title master, which was quadratic in title masters. A notes page whose body text is in the notes list's outline block also goes to one slide only. --------- Co-authored-by: Oliwier Kulczycki <oleknuso282@gmail.com> Co-authored-by: kiwi4boy <kiwi4boy@gmail.com>
36 KiB
Attribution
Third-party assets bundled in this repository (fonts, icons, images, test data), each with its author, source and license. Library code and original assets are under the repository license (MIT OR Apache-2.0, see NOTICE).
| File | Author | Source | License |
|---|---|---|---|
licenses/jpeg-encoder-0.6.1/, crates/image-codecs/NOTICE |
jpeg-encoder contributors and the IJG, libjpeg-turbo and SIMD authors named in the retained notices | jpeg-encoder 0.6.1, used unmodified; source checksums in SOURCE.json |
(MIT OR Apache-2.0) AND IJG |
crates/smime/testdata/ |
MailCraft contributors; RFC 9216 example certificates | MailCraft at 240d1d42, restored unmodified; provenance in the directory README | MIT OR Apache-2.0 (source repository) |
licenses/dwg/acadrust-MPL-2.0.txt, licenses/dwg/acadrust-THIRD_PARTY_NOTICES.md |
acadrust contributors; ACadSharp authors for the noted ported routines |
acadrust 0.6.6, used unmodified as craft-dwg's optional native dependency |
MPL-2.0; embedded ACadSharp notice is MIT; see both retained files |
crates/cms/profiles/photocraft-coated-cmyk.icc |
PhotoCraft contributors; generated by craft_cms::synth::coated_cmyk |
PhotoCraft crates/cms |
CC0-1.0 |
crates/cms/profiles/craft-coated-fogra39.icc |
craft-libs contributors; generated by crates/cms/tests/fogra39.rs from the FOGRA39 data below |
this repository | CC0-1.0 |
crates/ppt-binary/tests/fixtures/old-talk.pps |
DeckCraft contributors; a one-slide PowerPoint 97-2003 show built from records by crates/ppt-binary/src/tests.rs (the_pps_fixture_is_a_built_presentation, with CRAFT_WRITE_PPT_FIXTURE=1); no PowerPoint involved |
storytold/deckcraft#1137 | CC0-1.0 |
crates/font-store/index/sources.json (unmodified) |
craft-font-index contributors | aiongg/craft-font-index@5a9a7f8 | Apache-2.0 |
crates/font-store/index/indexes/google-fonts.json.gz (unmodified) |
craft-font-index contributors; generated from the METADATA.pb files of google/fonts at 45e3d5269e4a17d823f6d84470bc084dc5ae46f6 |
aiongg/craft-font-index@5a9a7f8 | Apache-2.0 |
crates/font-store/index/indexes/noto.json.gz (unmodified) |
craft-font-index contributors; generated from notofonts/notofonts.github.io at 93fac8abebe6c7fed0c5b7d2456d8fa484fa146c and noto-cjk releases |
aiongg/craft-font-index@5a9a7f8 | Apache-2.0 |
crates/cms/tests/data/FOGRA39.txt (unmodified) |
Fogra | Fogra characterisation data, FOGRA39_to_FOGRA60_v2.zip |
Fogra terms: free use and redistribution, unmodified, with Fogra identified as the source; "FOGRA39" identifies the reference data only and implies no certification, approval or endorsement by Fogra (full text in NOTICE) |
vendor/linesweeper/tests/regression/, vendor/linesweeper/proptest-regressions/, the .snap files under vendor/linesweeper/src/ and the path data in vendor/linesweeper/benches/painted_dreams.rs (all unmodified; hashes in vendor/linesweeper/SOURCE.json) |
As published in the package, whose manifest names Joe Neeman as author and records no other source | linesweeper 0.5.0 | MIT OR Apache-2.0 (the package's license field) |
crates/i18n/data/collation.postcard |
Unicode, Inc. (ICU 78.1 collation data, CLDR 48.2.1); generated by crates/i18n/data/generate-collation.sh |
ICU | Unicode-3.0 |
crates/text/assets/hyphen/en-us.dic |
Grady Ward (Moby Hyphenator II), converted by DesignCraft | Project Gutenberg eBook #3204 | Public domain |
crates/proof/data/en-words.dic |
Grady Ward (Moby Hyphenator II word list); break points dropped by craft-proof contributors with crates/proof/examples/en_words.rs |
Project Gutenberg eBook #3204, via craft-i18n language-data/en-us/en-us.dic |
Public domain |
crates/proof/data/en-extra.txt |
WordCraft contributors (original list, no other dictionary copied) | craft-i18n language-data/en-us/en-extra.txt |
MIT OR Apache-2.0 |
crates/text/assets/hyphen/en-us.pat |
DesignCraft contributors, trained from the Moby Hyphenator II list | crates/text/examples/hyphgen.rs |
CC0-1.0 |
Patterns embedded through hypher (optional craft-text language features) |
hyph-utf8 authors, per language | tex-hyphen, as packaged in hypher | Per file header: LPPL, MIT, BSD-3-Clause, Unlicense or a permit-any-use notice (or a choice including one); Slovak (hyph-sk.tex, embedded whenever hypher/slovak is on: feature slovak-gpl, or another dependency through feature unification) is GPL-2.0-or-later; Spanish (hyph-es.tex 5.0, Javier Bezos, CervanTeX) is MIT |
Word-break dictionaries and LSTM models embedded through icu_segmenter_data (optional craft-text features thai, lao, khmer, burmese) |
Unicode, Inc. and ICU4X contributors | ICU4X | Unicode-3.0 |
crates/ui/tests/fonts/NotoSansArabic-test.ttf (subset to the test strings, default weight set to 100, width axis dropped) |
The Noto Project Authors | google/fonts@7085eb8 ofl/notosansarabic, via craft-fonts |
OFL-1.1 (licenses/ui-test-fonts/OFL-NotoSansArabic.txt) |
crates/ui/tests/fonts/NotoSansCJKsc-test.otf (subset to the test strings) |
The Noto Project Authors (Adobe, Google) | notofonts/noto-cjk@f8d1575 Sans/OTF/SimplifiedChinese, via craft-fonts |
OFL-1.1 (licenses/ui-test-fonts/OFL-NotoSansCJK.txt) |
crates/ui/tests/fonts/NotoSansArabic-screens.ttf (instance at weight 400 and width 100, subset to the screen test strings) |
The Noto Project Authors | google/fonts@7085eb8 ofl/notosansarabic, via craft-fonts |
OFL-1.1 (licenses/ui-test-fonts/OFL-NotoSansArabic.txt) |
crates/ui/tests/fonts/NotoSansCJKsc-screens.otf (subset to printable ASCII and the screen test strings) |
The Noto Project Authors (Adobe, Google) | notofonts/noto-cjk@f8d1575 Sans/OTF/SimplifiedChinese, via craft-fonts |
OFL-1.1 (licenses/ui-test-fonts/OFL-NotoSansCJK.txt) |
crates/ui/tests/fonts/NotoSansThai-screens.ttf (instance at weight 400 and width 100, subset to the screen test strings) |
The Noto Project Authors | google/fonts@8b0a1d0 ofl/notosansthai, via craft-fonts |
OFL-1.1 (licenses/ui-test-fonts/OFL-NotoSansThai.txt) |
crates/crw/tests/samples.json (manifest only; the 11 raw files are not bundled, scripts/fetch-crw-samples.py downloads them outside the checkout) |
The photographers who contributed each file to raw.pixls.us (Canon EOS D30, D60, 10D ×3, 300D ×2, Digital Rebel, PowerShot G1, G5, G6) | raw.pixls.us, each file's getfile.php URL and SHA-256 in the manifest |
CC0-1.0 (as published by raw.pixls.us for each file) |
crates/crw/src/tables.rs, crates/crw/clean-room/logs/table_sel*.json |
craft-crw contributors (derived in LightCraft, 2026-10, by known-plaintext alignment of the sample files' entropy streams; crates/crw/clean-room/02-crw-format.md) |
this repository | MIT OR Apache-2.0 |
crates/crw/clean-room/logs/private-corpus.tsv (file names, sizes and SHA-256 of the maintainer's own EOS D60 files; no image content) |
craft-crw contributors (LightCraft derivation record) | this repository | MIT OR Apache-2.0 |
crates/prc/src/acof/table.rs (the rows of the PRC Double prefix-code table, reformatted as Rust tuples) |
Kristof Ralovich (prc-rs); the table is defined by ISO 14739-1 | ralovich/prc-rs@287b671, through PdfCraft crates/prc |
MIT (licenses/prc-rs/LICENSE.txt; the notice is also in the file header) |
crates/math/tests/corpus/equations.tsv, crates/math/tests/corpus/latex.tsv (unmodified) |
shuff57 (equaSHion) | storytold/craft-libs#29 at 7a6ef6b9, corpus/ |
MIT OR Apache-2.0 |
crates/math/tests/corpus/omml/*.xml (unmodified) |
WordCraft and DeckCraft contributors, collected by shuff57 (equaSHion) | storytold/craft-libs#29 at 7a6ef6b9, corpus/omml/ |
MIT OR Apache-2.0 |
Original assets are covered by the repository licence.
Assets embedded by the optional PDF writer
Krilla 0.8.2 bundles the following Compact ICC Profiles by Clinton Ingram, under CC0-1.0.
The immutable source revision is 3ffdf0588cf98050aad6edba51ca70162e1fb5b5, recorded by the
registry package's .cargo_vcs_info.json. These are the same dependency profiles already
used by the apps' Krilla exporters. The local backend snapshot retains these four profiles; the optional writer adds no font binaries.
The profile licence is retained in licenses/pdf-writer/LICENSE-ICC.txt.
| Crate / file | Author | Source | Licence | SHA-256 | Use |
|---|---|---|---|---|---|
krilla 0.8.2 / icc/sGrey-v2-magic.icc |
Clinton Ingram | https://github.com/LaurenzV/krilla/blob/3ffdf0588cf98050aad6edba51ca70162e1fb5b5/crates/krilla/icc/sGrey-v2-magic.icc | CC0-1.0 | 4110169287e5f1b5149ca9f1da1814d32943905bba8030e849d1a3b729a19481 |
PDF writer colour profiles |
krilla 0.8.2 / icc/sGrey-v4.icc |
Clinton Ingram | https://github.com/LaurenzV/krilla/blob/3ffdf0588cf98050aad6edba51ca70162e1fb5b5/crates/krilla/icc/sGrey-v4.icc | CC0-1.0 | 00c0f94e09127520a17dc0e1d9264b5702081d96dbdb1549ee88e3631ce42a9d |
PDF writer colour profiles |
krilla 0.8.2 / icc/sRGB-v2-magic.icc |
Clinton Ingram | https://github.com/LaurenzV/krilla/blob/3ffdf0588cf98050aad6edba51ca70162e1fb5b5/crates/krilla/icc/sRGB-v2-magic.icc | CC0-1.0 | af4efe28f6d311799865f325ba39184a2e978b113ca74124d60af7de22b105f4 |
PDF writer colour profiles |
krilla 0.8.2 / icc/sRGB-v4.icc |
Clinton Ingram | https://github.com/LaurenzV/krilla/blob/3ffdf0588cf98050aad6edba51ca70162e1fb5b5/crates/krilla/icc/sRGB-v4.icc | CC0-1.0 | c56e1685d888f5edb92fe07f2750f387f8fe8e91b32ff8fb0b56bfbbb9458353 |
PDF writer colour profiles |
The four Krilla ICC entries above are also stored unchanged in vendor/krilla/icc.
The vendored source patches are in vendor/krilla/patches, described in vendor/krilla/README.craft.md; per-file hashes are in vendor/krilla/SOURCE.json.
Assets retained with the optional PDF reader
The shared reader centralizes the five patched Hayro source trees from PdfCraft and the
patched crates.io hayro-postscript 0.1.0 scanner, which bundles no assets.
The standard-14 fonts, CMYK profile and generated metrics listed below remain byte-identical
in vendor/hayro-interpret, and the CMaps in vendor/hayro-cmap/assets; no application
document fonts are added. The removed upstream LAB.icc profile is not restored. Source hashes
and the exact transfer revision are recorded in each vendored crate's SOURCE.json.
| Crate / file | Author | Source | Licence | SHA-256 | Use |
|---|---|---|---|---|---|
hayro-interpret 0.7.0 / assets/FoxitDingbats.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitDingbats.pfb | BSD-3-Clause | 845c752392b6c914fb989c75a08b7792b88f542d2499042ef2889f8c814a16ed |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitFixed.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitFixed.pfb | BSD-3-Clause | b6c8fe53f134b8b6d4578cd2d544df4cee9624c4efa8d51a560fb40ea296101b |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitFixedBold.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitFixedBold.pfb | BSD-3-Clause | f1b7159702973f54fc86254ea38bcf3712b2a736eb3a0995751e9f4bb45ad603 |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitFixedBoldItalic.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitFixedBoldItalic.pfb | BSD-3-Clause | 8a000945843bd31add06aee63bf9fd41b7578b4f3242a4b7cd46349ad9d24d4d |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitFixedItalic.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitFixedItalic.pfb | BSD-3-Clause | 5007faf8320fa1fcc08b8894b356ad976f60b992ba29ee5272578bbdebaf3876 |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitSans.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitSans.pfb | BSD-3-Clause | a02339e95d20db14cbdfc1c6baf359cd36a091d5434925c3a4040f60e1a1af9e |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitSansBold.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitSansBold.pfb | BSD-3-Clause | 7bdfa36de1d5757dcfaf8b8a4be95c6e41c40fa70dbed9d78bf979a7b9959054 |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitSansBoldItalic.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitSansBoldItalic.pfb | BSD-3-Clause | 555ce45924338e2e4b32821910221ce85da691fd59a9723c4c971a7c5627fc8b |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitSansItalic.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitSansItalic.pfb | BSD-3-Clause | 7751cbefeda351708dae8c4a88db043411bc39ab2ae2097685da845d4d16f307 |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitSerif.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitSerif.pfb | BSD-3-Clause | 4f57d2b9d884af8f907bf22df6019b52d86cbf6214fdbd02b1ae05472a543f35 |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitSerifBold.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitSerifBold.pfb | BSD-3-Clause | 0bdf4b04e964139818d51eda03d566ba999fc3ba2421b1c6c51f9dc969022e80 |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitSerifBoldItalic.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitSerifBoldItalic.pfb | BSD-3-Clause | a406cac82583bf98175cb62c87ed5e95c45fbb34eece63a10b0a13e793cb2e10 |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitSerifItalic.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitSerifItalic.pfb | BSD-3-Clause | 610ae0687198045c4db5d1a6650fd5e92536631706382eb8b72e38df578d0ae9 |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/FoxitSymbol.pfb |
Foxit Software Inc. / PDFium Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/FoxitSymbol.pfb | BSD-3-Clause | 47967d055530e7357088a08403115425643ec2cdfd6201ba8af0fbd7116c1539 |
Renders non-embedded standard-14 fonts (pinned hayro-interpret) |
hayro-interpret 0.7.0 / assets/CGATS001Compat-v2-micro.icc |
Clinton Ingram (saucecontrol/Compact-ICC-Profiles) | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/assets/CGATS001Compat-v2-micro.icc | CC0-1.0 | 73e1ba37d2bad5bab2a964f40a9eed96209666efc067c3322626214bbef234a0 |
Default CMYK colour conversion (pinned hayro-interpret) |
hayro-cmap 0.1.0 / assets/cmaps.brotli |
Adobe | https://github.com/storytold/pdfcraft/blob/a2ec27b4775f53c40cad3456936d9406611e3a8d/vendor/hayro-cmap/assets/cmaps.brotli | BSD-3-Clause | ddf37af521d904d5646c2fc37b2b7e912dc1b56f0d210190b61f598154758e46 |
Character-code mapping tables required to read CJK PDFs. Non-visual dependency data; existing embedding unchanged |
hayro-interpret 0.7.0 / src/font/generated/metrics.rs |
Adobe (Core 14 AFM metrics, PDF specification encodings); tables by The Hayro Authors | https://github.com/storytold/pdfcraft/blob/7437bde378f43856eada40af25b983812e615e8a/vendor/hayro-interpret/src/font/generated/metrics.rs | MIT OR Apache-2.0 | 2ec9e608573eda459de1e1d9bda3bb494315e36bee885acc88912a11fe0caa41 |
Glyph widths and encodings for non-embedded standard fonts. Non-visual dependency data; existing embedding unchanged |
crates/audio/src/ac3/golden_frames.bin |
FilmCraft contributors (original work: 12 AC-3 and E-AC-3 syncframes that ffmpeg's ac3 and eac3 encoders made from tones and seeded noise synthesised by ffmpeg's lavfi generators; no third-party or recorded audio) |
FilmCraft crates/ac3 |
MIT OR Apache-2.0 | ||
crates/audio/tests/fixtures/ |
SoundCraft and craft-libs contributors (original work: 0.1 s test tones from ffmpeg's sine generator and hand-built silent MPEG frames; no third-party or recorded audio; commands in crates/audio/tests/fixtures/README.md) |
SoundCraft crates/audio-io/tests/fixtures; tone.mov, tone.mka, tone.opus, tone.ac3 and tone.eac3 made in this repository |
MIT OR Apache-2.0 | ||
crates/image-codecs/src/codecs/xpm/x11_colors.rs |
X.Org Foundation and X11 contributors (X11 rgb.txt colour names and values, normalised into a lookup table) |
https://cgit.freedesktop.org/xorg/app/rgb/tree/rgb.txt, via PhotoCraft crates/codecs |
MIT (X.Org app/rgb) | ||
crates/raster-codecs/src/xpm/x11_colors.rs |
X.Org Foundation and X11 contributors (X11 rgb.txt colour names and values, normalised into a lookup table) |
https://cgit.freedesktop.org/xorg/app/rgb/tree/rgb.txt, via PhotoCraft crates/codecs |
MIT (X.Org app/rgb) | ||
crates/psd/tests/fixtures/atn/*.atn (seven synthetic action sets, encoded field by field; crates/psd/tests/fixtures/atn/README.md) |
PhotoCraft contributors | PhotoCraft crates/psd/tests/fixtures/atn |
MIT OR Apache-2.0 | ||
crates/lottie/tests/fixtures/ |
EffectCraft contributors (original work: four hand-written Lottie JSON documents, written from the public Lottie format description; not exported from any Adobe product or third-party file) | EffectCraft crates/lottie/tests/fixtures |
MIT OR Apache-2.0 | ||
crates/pkcs7/tests/data/ |
PdfCraft contributors (original work: throw-away test keys and certificates made with OpenSSL 3 for these tests, as seven PKCS #12 files with the password test and two PEM certificates; they protect nothing; commands in crates/pkcs7/tests/data/README.md) |
PdfCraft crates/sign/tests/data |
MIT OR Apache-2.0 | ||
crates/affinity/tests/support/corpus.tsv, crates/affinity/tests/support/affinity3-signatures.txt (manifest and measured signatures only; the 113 files, 90 of them documents, are not bundled, scripts/fetch-affinity-corpus.sh downloads them outside the checkout) |
The authors of each document: samuel-etver (vector-art), satoshoe-dev (affinity-samples), Seth A. Robinson (Patchy fixtures), Nick Beeuwsaert (AFDesignLoad), Jeremy Cantu (Branding), eviltwo (AssetStoreTemplate), Square (leakcanary) | each file's pinned upstream URL and SHA-256 in the manifest; every name from VectorCraft xtask/src/affinity_corpus.rs and PhotoCraft xtask/affinity-corpus.sha256 |
CC0-1.0, MIT or Apache-2.0 (per file, in the manifest) | ||
crates/raw/docs/coverage/adobe-cameras.tsv |
Facts (maker, model, extension, profile, minimum Camera Raw version) parsed by LightCraft contributors from Adobe's published list | Adobe Camera Raw supported cameras, Wayback capture 20261003133011; moved from LightCraft docs/raw |
Facts, not copyrightable expression; the file is MIT OR Apache-2.0 | ||
crates/raw/docs/coverage/{coverage,coverage-sweep,evidence,usage-weights}.tsv, coverage.py |
LightCraft contributors | LightCraft docs/raw |
MIT OR Apache-2.0 | ||
crates/raw/docs/raf-corpus.sha256 (hashes only; the files are not bundled) |
The photographers who contributed each file to raw.pixls.us | raw.pixls.us | CC0-1.0 | ||
crates/drawingml/src/preset_text.txt |
DeckCraft contributors (Nikita Rakitin); generated by crates/drawingml/tests/fixtures/make_preset_guides.py from the guide formulas of ECMA-376 Part 1 presetShapeDefinitions.xml |
storytold/deckcraft#650 | MIT OR Apache-2.0 (the formulas are the format's definition in ECMA-376) | ||
crates/drawingml/tests/fixtures/preset_table.txt |
DeckCraft contributors (Nikita Rakitin); generated by crates/drawingml/tests/fixtures/make_preset_table.py from ECMA-376 Part 1 presetShapeDefinitions.xml |
storytold/deckcraft#650 | MIT OR Apache-2.0 (the formulas are the format's definition in ECMA-376) |
Binary Apple property lists
crates/plist is extracted from storytold/craft-anything (crates/formats/src/plist.rs and checked byte reads), at source main 88d1d9cac852aec1c7fd97886db451e005e49d2a. MIT OR Apache-2.0; source license texts are retained in the crate. Primary import Git authors preserve Brandon Thomas, BFlat, RRFZ and Afloat. Regression imports preserve BFlat. XML, JSON projection, calendar formatting and app policy were not imported into the public API.
crates/tga/src/metadata_tests.rs and metadata-boundary helpers in crates/tga/src/lib.rs are adapted from nuclearspike's FilmCraft #1932 at e7842f76f887005c460c64a8ab51d59d086e6f27 (MIT OR Apache-2.0). Synthetic fixtures are original contributor test data; primary Git author retained.
The XML reader in crates/plist/src/xml.rs and its base64 compatibility helper are ported from Craft Anything 8f3b775157d331dd31cfa4da911e26d8856b8c77 (same MIT OR Apache-2.0 source licenses). Brandon Thomas is the primary import author; retained hardening credits include Afloat, BFlat, Rahul, RRFZ and NetterSilver. The finite-real fix preserves gmrmad1 as author from Craft Anything #1905 (d85e104f); quoted-attribute/line-ending regressions preserve RRFZ. Bounds/adaptation and bounded entity scanning are subsequent Dylan M. Taylor changes. App-specific JSON projections and keyed-archive interpretation remain outside this crate.
Score serializers
crates/score extracts SoundCraft MusicXML and SVG score writing from crates/engine/src/score.rs at main 648ed9db9a0e98cc55643babffac381521a556c8, with per-pitch ties adapted from SoundCraft #182 at 21cb618d93ec0e8d4771ac534994de8d5996ff10. Source is MIT OR Apache-2.0. Import commits preserve Brandon Thomas, NetterSilver, Samuel Bacaro and Vikram Bhaskaran as primary authors of their respective changes. The consumer retains session mapping and layout. Shared API wiring, validation and focused tests are subsequent Dylan M. Taylor changes.
Source-timed MIDI compatibility
crates/midi/src/source_timed.rs is extracted from LoopCraft crates/midi/src/lib.rs at 884e67c24b9b68badf6a4a4f7d62492f3673d354 (MIT OR Apache-2.0). The recorded source history for the extracted file is Dylan M. Taylor (0d150c1f, 440bc7ed, 9e50523d); Git authorship is preserved. It includes the original hostile-file, SMPTE, timing and round-trip tests. UTF-8 truncation and event-budget suffix repairs are subsequent changes. The module is an application-independent source-timed model; it does not depend on LoopCraft.
Non-seeking WAV primitives
crates/audio/src/wav_stream.rs is extracted from AniCraft crates/audio/src/wav.rs at d875a7feb250e6ab06aa28a37fb78a0699e88330 (MIT OR Apache-2.0). Tanish Manku is retained as the primary import author, from original commit 30c121d269a49d9abe54a3834ed4aa0201542535. Odd-data padding accounting, shared API documentation and regression tests are subsequent Dylan M. Taylor changes.
GIMP palette reader
crates/palette extracts the GPL text parser from AniCraft crates/doc/src/swatch.rs at d875a7feb250e6ab06aa28a37fb78a0699e88330 (MIT OR Apache-2.0), introduced by Tanish Manku in a64130a9da9bdde545463b852d95d6a6774b1dfd (AniCraft #270). The import preserves Tanish as primary author. Neutral RGB/name adaptation separates application display-name sanitization and the Untitled policy; validation tests and integration are subsequent Dylan M. Taylor changes.
The legacy ZIP Zstandard method-20 mapping and bounded-read regression in crates/zip/src/lenient are ported from RRFZ's Craft Anything commit 29badae7c9280fdf4c24795927bf3a91f51694c6 (MIT OR Apache-2.0). RRFZ remains the primary Git author. Firmware scanner detection remains app-owned and is not part of this port.
TAR/CPIO compatibility updates
The old GNU sparse-extension traversal, GNU CRC-symlink compatibility and PAX-size precedence fixes and their regression tests in crates/tar are ported from RRFZ's Craft Anything PRs #1973 (8ea2ec66a1bc80f0420f3695baac877a0cb9b9a5), #1984 (b226a475f7dce9710e3af7a069386fe7a9720df7) and #2007 (d29465c20b0d570ea4973be512a0cb4e212bb60f). Source is MIT OR Apache-2.0; RRFZ remains the primary Git author of each port. The PAX update adapts to the shared parser's existing PaxOverrides structure without changing the source policy.
Aligned stored ZIP entries
The USDZ alignment requirement and compatibility fixture for Writer::add_stored_aligned come from TextureCraft crates/formats/src/mesh_export/usd.rs, introduced by bflatastic in bdbb52c9 and maintained through 9eb20086 (MIT OR Apache-2.0). The shared API and alignment validation are subsequent Dylan M. Taylor work. Scene/material mapping remains in TextureCraft.
The raw gradient wire ordering in craft-lottie::Gradient::flat_values follows
AniCraft's Lottie exporter by Tanish Manku (63b39355, b9258b7b), MIT OR Apache-2.0.
Sanitization, animation fitting and numeric output policy remain caller-owned.
Screen Video key frames
crates/video/src/screen_video.rs extracts AniCraft crates/xfl/src/video.rs codec-3 decoding and its synthetic partial-block fixture, introduced by Tanish Manku in 1f3e603b7ff53a3da364e41ec4da8d43dc83aab0 with pixel-loop cleanup 2b7571363b4b647266df758f95b6e397021cfd4d (MIT OR Apache-2.0). Import commits preserve Tanish as primary author. Caller-owned bounds and neutral RGBA output separate codec work from the consuming app's FLV first-frame/report policy. Boundary tests and integration are subsequent Dylan M. Taylor changes.
Source Map v3 parser and lookup
crates/sourcemap extracts the bounded parser, source inventory and generated-position lookup from Craft Anything crates/formats/src/sourcemap.rs at e5c9c94106747ed44b9a3fb0decce867c2285f93 (MIT OR Apache-2.0). Core-history ports preserve Brandon Thomas, BFlat, Afloat, RRFZ, Nicolas Bohn and Alex Joaquim Pereira as primary authors, with exact source revisions in each commit. Six regression files preserve their source authors; nine core unit tests retain the original tests. App annotation scanning, data URLs, base64 and file I/O are intentionally not imported. Workspace wiring is a subsequent change; existing limits and errors are unchanged.
JSONC span-preserving editing
crates/jsonc is extracted from Craft Anything crates/formats/src/jsonc.rs at e5c9c94106747ed44b9a3fb0decce867c2285f93 (MIT OR Apache-2.0). The original implementation and hardening by BFlat, newline preservation by NetterSilver, and subsequent RRFZ/Afloat correctness fixes retain separate primary-author port commits with immutable source revisions. Shared API wiring and optional input-byte admission are subsequent changes. Compatibility parsing and all existing formatting/editing tests are retained; application file I/O and policy are not imported.
XFA XML DOM
crates/xfa/src/xml.rs is extracted from PDFCraft at 271e479c53723b1b294c866d5cb2f27604601b29, originally by Dylan M. Taylor (eead4541, 7d44e654), MIT OR Apache-2.0. The initial extraction changes visibility and module boundaries; subsequent namespace-retention budget hardening intentionally tightens resource admission. PDF/layout/form policy remains in the app.
Java class inspection
crates/java-class extracts Craft Anything java_class.rs and java_ops.rs at 5979f9b13f16dcf1df3c7ae7f8e7735f452866f2 (MIT OR Apache-2.0), preserving separate primary-author source-history ports by Brandon Thomas, BFlat, Afloat and RRFZ. The checked byte-reader, modified UTF-8 unit decoder, descriptor display helper and synthetic class fixtures come from the same source snapshot. Seven regression files retain their source authors. Neutral error wiring and shared crate integration are subsequent changes. No JAR archive, application I/O or bytecode execution is imported.
WebAssembly inspection
crates/wasm extracts Craft Anything crates/formats/src/wasm.rs at 5979f9b13f16dcf1df3c7ae7f8e7735f452866f2, with its checked byte-reader subset and original synthetic WASM/testkit fixtures (MIT OR Apache-2.0). Eight core-history ports preserve Brandon Thomas, Afloat and RRFZ as primary authors; component, repeated-custom-section and referenced-string regression imports retain source authors and commit references. Fixtures come from crates/testkit/src/formats.rs and deterministic mutation helpers from crates/testkit/src/lib.rs; no third-party binaries. Shared error naming and workspace wiring are subsequent changes. Existing inspection limits and report behavior are unchanged; this crate validates/inspects/renders, never executes modules.
Packet capture and protocol inspection
crates/pcap extracts Craft Anything crates/formats/src/pcap.rs, its checked byte reader primitives and synthetic packet fixtures/regressions at 5979f9b13f16dcf1df3c7ae7f8e7735f452866f2 (MIT OR Apache-2.0). Brandon Thomas introduced the implementation, byte reader and fixtures in f64ae3bf3c8863a982af1304e06de20653803968. Subsequent fixes by phatloi0010, GGWA, BFlat, Afloat, NetterSilver, Max Mittelstädt and RRFZ retain separate primary-author source-history commits with immutable source revisions. Shared error/API wiring and chrono-based timestamp formatting with exhaustive day-boundary parity tests are subsequent Dylan M. Taylor changes. No packet reassembly, decryption, live capture or app analysis policy is imported.
HTTP Archive reader
crates/har preserves Craft Anything crates/formats/src/har.rs from 5979f9b13f16dcf1df3c7ae7f8e7735f452866f2 (MIT OR Apache-2.0). Brandon Thomas introduced the typed reader in f64ae3bf3c8863a982af1304e06de20653803968; BFlat added UTF-8 BOM compatibility in cb0bb9d8fa4536ba44ef2c86f5ed759b879cc2d3. Both source snapshots retain primary author attribution. Shared wiring, explicit byte admission and its tests are subsequent Dylan M. Taylor changes. Redaction and analysis remain app-owned.
Dalvik DEX inspection
crates/dex extracts Craft Anything crates/formats/src/dex.rs and dex_ops.rs at 5979f9b13f16dcf1df3c7ae7f8e7735f452866f2 (MIT OR Apache-2.0). Five source-history ports preserve Brandon Thomas, BFlat and Afloat as primary authors. Five regression imports retain BFlat/Afloat authors and exact source revisions. The checked byte-reader/MUTF-8 subset and synthetic DEX fixture come from that app's bytes.rs and testkit/src/android.rs; deterministic noise/mutations come from its testkit. No application file I/O, APK logic or execution is imported. Shared neutral errors and workspace wiring are subsequent changes; existing per-file strings, member/handler and bytecode payload budgets are retained.
EVM bytecode inspection
crates/evm extracts Craft Anything crates/formats/src/evm.rs at a31e995858f4312e0f1d59a007112da191ef2d26 (MIT OR Apache-2.0). Eight separate source-history ports preserve Brandon Thomas, Afloat, RRFZ and NetterSilver as primary authors with immutable source references. Synthetic EVM fixtures and deterministic mutation helpers come from the same app source; regression files retain their source provenance. Neutral errors and workspace integration are subsequent changes. No code execution or transaction behavior is imported.
XFDF field reader
crates/xfdf extracts PDFCraft field reading from #5937 refresh cb564fd827f572818e9ddb0ea5989a432b1f39fd (MIT OR Apache-2.0). App-side annotation and form policy remains local; source history is retained in the original repository.
Retained XFDF source contributors (move-aware blame): Brandon Thomas, Marco Arnulfo, pkibiego and storybored379; module split by aiongg. Subsequent budget/integration work by Dylan M. Taylor.