Commit Graph
15989 Commits
Author SHA1 Message Date
Mex 3e9bd35d48 Restore Alt-drag corner radius coverage 2026-11-21 12:11:03 +01:00
Mex b762ac1ea7 Verify the full ordering of Color Sampler menu rows 2026-11-21 11:10:10 +00:00
Mex ffa5efd1a7 Use an asymmetric resize to verify dialog arguments 2026-11-21 11:07:30 +00:00
Mex c05add970c Cover Color Sampler menu routing and point deletion 2026-11-21 11:04:14 +00:00
David Mann b228042786 Merge main into integration batch 23 2026-11-21 12:01:36 +01:00
David MannandClaude Opus 5.5 e1af1f7b7b Batch fix-up for #15883: Lens Blur depth channel stays with its document
Lens Blur's Depth Map Source names an alpha channel by its index in the
document the dialog opened on. With #15883 that index now reaches the
command, so when the control channel makes another document active under
the open dialog (`ui.window.open`), preview and OK would blur by the other
document's channel at the same index. The dialog now captures its document
at open, like Match Color captures its destination, and preview and the
held OK refuse a channel source on another document. Back on the first
document, OK applies it. A Smart Filter edit keeps its own target check.

Found by review on the integration batch.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 12:01:21 +01:00
Mex a7948b7a3a Restore Fit Image dialog validation coverage 2026-11-21 11:56:46 +01:00
FredApps e20e9a9e8e Merge pull request #8895 from jturnbach/fix/8389-stroke-spacing-warning
fix(engine): paint.stroke warns when its spacing leaves only the firs…
2026-11-21 17:48:39 +07:00
Mex d23c5957b1 Map additional framework regression tests 2026-11-21 10:48:32 +00:00
RickiNano 76c42a4808 Custom-domain lookup test: each container takes one domain spelling (#15936)
custom_domain_lookup_warns_and_round_trips_verbatim crossed 3 LUT domain
spellings with 6 PSD/PSB x depth containers (18 open/save chains). The
spelling only decides read_lookup's default-domain check; after that the
block is raw bytes whose stored lengths are all multiples of four, so no
spelling reaches a different container path. Each of the 6 containers now
takes the spellings in turn: every container and every spelling still runs
the whole open, native round trip and PSD/PSB re-save chain, with the same
assertions. adjust_map's unit tests still parse every spelling.
2026-11-21 11:38:34 +01:00
RickiNano eb809af5bb raw hostile tests: a fixed sample by default, the full sweep under PHOTOCRAFT_FULL_SWEEP=1 (#15938)
every_truncation_fails_cleanly tried every 3rd length of every seed and
random_corruption_never_panics 400 corruptions per seed. They now take the
first and last 16 lengths, every 7th length in the first 2 KiB and about
300 lengths per seed past it, and 40 corruptions per seed from a stream of
its own. PHOTOCRAFT_FULL_SWEEP=1 runs every length and 400 corruptions.

Most of the truncation time went to the RW2 seed, whose data is padded to
a 16 KiB block: about 2,300 cuts in the padding that decode the same zeros.
2026-11-21 11:31:13 +01:00
FredApps bbdad67c1a #8895: enable pressure sizing in the stroke warning test 2026-11-21 11:29:09 +01:00
RickiNano d56bf759c4 Live-dab replay tests cross commands, cases and depths pairwise (#15931)
Each command still meets every stroke case, colour mode and mask target
once, and every command and every case, mode or target still runs at 8,
16 and 32 bits: 90 -> 30, 72 -> 24 and 54 -> 18 strokes.
2026-11-21 11:16:02 +01:00
Mex b94787a48d Record additional reviewed framework successors 2026-11-21 11:11:40 +01:00
David Mann 4e896bbfbe Merge PR #15765: Show each document's title and close control in Tile 2026-11-21 11:09:35 +01:00
David Mann 33ce9d6184 Merge PR #15835: Document tab menu: Close, Close Others and Reveal in Finder act on the clicked tab 2026-11-21 11:09:28 +01:00
David Mann 720aa5c1c4 Merge PR #15993: Restore Custom Shape Alt-click colour sampling (#15856) 2026-11-21 11:09:22 +01:00
David Mann 5ff1de10c4 Merge PR #15883: Lens Blur: an alpha channel as the depth map runs again (#15882) 2026-11-21 11:09:17 +01:00
Mex 2134254ad5 Restore crop ratio popup keyboard regression coverage 2026-11-21 11:09:03 +01:00
FredApps b4a4443b1e #8895: preserve the fill path when merging main 2026-11-21 11:08:34 +01:00
Mex e19e864a84 Audit coverage removed by the shared UI framework port
Added documentation for tests affected by the shared UI port, including an inventory of removed tests and their successors. The document tracks changes related to the UI rework and provides details on test coverage and assertions.
2026-11-21 11:06:47 +01:00
skylartaylor 8db86f0ef9 Own translated nightly session notice text 2026-11-21 11:03:20 +01:00
hnoerenberg f54c3445f9 Merge upstream/main into fix/pen-anchor-context-menu-12915 2026-11-21 10:56:05 +01:00
Mex ba53b47048 Use the standard divisibility check in the bevel fixture 2026-11-21 10:54:15 +01:00
Mex 56050cf13b Credit MMexicann as mexicann 2026-11-21 10:49:32 +01:00
Mex f0a1b7c9c3 Tests: cut duplicate bevel thread cases (#15935) 2026-11-21 10:39:20 +01:00
RickiNano f22516a680 Damaged-preference test: clearer comment on the as-written comparison (#16040) 2026-11-21 09:58:36 +01:00
RickiNano d369052bc6 Damaged-preference test: one app per load-only case (#16040)
The load-only cases of a_damaged_remembered_value_resets_only_itself
built a second, restarted app to read the repaired file. They now use
one app: check what it loaded, tick (the repair writes the file), then
reread the file through a settings store and require it to load
without section errors and to equal what the app holds. A repair that
drops other keys still fails. The cases that set state keep the
restart.
2026-11-21 09:58:14 +01:00
skylartaylor 753a81f637 Preserve bounded prerelease writer information in newer-file errors
Keep actual format compatibility as the decision; no format bump or file migration. Shared build override identifies the writer; bounded escaped diagnostics retain ordinary full tags. Three real manifest regressions authored, unrun; applicable crate validation pending.
2026-11-21 09:47:38 +01:00
skylartaylor 9f8f4fb140 Record abnormal nightly window-session completion privately
One bounded app-private record and lease after primary IPC claim; normal controlled completion clears before IPC release. No Launcher consumer, telemetry or automatic reporting. Four behavioral cases authored, unrun; new-tree compilation/native proof pending.
2026-11-21 09:47:38 +01:00
skylartaylor 0998d5e2a1 Keep nightly default agent files inside their selected profile
Reuse the SDK resolved stable Documents boundary and existing workspace injection. Reject profile overlap and escaping default-folder aliases without stable fallback. Five added regressions are authored; execution is pending.
2026-11-21 09:03:52 +01:00
hnoerenberg 0cb5be967a test(ui): start each Hand view-menu case at its own zoom
input/hold_keys/tests.rs

The four cases share one app, so the first case's 200 % was the zoom the next three started from: their "200% from {before}" assert could pass on a view that was already there, and a row that closed the menu without applying the command would not have been caught. Each case now puts the shared view at 100 % before it opens the menu, and the case asserts that the zoom it starts from is not 200 %, so the row's own action is the only thing that can move the view - for Brush, RectMarquee and Pen as well as Move.

The assert alone is not a red test on the parent commit: with only the assert added and the 100 % start left out, the case fails at "Brush: the case starts away from 200 %", which is the inherited zoom. With both, all four tools' rows do apply 200 %, so this pins the routes rather than fixing a wrong one.
2026-11-21 08:55:10 +01:00
skylartaylor 7bf69f0dec Compose current main into private nightly source
Normal merge preserves the landed SDK683 and app changes. Source composition only; agent-folder isolation and full new-tree validation remain pending.
2026-11-21 08:49:58 +01:00
Khawar Zamman WaniandClaude f27f63b667 Smart Filter tone editor test: an each-choice set of 11 cases instead of the 36-case cross
The loop body moves into tone_filter_case. Colour component view 2 keeps all six mode x kind pairs because its forbidden channel name depends on the mode; every other view runs once. target_context returns early for any Smart Filter, so every view reaches the same guard.

Co-Authored-By: Claude <[email protected]>
2026-11-21 13:18:55 +05:30
skylartaylor 78bcbd0b14 Prepare private nightly isolation and channel source
Unqualified source checkpoint. Current-main composition, remaining source closure and platform validation are pending; frozen Windows functional proof is separate.
2026-11-21 08:48:39 +01:00
RickiNano 9f1b8054ba Check the Erase to History mode flags in the mid-stroke tool-key test (#16041)
A dropped pencil or block flag goes from the plain and the switched
stroke alike, so the pixel comparisons can't see it; assert the
emitted flags, as #16041's mutation list asks.
2026-11-21 08:46:37 +01:00
David Mannandcoqui-software ccc5998fdc Test the Color Sampler limit alert for Alt+click off a point (#12219)
The review asked to skip the limit alert for Alt+click. Measured in the
reference application: Alt+click off a point adds a point like a plain
click, so at 10 points it opens the same alert; Alt+click on a point
deletes it without an alert. The code already does this; the test pins it.

Co-Authored-By: coqui-software <[email protected]>
2026-11-20 23:41:43 -08:00
coqui-software 8c34f36ff1 fix(ui): open closed Info panel on sampler placement and alert on limit (#11745, #11743)
Placing a color sampler on the canvas now opens the Info panel if
it is closed or hidden, without altering existing panel layout or
active tabs if already open. Placing an 11th sampler opens an alert
dialog explaining the maximum limit of 10 rather than writing a note
to the status bar.
2026-11-20 23:41:31 -08:00
RickiNano bffe7f9ba2 First-launch language test: resolve all 14 system tags without an app, draw 3
The test built two whole apps for each of 14 system-tag cases (28 apps).
Which language a tag picks is plain logic (`system::resolve` ->
`lang_from_tag`), so every case now checks `Lang::from_pref("auto")` under
its tags without a harness, including no tags and unsupported tags falling
back to English. Drawing only differs by script, so one Latin (fr-CA), one
CJK (ja-JP) and one Cyrillic (ru-RU) case still build the app, keep the
stored preference at "auto" and find the translated File title in the menu.

Part of #15376. Fixes #16039.
2026-11-21 08:24:29 +01:00
aiongg e39dfb9455 Appearance and Language menu picks change the theme and the language
A theme or language row is a fired command (app.theme, app.language) with the
choice in its parameters. The drain's dispatch refused both ids (no enable rule,
so the engine's rule answered: not available) and passed invoke empty
parameters. Both rows are enabled with or without a document, and dispatch
passes the fired command's parameters to invoke.

Trials run the whole app with and without a document: a theme fired as the
macOS menu fires it, a theme clicked in Window > Appearance, and a language
row.
2026-11-21 07:24:26 +00:00
RickiNano 4ea8bdc827 Trim the mid-stroke tool-key test to an each-choice set (#16041)
pencil_tests::a_tool_key_mid_stroke_paints_what_the_stroke_paints_without_it
crossed 4 modes with 5 brush changes (56 apps). The brush is captured
once at the press whatever the mode, so History Brush keeps all 5 cases
and each Erase to History mode one: Brush and Pencil with the sampled
tip, Block with smoothing. 8 cases, 24 apps.
2026-11-21 08:09:39 +01:00
aiongg abb8b2315d Show fonts installed while PhotoCraft runs without a restart
Start the font catalog with the craft-libs app API at launch: it polls the
suite font store and rechecks the font folders on window activation, and
wakes the UI after a change. Each frame, the shared engine registers the
installed font files it lacks and re-renders the type layers that use the
affected families.
2026-11-21 06:27:48 +00:00
aiongg 44205e94de Pin craft-libs at db702f98 for live font catalog updates 2026-11-21 06:17:49 +00:00
aiongg 42c853396d Merge pull request #16050 from aiongg/pin-next-1121
Pin craft-libs next 683fe0603
2026-11-21 00:51:37 -05:00
hnoerenberg e8b696a6c8 test(ui): pin the Shift+letter chords of every tool group in one table test
The fired sweeps hand the command to run_fired themselves, so no test pressed the
Shift+<letter> chords: with the binding for Shift+V dropped at
shortcut_dispatch::command_rows the branch stayed green where main fails three.
New every_group_letter_shift_chord_reaches_its_group_step asserts the keymap
chord of every tools.nextInGroup row over tool_shortcuts::group_letters() on one
settled app - one lookup per letter, no frames - the Space anchor row included:
its default text `Shift+ ` parses to no chord, so it pins that nothing binds it.
Proven red by the temporary Shift+V neuter, green after restoring it.

Also in this review round: correct the bare_app comment claiming the menu
shortcut test presses these rows (menu_rows lists no tools.nextInGroup id);
collapse the byte-identical press and press_in_one_frame in the dispatch tests
into one press; split the guide rows by takes_guide || locked instead of tool
name, count all 21 rows through the three apps, and guard the keeps app idle
(no open text edit) before each row.
2026-11-21 06:28:54 +01:00
aiongg 0cc267d2db Export As trial reads the registry through install::command_specs, so it holds in a process of its own 2026-11-21 05:08:14 +00:00
aiongg f454882458 Pin craft-libs 683fe0603: photocraft-doc holds LayerId as plain data without the UI
craft-layers keys tree ids by their Hash (craft-libs#2774), so photocraft-doc depends on craft-tracked and craft-ui-macros instead of craft's ui feature, and the layering check passes.
2026-11-21 04:34:23 +00:00
aiongg fa384d87b3 Panel docking: no explicit deref for the kept panel set (clippy explicit_auto_deref) 2026-11-21 04:19:28 +00:00
hnoerenberg 50a45d0318 test(ui): one app for the reset-tip tools and two frames per shortcut press
`reset_tip_tests::each_tool_resets_and_first_uses_its_own_tip` started 80 apps:
five per painting tool, for two menu commands (`tool.reset`, `tool.resetAll`)
and a brush swap that read the state a case had just set. The two commands pick
their rule from `fresh_brush` for the tool in front of them, so one app serves
all sixteen tools; only the first-use case keeps an app of its own, because a
tool that has been picked before is no longer seeing its brush for the first
time. Same five scenarios and same sixteen tools: 6.9 s -> 1.0 s on this box.

`shortcut_dispatch::tests::press` ran three frames after a press; the runtime
takes the key in the first and the app runs the command it fired in the second,
which is what `press_in_one_frame` and `quick_shift_press` in this crate already
do, so the third frame only drew the app again. `delete_key_targets` shares one
app per focus place across its two keys (the delete is undone, the dry-run log
is drained, and the mask case puts its selection back), and
`keys_run_their_commands` reuses the app whose presses were dry runs.
2026-11-21 04:58:47 +01:00
hnoerenberg c6e920c0c0 test(ui): one app per row group in the guide-cursor and held-key loops
`guide_cursor_tests` built a whole app for each of its 21 rows and dragged
through four intermediate points; `hold_keys::tests` built one app per tool in
five loops and pressed a stand-in for every tool that shares one family's
decision. Both loops re-entered the same production line dozens of times while
paying for the app's settle frames each round.

- guide cursor: the rows whose press the Move tool takes, and the two locked-
  guide rows, share one app; a row that moved the guide puts it back with the
  ruler's own command (`view.moveGuide`). The tools that keep the command for
  themselves share a second app, Type last and Crop on its own, because their
  drag leaves an open text edit or a pending crop that would decide the next
  row. The drag keeps two points instead of four: the guide follows the pointer.
- hold keys: one app per loop (`space_right_click...`, `command_or_alt_space...`,
  `cmd_alt_drag...`, `tilde_erases...`, `space_repositions...`), a fresh layer or
  an explicit deselect where a case would otherwise see the last one's pixels.
- the command-as-Move rule is now also asserted as data for every tool
  (`the_command_stand_in_rule_is_the_table`), so the drags can press one tool
  per decision: the vertical type tool, both path tools and the rectangle shape
  share `is_type` and the `Family::Vector` line with the tools that stayed.
2026-11-21 04:58:42 +01:00