Commit Graph
3038 Commits
Author SHA1 Message Date
Dylan M. Taylor 5d8ddd13e5 Add strict bounded IDML path geometry reader 2026-11-13 09:05:18 -05:00
dotCooCoo 23b10d78fb craft-ui: unit tests that render take turns with the wgpu renderer
Each egui_kittest wgpu renderer creates its own Vulkan instance and
device. When one test uses its device while a test on another thread
creates or destroys one, the Vulkan loader now and then crashes the test
binary with SIGSEGV. The previous commit serialized the four rendering
tests in tests/visual_regression.rs; the craft-ui unit test binary has
the same pattern in two tests:
combo::tests::the_button_and_menu_look_like_eguis and
tabs::dialog::tests::selected_tab_erases_a_baseline_centered_on_its_bottom_edge.

Both now take crate::gpu_test_lock() before building their harness and
hold it until the harness is dropped. The comment on the lock in
visual_regression.rs now names the loader race instead of concurrent
rendering alone.
2026-11-13 06:05:11 -08:00
dotCooCoo eb752a4209 craft-ui: visual regression tests take turns with the wgpu renderer
The visual_regression test binary crashed with SIGSEGV now and then on
the Ubuntu CI runner, where wgpu uses Vulkan (WGPU_BACKEND=vulkan) with
Mesa's software driver. Four of its tests each create a
WgpuTestRenderer, which creates its own Vulkan instance and device, and
the test harness runs them on parallel threads. When one test uses its
device while another creates or destroys one, the Vulkan loader can
read a device entry that is being freed.

