Commit Graph
4681 Commits
Author SHA1 Message Date
FredApps 19641af171 Cache legacy blend mode parsing 2026-11-19 13:06:09 +01:00
FredApps 1995d4bd94 Merge pull request #15374 from Terra854/codex/svg-embedded-image-validation
Validate embedded SVG images and reuse checked XML
2026-11-19 07:28:27 +07:00
David Mann 46b8180173 Merge pull request #15654 from davidmann4/test-speed/15652-unclaimed-slow-tests
Tests: trim the slow tests no other PR covers (#15652)
2026-11-19 01:20:29 +01:00
David Mann c66a95dee2 Merge pull request #13579 from davidmann4/fix/title-bar-controls-13577
Top bar: drop the appearance button, search and workspace switcher (#13577)
2026-11-19 00:34:08 +01:00
David Mann 2cda31cd8d Merge remote-tracking branch 'origin/main' into test-speed/15652-unclaimed-slow-tests
# Conflicts:
#	crates/gpu/tests/it/camera_raw.rs
2026-11-19 00:31:06 +01:00
David Mann 5e172cbce1 Merge pull request #15649 from davidmann4/test-speed/tone-targets-glue-only
Tests: tone_targets builds the whole app only for the UI glue (#15648)
2026-11-19 00:30:02 +01:00
Terra854 98eeb5a286 Merge upstream main to pick up the Linux and Windows lint fixes 2026-11-19 06:26:31 +08:00
David MannandClaude Opus 5.5 6cbcdc0ad4 Merge main into fix/title-bar-controls-13577
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-11-18 23:07:17 +01:00
aiongg 7c34b16a95 Content-aware crop layer tests: run the straight scene at the turned scene's half size 2026-11-18 22:05:05 +00:00
aiongg 727d928c79 Content-Aware Move tests: sparse selections and smaller canvases keep the solves short 2026-11-18 22:05:05 +00:00
David Mann c8ce558a42 Merge remote-tracking branch 'origin/main' into test-speed/15652-unclaimed-slow-tests 2026-11-18 22:59:03 +01:00
David Mann f3a271cc06 Merge remote-tracking branch 'origin/main' into test-speed/tone-targets-glue-only 2026-11-18 22:58:54 +01:00
David Mann bff6fb386f Merge remote-tracking branch 'origin/main' into test-speed/tone-targets-glue-only
# Conflicts:
#	crates/ui-egui/tests/it/tone_targets.rs
2026-11-18 22:41:54 +01:00
aiongg 4e6d6d7fee Merge remote-tracking branch 'upstream/main' into repin-next 2026-11-18 21:28:35 +00:00
David Mann 274c4db888 Merge remote-tracking branch 'origin/main' into test-speed/15652-unclaimed-slow-tests 2026-11-18 22:27:07 +01:00
aiongg bd3712d114 Lint: each shared test fixture loads once per test binary, and xtask names its step list type 2026-11-18 21:20:35 +00:00
aiongg e98af2cb65 Pin craft-libs next at 18ffc07519 2026-11-18 21:19:36 +00:00
David Mann 1fb5b51051 Merge remote-tracking branch 'origin/main' into test-speed/15652-unclaimed-slow-tests
# Conflicts:
#	crates/ui-egui/tests/it/batch_export_options.rs
2026-11-18 22:14:41 +01:00
David MannandClaude Opus 5.5 493d2df62f Tests: trim the loops of the unclaimed slow tests that reach no new code (#15652)
Each removed variant takes the same branch as one that stays, or is covered without the app or
oracle cost by a named lower-level test; the commit's comments say which for every test.

ui-egui: floating-document zoom (10 frames after Enter, not 60), Wide Angle (one depth per mode,
alpha kept), Brush panel sections (only those Brush Settings draws; Brushes ignores the section),
Camera Raw GPU (8 and 32 bits), enable rules (one app per world, a copied style for Paste only),
Content-Aware Move preview (selection just past the coarse budget, smaller canvas).
algo/compose/engine/gpu/format: Pixelate (Lab, cell 100, seed 37, tile 1), box blurs (Gaussian
40), Smart Blur (multichannel layouts cover every arm; Low and High), FFT sharpen gate (one
depth), panorama batching (budgets at every split instead of a 47-step sweep), bevel and chisel
threads (2 and 16), fused tone tiles (256 x 256, the U16 table threshold), live dabs (8 and 32
bits), Camera Raw GPU sizes (1600 x 240 wide case; the proxy-size per-pixel run lives in the
clarity test), directory bundle (two modes; zip_cases has the matrix).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 22:14:12 +01:00
aiongg 4109fb1c79 Pin craft-libs next at 68df8bf16c
Moves every craft-libs pin from a6b9d9c986 to the current next head. The
lockfile adds craft-cloud-ui (now a craft-ui dependency) and
craft-theme-editor. No PhotoCraft code uses an item the update removes or
changes: Dialog::side_buttons, IconSpec::set, ThemeScope::mode, the
drag::start and dock-target signatures, ui-canvas readout/hud and the
colour-warning types are not used here, and ColorPopover::picker's
closure (now Fn) captures nothing. The egui fork rev is unchanged.
2026-11-18 20:47:51 +00:00
aiongg 662f2e24d5 Merge remote-tracking branch 'upstream/main' into slow-ui-tests
# Conflicts:
#	crates/ui-egui/src/dialogs/adjust_editors/ui_tests.rs
2026-11-18 20:40:54 +00:00
Terra854 dfa4ecc357 Merge upstream main for the Windows integration timeout fix 2026-11-19 04:39:53 +08:00
aiongg 626de094e9 Merge pull request #15641 from davidmann4/test-speed/15367-engine-gpu
Tests: trim repeated solves and loops in engine and GPU tests (#15367)
2026-11-18 15:33:05 -05:00
aiongg e6a58842f3 ui: build the toolbar's slots once per preferences revision
The toolbar, its measure and the dock's grid each resolved the stored layout
(tool_layout, layout_sections, Tool::from_name per name) several times a frame.
The slots depend only on the preferences' toolbar layout, so the app keeps them
with the PrefsStore revision they were built at.
2026-11-18 20:28:54 +00:00
David MannandClaude Opus 5.5 6ec2b76b78 Tests: tone_targets builds the whole app only for the UI glue (#15648)
The three whole-app Levels/Curves tests ran the colour mode x bit depth
matrix that the engine's tone_target_picker tests already cover without
the app. They now run every dialog and target on an RGB document and the
grayscale, CMYK and Lab documents once each, where adjust_dialog::pick
branches; every selector form still runs for a layer mask and a filter
mask. A new engine test covers the Smart Filter mask picker in every mode,
depth and mask state, the one gray target the engine did not test yet.

Whole-app runs: 60 -> 25 (228 on main before #15637).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 21:12:45 +01:00
David MannandClaude Opus 5.5 d4797333de Tests: trim repeated solves and loops in engine and GPU tests (#15367)
- parity.rs: the two paging tests use a 660x580 document (3x3 pages, one interior cell)
  instead of 1100x900, and eviction runs 2 rounds; the residency tests that share the large
  document keep it. 16-bit runs only where the GPU reads the 16-bit upload (one effect stack,
  Dissolve and pattern cases). The disjoint-damage test paints 2 distinct series of 8 strokes
  and isolates its layers so strokes capture checkpoints, which makes its bytes assert able to
  fail. many_layers_submit_inside_one_chunk_paged is removed: its stats equal the whole test's.
- Coarse preview: drop an unchecked full-resolution solve; colour tests reuse solves and use
  Extend where Move only adds an unread fill.
- Crop fill eligibility is a unit test on additional_target; the integration test keeps 3 cases.
- PSD write oracle: one run with a passing and a failing case instead of two runs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 20:47:59 +01:00
aiongg a45db9ee62 Merge commit 'b7ccf085c7' into ci-fixes 2026-11-18 19:47:05 +00:00
aiongg 49c9327ce4 engine: is_enabled_with returns false for an unknown id without formatting its error
An unknown id's disabled reason ranks every command id for "did you mean";
is_enabled_with dropped that string. The menu model asks it for every row
that is not an engine command.
2026-11-18 19:43:45 +00:00
aiongg a015ef2934 Tests: engine tests on process-wide state get their own binary
The modules that assert on the scratch pool, spill configuration, simulated memory, global caches or compositor settings move to tests/global_state, where one lock makes them take turns. test-binaries lists it with the reason.
2026-11-18 19:26:28 +00:00
aiongg 877e23f543 Tests: one shared lock per process-wide global in each merged test binary
The scratch pool and spill configuration, simulated free memory and the global caches are locked from tests/it/main.rs instead of a mutex per file.
2026-11-18 19:19:35 +00:00
aiongg 0081fd10e1 Tests: merge single-file integration test binaries into one binary per crate
Each crate's top-level tests/*.rs files become modules of tests/it/main.rs, and a new xtask check (test-binaries) refuses a new single-file test binary.
2026-11-18 19:11:27 +00:00
David MannandClaude Opus 5.5 f58fa07ea7 Merge main into fix/title-bar-controls-13577
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 18:56:29 +01:00
FredApps 4e59c5528e Merge current main baseline and generated scorecard into SVG integration
Preserve upstream author fixes and final SVG pin. Fresh hosted validation remains required; no gate success implied.
2026-11-18 18:14:14 +01:00
FredApps 894456f1e3 Merge validated baseline source into SVG integration staging
Preserve #15374 author commits while preparing final immutable shared SVG pin. Baseline Windows pointer and FreeBSD gates still require repair; not a merge to main.
2026-11-18 16:37:51 +01:00
aiongg bfaf39780b test(engine): a background job applies to the layer and channels it started on (#7366)
Replaces the ui-egui window test, whose order depended on wall time, with an engine test:
the job's result is applied only by poll_jobs/wait_job on the session's thread, so a
select_layer after start always comes first.
2026-11-18 15:12:05 +00:00
FredApps faf4398de2 test(paste): align board clipping expectation with base-aware copy
Apply only the edit_cmds/tests.rs subset of FredApps commit 955cf65ae2 (#15596). The ActionList subset was integrated separately. Merged #9833 releases a copied group when its external clipping base is omitted; retain both populated and empty destination-board assertions.

Source independently reviewed; original #10538 author accepted this correction. No production behavior or test suppression.
2026-11-18 07:50:30 -05:00
FredApps 35cfb1c6d8 test(actions): adapt conditional tests to ActionStep API
Apply only the actions_edit_cmds.rs portion of FredApps commit 955cf65ae2 (PR #15596). Preserve predicate/replay/layer assertions; unrelated clipping expectation change is not included.
2026-11-18 07:03:31 -05:00
aiongg 8bc1e51260 Merge storytold main into main-gate-fixes 2026-11-18 11:06:37 +00:00
NetterSilver 5718a98c1f Record actions.conditional as one step with its predicate (#7583)
Fixes #7238.

`replayable` now also accepts `actions.conditional`, so a Conditional is recorded with its predicate instead of the branch that happened to play (or nothing). Playback then evaluates the condition again on the current document.
2026-11-18 16:43:03 +07:00
FredApps 9d57ea4b1c Merge pull request #15095 from yoriswind/codex/define-brush-visible-source-14271
Define brush presets from the visible document composite
2026-11-18 16:28:32 +07:00
FredApps 156b4f7e25 Merge pull request #11173 from hnoerenberg/fix/xmp-rdf-end-tag-flex-11116
fix(xmp): File Info keeps packets with a spaced or re-prefixed RDF end tag (#11116)
2026-11-18 16:24:44 +07:00
FredApps fef4f82e26 Merge pull request #9858 from NaufalDzz/convert-layers-knockout-isolation
Convert to Layers keeps a knockout layer isolated in a group (#9753)
2026-11-18 16:24:19 +07:00
FredApps cac9512877 Merge pull request #9833 from NaufalDzz/paste-release-orphan-clip
Copy releases a clipped layer copied without its base (#9736)
2026-11-18 16:23:53 +07:00
FredApps 68f3d9db8c Merge pull request #10570 from yoriswind/codex/layer-comp-capture
Skip unused property capture in Layer Comp updates
2026-11-18 16:23:28 +07:00
FredApps 8d0fcb1b29 Merge pull request #10306 from Lcoding15/fix/select-all-active-artboard
Select: All selects the active artboard (#10258)
2026-11-18 16:23:04 +07:00
David Mann 2ff9614a90 Merge origin/main into fix/title-bar-controls-13577
Main moved the UI onto the craft framework (#15449), which rewrote the
top bar. The conflicts take main's files; the top bar's trailing region
is emptied again on top of them, and appearance_button and
workspace_ui::switcher go with it. The favourite theme stars stay for
now (#13581), so the prefs model, validation and scorecard match main.
2026-11-18 02:08:25 +01:00
FredApps ccc82156ce Keep smart source cache hits within decode context 2026-11-17 22:37:52 +01:00
Terra854 c1c53e2942 Preserve smart-object SVG compatibility and address review
Merge PhotoCraft main, retaining its framework dependency snapshot. Keep compressed smart-object refresh on native-size import, preserve omission warnings, and avoid redundant stage probes. Cover the save/reopen path, parser limits, and the native save-back notice.
2026-11-18 02:27:31 +08:00
aiongg f698beef33 Prefs: the settings store options and read_saved are desktop-only, as craft-settings' store is 2026-11-17 17:46:50 +00:00
David Mann 01a5b5a389 Merge pull request #15381 from davidmann4/perf/test-speed-quick-wins
Test speed: no font scan in test processes, CMYK profile once, raw-develop at one depth (#15377)
2026-11-17 16:49:07 +01:00