Commit Graph
123 Commits
Author SHA1 Message Date
bflatastic 0b23f0bda1 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/gaps.md
2026-11-27 14:22:26 +07:00
BFlat 1673da23fc Merge pull request #2645 from storytold/rfc-0018-figcraft-cli
figcraft-cli: follow RFC-0018
2026-11-27 13:46:46 +07:00
BFlat 92cd037d81 Merge pull request #2560 from Ridzzz0Alam/fix/2394-boolean-hang
M4: a near degenerate boolean no longer hangs Save (#2394)
2026-11-27 13:45:23 +07:00
FredApps 8d50b20c64 figcraft-cli: follow RFC-0018 (run(args,out,err), typed errors, env flags, --in-place, man pages and completions) 2026-11-26 22:34:19 +01:00
aiongg 28508386a7 Repin craft-libs to storytold next 8fa4db64a9 and egui to b9770908e 2026-11-25 19:15:34 +00:00
aiongg d85ac773a2 Repin craft-libs to storytold next aa401985d 2026-11-25 15:50:38 +00:00
aiongg e1b9366831 Repin craft-libs to storytold next d1bdf8e5da 2026-11-25 13:53:48 +00:00
aiongg 12c46db6e9 Repin egui to storytold b15ffe9bfc (what craft-libs next pins) 2026-11-25 06:32:43 +00:00
aiongg 45856da3b9 Repin craft-libs to storytold next 16001e7210 and egui to storytold b15ffe9bfc 2026-11-25 06:31:16 +00:00
aiongg 77a4c9480a Repin craft-libs; IME click test reads the runtime's reset request; whole-point number label wrap 2026-11-24 21:05:39 +00:00
aiongg e393abe47f Pin craft-libs next-host-input ea3b99e892 2026-11-24 18:43:24 +00:00
aiongg 51473c7e17 Host FigCraft's egui UI on craft-libs next's runtime
The runtime is installed in the desktop and web app creators, with its
frame input (theme mode, interface scale, direction, FigCraft's F6) in
raw_input_hook, the main window's close decision in its close path, and
before_ui first in the desktop ui. The window's Escape returns to egui
first in each window's frame, and the canvas is the window's document
canvas, so FigCraft's keys reach its own handlers as before.

The update dialogs run on a DialogHost, fonts load through
craft_ui::fonts::load, the interface scale is the runtime's, and the
searchable header menus are app-local. egui's ComboBox is the combo box
on next.
2026-11-24 18:40:53 +00:00
aiongg efeb1b9a54 minimal-port repin: 39 edits (revs 38, features 1) 2026-11-24 18:25:44 +00:00
Livio Sidler c45ffc5496 M8: the browser build compiles the rasteriser for speed
tiny-skia, tiny-skia-path and figcraft-render at opt-level 3 in the web-release profile: their
loops run for every pixel of the canvas on the page's one thread. The rest stays at "z" for the
size gate.
2026-11-24 13:02:34 +01: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
Ridzzz0Alam 3a374ba85c M4: a near-degenerate boolean no longer hangs Save (#2394)
Saving a large imported icon library froze until the system ran out of
memory. The crash dump's stack (v0.18.1) runs Save, the thumbnail render,
a boolean group and then linesweeper 0.4.0's sweep, which loops and keeps
allocating on near-touching curves. The input is small, so the sweep caps
don't stop it.

linesweeper 0.5 fixes that loop. VectorCraft's pathops already uses 0.5,
so the lockfile drops the second copy.

Test: two shapes reduced from linesweeper's own regression input; the
boolean runs on a thread and must finish within 10 s. It times out on
0.4.0 and finishes in milliseconds on 0.5.
2026-11-21 22:34:46 +01: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 8320b6699e render,format: finish craft-image-codecs cutover and ICC/GIF/bounds parity tests (#2526) 2026-11-20 13:02:48 -05:00
FredApps 5c50561fcd Dependencies: align craft-libs at merged SVG writer ea9407b3 (#2514) 2026-11-20 06:39:35 +07:00
Dylan M. Taylor 4e35fb9cea render: use shared raster decoding and export (#2501)
* render: use shared raster decoding and export

* render: fix Cow<Image> ownership and run cargo fmt
2026-11-19 14:00:49 -05:00
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
.CooCoo 260fd4d8ef Dependencies: take craft-libs main at 453b0da782 (#2412)
* Dependencies: take craft-libs main at 3af2280ee3

Every craft-libs crate in the workspace now comes from one commit,
3af2280ee3434a2c860012df2f440652621c2c81. They were on five revisions:
e11f9d9a, d13ac58a, 976eb51c, e9829954 (craft-update) and fd5e2fef
(craft-web-api and craft-web-host). Cargo.lock now holds one craft-zip
instead of two.

No FigCraft code changes. The new craft-font-store adds cap-primitives
and its dependencies to Cargo.lock.

* Dependencies: drop pin comments the craft-libs move made untrue

craft-update now uses the same craft-libs rev as the other crates, and
craft-window comes from craft-libs main. Remove the comment that says
craft-update is pinned separately and the comment that says craft-window
is pinned to an unmerged branch.

* Tests: look up craft-fig with cargo metadata filtered to the host

The i18n key test finds the craft-fig sources with `cargo metadata
--offline`. Since craft-font-store depends on cap-primitives, the graph
holds winx, which only Windows uses. Without a platform filter, cargo
metadata needs every platform's sources and failed on Linux CI with
"failed to download `winx v0.36.4`". The query now passes
`--filter-platform` with the host triple from `rustc -vV`.

* Dependencies: take craft-libs main at 453b0da782

Every craft-libs crate in the workspace moves from 3af2280ee3 to
craft-libs main at 453b0da782, and craft-sketch moves from ff142b3ad5
to the same commit. Cargo.lock now holds one craft-figma-rest and one
craft-zip instead of two of each; no other package changes.

* Dependencies: drop the design-file pin comment that no longer holds

craft-penpot, listed above the design-file crates, uses the same
craft-zip as craft-fig and craft-figcraft-format, and every craft-libs
crate is now on one rev, so the comment's reason for a separate rev is
removed.
2026-11-18 15:22:39 -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 4b853f455a M6: serialize Android drawables through craft-vectordrawable 2026-11-17 15:49:46 -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 6963e0d5ce Use shared Sketch container while retaining Fig document projection (#2418) 2026-11-16 21:58:13 -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 5455139d54 Reuse shared Android drawable wire primitives 2026-11-15 13:27:48 -05:00
Dylan M. Taylor 6081e41a70 Use shared FigCraft preview reader 2026-11-13 16:07:45 +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 c607ec686a Pin FigCraft format to merged shared codec 2026-11-13 13:56:22 +00:00
Dylan M. Taylor e4cfbb9798 Merge current main into FigCraft .fig migration 2026-11-13 12:37:02 +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
dotCooCoo 976e57a205 Updates: take craft-update from craft-libs main at e98299546
craft-libs e98299546 includes #923: the check of whether the copy can install itself now runs on the update-check thread instead of in Updater::tick on the UI thread.
2026-11-12 11:01:03 -08: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
FredAppsandFredApps e8b53e3393 Release: FigCraft v0.18.0 on main (#2275)
Co-authored-by: FredApps <FredApps@users.noreply.github.com>
2026-11-11 23:27:43 +01: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 2446e8718b Updates: take craft-update from craft-libs main at 6e03f65bf 2026-11-11 12:44:16 -05:00