Commit Graph
5038 Commits
Author SHA1 Message Date
aionggandDan 32704afb63 Path Selection Delete removes paths, not the layer; Properties eyedropper picks
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]>
2026-11-24 04:56:42 +00:00
aiongg fcda1c5b4b cargo fmt --all 2026-11-24 02:41:56 +00:00
aiongg 6d73dcee09 Engine split step 8: the vector crate (install, incomplete-docs list, layer comp recorded step, top wiring, corpus feature, core items vector uses made public, tooling) 2026-11-24 02:41:56 +00:00
aiongg 9277ac1673 Engine split step 7: hand fixes for the moved tests (test-local copies, flate2 dev-dependency, unused imports, dead test helpers) 2026-11-23 15:08:36 +00:00
aiongg 850e73c5fb Engine split step 7: the paint crate (installs per crate, registry order from command_ids.txt, helpers moved down, paint-only helpers moved up, live-stroke traits, admit hook, tooling) 2026-11-23 14:16:34 +00:00
aiongg 519a0c22a3 Engine split step 3: top crate with the wrapper Session
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
2026-11-22 19:29:06 +00:00
aiongg b69ad02ccc Engine split step 3: move the engine sources to crates/engine-core
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.
2026-11-22 19:19:11 +00:00
David Mann 6983c0b381 Merge PR #15985: Tests: run the engine mode x depth x command matrices pairwise (#15932) 2026-11-22 13:25:02 +01:00
David Mann 5468872e9b Merge PR #15984: Restore unselected colour components only inside the live damage (#15967) 2026-11-22 13:24:57 +01:00
David MannandClaude Opus 5.5 cf5347b545 Integration: fix the batch 27 CI failures (fmt, null Image Size percent)
- 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]>
2026-11-22 02:46:35 +01:00
David Mann a698d07214 Merge PR #14120: Tools: add the Adjustment Brush Tool (#12519) 2026-11-22 01:06:31 +01:00
David Mann 9c6255e6a3 Merge PR #16253: Fix the stale cached states the #16197 review found (#16252) 2026-11-22 01:06:30 +01:00
c74906bddd Integration: use the Result of ActionList::push in the #11548 test
Co-authored-by: MMexicann <[email protected]>

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-22 00:42:19 +01:00
2657da41b1 Integration: port the ATN tests of #11536 and #11548 to ActionStep
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]>
2026-11-22 00:40:05 +01:00
David MannandClaude Opus 5.5 8ecb757a4f Merge main into fix/12519-adjustment-brush-tool
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]>
2026-11-22 00:34:36 +01:00
David MannandClaude Opus 5.5 98bf3895f9 Merge main into fix/memo-views-16197-followups
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]>
2026-11-22 00:32:15 +01:00
David Mann ed218abb48 Merge PR #16287: fix(batch): reject non-path entries in explicit input lists 2026-11-22 00:28:45 +01:00
David Mann 51a18f6096 Merge PR #15198: fix(fill): keep opaque Dissolve fills fully covered 2026-11-22 00:26:37 +01:00
David Mann 0229cf222d Merge PR #11548: ATN: retain explicit Image Size dimensions with percent 2026-11-22 00:24:13 +01:00
David Mann a2a7528bf7 Merge PR #11536: ATN: reject fractional Black & White coefficients 2026-11-22 00:24:09 +01:00
David Mann 9a7d607e4f Merge PR #14454: Artboards to PDF: Document Per Artboard (#13649) 2026-11-21 20:42:35 +01:00
David Mann 39c57404d2 Merge PR #14413: Artboards to PDF: Include Background in Export (#13648) 2026-11-21 20:42:31 +01:00
David Mann 2f9a8132ed Merge PR #14381: Artboards to PDF: Include Overlapping Areas / Artboard Content Only (#13646) 2026-11-21 20:42:28 +01:00
David Mann 7c4dd0c040 Merge PR #14321: Artboards to Files: Include Artboard Name (#13637) 2026-11-21 20:42:24 +01:00
David Mann 573a263ea3 Merge PR #14361: Artboards to PDF: Reverse Page Order option (#13644) 2026-11-21 20:33:36 +01:00
David Mann 82636dd304 Merge PR #14292: Artboards to Files: Export Options per file type (#13636) 2026-11-21 20:33:32 +01:00
Mex aedf6224f0 fix(batch): reject non-path entries in explicit input lists 2026-11-21 20:03:18 +01:00
David Mann caf3ce17c5 Merge remote-tracking branch 'origin/main' into pr-14454 2026-11-21 19:34:49 +01:00
David Mann 2298c82951 Merge remote-tracking branch 'origin/main' into pr-14413 2026-11-21 19:34:48 +01:00
David Mann 7cca66d802 Merge remote-tracking branch 'origin/main' into pr-14381 2026-11-21 19:34:46 +01:00
David Mann 1a8ded4686 Merge remote-tracking branch 'origin/main' into pr-14321 2026-11-21 19:34:45 +01:00
David Mann a115918ff5 Merge remote-tracking branch 'origin/main' into pr-14361 2026-11-21 19:34:44 +01:00
David Mann 5374d1ca6d Merge remote-tracking branch 'origin/main' into pr-14292 2026-11-21 19:34:43 +01:00
David Mann 7ea2c5bbb4 Merge PR #14594: Variables: Apply Data Set alerts when a replacement file is missing (#14500) 2026-11-21 19:19:29 +01:00
David Mann 089d2f8942 Merge branch 'pr-14413' into pr-14454
# Conflicts:
#	crates/engine/src/cmd/artboard_cmds.rs
2026-11-21 19:19:14 +01:00
David MannandClaude Opus 5.5 e33b62659d PR #14413: the Include Background tests export Artboard Content Only
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]>
2026-11-21 19:18:53 +01:00
David Mann c9d5892806 Merge branch 'pr-14381' into pr-14413
# Conflicts:
#	crates/engine/src/cmd/artboard_cmds.rs
2026-11-21 19:07:21 +01:00
David Mann ce61a98e1c Merge branch 'pr-14321' into pr-14381
# Conflicts:
#	crates/engine/src/cmd/artboard_cmds.rs
2026-11-21 19:03:59 +01:00
David MannandClaude Opus 5.5 b689784b4b PR #14321: Include Artboard Name shows without Export Options
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]>
2026-11-21 19:03:40 +01:00
David Mann def0381278 Merge PR #16222: Presets: memoized-view follow-ups from #16180 (#16221) 2026-11-21 19:03:25 +01:00
David Mann 8e739f462e Merge PR #16024: engine: file.print.page asks no printer driver while printing is disabled 2026-11-21 19:01:43 +01:00
David MannandClaude Opus 5.5 268dd52f25 Fix the stale cached states the #16197 review found (#16252)
- 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]>
2026-11-21 18:55:00 +01:00
David Mann d44259eba2 Merge branch 'pr-14361' into pr-14321
# Conflicts:
#	crates/engine/src/cmd/artboard_cmds.rs
2026-11-21 18:48:28 +01:00
David Mann a652219f8b Merge PR #13977: Add Anchor Point: Alt selects or duplicates the whole subpath (#12709) 2026-11-21 18:42:01 +01:00
David Mann e37856b8a6 Merge pull request #16197 from aiongg/doc-tracked
Document state is Tracked; command-state sources are derived values (#15709)
2026-11-21 18:37:52 +01:00
David Mann 137d18b82c Merge branch 'pr-14292' into pr-14361 2026-11-21 18:35:55 +01:00
David MannandClaude Opus 5.5 1a7f95c13e PR #14292: drop the import the merged export loop no longer uses
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-21 18:35:40 +01:00
David Mann 91e1913b6c Merge remote-tracking branch 'origin/main' into fix/16180-coderabbit-followup 2026-11-21 18:35:01 +01:00
David Mann 60cbf815ac Presets: memoized-view follow-ups from #16180 (#16221)
- 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.
2026-11-21 18:34:56 +01:00
David Mann 2bf4598848 Merge remote-tracking branch 'origin/main' into pr-13977
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	crates/engine/Cargo.toml
#	crates/ui-egui/src/tools/anchor_tools/tests.rs
2026-11-21 17:55:53 +01:00