mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-28 14:18:22 -08:00
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.
4.2 KiB
4.2 KiB
| 1 | # Engine split (photocraft#15710): the crate each engine module goes to. A unit is a module of | |
|---|---|---|
| 2 | # crates/engine-core/src: `cmd/<name>` for one declared in cmd.rs, `<name>` for one declared in lib.rs. | |
| 3 | # 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. | |
| 4 | unit | crate |
| 5 | actions_record | core |
| 6 | adjust_params | model |
| 7 | allocation | core |
| 8 | build_info | core |
| 9 | canvas_geom | model |
| 10 | channel_clip | model |
| 11 | clip_group | core |
| 12 | cmd/actions_cmds | files |
| 13 | cmd/actions_edit_cmds | files |
| 14 | cmd/adjust_cmds | image |
| 15 | cmd/adjust_params | model |
| 16 | cmd/adjustment_brush_cmds | paint |
| 17 | cmd/adjustment_brush_cmds_tests | paint |
| 18 | cmd/align_cmds | vector |
| 19 | cmd/analysis_cmds | image |
| 20 | cmd/artboard_cmds | model |
| 21 | cmd/atn_cmds | files |
| 22 | cmd/automate_cmds | files |
| 23 | cmd/background_cmds | model |
| 24 | cmd/brush_cmds | paint |
| 25 | cmd/brush_key_cmds | paint |
| 26 | cmd/brush_preset_cmds | store |
| 27 | cmd/channel_cmds | model |
| 28 | cmd/color_cmds | model |
| 29 | cmd/color_to_alpha_cmds | image |
| 30 | cmd/comps_cmds | vector |
| 31 | cmd/contour_lib_cmds | store |
| 32 | cmd/cutout_cmds | image |
| 33 | cmd/distort_cmds | image |
| 34 | cmd/document_preset_cmds | store |
| 35 | cmd/edit_cmds | model |
| 36 | cmd/edit_menu_cmds | image |
| 37 | cmd/enabled | core |
| 38 | cmd/eraser_cmds | paint |
| 39 | cmd/export_preset_cmds | store |
| 40 | cmd/exr_cmds | files |
| 41 | cmd/extra_cmds | image |
| 42 | cmd/face_cmds | paint |
| 43 | cmd/file_cmds | files |
| 44 | cmd/fill_cmds | paint |
| 45 | cmd/fill_key_cmds | paint |
| 46 | cmd/float_cmds | model |
| 47 | cmd/font_library_cmds | store |
| 48 | cmd/frame_cmds | model |
| 49 | cmd/fx_view_cmds | store |
| 50 | cmd/fx_visibility_cmds | store |
| 51 | cmd/gallery_cmds | image |
| 52 | cmd/gradient_fill_cmds | store |
| 53 | cmd/group_view_cmds | image |
| 54 | cmd/history_cmds | model |
| 55 | cmd/history_menu_cmds | model |
| 56 | cmd/history_options_cmds | model |
| 57 | cmd/history_select_cmds | model |
| 58 | cmd/history_source_cmds | model |
| 59 | cmd/image_cmds | image |
| 60 | cmd/layer_copy_cmds | model |
| 61 | cmd/layer_css_cmds | vector |
| 62 | cmd/layer_label_cmds | image |
| 63 | cmd/layer_list_cmds | image |
| 64 | cmd/layer_mask_props_cmds | image |
| 65 | cmd/layer_menu_cmds | image |
| 66 | cmd/layer_multi_cmds | model |
| 67 | cmd/layer_nav_cmds | image |
| 68 | cmd/layer_params | core |
| 69 | cmd/layer_references | core |
| 70 | cmd/layer_xmp_cmds | vector |
| 71 | cmd/lens_cmds | image |
| 72 | cmd/magnetic_cmds | image |
| 73 | cmd/mask_view_cmds | model |
| 74 | cmd/migrate_cmds | store |
| 75 | cmd/mode_cmds | image |
| 76 | cmd/multichannel_cmds | image |
| 77 | cmd/notes_cmds | vector |
| 78 | cmd/ops | core |
| 79 | cmd/paint_cmds | paint |
| 80 | cmd/params | core |
| 81 | cmd/path_edit_cmds | vector |
| 82 | cmd/pattern_cmds | store |
| 83 | cmd/pattern_fill_cmds | store |
| 84 | cmd/perspective_crop_cmds | image |
| 85 | cmd/photo_cmds | image |
| 86 | cmd/pick_cmds | paint |
| 87 | cmd/plugin_cmds | image |
| 88 | cmd/preset_import_cmds | store |
| 89 | cmd/print_cmds | files |
| 90 | cmd/rasterize_style_cmds | vector |
| 91 | cmd/redeye_cmds | paint |
| 92 | cmd/render_cmds | image |
| 93 | cmd/retouch_cmds | paint |
| 94 | cmd/sample_cmds | model |
| 95 | cmd/sampler_cmds | paint |
| 96 | cmd/select_extra_cmds | image |
| 97 | cmd/selection_cmds | image |
| 98 | cmd/slice_cmds | model |
| 99 | cmd/smart_cmds | model |
| 100 | cmd/smart_svg_cmds | vector |
| 101 | cmd/smartselect_cmds | image |
| 102 | cmd/solid_fill_cmds | store |
| 103 | cmd/stamp_cmds | paint |
| 104 | cmd/style_asl_cmds | store |
| 105 | cmd/swatch_cmds | store |
| 106 | cmd/symmetry_cmds | model |
| 107 | cmd/timeline_cmds | files |
| 108 | cmd/transform_cmds | model |
| 109 | cmd/trap_cmds | vector |
| 110 | cmd/type_area_cmds | vector |
| 111 | cmd/type_caret_cmds | vector |
| 112 | cmd/type_cmds | model |
| 113 | cmd/type_extra_cmds | model |
| 114 | cmd/type_mask_cmds | vector |
| 115 | cmd/type_spell_cmds | model |
| 116 | cmd/type_styles_cmds | vector |
| 117 | cmd/variables_cmds | files |
| 118 | cmd/vector_clipboard | model |
| 119 | cmd/vector_cmds | model |
| 120 | cmd/video_cmds | files |
| 121 | cmd/vp_cmds | image |
| 122 | cmd/warp_cmds | model |
| 123 | cmd/web_cmds | files |
| 124 | cmd/wia_cmds | files |
| 125 | color_channels | model |
| 126 | command_hints | core |
| 127 | crop_fill | image |
| 128 | display_color | model |
| 129 | doc_path | core |
| 130 | doc_state | core |
| 131 | error | core |
| 132 | filters | image |
| 133 | filters_ext | image |
| 134 | group_options | core |
| 135 | guide_layout | core |
| 136 | hidden_target | core |
| 137 | inspect | core |
| 138 | installed_profiles | core |
| 139 | jobs | core |
| 140 | keymap_defs | store |
| 141 | layer_place | core |
| 142 | layer_style | store |
| 143 | link_watch | model |
| 144 | malloc_tuning | core |
| 145 | memory | core |
| 146 | memory_gate | core |
| 147 | new_layer | core |
| 148 | param_check | core |
| 149 | pixels | core |
| 150 | prefs | store |
| 151 | preset_store | store |
| 152 | presets | store |
| 153 | proof_sim | model |
| 154 | scratch | core |
| 155 | select_mask_edits | image |
| 156 | session | core |
| 157 | shell_commands | core |
| 158 | shortcut_sets | store |
| 159 | snap | core |
| 160 | cmd/table/paint | paint |
| 161 | cmd/table/image | image |
| 162 | cmd/table/model | model |
| 163 | cmd/table/store | store |
| 164 | pixel_fill | core |
| 165 | content_sampling | model |
| 166 | brush_defs | store |
| 167 | brush_clear_background_tests | paint |
| 168 | brush_pressure_size_default_tests | paint |
| 169 | eraser_gray_background_tests | paint |
| 170 | pencil_auto_erase_exact_tests | paint |
| 171 | mixer_indexed_bitmap_tests | paint |
| 172 | mixer_toggle_commands_tests | paint |
| 173 | cmd/gradient_alpha_method_tests | paint |
| 174 | cmd/notes_stored_values_tests | vector |
| 175 | action_history | core |
| 176 | damage | core |
| 177 | slots | core |
| 178 | state | core |
| 179 | install | core |
| 180 | registry | core |
| 181 | hooks | core |