kicad/eeschema/sch_plugins/legacy
Wayne Stambaugh 2b387ae9c3 Move schematic symbol instance data back into symbol definition.
This change reverts the storage of all symbol instance data in the root
schematic.  This was done because it's not possible to reuse instance
data when importing from sub-sheets.

There has been a fundamental change in how sheet paths are store in the
instance data.  The root schematic UUID is always used when saving the
instance data.  To prevent file churn, the virtual root sheet UUID is set
to the root schematic UUID when loading the project.  This provides a way
to determine the project that stored the instance data.  All uses of paths
without root sheet have been expunged from the code.

The sheet instance data is still saved only in the root sheet for the
time being.  New sheet instances will be automatically assigned an page
number based on the incremental virtual sheet page number.  Sheet page
numbers will not be imported.

Added project name to instance data to improve the readability of the
schematic file format.  It also creates an opportunity to remove orphaned
instance data by project name rather than cryptic UUIDs.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/12472
2022-10-02 15:06:42 -04:00
..
sch_legacy_lib_plugin_cache.cpp Fix more for loops making copies of iterates 2022-09-25 00:48:38 +01:00
sch_legacy_lib_plugin_cache.h Abstract out symbol library parser object. 2022-02-02 07:07:39 -05:00
sch_legacy_plugin.cpp Move schematic symbol instance data back into symbol definition. 2022-10-02 15:06:42 -04:00
sch_legacy_plugin.h Move schematic symbol instance data back into symbol definition. 2022-10-02 15:06:42 -04:00
sch_legacy_plugin_helpers.cpp Fix windows build error 2022-02-02 17:43:47 -05:00
sch_legacy_plugin_helpers.h Strip out Mils2Iu 2022-09-16 21:09:27 -04:00