Commit Graph
3465 Commits
Author SHA1 Message Date
bflatastic 3bd905fbdf Merge main into #1243
# Conflicts:
#	apps/figcraft/src/services.rs
2026-10-26 09:15:53 +07:00
bflatastic 2fd59da54c Merge main into #1275
# Conflicts:
#	crates/doc/src/tests.rs
2026-10-26 09:15:49 +07:00
bflatastic 8d52baa4de #984: Swedish joining a live session reads ansluta till 2026-10-26 09:15:43 +07:00
bflatastic 2a85a09cf9 Merge main into #984 2026-10-26 09:15:42 +07:00
bflatastic 6f1999c248 #1340: a failed step keeps its kind of error; only its message names the step 2026-10-26 09:14:25 +07:00
bflatastic c4a98342a6 Merge main into #1340
# Conflicts:
#	crates/engine/src/batch_step_ref_tests.rs
#	crates/engine/src/lib.rs
2026-10-26 09:14:13 +07:00
bflatastic 7a1b9d8414 #1021: a named style's optical size follows the text size only for .sketch imports
Existing text keeps the named instance's optical size, so documents render as before; the
Sketch import stores the size as the text's opsz value instead.
2026-10-26 09:12:40 +07:00
bflatastic 07a654959a Merge main into #1021
# Conflicts:
#	docs/file-format-parity.md
2026-10-26 09:12:39 +07:00
bflatastic df8edc6b8c #1314: refuse saving over the file only when save_to has a path (main's download has none) 2026-10-26 09:12:21 +07:00
bflatastic 1ec74401e6 Merge main into #1314 2026-10-26 09:11:52 +07:00
BFlat abc5105111 Merge pull request #1297 from Silvertree2010/fix/h2089-arrowhead-cap-disappears-when-an
Skip zero-length segments when finding arrowhead direction
2026-10-26 09:05:13 +07:00
BFlat 1172cfa444 Merge pull request #1324 from Silvertree2010/fix/h2487-end-arrowhead-missing-on-an-open
Fix missing end arrowhead when a closed subpath follows an open one
2026-10-26 09:05:08 +07:00
BFlat a2d4886b59 Merge pull request #1329 from Silvertree2010/fix/h2481-scale-tool-does-not-scale-per-po
Scale per-point corner radius of vector layers in transform.scale
2026-10-26 09:05:02 +07:00
BFlat f7d60ef460 Merge pull request #1315 from Silvertree2010/fix/h2365-scale-tool-transform-scale-does
Scale the path of text on a path in transform.scale
2026-10-26 09:04:57 +07:00
BFlat 49c2fa1263 Merge pull request #1339 from devius/ka-short-labels
i18n(ka): shorter Georgian for 13 labels that were cut off
2026-10-26 09:04:45 +07:00
BFlat 4fce30ceab Merge pull request #1346 from storytold/codex/egui-037-fig-followup-20261025
Keep synthetic Copy link commands inside the clipboard fence
2026-10-26 09:04:40 +07:00
BFlat 09d2d96588 Merge pull request #1353 from storytold/fix/sonar-new-code-refactor
refactor: clear SonarCloud new-code issues (S3776, S107) and exclude generated coverage tree
2026-10-26 09:04:36 +07:00
BFlat 3de687fe7c Merge pull request #1011 from lucasmartins-ai/feat/tailwind-output
Dev Mode: React + Tailwind page code and Tailwind theme export
2026-10-26 09:04:31 +07:00
BFlat 570348072e Merge pull request #1337 from Silvertree2010/fix/1336-bug-report-figcraft-images-with
Scale down images past 16384 px a side instead of drawing nothing
2026-10-26 09:04:25 +07:00
BFlat 7c16f311bd Merge pull request #1278 from Ridzzz0Alam/fix/1060-dash-count
fix: Issue #1060 Dash patterns too fine for their path draw solid instead of running out of memory
2026-10-26 09:04:21 +07:00
BFlat fdea151735 Merge pull request #1349 from dotCooCoo/fix/controller-buttons-wait-for-link-notice
M5: controller buttons wait while the link notice shows
2026-10-26 09:04:16 +07:00
bflatastic 234a66458a #1026: Vietnamese drops "Contents only", which the export settings no longer use 2026-10-26 08:53:17 +07:00
bflatastic 4a07c6a485 #1224: Italian drops "Contents only", which the export settings no longer use 2026-10-26 08:53:00 +07:00
bflatastic 82ddbc8908 #1202: port the paint and effect row menus and the Inspect assets to egui 0.37 2026-10-26 08:45:41 +07:00
bflatastic d54186c9bf #1209: port the phone layout to egui 0.37 2026-10-26 08:44:25 +07:00
bflatastic 9c57ba1beb Merge main into #1202 2026-10-26 08:43:07 +07:00
bflatastic fa6c1bd3f4 Merge main into #1209 2026-10-26 08:41:46 +07:00
bflatastic 30ea80d541 Merge main into #1026 2026-10-26 08:41:31 +07:00
bflatastic 50a2d08087 Merge main into #1224 2026-10-26 08:41:28 +07:00
bflatastic f124d907bc #1184: boolean operands use the rounded per-side strokes too
One side_strokes helper (square or rounded, as #1044 paints them) serves stroke_area and the boolean
operand outline, instead of a second, square-only copy; test for a rounded per-side border.
2026-10-26 08:35:20 +07:00
BFlat 57af418419 Merge pull request #1134 from F3R9/pr/server-memory-retention
M9: avoid unnecessary snapshot rewrites and duplicate buffers
2026-10-26 08:33:59 +07:00
BFlat 8b8eea2561 Merge pull request #1184 from saturngod/fix/boolean-stroke-outlines
Fix stroke-only boolean operand outlines
2026-10-26 08:33:31 +07:00
BFlat b3f06f6eca Merge pull request #1163 from switch87/fix/linux-symbol-fallback
M9: fall back to the Noto symbol and math fonts on Linux (#1156)
2026-10-26 08:33:05 +07:00
BFlat 2b23477544 Merge pull request #1035 from Nael-Nathanael/fix/752-alias-walk
M7: missing fonts: follow each font variable's aliases once (#752)
2026-10-26 08:32:52 +07:00
BFlat df1bdd0e7c Merge pull request #1010 from Ridzzz0Alam/fix/969-web-save-download
Web build: Save, Save as and Export arrive as downloads
2026-10-26 08:32:39 +07:00
BFlat c853432360 Merge pull request #989 from Ridzzz0Alam/fix/981-fig-layer-cap
Large `.fig` files keep their layers and their library links (#981)
2026-10-26 08:32:26 +07:00
BFlat c5b914ead0 Merge pull request #951 from Hamza0101/fix/fig-note-counts
fig import: a note says how much of the file it covers (#467)
2026-10-26 08:32:09 +07:00
BFlat 378ac56286 Merge pull request #1003 from kkilchrist/feat-994-batch-step-refs
command.batch: named step references (`as` / `$ref`) and paths in `field`
2026-10-26 08:31:53 +07:00
Dylan M. Taylor 7dc5d3b377 refactor(mcp): group with_marker's cut sizes into a struct (SonarCloud S107)
The depth and wire-size numbers describing a cut subtree are now one Cut
value, so with_marker takes 5 parameters instead of 8. Output is unchanged.
2026-10-25 21:11:43 -04:00
Dylan M. Taylor 4fc0a39304 refactor(ui-egui): split style text_properties into helpers (SonarCloud S3776)
Each logical section of the text style editor (sample, font menu, style and
size row, line height and letter spacing, and the two menus) is its own
helper. UI calls keep their order; no behaviour change.
2026-10-25 21:11:43 -04:00
dotCooCoo 7820825ea1 M5: controller buttons pressed with no frame shown are dropped
A controller button pressed while the player has no frame to show,
for example after the frame is deleted, no longer plays the
prototype's gamepad trigger once the frame comes back.
2026-10-25 17:09:48 -07:00
Denis Gomes 03f4e6e070 M7: images-past-budget guard: hard links, and script output over its input
Two gaps CodeRabbit found in the guard:

- `same_file` compared paths, plain and resolved. A second hard link to
  the file is a different path to the same data, so `convert`,
  `run --out` and Save As to the link passed the guard and truncated
  the file. It now asks the file system (same-file: device and inode on
  Unix, volume and file index on Windows). same-file was already in the
  lock through walkdir.

- `run --in X --out X` checked the tab the script left active. A script
  that ends on `file.duplicate` or `file.new` leaves a tab with no count
  of images left in X, so X was written over. The count is now taken
  when X is opened and checked against `--out` whatever tab is active;
  the active tab's own file is still checked as before.

The script check is a separate function so it can be tested without a
file past the 4 GiB budget.
2026-10-25 18:41:58 -04:00
Denis GomesandClaude Opus 5.5 c305e23ab4 M7: don't save over a file whose images past the budget weren't loaded
A native file whose images together pass IMAGE_BUDGET (4 GiB, or 20,000
images) opens without the images past it. They are intact in the file, but
saving it again wrote the archive from the images in memory, so every
save, autosave or `convert` onto itself deleted them for good. A 7.6 GiB
`.fig` converted to a 7.3 GiB `.figcraft` reopened with 1,312 of its 2,337
images: one save would have dropped the other 1,025.

Loading now tells images left out for the budget apart from damaged ones
(`Loaded::images_past_budget`). A tab opened or reverted from such a file
remembers the file, and saving over it is refused with a message that says
how many images would be lost and to save under another name; saving a copy
elsewhere works, and the original keeps its images. Auto-save skips the
tab instead of retrying and failing every minute. `figcraft-cli convert`
and `run --in X --out X` refuse to write over their input the same way.
The same file is matched by its resolved path, so `./a.figcraft` and
`a.figcraft` count as one (`file_access::same_file`).

The note for each image left out for the budget now says it stays in the
file, which can't be saved over without losing it. Damaged and missing
images keep the old wording: they can't be kept, and saving drops them as
before. The doc comment on report_lost_images said saving always drops
the images it reports, which is no longer true for budget ones, so it went.

This stops the data loss; it doesn't make such files editable in place.
Loading images on demand would, and is discussed in the issue this links.

Tests: the count and the note for both budgets; saving over the file
refused with the file unchanged, Save As then working, and saving back over
the original refused again; a snapshot encoded in the background refused
too; a tab without images left out saving as before. Checked by hand on the
7.3 GiB file with file.save, file.saveAs, convert and run --out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 18:31:47 -04:00
Jindřich ŠaršonandClaude Opus 5.5 6258ad2786 M6: Sketch import: merge main
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 22:23:40 +01:00
dotCooCoo 84d782c85b M5: controller buttons wait while the link notice shows
A controller button pressed while the notice before a website link
shows no longer plays the prototype's gamepad triggers, as keys do not.
Buttons play again once the notice closes.
2026-10-25 14:19:01 -07:00
Dylan M. Taylor 106ef69351 feat: startup update prompt modal and direct self-updating (#1328)
* feat: startup update prompt modal and direct self-updating

The update flow (check at start or on request, the startup prompt, the self-update worker) is craft-update's Updater; the app only supplies the suite, its close path and its status window. The check at start is opt-in for the desktop app, an install holds back while documents are unsaved, and the Windows update helper runs before argument parsing.

Ref: storytold/craft-libs#319

* fix(updates): re-add the update hooks to the 0.37 frame loop

* fix(updates): address review feedback

Wake the UI when a manual check is queued from a menu callback; the update prompt owns the keyboard while it is open (LightCraft); Download opens through the desktop URL hook (FilmCraft); the Help menu dispatches through menus::invoke (FigCraft); print jobs and comment drafts hold an install back (WordCraft); Check for Updates is a registered command (GridCraft); an install holds back while documents are unsaved.

* fix(updates): show the prompt on Home and presenter frames and close the application, not one window

* fix(updates): add the update strings to the English catalog
2026-10-25 16:23:00 -04:00
skylartaylor b7a0d892d7 M14: cover synthetic Copy link clipboard isolation 2026-10-25 20:39:43 +01:00
skylartaylor abfdaa2436 M-egui037: retain one explicit session switch in the qualified regression 2026-10-25 20:14:50 +01:00
skylartaylor 48bea15abd M-egui037: base clipboard follow-up on the published squash merge 2026-10-25 20:14:42 +01:00
236f3185d6 Migrate FigCraft to egui 0.37 (#1312)
* E21: require release font coverage and stabilize capture deadline tests

* E21: separate capture, IME and field-save regression phases

* M0: correct the migration qualification reference

* M-egui037: document input lifecycle and UI regression contracts

* M0: correct egui 0.37 status docs and stabilize join-code regression

---------

Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
Co-authored-by: Codebuff <noreply@codebuff.com>
2026-10-25 15:04:39 -04:00