Commit Graph
9630 Commits
Author SHA1 Message Date
David MannandClaude Opus 5.5 e339ecead2 Batch fix-up: keep one path.toShape entry after merging #11005's 0b66e8f00c
#11005's new head adds path.toShape to the vector-path list next to
path.stroke; the batch's 95c7a5d17e had added it next to path.set. Both
merged cleanly into a duplicate or-pattern; keep the contributor's.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 21:44:32 +01:00
David Mann 47f4f1ce23 Merge PR #11005's new head 0b66e8f00c (path.toShape vector-path fix) 2026-11-06 21:44:23 +01:00
DingusMcRinkyDinkyandClaude Opus 5.5 0b66e8f00c path.toShape: its path is a vector path, not a host file
The automation registry check takes a `path` parameter for a host file
unless the command is listed as taking a document vector path, as the
other path commands are. path.toShape's `path` is the inline path being
drawn, so it belongs in that list; integration batch #11643 failed on it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EZbgszHyuEuWAzxaamteuU
2026-11-06 20:55:12 +01:00
95c7a5d17e Batch fix-up: path.toShape (#11005) takes a document vector path, not a file
The automation registry check reads a `path` param as a host filesystem
path unless the command is listed as taking a document vector path, as
path.set is. #11005's new path.toShape takes an inline vector path, so it
joins that list; CI failed registry_filesystem_path_params_are_classified.

Co-Authored-By: DingusMcRinkyDinky <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 19:39:16 +01:00
David MannandClaude Opus 5.5 af0ae88bad Batch: drop #9876 (New Guide unit dropdown) from the batch
The reference application's New Guide dialog has Orientation, Position
(a text field that takes typed units such as "2 cm") and Color, but no
unit dropdown; measured on 2026-11-06. Typed units already work on main,
so the PR only adds something the reference lacks.

This reverts merge 22e03d0bcb.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 18:54:34 +01:00
812b25fa10 Batch fix-up: CodeRabbit findings on #11249, #11541 and #9862
- #11249: a recorded Blend If Set that also carries real layer effects (a
  Lefx with more than the scale) stays the recorded step instead of playing
  and saving back without the effects.
- #11541: the toolbar "..." flyout owns Escape, so Escape with it open no
  longer deselects or leaves full screen; a failed Edit Toolbar from a left
  click on "..." reports its error in the status bar like the flyout row.
- #9862: the click-on-another-layer check uses the commit's targets (the
  link group as it is now), so a layer linked after the box opened is not
  "another layer".

Each has a test that fails without the fix.

