17021 Commits
Author SHA1 Message Date
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
yoriswind 15078a06e1 Apply hosted formatting to the brush pixel regression 2026-11-28 10:16:28 -08: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
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
Hector Villarreal b87c242dae Merge remote-tracking branch 'upstream/main' into fix/color-settings-ask-greying 2026-11-28 07:52:42 -06:00
David Mann 345716309b Merge queue batch #17286: #16646, #17275, #17281
Merge queue batch: 3 PRs (#16646, #17275, #17281)
2026-11-28 14:47:06 +01:00
David Mann 26217faa4b Shapes: carry the Triangle's corner radius from the new craft-libs ShapeGeometry (#17279)
craft-libs af4e8181 gives ShapeGeometry::Triangle a corner_radius
(storytold/craft-libs e4c1dc59). The drag's snap keeps it and shape.create
gets cornerRadius when it is above 0; a sharp triangle sends what it did.
2026-11-28 14:15:12 +01:00
hnoerenberg d7af55a362 Merge upstream/main at davidmann4's request: the bounding-box work adapts to what landed since (#16564 review) 2026-11-28 14:10:10 +01:00
Madhav Agarwal ddc23e259e Merge main into fix/14608-duplicate-layer-untitled-name 2026-11-28 18:26:44 +05:30
David Mann 67d5fac343 Pin craft-libs at storytold/craft-libs#4065's merge commit af4e8181 (#17279)
A timed repaint from the control server's thread no longer takes the UI's
pass state, so a pass can't start on an empty one and lose every command
set (tool rail icons became "...").
2026-11-28 13:39:12 +01:00
David Mann 59e0a750af Merge #17281 into the merge queue batch
Contextual task bar: a dragged, unpinned bar goes back to automatic placement on a context change
2026-11-28 13:29:01 +01:00
David Mann 8e3eedeb0d Merge #17275 into the merge queue batch
Options bar: a Search button at the right end runs Edit › Search
2026-11-28 13:29:01 +01:00
David Mann 6e5c3b4006 Merge #16646 into the merge queue batch
Apply Image: Source document dropdown, Target line, same bit depth only
2026-11-28 13:29:01 +01:00
David Mann 2c88f264a0 Merge queue batch #17274: #14659, #16402
Merge queue batch: 2 PRs (#14659, #16402)
2026-11-28 13:28:06 +01:00
hnoerenberg 5488eb4d4c fix(control): check the picker gesture guard on the driven canvas
The sampling guard named the active document's main canvas while the queueing
route drives the canvas this request picked (the top dialog's own, else the
main one). Read the gesture state on that same canvas: ToolHost::in_gesture
(ctx, canvas) in place of canvas::tools::in_gesture(app). With a Color Picker
as the top dialog its declared canvas is the one the events would drive, so
the two reads answer the same today and every existing guard stays green;
the guard now states what it means.
2026-11-28 13:23:51 +01:00
RickiNano a6995eb1ee Count tool: markers sit on the clicked pixel's centre (#11761)
A click with the Count tool stored the raw pointer position (99.3, 99.7)
and a drag dropped the marker at the raw release position. A plain click
on a marker changed nothing, because moves of 0.5 px or less were
dropped. The reference puts a new or moved marker on the centre of the
pixel under the pointer (99.5, 99.5), also on the pasteboard, and a
click on a marker re-centres it on the clicked pixel as one history
state.

`CountPass::press` now adds at the pixel centre, and remembers the
marker's own position instead of the press point. `release` moves the
marker to the release pixel's centre when that differs from where the
marker is, so a click on a marker is a move and a click in the pixel it
already sits on adds no history state. `count.add` and `count.move` are
untouched: called with coordinates, they keep them as given.

New tests in `crates/ui-egui/src/tools/count_pixel_centre_tests.rs`
cover the click (canvas and pasteboard), the drag and the re-centring
click. Two assertions in `analysis/tests.rs` that pinned raw positions
now expect pixel centres.
2026-11-28 13:20:06 +01:00
hnoerenberg 8c981cedcf fix(layers): a Background's extra lock keeps its row unmeasured (#16777)
The Background exemption in menu_kind covered every lock: `background ||` skipped the
lock check altogether, so a Background that also carries the `all` or `artboard` lock
still routed its thumbnail to the short menu. The issue exempts only the transparency
and position locks a Background carries by itself - those are why its row stands in the
measured table - and lists a locked layer as not measured, keeping today's menu.

menu_kind now asks, for a Background, whether a lock beyond its own two is set, and
keeps the full lock check for every other layer. Locking the pixels stays out of the
new test: `Locks::set` clears the transparency lock when the pixels go on, and the
layer then stops being a Background at all, so the ordinary locked rule already covers it.
2026-11-28 13:00:15 +01:00