Files
photocraft/scripts/engine_split/crates.tsv
T
aiongg 4653c2a2a3 Engine split scripts: step 8 crate map, review fixes, move_tests appends and copies only what moved tests use
crates.tsv: the vector cut moves 13 command modules; the 11 shared engines
(float, frame, slice, symmetry, transform, type, type_extra, type_spell, warp,
smart, vector) map to model and stay in core until step 12; notes'
stored-values tests move with notes.

engine_cut.py: super:: paths are rewritten only at a moved file's own depth;
trait imports are added per module scope; import names come from whole use
trees; branch moves TABLES entries into the crate's install.rs before removing
them from core and finishes the moved files at their new paths; a widened name
keeps its use statement's cfg; single-name groups widen as whole imports;
re-exports from lib.rs resolve from the crate root.

move_tests.py: an existing target module gets the new tests appended (in a
module of their own when a name would clash or the file is organised by
source file); helpers are copied as written, and only those the moved tests
name unqualified; trait imports stay only when a method of the trait is
called; path rewrites skip string literals; ci-test-times remaps only this
run's tests, without duplicate rows; list reads the crate's spec functions for
its ids, ignores ids whose result is dropped, and lists test functions at the
top of production files, which move without their production siblings;
test-module parents are found inside inline modules; cleanup touches only the
modules the move emptied and keeps those other code names; --previous needs
--old-ref.

install_tables.py matches a table's full module path to its crate;
table_fragments.py reports a branch-added entry whose handler is in a crate the
predecessor's fragment can't reach.
2026-11-23 22:41:12 +00:00

182 lines
4.2 KiB
Plaintext

# Engine split (photocraft#15710): the crate each engine module goes to. A unit is a module of
# crates/engine-core/src: `cmd/<name>` for one declared in cmd.rs, `<name>` for one declared in lib.rs.
# Its files are the module's file and every file its `mod` declarations reach. scripts/engine_split/engine_cut.py reads it. A module not listed stays in core.
unit crate
actions_record core
adjust_params model
allocation core
build_info core
canvas_geom model
channel_clip model
clip_group core
cmd/actions_cmds files
cmd/actions_edit_cmds files
cmd/adjust_cmds image
cmd/adjust_params model
cmd/adjustment_brush_cmds paint
cmd/adjustment_brush_cmds_tests paint
cmd/align_cmds vector
cmd/analysis_cmds image
cmd/artboard_cmds model
cmd/atn_cmds files
cmd/automate_cmds files
cmd/background_cmds model
cmd/brush_cmds paint
cmd/brush_key_cmds paint
cmd/brush_preset_cmds store
cmd/channel_cmds model
cmd/color_cmds model
cmd/color_to_alpha_cmds image
cmd/comps_cmds vector
cmd/contour_lib_cmds store
cmd/cutout_cmds image
cmd/distort_cmds image
cmd/document_preset_cmds store
cmd/edit_cmds model
cmd/edit_menu_cmds image
cmd/enabled core
cmd/eraser_cmds paint
cmd/export_preset_cmds store
cmd/exr_cmds files
cmd/extra_cmds image
cmd/face_cmds paint
cmd/file_cmds files
cmd/fill_cmds paint
cmd/fill_key_cmds paint
cmd/float_cmds model
cmd/font_library_cmds store
cmd/frame_cmds model
cmd/fx_view_cmds store
cmd/fx_visibility_cmds store
cmd/gallery_cmds image
cmd/gradient_fill_cmds store
cmd/group_view_cmds image
cmd/history_cmds model
cmd/history_menu_cmds model
cmd/history_options_cmds model
cmd/history_select_cmds model
cmd/history_source_cmds model
cmd/image_cmds image
cmd/layer_copy_cmds model
cmd/layer_css_cmds vector
cmd/layer_label_cmds image
cmd/layer_list_cmds image
cmd/layer_mask_props_cmds image
cmd/layer_menu_cmds image
cmd/layer_multi_cmds model
cmd/layer_nav_cmds image
cmd/layer_params core
cmd/layer_references core
cmd/layer_xmp_cmds vector
cmd/lens_cmds image
cmd/magnetic_cmds image
cmd/mask_view_cmds model
cmd/migrate_cmds store
cmd/mode_cmds image
cmd/multichannel_cmds image
cmd/notes_cmds vector
cmd/ops core
cmd/paint_cmds paint
cmd/params core
cmd/path_edit_cmds vector
cmd/pattern_cmds store
cmd/pattern_fill_cmds store
cmd/perspective_crop_cmds image
cmd/photo_cmds image
cmd/pick_cmds paint
cmd/plugin_cmds image
cmd/preset_import_cmds store
cmd/print_cmds files
cmd/rasterize_style_cmds vector
cmd/redeye_cmds paint
cmd/render_cmds image
cmd/retouch_cmds paint
cmd/sample_cmds model
cmd/sampler_cmds paint
cmd/select_extra_cmds image
cmd/selection_cmds image
cmd/slice_cmds model
cmd/smart_cmds model
cmd/smart_svg_cmds vector
cmd/smartselect_cmds image
cmd/solid_fill_cmds store
cmd/stamp_cmds paint
cmd/style_asl_cmds store
cmd/swatch_cmds store
cmd/symmetry_cmds model
cmd/timeline_cmds files
cmd/transform_cmds model
cmd/trap_cmds vector
cmd/type_area_cmds vector
cmd/type_caret_cmds vector
cmd/type_cmds model
cmd/type_extra_cmds model
cmd/type_mask_cmds vector
cmd/type_spell_cmds model
cmd/type_styles_cmds vector
cmd/variables_cmds files
cmd/vector_clipboard model
cmd/vector_cmds model
cmd/video_cmds files
cmd/vp_cmds image
cmd/warp_cmds model
cmd/web_cmds files
cmd/wia_cmds files
color_channels model
command_hints core
crop_fill image
display_color model
doc_path core
doc_state core
error core
filters image
filters_ext image
group_options core
guide_layout core
hidden_target core
inspect core
installed_profiles core
jobs core
keymap_defs store
layer_place core
layer_style store
link_watch model
malloc_tuning core
memory core
memory_gate core
new_layer core
param_check core
pixels core
prefs store
preset_store store
presets store
proof_sim model
scratch core
select_mask_edits image
session core
shell_commands core
shortcut_sets store
snap core
cmd/table/paint paint
cmd/table/image image
cmd/table/model model
cmd/table/store store
pixel_fill core
content_sampling model
brush_defs store
brush_clear_background_tests paint
brush_pressure_size_default_tests paint
eraser_gray_background_tests paint
pencil_auto_erase_exact_tests paint
mixer_indexed_bitmap_tests paint
mixer_toggle_commands_tests paint
cmd/gradient_alpha_method_tests paint
cmd/notes_stored_values_tests vector
action_history core
damage core
slots core
state core
install core
registry core
hooks core