Commit Graph
12980 Commits
Author SHA1 Message Date
Dan dce028bf87 Merge remote-tracking branch 'origin/main' into codex/13889-image-processor-formats
# Conflicts:
#	crates/ui-egui/src/dialogs.rs
2026-11-13 21:17:07 +00: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
Dan be40e4d1f2 Commit numeric edits when tabbing through Image Processor 2026-11-13 20:32:31 +00:00
Dan 08451ffbd3 Propagate errors from export test helpers 2026-11-13 20:23:52 +00:00
Dan 11c77d2685 Add Image Processor format controls and output regressions 2026-11-13 20:17:48 +00:00
Dan 7b7dde38c1 Add per-format Image Processor output settings 2026-11-13 20:11:09 +00: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 <[email protected]>
2026-11-13 14:39:35 -05: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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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
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 <[email protected]>
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 <[email protected]>
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
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
qvest-ssels fa5134918f Frame tool: Shift squares a frame from the drag's shorter side
Shift while drawing a frame now makes a square whose side is the smaller of the drag's width and
height, as the reference application does: a 100 x 60 drag gives 60 x 60, Polygon too, and with
Alt the square of the shorter half-extent around the start point. The live outline and the
committed frame both use drawn(), so they match.

Fixes #13865
2026-11-13 18:31:16 +01:00
RickiNano 5f01818a0a Merge remote-tracking branch 'origin/main' into fix/atn-fade-step-defaults-13816 2026-11-13 18:26:54 +01:00
qvest-ssels 70a1f99b31 Image Size test: expect the selection dropped, check Crop's resample keeps it
image_size_keeps_canvas_edges_opaque asserted the old behaviour (a scaled
full selection after Image Size). Image Size now drops it (#13856); the
corner check moves to resample_doc, which the Crop tool's W x H x
Resolution mode still uses.
2026-11-13 18:26:00 +01:00
RickiNano f438929034 Merge remote-tracking branch 'origin/main' into feat/fade-all-blend-modes-13806 2026-11-13 18:25:35 +01:00
Dan 6999626ca6 Merge remote-tracking branch 'origin/main' into codex/13854-fit-image-range 2026-11-13 17:24:29 +00:00
.CooCoo 0e1bf698f3 Tests: the Smudge tool's hidden-layer alert in the Remove tool's tests (#13839)
#13527 made a Smudge press on a hidden target layer open the "Could not
use the smudge tool because the target layer is hidden." alert. #13187,
merged right after it, added the_other_tools_keep_their_message, which
still expected the status-bar error for the Smudge tool and fails on
main. The test now checks the Smudge tool's alert next to the Brush's.
2026-11-13 18:24:03 +01:00
Dan 96fa700f29 Read the accessible field label by reference 2026-11-13 17:16:00 +00:00
Dan 8572e353f8 Cover dialog confirmation and recovery paths 2026-11-13 17:13:29 +00:00
Dan 799d3bf41a Validate Fit Image dialog dimensions 2026-11-13 17:08:51 +00:00
qvest-ssels d6475da125 Fit Image and Image Size drop the selection when they resample (#13856)
Resampling to a new pixel size now drops the active selection instead of
keeping a scaled copy, as the reference application does. Undo restores
the old size and selection in one step. A Fit Image that changes nothing
and a resolution-only Image Size keep the selection. The shared
resample_doc helper (Crop tool) is unchanged.
2026-11-13 17:58:06 +01:00
David Mann de93ee2d38 Merge pull request #13396 from davidmann4/integration-mcp
Integration batch MCP: agents in the open PhotoCraft window, one switch in the ArtCraft Launcher (#11363, #5525)
2026-11-13 17:41:24 +01:00
David Mann 19c4632a18 Merge pull request #13797 from TrevorBrown-dev/fix/paths-ai-path-blocks-13780
Paths to Illustrator: each path is its own marked block, with a group and combine note per subpath (#13780)
2026-11-13 17:38:23 +01:00
David Mann eb726ecc4a Merge pull request #13795 from TrevorBrown-dev/fix/clut-cube-header-13750
Color Lookup Tables export: the CUBE file's comment layout and, for 8- and 16-bit documents, values on 1/32768 steps (#13750)
2026-11-13 17:38:09 +01:00