Commit Graph
8520 Commits
Author SHA1 Message Date
Dylan M. Taylor 07e89ad30a fix(idml): preserve transforms and text variable values 2026-11-14 05:51:17 +00:00
Dylan M. Taylor 6c894be829 Merge pull request #1180 from dylanmtaylor/codex/craft-idml-geometry
craft-idml: strict bounded path geometry reader
2026-11-14 00:46:14 -05:00
aiongg 31e032d5df Menu clippy on wasm32, header-menu and edit-menu stories
The wasm32 clippy step of the Menu job: craft-atomic drops files that have no drop glue there, the crash-log clock helper is native only, and one lint expectation holds on 64-bit targets only. Table and AltTextField declare their overlay and get a story that opens it.
2026-11-14 05:25:25 +00:00
Dylan M. Taylor e58cd131af test(svg): use tree-depth limit for referenced depth 2026-11-14 05:17:03 +00:00
aiongg 2b5de84828 Design lint: layer the env values, route egui access through the adapter, derive setters, token and relation checks in tests
The gate's design-lint test finds nothing. Env value types (pane edge, column align, row pressed, in-bar), band fill and span live in the layer that uses them; the cursor image and inside label are read back by the higher layer. Hand setters become derived props, tests assert relations, and the remaining sites are listed exceptions with reasons. The shortcut chord chip's sample is built only for screen tests.
2026-11-14 05:05:04 +00:00
Dylan M. Taylor d2fd4fb09e Clamp OOXML measurements before f32 conversion 2026-11-14 04:54:11 +00:00
kiwi4boy c950dacd39 craft-xlsx: read row heights, column widths and default sizes of a binary sheet
BrtRowHdr fills Row's height, custom height, hidden, outline level, collapsed
and style (with thickTop, thickBot and ph kept as the XML reader keeps them);
BrtColInfo fills SheetPart::columns; BrtWsFmtInfo fills the new typed
Features::format (SheetFormat, mirroring sheetFormatPr), which the .xlsx
reader now fills too and to_xml writes from the field.

A row's ht follows Excel's .xlsx: set by hand, or differing from the
default. Column ranges outside the grid are skipped with a warning, column
records are capped at 16,384, and heights past 8,192 twips are ignored.

Closes #1254.
2026-11-13 23:50:23 -05:00
Dylan M. Taylor 0559e4214e Read conventional footnote and endnote parts 2026-11-14 04:48:57 +00:00
kiwi4boy 3e957e0fd1 craft-xlsx: read the styles part of a binary workbook
Package::styles() reads styles.bin into the same Styles the XML part
gives: number formats, fonts, fills, borders, cell and cell style
formats, cell styles, differential formats and indexed colours, spelled
as Excel writes them in styles.xml. A damaged part is a warning and no
styles; each table holds at most 65,536 entries.

Closes #1253.
2026-11-13 23:35:18 -05:00
Dylan M. Taylor 9481cecd22 docs: clarify shared resolution precedence 2026-11-14 04:24:37 +00:00
Dylan M. Taylor c526df24f3 image-codecs: delegate metadata edits to shared crate 2026-11-14 04:22:36 +00:00
Dylan M. Taylor 1c6ac2e086 fix(xfl): honor the ZIP64 entry-count sentinel 2026-11-14 04:02:41 +00:00
Dylan M. Taylor b77af389f3 Merge pull request #1245 from storytold/codex/anicraft-envelope
feat(anicraft-format): extract native JSON envelope
2026-11-13 23:01:08 -05:00
aiongg aab2fd5ac7 craft: add the file-format and protocol crates to the facade; UPDATE_FACADE writes dependencies and re-exports 2026-11-14 03:56:04 +00:00
dotCooCoo 47baffee9d craft-texture: compare images by value whether or not the buffer is shared
Image equality no longer short-cuts on a shared buffer. An image holding
NaN compared equal to its clone but unequal to the same image built
again; it is now unequal to both, as f32 comparison gives.
2026-11-13 19:55:39 -08:00
Dylan M. Taylor f9f9e11fd9 Merge pull request #1244 from storytold/codex/docx-conventional-part-fallback
craft-docx: keep conventional parts without relationships
2026-11-13 22:55:28 -05:00
aiongg 24db3f0b56 Revert "Facade: features for the format crates from the last main merge"
This reverts commit 848e44779e.
2026-11-14 03:52:53 +00:00
dotCooCoo 316db97052 craft-texture: keep bilinear samples of finite texels finite
The four weighted texels are summed in f64 and a finite sum is clamped
to the f32 range. Rounded weights can add up to slightly more than 1,
which made a constant image of f32::MAX sample to infinity at some
coordinates. Infinite texels still give an infinite or NaN sample.

