Commit Graph
5619 Commits
Author SHA1 Message Date
Dylan M. Taylor 8ac6920ec4 Write typed IDML table cells 2026-11-13 09:05:19 -05:00
Dylan M. Taylor cb05c972fd Model IDML story preference output 2026-11-13 09:05:19 -05:00
Dylan M. Taylor efd77798b1 Expose typed IDML story preferences 2026-11-13 09:05:19 -05:00
Dylan M. Taylor fa159b3f36 Model IDML graphic gradients and text paths 2026-11-13 09:05:19 -05:00
Dylan M. Taylor 49238094eb Expose shared IDML page item settings 2026-11-13 09:05:19 -05:00
Dylan M. Taylor ec03ac6d82 Parse IDML page margin values in shared model 2026-11-13 09:05:19 -05:00
Dylan M. Taylor 2f6c85dcfe Model IDML page margin preferences 2026-11-13 09:05:19 -05:00
Dylan M. Taylor 9809891ea6 Expose typed IDML spread and page settings 2026-11-13 09:05:19 -05:00
Dylan M. Taylor aae37955ad Expose typed IDML guide settings 2026-11-13 09:05:18 -05:00
Dylan M. Taylor fb3c910bc1 Model IDML ink manager entries 2026-11-13 09:05:18 -05:00
Dylan M. Taylor 0e537f7952 Retain optional gradient stop values 2026-11-13 09:05:18 -05:00
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
aiongg 957e2282c4 docs: contract-api and components-index regenerated 2026-11-13 13:19:33 +00:00
Dylan M. Taylor 1cb33dabdd Cover incremental PSD zlib stream draining 2026-11-13 08:17:32 -05:00
aiongg f77092be43 F-16 fix round 1: drop an unused import 2026-11-13 13:17:30 +00:00
aiongg 3314ffeb28 F-16 fix round 1: one canvas zoom field with the percent unit, NavigateBar::zoom over the canvas's ViewTarget, Fit Artboard margins 30 by 40 2026-11-13 13:17:30 +00:00
aiongg b809628b02 F-16: NavigateBar in the components index 2026-11-13 13:17:30 +00:00
aiongg 751509b4c5 F-16: rustfmt 2026-11-13 13:17:30 +00:00
aiongg 158926dc28 F-16 WIP: compile fixes 2026-11-13 13:17:30 +00:00
aiongg bd79d84e82 F-16 WIP: ViewTarget and the data view commands, zoom::fit_rect, NavigateBar, zoom_out icon 2026-11-13 13:17:30 +00: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
aiongg e80cbd30ab docs: sweep: neutral wording, craft-automation module table, broken link 2026-11-13 12:49:28 +00:00
aiongg 02eb68052e docs: components index grouped by gallery level, then shape, then name 2026-11-13 12:48:25 +00: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