Commit Graph
465 Commits
Author SHA1 Message Date
Bryton Cooper d9deec7b12 perf(doc): share TextData and VectorNetwork copy-on-write via Shared<T> (#1819) 2026-11-28 01:27:27 -07:00
BFlat dbe9eeb1bd Merge pull request #2607 from Utakata/feat/open-camera-raw
format: open camera raw files as their developed picture
2026-11-28 15:06:51 +07:00
FredApps 3660125b8d Merge branch 'main' into pr-fig-slot-export 2026-11-28 08:01:56 +01:00
FredApps 4561b31166 Merge branch 'main' into feat/open-camera-raw
main's craft-libs pin (8fa4db64) already contains 249a41bd, so the pins stay at
main's and the camera raw crates are added at that same rev.
2026-11-28 07:46:25 +01:00
bflatastic e07c9944eb M4: superscript and subscript per range of characters (text.style textPosition, Type settings while editing, text styles, CSS) (#2338) 2026-11-28 08:06:10 +07:00
bflatastic 75ffff90ec Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/file-format-parity.md
2026-11-27 15:32:56 +07:00
BFlat 848d7b40a4 Merge pull request #2212 from TKlerx/codex/2210-fig-prototype-actions
Preserve variable and conditional prototype actions in .fig exports
2026-11-27 13:47:21 +07:00
UtakataandClaude Opus 5.5 90d2d92430 format: open camera raw files as their developed picture
RW2, CR2, CR3, NEF, ARW, RAF, ORF, DNG and the other containers craft-raw
decodes now open, import, place and fill shapes. add_image develops a raw
once with craft-develop's stages (AHD demosaic, highlight rebuild, as-shot
white balance and colour matrices, neutral tone curve, sRGB, orientation)
and the document keeps the picture as a quality 95 JPEG, so every way an
image comes in takes raws. file.open and the Open, Import, Place and image
fill dialogs know the raw extensions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 04:34:49 +09:00
Terra854 bbf7ad418f format: resolve Penpot media IDs per file (#2538) 2026-11-21 23:48:49 -05:00
Terra854 9e802f2c21 format: read Sketch previews through shared ZIP (#2552)
* format: read Sketch previews through shared ZIP

* Credits: add Terra854 to About
2026-11-21 23:48:46 -05:00
Terra854 b7815587b6 format: retain 16-bit precision when shrinking recent thumbnails (#2559)
* format: retain 16-bit precision when shrinking recent thumbnails

* format: prevent overflow in 16-bit thumbnail averages
2026-11-22 11:40:31 +07:00
Dylan M. Taylor 5c2a378494 format: share PNG pHYs reader via craft-image-codecs (craft-libs#785) (#2547) 2026-11-21 13:28:27 -05:00
Dylan M. Taylor 390e5f4e4b format: cut over thumbnail decode and image dimension probing to craft-image-codecs (#2528) 2026-11-20 14:22:20 -05:00
Dylan M. Taylor 8320b6699e render,format: finish craft-image-codecs cutover and ICC/GIF/bounds parity tests (#2526) 2026-11-20 13:02:48 -05:00
Dylan M. Taylor 9b04f4c99e cutover: use craft_jpeg::finer_than_first (#2478) 2026-11-18 19:10:44 -05:00
bflatastic a88580470b M6: REST import reports node-level paint and effect bindings only when something is lost (#2441) 2026-11-19 03:42:03 +07:00
Trevor Brown 6b625a0d46 M6: .fig export writes ruler guides (#2336) (#2337)
The change from #2337 by @TrevorBrown-dev, as one commit.
2026-11-19 01:28:57 +07:00
BFlat c7f0ad195c Merge pull request #2449 from Hamza0101/fix/rest-stroke-side-variables
REST import: variables bound to stroke sides bind each side's weight
2026-11-18 19:19:51 +07:00
Trevor Brown d494fad166 M2: Fill across a hugging axis takes the line, as Figma does
In a hugging parent, Fill on the other axis follows the line the way
Figma does, instead of forcing the parent Fixed. This also covers item 2
of #2090 on both axes: a hugging main that becomes Fixed is followed by
its instances' roots.

Fixes #2091 item 3. Fixes #2034. Fixes item 2 of #2090.
2026-11-18 18:31:20 +07:00
Hamza 11b896699f REST import test: the spec's four side names each bind a variable of their own 2026-11-18 16:24:41 +05:00
Hamza d7fcbf94ca REST import test: each of Card's sides is bound to a variable of its own
So a side read into another side's field fails the test (review).
2026-11-18 15:57:39 +05:00
Hamza d332c18a2c REST import: variables bound to stroke sides bind each side's weight (#2441)
boundVariables.individualStrokeWeights was skipped with a warning, so a 1 px bottom divider bound to a variable came across as a plain number. Each side now binds strokeTopWeight ... strokeLeftWeight, read from the live API's BORDER_TOP_WEIGHT ... keys or the published spec's top ... keys.
2026-11-18 15:44:42 +05:00
Timo Klerx 530c159699 M6: Merge main and bound prototype override expressions 2026-11-18 00:37:43 +01:00
Faridul 2b8b8d4da6 M6: import pattern fills
PATTERN paints were skipped on import. The REST importer now reads them
(source layer, tile type, scale, spacing, alignment) and links each one to
the layer it tiles once every layer is in, since the tile can come after the
layer that uses it. Fills, strokes, vector region fills and paint styles are
covered; a pattern whose source layer isn't in the file is dropped with a
warning.

.fig files get this too once craft-fig passes the pattern fields and the tile
through (storytold/craft-libs).
2026-11-17 09:21:04 +06: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 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 87e43cccf0 format: write Penpot containers through shared incremental writer 2026-11-16 21:22:16 -05:00
Timo Klerx 659f7a176c M6: Merge main into prototype action export 2026-11-15 23:50:18 +01:00
FredApps ac4f5511ef Merge #2284's branch (with current main) into codex/figcraft-native-consumer 2026-11-15 15:14:14 +01:00
FredApps 4675ae65d6 M6: drop the repeated test attributes on two fig modules (#2284) 2026-11-15 15:10:29 +01: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 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 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
bflatastic c36c1754ca Merge main into #2304 2026-11-13 23:39:24 +07:00
Timo Klerx f24e3d6a36 M6: Resolve prototype export notes after text-on-path export 2026-11-13 17:39:03 +01:00
Timo Klerx 095e101fb9 M6: Sync .fig prototype export with main 2026-11-13 17:38:31 +01:00
bflatastic 93e1cf1a52 Merge main into #2324 2026-11-13 23:18:36 +07:00
bflatastic 956e9c1642 Merge main into #2304 2026-11-13 23:18:03 +07: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
bflatastic b0b23d8c63 Merge main into #2324 2026-11-13 23:01:23 +07:00
bflatastic b6a49eaf87 Merge main into #2304 2026-11-13 23:00:50 +07:00