Commit Graph
15989 Commits
Author SHA1 Message Date
David Mann 86c2056d01 Merge pull request #15788 from davidmann4/integration-batch-22
Integration batch 22: font commit caret test (#15429) and worker test waits (#15417)
2026-11-19 20:42:36 +01:00
David Mann 99d0630d93 Merge pull request #15804 from davidmann4/fix/15803-main-red-smoothing-tests
Paint tool tests: smoothing off where the lag is not under test (main red since #12246)
2026-11-19 20:39:47 +01:00
David Mann 4284b9fc2f Merge remote-tracking branch 'fork/fix/15803-main-red-smoothing-tests' into automation/shared-live-client 2026-11-19 20:36:07 +01:00
RickiNano 66f05c25d5 Auto-Blend Layers keeps a selected Background as the Background (#14214)
In a two-layer panorama the Background is no longer turned into
"Layer 0" with a mask. It stays the Background, unmasked, and the
other layer's mask hides it wherever the Background has pixels, as
measured in the reference. Stack Images and three or more layers with a
Background are not measured and keep today's behaviour.
2026-11-19 20:34:20 +01:00
RickiNano 1d67305664 Color Settings: run the all-setups test in the global_state binary (#14229)
Main's `cargo xtask test-binaries` rejects single-file integration test
binaries. Tests on process-wide state live in `tests/global_state`, so the
test moves there beside `spot_dot_gain` and `text_gamma` and takes the
shared process lock.
2026-11-19 20:30:11 +01:00
hnoerenberg d46366af48 test(canvas): pin the Pen anchor row under Option and in Pixels mode
#12915, review nits on the anchor-row change:

- a guard test for the click with Option held: the menu's gate never sees
  the click's modifiers (only open_at receives them), and with Option the
  framework's Pen mode is the Convert overlay, which senses the closed
  square's anchors and straight segments too, so the row appears there as
  well. Observed, now pinned as it is today.
- a guard test for Pixels mode, which the mode check excludes but nothing
  pinned: the Pen's options bar shows Pixels disabled, so the test sets the
  mode option directly.
- the expiry test now reads the accesskit tree like the anchor tools'
  version: the Pen's row is drawn disabled once the path moved, not only
  rejected on click.
- the gate's doc comment says what it does not read (the modifiers) and
  names Pixels mode as an unmeasured case.
2026-11-19 20:11:21 +01:00
David Mann 4cbe0ebe51 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/engine/src/cmd.rs
2026-11-19 19:56:21 +01:00
hnoerenberg 44cfef7d71 Merge upstream/main into fix/pen-indexed-shape-refused-12910 2026-11-19 19:50:12 +01:00
haranishi 6b073a04b9 Cover Magnetic Lasso cursor preference and Caps Lock 2026-11-20 03:48:40 +09:00
David MannandClaude Opus 5.5 60c65b4be6 Regenerate Cargo.lock for the craft-libs pin with cargo
The pin bump had rewritten the lock by text, which mixed the entries of
the two craft-libs revisions (craft-svg keeps its own). Resolved by cargo
from main's lock: only the craft-libs sources change, no crate versions.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 19:48:38 +01:00
haranishi 8444039823 Keep scrollbar moves when canvas rulers are visible 2026-11-20 03:47:11 +09:00
David Mann dbae8afa72 Merge remote-tracking branch 'origin/main' into fix/15803-main-red-smoothing-tests 2026-11-19 19:46:47 +01:00
David Mann fb372c6011 Paint tool tests: smoothing off where the measured lag is not under test (#15803)
#12246 made the default 10 % smoothing lag the measured one and stopped
zero-time repeats from moving the brush. The Mixer release test and the
pen tilt preview test painted with that default on real frame times, so
the brush no longer reached the release point and the tail landed inside
the compared region. Neither test is about smoothing.
2026-11-19 19:46:17 +01:00
hnoerenberg 315eaebd26 Merge upstream/main into fix/content-aware-stripes-14191 2026-11-19 19:40:05 +01:00
David Mann 91fd53788c Merge remote-tracking branch 'origin/main' into HEAD 2026-11-19 19:37:09 +01:00
hnoerenberg 4ff984e166 Merge upstream/main into fix/atn-panel-menu-10706 2026-11-19 19:36:51 +01:00
David Mann 06cf4f5cfc Merge branch 'automation/shared-live-client' of https://github.com/davidmann4/photocraft into automation/shared-live-client 2026-11-19 19:36:12 +01:00
David MannandClaude Opus 5.5 8edd769be3 Pin craft-libs to the merge of craft-libs#2391 on next
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 19:35:54 +01:00
David Mann 833778dd03 Merge pull request #12132 from hnoerenberg/fix/type-noop-edit-history-12050
fix(type-tool): record a history state for an unchanged text edit
2026-11-19 19:34:13 +01:00
David MannandClaude Opus 5.5 38740ecd64 Framework pin: craft-libs#2391's merge commit on next (bafb4522)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 19:31:47 +01:00
David MannandClaude Opus 5.5 34276a0a72 Add Anchor Point: drive the handle-pull tests through the canvas (#12707)
The drag moved into the shared overlay (storytold/craft-libs#2285, not merged yet, which adds
PathEdit::PullAnchor for PhotoCraft to map). The tests now click through the canvas; the ones that
need the pull are ignored until the craft-libs pin carries it. The plain-click neighbour runs now.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 19:29:12 +01:00
David MannandClaude Opus 5.5 c7ffd92d2e Merge main into fix/12707-add-anchor-drag-handles
The anchor tools' overlay moved to the shared UI framework, so the old ui-egui changes are dropped
in favour of main's structure.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 19:24:14 +01:00
David MannandClaude Opus 5.5 212e915680 Add Anchor Point: drive the 5-point reach tests through the canvas (#12732)
The reach moved into the shared overlay (storytold/craft-libs#2282, not merged yet), so the tests
now click through the canvas. The two that need that change are ignored until the craft-libs pin
carries it; the Delete Anchor Point neighbour runs now.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 19:23:21 +01:00
David Mann 3152ed0703 Merge remote-tracking branch 'origin/main' into automation/shared-live-client 2026-11-19 19:16:17 +01:00
David MannandClaude Opus 5.5 fed880815e Merge main into fix/12732-add-anchor-hit-tolerance
The anchor tools' overlay moved to the shared UI framework, so the old ui-egui change is dropped
in favour of main's structure.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 19:15:20 +01:00
aiongg 71e84351e0 Engine install registry (#15710)
The command registry moves to `registry.rs`: `CommandSpec`, the `Install`
record, `install()`, `find`, `spec`, `command_specs` and the command-list
helpers. A process installs its command tables once; installing the same
tables again does nothing, and different tables are refused with
`InstallConflict`, which every later command then reports. A session that
runs a command before any install gets `NotInstalled`.

`install.rs` holds the full table list in today's order, `install()`, and
the `command_specs`/`find` wrappers that install first, which the public
`commands::` paths name. `Session::new()` installs. The order test and
`command_ids.txt` move with the list and read the ids from it.

The tables `install.rs` lists are public: the table fragments and seven
command modules that were private.

`scripts/engine_split/install_tables.py` moves a branch's added or removed
command tables (the old `v.extend(...)` lines or `SPECS` entries) into the
install list.
2026-11-19 18:15:14 +00:00
aiongg a2170375ac Merge pull request #15780 from aiongg/engine-split-commands
Engine command table in per-owner fragments (#15710)
2026-11-19 13:14:01 -05:00
David MannandClaude Opus 5.5 1fe8c7bea7 Add Anchor Point: pin craft-libs at the merge of storytold/craft-libs#2284 (#12709)
Moves every craft-libs pin at 04ba41419b to 815e6a2389 on next, which brings Add Anchor Point's
Alt handling in the overlay (craft-libs#2284). The Alt tests now drive the tool through the canvas;
they and the updated test that expected Add Anchor Point + Alt to delete an anchor fail with the old
pin. craft-svg keeps its own rev.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 19:13:55 +01:00
aiongg 01ce583bc0 Merge pull request #15777 from aiongg/perf-15709a
Rebuild the command catalog and keyed command states only on change (#15709)
2026-11-19 13:13:47 -05:00
David Mann f01794faf3 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/engine/src/cmd/artboard_cmds.rs
2026-11-19 19:09:13 +01:00
David MannandClaude Opus 5.5 537c799245 Address CodeRabbit review: keep the status bar for the Art History Brush's mask and channel targets
The alerts were measured on a layer's pixels only. A release-time refusal
(for example a 32-bit document) and the press-time hidden-layer refusal of
a mask or channel target opened the Art History alert anyway; they now keep
the status bar, as before this change.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 19:06:23 +01:00
David Mann 3674da4f9d Merge pull request #10537 from admiralronton/fix/bevel-gloss-high-altitude
Bevel gloss contour: split at the unmapped sin(altitude) (#594)
2026-11-19 18:58:15 +01:00
David Mann f6af01fbd0 Merge pull request #12246 from hectorviov/fix/smoothing-lag
Brush smoothing: lag and pulled string as measured in the reference
2026-11-19 18:57:58 +01:00
David Mann 28f97e8870 Merge pull request #11874 from hnoerenberg/fix/perspective-crop-refusal-11799
fix(engine): Perspective Crop refuses type layers, smart objects and Bitmap images
2026-11-19 18:57:41 +01:00
hnoerenberg 98694d2241 fix(canvas): Pen right-click heads the path menu with the anchor row
#12915: with the Pen in Path mode, a right-click on a segment or an
anchor of the active closed path now opens the path menu with Add
Anchor Point / Delete Anchor Point as the first row, above the
separator and the usual Pen list; choosing it runs the existing
path.addAnchor / path.deleteAnchor command, one history step.

The Pen's overlay already reports the right-click's hit as the anchor
tools' does (the Auto Add/Delete mode the Pen runs by default), but
the menu kept the point entry for the anchor tools alone. The Pen now
takes it too, gated on the measured configuration: Path mode, no path
being drawn and a closed subpath; the not-measured Shape-mode and
open-path clicks keep today's plain list.

The control-channel test that pinned the old menu shape at a click
point on the work path's diagonal follows the new row (#12915).
2026-11-19 18:55:32 +01:00
David MannandClaude Opus 5.5 ff4fbc294e Address CodeRabbit review: report Interlaced on palette PNG exports
The palette PNG path wrote an Indexed Color document without
interlacing and said nothing; the band-wise PNG path warns when it turns
interlacing off. The palette path now adds the same kind of warning.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 18:55:31 +01:00
David MannandClaude Opus 5.5 2667bd6f15 Address CodeRabbit review: a reopened recording keeps its JPEG quality
The editor of a recorded Artboards to Files step is built from the
command's own plain params, so its values carry no Export Options
checkbox. `nest` removed the plain `quality` from every form, and a
recorded quality never reached the command again. Values without the
checkbox now go to the command as they are.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 18:55:30 +01:00
David Mann 8c8db8dcd7 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/ui-egui/src/canvas/paint_mouse.rs
2026-11-19 18:55:26 +01:00
David MannandClaude Opus 5.5 d488745e8a Merge main into fix/12709-alt-selects-subpath
The anchor tools' overlay moved to the shared UI framework, so the old ui-egui changes are dropped
in favour of main's structure; the engine and vector changes stay.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 18:55:06 +01:00
David MannandClaude Opus 5.5 ba015dc6a7 Merge remote-tracking branch 'origin/main' into integration-batch-22
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 18:54:40 +01:00
David MannandClaude Opus 5.5 275d1715a9 Add Anchor Point: pin craft-libs at the merge of storytold/craft-libs#2283 (#12708)
Moves every craft-libs pin at 04ba41419b to 815e6a2389 on next, which brings the overlay's
anchor and handle editing for Add Anchor Point (craft-libs#2283) and its Alt subpath handling
(craft-libs#2284). PhotoCraft already maps these edits; the new tests drive them through the canvas
and fail with the old pin. The test that expected Add Anchor Point + Alt to delete an anchor now
expects it to delete nothing. craft-svg keeps its own rev.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 18:54:02 +01:00
David MannandClaude Opus 5.5 d1babe47d8 Merge main into fix/12708-add-anchor-select-edit
The anchor tools' overlay moved to the shared UI framework, so the old ui-egui changes are dropped
in favour of main's structure.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 18:54:02 +01:00
haranishi d733178f5b Honor Overscroll in the canvas scrollbars 2026-11-20 02:52:47 +09:00
David MannandClaude Opus 5.5 7ee0b2ce5d Start the Art History Brush's pressure toggles off on a first use after main's #14180
Main's first-use arm for this tool (#14180) kept the outgoing brush's
pressure toggles, which bypassed this PR's defaults. #12629 measured them
off, so the first use now takes the whole Reset Tool brush, and the test
that expected the outgoing toggles expects them off.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 18:52:19 +01:00
David Mann 32dac42fac Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/engine/src/cmd/channel_cmds.rs
2026-11-19 18:49:57 +01:00
David Mann 701f3a2d66 Merge remote-tracking branch 'origin/main' into HEAD 2026-11-19 18:49:21 +01:00
David Mann 131e844cc0 Merge remote-tracking branch 'origin/main' into HEAD 2026-11-19 18:48:16 +01:00
hnoerenberg 37b1d8e618 Merge upstream/main into fix/satin-factory-defaults-14977 2026-11-19 18:47:30 +01:00
David Mann 9dffd99892 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/engine/src/cmd/channel_cmds/calc.rs
2026-11-19 18:47:06 +01:00
haranishi 546104e0ff Restore the Pen cursor benchmark on the shared UI framework 2026-11-20 02:45:08 +09:00