Commit Graph
4033 Commits
Author SHA1 Message Date
BFlat 5c5e02d589 Merge pull request #2545 from MMexicann/patch-13
Reject malformed page IDs before editing the open page
2026-11-27 13:43:04 +07:00
BFlat 910e8a2674 Merge pull request #2543 from MMexicann/patch-11
fix(ui): commit plugin fields before button callbacks
2026-11-27 13:42:59 +07:00
FredApps 0622efe1e1 Merge main into mind maps UI (code blocks and mind map nodes both handled in board.addNext, colour and docs) 2026-11-26 21:01:37 +07:00
FredApps 589ea07094 Merge main into fix/drag-sprite-2033
Doc conflict only (docs/ui-parity.md): kept main's header and changelog rows and added this PR's #2033 clause and row next to them.
2026-11-26 19:43:55 +07:00
FredApps 4cfed8dc63 Merge main into fix/kscale-bound-values-2090
Doc conflicts only (docs/components-parity.md, docs/ui-parity.md): kept main's header and changelog rows and added this PR's #2090 Scale tool clause and row next to them.
2026-11-26 19:22:14 +07:00
aiongg 43e65253d7 Test: closing the clean main window closes its file 2026-11-25 20:44:58 +00:00
aiongg a1116010d4 Tab turns FigCraft's keyboard mode on again 2026-11-25 20:15:15 +00:00
aiongg 420d8cf7ee The canvas keeps the keyboard on a press that nothing takes 2026-11-25 15:50:51 +00:00
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 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
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 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
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
Mex 9a0ba67e31 Preserve the page membership check for the open-page default 2026-11-21 18:27:57 +01:00
Mex e3a15458f9 Test malformed IDs without changing the open page 2026-11-21 18:27:07 +01:00
Mex a3886523f6 Reject malformed page IDs before editing the open page 2026-11-21 18:26:42 +01:00
Mex 488304cc03 Check that the plugin button sees the edited field value 2026-11-21 17:42:04 +01:00
Mex 28233d8c24 fix(ui): commit plugin fields before button callbacks 2026-11-21 17:40:59 +01: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
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
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