Commit Graph
14508 Commits
Author SHA1 Message Date
FredApps 7176e05ff9 Reconcile static UI lookups with the revision-keyed command catalog 2026-11-20 02:15:36 +01:00
aiongg 4d91c2ec04 Merge pull request #15826 from aiongg/ci-shard-archives
CI: one test archive per shard, balanced by recorded test times
2026-11-19 20:03:50 -05:00
aiongg 7a2dbc9b6f Merge pull request #15828 from aiongg/ci-cache-budget
CI: keep the Actions cache within its budget (trim saved entries, prune replaced ones as they land)
2026-11-19 19:50:16 -05:00
aiongg 470324eb26 Merge pull request #15817 from aiongg/web-pr-wasm-opt
Web CI: skip wasm-opt --converge on pull requests
2026-11-19 18:17:09 -05:00
aiongg eb7fae1898 Merge pull request #15819 from aiongg/test-exit-deadline
control_exit_code: drop the in-test exit deadline
2026-11-19 18:16:54 -05:00
aiongg 6cef4c278a Merge pull request #15813 from aiongg/perf-15709b
Key document queries on revisions instead of per-frame walks (#15709)
2026-11-19 18:16:39 -05:00
aiongg f63ed56fe8 Merge pull request #15782 from aiongg/engine-split-registry
Engine install registry (#15710)
2026-11-19 18:16:25 -05:00
Dylan M. Taylor e9bb736189 io: move remaining PSD block bytes to craft-psd (#15839)
* io: cut over remaining PSD block bytes to craft-psd

* io: unwrap PsdFile::to_bytes in clipping_path_resource_2999 test
2026-11-19 17:51:07 -05:00
David Mann dce9e88a95 Merge pull request #15833 from davidmann4/mq-batch-383d24fa-mwo1j7jw
Merge queue batch: 20 PRs (#13952, #14856, #14879, #12276, #14123, #12296, #12284, #15217, #14481, #14672, #13130, #14795, #14779, #14555, #14887, #14569, #14456, #15188, #15197, #15206)
2026-11-19 23:39:06 +01:00
aiongg 0b09cee9f9 ci: prune each replaced cache entry as soon as its successor is saved
cache-prune replaces gate-cache-prune. It starts with the run (the gate is one reusable call, so
needs: gate waited for every shard) and runs craft-common-actions' cache-prune action in watch
mode: each time the gate's build jobs, web or corpus finish, it deletes the entries their new
entries replace (the older rolling crates entry, and lockfile- or manifest-keyed entries nothing
used since), and it ends when none of those jobs is queued or running.
2026-11-19 22:20:51 +00:00
aiongg 3f28dd6751 CI shards: check the plan against the archive and mode; times only from full runs
- A shard fails unless its plan's GPU mode matches --gpu/--no-gpu and its archive holds exactly the
  binaries its plan names; a single-archive build deletes any shard plan left in the target dir.
- Shard runs pass --no-tests warn: a shard may hold no runnable test, and the build job's check
  already guarantees that every test runs once.
- scripts/ci-test-times.py takes only main's push and nightly runs (pull requests leave packages
  out on Windows) unless given --force, and names binaries a refresh drops.
- target_dir() moves from perf.rs to main.rs for both users.
2026-11-19 22:06:59 +00:00
aiongg 60385cb15e Keep effects and group disclosure off the document revision
Opening or closing an effects list or a group is view state: the document
revision, which feeds the modified state, saves and every revision-keyed
cache, stays where it is. DocState::layers_view_revision moves instead, and
the Layers panel's rows key on it.
2026-11-19 21:47:28 +00:00
David Mann 4b64ec5198 Merge #15206 into the merge queue batch
fix(layer-style): keep Inner Shadow values inside the page's ranges
2026-11-19 22:27:53 +01:00
David Mann 210de55b1a Merge #15197 into the merge queue batch
fix(compose): scatter Outer Glow noise at the measured strength

# Conflicts:
#	crates/compose/src/effects.rs
2026-11-19 22:27:52 +01:00
David Mann 79cb23b131 Merge #15188 into the merge queue batch
fix(compose): scatter effect noise at the measured strength (inner shadow)
2026-11-19 22:27:51 +01:00
David Mann 484a2e2119 Merge #14456 into the merge queue batch
fix(engine): Color Balance action steps round tones and default Preserve Luminosity off
2026-11-19 22:27:51 +01:00
David Mann 49f5814430 Merge #14569 into the merge queue batch
fix(engine): Image Rotation Arbitrary refuses Bitmap documents

# Conflicts:
#	crates/engine/src/cmd.rs
2026-11-19 22:27:50 +01:00
David Mann 45688270e1 Merge #14887 into the merge queue batch
fix(ui): Reset to Default keeps the shared light angle
2026-11-19 22:27:50 +01:00
David Mann 2aee1c0367 Merge #14555 into the merge queue batch
fix(engine): arbitrary canvas rotation keeps and turns its guides
2026-11-19 22:27:49 +01:00
David Mann e157e6e13d Merge #14779 into the merge queue batch
Import Notes: place notes by target height / source height, no clamping, alert off-canvas (#13914)

# Conflicts:
#	crates/ui-egui/src/tools/analysis_ui.rs
2026-11-19 22:27:49 +01:00
David Mann a5f968d021 Merge #14795 into the merge queue batch
Keep existing Image Processor folder outputs
2026-11-19 22:27:48 +01:00
David Mann 8587babd14 Merge #13130 into the merge queue batch
Match measured Sponge Saturate and Desaturate colors
2026-11-19 22:27:47 +01:00
David Mann 267148f755 Merge #14672 into the merge queue batch
Quick Selection: a stroke drops the active layer's transparent pixels from the selection (#12919)
2026-11-19 22:27:46 +01:00
David Mann a1b93266a9 Merge #14481 into the merge queue batch
Color Table: recolour by index, black past a shrunk table (#14342)
2026-11-19 22:27:46 +01:00
David Mann de12d655fd Merge #15217 into the merge queue batch
Merge to HDR Pro: Remove ghosts catches a moved object where frames are clipped
2026-11-19 22:27:45 +01:00
David Mann 44b13eae2a Merge #12284 into the merge queue batch
Mixer Brush: a load lasts for a length of stroke, not a number of dabs (#11943)
2026-11-19 22:27:44 +01:00
David Mann 82af382c06 Merge #12296 into the merge queue batch
Mixer Brush: the load swatch shows a checkerboard or the sampled tip image (#11953)

# Conflicts:
#	crates/ui-egui/src/panels/brush_controls.rs
2026-11-19 22:27:43 +01:00
David Mann 3ebf128dd2 Merge #14123 into the merge queue batch
Package: a layer named after a renamed link takes the new name (#14079)
2026-11-19 22:27:40 +01:00
David Mann cf014b3b13 Merge #12276 into the merge queue batch
fix(engine): stack duplicated layers above the originals (#11915)
2026-11-19 22:27:38 +01:00
David Mann 38fba92c9f Merge #14879 into the merge queue batch
Artboard from Group: size the board to the group's visible layers

# Conflicts:
#	crates/engine/src/cmd/artboard_cmds.rs
2026-11-19 22:27:37 +01:00
David Mann b79457eca1 Merge #14856 into the merge queue batch
Canvas Size: truncate the half-pixel offset of a centred anchor
2026-11-19 22:27:32 +01:00
David Mann 198d3269da Merge #13952 into the merge queue batch
Import Data Sets: only `true` makes a Visibility variable visible (#13933)
2026-11-19 22:27:30 +01:00
David Mann 6dacd20f38 Merge pull request #15763 from davidmann4/automation/shared-live-client
automation: the MCP CLI uses the shared live client (#15762)
2026-11-19 22:09:37 +01:00
aiongg a8982aafbd DocQueries: name the History rows' key type 2026-11-19 21:07:16 +00:00
aiongg c4bcde98aa Merge remote-tracking branch 'upstream/main' into perf-15709b 2026-11-19 20:57:20 +00:00
aiongg 7e13375f52 Check layer.setExpanded's precondition without a walk
Any nested group sits inside a top-level one, so the top-level layers tell
whether a document has a group. The Layers panel's command states ask this
precondition every frame, and it was the last per-frame walk the idle trial
counted; the trial now expects none.
2026-11-19 20:56:48 +00:00
David Mann 383d24fa00 Merge pull request #15811 from davidmann4/mq-batch-99d0630d-mwnyh2e7
Merge queue batch: 9 PRs (#13573, #13714, #14011, #13708, #14826, #14986, #15065, #13818, #14369)
2026-11-19 21:52:16 +01:00
aiongg abedab1e4d Cache History rows, artboard pages and the snap moving set on revisions
History gets a generation that every change takes a fresh number from, and
the snapshot list one through DocState::snapshots_mut, so the History rows
rebuild only when either moves. Artboard pages and the layers a Move drag
takes along are computed once per document revision; set_active_layer moves
the revision like the other layer selection changes, through one
bump_selection_revision. The view-only revision steps of history options,
the channel eyes and Isolate Layers go through bump_view_revision; Isolate
Layers still marks the document modified.

DocQueries drops every entry when the open document set changes, and counts
what it computes, which the idle trial asserts stays unchanged. Fill layers'
thumbnails key on impl Hash for Fill. A new trial checks the Layers rows'
revision follows a rename and both disclosure toggles.
2026-11-19 20:51:32 +00:00
aiongg aac8e37bec CI: one test archive per shard, balanced by recorded test times
The gate's build job writes one nextest archive per shard (craft-common-actions gate.yml
shard-archives), so each shard downloads only the test binaries it runs instead of the whole
2.4-2.6 GB archive.

`cargo xtask ci archive` builds and lists the tests once, then plans the shards
(xtask/src/shards.rs): whole binaries go to the lightest shard, heaviest first, by the times in
.config/ci-test-times.tsv; a binary heavier than half a shard's share is split by test filter along
its module tree, and its executable goes into each archive that runs part of it. On Linux shard 1
takes every binary with gpu-group tests. The build checks that every test runs on exactly one shard,
writes the plan into the target directory, which every archive carries, and archives each shard
with `cargo nextest archive -E`. A shard runs `xtask ci tests --shard <k>` with its part of the
plan; the slice partition is gone.

scripts/ci-test-times.py refreshes the times file from a CI run's shard logs; a missing or stale
row only costs balance.
2026-11-19 20:47:26 +00:00
aiongg a92d36e8f9 xtask: record the build units of the gate's test and doctest builds for the cache trim
In a gate leg that saves the dependency cache, craft-common-actions' rust-cache action names a
file in CRAFT_CACHE_UNITS, and cache-trim deletes every unit of the target directory the file
does not name before the entry is saved. ci archive (and the cargo test --no-run build) and ci
doctest print Cargo's JSON messages (json-render-diagnostics: diagnostics stay on stderr) and
append them to the file; ci archive first records xtask's own build, which cargo xtask builds
before xtask can record anything.
2026-11-19 20:47:25 +00:00
aiongg c5a3dffb9b Merge remote-tracking branch 'upstream/main' into perf-15709b 2026-11-19 20:23:25 +00:00
aiongg 9406da9c6f engine_split: codemod usage says --head is pre-rebase, reports command_ids and private modules; contributing names TABLES 2026-11-19 20:22:30 +00:00
aiongg 6749fc1bb2 control_exit_code: drop the in-test exit deadline 2026-11-19 20:19:44 +00:00
aiongg 8ca6d3c767 web CI: skip wasm-opt --converge on pull requests 2026-11-19 20:19:35 +00:00
aiongg 9b6e89c20a Merge remote-tracking branch 'upstream/main' into engine-split-registry 2026-11-19 20:16:52 +00:00
aiongg 6764f138bb Keep the frame marks and the link watcher's check off per-frame walks
The canvas's empty-frame placeholders and the link watcher's has-links check
read DocQueries, once per document revision. The walk trial counts the panels'
command states, which task a of #15709 moves onto revisions, as their own.

Part of #15709.
2026-11-19 20:13:08 +00:00
David Mann 6d58429c8d Merge #14369 into the merge queue batch
Lens Correction batch: close the open sources the run corrected
2026-11-19 21:04:33 +01:00
David Mann 91b81c36e1 Merge #13818 into the merge queue batch
Custom Shape: Alt at the press picks the foreground and Fill colour (#13467)

# Conflicts:
#	crates/ui-egui/src/canvas/cursors.rs
2026-11-19 21:04:32 +01:00
David Mann a05ef28416 Merge #15065 into the merge queue batch
Hue/Saturation: pick the range with seven swatches and show its centre (#14753)

# Conflicts:
#	crates/ui-egui/src/dialogs/adjust_editors/hue_saturation.rs
2026-11-19 21:04:31 +01:00
David Mann d253ce6b38 Merge #14986 into the merge queue batch
Straighten Layer: with a selection, the whole layer turns and the selection is kept
2026-11-19 21:04:31 +01:00