kicad/eeschema/sch_plugins/kicad
Wayne Stambaugh 764df1d107 Fix crash when saving pasted root sheet symbols.
The paste code creates invalid KIID_PATH objects with a zero length.  All
paths must include the root KIID at a minimum.  Code was added to prune
the invalid paths and some defensive code was adding to the formatter to
prevent the crash in case there are other paths where someone generates
a zero length path.

Pruning orphaned instance data does not work when loading schematics prior
to version 7 because the paths did not include the root sheet UUID.  Once
the file is saved to V7 or later, the next load will prune any orphaned or
invalid instance data for the current project.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16245
2023-12-03 08:03:31 -05:00
..
sch_sexpr_lib_plugin_cache.cpp Parse generator_version and improve error output on mismatch 2023-11-29 16:17:41 +00:00
sch_sexpr_lib_plugin_cache.h Hotglue a symbol upgrade function in cli 2022-11-29 00:00:45 -05:00
sch_sexpr_parser.cpp Use explicit booleans for schematic format 2023-11-29 16:17:41 +00:00
sch_sexpr_parser.h Use explicit booleans for schematic format 2023-11-29 16:17:41 +00:00
sch_sexpr_plugin.cpp Fix crash when saving pasted root sheet symbols. 2023-12-03 08:03:31 -05:00
sch_sexpr_plugin.h Fix broken symbol reference designators on paste special. 2023-12-01 14:18:47 -05:00
sch_sexpr_plugin_common.cpp Refactor pin orientation to be an enum class 2023-07-26 23:46:15 -04:00
sch_sexpr_plugin_common.h Refactor pin orientation to be an enum class 2023-07-26 23:46:15 -04:00