Commit Graph
15989 Commits
Author SHA1 Message Date
FredApps 6b207c5b55 Share built-in brush presets across sessions 2026-11-19 08:41:16 +01:00
FredApps 8b68407a61 Reduce blur and selection test fixtures 2026-11-19 08:36:50 +01:00
FredApps 567b88610a Pair tone target test flags 2026-11-19 08:36:47 +01:00
FredApps 5e6b4c0945 Use typed blend modes in Layers menu 2026-11-19 08:35:06 +01:00
FredApps 35219ec6a1 Track surface pixel generations 2026-11-19 08:27:27 +01:00
FredApps 63ac4be5a2 Reduce redundant pixelate fixture combinations 2026-11-19 08:17:10 +01:00
FredApps cb019d6cc6 Initialize the measurement callback in the isolated spill manager 2026-11-19 08:10:56 +01:00
FredApps 3ee723a525 Reduce slow engine test fixtures 2026-11-19 08:01:29 +01:00
FredApps 236bc84a5e Give scratch tests a deterministic volume capacity 2026-11-19 08:01:25 +01:00
FredApps e681044bf5 Reduce slow algorithm test fixtures 2026-11-19 07:58:27 +01:00
FredApps 4e949fa450 Track engine change signals 2026-11-19 07:57:34 +01:00
aiongg c353bd0274 windows_delay_loads: read the exe path at run time, so a run from a nextest archive finds it 2026-11-19 06:34:17 +00:00
aiongg ec40c48cc2 ci: build the tests once per OS and run the shards from a nextest archive 2026-11-19 06:34:17 +00:00
RickiNano abb9f582b7 Duplicate Layer: key the destination by document id, not tab index
The Document choice stored a tab index, so reordering tabs or closing
another document while the dialog was open sent the copy to whichever
document took the chosen one's place. The choice now holds the document's
id, resolved to its current index at OK; a destination closed meanwhile
refuses OK with the reason and keeps the dialog open.
2026-11-19 07:06:12 +01:00
aiongg 856f865cf9 Merge pull request #15699 from aiongg/test-profile-opt-levels
Test profile: framework runtime at opt-level 1, engine at opt-level 0
2026-11-19 01:05:30 -05:00
RickiNano 6adf63ef55 Merge remote-tracking branch 'origin/main' into color-settings-presets-14229 2026-11-19 06:29:43 +01:00
RickiNano dbc59786ef Merge remote-tracking branch 'origin/main' into fix/duplicate-layer-indexed-14612 2026-11-19 06:29:41 +01:00
aiongg 22a1e6ce5f test profile: framework runtime back at opt-level 1, engine at opt-level 0
At opt-level 0 the framework runtime made the whole-app UI tests about 60%
slower on Linux and 30% on Windows. The framework comes from the CI cache
and compiles only when the craft-libs pin moves, so the build saving
appeared on few runs while every run paid in test time. The engine is a
workspace crate that every test job compiles: at 0 its build is about 20%
shorter and its tests 7-8% longer.
2026-11-19 05:21:42 +00:00
aiongg 057297bb0b Merge pull request #15687 from aiongg/ci-strip-opt0
ci: strip test binaries and build the craft framework at opt-level 0 in test builds
2026-11-18 22:35:15 -05:00
aiongg fcde8667d9 Merge pull request #15480 from aiongg/pin-craft-libs-picker
Colour picker: Photoshop's arrangement (craft-libs pin)
2026-11-18 22:08:43 -05:00
yoriswind db13b3fcf8 Merge main lint repairs into Free Transform task bar 2026-11-18 19:06:25 -08:00
hnoerenberg 13418925ca Test: the merge's type-history fixtures build the app like main's test frame
The wave merge of main (a1ae1f64b) left one compile error on the branch:
unchanged_edit_history_tests.rs returned a PhotocraftApp from its factory while
main's PhotocraftApp::new now boxes the app (E0308). Follow main's test-frame
convention: the factory returns Box<PhotocraftApp>, which every helper call site
already derefs.
2026-11-19 04:00:48 +01:00
yoriswind 1b1dbacce3 Merge main while retaining complete Worker regression matrices 2026-11-18 18:51:36 -08:00
jayzed80 5c7db90e2a fix(engine): start a new Find round when the search criteria change (#15007)
Clear the remembered round origin together with the cursor when the find
text or an option differs, and on a zero-hit Change All, so a new query
cannot stop at the layer an earlier round started in.

Adds changed_query_starts_a_new_round_and_reaches_the_old_origin.
2026-11-19 02:46:32 +00:00
jayzed80 e1f734166c Merge remote-tracking branch 'upstream/main' into fix/find-replace-search-order-14661 2026-11-19 02:39:59 +00:00
jayzed80 7752a5c076 Composite 8/16-bit Grayscale Gradient Maps on the CPU
The shader's Gradient Map LUT returns the stop colour unchanged, so the
GPU compositor kept a coloured gradient in a Grayscale document while
the CPU path now keeps the stop colour's CIE L* (#14698). The planner
returns Unsupported for that case, as it does for CMYK/Lab channels, so
the whole document falls back to the CPU compositor.
2026-11-19 02:24:19 +00:00
aiongg 0052ec5ce9 ci: strip test binaries and build the craft framework at opt-level 0 in test builds 2026-11-19 02:20:03 +00:00
jayzed80 3dffdf3254 Merge remote-tracking branch 'upstream/main' into fix/gradient-map-grayscale-lightness-14698 2026-11-19 02:03:19 +00:00
aiongg 9a1308e09e Merge remote-tracking branch 'upstream/main' into pin-craft-libs-picker 2026-11-19 01:57:02 +00:00
aiongg 7abaf8a327 Image Size test: read the unit selects' values by their labels 2026-11-19 01:55:31 +00:00
hnoerenberg 31753ef4cb Merge upstream/main into fix/outer-glow-range-one-14958 2026-11-19 02:52:59 +01:00
hnoerenberg b2764ca1cd Merge upstream/main into fix/content-aware-stripes-14191 2026-11-19 02:52:42 +01:00
hnoerenberg 3e77aed6f3 Merge upstream/main into fix/outer-glow-defaults-14944 2026-11-19 02:52:37 +01:00
hnoerenberg c833af6559 Merge upstream/main into fix/outer-glow-noise-14952 2026-11-19 02:52:31 +01:00
hnoerenberg 750dc456f6 Merge upstream/main into fix/inner-glow-noise-14936 2026-11-19 02:52:26 +01:00
FredApps ef1d300b34 Merge pull request #15686 from dotCooCoo/fix/ipp-never-crash-attribute
IPP: the re-export crate keeps the never-crash lints, so the scorecard is current again
2026-11-19 08:41:53 +07:00
David MannandClaude Opus 5.5 90d9e35aff Integration: #15480: the Image Size test reads Pixels as the unit selects' value
The Width and Height unit selects are labelled "Width unit" and "Height unit" and show Pixels as their value, so
looking for a node labelled "Pixels" found none (it failed on Linux and Windows CI too).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 02:37:11 +01:00
jayzed80 fab1fb5ca8 Merge remote-tracking branch 'upstream/main' into fix/anchor-tool-delete-key-12734
# Conflicts:
#	crates/ui-egui/src/input/shortcuts.rs
#	crates/ui-egui/src/tools/vector_ui.rs
#	crates/ui-egui/src/tools/vector_ui/path_ops.rs
2026-11-19 01:23:05 +00:00
dotCooCoo a89a4faa49 IPP: the re-export crate keeps the never-crash lints
#15684 replaced crates/ipp/src/lib.rs with a re-export of craft_ipp and
dropped the crate's forbid(unsafe_code) and never-crash deny lines. The
scorecard counts that attribute on every crate root, so docs/scorecard.md
went stale on main and `scorecard::tests::staleness_check_and_determinism`
and the lint job's `scorecard` step fail on every pull request.

This puts the two lines back, so the scorecard reads 25 of 25 again and
matches the committed docs/scorecard.md.
2026-11-18 17:09:06 -08:00
hnoerenberg 3d1b4633d9 Merge upstream/main into fix/inner-shadow-antialiased-14934 2026-11-19 02:00:52 +01:00
hnoerenberg 4affa542d3 Merge upstream/main into fix/inner-shadow-size-one-14933 2026-11-19 02:00:39 +01:00
hnoerenberg 22562e53b4 Merge upstream/main into fix/layer-from-bg-name-14821 2026-11-19 02:00:22 +01:00
hnoerenberg b71bf0ced0 Merge upstream/main into fix/bevel-reset-angle-14843 2026-11-19 02:00:18 +01:00
hnoerenberg 2bbcdf5c65 test(ui): pin Make Default with Use Global Light on
Owner decision on #14887: the Reset to Default behaviour stands (Photoshop
behaviour is the reference), and the Make-Default direction now gets a pin.
make_default_keeps_the_typed_shared_angle clicks the Bevel page's Make Default
with Angle 45 typed under the shared light: the stored defaults carry the shown
45 and useGlobalLight on, never the factory 120, and after retyping the light
to 30 a Reset to Default follows the live shared angle, not the stored literal.
Guard pin, no behaviour change; with the branch's reset seeding temporarily
disabled the new test fails, so the pin bites. tests::harness becomes
pub(super) for the button click.
2026-11-19 02:00:04 +01:00
David MannandClaude Opus 5.5 9be5f35235 Integration: regenerate docs/scorecard.md
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 01:47:44 +01:00
David MannandClaude Opus 5.5 eb55919530 Integration: #15608: craft counts as a UI dependency only with its UI features (#15467)
Listing craft by name in UI_CRATES flagged photocraft-algo, -io, -text and -engine, which use the facade's non-UI
parts (imaging, fonts, keymap, settings), so cargo xtask layers failed on the workspace. The facade brings the craft UI
framework (craft-ui, egui) only through `ui` and the features that turn it on (`ui-*`, `screen-testing`), so the
guard now reads each dependency's declared features from cargo metadata and flags craft below L6 only with one of
those. Tests: craft with ui, ui-app or screen-testing below L6 fails (normal and dev), the features the workspace
uses today pass, L6 may use them all, and metadata parsing keeps the features. Both fail with the feature rule empty.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 01:47:44 +01:00
David MannandClaude Opus 5.5 56e818059f Integration: #15585: the Free Transform preview test harness holds the boxed app
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 01:47:43 +01:00
David MannandClaude Opus 5.5 15321f219e Integration: #15561: the dialog-title test harness holds the boxed app, as build_eframe returns it
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 01:47:43 +01:00
David MannandClaude Opus 5.5 73b13c8424 Integration: #15631: Id::unique in place of the deprecated Id::new in the discard-prompt test
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 01:47:43 +01:00
David MannandClaude Opus 5.5 248fd87a6a Integration: #15504 with #15496: the toolbar's measured height keys on the fixed flyout side
#15504 removes panel_docking::toolbar_opens (flyouts always open the same way); #15496's measure cache still read it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 01:47:43 +01:00