Commit Graph
15989 Commits
Author SHA1 Message Date
skylartaylor b95190ffa0 Merge commit 'da58055365337bed11c7280240a1135295c8e610' into feat/nightly-signing-policy 2026-11-21 17:17:55 +01:00
aiongg 12a5837e88 Command-state sources are derived values (#15709) 2026-11-21 16:12:46 +00:00
aiongg 72f7f93777 Document state is Tracked (#15709) 2026-11-21 16:12:46 +00:00
David Mann 3dbb289460 Status bar: keep the bar the slot's direct child, memoize its body and trailing group
One memoized view around the whole status bar made the bar a child of the status slot's row: since craft-libs
02be56cfbb a memoized view in a row moves down onto the row's line, so the bar was shifted about 5 px and its
readout was clipped at the window's bottom edge. The bar now stays the slot's direct child, as on main, and its
body (readout, message) and trailing group (render path, redraw, job) are a memoized view each, as the options
bar's lead is.
2026-11-21 16:59:54 +01:00
hnoerenberg 1e30578f0d Merge upstream/main into fix/curves-composite-rounding-14446
# Conflicts:
#	crates/compose/src/adjust.rs
2026-11-21 16:28:00 +01:00
David MannandClaude Opus 5.5 2d4fcc5e2e Title bar, options bar and panel bodies replay again: memoized views keyed by their versions (#16118)
The move to memoized views (#16002) removed the content versions of the
shell slots and the panel bodies, and nothing memoized them instead: the
shell runs a slot every pass and the dock a panel body, and both leave
memoizing to the app.

The title bar, the options bar and every panel body but the canvas are
now MemoViews whose key is the version of what they show
(panels::region_versions, restored from before #16002), with the app as
a covered_by field. The Layers panel's version also holds the effects
and group disclosure, which are off the document's revision. The status
bar is #16180's own view (StatusProps), so it gets no version here.

With more of the window replaying, two things a panel did once per run
broke and are fixed: the Layers panel's version holds what it is asked
to do in its next pass (open a row for renaming, focus its Name filter,
reveal a layer, the Move tool's pick, the picked Smart Filter row), and
the Properties Reset session counts the passes the panel showed
something else or nothing instead of every pass, since a replayed pass
still shows the layer (it took the settings anew and Reset went to the
defaults).

On top of #16180: commands_run comes back, since every version holds
it (a command fired from a key or a menu may change what a bar or panel
shows without moving the document revision). The views #16180 puts
inside the title and options bars are not decided while the bar's view
replays, so the menu bar and Brush Preset trials count that as a
replay.

The chrome trials run again (no #[ignore]); a dock group itself holds
its memoized tab strip and body and runs with the dock area, so it is
not counted. A new trial checks that a canvas hover replays the bars
and the panel bodies. The Layers panel still runs on pointer moves
until storytold/craft-libs#2812 is pinned.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 16:16:36 +01:00
aiongg 919e66b497 Palette trial: every entry keeps its command's English name, as its label or beside a translated label 2026-11-21 15:05:22 +00:00
David Mann 8367f93c16 Crop previews the area a crop adds past the canvas in the background colour, and Classic Mode shows nothing past it (#16185)
Needs the craft-libs pin with RasterDisplay::region_fill.
2026-11-21 15:56:25 +01:00
skylartaylor 9a9f5caf8e Separate secret-free nightly compilation from required Windows signing 2026-11-21 15:43:13 +01:00
David Mann d7f8f1c170 WIP: Crop previews the grown area in the background colour (#16185) 2026-11-21 15:41:00 +01:00
aiongg 78ea49c77e Clippy: preset rows take slices, a named type for a resolved gradient, no explicit derefs of the Tracked brush and presets in tests 2026-11-21 14:34:53 +00:00
aiongg 3b04515f1c Migrate Presets writes the presets only when it adds a group: a migration that adds nothing leaves their revision alone 2026-11-21 14:34:53 +00:00
RickiNano 35425f0845 Merge remote-tracking branch 'origin/main' into perf/compositor-pipelines-test-15929 2026-11-21 15:17:31 +01:00
David Mann da58055365 Merge pull request #16176 from davidmann4/fix/16172-home-rail-icons-cards
Home: the old Discord and GitHub icons, recent cards of one size (#16172)
2026-11-21 15:15:14 +01:00
aiongg 4a5555bdcb Pin craft-libs next 7d8b961515 (craft-libs#2756) 2026-11-21 14:11:22 +00:00
David MannandClaude Opus 5.5 0203c5865d Repin craft-libs next at 2946b2041
Brings in storytold/craft-libs#2758 (New Document: Background Contents
before the advanced fields, the save-preset icon on the Name row, section
captions), #2762, #2767, #2770, #2729, #2785 and #2569.

previews, stroke trails and Object Finder hover masks now take a Serials.
The app holds one (texture_serials) for all of them, since a preview of one
name is made in several places (a transform begins in one, re-renders in
another). The Object Finder job sends the region only; its mask is made on
the UI thread, as a cache hit's already is.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 14:10:27 +00:00
aiongg 6f6466987a PhotocraftApp::commands_run goes: nothing reads it since the region versions went 2026-11-21 14:07:16 +00:00
aiongg d370e394e0 Canvas brush picker: it closes when its popover writes its binding; the output's open is false in a run that shows no layer 2026-11-21 14:07:16 +00:00
aiongg da93d53af6 The canvas brush picker is a memoized view; idle trial: an idle open picker runs no component 2026-11-21 14:07:16 +00:00
aiongg 4bfb5c7567 Preset lists as sources: brush picker, Brushes panel, tip grid, preset panels and pickers, Fill, Pattern Fill, Layer Style and the Preset Manager build their rows from MemoProps inputs; brush picker count trials 2026-11-21 14:07:15 +00:00
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
skylartaylor 0ceaf2e1df Exercise successful exclusive Nightly plist publication 2026-11-21 13:24:31 +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
skylartaylor e8335bce13 Render app-owned Nightly Mac bundle metadata without associations 2026-11-21 13:18:05 +01:00
skylartaylor 677c11c481 Merge commit 'e20e9a9e8ed4e7e14e1131dfeb0b0a590761507f' into feat/nightly-macos-source 2026-11-21 13:16:25 +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