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
This commit is contained in:
aiongg committed 2026-11-22 19:29:06 +00:00
1 parent b69ad02ccc
commit 519a0c22a3
36 files changed
+530 -345

No files matched your search

+261 -261
View File
@@ -14,7 +14,7 @@ bin linux photocraft-color 37 1.67
bin linux photocraft-compose 536 61.79
bin linux photocraft-compose::it 9 0.33
bin linux photocraft-doc 85 1.85
bin linux photocraft-engine 4444 1033.26
bin linux photocraft-engine-core 4444 1033.26
bin linux photocraft-engine::global_state 27 18.61
bin linux photocraft-engine::it 745 420.58
bin linux photocraft-engine::panic_hunt 2 12.37
@@ -161,104 +161,104 @@ test linux photocraft-compose 4.89 tests::one_colour_areas_reduce_like_composite
test linux photocraft-compose 1.25 tests::shapeless_effects_render_the_same_in_bands_and_parts
test linux photocraft-compose 1.46 viewport::tests::reduced_pages_match_averaging_every_composited_pixel
test linux photocraft-doc 1.10 slices::tests::nested_slices_resolve_in_bounded_work
test linux photocraft-engine 1.17 cmd::align_cmds::tests::auto_align_keeps_a_locked_layer_as_the_reference
test linux photocraft-engine 5.04 cmd::align_cmds::tests::auto_align_registers_a_smooth_bracket_by_intensity
test linux photocraft-engine 1.29 cmd::align_cmds::tests::auto_align_rejects_unrelated_layers_instead_of_guessing_a_pose
test linux photocraft-engine 1.24 cmd::artboard_cmds::include_name_tests::a_name_taller_than_the_border_never_draws_over_the_board
test linux photocraft-engine 1.23 cmd::artboard_cmds::include_name_tests::bad_name_options_never_panic
test linux photocraft-engine 1.04 cmd::atn_cmds::render_tests::render_actions_match_direct_filters_and_undo
test linux photocraft-engine 1.76 cmd::atn_cmds::stylize_tests::imported_group_d_playback_matches_direct_commands_across_modes_and_depths
test linux photocraft-engine 2.90 cmd::brush_cmds::mixer_live_tests::mixer_command_outgrows_the_preview_tile_budget_without_losing_the_stroke
test linux photocraft-engine 5.26 cmd::brush_cmds::mixer_live_tests::mixer_command_paints_strokes_beyond_the_preview_sample_and_dab_budgets
test linux photocraft-engine 3.82 cmd::brush_cmds::mixer_live_tests::mixer_large_brushes_replay_after_the_preview_budget
test linux photocraft-engine 2.32 cmd::channel_cmds::apply_image_locked_layer_tests::a_locked_layer_gets_the_preserve_transparency_result
test linux photocraft-engine 1.32 cmd::cutout_cmds::tests::remove_background_masks_the_subject_at_every_depth_and_undoes
test linux photocraft-engine 1.46 cmd::cutout_cmds::tests::remove_background_on_a_layer_smaller_than_the_canvas_masks_the_subject_not_the_layer
test linux photocraft-engine 1.66 cmd::distort_cmds::tests::puppet_refuses_pins_that_stretch_the_content_too_far
test linux photocraft-engine 1.86 cmd::edit_cmds::tests::tiled_lift_matches_the_whole_area_lift
test linux photocraft-engine 13.56 cmd::edit_menu_cmds::tests::content_aware_fill_samples_photoshops_window
test linux photocraft-engine 4.41 cmd::edit_menu_cmds::tests::content_aware_fill_takes_the_workspace_edits
test linux photocraft-engine 3.17 cmd::edit_menu_cmds::tests::delete_and_fill_selection_removes_the_object_in_one_step
test linux photocraft-engine 1.37 cmd::eraser_cmds::transparency_lock_tests::with_a_colour_channel_target_the_preview_matches_the_commit_on_a_locked_layer
test linux photocraft-engine 11.13 cmd::file_cmds::export::export_clut_stack_tests::a_huge_canvas_still_bakes_the_stack
test linux photocraft-engine 8.05 cmd::file_cmds::place_job_tests::a_cooperative_place_equals_the_inline_place
test linux photocraft-engine 1.09 cmd::file_cmds::place_resolution_tests::the_resolution_scale_comes_before_the_fit_to_the_canvas
test linux photocraft-engine 2.84 cmd::image_cmds::tests::crop_target_budgets_the_hidden_pixels_it_resamples
test linux photocraft-engine 2.24 cmd::image_cmds::tests::crop_to_a_target_size_and_resolution_is_one_step
test linux photocraft-engine 3.14 cmd::image_cmds::tests::turned_crop_deleting_pixels_matches_turning_the_whole_canvas
test linux photocraft-engine 6.75 cmd::layer_multi_cmds::tile_damage_tests::painting_command_hints_cover_their_changed_tiles
test linux photocraft-engine 1.04 cmd::mode_cmds::rotate_canvas_interpolation_pref_tests::not_measured_preferences_keep_todays_bicubic_result
test linux photocraft-engine 1.31 cmd::mode_cmds::rotate_canvas_right_angle_tests::arbitrary_right_angles_match_the_dedicated_rotation_commands
test linux photocraft-engine 3.70 cmd::mode_cmds::tests::bitmap_custom_pattern_accepts_compact_pattern_past_full_rgba_limit
test linux photocraft-engine 3.25 cmd::mode_cmds::tests::bitmap_output_resolution_budgets_the_whole_conversion_not_just_the_resample
test linux photocraft-engine 1.61 cmd::mode_cmds::tests::duotone_to_colour_modes_keeps_the_ink_colours
test linux photocraft-engine 12.44 cmd::pattern_cmds::tests::defined_patterns_over_4096_squared_paint_or_are_refused
test linux photocraft-engine 1.01 cmd::photo_cmds::photomerge_layer_order_tests::blended_composite_does_not_depend_on_the_stacking
test linux photocraft-engine 1.15 cmd::photo_cmds::photomerge_layer_order_tests::fill_layer_stays_above_the_sources
test linux photocraft-engine 1.53 cmd::photo_cmds::photomerge_layer_order_tests::first_source_is_the_top_layer
test linux photocraft-engine 2.01 cmd::photo_cmds::photomerge_name_tests::a_second_panorama_gets_another_number
test linux photocraft-engine 1.96 cmd::photo_cmds::photomerge_name_tests::panorama_is_untitled_panorama_1_whatever_else_is_open
test linux photocraft-engine 2.81 cmd::photo_cmds::tests::hdr_merge_from_synthetic_exposures
test linux photocraft-engine 8.35 cmd::photo_cmds::tests::photomerge_cylindrical_with_fill
test linux photocraft-engine 3.72 cmd::photo_cmds::tests::photomerge_open_documents_ignores_the_folder
test linux photocraft-engine 2.41 cmd::photo_cmds::tests::photomerge_open_documents_reposition_and_perspective
test linux photocraft-engine 4.76 cmd::retouch_cmds::art_history::tests::large_brush_click_is_not_too_large
test linux photocraft-engine 2.53 cmd::retouch_cmds::clone_source_layer_tests::clone_healing_absent_source_preserves_nonuniform_destinations
test linux photocraft-engine 3.74 cmd::retouch_cmds::clone_source_layer_tests::clone_no_alpha_sources_clip_preview_live_and_commit_at_all_canvas_corners
test linux photocraft-engine 84.40 cmd::retouch_cmds::content_aware_move::color_tests::a_brightness_change_shifts_the_middle_only_past_color_five
test linux photocraft-engine 42.09 cmd::retouch_cmds::content_aware_move::color_tests::a_flat_patch_matches_the_new_surroundings_at_color_ten
test linux photocraft-engine 59.07 cmd::retouch_cmds::content_aware_move::color_tests::color_ten_on_green_leaves_the_middle_and_blends_the_edge
test linux photocraft-engine 10.55 cmd::retouch_cmds::content_aware_move::tests::a_coarse_preview_keeps_a_faint_sparse_selection
test linux photocraft-engine 7.63 cmd::retouch_cmds::content_aware_move::tests::a_preview_within_the_full_resolution_budget_is_the_plain_solve_bit_for_bit
test linux photocraft-engine 14.20 cmd::retouch_cmds::patch::patch_destination_selection_tests::content_aware_keeps_the_selection_and_changes_the_pixels
test linux photocraft-engine 2.68 cmd::retouch_cmds::patch_history_names_tests::applying_a_patch_is_one_step_named_patch_selection_in_every_mode
test linux photocraft-engine 1.99 cmd::retouch_cmds::remove::remove_new_layer_name_tests::a_taken_name_gives_the_first_free_one
test linux photocraft-engine 1.23 cmd::retouch_cmds::remove::remove_new_layer_name_tests::successive_strokes_name_remove_tool_edits_then_1_then_2_each_above_the_active_layer
test linux photocraft-engine 1.01 cmd::retouch_cmds::remove_history_name_tests::one_stroke_is_one_step_named_remove_tool_in_every_mode_and_depth
test linux photocraft-engine 1.38 cmd::retouch_cmds::tests::content_aware_extend_keeps_the_original
test linux photocraft-engine 4.97 cmd::retouch_cmds::tests::content_aware_move_coarse_preview_handles_transform_extend_and_limits
test linux photocraft-engine 1.85 cmd::retouch_cmds::tests::content_aware_move_fails_gracefully
test linux photocraft-engine 9.65 cmd::retouch_cmds::tests::content_aware_move_moves_the_object_and_fills_its_place_at_all_depths
test linux photocraft-engine 4.42 cmd::retouch_cmds::tests::content_aware_move_overlapping_at_the_edge_and_on_other_targets
test linux photocraft-engine 7.02 cmd::retouch_cmds::tests::content_aware_move_preview_shows_the_result_without_touching_the_session
test linux photocraft-engine 35.99 cmd::retouch_cmds::tests::content_aware_move_previews_large_selections_coarse_then_exact
test linux photocraft-engine 5.54 cmd::retouch_cmds::tests::content_aware_move_samples_all_layers_onto_an_empty_layer
test linux photocraft-engine 12.56 cmd::retouch_cmds::tests::content_aware_move_structure_and_color_shape_the_result
test linux photocraft-engine 9.49 cmd::retouch_cmds::tests::content_aware_move_transform_on_drop_scales_and_rotates_the_content
test linux photocraft-engine 12.99 cmd::retouch_cmds::tests::live_dab_batches_match_the_accumulating_renderer
test linux photocraft-engine 1.53 cmd::retouch_cmds::tests::live_dab_rejects_invalid_batches_without_changing_the_preview
test linux photocraft-engine 8.69 cmd::retouch_cmds::tests::live_dab_strokes_commit_their_pixels_and_they_are_the_commands
test linux photocraft-engine 3.71 cmd::retouch_cmds::tests::patch_content_aware_copies_the_dragged_to_content_into_the_selection
test linux photocraft-engine 1.37 cmd::retouch_cmds::tests::protect_detail_drags_at_the_default_spacing_widen_the_halo_without_banding
test linux photocraft-engine 1.47 cmd::retouch_cmds::tests::remove_a_ring_around_an_object_removes_it_in_one_undo_step
test linux photocraft-engine 2.28 cmd::retouch_cmds::tests::sample_all_layers_spot_healing_heals_onto_an_empty_layer
test linux photocraft-engine 14.35 cmd::retouch_cmds::tests::spot_healing_keeps_film_grain_through_overlapping_strokes
test linux photocraft-engine 4.92 cmd::retouch_cmds::tests::spot_healing_removes_blemish_all_types
test linux photocraft-engine 1.26 cmd::retouch_cmds::tests::the_tools_the_reference_application_does_not_wrap_stop_at_the_canvas_edge
test linux photocraft-engine 4.24 cmd::selection_cmds::color_range_window_tests::cropped_range_matches_full_canvas_combinations_with_soft_holes_and_clipped_masks
test linux photocraft-engine 3.30 cmd::selection_cmds::modify_window::tests::cropped_commands_match_full_canvas_reads_padding_and_writeback
test linux photocraft-engine 7.71 cmd::selection_cmds::tests::windowed_tool_feather_matches_full_canvas
test linux photocraft-engine 1.93 cmd::slice_cmds::tests::divide_refuses_more_parts_than_one_division_makes
test linux photocraft-engine 2.05 cmd::smart_cmds::tests::selection::selected_pixels_become_one_editable_smart_object_in_every_mode_and_depth
test linux photocraft-engine 2.52 cmd::smart_cmds::tests::source_flatten::effects_across_block_edges_match
test linux photocraft-engine 3.27 cmd::smart_cmds::tests::svg_profile::svg_smart_contents_and_stack_open_many_shapes_as_layers
test linux photocraft-engine 3.36 cmd::smart_cmds::tests::svg_profile::svg_warp_frame_uses_bounded_bounds
test linux photocraft-engine 1.49 cmd::smartselect_cmds::object_hard_edge_tests::hard_edge_off_on_the_reference_disc
test linux photocraft-engine 2.04 cmd::smartselect_cmds::object_hard_edge_tests::hard_edge_on_is_unchanged_on_the_reference_document
test linux photocraft-engine 4.11 cmd::smartselect_cmds::tests::refine_edge_accepts_huge_sparse_and_solid_selections
test linux photocraft-engine 1.54 cmd::smartselect_cmds::tests::refine_edge_edits_object_and_subject
test linux photocraft-engine 1.02 cmd::swatch_cmds::tests::library_limits
test linux photocraft-engine 8.27 color_channels::tone::tests::fused_tiles_match_scalar_oracle_at_all_depths_and_modes
test linux photocraft-engine 1.76 color_channels::tone_dialog_tests::tone_dialog_normalization_matches_native_execution
test linux photocraft-engine 1.60 jobs::tests::content_aware_fill_and_scale_run_as_jobs
test linux photocraft-engine 2.82 jobs::tests::content_aware_move_runs_as_a_job
test linux photocraft-engine 1.07 jobs::tests::remove_runs_as_a_job
test linux photocraft-engine 1.07 layer_style::tests::oversized_satin_and_bevel_sizes_stay_saveable_and_render
test linux photocraft-engine 1.20 new_layer::tests::neutral_fills_leave_the_image_unchanged
test linux photocraft-engine 39.06 pixels::tests::tiled_adjustment_matches_one_pass_over_the_content
test linux photocraft-engine 13.64 pixels::tests::tiled_clear_and_fill_match_one_pass_over_the_area
test linux photocraft-engine 3.84 select_mask_edits::tests::thin_edits_across_a_huge_canvas_paint_only_their_tiles
test linux photocraft-engine 8.54 tests::file_new_at_the_size_limit_does_not_fill_every_tile
test linux photocraft-engine-core 1.17 cmd::align_cmds::tests::auto_align_keeps_a_locked_layer_as_the_reference
test linux photocraft-engine-core 5.04 cmd::align_cmds::tests::auto_align_registers_a_smooth_bracket_by_intensity
test linux photocraft-engine-core 1.29 cmd::align_cmds::tests::auto_align_rejects_unrelated_layers_instead_of_guessing_a_pose
test linux photocraft-engine-core 1.24 cmd::artboard_cmds::include_name_tests::a_name_taller_than_the_border_never_draws_over_the_board
test linux photocraft-engine-core 1.23 cmd::artboard_cmds::include_name_tests::bad_name_options_never_panic
test linux photocraft-engine-core 1.04 cmd::atn_cmds::render_tests::render_actions_match_direct_filters_and_undo
test linux photocraft-engine-core 1.76 cmd::atn_cmds::stylize_tests::imported_group_d_playback_matches_direct_commands_across_modes_and_depths
test linux photocraft-engine-core 2.90 cmd::brush_cmds::mixer_live_tests::mixer_command_outgrows_the_preview_tile_budget_without_losing_the_stroke
test linux photocraft-engine-core 5.26 cmd::brush_cmds::mixer_live_tests::mixer_command_paints_strokes_beyond_the_preview_sample_and_dab_budgets
test linux photocraft-engine-core 3.82 cmd::brush_cmds::mixer_live_tests::mixer_large_brushes_replay_after_the_preview_budget
test linux photocraft-engine-core 2.32 cmd::channel_cmds::apply_image_locked_layer_tests::a_locked_layer_gets_the_preserve_transparency_result
test linux photocraft-engine-core 1.32 cmd::cutout_cmds::tests::remove_background_masks_the_subject_at_every_depth_and_undoes
test linux photocraft-engine-core 1.46 cmd::cutout_cmds::tests::remove_background_on_a_layer_smaller_than_the_canvas_masks_the_subject_not_the_layer
test linux photocraft-engine-core 1.66 cmd::distort_cmds::tests::puppet_refuses_pins_that_stretch_the_content_too_far
test linux photocraft-engine-core 1.86 cmd::edit_cmds::tests::tiled_lift_matches_the_whole_area_lift
test linux photocraft-engine-core 13.56 cmd::edit_menu_cmds::tests::content_aware_fill_samples_photoshops_window
test linux photocraft-engine-core 4.41 cmd::edit_menu_cmds::tests::content_aware_fill_takes_the_workspace_edits
test linux photocraft-engine-core 3.17 cmd::edit_menu_cmds::tests::delete_and_fill_selection_removes_the_object_in_one_step
test linux photocraft-engine-core 1.37 cmd::eraser_cmds::transparency_lock_tests::with_a_colour_channel_target_the_preview_matches_the_commit_on_a_locked_layer
test linux photocraft-engine-core 11.13 cmd::file_cmds::export::export_clut_stack_tests::a_huge_canvas_still_bakes_the_stack
test linux photocraft-engine-core 8.05 cmd::file_cmds::place_job_tests::a_cooperative_place_equals_the_inline_place
test linux photocraft-engine-core 1.09 cmd::file_cmds::place_resolution_tests::the_resolution_scale_comes_before_the_fit_to_the_canvas
test linux photocraft-engine-core 2.84 cmd::image_cmds::tests::crop_target_budgets_the_hidden_pixels_it_resamples
test linux photocraft-engine-core 2.24 cmd::image_cmds::tests::crop_to_a_target_size_and_resolution_is_one_step
test linux photocraft-engine-core 3.14 cmd::image_cmds::tests::turned_crop_deleting_pixels_matches_turning_the_whole_canvas
test linux photocraft-engine-core 6.75 cmd::layer_multi_cmds::tile_damage_tests::painting_command_hints_cover_their_changed_tiles
test linux photocraft-engine-core 1.04 cmd::mode_cmds::rotate_canvas_interpolation_pref_tests::not_measured_preferences_keep_todays_bicubic_result
test linux photocraft-engine-core 1.31 cmd::mode_cmds::rotate_canvas_right_angle_tests::arbitrary_right_angles_match_the_dedicated_rotation_commands
test linux photocraft-engine-core 3.70 cmd::mode_cmds::tests::bitmap_custom_pattern_accepts_compact_pattern_past_full_rgba_limit
test linux photocraft-engine-core 3.25 cmd::mode_cmds::tests::bitmap_output_resolution_budgets_the_whole_conversion_not_just_the_resample
test linux photocraft-engine-core 1.61 cmd::mode_cmds::tests::duotone_to_colour_modes_keeps_the_ink_colours
test linux photocraft-engine-core 12.44 cmd::pattern_cmds::tests::defined_patterns_over_4096_squared_paint_or_are_refused
test linux photocraft-engine-core 1.01 cmd::photo_cmds::photomerge_layer_order_tests::blended_composite_does_not_depend_on_the_stacking
test linux photocraft-engine-core 1.15 cmd::photo_cmds::photomerge_layer_order_tests::fill_layer_stays_above_the_sources
test linux photocraft-engine-core 1.53 cmd::photo_cmds::photomerge_layer_order_tests::first_source_is_the_top_layer
test linux photocraft-engine-core 2.01 cmd::photo_cmds::photomerge_name_tests::a_second_panorama_gets_another_number
test linux photocraft-engine-core 1.96 cmd::photo_cmds::photomerge_name_tests::panorama_is_untitled_panorama_1_whatever_else_is_open
test linux photocraft-engine-core 2.81 cmd::photo_cmds::tests::hdr_merge_from_synthetic_exposures
test linux photocraft-engine-core 8.35 cmd::photo_cmds::tests::photomerge_cylindrical_with_fill
test linux photocraft-engine-core 3.72 cmd::photo_cmds::tests::photomerge_open_documents_ignores_the_folder
test linux photocraft-engine-core 2.41 cmd::photo_cmds::tests::photomerge_open_documents_reposition_and_perspective
test linux photocraft-engine-core 4.76 cmd::retouch_cmds::art_history::tests::large_brush_click_is_not_too_large
test linux photocraft-engine-core 2.53 cmd::retouch_cmds::clone_source_layer_tests::clone_healing_absent_source_preserves_nonuniform_destinations
test linux photocraft-engine-core 3.74 cmd::retouch_cmds::clone_source_layer_tests::clone_no_alpha_sources_clip_preview_live_and_commit_at_all_canvas_corners
test linux photocraft-engine-core 84.40 cmd::retouch_cmds::content_aware_move::color_tests::a_brightness_change_shifts_the_middle_only_past_color_five
test linux photocraft-engine-core 42.09 cmd::retouch_cmds::content_aware_move::color_tests::a_flat_patch_matches_the_new_surroundings_at_color_ten
test linux photocraft-engine-core 59.07 cmd::retouch_cmds::content_aware_move::color_tests::color_ten_on_green_leaves_the_middle_and_blends_the_edge
test linux photocraft-engine-core 10.55 cmd::retouch_cmds::content_aware_move::tests::a_coarse_preview_keeps_a_faint_sparse_selection
test linux photocraft-engine-core 7.63 cmd::retouch_cmds::content_aware_move::tests::a_preview_within_the_full_resolution_budget_is_the_plain_solve_bit_for_bit
test linux photocraft-engine-core 14.20 cmd::retouch_cmds::patch::patch_destination_selection_tests::content_aware_keeps_the_selection_and_changes_the_pixels
test linux photocraft-engine-core 2.68 cmd::retouch_cmds::patch_history_names_tests::applying_a_patch_is_one_step_named_patch_selection_in_every_mode
test linux photocraft-engine-core 1.99 cmd::retouch_cmds::remove::remove_new_layer_name_tests::a_taken_name_gives_the_first_free_one
test linux photocraft-engine-core 1.23 cmd::retouch_cmds::remove::remove_new_layer_name_tests::successive_strokes_name_remove_tool_edits_then_1_then_2_each_above_the_active_layer
test linux photocraft-engine-core 1.01 cmd::retouch_cmds::remove_history_name_tests::one_stroke_is_one_step_named_remove_tool_in_every_mode_and_depth
test linux photocraft-engine-core 1.38 cmd::retouch_cmds::tests::content_aware_extend_keeps_the_original
test linux photocraft-engine-core 4.97 cmd::retouch_cmds::tests::content_aware_move_coarse_preview_handles_transform_extend_and_limits
test linux photocraft-engine-core 1.85 cmd::retouch_cmds::tests::content_aware_move_fails_gracefully
test linux photocraft-engine-core 9.65 cmd::retouch_cmds::tests::content_aware_move_moves_the_object_and_fills_its_place_at_all_depths
test linux photocraft-engine-core 4.42 cmd::retouch_cmds::tests::content_aware_move_overlapping_at_the_edge_and_on_other_targets
test linux photocraft-engine-core 7.02 cmd::retouch_cmds::tests::content_aware_move_preview_shows_the_result_without_touching_the_session
test linux photocraft-engine-core 35.99 cmd::retouch_cmds::tests::content_aware_move_previews_large_selections_coarse_then_exact
test linux photocraft-engine-core 5.54 cmd::retouch_cmds::tests::content_aware_move_samples_all_layers_onto_an_empty_layer
test linux photocraft-engine-core 12.56 cmd::retouch_cmds::tests::content_aware_move_structure_and_color_shape_the_result
test linux photocraft-engine-core 9.49 cmd::retouch_cmds::tests::content_aware_move_transform_on_drop_scales_and_rotates_the_content
test linux photocraft-engine-core 12.99 cmd::retouch_cmds::tests::live_dab_batches_match_the_accumulating_renderer
test linux photocraft-engine-core 1.53 cmd::retouch_cmds::tests::live_dab_rejects_invalid_batches_without_changing_the_preview
test linux photocraft-engine-core 8.69 cmd::retouch_cmds::tests::live_dab_strokes_commit_their_pixels_and_they_are_the_commands
test linux photocraft-engine-core 3.71 cmd::retouch_cmds::tests::patch_content_aware_copies_the_dragged_to_content_into_the_selection
test linux photocraft-engine-core 1.37 cmd::retouch_cmds::tests::protect_detail_drags_at_the_default_spacing_widen_the_halo_without_banding
test linux photocraft-engine-core 1.47 cmd::retouch_cmds::tests::remove_a_ring_around_an_object_removes_it_in_one_undo_step
test linux photocraft-engine-core 2.28 cmd::retouch_cmds::tests::sample_all_layers_spot_healing_heals_onto_an_empty_layer
test linux photocraft-engine-core 14.35 cmd::retouch_cmds::tests::spot_healing_keeps_film_grain_through_overlapping_strokes
test linux photocraft-engine-core 4.92 cmd::retouch_cmds::tests::spot_healing_removes_blemish_all_types
test linux photocraft-engine-core 1.26 cmd::retouch_cmds::tests::the_tools_the_reference_application_does_not_wrap_stop_at_the_canvas_edge
test linux photocraft-engine-core 4.24 cmd::selection_cmds::color_range_window_tests::cropped_range_matches_full_canvas_combinations_with_soft_holes_and_clipped_masks
test linux photocraft-engine-core 3.30 cmd::selection_cmds::modify_window::tests::cropped_commands_match_full_canvas_reads_padding_and_writeback
test linux photocraft-engine-core 7.71 cmd::selection_cmds::tests::windowed_tool_feather_matches_full_canvas
test linux photocraft-engine-core 1.93 cmd::slice_cmds::tests::divide_refuses_more_parts_than_one_division_makes
test linux photocraft-engine-core 2.05 cmd::smart_cmds::tests::selection::selected_pixels_become_one_editable_smart_object_in_every_mode_and_depth
test linux photocraft-engine-core 2.52 cmd::smart_cmds::tests::source_flatten::effects_across_block_edges_match
test linux photocraft-engine-core 3.27 cmd::smart_cmds::tests::svg_profile::svg_smart_contents_and_stack_open_many_shapes_as_layers
test linux photocraft-engine-core 3.36 cmd::smart_cmds::tests::svg_profile::svg_warp_frame_uses_bounded_bounds
test linux photocraft-engine-core 1.49 cmd::smartselect_cmds::object_hard_edge_tests::hard_edge_off_on_the_reference_disc
test linux photocraft-engine-core 2.04 cmd::smartselect_cmds::object_hard_edge_tests::hard_edge_on_is_unchanged_on_the_reference_document
test linux photocraft-engine-core 4.11 cmd::smartselect_cmds::tests::refine_edge_accepts_huge_sparse_and_solid_selections
test linux photocraft-engine-core 1.54 cmd::smartselect_cmds::tests::refine_edge_edits_object_and_subject
test linux photocraft-engine-core 1.02 cmd::swatch_cmds::tests::library_limits
test linux photocraft-engine-core 8.27 color_channels::tone::tests::fused_tiles_match_scalar_oracle_at_all_depths_and_modes
test linux photocraft-engine-core 1.76 color_channels::tone_dialog_tests::tone_dialog_normalization_matches_native_execution
test linux photocraft-engine-core 1.60 jobs::tests::content_aware_fill_and_scale_run_as_jobs
test linux photocraft-engine-core 2.82 jobs::tests::content_aware_move_runs_as_a_job
test linux photocraft-engine-core 1.07 jobs::tests::remove_runs_as_a_job
test linux photocraft-engine-core 1.07 layer_style::tests::oversized_satin_and_bevel_sizes_stay_saveable_and_render
test linux photocraft-engine-core 1.20 new_layer::tests::neutral_fills_leave_the_image_unchanged
test linux photocraft-engine-core 39.06 pixels::tests::tiled_adjustment_matches_one_pass_over_the_content
test linux photocraft-engine-core 13.64 pixels::tests::tiled_clear_and_fill_match_one_pass_over_the_area
test linux photocraft-engine-core 3.84 select_mask_edits::tests::thin_edits_across_a_huge_canvas_paint_only_their_tiles
test linux photocraft-engine-core 8.54 tests::file_new_at_the_size_limit_does_not_fill_every_tile
test linux photocraft-engine::global_state 1.01 artboard_export_scratch::artboard_exports_refuse_unreadable_scratch_tiles
test linux photocraft-engine::global_state 1.37 memory_gate::a_smart_object_edit_under_low_memory_keeps_its_appearance
test linux photocraft-engine::global_state 1.92 memory_gate::place_that_does_not_fit_fails_and_leaves_the_document_alone
@@ -798,7 +798,7 @@ bin windows photocraft-color 37 5.25
bin windows photocraft-compose 536 125.58
bin windows photocraft-compose::it 9 0.26
bin windows photocraft-doc 85 26.11
bin windows photocraft-engine 4430 1637.30
bin windows photocraft-engine-core 4430 1637.30
bin windows photocraft-engine::global_state 26 31.36
bin windows photocraft-engine::it 745 676.05
bin windows photocraft-engine::panic_hunt 2 26.00
@@ -1013,167 +1013,167 @@ test windows photocraft-compose 2.17 tests::renders_with_maps_clipped_over_the_b
test windows photocraft-compose 3.11 tests::shapeless_effects_render_the_same_in_bands_and_parts
test windows photocraft-compose 3.04 viewport::tests::reduced_pages_match_averaging_every_composited_pixel
test windows photocraft-doc 3.36 slices::tests::nested_slices_resolve_in_bounded_work
test windows photocraft-engine 1.23 adjust_params::tests::destructive_commands_apply_their_params_at_every_depth
test windows photocraft-engine 1.03 canvas_geom::tests::turns_at_every_depth_and_mode
test windows photocraft-engine 1.30 cmd::actions_cmds::history::tests::generic_preference_updates_cannot_change_a_paused_history_policy
test windows photocraft-engine 1.22 cmd::actions_cmds::history::tests::history_policy_stays_fixed_until_all_paused_continuations_are_released
test windows photocraft-engine 1.50 cmd::actions_cmds::tests::playback_stops_when_a_nested_batch_cannot_write_its_error_log
test windows photocraft-engine 1.39 cmd::align_cmds::tests::auto_align_keeps_a_locked_layer_as_the_reference
test windows photocraft-engine 1.24 cmd::align_cmds::tests::auto_align_moves_the_background_as_a_normal_layer
test windows photocraft-engine 10.49 cmd::align_cmds::tests::auto_align_registers_a_smooth_bracket_by_intensity
test windows photocraft-engine 3.92 cmd::align_cmds::tests::auto_align_rejects_unrelated_layers_instead_of_guessing_a_pose
test windows photocraft-engine 1.03 cmd::analysis_cmds::tests::place_scale_marker_on_a_short_document_errors_without_panicking
test windows photocraft-engine 1.07 cmd::artboard_cmds::export_options_tests::include_icc_profile_reaches_the_file
test windows photocraft-engine 1.50 cmd::artboard_cmds::include_name_tests::a_name_taller_than_the_border_never_draws_over_the_board
test windows photocraft-engine 1.76 cmd::artboard_cmds::include_name_tests::bad_name_options_never_panic
test windows photocraft-engine 2.33 cmd::atn_cmds::render_tests::render_actions_match_direct_filters_and_undo
test windows photocraft-engine 2.76 cmd::atn_cmds::stylize_tests::imported_group_d_playback_matches_direct_commands_across_modes_and_depths
test windows photocraft-engine 1.15 cmd::atn_cmds::stylize_tests::trace_levels_clamp_on_import_and_play_at_the_boundary
test windows photocraft-engine 1.61 cmd::automate_cmds::tests::droplet_scoped_variants_keep_the_existing_action_limit
test windows photocraft-engine 1.43 cmd::automate_cmds::tests::droplets_carry_the_actions_their_play_steps_call
test windows photocraft-engine 1.59 cmd::brush_cmds::mixer_live_tests::mixer_command_outgrows_the_preview_tile_budget_without_losing_the_stroke
test windows photocraft-engine 8.47 cmd::brush_cmds::mixer_live_tests::mixer_command_paints_strokes_beyond_the_preview_sample_and_dab_budgets
test windows photocraft-engine 3.60 cmd::brush_cmds::mixer_live_tests::mixer_large_brushes_replay_after_the_preview_budget
test windows photocraft-engine 2.60 cmd::channel_cmds::apply_image_locked_layer_tests::a_locked_layer_gets_the_preserve_transparency_result
test windows photocraft-engine 1.60 cmd::cutout_cmds::tests::remove_background_masks_the_subject_at_every_depth_and_undoes
test windows photocraft-engine 1.67 cmd::cutout_cmds::tests::remove_background_on_a_layer_smaller_than_the_canvas_masks_the_subject_not_the_layer
test windows photocraft-engine 1.95 cmd::distort_cmds::tests::puppet_refuses_pins_that_stretch_the_content_too_far
test windows photocraft-engine 1.96 cmd::document_preset_cmds::tests::every_field_survives_save_reload_and_file_new
test windows photocraft-engine 1.23 cmd::document_preset_cmds::tests::old_preferences_and_malformed_presets_keep_unrelated_settings
test windows photocraft-engine 1.18 cmd::document_preset_cmds::tests::the_color_profile_survives_save_reload_and_file_new
test windows photocraft-engine 3.58 cmd::edit_cmds::tests::tiled_lift_matches_the_whole_area_lift
test windows photocraft-engine 1.71 cmd::edit_menu_cmds::caf_new_layer_name_tests::an_existing_copy_gives_the_next_copy_name_like_the_duplicate_output
test windows photocraft-engine 1.01 cmd::edit_menu_cmds::find_replace_order_tests::find_next_from_t1_forward_visits_upward_and_stops_at_end
test windows photocraft-engine 1.00 cmd::edit_menu_cmds::find_replace_order_tests::find_next_from_t5_backward_reverses_only_in_layer_matches
test windows photocraft-engine 1.06 cmd::edit_menu_cmds::find_replace_order_tests::find_next_from_t5_forward_wraps_and_stops_before_t5
test windows photocraft-engine 1.10 cmd::edit_menu_cmds::find_replace_order_tests::find_next_from_t7_backward_goes_upward_to_t8_first
test windows photocraft-engine 1.06 cmd::edit_menu_cmds::find_replace_order_tests::find_next_from_top_pixel_layer_wraps_to_bottom_type_layer
test windows photocraft-engine 1.17 cmd::edit_menu_cmds::find_replace_order_tests::find_next_single_layer_and_change_all_preserved
test windows photocraft-engine 1.17 cmd::edit_menu_cmds::tests::content_aware_fill_outputs_and_sampling
test windows photocraft-engine 12.09 cmd::edit_menu_cmds::tests::content_aware_fill_samples_photoshops_window
test windows photocraft-engine 4.11 cmd::edit_menu_cmds::tests::content_aware_fill_takes_the_workspace_edits
test windows photocraft-engine 3.98 cmd::edit_menu_cmds::tests::delete_and_fill_selection_removes_the_object_in_one_step
test windows photocraft-engine 1.51 cmd::eraser_cmds::channel_target_tests::partial_sets_that_were_not_measured_keep_erasing
test windows photocraft-engine 2.50 cmd::eraser_cmds::transparency_lock_tests::with_a_colour_channel_target_the_preview_matches_the_commit_on_a_locked_layer
test windows photocraft-engine 1.22 cmd::file_cmds::batch_run::action_history_tests::batch_and_droplet_document_history_boundaries
test windows photocraft-engine 16.20 cmd::file_cmds::export::export_clut_stack_tests::a_huge_canvas_still_bakes_the_stack
test windows photocraft-engine 1.17 cmd::file_cmds::export::export_clut_stack_tests::small_and_large_canvases_never_panic
test windows photocraft-engine 1.13 cmd::file_cmds::export::export_clut_stack_tests::the_work_limit_is_known_before_any_pass_is_built
test windows photocraft-engine 1.68 cmd::file_cmds::export_clut_cube_header_tests::eight_and_sixteen_bit_values_sit_on_1_32768_steps
test windows photocraft-engine 1.54 cmd::file_cmds::place_job_tests::a_banded_flatten_equals_flattened_checked
test windows photocraft-engine 11.36 cmd::file_cmds::place_job_tests::a_cooperative_place_equals_the_inline_place
test windows photocraft-engine 1.36 cmd::file_cmds::place_resolution_tests::the_resolution_scale_comes_before_the_fit_to_the_canvas
test windows photocraft-engine 1.64 cmd::file_cmds::processing::image_processor_tests::image_processor_untitled_names_use_the_shared_filename_sanitizer
test windows photocraft-engine 1.44 cmd::file_cmds::tests::a_direct_batch_in_a_script_stops_it_when_cancelled_or_its_log_fails
test windows photocraft-engine 1.36 cmd::file_cmds::tests::batch_open_source_save_step_leaves_an_unwritten_document_changed
test windows photocraft-engine 1.37 cmd::file_cmds::tests::batch_reports_file_failures_even_if_error_log_cannot_be_written
test windows photocraft-engine 1.73 cmd::gallery_cmds::tests::every_gallery_filter_runs_at_every_depth_and_undoes
test windows photocraft-engine 3.62 cmd::image_cmds::tests::crop_target_budgets_the_hidden_pixels_it_resamples
test windows photocraft-engine 2.35 cmd::image_cmds::tests::crop_to_a_target_size_and_resolution_is_one_step
test windows photocraft-engine 1.21 cmd::image_cmds::tests::delete_cropped_pixels_keeps_type_and_smart_objects_whole
test windows photocraft-engine 4.33 cmd::image_cmds::tests::turned_crop_deleting_pixels_matches_turning_the_whole_canvas
test windows photocraft-engine 9.56 cmd::layer_multi_cmds::tile_damage_tests::painting_command_hints_cover_their_changed_tiles
test windows photocraft-engine 1.42 cmd::migrate_cmds::tests::each_migrated_preset_kind_marks_preferences_dirty_and_survives_reload
test windows photocraft-engine 1.43 cmd::mode_cmds::rotate_canvas_interpolation_pref_tests::not_measured_preferences_keep_todays_bicubic_result
test windows photocraft-engine 1.34 cmd::mode_cmds::rotate_canvas_interpolation_pref_tests::rotated_crop_and_straighten_ignore_the_interpolation_preference
test windows photocraft-engine 1.84 cmd::mode_cmds::rotate_canvas_right_angle_tests::arbitrary_right_angles_match_the_dedicated_rotation_commands
test windows photocraft-engine 4.37 cmd::mode_cmds::tests::bitmap_custom_pattern_accepts_compact_pattern_past_full_rgba_limit
test windows photocraft-engine 4.03 cmd::mode_cmds::tests::bitmap_output_resolution_budgets_the_whole_conversion_not_just_the_resample
test windows photocraft-engine 2.54 cmd::mode_cmds::tests::duotone_to_colour_modes_keeps_the_ink_colours
test windows photocraft-engine 24.30 cmd::pattern_cmds::tests::defined_patterns_over_4096_squared_paint_or_are_refused
test windows photocraft-engine 1.07 cmd::pattern_fill_cmds::tests::create_preview_and_commit_honor_default_masks_option
test windows photocraft-engine 1.16 cmd::perspective_crop_cmds::perspective_crop_size_tests::one_side_alone_keeps_the_mean_edge_proportions
test windows photocraft-engine 1.44 cmd::perspective_crop_cmds::perspective_crop_size_tests::width_and_height_are_still_exact
test windows photocraft-engine 1.41 cmd::photo_cmds::photomerge_layer_order_tests::blended_composite_does_not_depend_on_the_stacking
test windows photocraft-engine 1.45 cmd::photo_cmds::photomerge_layer_order_tests::fill_layer_stays_above_the_sources
test windows photocraft-engine 1.82 cmd::photo_cmds::photomerge_layer_order_tests::first_source_is_the_top_layer
test windows photocraft-engine 2.88 cmd::photo_cmds::photomerge_name_tests::a_second_panorama_gets_another_number
test windows photocraft-engine 2.87 cmd::photo_cmds::photomerge_name_tests::panorama_is_untitled_panorama_1_whatever_else_is_open
test windows photocraft-engine 3.97 cmd::photo_cmds::tests::hdr_merge_from_synthetic_exposures
test windows photocraft-engine 8.87 cmd::photo_cmds::tests::photomerge_cylindrical_with_fill
test windows photocraft-engine 5.54 cmd::photo_cmds::tests::photomerge_open_documents_ignores_the_folder
test windows photocraft-engine 3.38 cmd::photo_cmds::tests::photomerge_open_documents_reposition_and_perspective
test windows photocraft-engine 1.42 cmd::print_cmds::tests::a_native_print_drops_a_printable_area_the_driver_did_not_give
test windows photocraft-engine 5.65 cmd::retouch_cmds::art_history::tests::large_brush_click_is_not_too_large
test windows photocraft-engine 2.99 cmd::retouch_cmds::clone_source_layer_tests::clone_healing_absent_source_preserves_nonuniform_destinations
test windows photocraft-engine 5.69 cmd::retouch_cmds::clone_source_layer_tests::clone_no_alpha_sources_clip_preview_live_and_commit_at_all_canvas_corners
test windows photocraft-engine 111.35 cmd::retouch_cmds::content_aware_move::color_tests::a_brightness_change_shifts_the_middle_only_past_color_five
test windows photocraft-engine 48.52 cmd::retouch_cmds::content_aware_move::color_tests::a_flat_patch_matches_the_new_surroundings_at_color_ten
test windows photocraft-engine 74.13 cmd::retouch_cmds::content_aware_move::color_tests::color_ten_on_green_leaves_the_middle_and_blends_the_edge
test windows photocraft-engine 15.31 cmd::retouch_cmds::content_aware_move::tests::a_coarse_preview_keeps_a_faint_sparse_selection
test windows photocraft-engine 13.85 cmd::retouch_cmds::content_aware_move::tests::a_preview_within_the_full_resolution_budget_is_the_plain_solve_bit_for_bit
test windows photocraft-engine 18.82 cmd::retouch_cmds::patch::patch_destination_selection_tests::content_aware_keeps_the_selection_and_changes_the_pixels
test windows photocraft-engine 1.49 cmd::retouch_cmds::patch::patch_destination_selection_tests::destination_selection_stays_when_it_is_not_a_plain_rectangle
test windows photocraft-engine 2.28 cmd::retouch_cmds::patch_history_names_tests::applying_a_patch_is_one_step_named_patch_selection_in_every_mode
test windows photocraft-engine 2.50 cmd::retouch_cmds::remove::remove_new_layer_name_tests::a_taken_name_gives_the_first_free_one
test windows photocraft-engine 1.49 cmd::retouch_cmds::remove::remove_new_layer_name_tests::successive_strokes_name_remove_tool_edits_then_1_then_2_each_above_the_active_layer
test windows photocraft-engine 1.04 cmd::retouch_cmds::remove::remove_new_layer_name_tests::two_strokes_without_sample_all_layers_name_remove_tool_edits_then_1
test windows photocraft-engine 1.40 cmd::retouch_cmds::remove::remove_new_layer_name_tests::undo_frees_the_name_for_the_next_stroke
test windows photocraft-engine 3.01 cmd::retouch_cmds::remove_history_name_tests::one_stroke_is_one_step_named_remove_tool_in_every_mode_and_depth
test windows photocraft-engine 1.29 cmd::retouch_cmds::remove_history_name_tests::sample_all_layers_and_create_new_layer_are_one_step_named_remove_tool
test windows photocraft-engine 1.50 cmd::retouch_cmds::tests::content_aware_extend_keeps_the_original
test windows photocraft-engine 4.54 cmd::retouch_cmds::tests::content_aware_move_coarse_preview_handles_transform_extend_and_limits
test windows photocraft-engine 2.63 cmd::retouch_cmds::tests::content_aware_move_fails_gracefully
test windows photocraft-engine 9.47 cmd::retouch_cmds::tests::content_aware_move_moves_the_object_and_fills_its_place_at_all_depths
test windows photocraft-engine 6.30 cmd::retouch_cmds::tests::content_aware_move_overlapping_at_the_edge_and_on_other_targets
test windows photocraft-engine 5.56 cmd::retouch_cmds::tests::content_aware_move_preview_shows_the_result_without_touching_the_session
test windows photocraft-engine 41.74 cmd::retouch_cmds::tests::content_aware_move_previews_large_selections_coarse_then_exact
test windows photocraft-engine 8.41 cmd::retouch_cmds::tests::content_aware_move_samples_all_layers_onto_an_empty_layer
test windows photocraft-engine 18.56 cmd::retouch_cmds::tests::content_aware_move_structure_and_color_shape_the_result
test windows photocraft-engine 14.38 cmd::retouch_cmds::tests::content_aware_move_transform_on_drop_scales_and_rotates_the_content
test windows photocraft-engine 1.28 cmd::retouch_cmds::tests::erase_to_history_paints_white_past_a_shapes_path_in_every_colour_mode
test windows photocraft-engine 19.22 cmd::retouch_cmds::tests::live_dab_batches_match_the_accumulating_renderer
test windows photocraft-engine 2.06 cmd::retouch_cmds::tests::live_dab_offers_are_refused_or_dropped_when_they_dont_match
test windows photocraft-engine 1.82 cmd::retouch_cmds::tests::live_dab_rejects_invalid_batches_without_changing_the_preview
test windows photocraft-engine 16.36 cmd::retouch_cmds::tests::live_dab_strokes_commit_their_pixels_and_they_are_the_commands
test windows photocraft-engine 4.49 cmd::retouch_cmds::tests::patch_content_aware_copies_the_dragged_to_content_into_the_selection
test windows photocraft-engine 2.42 cmd::retouch_cmds::tests::protect_detail_drags_at_the_default_spacing_widen_the_halo_without_banding
test windows photocraft-engine 1.86 cmd::retouch_cmds::tests::remove_a_ring_around_an_object_removes_it_in_one_undo_step
test windows photocraft-engine 1.15 cmd::retouch_cmds::tests::remove_open_strokes_and_the_selection_limit_what_changes
test windows photocraft-engine 3.18 cmd::retouch_cmds::tests::sample_all_layers_spot_healing_heals_onto_an_empty_layer
test windows photocraft-engine 14.60 cmd::retouch_cmds::tests::spot_healing_keeps_film_grain_through_overlapping_strokes
test windows photocraft-engine 4.09 cmd::retouch_cmds::tests::spot_healing_removes_blemish_all_types
test windows photocraft-engine 2.03 cmd::retouch_cmds::tests::the_tools_the_reference_application_does_not_wrap_stop_at_the_canvas_edge
test windows photocraft-engine 6.95 cmd::selection_cmds::color_range_window_tests::cropped_range_matches_full_canvas_combinations_with_soft_holes_and_clipped_masks
test windows photocraft-engine 1.08 cmd::selection_cmds::modify_window::tests::cropped_blurs_preserve_soft_masks_at_every_depth
test windows photocraft-engine 4.30 cmd::selection_cmds::modify_window::tests::cropped_commands_match_full_canvas_reads_padding_and_writeback
test windows photocraft-engine 8.24 cmd::selection_cmds::tests::windowed_tool_feather_matches_full_canvas
test windows photocraft-engine 2.73 cmd::slice_cmds::tests::divide_refuses_more_parts_than_one_division_makes
test windows photocraft-engine 2.46 cmd::slice_cmds::tests::slices_round_trip_through_psd_and_pcraft
test windows photocraft-engine 1.89 cmd::smart_cmds::tests::selection::selected_pixels_become_one_editable_smart_object_in_every_mode_and_depth
test windows photocraft-engine 2.39 cmd::smart_cmds::tests::source_flatten::effects_across_block_edges_match
test windows photocraft-engine 3.36 cmd::smart_cmds::tests::svg_profile::svg_smart_contents_and_stack_open_many_shapes_as_layers
test windows photocraft-engine 3.49 cmd::smart_cmds::tests::svg_profile::svg_warp_frame_uses_bounded_bounds
test windows photocraft-engine 1.69 cmd::smart_svg_cmds::tests::embedded_pdf_ai_and_eps_update_shared_instances_without_reading_linked_paths
test windows photocraft-engine 2.61 cmd::smart_svg_cmds::tests::original_vector_formats_save_atomically_and_survive_undo_and_persistence
test windows photocraft-engine 1.23 cmd::smart_svg_cmds::tests::valid_updates_repeat_at_all_depths_and_roundtrip_original_svg
test windows photocraft-engine 1.02 cmd::smartselect_cmds::object_hard_edge_tests::a_wrong_type_hard_edge_is_the_default
test windows photocraft-engine 1.42 cmd::smartselect_cmds::object_hard_edge_tests::hard_edge_off_matches_the_reference_rectangle
test windows photocraft-engine 2.63 cmd::smartselect_cmds::object_hard_edge_tests::hard_edge_off_on_the_reference_disc
test windows photocraft-engine 2.67 cmd::smartselect_cmds::object_hard_edge_tests::hard_edge_on_is_unchanged_on_the_reference_document
test windows photocraft-engine 1.04 cmd::smartselect_cmds::quick_mode_refusal_tests::other_modes_keep_selecting
test windows photocraft-engine 1.08 cmd::smartselect_cmds::tests::object_selection_point_selects_the_object_under_it
test windows photocraft-engine 7.25 cmd::smartselect_cmds::tests::refine_edge_accepts_huge_sparse_and_solid_selections
test windows photocraft-engine 2.63 cmd::smartselect_cmds::tests::refine_edge_edits_object_and_subject
test windows photocraft-engine 1.54 cmd::smartselect_cmds::tests::select_subject_repeat_reuses_the_mask_until_pixels_change
test windows photocraft-engine 1.29 cmd::type_area_cmds::tests::a_resolution_change_keeps_area_type_wrapping_where_it_was
test windows photocraft-engine 2.68 cmd::type_area_cmds::tests::area_type_saves_to_psd_as_paragraph_text_with_a_warning
test windows photocraft-engine 1.02 cmd::type_caret_cmds::tests::caret_midpoint_round_trips_for_point_paragraph_transformed_and_vertical
test windows photocraft-engine 1.10 cmd::type_cmds::tests::a_duplicated_type_layer_follows_its_new_text
test windows photocraft-engine 1.01 cmd::type_spell_cmds::enabled_tests::enabled_with_type_layers_as_before
test windows photocraft-engine 1.19 cmd::type_spell_cmds::order_tests::a_null_unknown_or_pixel_from_checks_top_to_bottom
test windows photocraft-engine 11.68 color_channels::tone::tests::fused_tiles_match_scalar_oracle_at_all_depths_and_modes
test windows photocraft-engine 3.22 color_channels::tone_dialog_tests::tone_dialog_normalization_matches_native_execution
test windows photocraft-engine 2.15 jobs::tests::content_aware_fill_and_scale_run_as_jobs
test windows photocraft-engine 3.81 jobs::tests::content_aware_move_runs_as_a_job
test windows photocraft-engine 1.57 jobs::tests::remove_runs_as_a_job
test windows photocraft-engine 1.32 layer_style::tests::oversized_satin_and_bevel_sizes_stay_saveable_and_render
test windows photocraft-engine 27.10 pixels::tests::tiled_adjustment_matches_one_pass_over_the_content
test windows photocraft-engine 11.11 pixels::tests::tiled_clear_and_fill_match_one_pass_over_the_area
test windows photocraft-engine 2.17 preset_store::tests::startup_with_many_groups_loads_them_all
test windows photocraft-engine 2.14 select_mask_edits::tests::invert_on_a_huge_canvas_and_runs_of_inverts
test windows photocraft-engine 6.11 select_mask_edits::tests::thin_edits_across_a_huge_canvas_paint_only_their_tiles
test windows photocraft-engine 5.18 tests::file_new_at_the_size_limit_does_not_fill_every_tile
test windows photocraft-engine-core 1.23 adjust_params::tests::destructive_commands_apply_their_params_at_every_depth
test windows photocraft-engine-core 1.03 canvas_geom::tests::turns_at_every_depth_and_mode
test windows photocraft-engine-core 1.30 cmd::actions_cmds::history::tests::generic_preference_updates_cannot_change_a_paused_history_policy
test windows photocraft-engine-core 1.22 cmd::actions_cmds::history::tests::history_policy_stays_fixed_until_all_paused_continuations_are_released
test windows photocraft-engine-core 1.50 cmd::actions_cmds::tests::playback_stops_when_a_nested_batch_cannot_write_its_error_log
test windows photocraft-engine-core 1.39 cmd::align_cmds::tests::auto_align_keeps_a_locked_layer_as_the_reference
test windows photocraft-engine-core 1.24 cmd::align_cmds::tests::auto_align_moves_the_background_as_a_normal_layer
test windows photocraft-engine-core 10.49 cmd::align_cmds::tests::auto_align_registers_a_smooth_bracket_by_intensity
test windows photocraft-engine-core 3.92 cmd::align_cmds::tests::auto_align_rejects_unrelated_layers_instead_of_guessing_a_pose
test windows photocraft-engine-core 1.03 cmd::analysis_cmds::tests::place_scale_marker_on_a_short_document_errors_without_panicking
test windows photocraft-engine-core 1.07 cmd::artboard_cmds::export_options_tests::include_icc_profile_reaches_the_file
test windows photocraft-engine-core 1.50 cmd::artboard_cmds::include_name_tests::a_name_taller_than_the_border_never_draws_over_the_board
test windows photocraft-engine-core 1.76 cmd::artboard_cmds::include_name_tests::bad_name_options_never_panic
test windows photocraft-engine-core 2.33 cmd::atn_cmds::render_tests::render_actions_match_direct_filters_and_undo
test windows photocraft-engine-core 2.76 cmd::atn_cmds::stylize_tests::imported_group_d_playback_matches_direct_commands_across_modes_and_depths
test windows photocraft-engine-core 1.15 cmd::atn_cmds::stylize_tests::trace_levels_clamp_on_import_and_play_at_the_boundary
test windows photocraft-engine-core 1.61 cmd::automate_cmds::tests::droplet_scoped_variants_keep_the_existing_action_limit
test windows photocraft-engine-core 1.43 cmd::automate_cmds::tests::droplets_carry_the_actions_their_play_steps_call
test windows photocraft-engine-core 1.59 cmd::brush_cmds::mixer_live_tests::mixer_command_outgrows_the_preview_tile_budget_without_losing_the_stroke
test windows photocraft-engine-core 8.47 cmd::brush_cmds::mixer_live_tests::mixer_command_paints_strokes_beyond_the_preview_sample_and_dab_budgets
test windows photocraft-engine-core 3.60 cmd::brush_cmds::mixer_live_tests::mixer_large_brushes_replay_after_the_preview_budget
test windows photocraft-engine-core 2.60 cmd::channel_cmds::apply_image_locked_layer_tests::a_locked_layer_gets_the_preserve_transparency_result
test windows photocraft-engine-core 1.60 cmd::cutout_cmds::tests::remove_background_masks_the_subject_at_every_depth_and_undoes
test windows photocraft-engine-core 1.67 cmd::cutout_cmds::tests::remove_background_on_a_layer_smaller_than_the_canvas_masks_the_subject_not_the_layer
test windows photocraft-engine-core 1.95 cmd::distort_cmds::tests::puppet_refuses_pins_that_stretch_the_content_too_far
test windows photocraft-engine-core 1.96 cmd::document_preset_cmds::tests::every_field_survives_save_reload_and_file_new
test windows photocraft-engine-core 1.23 cmd::document_preset_cmds::tests::old_preferences_and_malformed_presets_keep_unrelated_settings
test windows photocraft-engine-core 1.18 cmd::document_preset_cmds::tests::the_color_profile_survives_save_reload_and_file_new
test windows photocraft-engine-core 3.58 cmd::edit_cmds::tests::tiled_lift_matches_the_whole_area_lift
test windows photocraft-engine-core 1.71 cmd::edit_menu_cmds::caf_new_layer_name_tests::an_existing_copy_gives_the_next_copy_name_like_the_duplicate_output
test windows photocraft-engine-core 1.01 cmd::edit_menu_cmds::find_replace_order_tests::find_next_from_t1_forward_visits_upward_and_stops_at_end
test windows photocraft-engine-core 1.00 cmd::edit_menu_cmds::find_replace_order_tests::find_next_from_t5_backward_reverses_only_in_layer_matches
test windows photocraft-engine-core 1.06 cmd::edit_menu_cmds::find_replace_order_tests::find_next_from_t5_forward_wraps_and_stops_before_t5
test windows photocraft-engine-core 1.10 cmd::edit_menu_cmds::find_replace_order_tests::find_next_from_t7_backward_goes_upward_to_t8_first
test windows photocraft-engine-core 1.06 cmd::edit_menu_cmds::find_replace_order_tests::find_next_from_top_pixel_layer_wraps_to_bottom_type_layer
test windows photocraft-engine-core 1.17 cmd::edit_menu_cmds::find_replace_order_tests::find_next_single_layer_and_change_all_preserved
test windows photocraft-engine-core 1.17 cmd::edit_menu_cmds::tests::content_aware_fill_outputs_and_sampling
test windows photocraft-engine-core 12.09 cmd::edit_menu_cmds::tests::content_aware_fill_samples_photoshops_window
test windows photocraft-engine-core 4.11 cmd::edit_menu_cmds::tests::content_aware_fill_takes_the_workspace_edits
test windows photocraft-engine-core 3.98 cmd::edit_menu_cmds::tests::delete_and_fill_selection_removes_the_object_in_one_step
test windows photocraft-engine-core 1.51 cmd::eraser_cmds::channel_target_tests::partial_sets_that_were_not_measured_keep_erasing
test windows photocraft-engine-core 2.50 cmd::eraser_cmds::transparency_lock_tests::with_a_colour_channel_target_the_preview_matches_the_commit_on_a_locked_layer
test windows photocraft-engine-core 1.22 cmd::file_cmds::batch_run::action_history_tests::batch_and_droplet_document_history_boundaries
test windows photocraft-engine-core 16.20 cmd::file_cmds::export::export_clut_stack_tests::a_huge_canvas_still_bakes_the_stack
test windows photocraft-engine-core 1.17 cmd::file_cmds::export::export_clut_stack_tests::small_and_large_canvases_never_panic
test windows photocraft-engine-core 1.13 cmd::file_cmds::export::export_clut_stack_tests::the_work_limit_is_known_before_any_pass_is_built
test windows photocraft-engine-core 1.68 cmd::file_cmds::export_clut_cube_header_tests::eight_and_sixteen_bit_values_sit_on_1_32768_steps
test windows photocraft-engine-core 1.54 cmd::file_cmds::place_job_tests::a_banded_flatten_equals_flattened_checked
test windows photocraft-engine-core 11.36 cmd::file_cmds::place_job_tests::a_cooperative_place_equals_the_inline_place
test windows photocraft-engine-core 1.36 cmd::file_cmds::place_resolution_tests::the_resolution_scale_comes_before_the_fit_to_the_canvas
test windows photocraft-engine-core 1.64 cmd::file_cmds::processing::image_processor_tests::image_processor_untitled_names_use_the_shared_filename_sanitizer
test windows photocraft-engine-core 1.44 cmd::file_cmds::tests::a_direct_batch_in_a_script_stops_it_when_cancelled_or_its_log_fails
test windows photocraft-engine-core 1.36 cmd::file_cmds::tests::batch_open_source_save_step_leaves_an_unwritten_document_changed
test windows photocraft-engine-core 1.37 cmd::file_cmds::tests::batch_reports_file_failures_even_if_error_log_cannot_be_written
test windows photocraft-engine-core 1.73 cmd::gallery_cmds::tests::every_gallery_filter_runs_at_every_depth_and_undoes
test windows photocraft-engine-core 3.62 cmd::image_cmds::tests::crop_target_budgets_the_hidden_pixels_it_resamples
test windows photocraft-engine-core 2.35 cmd::image_cmds::tests::crop_to_a_target_size_and_resolution_is_one_step
test windows photocraft-engine-core 1.21 cmd::image_cmds::tests::delete_cropped_pixels_keeps_type_and_smart_objects_whole
test windows photocraft-engine-core 4.33 cmd::image_cmds::tests::turned_crop_deleting_pixels_matches_turning_the_whole_canvas
test windows photocraft-engine-core 9.56 cmd::layer_multi_cmds::tile_damage_tests::painting_command_hints_cover_their_changed_tiles
test windows photocraft-engine-core 1.42 cmd::migrate_cmds::tests::each_migrated_preset_kind_marks_preferences_dirty_and_survives_reload
test windows photocraft-engine-core 1.43 cmd::mode_cmds::rotate_canvas_interpolation_pref_tests::not_measured_preferences_keep_todays_bicubic_result
test windows photocraft-engine-core 1.34 cmd::mode_cmds::rotate_canvas_interpolation_pref_tests::rotated_crop_and_straighten_ignore_the_interpolation_preference
test windows photocraft-engine-core 1.84 cmd::mode_cmds::rotate_canvas_right_angle_tests::arbitrary_right_angles_match_the_dedicated_rotation_commands
test windows photocraft-engine-core 4.37 cmd::mode_cmds::tests::bitmap_custom_pattern_accepts_compact_pattern_past_full_rgba_limit
test windows photocraft-engine-core 4.03 cmd::mode_cmds::tests::bitmap_output_resolution_budgets_the_whole_conversion_not_just_the_resample
test windows photocraft-engine-core 2.54 cmd::mode_cmds::tests::duotone_to_colour_modes_keeps_the_ink_colours
test windows photocraft-engine-core 24.30 cmd::pattern_cmds::tests::defined_patterns_over_4096_squared_paint_or_are_refused
test windows photocraft-engine-core 1.07 cmd::pattern_fill_cmds::tests::create_preview_and_commit_honor_default_masks_option
test windows photocraft-engine-core 1.16 cmd::perspective_crop_cmds::perspective_crop_size_tests::one_side_alone_keeps_the_mean_edge_proportions
test windows photocraft-engine-core 1.44 cmd::perspective_crop_cmds::perspective_crop_size_tests::width_and_height_are_still_exact
test windows photocraft-engine-core 1.41 cmd::photo_cmds::photomerge_layer_order_tests::blended_composite_does_not_depend_on_the_stacking
test windows photocraft-engine-core 1.45 cmd::photo_cmds::photomerge_layer_order_tests::fill_layer_stays_above_the_sources
test windows photocraft-engine-core 1.82 cmd::photo_cmds::photomerge_layer_order_tests::first_source_is_the_top_layer
test windows photocraft-engine-core 2.88 cmd::photo_cmds::photomerge_name_tests::a_second_panorama_gets_another_number
test windows photocraft-engine-core 2.87 cmd::photo_cmds::photomerge_name_tests::panorama_is_untitled_panorama_1_whatever_else_is_open
test windows photocraft-engine-core 3.97 cmd::photo_cmds::tests::hdr_merge_from_synthetic_exposures
test windows photocraft-engine-core 8.87 cmd::photo_cmds::tests::photomerge_cylindrical_with_fill
test windows photocraft-engine-core 5.54 cmd::photo_cmds::tests::photomerge_open_documents_ignores_the_folder
test windows photocraft-engine-core 3.38 cmd::photo_cmds::tests::photomerge_open_documents_reposition_and_perspective
test windows photocraft-engine-core 1.42 cmd::print_cmds::tests::a_native_print_drops_a_printable_area_the_driver_did_not_give
test windows photocraft-engine-core 5.65 cmd::retouch_cmds::art_history::tests::large_brush_click_is_not_too_large
test windows photocraft-engine-core 2.99 cmd::retouch_cmds::clone_source_layer_tests::clone_healing_absent_source_preserves_nonuniform_destinations
test windows photocraft-engine-core 5.69 cmd::retouch_cmds::clone_source_layer_tests::clone_no_alpha_sources_clip_preview_live_and_commit_at_all_canvas_corners
test windows photocraft-engine-core 111.35 cmd::retouch_cmds::content_aware_move::color_tests::a_brightness_change_shifts_the_middle_only_past_color_five
test windows photocraft-engine-core 48.52 cmd::retouch_cmds::content_aware_move::color_tests::a_flat_patch_matches_the_new_surroundings_at_color_ten
test windows photocraft-engine-core 74.13 cmd::retouch_cmds::content_aware_move::color_tests::color_ten_on_green_leaves_the_middle_and_blends_the_edge
test windows photocraft-engine-core 15.31 cmd::retouch_cmds::content_aware_move::tests::a_coarse_preview_keeps_a_faint_sparse_selection
test windows photocraft-engine-core 13.85 cmd::retouch_cmds::content_aware_move::tests::a_preview_within_the_full_resolution_budget_is_the_plain_solve_bit_for_bit
test windows photocraft-engine-core 18.82 cmd::retouch_cmds::patch::patch_destination_selection_tests::content_aware_keeps_the_selection_and_changes_the_pixels
test windows photocraft-engine-core 1.49 cmd::retouch_cmds::patch::patch_destination_selection_tests::destination_selection_stays_when_it_is_not_a_plain_rectangle
test windows photocraft-engine-core 2.28 cmd::retouch_cmds::patch_history_names_tests::applying_a_patch_is_one_step_named_patch_selection_in_every_mode
test windows photocraft-engine-core 2.50 cmd::retouch_cmds::remove::remove_new_layer_name_tests::a_taken_name_gives_the_first_free_one
test windows photocraft-engine-core 1.49 cmd::retouch_cmds::remove::remove_new_layer_name_tests::successive_strokes_name_remove_tool_edits_then_1_then_2_each_above_the_active_layer
test windows photocraft-engine-core 1.04 cmd::retouch_cmds::remove::remove_new_layer_name_tests::two_strokes_without_sample_all_layers_name_remove_tool_edits_then_1
test windows photocraft-engine-core 1.40 cmd::retouch_cmds::remove::remove_new_layer_name_tests::undo_frees_the_name_for_the_next_stroke
test windows photocraft-engine-core 3.01 cmd::retouch_cmds::remove_history_name_tests::one_stroke_is_one_step_named_remove_tool_in_every_mode_and_depth
test windows photocraft-engine-core 1.29 cmd::retouch_cmds::remove_history_name_tests::sample_all_layers_and_create_new_layer_are_one_step_named_remove_tool
test windows photocraft-engine-core 1.50 cmd::retouch_cmds::tests::content_aware_extend_keeps_the_original
test windows photocraft-engine-core 4.54 cmd::retouch_cmds::tests::content_aware_move_coarse_preview_handles_transform_extend_and_limits
test windows photocraft-engine-core 2.63 cmd::retouch_cmds::tests::content_aware_move_fails_gracefully
test windows photocraft-engine-core 9.47 cmd::retouch_cmds::tests::content_aware_move_moves_the_object_and_fills_its_place_at_all_depths
test windows photocraft-engine-core 6.30 cmd::retouch_cmds::tests::content_aware_move_overlapping_at_the_edge_and_on_other_targets
test windows photocraft-engine-core 5.56 cmd::retouch_cmds::tests::content_aware_move_preview_shows_the_result_without_touching_the_session
test windows photocraft-engine-core 41.74 cmd::retouch_cmds::tests::content_aware_move_previews_large_selections_coarse_then_exact
test windows photocraft-engine-core 8.41 cmd::retouch_cmds::tests::content_aware_move_samples_all_layers_onto_an_empty_layer
test windows photocraft-engine-core 18.56 cmd::retouch_cmds::tests::content_aware_move_structure_and_color_shape_the_result
test windows photocraft-engine-core 14.38 cmd::retouch_cmds::tests::content_aware_move_transform_on_drop_scales_and_rotates_the_content
test windows photocraft-engine-core 1.28 cmd::retouch_cmds::tests::erase_to_history_paints_white_past_a_shapes_path_in_every_colour_mode
test windows photocraft-engine-core 19.22 cmd::retouch_cmds::tests::live_dab_batches_match_the_accumulating_renderer
test windows photocraft-engine-core 2.06 cmd::retouch_cmds::tests::live_dab_offers_are_refused_or_dropped_when_they_dont_match
test windows photocraft-engine-core 1.82 cmd::retouch_cmds::tests::live_dab_rejects_invalid_batches_without_changing_the_preview
test windows photocraft-engine-core 16.36 cmd::retouch_cmds::tests::live_dab_strokes_commit_their_pixels_and_they_are_the_commands
test windows photocraft-engine-core 4.49 cmd::retouch_cmds::tests::patch_content_aware_copies_the_dragged_to_content_into_the_selection
test windows photocraft-engine-core 2.42 cmd::retouch_cmds::tests::protect_detail_drags_at_the_default_spacing_widen_the_halo_without_banding
test windows photocraft-engine-core 1.86 cmd::retouch_cmds::tests::remove_a_ring_around_an_object_removes_it_in_one_undo_step
test windows photocraft-engine-core 1.15 cmd::retouch_cmds::tests::remove_open_strokes_and_the_selection_limit_what_changes
test windows photocraft-engine-core 3.18 cmd::retouch_cmds::tests::sample_all_layers_spot_healing_heals_onto_an_empty_layer
test windows photocraft-engine-core 14.60 cmd::retouch_cmds::tests::spot_healing_keeps_film_grain_through_overlapping_strokes
test windows photocraft-engine-core 4.09 cmd::retouch_cmds::tests::spot_healing_removes_blemish_all_types
test windows photocraft-engine-core 2.03 cmd::retouch_cmds::tests::the_tools_the_reference_application_does_not_wrap_stop_at_the_canvas_edge
test windows photocraft-engine-core 6.95 cmd::selection_cmds::color_range_window_tests::cropped_range_matches_full_canvas_combinations_with_soft_holes_and_clipped_masks
test windows photocraft-engine-core 1.08 cmd::selection_cmds::modify_window::tests::cropped_blurs_preserve_soft_masks_at_every_depth
test windows photocraft-engine-core 4.30 cmd::selection_cmds::modify_window::tests::cropped_commands_match_full_canvas_reads_padding_and_writeback
test windows photocraft-engine-core 8.24 cmd::selection_cmds::tests::windowed_tool_feather_matches_full_canvas
test windows photocraft-engine-core 2.73 cmd::slice_cmds::tests::divide_refuses_more_parts_than_one_division_makes
test windows photocraft-engine-core 2.46 cmd::slice_cmds::tests::slices_round_trip_through_psd_and_pcraft
test windows photocraft-engine-core 1.89 cmd::smart_cmds::tests::selection::selected_pixels_become_one_editable_smart_object_in_every_mode_and_depth
test windows photocraft-engine-core 2.39 cmd::smart_cmds::tests::source_flatten::effects_across_block_edges_match
test windows photocraft-engine-core 3.36 cmd::smart_cmds::tests::svg_profile::svg_smart_contents_and_stack_open_many_shapes_as_layers
test windows photocraft-engine-core 3.49 cmd::smart_cmds::tests::svg_profile::svg_warp_frame_uses_bounded_bounds
test windows photocraft-engine-core 1.69 cmd::smart_svg_cmds::tests::embedded_pdf_ai_and_eps_update_shared_instances_without_reading_linked_paths
test windows photocraft-engine-core 2.61 cmd::smart_svg_cmds::tests::original_vector_formats_save_atomically_and_survive_undo_and_persistence
test windows photocraft-engine-core 1.23 cmd::smart_svg_cmds::tests::valid_updates_repeat_at_all_depths_and_roundtrip_original_svg
test windows photocraft-engine-core 1.02 cmd::smartselect_cmds::object_hard_edge_tests::a_wrong_type_hard_edge_is_the_default
test windows photocraft-engine-core 1.42 cmd::smartselect_cmds::object_hard_edge_tests::hard_edge_off_matches_the_reference_rectangle
test windows photocraft-engine-core 2.63 cmd::smartselect_cmds::object_hard_edge_tests::hard_edge_off_on_the_reference_disc
test windows photocraft-engine-core 2.67 cmd::smartselect_cmds::object_hard_edge_tests::hard_edge_on_is_unchanged_on_the_reference_document
test windows photocraft-engine-core 1.04 cmd::smartselect_cmds::quick_mode_refusal_tests::other_modes_keep_selecting
test windows photocraft-engine-core 1.08 cmd::smartselect_cmds::tests::object_selection_point_selects_the_object_under_it
test windows photocraft-engine-core 7.25 cmd::smartselect_cmds::tests::refine_edge_accepts_huge_sparse_and_solid_selections
test windows photocraft-engine-core 2.63 cmd::smartselect_cmds::tests::refine_edge_edits_object_and_subject
test windows photocraft-engine-core 1.54 cmd::smartselect_cmds::tests::select_subject_repeat_reuses_the_mask_until_pixels_change
test windows photocraft-engine-core 1.29 cmd::type_area_cmds::tests::a_resolution_change_keeps_area_type_wrapping_where_it_was
test windows photocraft-engine-core 2.68 cmd::type_area_cmds::tests::area_type_saves_to_psd_as_paragraph_text_with_a_warning
test windows photocraft-engine-core 1.02 cmd::type_caret_cmds::tests::caret_midpoint_round_trips_for_point_paragraph_transformed_and_vertical
test windows photocraft-engine-core 1.10 cmd::type_cmds::tests::a_duplicated_type_layer_follows_its_new_text
test windows photocraft-engine-core 1.01 cmd::type_spell_cmds::enabled_tests::enabled_with_type_layers_as_before
test windows photocraft-engine-core 1.19 cmd::type_spell_cmds::order_tests::a_null_unknown_or_pixel_from_checks_top_to_bottom
test windows photocraft-engine-core 11.68 color_channels::tone::tests::fused_tiles_match_scalar_oracle_at_all_depths_and_modes
test windows photocraft-engine-core 3.22 color_channels::tone_dialog_tests::tone_dialog_normalization_matches_native_execution
test windows photocraft-engine-core 2.15 jobs::tests::content_aware_fill_and_scale_run_as_jobs
test windows photocraft-engine-core 3.81 jobs::tests::content_aware_move_runs_as_a_job
test windows photocraft-engine-core 1.57 jobs::tests::remove_runs_as_a_job
test windows photocraft-engine-core 1.32 layer_style::tests::oversized_satin_and_bevel_sizes_stay_saveable_and_render
test windows photocraft-engine-core 27.10 pixels::tests::tiled_adjustment_matches_one_pass_over_the_content
test windows photocraft-engine-core 11.11 pixels::tests::tiled_clear_and_fill_match_one_pass_over_the_area
test windows photocraft-engine-core 2.17 preset_store::tests::startup_with_many_groups_loads_them_all
test windows photocraft-engine-core 2.14 select_mask_edits::tests::invert_on_a_huge_canvas_and_runs_of_inverts
test windows photocraft-engine-core 6.11 select_mask_edits::tests::thin_edits_across_a_huge_canvas_paint_only_their_tiles
test windows photocraft-engine-core 5.18 tests::file_new_at_the_size_limit_does_not_fill_every_tile
test windows photocraft-engine::global_state 2.59 artboard_export_scratch::artboard_exports_refuse_unreadable_scratch_tiles
test windows photocraft-engine::global_state 3.26 memory_gate::a_psd_with_image_resources_places_and_renders_when_it_fits
test windows photocraft-engine::global_state 1.87 memory_gate::a_smart_object_edit_under_low_memory_keeps_its_appearance
1 # Test times of the CI gate's shards, which the build job balances its per-shard archives by
14 bin
15 bin
16 bin
17 bin
18 bin
19 bin
20 bin
161 test
162 test
163 test
164 test
165 test
166 test
167 test
168 test
169 test
170 test
171 test
172 test
173 test
174 test
175 test
176 test
177 test
178 test
179 test
180 test
181 test
182 test
183 test
184 test
185 test
186 test
187 test
188 test
189 test
190 test
191 test
192 test
193 test
194 test
195 test
196 test
197 test
198 test
199 test
200 test
201 test
202 test
203 test
204 test
205 test
206 test
207 test
208 test
209 test
210 test
211 test
212 test
213 test
214 test
215 test
216 test
217 test
218 test
219 test
220 test
221 test
222 test
223 test
224 test
225 test
226 test
227 test
228 test
229 test
230 test
231 test
232 test
233 test
234 test
235 test
236 test
237 test
238 test
239 test
240 test
241 test
242 test
243 test
244 test
245 test
246 test
247 test
248 test
249 test
250 test
251 test
252 test
253 test
254 test
255 test
256 test
257 test
258 test
259 test
260 test
261 test
262 test
263 test
264 test
798 bin
799 bin
800 bin
801 bin
802 bin
803 bin
804 bin
1013 test
1014 test
1015 test
1016 test
1017 test
1018 test
1019 test
1020 test
1021 test
1022 test
1023 test
1024 test
1025 test
1026 test
1027 test
1028 test
1029 test
1030 test
1031 test
1032 test
1033 test
1034 test
1035 test
1036 test
1037 test
1038 test
1039 test
1040 test
1041 test
1042 test
1043 test
1044 test
1045 test
1046 test
1047 test
1048 test
1049 test
1050 test
1051 test
1052 test
1053 test
1054 test
1055 test
1056 test
1057 test
1058 test
1059 test
1060 test
1061 test
1062 test
1063 test
1064 test
1065 test
1066 test
1067 test
1068 test
1069 test
1070 test
1071 test
1072 test
1073 test
1074 test
1075 test
1076 test
1077 test
1078 test
1079 test
1080 test
1081 test
1082 test
1083 test
1084 test
1085 test
1086 test
1087 test
1088 test
1089 test
1090 test
1091 test
1092 test
1093 test
1094 test
1095 test
1096 test
1097 test
1098 test
1099 test
1100 test
1101 test
1102 test
1103 test
1104 test
1105 test
1106 test
1107 test
1108 test
1109 test
1110 test
1111 test
1112 test
1113 test
1114 test
1115 test
1116 test
1117 test
1118 test
1119 test
1120 test
1121 test
1122 test
1123 test
1124 test
1125 test
1126 test
1127 test
1128 test
1129 test
1130 test
1131 test
1132 test
1133 test
1134 test
1135 test
1136 test
1137 test
1138 test
1139 test
1140 test
1141 test
1142 test
1143 test
1144 test
1145 test
1146 test
1147 test
1148 test
1149 test
1150 test
1151 test
1152 test
1153 test
1154 test
1155 test
1156 test
1157 test
1158 test
1159 test
1160 test
1161 test
1162 test
1163 test
1164 test
1165 test
1166 test
1167 test
1168 test
1169 test
1170 test
1171 test
1172 test
1173 test
1174 test
1175 test
1176 test
1177 test
1178 test
1179 test
+7 -7
View File
@@ -55,7 +55,7 @@ slow-timeout = { period = "15s", terminate-after = 3 }
# times out. Each runs alone there.
[[profile.ci.overrides]]
platform = 'cfg(target_os = "windows")'
filter = 'package(photocraft-engine) & test(/content_aware_move/)'
filter = '(package(photocraft-engine-core) | package(photocraft-engine)) & test(/content_aware_move/)'
threads-required = "num-test-threads"
# Keep phase timings for the remaining expensive Windows GPU regressions visible. This does
@@ -97,23 +97,23 @@ priority = 100
# 60 to 200 s
filter = '''
(package(photocraft-gpu) & test(=camera_raw::clarity_texture_and_dehaze_with_shadows_highlights_and_per_pixel_stages)) |
(package(photocraft-engine) & test(=cmd::retouch_cmds::content_aware_move::tests::a_coarse_preview_keeps_a_faint_sparse_selection)) |
(package(photocraft-engine-core) & test(=cmd::retouch_cmds::content_aware_move::tests::a_coarse_preview_keeps_a_faint_sparse_selection)) |
(package(photocraft-engine) & test(=crop_content_aware_layers::unmeasured_active_targets_and_delete_off_keep_the_legacy_target)) |
(package(photocraft-engine) & test(=cmd::retouch_cmds::content_aware_move::color_tests::a_flat_patch_matches_the_new_surroundings_at_color_ten)) |
(package(photocraft-engine-core) & test(=cmd::retouch_cmds::content_aware_move::color_tests::a_flat_patch_matches_the_new_surroundings_at_color_ten)) |
(package(photocraft-ui-egui) & test(=tools::type_tool::canvas_tests::every_paragraph_box_handle_resizes_the_box_with_snapping_on)) |
(package(photocraft-ui-egui) & test(=gpu_tests::checker_canvas::pixel_grid_is_solid_and_visible_gpu_2x)) |
(package(photocraft-engine) & test(=cmd::retouch_cmds::tests::content_aware_move_coarse_preview_handles_transform_extend_and_limits)) |
(package(photocraft-engine-core) & test(=cmd::retouch_cmds::tests::content_aware_move_coarse_preview_handles_transform_extend_and_limits)) |
(package(photocraft-ui-egui) & test(=gpu_tests::checker_canvas::pixel_grid_is_solid_and_visible_cpu_2x)) |
(package(photocraft-ui-egui) & test(=gpu_tests::drag_preview_canvas::marquee_previews_show_while_dragging_on_white_and_black_at_1x_and_2x)) |
(package(photocraft-gpu) & test(=camera_raw::shadows_and_highlights_with_per_pixel_stages)) |
(package(photocraft-engine) & test(=cmd::retouch_cmds::content_aware_move::color_tests::a_brightness_change_shifts_the_middle_only_past_color_five)) |
(package(photocraft-engine) & test(=cmd::retouch_cmds::tests::content_aware_move_previews_large_selections_coarse_then_exact_at_all_depths)) |
(package(photocraft-engine-core) & test(=cmd::retouch_cmds::content_aware_move::color_tests::a_brightness_change_shifts_the_middle_only_past_color_five)) |
(package(photocraft-engine-core) & test(=cmd::retouch_cmds::tests::content_aware_move_previews_large_selections_coarse_then_exact_at_all_depths)) |
(package(photocraft-ui-egui) & test(=gpu_tests::live_stroke_canvas::live_tool_camera_navigation_is_visible_in_the_input_frame)) |
(package(photocraft-ui-egui) & test(=gpu_tests::live_stroke_canvas::the_canvas_shows_the_committed_stroke_part_0)) |
(package(photocraft-ui-egui) & test(=gpu_tests::full_res_preview::adjustment_layer_drag_previews_at_full_resolution_when_low_res_is_off)) |
(package(photocraft-ui-egui) & test(=input::hold_keys::tests::cmd_gives_the_move_tool_only_where_the_tool_does_not_take_cmd)) |
(package(photocraft-ui-egui) & test(=guide_cursor_tests::command_over_a_guide_takes_it_where_command_is_the_move_tool)) |
(package(photocraft-gpu) & test(=parity::documents_larger_than_the_texture_limit)) |
(package(photocraft-engine) & test(=cmd::retouch_cmds::content_aware_move::tests::a_preview_within_the_full_resolution_budget_is_the_plain_solve_bit_for_bit))
(package(photocraft-engine-core) & test(=cmd::retouch_cmds::content_aware_move::tests::a_preview_within_the_full_resolution_budget_is_the_plain_solve_bit_for_bit))
'''
priority = 50
+2 -2
View File
@@ -549,7 +549,7 @@ jobs:
- name: Compare exact outputs and release timings on 24 MP
run: |
set -o pipefail
cargo test --release -p photocraft-engine --lib color_range_release_comparison -- --ignored --nocapture | tee color-range-perf.txt
cargo test --release -p photocraft-engine-core --lib color_range_release_comparison -- --ignored --nocapture | tee color-range-perf.txt
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
if: always()
with:
@@ -590,7 +590,7 @@ jobs:
- name: Compare cropped command reads and writeback on 36 MP
run: |
set -o pipefail
cargo test --release -p photocraft-engine --lib sparse_modify_release_comparison -- --ignored --nocapture | tee -a selection-morphology-perf.txt
cargo test --release -p photocraft-engine-core --lib sparse_modify_release_comparison -- --ignored --nocapture | tee -a selection-morphology-perf.txt
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
if: always()
with:
Generated
+29
View File
@@ -6607,6 +6607,35 @@ dependencies = [
[[package]]
name = "photocraft-engine"
version = "0.23.1"
dependencies = [
"blake3",
"craft-affinity",
"craft-cms 0.1.0 (git+https://github.com/storytold/craft-libs?rev=e953d47a378776dea207899b10baf969fc8cbe53)",
"craft-develop-model",
"craft-image-codecs",
"craft-psd",
"exr",
"photocraft-algo",
"photocraft-color",
"photocraft-compose",
"photocraft-doc",
"photocraft-engine-core",
"photocraft-format",
"photocraft-geom",
"photocraft-io",
"photocraft-paint",
"photocraft-raster",
"photocraft-testkit",
"photocraft-text",
"photocraft-vector",
"rayon",
"serde_json",
"tempfile",
]
[[package]]
name = "photocraft-engine-core"
version = "0.23.1"
dependencies = [
"base64 0.22.1",
"blake3",
+5 -2
View File
@@ -38,6 +38,7 @@ photocraft-format = { path = "crates/format" }
photocraft-automation = { path = "crates/automation" }
photocraft-plugins = { path = "crates/plugins" }
photocraft-engine = { path = "crates/engine" }
photocraft-engine-core = { path = "crates/engine-core" }
photocraft-ui-egui = { path = "crates/ui-egui" }
photocraft-testkit = { path = "crates/testkit" }
photocraft-tablet = { path = "crates/tablet" }
@@ -120,7 +121,7 @@ todo = "warn"
# Every cl command selects these packages: each brings features the others lack, so a command that drops one
# builds a second copy of egui, photocraft-io or craft-affinity and of everything above them.
selection = [
"photocraft-ui-egui", "photocraft-engine", "photocraft", "photocraft-algo", "photocraft-automation",
"photocraft-ui-egui", "photocraft-engine", "photocraft-engine-core", "photocraft", "photocraft-algo", "photocraft-automation",
"photocraft-text", "photocraft-tablet", "photocraft-cli", "photocraft-paint", "photocraft-io", "photocraft-gpu",
]
# Crates whose new builds cl names after a command, besides the framework's.
@@ -149,7 +150,7 @@ craft-imaging = ["default", "screen-testing", "ui"]
[workspace.metadata.cl.default_seconds]
"photocraft-ui-egui/photocraft_ui_egui" = 389.0
"photocraft-ui-egui/it" = 221.0
"photocraft-engine/photocraft_engine" = 97.0
"photocraft-engine-core/photocraft_engine_core" = 97.0
# Dependencies carry no debug info: their frames in a backtrace lose file:line, and the target dir
# and link times shrink. The test profile inherits both settings.
@@ -179,6 +180,8 @@ opt-level = 0
# the dev profile's 1.
[profile.test.package.photocraft-engine]
opt-level = 0
[profile.test.package.photocraft-engine-core]
opt-level = 0
# Only the exhaustive rounding proof needs maximum optimization; algo stays at its usual level.
[profile.test.package.photocraft-oil-round-proof]
+1 -1
View File
@@ -49,7 +49,7 @@ WORKDIR /src/apps/photocraft-web
# memory than the release zip's fat LTO; retain the profile's other optimizations.
ARG CARGO_PROFILE_WASM_RELEASE_LTO=thin
ARG CARGO_BUILD_JOBS=1
# Optional build provenance shown in About and `--version` (crates/engine/src/build_info.rs).
# Optional build provenance shown in About and `--version` (crates/engine-core/src/build_info.rs).
# .git is not in the build context, so pass it in, e.g.
# --build-arg PHOTOCRAFT_BUILD_SHA=$(git rev-parse HEAD) --build-arg PHOTOCRAFT_BUILD_DATE=$(date -u +%F)
# Left empty, the build reports itself as a dev build.
+1
View File
@@ -1427,6 +1427,7 @@ fn a_non_unicode_path_is_taken_and_non_unicode_text_is_a_usage_error() {
#[test]
fn batch_plays_a_photoshop_actions_file() {
use photocraft_engine::actions_cmds::{Action, ActionStep};
photocraft_engine::install().unwrap();
let d = tmp("atn");
let input = d.join("in");
std::fs::create_dir_all(&input).unwrap();
+2 -1
View File
@@ -245,7 +245,8 @@ fn recovered_documents_survive_a_second_crash_until_saved_or_closed() {
let red = index_of(&app, RED);
app.run("file.close", json!({"document": red})).unwrap();
// Saving marks the revision saved (the file write itself is the save service's job).
assert!(app.session.set_active(index_of(&app, BLUE)));
let blue = index_of(&app, BLUE);
assert!(app.session.set_active(blue));
let st = app.session.active_mut().unwrap();
st.saved_revision = st.revision;
prefs_ui::tick(&mut app, &ctx, std::time::Instant::now());
+1 -1
View File
@@ -1,5 +1,5 @@
[package]
name = "photocraft-engine"
name = "photocraft-engine-core"
version.workspace = true
edition.workspace = true
license.workspace = true
+1 -1
View File
@@ -171,8 +171,8 @@ use params::{bad, set_clipped};
pub(crate) use params::{check_f32_values, cmyk_param, color_param, int, int_i32, parse_hex, u32_id, u32_id_param};
pub use photocraft_color::blend::parse_blend;
pub use crate::install::{command_specs, find};
pub use crate::registry::{CommandSpec, list_entry, list_entry_matches, search_keywords};
pub use crate::registry::{command_specs, find};
#[cfg(test)]
mod set_props_tests {
@@ -1424,6 +1424,8 @@ fn group_layers_from_index_reference_stays_implicit() {
#[test]
fn unsupported_shapes_become_photoshop_steps_not_errors() {
// Reads the command registry before any session exists.
crate::install().unwrap();
// Image size in two different percentages, a Paint Bucket click in percent of the canvas, a
// move in percent, an unknown adjustment class.
let items = vec![
@@ -964,7 +964,7 @@ fn decontamination_alpha_keeps_missing_source_alpha_only_inside_bounds() {
#[test]
fn layer_export_as_names_every_resample_method_in_the_presets_order() {
crate::install().unwrap();
let spec = crate::install::command_specs().iter().find(|c| c.id == "layer.exportAs").unwrap();
let spec = crate::registry::command_specs().iter().find(|c| c.id == "layer.exportAs").unwrap();
let keys: Vec<&str> = crate::export_preset_cmds::RESAMPLE.iter().map(|(key, _)| *key).collect();
assert!(spec.params.contains(&format!("\"resample\":\"{}\"", keys.join("|"))), "{}", spec.params);
}
@@ -126,6 +126,8 @@ fn shared_svg_update_decodes_one_source_for_equal_scale_and_keeps_warning_caches
#[test]
fn local_svg_sources_separate_scale_and_profile_but_keep_instance_filters_and_placement() {
// Reads the command registry before any session exists.
crate::install().unwrap();
let mut doc = Document::new("Profile", Size::new(64, 64), ColorMode::Rgb, SampleType::F32);
doc.icc_profile = Some(craft_cms::Builtin::Srgb.profile().to_bytes());
let mut linear = doc.clone();
+3 -1
View File
@@ -7,7 +7,9 @@ pub enum EngineError {
#[error("unknown command `{id}`{hint}", id = .0, hint = command_hints::unknown_command_hint(.0))]
UnknownCommand(String),
/// A session ran a command before the process installed any command tables.
#[error("no commands are installed in this process: create the session with `Session::new()`, which installs them")]
#[error(
"no commands are installed in this process: call `install()` of the engine crate in use, or create the session with `photocraft_engine::Session::new()` or a crate's `session()`, which install them"
)]
NotInstalled,
/// An install named other command tables than the one already in place; table `at` differs.
#[error("different command tables are already installed: table {at} is `{installed}`, not `{requested}`")]
+10 -16
View File
@@ -1,10 +1,11 @@
//! The engine's full command registry: every command table, in registry order, and the install
//! that puts it in place for the process.
//! The engine's command registry: every command table, in registry order, and the install that
//! puts it in place for the process. Until the engine crates are cut out of this one, it holds
//! every engine command, and `photocraft_engine::install()` installs this list.
use std::sync::OnceLock;
use crate::Result;
use crate::registry::{self, CommandSpec, Install, Table};
use crate::registry::{self, Install, Table};
use crate::{Result, Session};
/// Every command table with its name, in registry order. The order is part of the behaviour
/// (menus list commands in it) and `command_ids.txt` pins it. The `table` fragments are grouped by
@@ -139,7 +140,7 @@ const TABLES: &[Table] = &[
("actions_cmds", crate::actions_cmds::specs),
];
/// Install every engine command for this process. Later calls return the first call's result.
/// Install this crate's commands for the process. Later calls return the first call's result.
pub fn install() -> Result<()> {
static INSTALLED: OnceLock<Result<()>> = OnceLock::new();
INSTALLED
@@ -151,18 +152,11 @@ pub fn install() -> Result<()> {
.clone()
}
/// Every engine command in registry order, installed first: for callers that read the registry
/// before any session exists (menus, docs, tests).
pub fn command_specs() -> &'static [CommandSpec] {
// A conflicting install leaves the registry empty, and every command reports the conflict.
/// A session with this crate's commands installed: what this crate's tests start from.
pub fn session() -> Session {
// A conflicting install reports itself at the session's first command.
let _ = install();
registry::command_specs()
}
/// The engine command `id`, installed first (see [`command_specs`]).
pub fn find(id: &str) -> Option<&'static CommandSpec> {
let _ = install();
registry::find(id)
Session::new()
}
#[cfg(test)]
@@ -1,6 +1,6 @@
use super::TABLES;
const HINT: &str = "\nadd the id to src/install/command_ids.txt, or run this test with PHOTOCRAFT_WRITE_COMMAND_IDS=1 and review the diff";
const HINT: &str = "\nadd the id to crates/engine-core/src/install/command_ids.txt, or run this test with PHOTOCRAFT_WRITE_COMMAND_IDS=1 and review the diff";
/// Menus, the Command Palette and the automation docs list commands in registry order, so the
/// order is part of the behaviour. `command_ids.txt` pins it; regenerate the file from main when
+1
View File
@@ -174,6 +174,7 @@ pub use cmd::web_cmds;
pub use cmd::wia_cmds;
pub use doc_state::{CopiedStyle, DocState, DocStateInputs, PRECHECKED, ToolState, selected_in};
pub use error::{EngineError, Result};
pub use install::{install, session};
pub use session::move_item;
use session::restore_target;
pub(crate) use session::{carry_visibility, fix_selection, visibility_changes};
+3 -3
View File
@@ -16,10 +16,10 @@ pub fn move_item<T>(v: &mut Vec<T>, i: usize, to: usize) -> Option<usize> {
}
impl Session {
/// A session on the process's command registry. It installs nothing itself: the process
/// installs the commands first (`photocraft_engine::Session::new()`, or an engine crate's
/// `install()` or `session()`), and scratch sessions inside commands use that install.
pub fn new() -> Self {
// Commands run through the process-wide registry; the first session installs it, and a
// conflicting install reports itself at the first command.
let _ = crate::install::install();
Self::default()
}
+46
View File
@@ -0,0 +1,46 @@
[package]
name = "photocraft-engine"
version.workspace = true
edition.workspace = true
license.workspace = true
[lints]
workspace = true
# Not `src/lib.rs`: the engine's sources moved to crates/engine-core/src, and with the old path gone
# git carries open branches' edits of `src/lib.rs` to `crates/engine-core/src/lib.rs` (photocraft#15710).
[lib]
path = "src/facade.rs"
[features]
# Real-file corpus tests (opt-in; `cargo xtask test-corpus`). Fail when the corpus is missing.
corpus = ["photocraft-engine-core/corpus"]
# The engine's code and dependencies live in photocraft-engine-core; this crate re-exports it.
[dependencies]
photocraft-engine-core = { workspace = true }
# What tests/ and examples/ use.
[dev-dependencies]
craft-affinity = { workspace = true, features = ["synth"] }
craft-cms = { workspace = true }
craft-develop-model = { workspace = true }
craft-psd = { workspace = true }
photocraft-algo = { workspace = true }
photocraft-codecs = { workspace = true }
photocraft-color = { workspace = true }
photocraft-compose = { workspace = true }
photocraft-doc = { workspace = true }
photocraft-format = { workspace = true }
photocraft-geom = { workspace = true }
photocraft-io = { workspace = true, features = ["testgen"] }
photocraft-paint = { workspace = true }
photocraft-raster = { workspace = true }
photocraft-testkit = { workspace = true }
photocraft-text = { workspace = true }
photocraft-vector = { workspace = true }
serde_json = { workspace = true }
rayon = { workspace = true }
blake3 = { version = "1.8", default-features = false, features = ["pure"] }
exr = { version = "1.73", default-features = false }
tempfile = "3"
+80
View File
@@ -0,0 +1,80 @@
//! The PhotoCraft engine for apps: [`photocraft_engine_core`] and the engine crates built on it,
//! re-exported at the paths the engine has always had, with every engine command installed.
//!
//! Commands run through one registry per process, which a process installs before its first
//! command. [`Session::new`], [`install`], [`command_specs`] and [`commands::find`] install every
//! engine command first, so a frontend uses the engine as one crate.
#![forbid(unsafe_code)]
#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::unimplemented, clippy::todo, clippy::unreachable)]
use std::ops::{Deref, DerefMut};
/// The session type the engine hands to callbacks (a job's `apply`, for example). [`Session`]
/// dereferences to it, so `&mut Session` passes wherever `&mut CoreSession` is asked for.
/// `CoreSession::new()` and `default()` install no commands: an app constructs [`Session`].
pub use photocraft_engine_core::Session as CoreSession;
pub use photocraft_engine_core::*;
/// The engine's commands (`photocraft_engine_core::cmd`), with [`command_specs`](commands::command_specs)
/// and [`find`](commands::find) installing every engine command first.
pub mod commands {
pub use crate::{command_specs, find};
pub use photocraft_engine_core::cmd::*;
}
pub use commands as cmd;
/// Install every engine command for this process. Later calls return the first call's result.
pub fn install() -> Result<()> {
photocraft_engine_core::install()
}
/// Every engine command in registry order, installed first: for callers that read the registry
/// before any session exists (menus, docs, tests).
pub fn command_specs() -> &'static [CommandSpec] {
// A conflicting install makes every read report the conflict.
let _ = install();
registry::command_specs()
}
/// The engine command `id`, installed first (see [`command_specs`]).
pub fn find(id: &str) -> Option<&'static CommandSpec> {
let _ = install();
registry::find(id)
}
/// A session with every engine command installed.
pub struct Session(CoreSession);
impl Session {
/// A new session, after installing every engine command for the process.
pub fn new() -> Self {
// A conflicting install reports itself at the session's first command.
let _ = install();
Self(CoreSession::new())
}
}
impl Default for Session {
fn default() -> Self {
Self::new()
}
}
impl Deref for Session {
type Target = CoreSession;
fn deref(&self) -> &CoreSession {
&self.0
}
}
impl DerefMut for Session {
fn deref_mut(&mut self) -> &mut CoreSession {
&mut self.0
}
}
/// A session with every engine command installed; the same as [`Session::new`].
pub fn session() -> Session {
Session::new()
}
@@ -142,6 +142,7 @@ fn set_duplication_preserves_metadata_call_targets_and_empty_folder_order() {
/// Menu insertion keeps descriptor absence and kind; empty descriptors and ambiguous commands differ.
#[test]
fn inserted_menu_events_roundtrip_absent_settings_and_stateless_items_execute() {
photocraft_engine::install().unwrap();
assert!(!atn_cmds::menu_item_needs_settings("filter.noise.despeckle"));
assert!(atn_cmds::menu_item_needs_settings("filter.blur.gaussianBlur"));
for id in ["image.imageSize", "filter.blur.gaussianBlur", "filter.noise.despeckle"] {
+18 -9
View File
@@ -126,7 +126,8 @@ fn indexes_and_ordinals_use_the_recorded_stack_with_or_without_background() {
let first = u32::from(!background);
let expected = [Some("Base"), Some("L1"), Some("L2"), None, Some("Gchild"), Some("G"), Some("L3")];
for (offset, name) in expected.into_iter().enumerate() {
s.execute("layer.select", json!({"layer":layer(&s,"L2")})).unwrap();
let pick = json!({"layer":layer(&s,"L2")});
s.execute("layer.select", pick).unwrap();
let reference = index("Lyr ", first + offset as u32);
let action = select(reference.clone());
roundtrip(&action, &reference, None);
@@ -134,7 +135,8 @@ fn indexes_and_ordinals_use_the_recorded_stack_with_or_without_background() {
assert_eq!(s.active().unwrap().active_layer.unwrap().0, layer(&s, name.unwrap_or("L2")));
}
for (code, expected) in [("Trgt", "L2"), ("Frwr", "Gchild"), ("Bckw", "L1"), ("Frnt", "L3"), ("Back", "Base")] {
s.execute("layer.select", json!({"layer":layer(&s,"L2")})).unwrap();
let pick = json!({"layer":layer(&s,"L2")});
s.execute("layer.select", pick).unwrap();
let reference = ordinal(code);
let action = select(reference.clone());
roundtrip(&action, &reference, None);
@@ -154,8 +156,10 @@ fn indexes_and_ordinals_use_the_recorded_stack_with_or_without_background() {
#[test]
fn group_end_does_not_replace_the_current_selection() {
let mut s = scene(true);
s.execute("layer.select", json!({"layer":layer(&s,"L1")})).unwrap();
s.execute("layer.select", json!({"layer":layer(&s,"L2"),"mode":"add"})).unwrap();
let pick = json!({"layer":layer(&s,"L1")});
s.execute("layer.select", pick).unwrap();
let pick = json!({"layer":layer(&s,"L2"),"mode":"add"});
s.execute("layer.select", pick).unwrap();
for modifier in [None, Some("addToSelection"), Some("removeFromSelection"), Some("addToSelectionContinuous")] {
let mut d = Descriptor::new("null").with("null", D::Reference(vec![index("Lyr ", 3)]));
if let Some(modifier) = modifier {
@@ -233,8 +237,10 @@ fn indexed_moves_follow_the_measured_boundary_table() {
#[test]
fn indexed_move_preserves_multiple_selected_sources() {
let mut s = scene(true);
s.execute("layer.select", json!({"layer":layer(&s,"L1")})).unwrap();
s.execute("layer.select", json!({"layer":layer(&s,"L2"),"mode":"add"})).unwrap();
let pick = json!({"layer":layer(&s,"L1")});
s.execute("layer.select", pick).unwrap();
let pick = json!({"layer":layer(&s,"L2"),"mode":"add"});
s.execute("layer.select", pick).unwrap();
let before = selection(&s);
let action = moved(ordinal("Trgt"), index("Lyr ", 6));
roundtrip(&action, &ordinal("Trgt"), Some(&index("Lyr ", 6)));
@@ -480,8 +486,10 @@ fn empty_comp_list_index_is_noop() {
#[test]
fn group_end_index_never_targets_the_selection() {
let mut s = scene(true);
s.execute("layer.select", json!({"layer":layer(&s,"L1")})).unwrap();
s.execute("layer.select", json!({"layer":layer(&s,"L2"),"mode":"add"})).unwrap();
let pick = json!({"layer":layer(&s,"L1")});
s.execute("layer.select", pick).unwrap();
let pick = json!({"layer":layer(&s,"L2"),"mode":"add"});
s.execute("layer.select", pick).unwrap();
let past = s.active().unwrap().history.past_len();
let doc = s.active().unwrap().doc.clone();
assert!(s.execute("layer.translate", json!({"layer":{"index":3},"dx":1,"dy":0})).is_err());
@@ -506,7 +514,8 @@ fn forward_ordinal_precondition_checks_the_resolved_layer() {
s.execute("edit.fill", json!({"contents":"color","color":"#000000"})).unwrap();
s.execute("type.create", json!({"text":"C","size":2})).unwrap();
s.execute("layer.renameLayer", json!({"name":"C"})).unwrap();
s.execute("layer.select", json!({"layer":layer(&s,"A")})).unwrap();
let pick = json!({"layer":layer(&s,"A")});
s.execute("layer.select", pick).unwrap();
s.execute("channel.target", json!({"colors":[0]})).unwrap();
let b = photocraft_doc::LayerId(layer(&s, "B"));
let before = s.active().unwrap().doc.layer(b).cloned();
+3 -3
View File
@@ -121,14 +121,14 @@ const READ_BY_THE_FRAMEWORK: &[&str] = &["integrations.controlPort", "integratio
#[test]
fn every_preference_is_read_or_hidden() {
let root = Path::new(env!("CARGO_MANIFEST_DIR")).join("../..");
let prefs_rs = std::fs::read_to_string(root.join("crates/engine/src/prefs.rs")).unwrap();
let prefs_rs = std::fs::read_to_string(root.join("crates/engine-core/src/prefs.rs")).unwrap();
let mut files = Vec::new();
rust_sources(&root.join("crates"), &mut files);
rust_sources(&root.join("apps"), &mut files);
let prefs_dir = root.join("crates/engine/src/prefs");
let prefs_dir = root.join("crates/engine-core/src/prefs");
let files: Vec<(PathBuf, String)> = files
.into_iter()
.filter(|p| !p.ends_with("engine/src/prefs.rs") && !p.starts_with(&prefs_dir))
.filter(|p| !p.ends_with("engine-core/src/prefs.rs") && !p.starts_with(&prefs_dir))
.filter_map(|p| std::fs::read_to_string(&p).ok().map(|t| (p, production(&t))))
.collect();
let mut sources: Vec<String> = files.iter().map(|(_, t)| t.clone()).collect();
@@ -243,7 +243,7 @@ pub(super) fn commit_open_raw(app: &mut PhotocraftApp, params: &CameraRaw, raw:
}
.map_err(|e| photocraft_engine::EngineError::Other(e.to_string()))
};
let apply = move |s: &mut photocraft_engine::Session, (r, wb): (photocraft_io::ImportResult, bool)| replace_raw_document(s, doc_id, r, wb);
let apply = move |s: &mut photocraft_engine::CoreSession, (r, wb): (photocraft_io::ImportResult, bool)| replace_raw_document(s, doc_id, r, wb);
let label = crate::i18n::fmt(tl!("Developing {name}"), &[("name", &raw.name)]);
let started = if app.background_jobs {
app.session.start_job(REDEVELOP_JOB, json!({"name": raw.name}), &label, true, work, apply).map_err(|e| e.to_string())?
@@ -279,7 +279,7 @@ pub(super) fn return_on_failure(app: &mut PhotocraftApp, reply: &Value, original
/// position and with the same path. Returns `{document, docId, previous, warnings, wb}`:
/// `document` is the tab index at apply time, `docId` is the replacement's stable identity.
pub(super) fn replace_raw_document(
s: &mut photocraft_engine::Session,
s: &mut photocraft_engine::CoreSession,
doc_id: photocraft_doc::DocId,
mut r: photocraft_io::ImportResult,
wb: bool,
@@ -2096,6 +2096,7 @@ fn save_hook_closing_the_target_stops_an_imported_close_with_save() {
use craft_psd::atn::{self, AtnEvent, AtnItem};
use craft_psd::descriptor::{Descriptor, Id, Value as D};
use std::{cell::RefCell, rc::Rc};
photocraft_engine::install().unwrap();
// A one-step .atn: Close (`Cls `) with Save: Yes.
let seed = new_action("Seed", vec![("layer.new.layer".into(), json!({}))]);
let (bytes, _) = photocraft_engine::atn_cmds::export("Set", &[&seed], &[], false).unwrap();
+1 -1
View File
@@ -21,7 +21,7 @@ const ALLOWED: &[&str] = &[
];
// The only catalog rows that may say "Camera Raw": their English text names Photoshop's .xmp files.
const ALLOWED_KEYS: &[&str] = &["Save these settings as a Camera Raw .xmp file", "Load settings from a Camera Raw .xmp file"];
const ROOTS: &[&str] = &["src", "../engine/src"];
const ROOTS: &[&str] = &["src", "../engine/src", "../engine-core/src"];
fn is_word(c: char) -> bool {
c.is_alphanumeric() || c == '_'
+1 -1
View File
@@ -15,7 +15,7 @@
1. **Find the id.** Search `crates/ui-egui/src/menu_catalog.rs` for the Photoshop menu item. Using its id makes the menu item live with no UI work. Commands without a Photoshop menu entry use a descriptive id in the same style (`layer.smartFilter.delete`) and an empty menu path.
2. **Algorithm** goes in the lowest crate that fits (`algo` for imaging, `paint`, `vector`, `text`; colour management is `craft-cms` in craft-libs), with unit tests. It takes depth-agnostic surfaces (`photocraft-raster`), works per tile, and is deterministic (seeded randomness).
3. **Command** goes in an engine module (`crates/engine/src/<area>_cmds.rs`) exposing `specs()`, registered by adding `("<module>", crate::<module>::specs)` to `TABLES` in `crates/engine/src/install.rs` (after the table it follows in the menus) and its ids to `crates/engine/src/install/command_ids.txt` (the order test says how). A command in a core menu goes in the owner fragment `crates/engine/src/cmd/table/<owner>/<menu>.rs` instead. Fill in:
3. **Command** goes in an engine module (`crates/engine-core/src/<area>_cmds.rs`) exposing `specs()`, registered by adding `("<module>", crate::<module>::specs)` to `TABLES` in `crates/engine-core/src/install.rs` (after the table it follows in the menus) and its ids to `crates/engine-core/src/install/command_ids.txt` (the order test says how). A command in a core menu goes in the owner fragment `crates/engine-core/src/cmd/table/<owner>/<menu>.rs` instead. Fill in:
- `id`, `label`, `menu` path and Photoshop's default `shortcut`,
- a params doc string such as `{"radius":px=4,"mode":"a|b"="a"}` (this is what agents read through `commands` / `command_list`),
- an `enabled` predicate (greys the menu item out),
+1 -1
View File
@@ -73,7 +73,7 @@ in the dialog.
Every binary reports its version, the commit and the build date: `photocraft --version`,
`photocraft-cli --version`, and *Help › About PhotoCraft*. CI sets `PHOTOCRAFT_BUILD_SHA` and
`PHOTOCRAFT_BUILD_DATE`, and `crates/engine/src/build_info.rs` reads them at compile time. A plain
`PHOTOCRAFT_BUILD_DATE`, and `crates/engine-core/src/build_info.rs` reads them at compile time. A plain
`cargo build` doesn't set them and reports `0.2.0 (dev build)`.
Every desktop build job (macOS, Windows, Linux, FreeBSD) also checks out [craft-fonts](https://github.com/storytold/craft-fonts)
+1 -1
View File
@@ -5,7 +5,7 @@
# ROOT workspace root
# VERSION [workspace.package] version from Cargo.toml (override: PHOTOCRAFT_VERSION)
# DIST output directory for release artifacts (default: $ROOT/dist/release)
# PHOTOCRAFT_BUILD_SHA git commit baked into the binaries (see crates/engine/src/build_info.rs)
# PHOTOCRAFT_BUILD_SHA git commit baked into the binaries (see crates/engine-core/src/build_info.rs)
# PHOTOCRAFT_BUILD_DATE UTC build date, YYYY-MM-DD
# CARGO_TARGET_DIR cargo's target dir (default: $ROOT/target)
+4 -11
View File
@@ -2,7 +2,7 @@
"""Move a branch's added or removed command tables into the engine's install list.
The engine's command tables are listed, in registry order, in `TABLES` in
`crates/engine/src/install.rs`. Before that, `crates/engine/src/cmd.rs` listed them: first as
`crates/engine-core/src/install.rs` (`crates/engine/src/install.rs` before the crate split). Before that, `crates/engine/src/cmd.rs` listed them: first as
`v.extend(<module>::specs());` lines in `fn build()`, later as `("<name>", <path>),` entries in
`SPECS`. A branch that added or removed a table carries that edit in `cmd.rs`. This script applies
it to `TABLES`:
@@ -22,8 +22,8 @@ inline commands are `table_fragments.py`'s; run both.
import argparse, re, subprocess, sys
CMD = "crates/engine/src/cmd.rs"
INSTALL = "crates/engine/src/install.rs"
LIB = "crates/engine/src/lib.rs"
INSTALL = "crates/engine-core/src/install.rs"
INSTALL_BEFORE_SPLIT = "crates/engine/src/install.rs"
EXTEND_RE = re.compile(r"^\s*v\.extend\(((?:crate::)?(?:cmd::)?)([a-z0-9_:]+?)::([a-z0-9_]+)\(\)\);", re.M)
ENTRY_RE = re.compile(r'^\s*\("([^"]+)",\s*([A-Za-z0-9_:]+)\),', re.M)
@@ -65,7 +65,7 @@ def main():
ap.add_argument("--base", required=True, help="the branch's merge-base with the old main")
ap.add_argument("--head", required=True, help="the branch")
a = ap.parse_args()
if git_show(a.head, INSTALL) is not None:
if git_show(a.head, INSTALL) is not None or git_show(a.head, INSTALL_BEFORE_SPLIT) is not None:
print(
f"warning: {a.head} is already on the install.rs layout; if you rebased, pass the "
"pre-rebase commit as --head (a rebased branch has lost its added tables)",
@@ -98,13 +98,6 @@ def main():
pred = "the last table fragment"
rows.insert(at, f' ("{name}", {path}),')
report.append(f"added {name} ({path}) after {pred}")
module = path.split("::")[-2]
lib = git_show(a.head, LIB) or ""
if not re.search(rf"^pub (?:use cmd::{module}|mod {module})\b", lib, re.M):
report.append(
f"WARNING module `{module}` of {name} is private in {LIB}; task 3 moves install.rs "
"to the top crate and needs it public"
)
for name in base:
if name not in head_names and name in names():
rows = [r for r, n in zip(rows, names()) if n != name]
+3 -3
View File
@@ -2,7 +2,7 @@
"""Move a branch's edits of the old inline command table into the table fragments.
Before the table was split, `crates/engine/src/cmd.rs` held every core command in one `vec![...]`
inside `fn build()`. The entries now live in `crates/engine/src/cmd/table/<owner>/<menu>.rs`, and
inside `fn build()`. The entries now live in `crates/engine-core/src/cmd/table/<owner>/<menu>.rs`, and
`install/command_ids.txt` pins the registry order. A branch that edited the old table carries its
edits in `cmd.rs`. This script applies them to the fragments:
@@ -29,8 +29,8 @@ Edits outside `build()` (imports in cmd.rs, helper fns, test modules) are not to
import argparse, os, re, subprocess, sys, tempfile
CMD = "crates/engine/src/cmd.rs"
TABLE = "crates/engine/src/cmd/table"
IDS = "crates/engine/src/install/command_ids.txt"
TABLE = "crates/engine-core/src/cmd/table"
IDS = "crates/engine-core/src/install/command_ids.txt"
ID_RE = re.compile(r'"([a-zA-Z]+\.[A-Za-z0-9.]+)"')
+4 -3
View File
@@ -15,7 +15,7 @@ use crate::pinned::{PinnedCorpus, USER_AGENT};
use crate::{cargo, root, run};
/// Crates with corpus tests (behind their `corpus` feature).
pub const CORPUS_CRATES: &[&str] = &["photocraft-io", "photocraft-engine"];
pub const CORPUS_CRATES: &[&str] = &["photocraft-io", "photocraft-engine-core", "photocraft-engine"];
/// Opt-in corpus crates: fetched and tested only with `test-corpus --pixls`.
pub const PIXLS_CRATES: &[&str] = &["photocraft-raw"];
@@ -24,10 +24,11 @@ const HEIF_CRATES: &[&str] = &["photocraft-io"];
/// Paths whose changes make `test-corpus --changed` run (the file-format and rendering crates,
/// and the engine's `.atn` import and export).
const CRITICAL: &[&str] = &["crates/io/", "crates/compose/", "crates/gpu/", "crates/text/", "crates/format/", "crates/raw/", "crates/engine/src/cmd/atn_cmds/"];
const CRITICAL: &[&str] =
&["crates/io/", "crates/compose/", "crates/gpu/", "crates/text/", "crates/format/", "crates/raw/", "crates/engine-core/src/cmd/atn_cmds/"];
fn is_critical(path: &str) -> bool {
path == "crates/engine/src/cmd/atn_cmds.rs" || CRITICAL.iter().any(|prefix| path.starts_with(prefix))
path == "crates/engine-core/src/cmd/atn_cmds.rs" || CRITICAL.iter().any(|prefix| path.starts_with(prefix))
}
/// `cargo xtask corpus [--all | --pngsuite | --download | --psd | --psd-tools | --heif | --exr | --pixls | --affinity | --atn | --photoshop [--local] | --gimp [--local]] [--update-manifest]`
+7 -7
View File
@@ -9,12 +9,12 @@ fn corpus_rejects_unknown_arguments_before_fetching() {
#[test]
fn changed_atn_root_triggers_corpus_tests() {
assert!(is_critical("crates/engine/src/cmd/atn_cmds.rs"));
assert!(is_critical("crates/engine-core/src/cmd/atn_cmds.rs"));
}
#[test]
fn changed_atn_modules_trigger_corpus_tests() {
for path in ["crates/engine/src/cmd/atn_cmds/steps_render.rs", "crates/engine/src/cmd/atn_cmds/tests.rs"] {
for path in ["crates/engine-core/src/cmd/atn_cmds/steps_render.rs", "crates/engine-core/src/cmd/atn_cmds/tests.rs"] {
assert!(is_critical(path), "{path}");
}
}
@@ -22,10 +22,10 @@ fn changed_atn_modules_trigger_corpus_tests() {
#[test]
fn similarly_named_atn_siblings_do_not_trigger_corpus_tests() {
for path in [
"crates/engine/src/cmd/atn_cmds_extra.rs",
"crates/engine/src/cmd/atn_cmds_old/tests.rs",
"crates/engine/src/cmd/atn_cmds.rs.bak",
"crates/engine/src/cmd/atn_cmds",
"crates/engine-core/src/cmd/atn_cmds_extra.rs",
"crates/engine-core/src/cmd/atn_cmds_old/tests.rs",
"crates/engine-core/src/cmd/atn_cmds.rs.bak",
"crates/engine-core/src/cmd/atn_cmds",
] {
assert!(!is_critical(path), "{path}");
}
@@ -47,7 +47,7 @@ fn existing_critical_sources_still_trigger_corpus_tests() {
#[test]
fn unrelated_sources_do_not_trigger_corpus_tests() {
for path in ["crates/engine/src/jobs.rs", "crates/engine/src/cmd/layer_cmds.rs", "docs/actions.md", "apps/photocraft-web/src/main.rs"] {
for path in ["crates/engine-core/src/jobs.rs", "crates/engine-core/src/cmd/layer_cmds.rs", "docs/actions.md", "apps/photocraft-web/src/main.rs"] {
assert!(!is_critical(path), "{path}");
}
}
+18 -1
View File
@@ -97,7 +97,10 @@ fn read_optional(path: &Path) -> Result<Option<String>, String> {
fn source_keys(root: &Path) -> Result<BTreeSet<Key>, String> {
let ui_sources = source_files(&root.join("crates/ui-egui/src"))?;
let engine_sources = source_files(&root.join("crates/engine/src"))?;
let mut engine_sources = Vec::new();
for dir in engine_source_dirs(root)? {
engine_sources.extend(source_files(&dir)?);
}
let mut keys = tl_keys(&ui_sources);
keys.extend(plural_keys(&ui_sources));
@@ -193,6 +196,20 @@ fn quoted_field(block: &str, field: &str) -> Option<String> {
Some(rest.get(..end)?.to_string())
}
/// The `src` directory of every engine crate (`crates/engine`, `crates/engine-core`, ...).
fn engine_source_dirs(root: &Path) -> Result<Vec<PathBuf>, String> {
let crates = root.join("crates");
let entries = fs::read_dir(&crates).map_err(|e| format!("{}: {e}", crates.display()))?;
let mut dirs: Vec<PathBuf> = entries
.flatten()
.filter(|e| e.file_name().to_str().is_some_and(|n| n == "engine" || n.starts_with("engine-")))
.map(|e| e.path().join("src"))
.filter(|p| p.is_dir())
.collect();
dirs.sort();
Ok(dirs)
}
fn source_files(root: &Path) -> Result<Vec<(PathBuf, String)>, String> {
let mut files = Vec::new();
let mut stack = vec![root.to_path_buf()];
+4 -2
View File
@@ -59,6 +59,7 @@ pub const TABLE: &[(&str, Class)] = &[
("viewport", Class::Layer(4)),
("ml", Class::Layer(4)),
("plugins", Class::Layer(4)),
("engine-core", Class::Layer(5)),
("engine", Class::Layer(5)),
("ui-egui", Class::Layer(6)),
("automation", Class::Layer(6)),
@@ -76,8 +77,9 @@ pub const TABLE: &[(&str, Class)] = &[
/// Explicit orderings *within* a layer (earlier may be used by later).
/// The L0 foundation is a small chain: `raster` builds on `color` and
/// `geom`, which the §3 diagram draws on one line. The GPU backend (`gpu`)
/// reuses the CPU reference (`compose`) for LUTs and parity tests.
pub const INTRA_LAYER_ORDER: &[&[&str]] = &[&["geom", "color", "raster"], &["compose", "gpu"]];
/// reuses the CPU reference (`compose`) for LUTs and parity tests. The engine's crates form one
/// chain per leaf crate, from `engine-core` to the top crate `engine` (photocraft#15710).
pub const INTRA_LAYER_ORDER: &[&[&str]] = &[&["geom", "color", "raster"], &["compose", "gpu"], &["engine-core", "engine"]];
fn intra_layer_allowed(from: &str, to: &str) -> bool {
let (from, to) = (short_name(from), short_name(to));
+2 -2
View File
@@ -23,7 +23,7 @@ use crate::perf;
pub const OUT: &str = "docs/scorecard.md";
const CORPUS_RS: &str = "crates/io/tests/it/corpus.rs";
const PREFS_RS: &str = "crates/engine/src/prefs.rs";
const PREFS_RS: &str = "crates/engine-core/src/prefs.rs";
// ---- checklists ------------------------------------------------------------------------------
@@ -377,7 +377,7 @@ fn audit_sources(root: &Path) -> Vec<(PathBuf, String)> {
walk(&root.join("apps"), &mut files);
files.sort();
let model = root.join(PREFS_RS);
let prefs_dir = root.join("crates/engine/src/prefs");
let prefs_dir = root.join("crates/engine-core/src/prefs");
files
.into_iter()
.filter(|p| *p != model && !p.starts_with(&prefs_dir))