Commit Graph
422 Commits
Author SHA1 Message Date
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 f278b428cb Merge branch 'main' into feat/automation-allow-server-join
main moved figcraft-cli to RFC-0018 (#2645): main.rs is a thin wrapper and the
dispatch lives in lib.rs, so mcp_roots, the --automation-allow-server handling
and its test move there; headless mcp is checked before the fonts are scanned.
2026-11-28 08:01:38 +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
BFlat 4e83051359 Merge pull request #2643 from mikaelweiss/shared-branches
M10: sync shared branches across live sessions
2026-11-27 15:49:48 +07:00
bflatastic 5a8dcb867e Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	ROADMAP.md
2026-11-27 15:46:21 +07:00
bflatastic 0db8a4a9ba Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	ROADMAP.md
2026-11-27 15:45:32 +07:00
bflatastic b29d481ee4 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	ROADMAP.md
2026-11-27 15:44:32 +07:00
bflatastic 163800516f Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/collab/src/message.rs
#	crates/collab/src/server.rs
2026-11-27 15:21:59 +07:00
bflatastic 43b632c32b Merge remote-tracking branch 'origin/main' into HEAD 2026-11-27 15:21:54 +07:00
bflatastic 96e1dc922a Merge remote-tracking branch 'origin/main' into HEAD 2026-11-27 15:21:45 +07:00
bflatastic 86f1544c7b Merge remote-tracking branch 'origin/main' into HEAD 2026-11-27 15:21:36 +07:00
bflatastic 559d1e1650 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	ROADMAP.md
2026-11-27 15:21:28 +07:00
bflatastic 1c5f6f60d0 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/ui-parity.md
2026-11-27 14:40:03 +07:00
bflatastic fbbe425064 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	ROADMAP.md
2026-11-27 14:26:01 +07:00
bflatastic 3cac6c5051 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	ROADMAP.md
2026-11-27 14:25:45 +07:00
bflatastic 11cbd37bf0 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	ROADMAP.md
2026-11-27 14:25:26 +07:00
bflatastic 0c844978e4 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	ROADMAP.md
2026-11-27 14:25:11 +07:00
BFlat 6f8e98054b Merge pull request #2626 from daplo/fix/macos-screenshot-paste
fix(macos): paste the image file copied in Finder
2026-11-27 14:10:19 +07:00
bflatastic 3590abc9ff Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/ui-parity.md
2026-11-27 14:06:34 +07:00
Mikael Weiss 3220a094b0 fix: reconcile shared branch edits, rejections, and reconnects 2026-11-27 00:05:35 -07:00
FredApps 3b9bf7ffb5 figcraft-cli: test perf, plugin publish --key and mcp --attach failures in-process 2026-11-26 23:05:03 +01: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
Mikael Weiss c9ae173585 fix: harden shared branch sync and add tests and docs 2026-11-26 05:22:47 -07:00
Mikael Weiss ff4a7bf926 Merge remote-tracking branch 'upstream/main' into shared-branches 2026-11-26 04:53:41 -07:00
skylar taylor-barrick f8927bb266 Nightly: stop blocking a refused launch on macOS (#2638)
Nightly launch fix under Skylar's Exec 454: the Launcher's trailing `--` no longer reaches the file list where that applied, and a refused launch no longer blocks on macOS (the reason goes to stderr and the app exits 2).
2026-11-26 00:46:40 -06:00
Mikael Weiss 51229dce95 feat: sync shared branches across live sessions 2026-11-25 16:39:53 -07: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
daplo c93f5e36ad fix(macos): paste the image file copied in Finder 2026-11-25 15:39:23 +01:00
aiongg e1b9366831 Repin craft-libs to storytold next d1bdf8e5da 2026-11-25 13:53:48 +00:00
aiongg 4df035f596 Merge main into the minimal port
Conflicts: crates/ui-egui/src/dialogs/updates_ui.rs (main's optional updater for the Nightly, applied to the port's DialogHost update flow: tick and show skip when there is no updater).
2026-11-25 06:35:58 +00:00
aiongg 45856da3b9 Repin craft-libs to storytold next 16001e7210 and egui to storytold b15ffe9bfc 2026-11-25 06:31:16 +00:00
Dylan M. Taylor ef2a9eeefc packaging(linux): support co-installable nightly packages (#2603)
Linux nightly packaging by @dylanmtaylor, with the per-app Nightly flavor commits stacked on his branch.

Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-24 18:55:17 -06:00
Denis Gomes 09553289ba Desktop: load the preferences before opening the files named on the command line
The files named on the command line opened before the preferences were
read, so file.open saw no kept views: such a file opened fitted instead
of where it was left. It also put the file at the top of the recent
files, and the preferences read just after replaced that list.
2026-11-24 18:59:18 -05: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
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
UtakataandClaude Opus 5.5 4e48e6f9f2 Dependencies: align craft-libs at merged sensor develop stage 249a41bd
Every craft-libs crate moves to storytold/craft-libs@249a41bd, after
craft-develop gained its sensor stage (storytold/craft-libs#3021), which
camera raw support needs. craft-image-codecs leaves its own rev and joins
the others.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 04:34:05 +09:00
aiongg e393abe47f Pin craft-libs next-host-input ea3b99e892 2026-11-24 18:43:24 +00:00
aiongg 3ddb9d46ec Tests: the runtime in the test windows that draw FigCraft's UI
Each such window installs the runtime headless and hands it FigCraft's
frame input before each frame, as the shells do; the main window's
close tests run its close path.
2026-11-24 18:40:53 +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
Denis Gomes 6247922621 M5: a file opens again where it was left
A file always opened on the page saved in it, fitted to its content, so
coming back to a file meant finding the place again. Figma opens a file
where you were.

Closing a file's tab or quitting now keeps the page it showed and each
page's view (centre and zoom) in the preferences, by path, for the last
100 files left. Opening the file shows that page at its view, and the
canvas keeps the view instead of fitting the page when it first gets its
size (DocState::fit_when_sized). A page the file no longer has, a divider
or a view the canvas can't show is left out.

Keeping the view in the file was rejected: it would come back only after a
save, and looking around would make the file unsaved. The preferences are
per machine, so another computer opens the file fitted.
2026-11-24 03:01:16 -05:00
Denis Gomes f9964e14ae Desktop: reopen the files open at quit instead of starting in a new file
The desktop app started in a new, empty file on every launch, and with a
control port open (FIGCRAFT_CONTROL_PORT set for an attached agent) even
the Start on the Home screen preference was overridden, so the files you
worked in had to be found and opened again each time.

Quitting now keeps the paths of the open tabs' files, in tab order, and the
one in front (Prefs::open_files, Prefs::front_file); the next start opens
them again and brings that one forward, as Figma's desktop app reopens its
tabs. Files without a path (new, imported, joined live) and branch tabs are
left out. A file named on the command line stays in front, a recovered
copy keeps its one tab (file.open switches to an open path), a file gone
since is skipped, and one that won't open is reported like a file named on
the command line.

With nothing to reopen the window starts on the Home screen; only with a
control port open does it still start in a new file (#874: control callers
expect a document). Start on the Home screen now means Home instead of the
reopened files.

The list is written at quit only, with the other preferences. Keeping it on
every tab change would cover a crash too, but a crash already brings back
the unsaved files through recovery copies, and the list from the last quit
is a fair fallback for the rest.
2026-11-24 03:00:57 -05:00
Anderson 470b6483f1 Require both roots for headless MCP 2026-11-23 04:04:24 +01:00
Anderson 4f2ade852e MCP: allow confined sessions to join an approved server 2026-11-23 02:34:21 +01:00
FredApps 5c50561fcd Dependencies: align craft-libs at merged SVG writer ea9407b3 (#2514) 2026-11-20 06:39:35 +07:00
Mex 43810b42ee Merge branch 'main' into patch-9 2026-11-19 21:58:18 +01: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
Mex 0cc08f58dc Merge branch 'main' into patch-9 2026-11-18 21:19:30 +01:00
Mex d7de7b786b Merge branch 'main' into patch-5 2026-11-18 21:19:02 +01:00