Commit Graph
11425 Commits
Author SHA1 Message Date
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 <noreply@anthropic.com>
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 <Nurana100@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 14:42:50 +01:00
David MannandClaude Opus 5.5 4cd1f3fe1f Regenerate docs/scorecard.md after merging main
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 14:21:11 +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 <noreply@anthropic.com>
2026-11-06 14:20:31 +01:00
David MannandClaude Opus 5.5 1f1f42182b Address CodeRabbit review: keep the pattern-scale clamp out of previews
transform_fx::work_layer scales a style to the preview's work resolution
with scale_effects, so the 1..1000 % clamp turned a 2 % pattern at a
quarter of the size into 1 % instead of 0.5 %, and an imported 2000 %
pattern into 1000 % at full size. scale_effects_preview scales patterns
exactly; Scale Effects and Image Size's Scale Styles keep the clamp.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 14:20:22 +01:00
Taxperia 4019112d1d i18n: fix Turkic UI casing and remove unrelated parity edits 2026-11-06 16:09:08 +03:00
Trevor BrownandClaude Fable 5.1 18f447329e Artboard options bar: a board placed with Add New Artboard takes the bar's background (#11385)
The bar's background choice is a tool option for every board the tool makes, but the placing click of Add New Artboard (#11386) sent only the rect, so its board was always white. The click now builds its params through bar::with_background like the drag does, and without takeBackground, which #11387 asks for only on the drawn board.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-06 08:09:04 -05:00
Khawar Zamman Wani 6c720c3765 Merge remote-tracking branch 'origin/main' into claude/stoic-yalow-d695ab 2026-11-06 18:38:44 +05:30
Khawar Zamman Wani 3f03e3e99d Merge remote-tracking branch 'pr/11628' into claude/stoic-yalow-d695ab
# Conflicts:
#	crates/raster/src/spill.rs
2026-11-06 18:38:44 +05:30
David Mann a9a002e828 Merge remote-tracking branch 'origin/main' into HEAD 2026-11-06 14:05:39 +01:00
David Mann e8bb14bb0f Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/scorecard.md
#	docs/ui-parity.md
2026-11-06 14:05:34 +01:00
David Mann a0ae468a7b Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/engine/src/cmd/image_cmds.rs
2026-11-06 14:05:05 +01:00
David Mann e337259d67 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/engine/src/cmd/artboard_cmds.rs
2026-11-06 14:04:53 +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
Trevor BrownandClaude Fable 5.1 93bbd259f8 Fix the merge: ArtboardToolUi::default sets the placing mode off
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-06 08:04:22 -05:00
David Mann a9de7ebee8 Merge remote-tracking branch 'origin/main' into HEAD 2026-11-06 14:03:38 +01:00
David Mann d91106f9a9 Merge origin/main (7904eee761) into fix/5495-dropdown-height
Main carries this branch's earlier commits (merged with #5533) and then
removes their changes again (82f5a11067), so a plain merge would drop the
whole fix. This merge is main's tree plus the branch's own diff, with
main's blend-group separators (#5532) in combo_list's list and the
crop preset dropdown kept above its parent layer (#7113).
2026-11-06 14:02:42 +01:00
Trevor BrownandClaude Fable 5.1 e5e7848143 Sort the toolbar test mods after the merge
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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 <noreply@anthropic.com>
2026-11-06 07:59:02 -05:00
Trevor Brown 85295a48a8 Merge remote-tracking branch 'upstream/main' into feat/artboard-options-bar-11385
# Conflicts:
#	crates/ui-egui/src/lib.rs
#	crates/ui-egui/src/tools/artboard_tool.rs
2026-11-06 07:45:33 -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
Khawar Zamman Wani 20c0d65342 PSD admission: no free-memory advice when the platform cap also binds
Where the 32-bit cap equals the measured room, more free memory can't raise the
limit, so the refusal shouldn't tell the user to close other apps.
2026-11-06 18:01:16 +05:30
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
Khawar Zamman Wani 2c68c07dbf A scratch folder that stops answering no longer freezes the app
Opening and measuring the folder ran under the config lock, which the UI
takes every frame, and could run on the UI thread itself. They now run on
a short-lived thread, one per folder and question and 16 overall; callers
wait at most 2 s, and a late answer applies if the folder is still current.
No answer counts as unmeasured, or pauses spilling if nothing is open yet.
2026-11-06 17:45:34 +05:30
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
Khawar Zamman Wani 21da95dbc1 Merge remote-tracking branch 'pr/11628' into claude/stoic-yalow-d695ab 2026-11-06 17:05:22 +05:30
Khawar Zamman Wani 1ce1bced95 PSD admission: a little free memory no longer refuses every file
With 1 GiB or less of free RAM, or 512 MiB or less of commit headroom, the
hard limit was exactly 0, so even a small file was refused with a message that
didn't say memory was low.

The reserve now shrinks with the measurement: up to a quarter of free RAM opens
automatically, the rest goes to approval, and an approved import always leaves
at least 256 MiB free. Limits are unchanged for automatic opening above 4/3 GiB
free and for approval from 4 GiB free. A refusal set by measured memory now
gives the free amount and says to close other apps and try again, and the
approval prompt warns when little memory would be left.

An unreadable cgroup still measures Some(0) and stays refused.
2026-11-06 17:03:50 +05:30
Khawar Zamman WaniandClaude 873ed7bf37 Scratch status: hold the lock across the directory check and the store
A guard that is a temporary in an if condition drops before the body runs, so a configuration change
could still land between the two.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-06 16:46:04 +05:30
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
Khawar Zamman WaniandClaude 4d559c0e4c Scratch free space: address review
Windows queries the verbatim path, as stripping the prefix can change what a trailing dot means. A
slow query no longer overwrites the status of a folder configured meanwhile. macOS recognises the
listed volume by its mount point's statvfs numbers, not the total alone. Tests no longer assume the
temp volume reports capacity or compare live readings, and a real failed measurement is covered.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-06 15:56:11 +05:30
Khawar Zamman Wani 2815fa88dc Orient in steps: grow the output a band at a time instead of zero-filling it in one slice 2026-11-06 15:51:38 +05:30
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 <noreply@anthropic.com>

* 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 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-06 11:01:37 +01:00
dotCooCoo 17449e28b3 Merge main into feat/hand-scroll-all-windows 2026-11-06 01:29:38 -08:00
Khawar Zamman WaniandClaude ed49cd9401 Scratch free space is asked of the folder itself, so network folders report their own numbers
Windows network folders reported unknown because sysinfo doesn't list them, and an unlisted Linux
NFS or CIFS mount used the numbers of its listed parent. GetDiskFreeSpaceEx (Windows) and statvfs
(Unix) on the directory fix both. macOS keeps sysinfo's figure, which counts purgeable space, when
the listed disk is this volume. A mount that reports no space is flagged in Preferences, in the
hard-limit refusal and in spill::stats, with a hint to set a Scratch Size Limit or use a local disk.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-06 14:58:27 +05:30
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
Khawar Zamman Wani b9c657dcd8 Re-run CI after a Windows GPU timeout 2026-11-06 14:54:47 +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 <noreply@anthropic.com>
2026-11-06 10:24:16 +01:00
Khawar Zamman Wani 02c5ea8e68 Merge commit '349a03b6b18b0bcee64090f6faa9fc321960fc34' into claude/brave-wu-261567 2026-11-06 14:54:08 +05:30
David Mann ec5eb1e2d0 Merge commit 'refs/fixprs/main' into HEAD 2026-11-06 10:21:59 +01:00
David Mann 519d29c536 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	docs/scorecard.md
2026-11-06 10:10:32 +01:00
Khawar Zamman Wani 04be226762 Merge remote-tracking branch 'origin/main' into claude/selective-colours-isolation-329d87
# Conflicts:
#	docs/ui-parity.md
2026-11-06 14:39:03 +05:30
David Mann 7271c8cca7 Merge pull request #3634 from davidmann4/feat/history-snapshot-options
History Options: Automatically Create First Snapshot, New Snapshot When Saving, Show New Snapshot Dialog by Default (#2966)
2026-11-06 10:07:19 +01:00
Davit MatchakhelidzeandClaude Opus 5.5 65abfad0c5 i18n(ka): Redo is ხელახლა შესრულება (Repeat is გამეორება)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YMTAbGNRxnMEzRvYnQGphF
2026-11-06 12:57:23 +04:00