5637 Commits
Author SHA1 Message Date
Codex 929ccc1e75 Preserve native image dimensions when an optional codec is unavailable v0.19.0 2026-11-30 03:46:36 +01:00
Codex 9c36ee9554 Align browser host and API with the shared metadata revision 2026-11-30 03:46:36 +01:00
Codex 68c504dca0 Update shared libraries to preserve native image metadata 2026-11-30 03:46:36 +01:00
Codex ba57bf7855 Optimize browser renderer code for the fixed WASM budget 2026-11-30 02:40:03 +01:00
Codex 7be572c59c Preserve release history for the FigCraft 0.19.0 candidate 2026-11-30 02:21:41 +01:00
Codex ade74d97cf ci: use standard macOS runner for release builds 2026-11-30 02:21:31 +01:00
Codex 67880bc1fa Release FigCraft 0.19.0 2026-11-30 02:21:31 +01:00
Codex d968e3eece Keep uncommon format conversion on desktop to fit the browser budget 2026-11-30 02:19:42 +01:00
Codex 07a6d7b446 Include reviewed TIFF metadata bounds 2026-11-30 00:04:47 +01:00
Codex 973116caba Align update library with the shared release revision 2026-11-29 23:29:37 +01:00
Codex e5071fffe2 Update shared libraries for compressed browser data and optional codecs 2026-11-29 23:28:51 +01:00
BFlat 4ea43ac911 Merge pull request #2741 from davidmann4/feat/agents-launcher-switch
MCP: agents in the open window through the ArtCraft Launcher's switch
2026-11-30 00:10:18 +07:00
BFlat b8155c5301 Merge pull request #2754 from hoangquocvietuet/fix/2567-text-run-blend
M3: a text run's blend fill in a shadowed pass-through frame blends with the backdrop (#2567)
2026-11-30 00:09:51 +07:00
BFlat 9dc9ec44aa Merge pull request #2749 from storytold/feat/2424-code-connect-raw
M10, #2424: code connect takes a raw template, with no import line or escaping
2026-11-29 23:48:46 +07:00
hoangquocvietuet ebf39d0e0d M3, #2567: a text layer's own blend fill counts too; read paints through own_paints; fail the font skip when fonts are required 2026-11-29 16:22:59 +00:00
David Mann d87b5cc9d5 control server: the plain line reader is test-only now; its docs point at read_line_by 2026-11-29 17:15:46 +01:00
BFlat 06da46115b Merge pull request #2739 from LS254/fix/clip-covers-corner-style
M8, #2738: a chamfered or concave corner counts as cut off square for a clip that takes in the view
2026-11-29 23:15:18 +07:00
BFlat aa62719032 Merge pull request #2750 from storytold/feat/2508-copy-prototype-link
M5, #2508: Cmd/Ctrl+L in the presenter copies a link to the prototype
2026-11-29 23:07:31 +07:00
bflatastic 2df5c5bef5 Test the raw link's Connect to code fields and a swapped-in raw component 2026-11-29 23:02:25 +07:00
David Mann 28a7dbe49c Merge remote-tracking branch 'origin/main' into feat/agents-launcher-switch 2026-11-29 16:59:34 +01:00
David Mann ccb2b62533 agents: the token wait is one deadline for the whole first line; stale connection file test
A client sending a byte at a time, never a newline, kept an unauthenticated connection open past
the token wait: the read timeout bounded each read, not the line. The line reader now counts the
remaining time down to the deadline before every read until the token is shown.