Each of those tests now takes a shared lock before it creates its
renderer and holds it until the renderer is dropped. A poisoned lock is
taken over, so a failed test does not block the others.
2026-11-13 06:05:11 -08:00
Dylan M. Taylor 8ebdc499a5 Merge pull request #1186 from dylanmtaylor/codex/stencilcraft-file-import-registry
Add shared neutral file import and writer registry
2026-11-13 09:04:29 -05:00
Dylan M. Taylor 0e555c3def Share bounded FigCraft archive preview reads 2026-11-13 14:04:15 +00:00
Dylan M. Taylor c5fae05a5a Merge remote-tracking branch 'upstream/main' into codex/craft-svg-photo-1171-sync
# Conflicts:
#	Cargo.lock
2026-11-13 08:55:10 -05:00
Dylan M. Taylor 0e2a717c64 Merge pull request #1176 from storytold/feat/figcraft-native-format
Add shared native FigCraft project format crate
2026-11-13 08:42:00 -05:00
Dylan M. Taylor 1cb33dabdd Cover incremental PSD zlib stream draining 2026-11-13 08:17:32 -05:00
Dylan M. Taylor 6c505b0ce0 Expose incremental PSD zlib stream encoding 2026-11-13 08:14:16 -05:00
Dylan M. Taylor 93d0998383 Merge pull request #1184 from storytold/codex/designcraft-native-format
Add shared DesignCraft native format codec
2026-11-13 08:05:30 -05:00
Dylan M. Taylor 44dc2d8755 Preserve KRA internal DTD error wording 2026-11-13 08:02:45 -05:00
Dylan M. Taylor b96cc6b3ce Group shared writer paths by layer 2026-11-13 08:00:22 -05:00
Dylan M. Taylor b5dfdb0bda Fix shared file import edge cases 2026-11-13 07:50:09 -05:00
Dylan M. Taylor 5cbd15a090 Make progressive JPEG fixture valid 2026-11-13 07:48:03 -05:00
Dylan M. Taylor 3acb181c87 Detect OpenEXR from its file signature 2026-11-13 07:47:09 -05:00
alehel c298ac8bd2 craft-video: MPEG-2 encoder, second step: B pictures (#1133)
B pictures between anchors (b_pictures 0..=4, default 2) with reordering:
pictures go in in display order, packets come out in decoding order with
dts one picture interval before the presentation times. Closed or open
GOPs; the leading B pictures of a closed GOP predict backward only.

B macroblocks are forward, backward or interpolated, from a search per
direction seeded with the P picture's vectors scaled to the distance, or
skipped (previous directions with the predictors, kept inside the
reference). Rate control adds TM5's B complexity (K_b 1.4); a constant
quantiser codes B pictures at 1.25 times it.
2026-11-13 13:38:33 +01:00
Dylan M. Taylor 8748f70aea Expose multi-page PDF writer for neutral scenes 2026-11-13 07:36:18 -05:00
Dylan M. Taylor f4f48a9ac2 Make open clip fixtures explicitly stroked 2026-11-13 07:36:18 -05:00
Dylan M. Taylor ee548f530c Avoid unused fill contour flag 2026-11-13 07:36:18 -05:00
Dylan M. Taylor 2a8bb6a4e3 Harden neutral vector import and shared output 2026-11-13 07:36:18 -05:00
Dylan M. Taylor 62e2328905 Add shared neutral file import and writer registry 2026-11-13 07:36:18 -05:00
Dylan M. Taylor 59c52ac1dc Merge pull request #1174 from dylanmtaylor/codex/vector-file-imports
Add shared vector path import APIs
2026-11-13 07:35:46 -05:00
Dylan M. Taylor 1532c43674 Align EXIF thumbnail test with shared metadata 2026-11-13 07:33:07 -05:00
Dylan M. Taylor 0153632dfa Align codec EXIF thumbnail assertion 2026-11-13 07:32:07 -05:00
Dylan M. Taylor 33eb0ef9e2 Merge remote-tracking branch 'origin/main' into feat/figcraft-native-format 2026-11-13 12:31:13 +00:00
Dylan M. Taylor 90e76d7572 Use valid scan parameters in JPEG coverage 2026-11-13 07:29:45 -05:00
Dylan M. Taylor 0fb8f686eb Merge pull request #1191 from dylanmtaylor/codex/stencilcraft-dxf-wire
Add linear units to neutral DXF drawing writer
2026-11-13 07:26:58 -05:00
Dylan M. Taylor 80a8ecfe05 Write PDF vector colors without borrowing temporaries 2026-11-13 07:11:33 -05:00
Dylan M. Taylor 1d52e89405 Share raster metadata parsing with craft-metadata 2026-11-13 07:11:11 -05:00
Dylan M. Taylor 3019bd8369 Add typed PDF vector and selectable text content 2026-11-13 07:03:20 -05:00
Dylan M. Taylor 7cef561ce7 Reject XML internal DTDs before declaration parsing 2026-11-13 06:59:06 -05:00
Dylan M. Taylor c82752776a Test DesignCraft native wire compatibility 2026-11-13 11:55:14 +00:00
Dylan M. Taylor 38560a9ab6 Preserve malformed error for truncated oversized EXR 2026-11-13 06:51:57 -05:00
Dylan M. Taylor 6a86adb58a Merge pull request #1189 from dylanmtaylor/codex/sample-rate-wire-compat
Preserve unsupported SoundCraft sample rates on decode
2026-11-13 06:51:04 -05:00
Dylan M. Taylor b577b219e9 Merge pull request #1188 from storytold/codex/craft-jpeg-progressive
craft-jpeg: decode progressive Huffman JPEG
2026-11-13 06:50:58 -05:00
Dylan M. Taylor 4e4e9338d9 Update lockfile after raster facade cleanup 2026-11-13 06:45:26 -05:00
Dylan M. Taylor 7aedc1de73 Share small raster format implementations 2026-11-13 06:42:41 -05:00
Dylan M. Taylor 9aac9301a9 Decode FigCraft preview metadata in shared format 2026-11-13 11:36:14 +00:00
Dylan M. Taylor d436bebe88 Lock shared PDF XMP parser dependency 2026-11-13 06:33:23 -05:00
Dylan M. Taylor a966e43c29 Read FigCraft document envelopes in shared codec 2026-11-13 11:31:48 +00:00
Dylan M. Taylor f623bb317b Move spot-plate XMP encoding into craft-pdf 2026-11-13 06:30:46 -05:00
Dylan M. Taylor a00f8df829 Own published-library manifest codec 2026-11-13 11:29:37 +00:00
Dylan M. Taylor a07481b416 Bound EXR pixel area and SVG image recursion 2026-11-13 06:27:24 -05:00
Dylan M. Taylor d6d14f839a Correct DXF gigametre conversion 2026-11-13 06:23:20 -05:00
Dylan M. Taylor c0622649ff Preserve spot ink metadata in neutral PDF pages 2026-11-13 06:20:56 -05:00
Dylan M. Taylor a952079194 Decouple raster PDF output from Krilla writer 2026-11-13 06:20:13 -05:00
Dylan M. Taylor 57a12fe812 Move raster page PDF serialization into craft-pdf 2026-11-13 06:18:42 -05:00
Dylan M. Taylor cdcee12a54 Expose linear units through DXF drawing builder 2026-11-13 11:17:38 +00:00
Dylan M. Taylor 365bf47db6 Expose bounded SVG root dimensions 2026-11-13 06:08:48 -05:00
Dylan M. Taylor 23fb7f8f41 Support linear units in neutral DXF drawings 2026-11-13 11:08:13 +00:00