Commit Graph
16335 Commits
Author SHA1 Message Date
aiongg 8a3ff6c089 Merge pull request #16691 from davidmann4/batch/16665-16598
PhotoCraft 0.24 on craft-libs next, with the RAW Develop window fix (#16665 + #16598)
2026-11-24 22:06:45 -05:00
David MannandClaude Opus 5.5 3e094078e6 Pen shape-mode tests read the number before the unit next adds to a field's accessible value
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 03:17:04 +01:00
David MannandClaude Opus 5.5 2f9362d241 Move craft-libs to storytold next 3656e8aaa4 (dock-gap fixes, storytold/craft-libs#3383, #3360, #3058, #3086, #3212)
On that pin DockAreaOutput.window_files is grouped per window; the files dropped on a floating panel's window are
flattened before they open (as aiongg/photocraft@54911df7f5).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 03:11:59 +01:00
David Mann 3e3831ab41 Merge remote-tracking branch 'origin/main' into HEAD 2026-11-25 02:29:05 +01:00
David MannandClaude Opus 5.5 b76d2a12b4 i18n tests: the drawn File title starts with the translation, with the access key after it on next
On craft-libs next the app's menu bar draws the English access key after a translated title where the language
shows one ("ファイル(F)", storytold/craft-libs#3364), while the bare menu bar the tests read the reference from
draws the translation alone. The live tests look for a drawn title that starts with it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 02:28:56 +01:00
David Mann ac2e39a063 Merge queue batch #16717: #15767, #15421, #16049, #15092, #16446
Merge queue batch: 5 PRs (#15767, #15421, #16049, #15092, #16446)
2026-11-25 02:03:15 +01:00
David MannandClaude Opus 5.5 2af203280a Review fixes: a held corner widget is no snap target; a pasted CRLF moves the caret by one
- pressed_layers also leaves out the shapes a held corner widget rounds: the widgets show without the scale box
  (Target Path hidden, the Move tool) and beside other layers in a mixed selection.
- The type editor counts inserted text as the engine stores it (a CRLF pair is one line break), for the caret and
  the count it reports.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 01:45:04 +01:00
David MannandClaude Opus 5.5 39f8ba661d Move craft-libs to storytold next a3174010b7 (font-manager builds for wasm again, storytold/craft-libs#3399)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 01:45:04 +01:00
David Mann 349af1806f Merge remote-tracking branch 'origin/main' into HEAD 2026-11-25 01:09:11 +01:00
David MannandClaude Opus 5.5 23bf461dae Task bars stay clear of the scroll bars; the Magnetic Lasso test takes the arrow cursor
On craft-libs next a task bar whose anchor fills the canvas slides over it (storytold/craft-libs#3343, #16657), so
with a crop frame larger than the view the Crop bar sat on the horizontal scroll bar and took its presses (#16231
again). The crop, transform and frame task bars now show inside the canvas short of the bars.

The lassos' Standard cursor is the arrow with the tool icon beside it on next (#16671).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 01:09:02 +01:00
David Mann 5babb6a3bd Merge #16446 into the merge queue batch
Enlarge with Preserve Details without ringing at hard edges
2026-11-25 00:57:23 +01:00
David Mann 8cf4c99513 Merge #15092 into the merge queue batch
Summarize: order modifiers Alt, Shift, Ctrl off macOS (#14882)
2026-11-25 00:57:22 +01:00
David Mann 713963e393 Merge #16049 into the merge queue batch
feat(pen): Fill, Stroke, W/H and Align Edges in the Shape-mode options bar
2026-11-25 00:57:21 +01:00
David Mann 0aaf8ecfba Merge #15421 into the merge queue batch
Tests: wait for the other thread's state instead of a fixed sleep (#15379)
2026-11-25 00:57:21 +01:00
David Mann 94f9683886 Merge #15767 into the merge queue batch
fix(atn): ask Continue or Stop when a played step names a missing layer
2026-11-25 00:57:20 +01:00
Dylan M. Taylor 928326271c RAW #587: choose the actual frame budget for shared CFA development (#16699) 2026-11-24 18:20:07 -05:00
David Mann dd56106df2 Merge queue batch #16705: #14467, #16250, #16290, #15965, #16318, #16308
Merge queue batch: 6 PRs (#14467, #16250, #16290, #15965, #16318, #16308)
2026-11-24 23:44:15 +01:00
hnoerenberg 6e5dec7860 Drop a stray trailing blank line at the test file's end 2026-11-24 23:04:57 +01:00
hnoerenberg 76467eab56 Name the dot-parse assumption on field_number: the harness locale is the built-in one, a comma locale would need a pin 2026-11-24 22:42:36 +01:00
hnoerenberg 399271a8e8 Merge upstream/main into feat/pen-shape-fill-stroke-12907 2026-11-24 22:40:28 +01:00
David Mann 928b9ff707 Merge #16308 into the merge queue batch
Smudge: Alt turns Finger Painting the other way for the stroke
2026-11-24 22:20:19 +01:00
David Mann e67693730f Merge #16318 into the merge queue batch
Create Ellipse: open with the active ellipse's size, else 100 x 100
2026-11-24 22:20:19 +01:00
David Mann c80a7a618c Merge #15965 into the merge queue batch
fix(engine): Auto-Blend Layers is unavailable with a type layer or smart object selected (#14204)
2026-11-24 22:20:18 +01:00
David Mann 223d159e6a Merge #16290 into the merge queue batch
Magic Eraser: alerts for a hidden layer, a locked layer and a group
2026-11-24 22:20:17 +01:00
David Mann f1c86f09c6 Merge #16250 into the merge queue batch
Content-Aware Fill: choosing Custom asks for the Sampling Brush
2026-11-24 22:20:17 +01:00
David Mann 7e8d2959ca Merge #14467 into the merge queue batch
New Document: documents created alike stay separate Recent items (#14038)
2026-11-24 22:20:16 +01:00
David Mann 32f53c8fbb Merge queue batch #16687: #16079, #16122
Merge queue batch: 2 PRs (#16079, #16122)
2026-11-24 22:18:16 +01:00
hnoerenberg e86d7a20b9 test(atn): start the engine guard tests from an installed session
CI runs one test process per test. These four started from a bare
Session::new(), so the first command returned NotInstalled and the unwrap
panicked: crates/engine-core/src/cmd/actions_cmds/tests.rs:438 in
recording_starts_with_no_document_open, and :447 in the shared helper
other_names_document that the three playback pins call. Every other test
in this file starts from crate::session(), which installs this crate's
commands first; the four now do the same.

Verified per test rather than per run: run alone, each of the four failed
before this change (unwrap on Err(NotInstalled)) and passes alone after
it. A single whole-lib process hides this because one test's install serves
the rest; the whole lib stays green either way (3276 passed, 0 failed).
2026-11-24 22:14:37 +01:00
hnoerenberg 15c6baf623 Drop the now-unused Checkbox and VectorMode imports in shape_options: main moved the shape tools' Align Edges out of this file 2026-11-24 22:10:32 +01:00
hnoerenberg 31d7313d2c Port the pen bar's Align Edges to main's checkbox, and fit the swatch tests to the new browser
main merged #11756 while this branch was open: the Pen bar now draws its own Align Edges through vector_ui::alignment::pen_option, so this PR's checkbox is dropped - the row keeps one Align Edges, the reference's. The Rectangle guard pin and the Path-mode expectation follow the new model (main gives every shape tool a checkbox, greyed in Path mode), and the harness window matches main's paint tests (700 tall): the swatch browser in craft-libs is virtualised and showed no rows at 400.
2026-11-24 21:43:38 +01:00
David MannandClaude Opus 5.5 a2a757a997 Move craft-libs to storytold next c6a4484bca and egui to a87d00caa (storytold/craft-libs#3357)
craft-libs next now names egui a87d00caa in craft::egui_fork::REV, so the egui-fork gate passes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-24 21:20:21 +01:00
hnoerenberg c8a3b0386d Call session presets as a method: main turned the engine's presets field into an accessor 2026-11-24 20:43:10 +01:00
David Mann 6281da080e Merge remote-tracking branch 'pr/16598' into HEAD 2026-11-24 20:42:17 +01:00
RickiNano c473b4108a New Document: test that documents created alike stay separate Recent items (#14038)
Creates two equal documents through the hosted dialog and checks that the
engine's Recent list, the list after a restart and the list handed to the
dialog keep both, newest first.
2026-11-24 20:42:16 +01:00
David MannandClaude Opus 5.5 068a52e839 Tests follow craft-libs next: set copy order, edge click, no desktop pointer
- A duplicated action set goes right after its source on next.
- The Mixer test clicks inside the first green pixel: a click right on the edge maps back a hair short of it.
- Tests install NoWindows: on Windows SystemWindows tells the real mouse, which next's OS file drops follow, so the
  tab-drop test read wherever the runner's cursor was.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-24 20:42:16 +01:00
David MannandClaude Opus 5.5 87c83781ea Move craft-libs to storytold next a4db799563 (own-window dialogs keep their size, task bar keeps its controls)
Brings storytold/craft-libs#3269 (#16595) and storytold/craft-libs#3343 (#16657).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-24 20:42:16 +01:00
RickiNano f27cd5f0b9 Merge main into fix/new-doc-recent-items-14038
Since #15449 File › New is the shared NewDocumentDialog, so the old
app-local Recent heading, grid and tests are dropped in favour of main's
dialog code; that part now goes through storytold/craft-libs#2261.
Kept: document.recent.add and load_recent keep equal settings as
separate entries, now in crates/engine-core.
2026-11-24 20:42:15 +01:00
x-labb f5ee04545a fix(engine): Auto-Blend Layers is unavailable with a type layer or smart object selected (#14204)
Auto-Blend collected only the selected pixel layers, so with a type layer or a smart object in
the selection it blended the pixel layers and ignored the rest. The reference application
refuses: the command is not available and no history state is added.

Gives Auto-Blend its own enabled check (a type layer or smart object among the selected layers
makes it unavailable) and the same guard at the start of the run. Auto-Align keeps its check.
2026-11-24 20:40:11 +01:00
hnoerenberg 85c63e6a4c Merge upstream/main into feat/pen-shape-fill-stroke-12907 2026-11-24 20:38:06 +01:00
David Mann 9d4d331a40 Merge #16122 into the merge queue batch
Freeform Pen: Shift leaves the freehand stroke as drawn
2026-11-24 20:22:50 +01:00
David Mann 11f3caafc5 Merge #16079 into the merge queue batch
Assign Profile: ask before assigning on a document with layers
2026-11-24 20:22:49 +01:00
David Mann f00af04310 Merge remote-tracking branch 'origin/main' into HEAD 2026-11-24 20:20:40 +01:00
David Mann db1402989f Merge queue batch #16679: #16655, #13486, #15281
Merge queue batch: 3 PRs (#16655, #13486, #15281)
2026-11-24 20:17:08 +01:00
David Mann aa84e9e920 Merge #15281 into the merge queue batch
Print: Units lists Inches, Centimeters, Millimeters, Points and Picas (#14136)
2026-11-24 18:46:10 +01:00
David Mann 5146eca6de Merge #13486 into the merge queue batch
ui: canvas layer menu reads Duplicate/Delete/Rasterize Layers with several layers selected (#12358)
2026-11-24 18:46:10 +01:00
David Mann 01459afbd7 Merge #16655 into the merge queue batch
Warp: remove the split line at the picked anchor
2026-11-24 18:46:09 +01:00
FredApps e56522780f Merge pull request #16532 from FredApps/fix/16494-highlight-rebuild
raw: rebuild sensor-clipped highlights instead of clipping after white balance
2026-11-24 18:44:40 +01:00
hnoerenberg 8e3529512b fix(atn): match the ask's name test to each layer-selector kind
The missing-layer ask tested every recorded layer name exact-or-case-folded,
which is how the engine resolves a `layer` param (`explicit_layer`). A Select
step's `name` goes through `selection_target` and a recorded visibility
step's `_actionLayer` through `playback_params`, and both match the name
exactly. So over a document holding `b` the step naming `B` failed in the
engine while the ask read the name as resolved and offered no Continue / Stop.
`named_step_layer` now returns the selector kind, and the check folds case only
where that kind's engine lookup does.

Red first (the old single rule): a_recorded_visibility_step_naming_the_layer_in_another_case_still_asks
and a_select_step_naming_the_layer_in_another_case_still_asks both failed - no
prompt was offered. a_name_the_document_has_at_another_occurrence_keeps_the_plain_report
pins that the recorded ordinal stays out of the name test.
2026-11-24 18:30:45 +01:00
hnoerenberg f926cafb9a fix(atn): follow main's session accessor in the engine guard tests
main's engine split moved these tests into photocraft-engine-core, where the
session's action state sits behind actions() and actions_mut(); the three
action pushes now use the accessor.
2026-11-24 18:27:21 +01:00
hnoerenberg 492786e8e1 fix(atn): follow main's session accessor in the panel tests
upstream/main moved the action state of the session behind an accessor, so
the missing-layer tests read it as actions() for reads and actions_mut()
for pushes.
2026-11-24 18:06:11 +01:00