The CLI tests now check that a connection file a crashed app left (nothing listens on its port)
isn't used, as #2740 asks.
2026-11-29 16:59:28 +01:00
hoangquocvietuet 1dbea4b552 M3, #2567: a text run's blend fill in a shadowed pass-through frame blends with the backdrop 2026-11-29 15:56:50 +00:00
hoangquocvietuet 261d9d3847 M3, #2567: a text run's blend fill in a shadowed pass-through frame blends with the backdrop (failing test) 2026-11-29 15:56:50 +00:00
BFlat 6782b3f25e Merge pull request #2748 from hrb9/feat/hebrew-sync-ui-strings
i18n(he): translate 67 new UI strings to restore 100% coverage
2026-11-29 22:53:39 +07:00
David Mann fe3e2c3e10 Merge branch 'feat/agents-launcher-switch' of https://github.com/davidmann4/figcraft into feat/agents-launcher-switch
# Conflicts:
#	apps/figcraft-cli/src/live_tests.rs
2026-11-29 16:51:34 +01:00
bflatastic 9c89a490ef cli: the live tests write their token file owner-only
On Unix the token client refuses a token file others can read, so the
window test failed on Linux and the wrong-token test passed for that reason.
2026-11-29 22:50:04 +07:00
David Mann e1c5d99399 cli: the live tests' token file is owner-only, as the shared client requires on Unix
craft_control refuses a token file group or others can read; the test wrote one with mode 644,
so the window test failed on Linux (and the wrong-token test passed on that refusal instead of
the window's). The file is now 0600 and the wrong-token test checks the window's own refusal.
2026-11-29 16:35:46 +01:00
BFlat 76ad9955be Merge pull request #2743 from storytold/fix/2512-cmd-w-closes-presentation
M7, #2512: Cmd/Ctrl+W closes a presentation tab
2026-11-29 22:34:21 +07:00
bflatastic dc7ebee625 Say raw snippets stay out of generated layer trees 2026-11-29 22:32:55 +07:00
bflatastic c8989491b0 M5, #2508: Cmd/Ctrl+L in the presenter copies a link to the prototype 2026-11-29 22:32:23 +07:00
BFlat 6c37bdd586 Merge pull request #2747 from storytold/feat/2529-plugin-clock
M11, #2529: plugins get the time and the user's UTC offset (plugin API 7)
2026-11-29 22:30:16 +07:00
bflatastic c9d37c21a7 M10, #2424: code connect takes a raw template, with no import line or escaping 2026-11-29 22:22:03 +07:00
BFlat d2c6671cd3 Merge pull request #2746 from viet-initx/fix/2564-click-visible-area
M1: a click selects an image only where it is visible (#2564)
2026-11-29 22:12:49 +07:00
BFlat 4312dda983 Merge pull request #2745 from mastel2/thai-word-marks
fix(engine): keep Thai vowels and tone marks in their word
2026-11-29 22:12:42 +07:00
HagaiBA 2c1e963475 i18n(he): translate 67 new UI strings to restore 100% coverage 2026-11-29 17:05:46 +02:00
David Mann 0b64b6c85f Merge branch 'feat/agents-launcher-switch' of https://github.com/davidmann4/figcraft into feat/agents-launcher-switch 2026-11-29 16:03:49 +01:00
David Mann a665a05860 agents: second round of review fixes (#2741)
- Stopping a listener closes its registry under the lock a connection takes to queue, so a
  request either is cancelled by the stop or is refused after it; none queues after the stop.
- A save a field deferred keeps the roots of the agent input that pressed it.
- Queued ui.input roots live with each window's pending batch (beside control_input_doc), so
  one window's frame never takes another window's roots.
2026-11-29 16:03:17 +01:00
bflatastic bfa5bc998d Read Cmd/Ctrl+W before the comment field draws, and leave it to a comment being typed 2026-11-29 21:48:00 +07:00
bflatastic 99a88f8095 Check the offset at the returned time 2026-11-29 21:45:06 +07:00
bflatastic a6cb63afda app: a connection that ended closes its socket for the client too
The worker kept a handle on the socket until the next connection reaped it, so
a silent client stayed connected past the token wait. Shut the socket down
when the connection thread ends.
2026-11-29 21:43:04 +07:00
David Mann 0d933a62f9 agents: review fixes (#2741)
- Live mode keeps every --automation-write-root, not only the first.
- --attach sends this machine's token file only to a loopback address; another host gets only
  FIGCRAFT_CONTROL_TOKEN.
- Stopping a listener (the launcher's switch off) cancels its requests still queued, so none runs
  after the stop.
- A screenshot write is checked against the request's roots again when it happens.
- The frame that applies an agent's queued ui.input batch runs confined to that agent's roots, so
  a queued Save shortcut can't write outside them.
- The headless confinement test uses the registered file.saveAs; docs say both roots are
  required only without the switch or with --headless.
2026-11-29 15:42:04 +01:00
bflatastic 9b162937b2 M11, #2529: plugins get the time and the user's UTC offset (plugin API 7) 2026-11-29 21:31:47 +07:00
David Mann f2876cfb17 Merge the draft's empty WIP commit 2026-11-29 15:21:20 +01:00
KEEP_DARK [-อาร์ต-] 9dae8271c9 fix(engine): keep Thai vowels and tone marks in their word
word_class walks back over combining marks to their base letter, but
only for the combining-diacritics blocks. Thai vowels and tone marks
written above and below a letter (U+0E31, U+0E34-0E3A, U+0E47-0E4E)
aren't alphanumeric, so Alt+Arrow, Alt+Backspace/Delete and
double-click stopped at them inside a word. They now go with their
letter, as combining accents do.

Closes #2744.
2026-11-29 21:19:11 +07:00
David Mann 48287201cf mcp: plain figcraft-cli mcp reaches the open window through the launcher's switch (#2740)
While the ArtCraft Launcher's switch lets agents use FigCraft, figcraft-cli mcp sends each call
to the open window through craft_control::agents::Live (the connection file, the token file; a
closed app is started) and otherwise runs headless in the automation roots or the agent folder.
Without the switch it still needs both roots (rule 18); --headless forces headless. --attach
reads the token file of its port.

Requests from the agent listener carry the agent folder as their roots (ControlRequest::roots):
handle runs confined to them and a screenshot path is checked as it is admitted, unless the app
was started with roots of its own. Docs: mcp.md, control-protocol.md, cli.md.
2026-11-29 15:18:51 +01:00
bflatastic 5e9c7f6ea4 M7, #2512: Cmd/Ctrl+W closes a presentation tab 2026-11-29 21:13:12 +07:00
hoangquocvietuet 94680b38bf M1, #2564: a click selects an image only where its pixels show 2026-11-29 14:10:52 +00:00
BFlat cce2e72d3e Merge pull request #2742 from davidmann4/chore/craft-libs-pin-agents
deps: craft-libs to main 27c2cbf8 (with egui 14c39fed)
2026-11-29 21:00:40 +07:00
hoangquocvietuet 6f306c01d2 M1, #2564: a click on an image's transparent pixels reaches the layer underneath (failing test) 2026-11-29 13:56:12 +00:00
BFlat 748ff4ddb2 Merge pull request #2710 from TKlerx/codex/fig-import-confirmation
Offer a bounded retry for large .fig imports (#574)
2026-11-29 20:46:46 +07:00