With Path Selection, Delete removes the selected components of a shape
layer, saved path or vector mask (path.deleteComponents), or the targeted
saved path when nothing is selected, instead of deleting the layer.
The Properties panel Fill and Stroke popovers now hold the screen pick and
feed the sampled colour back, as the options bar does.
Fixes#13269
Co-authored-by: Dan <[email protected]>
crates/engine keeps the package photocraft-engine: src/facade.rs re-exports
photocraft-engine-core, and its Session wraps core's and installs every engine
command. Core's Session::new() installs nothing; core gets install() and session().
The command registry keeps main's behaviour (empty before an install).
The top crate's dev-dependencies cover tests/ and examples/, including
craft-develop-model (camera raw baseline test) and photocraft-testkit (the
corpus-gated Photoshop oracle test). Dependents that need the core type or
borrowed two fields through the wrapper are fixed at the call site, and tests
that reach the registry before any session install first.
Tooling follows the package: workspace dependency, cl selection, xtask layers,
i18n report, scorecard and corpus paths, nextest overrides, ci-test-times rows,
display-names roots, prefs_usage paths, the engine split scripts, docs, and the
two release-perf steps in ci.yml.
Corpus .atn paths, the layer_menu registry read and the craft-develop-model
dev-dependency are FredApps' fixes from #16431.
Part of #15710
python3 scripts/engine_split/crate_shell.py split, then rustfmt on the files it edited.
The sources and the manifest move to crates/engine-core; core's tests start from
crate::session() (1,673 sites), 32 tests that read the registry first install with
crate::install(), and 12 Session imports the rewrite left unused are dropped.
- cargo fmt for the merged Tool list in paint_mouse.rs.
- The #11516 fix refused an exported Image Size step with "percent": null,
which main's review test treats as omitted. Native playback now omits a
null percent like a null side or resolution, and export follows it, so
both still agree. The null case moves from the invalid-percent test to a
new native + round-trip test.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Both PRs predate main's switch from (id, params) tuples to ActionStep { command, params }; their new tests no longer compiled on main.
Co-authored-by: MMexicann <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Main moved the command table to crates/engine/src/install.rs and gave Tool an exhaustive id(); the Adjustment Brush's fragment and its id "adjustmentBrush" go there. The Art History Brush now also starts from its own tip on main; both stay in the list.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Conflicts with #16221 on main, which fixed two of the six findings its own way: the Styles snapshot (StyleLibrary::held) and the swatch keys. Kept main's versions there and dropped this branch's StyleLibrary::of, patterns_key and its snapshot test. The Pattern Fill dialog still owned no swatch textures on main, so its owned handles stay; main's now-unused pattern_texture goes.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Red and Blue Board overlap in the test document. Include Overlapping Areas, the default since #14381, puts Blue Board's pixels on the Red Board page, so the tests, written before it, now ask for Artboard Content Only unless they set the content themselves.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A form section's body runs to the next section and hides with it. Below the Export Options section the Include Artboard Name checkbox showed only while Export Options was ticked; both checkboxes now come before either section.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- tools.setBrush keeps a stored tip that loaded only now instead of the unloaded one it compares equal to
- Session::move_document moves the documents generation, so the Window menu follows a reorder
- The rule facts key on every open document's revision and the scratch read-error generation
- The Layers panel thumbnails key on the scratch read-error generation
- The Pattern Fill dialog owns its swatch textures until it closes
- The style library snapshot is derived, so the Styles panel and Layer Style dialog replay
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Swatches keep their texture key and the pattern or shape they draw from, and ask the texture store when they paint:
a swatch kept past an eviction (Fill holds its swatches from when it opened) loads its picture again, and building a
browser's swatches loads no texture, only shown rows do.
- A pattern swatch is keyed by its pixel generation, so a pattern replaced under the same id draws anew.
- The preset views share held patterns and one held style library while the library and the presets are unchanged,
so the Styles source keeps its memo key between passes.
- A style's thumbnail key covers its effect values and the patterns' pixels.
- patterns::sync leaves groups already in line with the library unwritten, so an open Patterns panel no longer moves
the presets' revision (and the menu model) in every pass.