Co-Authored-By: NaufalDzz <[email protected]>
Co-Authored-By: TrevorBrown-dev <[email protected]>
Co-Authored-By: Higgs32584 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 18:35:38 +01:00
David Mann b5acb4c622 Merge origin/main into integration-batch-19 2026-11-06 17:32:14 +01:00
David Mann b837027c41 Merge pull request #7064 from davidmann4/fix/rotated-view-drag-previews
Rotated view: Type box and Move marquee previews follow the document axes (#7063)
2026-11-06 17:29:48 +01:00
David Mann af99f69602 Merge pull request #7719 from davidmann4/fix/cas-background-selection
Content-Aware Scale works on the Background with a selection (#7717)
2026-11-06 17:28:41 +01:00
David Mann 1e82972ee1 Merge pull request #9667 from davidmann4/fix/system-tools-full-path
Windows: run explorer.exe and reg.exe by full path (#9666)
2026-11-06 17:26:45 +01:00
FredApps 8ab527b1e6 Merge pull request #11474 from wanikhawar/claude/selective-colours-isolation-329d87
Keep each colour's values in the Selective Color dialog
2026-11-06 17:26:42 +01:00
FredApps c8e4376ec6 Merge pull request #11513 from wanikhawar/claude/investigate-issue-e27e90
Windows: count scratch room when opening large files; refusal names the build's limit
2026-11-06 17:26:22 +01:00
David Mann 8b70147d06 Merge pull request #9244 from davidmann4/fix/flip-angle-gradient-sweep
Image Rotation: a flip reverses an Angle gradient fill's sweep (#9243)
2026-11-06 17:26:13 +01:00
David Mann 3768e84b67 Merge pull request #9480 from davidmann4/fix/remove-enable-animations
Interface: remove the Enable animations preference (#9479)
2026-11-06 17:25:38 +01:00
David Mann 89235b39ac Merge pull request #10501 from davidmann4/fix/10328-review-followup
Review follow-up to #10328: Liquify saved twirl, copied type brings its styles, restored tests (#10500)
2026-11-06 17:25:11 +01:00
David Mann 16348db38b Merge pull request #9138 from davidmann4/fix/9137-control-click-coord-range
ui.click / ui.move reject coordinates beyond the screen range (#9137)
2026-11-06 17:24:27 +01:00
David Mann fff0db9850 Merge pull request #9309 from davidmann4/fix/match-rotation-crop-turn
Match Rotation leaves a pending crop's turn out (#9308)
2026-11-06 17:23:58 +01:00
Khawar Zamman Wani 146d49f5a2 PSD write recipes: keep every exported candidate and pin the base file (#11607)
* PSD write recipes: keep every exported candidate and pin the base file

A case that failed after export dropped out of manifest.json, losing the
file a reference-editor check most needs. The CLI also reopened the corpus
path after the hash was taken.

- Keep the candidate and its hash once export succeeds.
- Run the CLI on a copy of the hashed bytes, so it never opens the corpus.
- Compare numbers by value, so 17 equals 17.0.
- tracking-split also checks runs 0 and 2 and all three run lengths.

Part of #6130.

* PSD write recipes: compare large integers exactly, reject case-only id clashes

Converting to f64 made 9007199254740993 equal 9007199254740992. Ids that
differ only by letter case name one output directory on a case-insensitive
filesystem, so they are now rejected as duplicates.

* PSD write recipes: test that the CLI receives the hashed bytes

* PSD write recipes: reject the contour library commands

Their path param can read or write any file, including the pinned base and
the corpus, and they edit no document.
2026-11-06 17:23:40 +01:00
David Mann 90f6d9aab6 Merge pull request #9300 from davidmann4/fix/trim-subquantum-alpha
Image: Trim (Transparent Pixels) ignores alpha that rounds to 0 at the document's depth (#9299)
2026-11-06 17:23:32 +01:00
David Mann 39330f8f07 Merge PR #11648: i18n and Layers empty-area menu follow-ups to integration batch 18 (#11494, #11503, #11455, #11500) 2026-11-06 16:54:26 +01:00
David Mann 5a6cd8c6bf Merge pr-11249-fixup: review fixes for #11249 (Gradient Fill Make export and extra layer props) 2026-11-06 15:59:28 +01:00
9d6cdca3fc Actions: a Gradient Fill Make exports with stops, keeps extra layer props (#11249)
Two CodeRabbit findings on #11249:
- A layer.newFillLayer.gradient step with from, to and stops plays the
  stops, but the ATN export refused it. from/to are now left out beside
  stops.
- A recorded Make whose Usng also held a name, opacity, mode or clipping
  loaded as the plain command, which plays none of them and saved back
  without them. It now stays the recorded step.

Each has a test that fails without the fix.

Co-Authored-By: NaufalDzz <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 15:58:57 +01:00
David Mann 244bd2c011 Merge PR #11541: Right-click on the toolbar's "…" button opens a flyout with one row, Edit Toolbar… (#11378) 2026-11-06 15:57:07 +01:00
David Mann eb83e5cc22 Merge PR #11092: Add Group filter to Layers panel (#10883) 2026-11-06 15:57:07 +01:00
32ca273fe6 PR #11092: the Artboard filter control test expects the error to list group
Co-Authored-By: Nurana100 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 15:49:53 +01:00
Trevor BrownandClaude Fable 5.1 665170d1f8 Toolbar flyout: a failed Edit Toolbar… reports its error in the status bar (#11378)
The flyout row discarded the result of edit.toolbar, so a rejected command (for example by an automation policy) just closed the flyout silently. It now sets the status bar error like other panels.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-11-06 09:47:35 -05:00
David Mann eaddba69bd Merge PR #11249: Actions: load and save Blend If and Gradient Fill layers (#10771) 2026-11-06 15:36:23 +01:00
0217be25b4 Batch fix-up: #10438's zoomed-out nudge test expects "Nudge"
Main's #11383 renamed an arrow-key run's History step to "Nudge", as the reference
application names it; #10438's new zoomed-out test still expected "Move".

Co-Authored-By: hectorviov <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 15:10:15 +01:00
92de311b2b Actions: keep more Blend If and Gradient Fill forms exact (#11249)
Review fix-ups on #11249 after merging main:
- A midpoint outside 5..95 %, transparency stops out of range or out of
  order, and a Gradient Fill Set without transparency stops stay
  reference-application steps instead of playing clamped or keeping the
  layer's own transparency.
- An inverted Blend If range stays a reference-application step; the
  command rejects it at play.
- The Layer Style dialog's OK records `Lefx` = {Scl} beside Blend If on a
  layer without effects (measured). That Set is still the dialog's one
  step and saves back with the `Lefx` it was recorded with.

Co-Authored-By: NaufalDzz <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 15:07:32 +01:00
FredApps c101cbfb7e Merge pull request #11632 from storytold/house-rules
Copy the shared house rules into AGENTS.md
2026-11-06 14:58:47 +01:00
David Mann 72645904c7 Merge remote-tracking branch 'origin/main' into pr-11249
# Conflicts:
#	crates/engine/src/cmd/atn_cmds/steps_make.rs
#	crates/engine/src/cmd/atn_cmds/tests.rs
#	docs/atn.md
2026-11-06 14:55:00 +01:00
David Mann 0b765b2fbe Merge PR #11005: Pen: Make Shape turns the path into a shape layer (#10934) 2026-11-06 14:53:39 +01:00
David Mann 22e03d0bcb Merge PR #9876: New Guide: add a position unit selector for pixels, millimeters and inches 2026-11-06 14:53:38 +01:00
David Mann fdaa33c386 Merge PR #9456: feat(ui): Path mode for the Shape tools (part of #9453) 2026-11-06 14:53:37 +01:00
David Mann 6deb79ad1f Merge PR #10559: Select and Mask: resize the brush with Alt+right-drag 2026-11-06 14:53:29 +01:00
David Mann 7d10325213 Merge PR #10438: Move tool: an arrow nudge is one screen pixel, as in Photoshop (#9511) 2026-11-06 14:53:28 +01:00
Trevor BrownandClaude Fable 5.1 13a1f852aa Layers empty-area menu: a pick of the checked size restores a missing saved entry
persist_options now skips the write when the saved entry already equals the options, so the menu can persist on every pick. A pick of the checked row writes nothing unless the saved entry is missing or stale. Adds a test for the missing-entry case and saves an entry first in the unchanged-value test.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-11-06 08:44:57 -05:00
2a9426cfe2 Merge origin/main into #11092 (Group filter) and fit it to main's filter row
Main added Effect, Attribute, Color, Smart Object and Artboard to the Layers
panel filter. Group is now the last type in the list, and works like Artboard:
`Filter::with_selection` fills the listed rows once per frame from
`group::listed`, so the panel, the deselect-on-apply step (#10879) and the
control channel all see the same rows; `shows_in`/`group_ids` and the
layers.rs change are gone. This also removes the duplicate `mod group;` and
`mod tests;` lines (E0428) and the rustfmt issues from the review.

- `group::listed` walks the tree with a stack instead of recursion and
  returns `LayerId`s.
- `Filter::show_all` is documented: Group keeps each group open or closed.
- Tests go through `Filter::of_app` and `panel_rows`, as the panel does,
  plus a deselect-on-apply case and a document without groups.
- control-protocol.md: `group` added to main's `layerFilter` entry.

Co-Authored-By: Nurana100 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 14:42:50 +01:00
David MannandClaude Opus 5.5 4f124949b5 Address CodeRabbit review: convert type style colours with the type; keep Basic Paragraph on Duplicate to New
Converting a document (layer copy to another mode/profile, Image > Mode,
Convert to Profile with or without dither, Duotone inks) converted run colours
but not the colours set by character/paragraph styles and Basic Paragraph, so
converted runs showed a false local override and stopped following later
style edits. Duplicate Layer > New Document dropped the source's Basic
Paragraph, giving inheriting type false overrides.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 14:20:31 +01:00
David Mann 1c754c72f5 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/ui-egui/src/tools/crop_mode/tests.rs
2026-11-06 14:04:32 +01:00
David Mann a9de7ebee8 Merge remote-tracking branch 'origin/main' into HEAD 2026-11-06 14:03:38 +01:00
Trevor BrownandClaude Fable 5.1 e5e7848143 Sort the toolbar test mods after the merge
Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-11-06 08:00:12 -05:00
Trevor BrownandClaude Fable 5.1 823848f8e6 i18n and Layers empty-area menu follow-ups to integration batch 18 (#11494, #11503, #11455, #11500)
Add the missing Hindi rows for Camera Raw... and Reveal in Explorer/Finder. Make Working CMY Plates plural and drop the document wording from New Window in the catalogs that kept them. Skip re-persisting an unchanged thumbnail size in the Layers empty-area menu. Tighten two tests there and add a test for the Hindi rows.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-11-06 07:59:02 -05:00
Trevor Brown f9345253ad Merge remote-tracking branch 'upstream/main' into fix/toolbar-more-slot-flyout-11378
# Conflicts:
#	crates/ui-egui/src/lib.rs
2026-11-06 07:45:25 -05:00
David Mann 8b0dd7129b Merge PR #9862: fix(transform): a click on another layer's pixels commits the box; the next click picks it (#11100, #8208) 2026-11-06 13:28:18 +01:00
David Mann 7904eee761 Merge pull request #11563 from davidmann4/integration-batch-18
Integration batch 18: 23 epic PRs (toolbar, move, selection, artboard, menus)
2026-11-06 12:42:38 +01:00
FredApps 7d8648dfcb Copy the shared house rules into AGENTS.md.
The blocks come from craft-contrib at dde09ea31e2e457f5b4653a6e76f7cdf55944bdf. The house-rules workflow checks the copy.
2026-11-06 11:50:05 +01:00
8f7d916ba5 Single Row / Column Marquee: a drag from inside the selection moves it (#11392) (#11534)
* Single Row / Column Marquee: a drag from inside the selection moves it (#11392)

`selection_drag_kind` lists the Single Row and Single Column Marquee with the
other marquees, so a plain drag that starts inside the selection moves the
outline (one step, as the Rectangular Marquee's move) instead of replacing it
with one new line. A click inside without moving still selects a line
(`finish_gesture`), never deselects, and snaps it as a click outside the
selection does (`snap_ui::snap_click`: guides, grid, layers and document bounds,
not the selection's own edges, which would pick the line beside a 1 px one). A
click on a floating piece drops it where it is first, then selects the line.
⇧ / ⌥ and drags from outside are unchanged.

A selection drag is a click only when the pointer, before snapping, never left
the press by half a pixel or more (`Drag::left_press`, `selection_release`); a
click ends where it was pressed, unsnapped, as with snapping off. With View ›
Snap on, a click inside a selection whose edge sat within reach of a guide or
the canvas edge moved it onto that edge instead of selecting the line (or, with
the Rectangular and Elliptical Marquee, deselecting). `tool_input` passes the
classification on (`finish_release`), so a drag that snapping pulls back to
where it started, or that comes back there, leaves the selection as it was
instead of taking the click's path.

Fixes #11392

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Selection drags: judge a press inside the selection before snapping (#11392)

The press handler asked `selection_drag_kind` about the snapped press point. With
View › Snap on, a press just outside a selected row snapped onto the row's edge
and counted as inside, so a Single Row / Column Marquee drag from there moved the
selection instead of selecting a new line. It now asks about the press as it
was, as `snap_ui::begin` does when it picks the drag's snapping.

The Move tool's click shortcut also needs the pointer never to have left the
press (`Drag::left_press`): a drag that snapping held at the press point and that
came back there dropped a floating piece. A drag that ends unmoved without being
a click now clears the floating piece's move preview, which nothing else
releases on that path.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: FredApps <[email protected]>
2026-11-06 11:01:37 +01:00
Khawar Zamman Wani 7fc39a61c1 Caller-space test queries the temp directory, not its drive root
A temp folder on a volume mounted without a drive letter has a root on a
different volume, so the comparison could fail on correct code.
2026-11-06 14:57:19 +05:30
David MannandClaude Opus 5.5 64ac44bcfc Batch 18: edit.transform's stepName is a History step name, not a file path
The new `"stepName":"Transform Path"` parameter made the registry probe in
registry_filesystem_path_params_are_classified count edit.transform as a
command that takes a host filesystem path. Add it to the vector-path list.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 10:24:16 +01:00