Commit Graph
13018 Commits
Author SHA1 Message Date
Dylan M. Taylor 02ae5fd404 affinity: warn on converted artboard outlines 2026-11-14 00:29:55 +00:00
Dylan M. Taylor 8c7544ed2a Use craft-affinity from craft-libs; remove crates/affinity 2026-11-14 00:16:50 +00:00
Dylan M. Taylor 0eecd8636c engine/ui: update clone_sampling and tests to use craft-cms 2026-11-14 00:10:12 +00:00
Dylan M. Taylor 040962a5b4 Merge photo-cms-port: use craft-cms and remove crates/cms (#13393) 2026-11-14 00:02:22 +00:00
Dylan M. Taylor 8e78a9c1fe Merge switch-craft-svg: use craft-svg for SVG sniffing, SVGZ and draw-memory check (#13417) 2026-11-13 23:59:37 +00:00
Dylan M. Taylor 8f5aad2360 Merge switch-craft-kra-ora-xcf: use craft-kra, craft-ora, craft-xcf and craft-pdn (#13415) 2026-11-13 23:55:49 +00:00
David Mann dc0f56b22e Merge pull request #13910 from ljkx/feat/13364-triangle-alt-eyedropper
Triangle tool: Alt at the press picks the foreground and Fill colour (#13364)
2026-11-13 22:49:45 +01:00
David Mann 85ff41e7da Merge pull request #13974 from RickiNano/fix/13920-import-data-sets-needs-variables
Import Data Sets: greyed until the active document has a variable (#13920)
2026-11-13 22:49:32 +01:00
David Mann 3c3bf0e5a0 Merge pull request #13526 from RickiNano/fix/13293-group-load-selection-greyed
Grey Group from Layers and Load Selection on a lone Background (#13293)
2026-11-13 22:49:18 +01:00
David Mann 9a5fcdaa83 Merge pull request #13438 from hnoerenberg/fix/ruler-cursor-12037
fix(ui): the Ruler tool gets its reference cursors
2026-11-13 22:24:35 +01:00
David Mann 7689e7bd4d Merge pull request #13936 from RickiNano/fix/frame-content-name-13862
Frame tool: name a frame made around a layer "<layer> Frame" (#13862)
2026-11-13 22:15:55 +01:00
David Mann 02bd09a791 Merge pull request #13823 from TrevorBrown-dev/fix/triangle-properties-fields-13360
Triangle tool: pin a triangle's Properties to one Corner radius field, no Sides or Star ratio (#13360)
2026-11-13 22:15:43 +01:00
David Mann ff9430bda9 Merge pull request #13822 from TrevorBrown-dev/fix/triangle-shift-equilateral-13351
Triangle tool: pin Shift's equilateral triangle on the shorter side of the drag (#13351)
2026-11-13 22:15:32 +01:00
David Mann 5d04c8c772 Merge pull request #13852 from RickiNano/feat/fade-all-blend-modes-13806
Fade: all 27 blend modes in groups, greyed by colour mode and depth (#13806)
2026-11-13 22:15:20 +01:00
David Mann 3ebfe04c1c Merge pull request #13900 from Bobderto/codex/13854-fit-image-range
Validate width and height in the Fit Image dialog
2026-11-13 22:15:07 +01:00
David Mann 98793076d1 Merge pull request #13844 from RickiNano/fix/atn-fade-step-defaults-13816
Actions: a recorded Fade step without settings plays as 100 % Normal (#13816)
2026-11-13 22:14:55 +01:00
David Mann 8c793675b2 Merge pull request #13944 from qvest-ssels/fix/frame-tool-move-history-13880
Frame tool: moving an empty frame records Move
2026-11-13 22:14:43 +01:00
David Mann 773220b00e Merge pull request #13943 from qvest-ssels/fix/frame-tool-escape-commits-13866
Frame tool: Escape during a drag makes the frame at the pointer
2026-11-13 22:14:31 +01:00
David Mann 3e12226fc3 Merge pull request #13942 from qvest-ssels/fix/frame-tool-shift-square-13865
Frame tool: Shift squares a frame from the drag's shorter side
2026-11-13 22:14:20 +01:00
David Mann 982d4d755e Merge pull request #13533 from indy2kro/docs/13053-samplecolor-zoom
Control protocol: document zoom of document.sampleColor (#13053)
2026-11-13 22:14:08 +01:00
David Mann 3ad66527ec Merge pull request #13916 from Lcoding15/fix/png24-embed-icc
fix(export): PNG-24 embeds the profile only with Embed Color Profile on (#13798)
2026-11-13 22:13:56 +01:00
David Mann 94dd9b29a7 Merge pull request #13541 from RickiNano/fix/13205-direct-select-history-names
Direct Selection: name one-anchor and handle drags as in the reference (#13205)
2026-11-13 22:13:01 +01:00
David Mann 2e83176ec1 Merge pull request #13773 from TrevorBrown-dev/fix/export-as-jpg-progressive-13724
Export As: JPG files are progressive at every quality (#13724)
2026-11-13 22:12:48 +01:00
ljkx 94e7669cac Merge remote-tracking branch 'origin/main' into feat/13364-triangle-alt-eyedropper 2026-11-13 21:34:59 +01:00
ljkx e2b6df9de4 Triangle Alt sampling: require Shape mode explicitly
Pixels mode, like Path mode, wasn't measured and keeps drawing.
2026-11-13 21:34:57 +01:00
Hartmut Nörenberg 43063dbbdc fix(ui): Precise Other Cursors gives the Ruler the crosshair pointer 2026-11-13 21:12:58 +01:00
RickiNano e80faf1345 Merge remote-tracking branch 'origin/main' into fix/13920-import-data-sets-needs-variables 2026-11-13 21:01:19 +01:00
Trevor BrownandClaude Opus 5.5 5efdaad21f Merge upstream/main into fix/export-as-jpg-progressive-13724 (main's gate fix #13839)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 14:39:35 -05:00
RickiNano d14e2b2600 Import Data Sets: declare the #13920 test module after mod tests
Keeps this hunk apart from #13952's, which adds its module before `mod tests`.
2026-11-13 20:14:05 +01:00
RickiNano b3d52fc272 Import Data Sets: greyed until the active document has a variable (#13920)
File > Import > Variable Data Sets was enabled on any open document, so
importing into one without variables made data sets with no values.
Gate it on the active document defining at least one variable, as the
export counterparts already gate on data sets.
2026-11-13 20:08:57 +01:00
RickiNano a7ea4a5bf3 Merge remote-tracking branch 'origin/main' into fix/atn-fade-step-defaults-13816 2026-11-13 20:08:56 +01:00
RickiNano d37da956f8 Export Paths to File: preselect the Paths panel's selected path (#13777) (#13814)
The dialog opened on All Paths whatever row was selected in the Paths
panel. It now opens on the selected saved path or Work Path, and on All
Paths when no row is selected, the row is gone, or it is a shape
layer's path (not an entry yet, #13774).
2026-11-13 20:03:53 +01:00
RickiNano 71badd838a Quick Export: JPG files are progressive at every quality (#13787) (#13825)
Quick Export built its web settings without a `progressive` key, so every
JPG it wrote was baseline (SOF0). The reference application writes them
progressive (SOF2) at every quality. Save for Web keeps its own Progressive
checkbox, off by default.
2026-11-13 20:02:49 +01:00
RickiNano 96d649c777 Fade: hiding or showing another layer keeps it available (#13805) (#13832)
The fade source now keeps the history id of the state before the faded
step. A following Hide Layers, Show Layers, Show Only This Layer or eye
click on layers other than the faded one keeps Fade enabled, and Fade
blends towards that state even when the visibility change added a
history state. Selecting another layer, any other step, or showing or
hiding the faded layer itself still disables Fade.
2026-11-13 20:01:56 +01:00
RickiNano cac741356b Edit > Fade: Dissolve picks the base or the result per pixel (#13809) (#13840)
Fade in Dissolve fell through to the Normal mix. Below 100 % each pixel
now keeps the pixel before the step or takes the step's result whole,
alpha included, with the opacity as the odds. The pick uses the
position-based dither_noise that Edit > Fill's Dissolve uses, so it is
the same across tiles and between the dialog's preview and OK.
2026-11-13 20:00:51 +01:00
RickiNano 2db52e2ab9 Merge remote-tracking branch 'origin/main' into fix/frame-content-name-13862 2026-11-13 19:48:26 +01:00
Trevor BrownandClaude Opus 5.5 c33778340b Merge upstream/main into fix/triangle-properties-fields-13360
The gate failed on canvas::background_redraw::tests::open_documents_share_one_texture_budget_with_the_shown_ones_first, which this PR does not touch and which main passes; merging main runs the gate again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 13:35:50 -05:00
RickiNano 4b21463fe6 Actions: unmeasured Fade opacities 200+ and -100- keep the clamp (#13816)
Only values less than 100 past either end wrap (150 -> 50, -5 -> 95), as
measured; 200, -100, -105 and further out were not measured and keep the
old clamp to 0..=100, per the issue's rule for unmeasured cases.
2026-11-13 19:28:12 +01:00
David Mann c8a651eeb3 Merge pull request #13913 from qvest-ssels/fix/fit-image-drops-selection-13856
Fit Image and Image Size drop the selection when they resample
2026-11-13 19:11:14 +01:00
Cristi RaduandClaude Opus 5.5 e248c7288b Control protocol: sampleColor matches the Eyedropper only with its size and sample too
Answers CodeRabbit on #13533: size defaults to Point Sample and sampleLayer to all,
so the zoom alone doesn't reproduce a 3 by 3 Average.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 20:08:13 +02:00
Cristi RaduandClaude Opus 5.5 8b4460a7ac Control protocol: give sampleColor's zoomed box rounding, position and clipping
Answers CodeRabbit on #13533: the side is (N+1)/zoom rounded, the box starts
ceil(side/2)-1 pixels before the sampled pixel, and it is clipped to the canvas,
as sample_rect_at does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 20:08:13 +02:00
Cristi RaduandClaude Opus 5.5 dd6256238f Control protocol: document zoom of document.sampleColor (#13053)
The command's params text already describes `zoom`; the protocol doc listed only
x, y, size and sampleLayer, so an agent following it got the centred square
instead of the Eyedropper's zoom-dependent box (4 x 4 for a 3 by 3 Average at
100 %).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 20:08:13 +02:00
RickiNano c5c7f2c58a Merge remote-tracking branch 'origin/main' into fix/13205-direct-select-history-names
# Conflicts:
#	crates/ui-egui/src/tools/direct_select.rs
2026-11-13 19:07:34 +01:00
RickiNano 4d56558094 Frame tool: name a frame made around a layer "<layer> Frame" (#13862)
A frame that takes a content layer was always named "Frame N". It is now
named after that layer ("Red Frame"), as in the reference application;
the content layer keeps its own name. Empty frames keep "Frame N" and an
explicit name param still wins.
2026-11-13 19:07:29 +01:00
Hartmut Nörenberg e9de26b0a1 fix(merge): ruler cursor docs repaired; test follows the Drag::RulerNew payload 2026-11-13 18:57:26 +01:00
Trevor BrownandClaude Opus 5.5 5936ec0e0e Merge upstream/main into fix/triangle-properties-fields-13360
Main's remove_hidden_layer test is fixed by #13839, so the gate can pass again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 12:38:08 -05:00
Trevor BrownandClaude Opus 5.5 826264f06b Merge upstream/main into fix/triangle-shift-equilateral-13351
Main's remove_hidden_layer test is fixed by #13839, so the gate can pass again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 12:38:05 -05:00
qvest-ssels 76d8211de1 Frame tool: moving an empty frame records Move
layer.frame.set takes an optional historyName ("Move" or null; anything else is refused before
the document changes). The Frame tool sends it when it drags an empty frame, so History shows Move.
Handle drags, nudges, Free Transform, Properties changes and frames with an image keep Frame
Properties.

Fixes #13880
2026-11-13 18:31:58 +01:00
ljkx 87f0f17f27 Merge remote-tracking branch 'origin/main' into feat/13364-triangle-alt-eyedropper 2026-11-13 18:31:45 +01:00
qvest-ssels 655f76d57c Frame tool: Escape during a frame drag makes the frame at the pointer
Escape while drawing a frame no longer throws the drag away: the frame is made where the pointer
is, as one New Frame step, and the movement and release after it change nothing. Escape while
moving, resizing or rotating an existing frame still cancels (not measured).

Fixes #13866
2026-11-13 18:31:29 +01:00