Reject Exact conversion if the opaque palette uses every slot and the image needs a transparent entry. Leave the edit transaction uncommitted in that case.
Since the move to the craft UI framework, the document tab's right-click
menu sent the document's id as `document` to file.close,
file.closeOthers and file.revealInFinder, but those commands take the
document's index in the session's list. Ids come from a counter shared
with layers and other objects, so the command found no such document and
nothing happened. The menu now sends the tab's current index; Move to
New Window keeps the id it takes.
Test: three documents; the menu's Close on a tab that is not the active
one closes that document, then Close Others and Close run on the clicked
tab (fails before the change: "no active document").
Use the full RPC method name so users can search for it in help and the generated man page. The method list still matches all 19 entries in the RPC registry.
Fail before output planning when a recognized input path cannot be represented in the headless API. Add a Linux CLI regression with the invalid-byte filename and its valid replacement-character alias.
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.
main moved the command table out of crates/engine/src/cmd.rs into crates/engine/src/cmd/table/. cmd.rs takes main's version; this PR's Channel Mixer params doc (cyan/magenta/yellow/black ink outputs, monochrome unsupported for CMYK outputs) now lives on the channelMixer entry in cmd/table/image/adjustments.rs.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
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.
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.
Reject reserved Windows device names case-insensitively before the runner creates output artifacts. Cover all reserved IDs and ordinary near matches through recipe schema validation. Fixes#15822.
Derive the .pcraft snapshot name from the native Path leaf so Unix backslashes remain filename characters. Preserve portable byte-name handling. Fixes#15820.
Check arrays, booleans, numbers and strings leave the session unchanged. Verify missing/null/default and explicit index requests close the intended document.
Reject non-object doc.close params before they can become an implicit close of the active document. Preserve null/default and valid index handling. Fixes#15815.
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.
Hue/Saturation: pick the range with seven swatches and show its centre (#14753)
# Conflicts:
# crates/ui-egui/src/dialogs/adjust_editors/hue_saturation.rs
- Thumbnails, bounds and selection masks key on Surface::generation();
surface_fingerprint and the Debug-formatted fill revision are gone. Fill
layers key on Fill::fingerprint, a hash of every field.
- Layers panel rows take parents and ancestors from the layer index, and the
rows revision comes from the document revision and the index serial instead
of hashing view-state lists each pass. Expanding a group and collapsing an
effects list move a view revision, which keeps a clean document clean.
- isolation_shows, top_level and with_descendants read the layer index
(LayerIndex::roots) instead of walking or scanning subtrees;
Document::layer_count counts from the index.
- The status bar values, the title's copyright mark and the pasteboard's
uncovered rects are computed once per document revision (DocQueries).
- photocraft_doc::walks() counts Document::walk calls per thread for count
trials.
Part of #15709.