Commit Graph
5193 Commits
Author SHA1 Message Date
ljkx 860bb542a6 Swap library: a mode the layer chose of the new library's collection wins over a moved one
When a collection keeps its old-library mode, a second swap maps that
mode onto the new library's collection, which the layer may already have
a mode of. The layer's own choice now wins, whatever the order of the
collection ids.
2026-11-23 18:01:40 +01:00
ViktorBystrov72 c24392ea55 Layers: follow vertical auto-layout order (#2470) 2026-11-23 20:12:35 +05:00
Dylan M. Taylor b828e6c75a ci(release): forward ARTCRAFT_SERVICES_DISPATCH_TOKEN secret (#2578) 2026-11-23 09:33:45 -05:00
ViktorBystrov72 34abd7da2d Components: report and find orphaned instances (#2183) 2026-11-23 18:25:06 +05:00
ljkx e07770073e docs: the swap's kept mode in the components parity row 2026-11-23 13:44:06 +01:00
ljkx fe156078d0 Swap library keeps a collection's old mode while a variable of it stays on the old library
A layer choosing a mode of the old library's collection had that choice
replaced by the new library's, so a variable of that collection with no
match (still the old library's) fell back to the default mode. The old
choice now stays next to the new one while such a variable is left.
2026-11-23 13:35:00 +01:00
ljkx c63ad55771 M3: library.swap names the unused copies it removes (#2569)
The swap removes the old library's copies that nothing uses before it
starts (a component imported but not placed, a variable imported but not
bound), and its result said nothing about them. It now lists them in
`dropped`, apart from copies that went because what used them moved.
2026-11-23 10:39:26 +01:00
ljkx e7047e2aea M3: Swap library re-points the styles and variables of the copies it keeps (#2568)
library.swap re-pointed style links and variable bindings only on layers
outside the read-only library copies. A copy the swap keeps (no match in
the other library, or another library's component using the swapped
style) kept the old style and variable, so instances placed after the
swap showed the old colours. The copies' own layers are re-pointed too.
2026-11-23 10:37:20 +01:00
Vijayaraghavan M 0fca11df35 M1: remove a guide by where its button came up 2026-11-23 00:45:08 +05:30
Vijayaraghavan M c7281989a1 M1: a guide released past its ruler is removed 2026-11-23 00:28:18 +05:30
Dylan M. Taylor 0154ee0a2c ci: rename artcraft-k8s-trusted to artcraft-k8s-main 2026-11-22 09:30:22 -05:00
phonedu 13cd2f7d6b M13: merge upstream main again 2026-11-22 20:46:38 +08: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 0036221879 ci: use artcraft-k8s-trusted runner on main 2026-11-21 22:54:35 -05:00
supersfera 141083243a ru: address review (metainfo license notice) 2026-11-21 19:28:52 -08:00
supersfera 420365a4ed Add Russian translation (ru).
Update the in-app Russian catalog and add Russian strings to the
Linux desktop, AppStream, and MIME metadata.

Copyright (c) 2026 SuperSfera LLC, MIT OR Apache-2.0.
2026-11-21 17:09:55 -08:00
Ridzzz0Alam 3a374ba85c M4: a near-degenerate boolean no longer hangs Save (#2394)
Saving a large imported icon library froze until the system ran out of
memory. The crash dump's stack (v0.18.1) runs Save, the thumbnail render,
a boolean group and then linesweeper 0.4.0's sweep, which loops and keeps
allocating on near-touching curves. The input is small, so the sweep caps
don't stop it.

linesweeper 0.5 fixes that loop. VectorCraft's pathops already uses 0.5,
so the lockfile drops the second copy.

Test: two shapes reduced from linesweeper's own regression input; the
boolean runs on a thread and must finish within 10 s. It times out on
0.4.0 and finishes in milliseconds on 0.5.
2026-11-21 22:34:46 +01:00
Mex 0264e32c47 docs(cli): explain how export resolves layer names across pages 2026-11-21 20:27:29 +01:00
Mex 8deece2323 Cover hiding nested sections together 2026-11-21 20:01:23 +01:00
Mex d0bf44a31a Select the outermost targeted section after hiding contents 2026-11-21 20:01:07 +01:00
Mex 0961afab2e test(home): cover an unrecognized saved sort direction 2026-11-21 19:53:51 +01:00
Mex 6c76acbead fix(home): use the usual sort order for invalid saved directions 2026-11-21 19:53:43 +01:00
Mex ba3773e1ab Cover carriage-return row endings and table limits 2026-11-21 19:53:05 +01:00
Mex 31b23bc930 Handle a trailing carriage return in pasted spreadsheet rows 2026-11-21 19:52:44 +01:00
Mex a6f9cd1efc docs(cli): explain selected-layer exports to a directory 2026-11-21 19:38:17 +01:00
Mex 301c382a79 Cover image adjustments on shared character fills 2026-11-21 19:35:26 +01:00
Mex f9c781d4df Apply image presets to text’s shared image fill 2026-11-21 19:35:05 +01: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 a976caf857 Cover widely spaced comment pins in a real viewport 2026-11-21 19:16:29 +01:00
Mex 3b4e98df05 Keep comment pins in view when zooming to them 2026-11-21 19:15:54 +01:00
Mex 03080bfd7a docs: update the download guide for current release packages
Updated installation instructions and release information for various platforms, including details on the latest GitHub release and alpha status.
2026-11-21 19:05:07 +01:00
Mex 0d03a241db docs(cli): clarify what a failed script rolls back 2026-11-21 18:33:54 +01: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
FueryS cfef5763f4 picker: remove picker-side crop init and compute placement per node (#2499)
Remove picker-side crop initialization when selecting Crop mode in the
color picker, and instead let the engine compute the initial placement
crop per node using each selected layer's own dimensions. This avoids
stretching images when multiple differently sized layers are selected
at once.
2026-11-21 22:21:14 +05:30
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
Mex 0ceac64731 docs(cli): list Penpot as a convert input 2026-11-21 17:19:23 +01:00
Oleksii Sukholita 2e7a168a91 M1: a Cmd/Ctrl press through a selected unfilled frame onto nothing starts a marquee
Where the deep pick under a selected unfilled nested frame found nothing at all (a frame in a
group on the page, with nothing under it), the press still fell back to dragging the selection,
so it moved the frame, while the same press with nothing selected started a marquee. A press that
reaches nothing now counts as being on the selection only for a selected layer it wasn't passed
through. Plain presses keep the fallback. Raised in review.

`a_cmd_press_through_a_selected_unfilled_frame_onto_nothing_starts_a_marquee` fails without the
change: the frame moves.
2026-11-21 14:56:42 +01:00
Oleksii Sukholita b3bdb1956d M1: Cmd/Ctrl-click reaches the layer under a selected unfilled nested frame too
With an unfilled nested frame or instance already selected, a Cmd/Ctrl press in its empty area
hit the layer under it. The fallback for a press inside the selection's box that reaches nothing
above the selection then swapped that pick for the selected frame, so the click kept the overlay
selected while hover with Cmd/Ctrl showed the layer under it. With Cmd/Ctrl, a selected nested
frame that the deep pick went through is no longer pressed on: the layer under it, or the
top-level frame on an empty spot, is picked as when the frame isn't selected. Plain presses keep
the fallback. Raised in review.

The new rows in `cmd_click_reaches_through_an_unfilled_nested_frame` fail without the change.
2026-11-21 14:46:51 +01:00
Oleksii Sukholita fc5c045c0e M1: Cmd/Ctrl + double-click edits the layer under an unfilled nested frame or instance
A double-click found the layer under the pointer with the plain hit test even with Cmd/Ctrl
held. Over an unfilled device chrome overlay it picked the overlay, so it never edited the text
or the shape under it. In Figma's web app, measured with synthetic files, Cmd + double-click
reaches that layer as a Cmd-click does and edits it at once: text editing for a text, vector edit
mode for a shape. A plain double-click still picks the overlay there, as in Figma.

`cmd_double_click_edits_the_layer_under_an_unfilled_instance` fails without the change. The
device chrome scene the two tests share is one helper now.
2026-11-21 14:37:18 +01:00
Oleksii Sukholita 7fdb996062 M1: Cmd/Ctrl-click reaches the layers under an unfilled nested frame or instance
With Cmd/Ctrl held, a frame, component or instance nested in another layer caught the pick
across its whole box. An unfilled overlay, such as a device chrome instance (a status bar and a
home indicator over a screen), took every deep click and hover inside it, so the screen's own
layers could not be picked through it. In Figma's web app, measured with synthetic files, such
a layer counts only where it has a visible fill (a hidden or 0% fill and its stroke don't), and
the pick reaches the layer under it, or the top-level frame when nothing else is there.

`HitOpts::deep` makes the hit test do that for a press, a hover, the shape builder's pick and a
right-click with Cmd/Ctrl held. Boards (top-level frames and frames directly in a section) keep
their box, and a plain click is unchanged.

`cmd_click_reaches_through_an_unfilled_nested_frame` fails without the change.
2026-11-21 14:11:55 +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
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