Commit Graph
2157 Commits
Author SHA1 Message Date
aiongg 7ac7b8b106 refactor(selection): take the feather reach from the blur (#9802)
The feather's ⌈3σ⌉ truncation radius was written out in the blur and again in two engine callers: the windowed marquee and lasso feather (#9794) and the canvas-edge padding of Select › Modify › Feather. selection::feather_reach returns it from the blur's own σ rules, and both callers use it, so a change to the blur's reach can't leave them behind. Output is unchanged; a test pins that the feather leaves everything past its reach at zero.
2026-10-27 01:07:05 -04:00
aiongg a27436adcb Merge main into perf/selection-morphology
Resolves the move of crates/engine/src/selection_cmds.rs to cmd/selection_cmds.rs: the two hunks apply at the new path, and modify_window.rs with its tests moves under cmd/selection_cmds/.
2026-10-27 04:27:45 +00:00
Khawar Zamman Wani 55b8df82fc perf(selection): window marquee and lasso feather masks (#9794)
* perf: window marquee and lasso feather masks to drawn bounds

* perf: benchmark small feathered tool selections on a 24 MP canvas
2026-10-27 00:12:47 -04:00
aiongg b32f4a0a55 test(engine): name the print_cmds child tests by their cmd:: path
The spooling tests rerun themselves in a child process with an exact test-name filter. print_cmds moved under cmd/, so the filters name cmd::print_cmds::tests::…; with the old names the child ran no tests.
2026-10-26 22:54:55 +00:00
aiongg 501b7f3459 refactor(engine): move the *_cmds modules under cmd/ 2026-10-26 22:54:55 +00:00
aiongg 27d3634239 refactor(engine): move commands.rs to cmd.rs 2026-10-26 22:54:55 +00:00
aiongg 0b9ac7cd95 refactor(engine): split web_cmds.rs into web_cmds/ 2026-10-26 22:30:15 +00:00
aiongg 7c3e2b290d refactor(engine): split smart_cmds.rs into smart_cmds/ 2026-10-26 22:30:15 +00:00
aiongg f272036432 refactor(engine): split retouch_cmds.rs into retouch_cmds/ 2026-10-26 22:30:15 +00:00
aiongg 4294b6a145 refactor(engine): split vector_cmds.rs into vector_cmds/ 2026-10-26 22:30:15 +00:00
aiongg 9dad49f387 refactor(engine): split channel_cmds.rs into channel_cmds/ 2026-10-26 22:30:15 +00:00
aiongg 7f31ed863c refactor(engine): split file_cmds.rs into file_cmds/ 2026-10-26 22:30:15 +00:00
aiongg 2f4f76224c refactor(engine): split edit_menu_cmds.rs into edit_menu_cmds/ 2026-10-26 22:30:15 +00:00
aiongg 8a2750cf34 refactor(engine): split layer_multi_cmds.rs into layer_multi_cmds/ 2026-10-26 22:30:15 +00:00
aiongg e0eb3f4b1b refactor(engine): split commands.rs into commands/ 2026-10-26 22:30:15 +00:00
aiongg 2fd1e065a1 refactor(engine): split prefs.rs into prefs/ 2026-10-26 22:30:15 +00:00
aiongg cfe8a1d991 refactor(engine): split atn_cmds.rs into atn_cmds/ 2026-10-26 22:30:15 +00:00
aiongg f0a3c5527b refactor(engine): split session.rs into session/ 2026-10-26 22:30:15 +00:00
aiongg f513e2d682 refactor(engine): move the error, document state and Session impl out of lib.rs 2026-10-26 22:30:15 +00:00
aiongg a752019bfd refactor(engine): move pixels_tests.rs to pixels/tests.rs 2026-10-26 22:30:14 +00:00
aiongg c4a3c25903 refactor(engine): move flatten_cmyk_tests.rs to pixels/flatten_cmyk_tests.rs 2026-10-26 22:30:14 +00:00
aiongg e4095cc3da refactor(engine): move jobs_tests.rs to jobs/tests.rs 2026-10-26 22:30:14 +00:00
aiongg 93ae1101c9 refactor(engine): move display_color_tests.rs to display_color/tests.rs 2026-10-26 22:30:14 +00:00
aiongg a94321e0f3 refactor(engine): move filters/validation.rs tests to filters/validation/tests.rs 2026-10-26 22:30:12 +00:00
aiongg 038c3745cf refactor(engine): move extra_cmds.rs tests to extra_cmds/tests.rs 2026-10-26 22:30:12 +00:00
aiongg 0e2ee0a858 refactor(engine): move image_cmds.rs tests to image_cmds/tests.rs 2026-10-26 22:30:12 +00:00
aiongg fb63ad5f7d refactor(engine): move photo_cmds.rs tests to photo_cmds/tests.rs 2026-10-26 22:30:12 +00:00
aiongg b6f8d5227f refactor(engine): move smartselect_cmds.rs tests to smartselect_cmds/tests.rs 2026-10-26 22:30:12 +00:00
aiongg c46f273c85 refactor(engine): move filters.rs tests to filters/tests.rs 2026-10-26 22:30:12 +00:00
aiongg 7224203641 refactor(engine): move selection_cmds.rs tests to selection_cmds/tests.rs 2026-10-26 22:30:12 +00:00
aiongg 50e27b0f41 refactor(engine): move actions_cmds.rs tests to actions_cmds/tests.rs 2026-10-26 22:30:12 +00:00
aiongg aad7e989e3 refactor(engine): move warp_cmds.rs tests to warp_cmds/tests.rs 2026-10-26 22:30:12 +00:00
aiongg 19dd5d25f8 refactor(engine): move align_cmds.rs tests to align_cmds/tests.rs 2026-10-26 22:30:12 +00:00
aiongg 740db3772a refactor(engine): move layer_multi_cmds.rs layers_panel_parity_tests to layer_multi_cmds/layers_panel_parity_tests.rs 2026-10-26 22:30:12 +00:00
aiongg 31899852e3 refactor(engine): move layer_multi_cmds.rs tests to layer_multi_cmds/tests.rs 2026-10-26 22:30:12 +00:00
aiongg f3e5fb68d6 refactor(engine): move fill_cmds.rs tests to fill_cmds/tests.rs 2026-10-26 22:30:12 +00:00
aiongg 88daf5e501 refactor(engine): move paint_cmds.rs tests to paint_cmds/tests.rs 2026-10-26 22:30:12 +00:00
aiongg 356baadcf7 refactor(engine): move layer_style.rs tests to layer_style/tests.rs 2026-10-26 22:30:12 +00:00
aiongg 5fd2de8ac2 refactor(engine): move sampler_cmds.rs tests to sampler_cmds/tests.rs 2026-10-26 22:30:12 +00:00
aiongg c58e8a6fe2 refactor(engine): move adjust_params.rs tests to adjust_params/tests.rs 2026-10-26 22:30:12 +00:00
aiongg 3f4d8ee025 refactor(engine): move brush_preset_cmds.rs tests to brush_preset_cmds/tests.rs 2026-10-26 22:30:12 +00:00
aiongg a1c0862613 refactor(engine): move edit_cmds.rs tests to edit_cmds/tests.rs 2026-10-26 22:30:12 +00:00
aiongg c0c06bc58a refactor(engine): move type_cmds.rs tests to type_cmds/tests.rs 2026-10-26 22:30:12 +00:00
aiongg 56a7e9ab47 refactor(engine): move transform_cmds.rs tests to transform_cmds/tests.rs 2026-10-26 22:30:12 +00:00
aiongg 640d35c19a refactor(engine): move src/presets/mod.rs to src/presets.rs 2026-10-26 22:13:07 +00:00
Dylan M. Taylor a0ce166acd refactor: lower cognitive complexity in styles apply, affinity text read and warp identity 2026-10-26 16:01:43 -04:00
Khawar Zamman Wani 8a2acd5ad6 fix: guard cropped selection bounds against corrupt tile coordinates 2026-10-26 19:26:33 +05:30
Khawar Zamman Wani c66899e0a5 test: simplify selection fixtures for strict Clippy 2026-10-26 19:08:28 +05:30
Khawar Zamman Wani be43268ffa perf: crop Modify command mask conversion and selection replacement 2026-10-26 19:02:43 +05:30
Dylan M. Taylor d3b0a76c3f lint: drop blank lines after doc comments and attributes; tidy IME else, closure, shell tests (#9576)
- Remove blank lines between doc comments or #[test] attributes and the item (S8855, S8856)
- type_tool: drop the redundant else after continue in the IME event arm (S8862)
- ui_state: pass OsStr::to_os_string instead of an equivalent closure (S1612)
- macos packaging: [[ ]] for the attempt test (S7688); bind validate_staple's argument to a local (S7679)
2026-10-25 22:08:50 -04:00