The crate docs and README now limit the OutOfMemory guarantee of the
try_ forms to the pixel buffer, and name the Arc and the try_resize
resampler as allocations that are not fallible.
2026-11-13 19:52:40 -08:00
aiongg 848e44779e Facade: features for the format crates from the last main merge 2026-11-14 03:49:57 +00:00
Dylan M. Taylor a6b246ebef fix(xfl): support self-extracting archive offsets 2026-11-14 03:49:42 +00:00
Dylan M. Taylor e2dc681a3a Merge pull request #1197 from dylanmtaylor/codex/photocraft-psd-zlib-stream
PSD: expose incremental zlib stream encoding
2026-11-13 22:39:04 -05:00
Dylan M. Taylor fd708734aa Merge pull request #1182 from storytold/codex/photocraft-file-caps
Add shared format capability catalog
2026-11-13 22:38:59 -05:00
Dylan M. Taylor ecee693322 Merge pull request #1171 from dylanmtaylor/codex/photocraft-format-library
Add shared image codec facade
2026-11-13 22:38:50 -05:00
aiongg 2c8a2affd8 Contract stubs: pn.C10 and pn.C16 markers name their writer set panels-w2 2026-11-14 03:36:11 +00:00
Dylan M. Taylor 2bc600186f Align IDML story test with typed destinations 2026-11-14 03:30:34 +00:00
Dylan M. Taylor 2239b0afb0 Merge pull request #1246 from storytold/prc-compressed
craft-prc: rebuild compressed tessellations whose normals are recalculated (#778)
2026-11-13 22:27:44 -05:00
Dylan M. Taylor f72b69699f craft-prc: rebuild compressed tessellations whose normals are recalculated (#778) 2026-11-14 03:27:29 +00:00
Dylan M. Taylor d9284894ba Merge pull request #1243 from dylanmtaylor/codex/eps-postscript-numeric-operators
craft-eps: share PostScript numeric operators
2026-11-13 22:26:11 -05:00
Dylan M. Taylor 49056e5408 image-codecs: align JPEG tests with progressive support 2026-11-14 03:21:46 +00:00
aiongg 522b28a309 Lints: the clipboard conversion helper is re-exported for tests only 2026-11-14 03:16:54 +00:00
aiongg e9e3a961f4 Merge next (CI lint fixes) into phase2/stubs
# Conflicts:
#	crates/color/src/ui/swatches/menu.rs
2026-11-14 03:13:33 +00:00
Dylan M. Taylor c82c83043a Update lockfile after main merge 2026-11-14 03:12:15 +00:00
Dylan M. Taylor 0b1688098a fix(anicraft): preserve invalid envelope diagnostic 2026-11-14 03:12:01 +00:00
Dylan M. Taylor 840d156fbf Merge current main into image codec extraction 2026-11-14 03:10:53 +00:00
Dylan M. Taylor 7f59e8f3f5 fix(docx): preserve case-insensitive main part fallback 2026-11-14 03:04:54 +00:00
Dylan M. Taylor 427fa15899 Merge pull request #1223 from storytold/codex/anicraft-xfl-format
Add bounded XFL FLA package reader
2026-11-13 22:01:31 -05:00
aiongg 3329f24220 Contract stubs: craft-text, story-render, craft-fonts-build (stage 8) 2026-11-14 02:55:10 +00:00
aiongg bb277cc3ac Lints: doc links, ungate the click event helper, api map entry for AppPaint, test allowances 2026-11-14 02:51:47 +00:00
aiongg 9be8a1d11c Contract stubs: craft-draw (part 4: transform, crop bar, slice, exports) 2026-11-14 02:49:16 +00:00
Dylan M. Taylor 9a2dafbf7d Move native format identity into shared crate 2026-11-14 02:47:40 +00:00
Dylan M. Taylor 5df4b49f8c feat(anicraft-format): extract versioned JSON envelope 2026-11-14 02:46:10 +00:00
aiongg 95e00b45be Contract stubs: craft-draw (part 3: shape, shape_presets, paint_bar, paths, pen, bezier) 2026-11-14 02:45:46 +00:00
aiongg 4b926304fb Contract stubs: craft-draw (part 2: gradient fill, pattern, slice, symmetry, measure) 2026-11-14 02:38:56 +00:00
aiongg f988cf9176 Contract stubs: craft-draw (part 1: geometry, stroke, artboard, brush presets, crop) 2026-11-14 02:37:22 +00:00
aiongg deeb91802f Lints: doc links, test lint allowances, struct update in tests, wildcard imports, dead code 2026-11-14 02:35:35 +00:00
aiongg b12d6387c5 Contract stubs: craft-automation, craft-layers, craft-font-manager, craft-timeline, craft-print 2026-11-14 02:34:37 +00:00
aiongg 117cdbd9ca Contract stubs: craft-update, craft-menu, craft-imaging, craft-color 2026-11-14 02:28:16 +00:00
Dylan M. Taylor fbbebecf27 Preserve conventional Word part fallback 2026-11-14 02:28:04 +00:00
aiongg 3ffce1da9f wip 2026-11-14 02:27:25 +00:00
aiongg 47a26f7e28 wip 2026-11-14 02:26:44 +00:00