Dylan M. Taylor
69dc6f3097
eps: delegate AI editing-data lexer to craft_eps::ai_lex (craft-libs#790) ( #9037 )
2026-11-21 15:24:11 -05:00
Dylan M. Taylor
f72c56711a
doc: share PNG pHYs chunk writing via craft-image-codecs (craft-libs#785) ( #9033 )
2026-11-21 14:16:05 -05:00
Dylan M. Taylor and dotCooCoo
82d5aabeec
refactor(cdr): use shared craft-cdr from craft-libs ( #8857 )
...
* refactor(cdr): depend on shared craft-cdr from craft-libs (#1665 )
Replaces the local crates/cdr (vectorcraft-cdr) crate with craft-cdr
from storytold/craft-libs#2697 (storytold/craft-libs#778 ), keeping
VectorCraft's document/artboard/layer/shape mapping in crates/engine.
Co-authored-by: dotCooCoo <[email protected] >
* build(cdr): pin craft-cdr to craft-libs main (75d179f8df)
* build(cdr): pin craft-cdr to craft-libs main (9b28b56bc7)
* docs(cdr): point CDR/CMX provenance and test paths to craft-cdr
---------
Co-authored-by: dotCooCoo <[email protected] >
2026-11-20 20:27:55 -05:00
Dylan M. Taylor
ef2cf470e3
eps: bound DSC header/trailer scan with craft-eps and add regressions ( #8855 )
...
* eps: delegate DSC header comments to craft-eps, pin craft-ps, and add regressions
* eps: use Document::walk and NodeKind::Image in TIFF preview round-trip test
* eps: fix readline EOF bool expectation in tests_reads
* eps: use 2x2 image in truncated currentfile filter test so EOF is hit
* eps: exercise truncated currentfile filter without panicking and assert Err on unterminated EOF
* eps: preserve last in-range header box in Dsc::read and remove pin change
2026-11-20 20:27:33 -05:00
Dylan M. Taylor
063f550802
doc: share CMYK TIFF read and write ( #8751 )
...
* doc: share CMYK TIFF read and write
* doc: fix craft_image_codecs encode/Image/Truncated calls and fmt
* cmyk: decode TIFF samples from the metadata directory
* doc: guard TIFF metadata tag sizes before decoding CMYK source
* doc: fix TIFF metadata preflight scan bound and repin craft-libs
* test(doc): distinguish shared craft-image-codecs CMYK TIFF read/write
* test(doc): pass written.bytes.as_slice() to Cursor
* chore: restore origin/main craft-libs pin (d7c9632bfb)
2026-11-20 12:45:50 -05:00
Dylan M. Taylor
c43c35e8d4
eps: add smooth shading edge-case tests ( #8841 )
...
* eps: add smooth shading edge-case tests
* eps: fix hard-edge padded stop assertion in shading test
2026-11-20 12:04:13 -05:00
Dylan M. Taylor
f987648e96
eps: delegate scene-writer shading, image stream, and line style syntax to craft-ps ( #8810 )
...
* eps: delegate scene-writer shading, image stream, and line style syntax to craft-ps
* chore(eps): repin craft-ps to merged craft-libs main (cfcc86242)
2026-11-20 03:01:58 -05:00
Dylan M. Taylor
2848526796
fix: resolve two coverage test failures on main ( #8813 )
...
- eps: restore linear-time memchr::memmem::find in lex::find so
search_in_a_loop_runs_out_of_the_budget does not hit O(N*M) under
craft_ps::read::lex::find.
- ui-egui: wait for FontDb background scan and ensure >20 font families
in menu_access_stationary_pointer_repeat_and_rerun_do_not_retarget_or_double_invoke
so coverage/minimal runners do not race or fall short of 20 families.
2026-11-20 02:32:03 -05:00
Dylan M. Taylor
54f58fff31
eps: cut over PostScript scanner (lex.rs) to craft-ps ( #8793 )
...
* eps: cut over PostScript scanner (lex.rs) to craft-ps
* chore: repin craft-ps to craft-libs main
2026-11-19 21:05:18 -05:00
Dylan M. Taylor
7c81cd7df8
eps: document and test shared EPSI preview compatibility
2026-11-19 17:42:11 -05:00
Dylan M. Taylor
b8c15be445
Merge remote-tracking branch 'origin/main' into cutover/jpeg-icc-replace
...
# Conflicts:
# Cargo.toml
2026-11-19 16:47:43 -05:00
Dylan M. Taylor
4b1d0b257b
refactor(eps): delegate EPSI preview decoding to craft-eps
2026-11-19 16:26:07 -05:00
Dylan M. Taylor
7d44f644e8
color: use shared craft-cms palette codecs with localized errors
2026-11-19 13:52:36 -05:00
Dylan M. Taylor
15aab049c8
Merge main and align PDF dependency guard with JPEG ICC cutover pin
2026-11-19 12:10:48 -05:00
Dylan M. Taylor
05fffe3020
doc: delegate JPEG ICC replacement to craft-image-codecs
2026-11-19 11:00:14 -05:00
Dylan M. Taylor
0087be0452
color: cut over palette_io GPL/ASE/ACB to craft-cms ( #8627 )
2026-11-18 19:08:49 -05:00
Dylan M. Taylor
d2bed0bdb8
cutover: use craft_plotter::hpgl::write ( #8626 )
2026-11-18 19:08:45 -05:00
Dylan M. Taylor
4d73308977
color: cut over cms/icc.rs to craft-cms ( #8612 )
2026-11-18 17:21:45 -05:00
Dylan M. Taylor
9de706507c
Merge pull request #8579 from storytold/codex/vector-xml-strict
...
Use shared strict XML attribute validation
2026-11-18 10:10:03 -05:00
Dylan M. Taylor
c758d60942
Merge pull request #7904 from storytold/codex/shared-ligature-carets-caller
...
Use shared ligature caret mapping
2026-11-18 09:53:58 -05:00
Dylan M. Taylor
4c57169a87
Merge remote-tracking branch 'origin/main' into pr-7904
...
# Conflicts:
# Cargo.lock
# crates/text/Cargo.toml
# crates/text/src/fontdb/lookup.rs
2026-11-18 09:50:09 -05:00
Dylan M. Taylor
54ef5ed6f7
Merge remote-tracking branch 'origin/main' into pr-7907
2026-11-18 09:49:26 -05:00
Dylan M. Taylor
69b97c66c1
Merge pull request #7877 from storytold/codex/shared-font-outline-caller
...
Share cached glyph outline drawing
2026-11-18 09:47:37 -05:00
Dylan M. Taylor
7841c6601b
Merge remote-tracking branch 'origin/main' into pr-7907
2026-11-18 09:21:49 -05:00
Dylan M. Taylor
64458d0a5a
Merge remote-tracking branch 'origin/main' into pr-7904
2026-11-18 09:21:45 -05:00
Dylan M. Taylor
1b150df493
Merge remote-tracking branch 'origin/main' into pr-7877
2026-11-18 09:21:41 -05:00
Dylan M. Taylor
2dd120c0fe
Use shared contextual run shaping ( #7878 )
2026-11-17 08:14:14 -05:00
Dylan M. Taylor
34dd4b53ab
Pin shared HP-GL lexer to merged prerequisite
2026-11-17 07:45:20 -05:00
Dylan M. Taylor
6d91dde84c
Merge remote-tracking branch 'origin/main' into HEAD
...
# Conflicts:
# crates/text/src/fontdb/lookup.rs
2026-11-16 23:23:16 -05:00
Dylan M. Taylor
09fbf82e0e
cad: use shared HP-GL byte lexer, preserve interpreter and writer ( #8282 )
2026-11-16 22:34:09 -05:00
Dylan M. Taylor
23ba5c8d47
SVG: use the shared standard Base64 encoder ( #8280 )
2026-11-16 22:22:39 -05:00
Dylan M. Taylor
ca7ad8db03
fix(deps): pin PackBits and PDF cohort to merged shared revision
2026-11-16 16:04:48 -05:00
Dylan M. Taylor
9c61c0b66e
Merge pull request #8103 from storytold/refactor/eps-shared-write
...
refactor(eps): delegate PostScript write primitives to craft-ps
2026-11-16 15:55:40 -05:00
Dylan M. Taylor
aa5d042441
deps: synchronize PDF backend pins with shared stream codecs
2026-11-16 11:25:29 -05:00
Dylan M. Taylor
7ab07b560d
eps: delegate hex bodies to shared ASCIIHex decoding
2026-11-16 10:23:55 -05:00
Dylan M. Taylor
ae86489406
render: delegate TIFF and EPS PackBits encoding to craft-stream-codecs
2026-11-16 10:08:08 -05:00
Dylan M. Taylor
568d25bf17
Merge main and preserve EPS shared writer dependency
2026-11-16 07:34:47 -05:00
Dylan M. Taylor
ebf49351e6
build(eps): pin merged shared PostScript writer
2026-11-16 07:15:30 -05:00
Dylan M. Taylor
7b895f0bf0
refactor(eps): delegate PostScript write primitives to craft-ps
2026-11-16 06:23:46 -05:00
Dylan M. Taylor
8ee5acc04e
Merge pull request #7866 from storytold/codex/shared-gzip-consumer
...
Use shared streaming native format writer
2026-11-15 17:28:04 -05:00
Dylan M. Taylor
e3cbc0418b
Retain complete JPEG encoder license and source notices
2026-11-15 19:06:56 +00:00
Dylan M. Taylor
9c833595ed
Use stored raster preflight for DXF PNG and JPEG images
2026-11-15 19:01:49 +00:00
Dylan M. Taylor
71d7253444
Run outline differential tests without font installation
2026-11-15 18:49:21 +00:00
Dylan M. Taylor
ac98891a69
Pin XML validation test fix
2026-11-15 17:45:27 +00:00
Dylan M. Taylor
09dda7bd9a
Use shared strict XML attribute validation
2026-11-15 17:44:53 +00:00
Dylan M. Taylor
abe90db45a
Cover PNG transparency keys in opaque outline decoding
2026-11-15 17:42:47 +00:00
Dylan M. Taylor
2ad5fa1734
Preserve renderer source limits for streaming PNG reduction
2026-11-15 17:41:07 +00:00
Dylan M. Taylor
d02b41414a
Use shared ligature caret mapping
2026-11-15 17:25:58 +00:00
Dylan M. Taylor
3d0b4c9a26
Use shared measured line break selection
2026-11-15 17:22:25 +00:00
Dylan M. Taylor
3002404467
Use shared visual cluster ordering
2026-11-15 17:19:37 +00:00
Dylan M. Taylor
40518f790c
Pin native writer APIs to merged craft-libs
2026-11-15 16:56:16 +00:00
Dylan M. Taylor
729ed8958d
Use shared shaping segment boundaries
2026-11-15 16:43:08 +00:00
Dylan M. Taylor
ef76a71eb6
Merge branch 'codex/shared-shaped-run-caller' into codex/shared-cluster-fallback-caller
...
# Conflicts:
# Cargo.lock
# crates/text/Cargo.toml
2026-11-15 16:40:53 +00:00
Dylan M. Taylor
95d0d368e6
Merge branch 'codex/shared-font-outline-caller' into codex/shared-shaped-run-caller
...
# Conflicts:
# Cargo.lock
# crates/text/Cargo.toml
2026-11-15 16:40:26 +00:00
Dylan M. Taylor
b4fdbdd1ac
Stream shared outlines into the existing bounded pen
2026-11-15 16:39:40 +00:00
Dylan M. Taylor
5ddac17b9c
Use shared cluster font fallback
2026-11-15 16:32:09 +00:00
Dylan M. Taylor
cb7422e51e
Merge branch 'codex/shared-font-outline-caller' into codex/shared-shaped-run-caller
...
# Conflicts:
# Cargo.lock
# crates/text/Cargo.toml
2026-11-15 16:29:26 +00:00
Dylan M. Taylor
6fa5a6fb56
Compare malformed glyph recovery against original pen
2026-11-15 16:28:57 +00:00
Dylan M. Taylor
a2c2dd4127
Merge branch 'codex/shared-font-outline-caller' into codex/shared-shaped-run-caller
2026-11-15 16:26:10 +00:00
Dylan M. Taylor
09f02d70b5
Remove superseded outline import
2026-11-15 16:26:03 +00:00
Dylan M. Taylor
221b2d58b3
Use shared contextual run shaping
2026-11-15 16:25:15 +00:00
Dylan M. Taylor
4bc874ca79
Share cached glyph outline drawing
2026-11-15 16:20:29 +00:00
Dylan M. Taylor
3492976910
Use shared streaming native format writer
2026-11-15 15:16:59 +00:00
Dylan M. Taylor
28c8b12452
test(render): correct PNG row scratch thresholds
2026-11-15 01:42:22 +00:00
Dylan M. Taylor
2f5c8a6d35
fix(trace): preserve CMYK and Lab TIFF alpha outlines
2026-11-14 19:56:11 -05:00
Dylan M. Taylor
fb45e7ecb5
fix(render): validate dimensions in PNG header estimate
2026-11-15 00:37:40 +00:00
Dylan M. Taylor
118a9b627f
fix(render): use integer divisibility helper
2026-11-15 00:35:33 +00:00
Dylan M. Taylor
eb9c049af0
fix(render): estimate streaming for truncated PNG headers
2026-11-15 00:29:35 +00:00
Dylan M. Taylor
2e6d3f8f94
fix: preserve large 16-bit PNG import limit
2026-11-15 00:24:26 +00:00
Dylan M. Taylor
ead3826edc
fix: compare guessed image format directly
2026-11-14 23:35:49 +00:00
Dylan M. Taylor
d2776dddba
style: format streamed PNG size check
2026-11-14 23:29:44 +00:00
Dylan M. Taylor
ca6bd4fd95
fix(image): avoid false warning for streamed PNGs
2026-11-14 23:25:19 +00:00
Dylan M. Taylor
cb5c52f5e6
fix: validate XML attribute identities and preflight GIF frame limits
2026-11-14 23:25:19 +00:00
Dylan M. Taylor
5122a1f9d9
fix: preserve XML and raster import semantics after codec cutover
2026-11-14 23:25:19 +00:00
Dylan M. Taylor
1e1100a9ed
fix(tiff): keep test directory alive while checking borrowed ICC bytes
2026-11-14 23:25:19 +00:00
Dylan M. Taylor
db05483915
fix(codecs): adapt migrated regression tests to shared public APIs
2026-11-14 23:25:19 +00:00
Dylan M. Taylor
d97cb31bb6
fix(render): use CodecError::Unsupported and cargo fmt
2026-11-14 23:25:19 +00:00
Dylan M. Taylor
00804c9ed3
fix(render): fix PNG streaming decode error type and u64 casts
2026-11-14 23:25:19 +00:00
Dylan M. Taylor
08305948cf
style: cargo fmt
2026-11-14 23:25:19 +00:00
Dylan M. Taylor
1306afb5e8
Cut over roxmltree, png, tiff, psd, and trace codecs to craft-libs ( #7638 )
2026-11-14 23:25:19 +00:00
Dylan M. Taylor
b3a8bf7df9
fix(codecs): use probe_size, Limits::none, and u64 max_alloc
2026-11-14 21:55:28 +00:00
Dylan M. Taylor
3cb16efabb
chore: align craft-libs and hayro patches to d6cd7836d
2026-11-14 21:44:58 +00:00
Dylan M. Taylor
62d5440fd0
chore: update Cargo.lock
2026-11-14 21:32:14 +00:00
Dylan M. Taylor
e1d781f787
Merge remote-tracking branch 'origin/main' into feat/cutover-remaining-codecs
...
# Conflicts:
# Cargo.toml
# crates/pdf/src/file_info.rs
# crates/render/Cargo.toml
# crates/render/src/encode/tests_psd.rs
# crates/render/src/encode/tests_tiff.rs
# crates/render/src/paint.rs
# crates/svg/src/import/files.rs
# crates/trace/src/opaque.rs
# crates/trace/src/raster.rs
# crates/trace/src/tests.rs
2026-11-14 21:26:12 +00:00
Dylan M. Taylor
1d6c4dcd14
chore(codecs): cut over remaining image/tiff/ccitt codecs to craft-libs
2026-11-14 21:19:30 +00:00
Dylan M. Taylor
bada8e1710
Cut over roxmltree, png, tiff, psd, and trace codecs to craft-libs ( #7638 )
2026-11-14 13:49:50 -05:00
Dylan M. Taylor
c11ee11c1c
Merge pull request #7454 from storytold/codex/fix-ci
...
Fix CI formatting after craft-libs cutover
2026-11-14 00:44:10 -05:00
Dylan M. Taylor
2ce569a6a7
Format svg adapter after craft-libs cutover
2026-11-14 05:14:16 +00:00
Dylan M. Taylor
1e4e3534f5
Merge pull request #7398 from storytold/feat/craft-libs-migration
...
Migrate CAD (DXF), EPS/PostScript, and SVG to craft-libs (#778 )
2026-11-13 22:14:10 -05:00
Dylan M. Taylor
e927729f25
SVG: delegate entity expansion bounds, sniffing, and SVGZ to craft-svg
2026-11-14 01:40:55 +00:00
Dylan M. Taylor
cb5b06672f
EPS: delegate binary preview header, sections, and ASCII85 to craft-eps
2026-11-14 01:28:35 +00:00
Dylan M. Taylor
e4035a75db
DXF import: read the drawing with craft_dxf::model
...
craft_dxf::parse_recovering reads the tags (ASCII and binary, any code
page), model::Document::read the sections, tables, blocks, layouts and
entity followers, and Entity::read each entity. The pair parser, the
records, the header, layer, block and layout readers and the colour
palette are gone; what stays is the mapping onto VectorCraft art.
Binary DXF files now open instead of being refused. A damaged binary
file says so.
2026-11-14 00:56:01 +00:00
Dylan M. Taylor
92355e3b03
WIP: Add craft-libs workspace dependencies
2026-11-14 00:55:29 +00:00
Dylan M. Taylor
6d6bbff53b
Affinity: read native documents with craft-affinity from craft-libs
...
Affinity: read native documents with craft-affinity from craft-libs
* Affinity: read native documents with craft-affinity from craft-libs
crates/affinity's reader moved to craft-libs as craft-affinity (#914 ).
The crate keeps its name and re-exports it, so the engine, the corpus
tests and fuzz targets, and the Affinity corpus CI job are unchanged.
Its integration tests take craft-libs' versions; the one signature that
changes is patchy-shapes-2.af, whose special shapes now have outlines.
* Affinity: pin craft-affinity to craft-libs 228f6d0c (no change to the crate)
2026-11-12 00:08:38 -05:00
Dylan M. Taylor
a971a14898
Fix Flatpak updates and bump to 0.24.1 ( #6649 )
...
* fix(flatpak): allow release checks and self-update helpers
* test: keep Flatpak permission parsing within strict Clippy rules
* chore: bump version to 0.24.1 for the Flatpak update fix
* test: locate CLI binaries after Nextest archive relocation
* docs: explain the Flatpak update permission bootstrap
2026-11-11 21:30:40 -05:00
Dylan M. Taylor
da33e8616a
Metafile: drop PNG ICC and text chunks before decoding; Folder batch lists aliased folders once
2026-11-12 00:00:55 +00:00
Dylan M. Taylor
f4bbf33b51
Trace: refuse a GIF frame larger than the pixel ceiling before decoding
2026-11-11 22:46:07 +00:00
Dylan M. Taylor
566f720868
SVG import: references follow an id's first element, one read per linked file, bounded blank lines ( #5409 )
...
* fix(svg): first element of an id, shared linked file reads, bounded blank lines
* address review: cache failed linked-image reads but give each href its own placeholder and link
* address review: charge only blank lines to the line-break budget
* address review: a collapsed line break keeps its measured leading in tiny type
* address review: blank lines use the same scaled leading tolerance
2026-11-11 16:11:34 -05:00
Dylan M. Taylor
da8c37aa8c
PDF: note fonts once per walk, place repeated rasters without converting again, check image headers before embedding
2026-11-11 21:06:08 +00:00
Dylan M. Taylor
8e8b43f045
ci: use StepSecurity's maintained actions ( #6658 )
...
Each third-party action that StepSecurity publishes a secure drop-in
replacement for now uses that replacement, pinned to a commit with its
version as a comment. Versions follow what we used: the newest
StepSecurity release in the same major, or the closest major they
publish. dtolnay/rust-toolchain refs that named a toolchain (stable,
nightly, 1.76) become the replacement's `toolchain` input.
2026-11-11 16:02:52 -05:00