Commit Graph
15537 Commits
Author SHA1 Message Date
aiongg c9ebb9246d Menu facts build fixes; the gate's refused list derived from the menu facts; trials run engine commands directly 2026-11-21 14:07:15 +00:00
aiongg 7ba70a634e Menu floor trials: idle key bytes equal at small and large model sizes, no derived builds when settled, a status message runs only the status view, the menu model builds only for a shown fact, and the held model equals a fresh build after each step of a script 2026-11-21 14:07:15 +00:00
aiongg 4a97e311c8 Status bar as one memo view: StatusProps with the values, item, view, messages and progresses, events through an Outbox; the job's progress is a pure value (jobs_ui::status_job) 2026-11-21 14:07:15 +00:00
aiongg 292cdc6dc5 Menu model derived from MenuFacts: the facts the rows show, through their revisions or as small plain values; state_hash, had_input and the hash-keyed MenuModel go; the native menus re-sync on the bar's revision and the keymap. PresetState.rev gives way to the Tracked revision, saves that rename a document move documents_generation, and the default proof setup shares the built-in profile 2026-11-21 14:07:15 +00:00
aiongg 4c78950e68 Menu facts, step 1: session areas the rules read held in Tracked
The clipboards, the presets, the colour proofs and the image-assets list become
Tracked, so the menu's facts can key on their revisions. DocId derives PlainData
and MemoProps. UI: the recent files and the workspaces become Tracked.
2026-11-21 14:07:15 +00:00
aiongg c19d432dec UiState saves its Tracked fields through the facade's tracked-serde feature and compares by value again 2026-11-21 14:07:15 +00:00
aiongg a8f21a383d Brush tip is Tracked: the Brush Preset field runs only for the presets, the tip and the values it shows
photocraft-paint's BrushSettings::tip is a Tracked<TipShape>; tools.setBrush keeps its revision when the new brush's
tip equals the old one. The options bar's field takes the presets, the tip and a BrushFace (size, hardness, angle,
roundness) as props instead of the whole brush, so an Opacity or Flow write replays it. Trial:
brush_settle_trials.
2026-11-21 14:07:15 +00:00
aiongg a3eb80d5dd Memoized views: options bar lead, Brush Preset field, Brush Settings toggle, paint members, Brushes and Color panels
The picker's and the Brushes panel's view states are Tracked; the trials count memoized views.
2026-11-21 14:07:15 +00:00
aiongg cf84333049 Brush and presets are Tracked
The engine's ToolState.brush and ToolState.presets are Tracked, so a memoized view that shows them keys on their revisions; photocraft-paint's brush types derive PlainData.
2026-11-21 14:07:15 +00:00
RickiNano 63253358bc #15929: drop the time share from the second-pass comment
The CI runners saved about a quarter of the test, not half.
2026-11-21 14:47:00 +01:00
David MannandClaude Opus 5.5 8f3e231794 Home: the old Discord and GitHub icons, recent cards of one size (#16172)
Discord and GitHub shared a globe icon since the framework move; they get the
speech bubble and the chain link back. The recent cards grew to fill the row
(about 390 points at a desktop width); they keep one size again, about 230
points, as many to a row as fit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 14:25:40 +01:00
RickiNano e22a775246 #15929: build the compositor pipelines with FXC once, not twice
`pipelines::every_compositor_pipeline_builds` builds every pipeline with
FXC on DX12, then again on every backend with `Dx12Compiler::Auto`.
Without `dxcompiler.dll` on the search path, as on the Windows runners,
`Auto` falls back to FXC, so the second DX12 pass repeated the first.
The second pass now names DXC, so DX12 drops out of it when DXC does not
load and is built through DXC when it does. The Windows adapter and
device checks stay on the FXC pass.
2026-11-21 14:19:55 +01:00
David Mann dc12ca9182 Merge remote-tracking branch 'origin/main' into fix/automation-open-recent-absolute 2026-11-21 14:17:53 +01:00
David MannandClaude Opus 5.5 e1d950d6b2 Smart Filter Lens Blur: setParams refuses an alpha channel depth
Applying Lens Blur to a Smart Object already refuses an alpha channel as
the depth map: a smart filter re-renders from its params alone, without
the document's channels (#7400). layer.smartFilter.setParams did not, so
since the Lens Blur dialog sends a chosen channel as `depthMap: "channel"`
(#15883), OK in a Smart Filter's Lens Blur dialog could record a source
the re-render cannot read. setParams now refuses it with the same message,
merged or replaced, and the filter and history stay as they were.

Follow-up to the review of integration batch #16092.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 14:04:27 +01:00
David Mann fbd84f2d88 Merge pull request #16092 from davidmann4/integration-batch-23
Integration batch 23: EPIC-UI-REWORK tab close, Tile titles, Custom Shape Alt-click, Lens Blur depth channel
2026-11-21 13:54:13 +01:00
RickiNano 03561a189d #15930: compute the measured structure-continue fill once
The six measured `structure_continue_tests` (Auto and Rectangular x
samples, boundary, phase) all filled the same document with the same
options, and `measured_auto_area_is_the_rectangular_one` asserts that
Auto gives `fill` the Rectangular area there. One test now fills once
and checks the nine samples, the blue / green boundary and the phase
through the whole hole, reporting every check that is off.
2026-11-21 13:38:34 +01:00
Mex 60ce64e2bf Cover Escape ownership in Targa Options 2026-11-21 13:33:25 +01:00
RickiNano c877585a7f #15928: Camera Raw GPU tests run one integer depth and float per case
8 and 16 bits both develop with `float = false`, so they share every
line of the CPU develop and the pass; cases alternate between them so
both quantizations still run. Tiny frames run one depth per size, flat
frames and the dehaze tower (not quantized) drop the identical 16-bit
run, the dehaze cache test runs on an 858-wide strip (the cache key
doesn't hold the size), and the shadows-only 858-wide strip is left to
the clarity test's strip, whose case has Shadows and Highlights too.
2026-11-21 13:20:50 +01:00
David MannandClaude Opus 5.5 779b20eeb0 Open Recent lists an automation open where the file is on disk (#16098)
app.open is requested by a path relative to the automation read root. It went
into Open Recent as is, where it names nothing: Home drew a blank card and
clicking it failed. The workspace now reports the file's location below the
root that holds it, and app.open (also the directory .pcraft path) lists that.
The document's save-back path stays root-relative; without a location the open
is not listed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 12:50:56 +01:00
Mex d16b7c4b85 Cover canceling a staged Vanishing Point paste 2026-11-21 12:47:45 +01:00
Mex c3a6cbf4a3 Verify app shortcuts recover when a recorder closes 2026-11-21 12:32:31 +01:00
Mex 18897c8d0e Restore guide and selection outline paint-order coverage 2026-11-21 12:32:21 +01:00
Mex eeb92cef24 Verify Enter and Done clear pending Crop state 2026-11-21 12:24:03 +01:00
Mex 6e777b4963 Acknowledge the result on the Crop tool that emitted it 2026-11-21 12:23:58 +01:00
Mex caa4fe860a Return crop acceptance to the active tool 2026-11-21 12:23:49 +01:00
Mex 59b1751e21 Pass the live Crop tool through the canvas adapter 2026-11-21 11:23:42 +00:00
Mex c31a1dbbc9 Check that canvas Enter records exactly one Crop edit 2026-11-21 12:18:57 +01:00
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
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