Commit Graph
4702 Commits
Author SHA1 Message Date
aiongg 73c8b16cd9 Escape closes the update dialogs
FigCraft puts the window's Escape back into egui's input at the start of the frame, which took it from the focused button of a modal framework dialog before the dialog ran. It leaves the Escape alone while a modal framework dialog is open. The modeless notice of the last update closes on Escape wherever the focus is.
2026-11-25 15:24:38 +00:00
aiongg f9c0537b36 Ctrl+Q closes the window it is pressed in, after asking about that window's files
The runtime clears egui's quit shortcut, which closed the window the key was pressed in, and its own Quit asks the main window to close. From another window that closed the main window's files, and the main window took over the other window with its unsaved file instead of asking about it. The framework's Quit is unbound and each window reads Ctrl+Q last in its frame.
2026-11-25 15:23:17 +00:00
aiongg d6af244d61 The comment field keeps Tab while its mention picker is open 2026-11-25 13:56:44 +00:00
aiongg 55502f0354 Keymap help: Tab moves to the next or previous control 2026-11-25 13:55:47 +00:00
aiongg e1b9366831 Repin craft-libs to storytold next d1bdf8e5da 2026-11-25 13:53:48 +00:00
aiongg dc5f3717e5 The canvas takes the keyboard on a press and when its file opens; the layer rename keeps Tab
Tab with the canvas focused selects the next layer, as do pick select and text editing keys; a bare Tab
with nothing focused stays the framework's. A widget other than the canvas having the keyboard is what
holds shortcuts and Enter back. The accessibility state is per window, so one window's canvas isn't
taken for a field in another.
2026-11-25 13:42:15 +00:00
aiongg b02cd3e905 A field being edited is one Tab stop 2026-11-25 13:22:15 +00:00
aiongg e67d4d1f0a Properties Tab test: names repeat; leaving the panel shows Tab doesn't wrap 2026-11-25 07:58:56 +00:00
aiongg 0f74f483f6 Properties Tab test: unnamed stops may repeat 2026-11-25 07:36:00 +00:00
aiongg 7db7e0dcee Follow the framework's Tab order: tests and a11y.rs 2026-11-25 07:08:53 +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 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
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
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 f29fc403eb Test round 1: Tab is egui's over FigCraft's dialogs, the first frame draws in its theme, tests follow the runtime's press split 2026-11-24 19:18:50 +00:00
aiongg a396aa6fc6 Cargo.lock for the next-host-input pin; drop an unused test import 2026-11-24 18:46:14 +00: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 ad24adbd4a minimal-port rewrite: 1 edits (combo 1) 2026-11-24 18:26:11 +00:00
aiongg efeb1b9a54 minimal-port repin: 39 edits (revs 38, features 1) 2026-11-24 18:25:44 +00:00
Dylan M. Taylor c01d391df7 revert: restore scheduled release.yml dry-run on main (#2582) 2026-11-23 14:45:06 -05:00
Dylan M. Taylor e1d80e0353 ci(release): publish scheduled nightly prereleases (#2581) 2026-11-23 13:16:59 -05:00
Dylan M. Taylor b828e6c75a ci(release): forward ARTCRAFT_SERVICES_DISPATCH_TOKEN secret (#2578) 2026-11-23 09:33:45 -05: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
f7acb637f0 M6: restore full JPEG export chroma (#2521)
* M6: restore full JPEG export chroma

* M6: check the JPEG matte away from the painted edge

* docs: keep the parity header's change level and describe the JPG chroma fix

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: FredApps <FredApps@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 21:28:36 +07:00
Dylan M. Taylor 48ebd1b58b fix(render): clamp non-finite samples in thumbnail_f32 (#2525) 2026-11-20 08:06:16 -05:00
d1f08cee13 Adopt the shared AGENTS.md (RFC-0072) (#2517)
* Adopt the shared AGENTS.md (RFC-0072) and test rules (RFC-0071)

* Show the supported MCP root flags

* AGENTS.md: correct the repository facts

Add vectordrawable (L4) and collab-net (L6) to the layer list, and name the plug-in SDK that uses unsafe outside the workspace.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: FredApps <FredApps@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 18:09:36 +07:00
Dylan M. Taylor d4d4b5760a render: preserve float thumbnail precision and verify output/ICC parity (#2518)
* render: preserve float thumbnail precision and add output/ICC parity tests

* test: match integer un-premultiplication in export_output_and_icc_parity
2026-11-19 23:55:48 -05:00
FredApps e97b644a39 Merge pull request #2515 from Terra854/fix/u16-thumbnail-precision
Preserve 16-bit precision when scaling thumbnails
2026-11-20 08:49:24 +07:00
Dylan M. Taylor c745cc615d Merge pull request #2513 from Terra854/fix/stored-raster-orientation
Preserve stored raster orientation in FigCraft
2026-11-19 19:44:17 -05:00
FredApps dcd2783fa5 SVG export: share path commands without changing coordinate bytes (#2516) 2026-11-20 07:04:42 +07:00
FredApps 5c50561fcd Dependencies: align craft-libs at merged SVG writer ea9407b3 (#2514) 2026-11-20 06:39:35 +07:00
Terra854 11bfa4db58 M8: preserve 16-bit thumbnail precision 2026-11-20 07:27:16 +08:00
Terra854 3120523acc M8: preserve stored raster orientation 2026-11-20 06:53:33 +08:00
Dylan M. Taylor 6b9fed9d0b chore(svg): route SVG XML export through craft_svg::write::SvgWriter (#2510) 2026-11-19 16:41:39 -05: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
BFlat a80ca002a4 Merge pull request #2480 from storytold/feat/text-position-2338
M4: Type settings ▸ Details ▸ Position sets superscript or subscript (#2338)
2026-11-19 07:22:50 +07:00
BFlat 6cc578cede Merge pull request #1810 from SoldierPePe/i18n/rtl-panel-rows
M10: panel rows and the layers list mirror in a right-to-left UI
2026-11-19 07:12:03 +07:00
Dylan M. Taylor 9b04f4c99e cutover: use craft_jpeg::finer_than_first (#2478) 2026-11-18 19:10:44 -05:00
bflatastic 891b632996 M4: Type settings ▸ Details ▸ Position sets superscript or subscript (#2338)
The engine draws superscript and subscript (#1868), but nothing in the
interface set them. Details now starts with Position: None, Superscript
or Subscript for the selected text layers, through text.setFeatures
(choosing one clears the other), showing the layers' current position
and none when they differ. Raising a range of characters on its own
needs per-run features and is left for later.
2026-11-19 06:57:54 +07:00
BFlat 433639d5f7 Merge pull request #2479 from storytold/fix/pencil-shift-2447
M1: Shift with the Pencil draws a straight line at 45° steps (#2447)
2026-11-19 06:57:20 +07:00
bflatastic fbeea11c4c M1: Shift with the Pencil draws a straight line at 45° steps (#2447)
Shift did nothing with the Pencil: the stroke stayed freehand, while the
Line tool and the Pen keep theirs to 45° steps. pencil_add, shared by the
drag and the release, now keeps one straight segment from where the
stroke started to the pointer at the nearest 45° step while Shift is
held (the Marker and Highlighter too); a Shift-click without a move still
draws nothing.
2026-11-19 06:30:36 +07:00