Commit Graph
17034 Commits
Author SHA1 Message Date
qvest-ssels 5409efbd67 Data Sets as Files: ask whether to export the remaining sets when a replacement image is missing (#13767)
A data set whose Pixel Replacement image does not exist ended the whole
export with an error. The form now asks, naming the set, whether to export
the remaining sets: Yes leaves the set out and goes on, No stops with the
files written so far. A missing image in the last set keeps the error.

The command takes missingImage (error, the default; skip; stop) and start,
and its result lists the skipped sets and the set a stop ended at, so
agents get the same choice without a prompt.
2026-11-29 00:31:06 +01:00
David Mann d3b040392b Merge queue batch #17455: #17421, #17420, #17440, #17441, #17434
Merge queue batch: 5 PRs (#17421, #17420, #17440, #17441, #17434)
2026-11-28 23:54:27 +01:00
David Mann 5395eae757 Merge #17434 into the merge queue batch
Select Data Points: require at least one point
2026-11-28 22:27:16 +01:00
David Mann eb47689639 Merge #17441 into the merge queue batch
feat(ui): layout icons on the first ten Window > Arrange entries (#16889)
2026-11-28 22:27:15 +01:00
David Mann 13073ad49f Merge #17440 into the merge queue batch
fix(ui): full-screen modes show only the active floating document (#16846)
2026-11-28 22:27:15 +01:00
David Mann df4bdd15ac Merge #17420 into the merge queue batch
fix(engine): Collapse All Groups becomes one history step (#17363)
2026-11-28 22:27:14 +01:00
David Mann 212196207a Merge #17421 into the merge queue batch
fix(engine-core): Ungroup Layers selects all former children (#17362)
2026-11-28 22:27:14 +01:00
Dylan M. Taylor 84263cf4c6 ci(nightly): omit arch format until package.sh supports --arch-tar-dir (#17459) 2026-11-28 16:26:16 -05:00
Dylan M. Taylor 7f88b8cf3d ci: pin storytold/craft-common-actions to @main universally (#17456) 2026-11-28 16:07:08 -05:00
David Mann d4f285dccb Merge queue batch #17437: #17333, #17422
Merge queue batch: 2 PRs (#17333, #17422)
2026-11-28 21:43:18 +01:00
David Mann e6d0f67107 Merge #17422 into the merge queue batch
Make brush Noise a light seeded grain
2026-11-28 20:44:12 +01:00
David Mann 9f7b54c9c5 Merge #17333 into the merge queue batch
Options bar: Up and Down step the painting tools' % fields on every press
2026-11-28 20:44:12 +01:00
Dylan M. Taylor 6f6225b73a ci(nightly): raise panic_hunt CI timeout to 180s and prune resolved Sonar debt entry (#17452) 2026-11-28 14:42:38 -05:00
yoriswind a6a08057bd Integrate current main so required brush CI can run 2026-11-28 10:53:42 -08:00
David Mann b069277c49 Merge queue batch #17302: #16130, #16564, #17288, #17340, #17303, #17338, #17336
Merge queue batch: 7 PRs (#16130, #16564, #17288, #17340, #17303, #17338, #17336)
2026-11-28 19:37:13 +01:00
Dan 3dc3af95c7 Exercise Select Data Points with an open document 2026-11-28 18:31:26 +00:00
qvest-ssels f02415a241 feat(ui): layout icons on the first ten Window > Arrange entries (#16889)
Tile All Vertically, Tile All Horizontally, the seven n-up entries and
Consolidate All to Tabs now show a small icon of the panes they lay out:
columns, rows, the n-up splits and one window with a tab row. The other
nine entries keep no icon. The icons are original SVGs drawn on the 24 px
grid and stroke of the app's icon set, registered with it and attributed
in ATTRIBUTION.md. The menu rows draw the icon their command names, so the
icons dim with a greyed entry and the labels stay in their column.
2026-11-28 19:30:43 +01:00
Dan de4c7ee78d Select Data Points: require at least one point (#17406) 2026-11-28 18:19:04 +00:00
yoriswind 15078a06e1 Apply hosted formatting to the brush pixel regression 2026-11-28 10:16:28 -08:00
qvest-ssels 63ee08a5bc fix(ui): full-screen modes show only the active floating document (#16846)
With every open document in a floating window, Full Screen Mode With Menu
Bar and Full Screen Mode now put the windows away and show the active
document alone in the main document area, without a window frame, title
or status bar, centred on the mode's pasteboard. Ctrl+Tab shows the next
document in that place. The floating windows keep their places and sizes,
so Standard Screen Mode floats them again where they were. A mix of docked
and floating documents keeps today's behaviour (not measured).

The main canvas is then the document's primary canvas, so the tools, the
Navigator and the dialogs work on it.
2026-11-28 19:15:44 +01:00
qvest-ssels 43e53973cd Options bar: write back only the paint fractions that changed (#16806)
apply_values copied the bar's rounded Opacity, Flow, Smoothing and Mixer
Wet/Load/Mix/Flow onto the brush on every edit, so toggling an unrelated
control rounded an untouched f32 such as 0.12345678 to 0.123457. Each
fraction is now written only when it differs from the bar's value before
the edit.
2026-11-28 19:06:41 +01:00
yoriswind 6b728336b2 Make brush Noise a light seeded grain 2026-11-28 09:59:36 -08:00
hnoerenberg e29b573919 fix(engine): Collapse All Groups leaves one history step
The Layers panel's Collapse All Groups runs layer.setExpanded with
{all: true, expanded: false} and no layer. The whole command was treated
as a view change, so closing every group left nothing for Edit > Undo;
Photoshop records one "Collapse All Groups" step for it. The layer-less
close-all now goes through Session::edit with that label, so one undo
reopens the groups that were open. A single or row-addressed toggle,
the open-all form and a close-all over an already-closed tree keep
today's no-step view change.
2026-11-28 18:50:32 +01:00
hnoerenberg 1cbd6afd3b fix(engine-core): Ungroup Layers selects every former child, topmost active
layer.ungroupLayers left only the topmost former child selected: the edit set
the active layer while the selection still named the removed group, so
fix_selection collapsed it to that one layer. Ungroup now makes every former
direct child the selection with the topmost one active (measured reference row),
the same reselect path Group Layers uses; ungrouping an empty group keeps
today's fallback target. Tests in the new engine integration file cover the
plain group, replacing a selection that held a second layer, a group
holding a group (one level up), and undo restoring the group and the
previous selection.

Fixes #17362
2026-11-28 18:46:36 +01:00
David Mann 6795b4f1db Merge #17336 into the merge queue batch
Stop brush dabs when Size Fade reaches zero
2026-11-28 18:19:17 +01:00
David Mann 2b419cf9e6 Merge #17338 into the merge queue batch
Smart Guides: with View > Snap off, a Move drag still shows exact alignments
2026-11-28 18:19:16 +01:00
David Mann 7710791252 Merge #17303 into the merge queue batch
Embed working color profiles in untagged exports
2026-11-28 18:19:15 +01:00
David Mann 463ee66694 Merge #17340 into the merge queue batch
fix(compose): honour Anti-aliased for the Drop Shadow map
2026-11-28 18:19:15 +01:00
David Mann 5c0dc6a89f Merge #17288 into the merge queue batch
Pin craft-libs at storytold/craft-libs#4065's merge commit af4e8181 (#17279)
2026-11-28 18:19:14 +01:00
David Mann a2dbc2ed75 Merge #16564 into the merge queue batch
fix(ui): the placed custom shape shows its bounding box with 8 handles (#13472)
2026-11-28 18:19:14 +01:00
David Mann 015066a839 Merge #16130 into the merge queue batch
Color Settings: grey the paste and missing-profile boxes when every policy is Off
2026-11-28 18:19:13 +01:00
Dylan M. Taylor f7d76f5be4 Fix nightly profile reopen after saving settings and session state (#17339)
Apply the storytold/cadcraft#3603 profile_root.rs reopen fix to PhotoCraft:
- Enforce directory-only check in private_subdirectory for existing non-directory entries
- Define PROFILE_FOLDERS for PhotoCraft's profile subfolders (Recovery, AgentFiles, Presets, logs)
- Distinguish regular files from folder-only entries in entries_stay_inside and validate regular files with private_regular_file (nlink == 1 on Unix, non-reparse/non-directory single-link check via winsafe on Windows)
- Add nightly_profile_reopens_after_saving_settings_and_session_state regression test
2026-11-28 12:17:34 -05:00
yoriswind 0a44e0fc94 Stop brush dabs when Size Fade reaches zero 2026-11-28 08:14:23 -08:00
qvest-ssels 64fc59266d Smart Guides: with View > Snap off, a Move drag still shows exact alignments (#16857)
With Snap off the Move tool drew no smart guides at all, because the lines
only came out of snapping. Now, with Snap off and Smart Guides on, an edge
or centre of the moved box that lines up exactly (at the whole-pixel offset
the drag commits) with another layer's draws its line, with no pull. Smart
Guides off or the suspend key held draws nothing; Snap on is unchanged.
2026-11-28 17:02:52 +01:00
yoriswind 41d9c33a22 Format the export profile preflight 2026-11-28 07:56:39 -08:00
qvest-ssels 9a89aab43e Options bar: Up and Down step the painting tools' % fields on every press (#16806)
The brush keeps Opacity, Flow, Smoothing and the Mixer Brush's Wet, Load,
Mix and Flow as f32 fractions. Read back as f64, 0.51 is 0.50999999...,
so the bar's whole-percent field saw 50.999999 %, a value off its step
grid, and Up went to the next multiple, 51, again: only the first press
moved the value. The bar now reads those fractions rounded to six
decimals, so a stepped value comes back on the grid.
2026-11-28 16:54:54 +01:00
qvest-ssels 5ec2e5a7a9 fix(compose): honour Anti-aliased for the Drop Shadow map (#14881)
The Drop Shadow now takes the same third-of-a-pixel source offset the
Inner Shadow takes since #14934, through the same aa_shift gate (Gaussian
contour, no dilating Spread, a blur wider than the identity), on the CPU
(shadow_map) and the GPU map program (B::shadow). On the issue's document
the edges land within 2 levels of the measured profiles; the flag off
keeps every map bit-for-bit.
2026-11-28 16:54:44 +01:00
yoriswind 5f9ae763c7 Refuse profile reads before committing floating selections 2026-11-28 07:45:53 -08:00
yoriswind 11285de79c Apply export regression formatting 2026-11-28 07:36:32 -08:00
David Mann 0331a92ef9 Merge queue batch #17293: #15063, #17276, #17280, #17221, #17284, #17271
Merge queue batch: 6 PRs (#15063, #17276, #17280, #17221, #17284, #17271)
2026-11-28 16:21:07 +01:00
yoriswind a058b21f3e Embed working profiles in untagged exports 2026-11-28 07:16:47 -08:00
hnoerenberg 4c9438f9e0 test(ui): follow the box handle's grab offset on main (#13472)
main moved the craft-libs pin twice (35b60e9341 to 7d9544226d, 86931c85e6 to 3eb5b528), and craft-libs 4a52a22e7 changed a TransformBox corner drag: a corner keeps the grab offset and moves by the cursor's delta, while a side still follows the cursor. These pins pressed 3 px outside a handle and expected the handle to land on the cursor, so every scale landed 3 px off.

The drags now move the cursor so the box travels the intended 30 px (corner tests) or 10 px (the eight-handle sweep); the press still lands 3 px outside, and the exact-bound assertions and their 1 px tolerance are unchanged.
2026-11-28 15:06:04 +01:00
Hector Villarreal 73197b366f Color Settings: grey the two rows with Param::disabled (main's craft-libs made Param.enabled_when a method)
The greying set enabled_when to a condition that never holds. With main's
craft-libs pin that field is private, so the dialog no longer compiled once
main was merged in; Param::disabled() says the same thing.
2026-11-28 08:03:53 -06:00
David Mann ba2ea6e0ed Merge #17271 into the merge queue batch
ui.pointer down and move sample into an open Color Picker (#16747)
2026-11-28 15:00:07 +01:00
David Mann 1f38051a88 Merge #17284 into the merge queue batch
Count tool: markers sit on the clicked pixel's centre (#11761)
2026-11-28 15:00:06 +01:00
David Mann 3c9b804a1e Merge #17221 into the merge queue batch
fix(layers): the thumbnail menu for every layer kind (#16777)
2026-11-28 15:00:06 +01:00
David Mann 55a7b1a268 Merge #17280 into the merge queue batch
Dodge and Burn: single-channel curve in 8-bit Grayscale and on layer masks
2026-11-28 15:00:05 +01:00
David Mann f89a411665 Merge #17276 into the merge queue batch
Options bar: a workspace switcher at the right end
2026-11-28 15:00:04 +01:00
David Mann e9fd539305 Merge #15063 into the merge queue batch
engine: name a duplicated new document Untitled-N (#14608)
2026-11-28 15:00:04 +01:00
skylar taylor-barrick 610c86b969 Fix PhotoCraft Nightly signer inputs and macOS notice layout (#17231)
* Fix PhotoCraft Nightly signer inputs and macOS notice layout

* Test the nightly environment guard with a spaced YAML key

* Check nightly environment bindings structurally
2026-11-28 07:58:30 -06:00