100 Commits
Author SHA1 Message Date
Dylan M. Taylor b45255bb6f chore(pdf): cut over figcraft-pdf to craft-pdf (#2469) 2026-11-18 20:59:55 -05:00
Dylan M. Taylor 9b04f4c99e cutover: use craft_jpeg::finer_than_first (#2478) 2026-11-18 19:10:44 -05:00
Dylan M. Taylor 5c69112684 svg: cut over SVG import parsing to craft-svg (#2468) 2026-11-18 17:21:52 -05:00
Dylan M. Taylor 44d61a5aef Merge pull request #2436 from storytold/cutover/vectordrawable-writer
M6: use the shared Android VectorDrawable XML writer
2026-11-17 19:40:24 -05:00
Dylan M. Taylor 9e6a1ba314 Pin VectorDrawable writer to merged shared depth support 2026-11-17 17:44:09 -05:00
Dylan M. Taylor 06759c0860 Represent active XML adaptation frame without unwraps 2026-11-17 17:01:51 -05:00
Dylan M. Taylor 0148633267 Avoid recursive VectorDrawable adaptation and destruction 2026-11-17 16:35:18 -05:00
Dylan M. Taylor 4b853f455a M6: serialize Android drawables through craft-vectordrawable 2026-11-17 15:49:46 -05:00
Dylan M. Taylor e188356547 Merge pull request #2420 from storytold/refactor/penpot-shared-writer
Write Penpot export containers with shared incremental writer
2026-11-17 00:04:50 -05:00
Dylan M. Taylor 4aae3f2733 chore(penpot): pin merged writer and canonicalize lock order 2026-11-16 23:11:07 -05:00
Dylan M. Taylor caf6ff5108 Merge main retaining shared Sketch and Penpot dependencies 2026-11-16 22:06:49 -05:00
Dylan M. Taylor 5ee60ec708 fix(format): keep legacy ZIP options only for remaining test fixture 2026-11-16 22:01:33 -05:00
Dylan M. Taylor 954687fcf7 ci: lock workflow actions through an actions.lock lockfile (#2300) 2026-11-16 21:58:22 -05:00
Dylan M. Taylor be44cb1ab6 docs: prefer craft-libs for reusable formats, codecs, protocols and UI (#2408) 2026-11-16 21:58:17 -05:00
Dylan M. Taylor 6963e0d5ce Use shared Sketch container while retaining Fig document projection (#2418) 2026-11-16 21:58:13 -05:00
Dylan M. Taylor 931a1467b2 fix(format): retain Cursor import for embedded Penpot PNG encoding 2026-11-16 21:50:31 -05:00
Dylan M. Taylor 26fa159c0c deps: pin documented Penpot writer error contract 2026-11-16 21:24:19 -05:00
Dylan M. Taylor 87e43cccf0 format: write Penpot containers through shared incremental writer 2026-11-16 21:22:16 -05:00
Dylan M. Taylor 0a94b092eb refactor(svg): share XML escaping and character validation 2026-11-16 10:08:47 -05:00
Dylan M. Taylor 64132ad9e0 Merge pull request #1699 from saimskywalker/issue-1683-frame-new-from-selection
M1: the Frame tool's panel has New from selection above the presets (#1683)
2026-11-15 19:07:38 -05:00
Dylan M. Taylor 87454911fe M1: disable frame selection inside locked instance structure 2026-11-15 18:22:50 -05:00
Dylan M. Taylor b025312aa1 Merge pull request #2399 from storytold/extract/shared-android-writer
Use shared Android VectorDrawable wire primitives
2026-11-15 18:04:16 -05:00
Dylan M. Taylor 5455139d54 Reuse shared Android drawable wire primitives 2026-11-15 13:27:48 -05:00
Dylan M. Taylor 0015eb5f06 Merge pull request #2332 from storytold/codex/figcraft-native-consumer
Move .figcraft native schema to craft-libs
2026-11-15 11:03:09 -05:00
Dylan M. Taylor 91a0cafc9c Merge pull request #2284 from storytold/switch/craft-fig-rebased
M6: move .fig parsing and mapping to craft-libs
2026-11-15 10:56:46 -05:00
Dylan M. Taylor e7ec939f66 Merge remote-tracking branch 'origin/switch-craft-fig-rebased' into codex/figcraft-native-consumer 2026-11-13 17:37:19 +00:00
Dylan M. Taylor ebb48ca144 fix(fig): collapse shape adapter lookup conditions 2026-11-13 17:37:12 +00:00
Dylan M. Taylor 01c4f9d92e Merge remote-tracking branch 'origin/switch-craft-fig-rebased' into codex/figcraft-native-consumer 2026-11-13 17:31:12 +00:00
Dylan M. Taylor c75cee1942 fix(fig): index native board shapes by source origin 2026-11-13 17:29:41 +00:00
Dylan M. Taylor f624fa8223 Merge remote-tracking branch 'origin/main' into codex/figcraft-2284-refresh 2026-11-13 17:23:08 +00:00
Dylan M. Taylor 971299e0c8 Merge remote-tracking branch 'origin/switch-craft-fig-rebased' into codex/figcraft-native-consumer 2026-11-13 17:01:46 +00:00
Dylan M. Taylor 3d77f7a8a8 Merge remote-tracking branch 'origin/main' into codex/figcraft-native-consumer
# Conflicts:
#	crates/format/src/fig/map.rs
#	crates/format/src/fig/map/board.rs
#	crates/format/src/fig/map/layer.rs
#	docs/file-format-parity.md
2026-11-13 17:01:05 +00:00
Dylan M. Taylor d5d0814a94 Merge pull request #2344 from storytold/ci/sonar-prefetch-cargo
ci: prefetch locked dependencies for Sonar coverage
2026-11-13 11:50:19 -05:00
Dylan M. Taylor a10d50e181 Merge remote-tracking branch 'origin/main' into codex/figcraft-2284-refresh
# Conflicts:
#	docs/file-format-parity.md
2026-11-13 16:44:02 +00:00
Dylan M. Taylor 4b10cab144 Merge remote-tracking branch 'origin/main' into codex/figcraft-2284-refresh
# Conflicts:
#	crates/format/src/fig/map.rs
#	crates/format/src/fig/map/board.rs
#	crates/format/src/fig/map/layer.rs
#	docs/file-format-parity.md
2026-11-13 16:42:56 +00:00
Dylan M. Taylor 534d01a02f Merge remote-tracking branch 'origin/main' into ci/sonar-prefetch-cargo 2026-11-13 16:20:31 +00:00
Dylan M. Taylor 53e3016570 Merge pull request #2348 from storytold/test/fontdb-race-coverage
Fix concurrent font integration test file race
2026-11-13 11:19:49 -05:00
Dylan M. Taylor e64ca3d69e Merge remote-tracking branch 'origin/main' into codex/figcraft-native-consumer
# Conflicts:
#	docs/file-format-parity.md
2026-11-13 16:14:05 +00:00
Dylan M. Taylor 6081e41a70 Use shared FigCraft preview reader 2026-11-13 16:07:45 +00:00
Dylan M. Taylor 990d03d6a6 Merge remote-tracking branch 'origin/main' into codex/figcraft-native-consumer
# Conflicts:
#	docs/file-format-parity.md
2026-11-13 16:04:33 +00:00
Dylan M. Taylor d5cdba8d3b Isolate concurrent font integration tests 2026-11-13 15:57:06 +00:00
Dylan M. Taylor 34ccbc83b6 ci: prefetch dependencies before Sonar coverage 2026-11-13 14:57:10 +00:00
Dylan M. Taylor 3dddb58f4c Merge branch 'switch/craft-fig-rebased' of https://github.com/storytold/figcraft into codex/figcraft-native-consumer 2026-11-13 14:17:07 +00:00
Dylan M. Taylor bd318cbfab Merge remote-tracking branch 'origin/main' into codex/figcraft-2284-refresh 2026-11-13 14:11:06 +00:00
Dylan M. Taylor b5b4fb8c28 Merge pull request #2340 from storytold/ci/sonar-pinned-test-data
ci: provision pinned data for Sonar coverage
2026-11-13 09:09:58 -05:00
Dylan M. Taylor c607ec686a Pin FigCraft format to merged shared codec 2026-11-13 13:56:22 +00:00
Dylan M. Taylor 4084642c45 ci: exclude pinned fonts from Sonar scan 2026-11-13 13:24:26 +00:00
Dylan M. Taylor eb660e776e ci: use shared instrumented test failure gate 2026-11-13 13:03:44 +00:00
Dylan M. Taylor e4cfbb9798 Merge current main into FigCraft .fig migration 2026-11-13 12:37:02 +00:00
Dylan M. Taylor af26ce1a6b ci: provide pinned test data to Sonar coverage 2026-11-13 12:17:21 +00:00
Dylan M. Taylor 6ad04aa4d2 Finish FigCraft native shared format cutover 2026-11-13 11:54:50 +00:00
Dylan M. Taylor 821f9a8631 Use shared FigCraft history index codec 2026-11-13 11:05:37 +00:00
Dylan M. Taylor aa460b6f33 Move native library resources into shared format 2026-11-13 10:53:52 +00:00
Dylan M. Taylor 69d7de8510 use shared FigCraft archive budget and seek reader 2026-11-13 08:21:07 +00:00
Dylan M. Taylor d147282851 move FigCraft history indexes into shared format 2026-11-13 08:08:26 +00:00
Dylan M. Taylor 30710f5b8c feat(format): use shared native document JSON contract 2026-11-13 06:50:58 +00:00
Dylan M. Taylor 3685e5cea3 Merge main into FigCraft shared format migration 2026-11-13 02:04:29 +00:00
Dylan M. Taylor d0310de70b Merge branch 'main' into codex/figcraft-2284-progress 2026-11-12 22:47:52 +00:00
Dylan M. Taylor 2c8adafbf3 M6: align connector routing locale keys 2026-11-12 07:38:10 +00:00
Dylan M. Taylor 6e992e090f M6: remove duplicate Fig parser tests 2026-11-12 07:37:29 +00:00
Dylan M. Taylor eefb933d41 M6: use FigCraft rustfmt config for the adapter 2026-11-12 06:55:23 +00:00
Dylan M. Taylor 0d541f4e11 Merge remote-tracking branch 'origin/main' into switch/craft-fig-rebased
# Conflicts:
#	docs/file-format-parity.md
2026-11-12 06:46:19 +00:00
Dylan M. Taylor 6176f40974 M6: format the craft-fig adapter 2026-11-12 05:46:00 +00:00
Dylan M. Taylor d2b641e2ec M6: rustfmt the craft-fig switch 2026-11-12 05:43:37 +00:00
Dylan M. Taylor 5ef3501b37 M6: file format parity: .fig through craft-fig, with the rows of #2208 and #2204 2026-11-12 05:43:37 +00:00
Dylan M. Taylor d1bc300802 M6: .fig import and export through craft-fig and craft-figma-rest
The kiwi codec, the .fig container, the canvas chunks, the vector network and
geometry blobs and the mapping of a .fig message onto the REST file JSON now
come from craft-libs (craft-fig, craft-figma-rest, at a4b57d47). FigCraft keeps
its REST importer, its export mapping and a small rest::Geometry over its own
board routing and text measure.

Deleted: fig/kiwi.rs, fig/network.rs, fig/text_path.rs, fig/map/** and the
archive and canvas code in fig.rs. Warnings and style_name come from
craft-figma-rest, the _fig* field names from craft_fig::rest.

The routing note is now worded 'are routed afresh'; the catalogues keep their
translations under the new key. The catalogue test reads craft-fig's mapping
notes as well.
2026-11-12 05:43:07 +00:00
Dylan M. Taylor e2b6b4cd87 chore: bump to 0.18.1 for the Flatpak updater patch release (#2279) 2026-11-11 19:01:50 -05:00
Dylan M. Taylor cf77dfdabc load: an SVG that doesn't fit the allowance is taken out again; charge after cleanup 2026-11-11 21:31:26 +00:00
Dylan M. Taylor 3b9bf8c9a2 batch: bound how much referenced data one step's params copy (#2257)
* batch: bound how much referenced data one step's params copy

* batch: check a list's size before queuing its elements
2026-11-11 15:55:11 -05:00
Dylan M. Taylor 898bfc2e60 Fix Flatpak updates and bump to 0.17.1 (#2267)
* fix(flatpak): allow release checks and self-update helpers

* test: keep Flatpak permission parsing within strict Clippy rules

* chore: bump version to 0.17.1 for the Flatpak update fix
2026-11-11 15:01:36 -05:00
Dylan M. Taylor 554ad0ea77 pathops: budget the closed faces input, share the dash allowance, index point incidence (#2249)
* pathops: check closed inputs before faces normalises, share the dash allowance across subpaths, index point incidence once

* pathops: leave out move-only subpaths when closing, budget dashes by the fitted pattern, index only join points
2026-11-11 14:49:49 -05:00
Dylan M. Taylor 81371f4a53 render: seed and mix the node-id cache hash, skip the cell allocation past the pattern limit (#2254)
* render: seed and mix the node-id cache hash, skip the cell allocation past the pattern limit

* render: use hash_one in the bucket test
2026-11-11 14:49:35 -05:00
Dylan M. Taylor 9032dc3e67 svg export: embed each image's bytes once per file (#2250) 2026-11-11 14:49:20 -05:00
Dylan M. Taylor 64e91207f1 svg import: bound the layer stack a filter chain builds (#2252) 2026-11-11 14:49:06 -05:00
Dylan M. Taylor 6e9582c0a0 codeConnect.import: index components by name and describe each once (#2265) 2026-11-11 14:48:52 -05:00
Dylan M. Taylor 6bc8bbaef1 inspect: work out a grid's cells once per inspection (#2260) 2026-11-11 14:48:38 -05:00
Dylan M. Taylor 2cfd2a3531 collab-net: hand the sync client the bounded roster; assert the kept prefixes 2026-11-11 19:16:24 +00:00
Dylan M. Taylor 9d48625995 layout: leave out a grid that would pass the snap budget 2026-11-11 18:57:25 +00:00
Dylan M. Taylor 70ed6c1636 svg import: budget attribute work over the whole file and DTD, map span offsets in one pass 2026-11-11 18:53:53 +00:00
Dylan M. Taylor a8e34e75a8 components: work out each main's layer paths once while linking imported instances 2026-11-11 18:38:59 +00:00
Dylan M. Taylor 41c1ad3458 Merge pull request #2263 from storytold/chore/craft-update-6e03f65
Updates: take craft-update from craft-libs main at 6e03f65bf
2026-11-11 12:44:22 -05:00
Dylan M. Taylor 2446e8718b Updates: take craft-update from craft-libs main at 6e03f65bf 2026-11-11 12:44:16 -05:00
Dylan M. Taylor 2f8dd85f42 load: share one layer allowance across Penpot raw SVGs, sum font-run coverage once 2026-11-11 17:43:55 +00:00
Dylan M. Taylor 8415de0bad ci: run Harden-Runner on every job (#2258)
Adds step-security/harden-runner (audit, pinned to v2.22.4 like
craft-common-actions) as the first step of each job that did not have it,
so every workflow in the org's public repos reports its egress to
StepSecurity. Audit, not block: block-mode allow lists come from each
job's observed traffic.
2026-11-11 12:11:16 -05:00
Dylan M. Taylor a40c76ab68 collab-net: cut a host's peer names and colours where the guest keeps them 2026-11-11 16:48:03 +00:00
Dylan M. Taylor 9aaf7114e0 widgets: bound the decoded pixels of a widget's images, read from their headers 2026-11-11 16:37:35 +00:00
Dylan M. Taylor 1935c3eac2 layout: bound the snap lines a frame's grids generate 2026-11-11 16:03:10 +00:00
Dylan M. Taylor 4d3fe2aa1a svg import: cap attributes per element, map span offsets to characters once 2026-11-11 15:59:59 +00:00
Dylan M. Taylor 0f08269067 fix(collab-net): never send the server key over plain ws:// to another machine (#1923)
* fix(collab-net): never send the server key over plain ws:// to another machine

Publishing a plugin, uploading or sharing with the server's key accepted a
ws:// address for a remote host, so the reusable administrative key went
out in clear text. The key now goes only over wss://, or over ws:// to
this machine (loopback or localhost); browsing without a key is unchanged.

* address review: connect only to loopback addresses for a plain ws://localhost endpoint
2026-11-11 08:36:29 -05:00
Dylan M. Taylor 79c363466a fix(web): allow up to Cloudflare 25 MiB cap in package.sh (#2155) 2026-11-09 06:59:31 -05:00
Dylan M. Taylor 970cdfe664 Merge pull request #2136 from dotCooCoo/chore/craft-update-1b34eba41
Updates: take craft-update from craft-libs main at 1b34eba41
2026-11-08 23:03:14 -05:00
Dylan M. Taylor a4251ca89e Merge pull request #2130 from dotCooCoo/chore/craft-update-updater-fixes
Updates: the updater reports installing, ready, installed and failed, and installs at exit
2026-11-08 22:12:41 -05:00
Dylan M. Taylor f05e568498 Pass the Linux signing key to the release workflow (#2001) 2026-11-04 17:45:24 -05:00
Dylan M. Taylor deee3d8acf fix(format): bound the characters Sketch text runs write in all 2026-11-04 04:50:11 +00:00
Dylan M. Taylor 6f780211dd fix(collab): build no repair for a batch refused for lack of permission (#1980) 2026-11-03 23:49:39 -05:00
Dylan M. Taylor 25d2a201a9 fix(server): clean a published file's name when it is taken from the file (#1978) 2026-11-03 23:49:12 -05:00
Dylan M. Taylor 6d1b5da863 fix: create test and benchmark temp directories fresh, never adopt an existing one (#1977) 2026-11-03 23:48:46 -05:00
Dylan M. Taylor ee4edc7364 perf(engine): replace linear scans that made document-sized inputs quadratic (#1921)
* perf(engine): replace linear scans that made document-sized inputs quadratic

enum_of re-classified the whole string for every character; widget names,
comment mentions and devcompare's common siblings each searched a growing
Vec; data.fill's export names and codegen's class names retried every
suffix from 2 against a list, cubic in the number of copies of one name;
and a batch rename template had no length cap although it is expanded
again for every match.

* address review: report the pattern in its own length error
2026-11-03 23:48:20 -05:00
Dylan M. Taylor ddb8bfa665 fix(format): cap the bytes copied to fill a variable's missing modes 2026-11-04 04:44:24 +00:00
Dylan M. Taylor ad9894a90f fix(doc): give render bounds a visit budget so a repeating child list ends 2026-11-04 04:31:52 +00:00