Commit Graph
15621 Commits
Author SHA1 Message Date
aiongg aedabc93fa Merge PhotoCraft main; keep craft-libs at bb7e01295d 2026-11-23 02:25:25 +00:00
aiongg b9c9462462 Merge pull request #16466 from aiongg/engine-split-step4
Engine split step 4: pipeline hooks
2026-11-22 19:57:01 -05:00
FredApps 4921d3b5ff build: move craft-develop to craft-libs main 33be356 (craft-libs#778) (#16470)
Pick up the shared Camera Raw fixes #3091, #3088 and #3089. The pin
stays before craft-libs#3101, which PhotoCraft's GPU route cannot follow
until photocraft#13519 is ported.
2026-11-22 19:34:42 -05:00
aiongg cc716aa8ea Pin craft-libs at bb7e01295d (a row pick of the current family adds no edit) 2026-11-22 23:58:23 +00:00
David Mann dbad7de99a Merge pull request #16468 from davidmann4/fix/16467-toolbar-columns-only
Toolbar docks only in dock columns (#16467)
2026-11-23 00:35:40 +01:00
FredApps 3c7bcd4734 Test cropped DNG gain-map parity across RAW Open strips (#16464) 2026-11-22 18:01:17 -05:00
aiongg 910759f7e6 Merge PhotoCraft main; keep craft-libs at 20574f0ed4 2026-11-22 22:57:49 +00:00
David Mann c870f51d5d Merge pull request #16416 from davidmann4/fix/floating-document-window-title-bar
A floating document window gets a title bar (#16415)
2026-11-22 23:56:45 +01:00
David Mann 5f83433d8b Merge pull request #16289 from aiongg/set-d-pin
Pin craft-libs next: dialogs, menus, panels, docking and frame-cost fixes from the release epic
2026-11-22 23:54:49 +01:00
David MannandClaude Opus 5.5 6ae2b47a18 Toolbar docks only in dock columns (#16467)
Dragging the toolbar over the canvas offered a box drop area beside it, and
a release there docked the toolbar in a frame of the docked tree, with a
panel header like a window. The toolbar now sets the dock permission
docks_outside_columns(false) (craft-libs#2099, in the pin): the model
refuses every frame placement, so no box shows, and a workspace saved with
the toolbar in a frame loads with it in a dock column.

Tests: the_toolbar_never_docks_beside_the_canvas,
a_saved_toolbar_below_the_canvas_loads_in_a_dock_column; both fail without
the permission.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-22 23:38:44 +01:00
David MannandClaude Opus 5.5 768fcf230f WIP: toolbar docks only in dock columns (#16467)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-22 23:25:22 +01:00
aiongg f0477a595f Engine split step 4: pipeline hooks
Core runs every command; the steps that belong to crates above core now run as hooks those
crates register with their command tables (Install.hooks, crates/engine-core/src/hooks.rs):
request params (batch open), redirect (Last Filter), parameter checks (file.new values, filter
params, through validate_params in dispatch and precheck), before the command (the floating
selection drops), run params (Shape Blur's path), after the command (mask view, Fade, script
events and slices, preset store sync), recorded steps keyed by command id with a default, step
origin, journal coalescing, recording flush and preferences applied. install.rs registers every
hook, grouped by the crate that will own it. Before an install there are no hooks, as the
registry lists no commands.

The recording predicates replayable, tool_stroke, shell_view_command and shell_save_command,
and recorded_params, move to actions_record, beside the rest of the recording normalisation;
actions_cmds re-exports the public ones.
2026-11-22 22:21:04 +00:00
aiongg 80d7c000a0 Engine split step 4: damage helpers to crates/engine-core/src/damage.rs
The redraw-area helpers (step_damage and the rest of cmd/layer_multi_cmds/damage.rs) are
pipeline logic that dispatch, edit, undo and redo use, so they leave the module the model
crate will take. layer_multi_cmds keeps its public re-exports.
2026-11-22 22:21:04 +00:00
aiongg 755bbdced7 Merge pull request #16449 from aiongg/engine-precheck-params
Precheck reports the same parameter errors as dispatch
2026-11-22 17:17:22 -05:00
aiongg 75cbe5c4eb Merge remote-tracking branch 'upstream/main' into set-d-pin
# Conflicts:
#	crates/engine/Cargo.toml
2026-11-22 21:49:29 +00:00
aiongg bc727036dd Merge remote-tracking branch 'upstream/main' into engine-precheck-params 2026-11-22 21:47:28 +00:00
aiongg ad51efbcb1 Merge pull request #16450 from aiongg/engine-split-step3
Engine split step 3: photocraft-engine-core and a thin photocraft-engine with the wrapper Session
2026-11-22 16:47:16 -05:00
Terra854andFredApps 6133bc3e4c io: use the shared PSD signature check (#16314)
Co-authored-by: FredApps <[email protected]>
2026-11-23 04:25:19 +07:00
aiongg 809604fb0b Type tool trials: the options bar harness waits for the font list's samples 2026-11-22 21:08:06 +00:00
aiongg 59de4b9f97 Type options bar test harness allows 64 steps: opening the font list loads row samples over several passes 2026-11-22 20:48:23 +00:00
David MannandClaude Opus 5.5 3c2089df94 Floating document windows: review fixes (#16415)
- Close in a floating window closes its document through the guarded
  close (a document with unsaved changes asks first, the window stays
  meanwhile), as in the reference application; a New Window for Document
  view still only closes itself.
- The placed rect is the outer origin with the inner size: the framework
  applies its size as the inner size, so a decorated window (system title
  bar) grew by its frame every pass.
- The floating status bar's zoom edit uses the window's own scale.
- The Home screen and the batch preview clear the dock target.
- The OS-move release reads the mapped primary button (swapped buttons).
- The window tests use a fixed app-drawn frame, whatever the OS.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-22 21:42:04 +01:00
David MannandClaude Opus 5.5 8a5eddb63f Floating document zoom test: the window's own status bar has a zoom field too (#16415)
The floating window's status bar adds a third zoom field beside the main
status bar's and the Navigator's; the test picks each by its place and
types into all three.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-22 21:30:18 +01:00
aiongg b132a7f9ff Merge remote-tracking branch 'upstream/main' into engine-split-step3 2026-11-22 20:20:50 +00:00
aiongg d21e2c031f Merge remote-tracking branch 'upstream/main' into set-d-pin
# Conflicts:
#	Cargo.toml
2026-11-22 20:19:52 +00:00
aiongg 567633c2f7 Engine split step 3: the Photoshop oracle tests install the commands first
Smart filter re-rendering looks the filters up in the command registry, and
these corpus tests create no session, so they install first like the other
tests that read the registry before a session.
2026-11-22 20:18:44 +00:00
aiongg 286bb67570 Pin craft-libs next 8d436f486a: lock 2026-11-22 20:18:26 +00:00
aiongg 7e3a68e867 Pin craft-libs next 8d436f486a: font picker keys, sample text 2026-11-22 20:18:14 +00:00
aiongg 2fbdb300e3 Merge main into set-d-pin 2026-11-22 20:18:14 +00:00
Dylan M. Taylor 33949ab5be fix(camera-raw): bound saved detail and tighten preview parity (#16443) 2026-11-22 15:16:58 -05:00
aiongg 0bcffd2391 Merge PhotoCraft main; pin craft-libs at 20574f0ed4 (next 8d436f486a) 2026-11-22 20:07:39 +00:00
Dylan M. Taylor 976919707a algo: delegate Camera Raw Filter to craft_develop::camera_raw (#587) (#16444)
* algo: delegate Camera Raw Filter to craft_develop::camera_raw (#587)

* algo/camera_raw: put spatial module re-exports in pub mod spatial

* algo/camera_raw: put spatial module re-exports in pub mod spatial

* algo/photo_util: gate hash01 and bilinear to cfg(test)
2026-11-22 15:05:39 -05:00
David Mann dfca6c1d09 Merge remote-tracking branch 'origin/main' into fix/floating-document-window-title-bar 2026-11-22 21:03:39 +01: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 a210017995 Precheck runs the same parameter checks as dispatch
Session::precheck skipped the file.new value check that dispatch runs, so a
bad file.new passed precheck and failed only at dispatch. Both now call one
function, in dispatch's existing order.
2026-11-22 19:23:37 +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 MannandClaude Opus 5.5 9a1625463f A floating document window has a status bar (#16415)
Along the window's bottom, as in the reference application: the zoom field
and the readout of its own document (the item picked in the main status
bar's menu, by default the dimensions). A zoom typed there sets the
window's view; picking another item changes it in both bars.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-22 20:09:26 +01:00
aiongg 58c7904cd7 Font menu tests find a family's row by its TreeItem role 2026-11-22 18:45:34 +00:00
aiongg 5823239d3f Pin craft-libs at c57fac1215 (font live updates on next 27e5af8151) 2026-11-22 18:20:40 +00:00
aiongg b11d0abd9b Merge remote-tracking branch 'upstream/main' into fonts-live-updates 2026-11-22 18:20:01 +00:00
David MannandClaude Opus 5.5 e617469fc4 Dock a floating document window the OS moved by its title bar onto the tabs (#16415)
On Windows the app-drawn frame's hit test hands the title bar to the OS,
which runs the move: the app sees neither the press nor the release. A
new primary_down service (GetAsyncKeyState) tells when the button goes
up; a window that moved and ends with the OS pointer on its bar over the
main window's tab strip docks. The drop target is the tab strip, or a
tab-high band at the top of the document area where no strip shows; the
app looks again every 50 ms while such a move lasts and repaints after
docking, so the OS window closes at once.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-22 19:15:09 +01:00
Dylan M. Taylor 406ac677e1 raw: cap shared Bayer develop strip memory (#16420)
* Bound shared Bayer RAW development strip memory

* test(raw): check calibrated Bayer output across strip seams
2026-11-22 13:03:36 -05:00
Dylan M. Taylor 309e4c7a65 camera_raw: preserve legacy filter renders and native preview (#16419) 2026-11-22 12:57:39 -05:00
David MannandClaude Opus 5.5 da69ae96c1 A floating document window dropped on the main window's tabs docks again (#16415)
The press on the floating window's title bar notes where the window is;
the release that ends the OS move (the runtime adds it) docks the document
back into the main window's tabs when the window moved and the pointer is
over the tab strip, or over the document area while nothing is docked.
A click on the bar, or a drop elsewhere, keeps the window floating.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-22 18:27:02 +01:00
aiongg cf2e416e31 Merge pull request #15914 from aiongg/ci-pin-toolchain
ci: pin Rust, stop cache evictions, corpus tests in the gate, fewer tests per PR
2026-11-22 12:03:37 -05:00
FredApps f23690d5bb Merge pull request #16025 from FredApps/fix/15711-record-bootstrap-feature-set
Record the active archive driver feature set
2026-11-22 23:48:13 +07:00
David MannandClaude Opus 5.5 34b98469f8 A moved floating document window stays where it was moved (#16415)
The window is placed with DocumentWindow::first_placed, whose rect the
framework re-applies on every pass; the rect never followed the window, so
a title-bar drag or an OS move snapped back at the next pass. The stored
rect now follows the OS window's outer rect while the window is normal.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-22 17:38:25 +01:00
aiongg d94ff170de Merge upstream main; pin craft-libs at 31ea44ee (next with the PhotoCraft font menu port and the live font catalog) 2026-11-22 16:32:01 +00:00
aiongg 78468479c6 nextest: Content-Aware Move tests run alone on Windows
They solve on rayon across every core; beside a GPU test on the Windows
runner's CPU-backed adapter they starve it until its device poll times out.
2026-11-22 16:27:50 +00:00
David MannandClaude Opus 5.5 856f8ac8aa A floating document window draws its title bar (#16415)
With the app-drawn frame (the default on Windows and Linux) DocumentWindow
leaves the title bar to the app's body, and the floating document window
drew only its canvas: no title, nothing to drag, no caption buttons. The
body now starts with the framework TitleBar (the document's tab title, the
move band, Minimize, Maximize and Close); Close goes the same way as the OS
close. Nothing is drawn with the system frame or on the fallback layer,
which has its own title row.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-22 17:12:17 +01:00
FredApps f3cca5246a Merge branch 'main' into fix/15711-record-bootstrap-feature-set
Signed-off-by: FredApps <[email protected]>
2026-11-22 23:05:14 +07:00