kicad/eeschema/tools
Wayne Stambaugh 62297e63a2 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

(cherry picked from commit 764df1d107)
2023-12-03 13:27:34 -05:00
..
assign_footprints.cpp Remove schematic symbol value and footprint field instance data. 2022-11-30 11:47:13 -05:00
backannotate.cpp Remove schematic symbol value and footprint field instance data. 2022-11-30 11:47:13 -05:00
backannotate.h Fix geographic annotation bug when back annotating to schematic. 2021-03-24 09:57:36 -04:00
ee_actions.cpp Schematic: fix reversed tooltips for navigation buttons 2023-01-31 13:05:37 -05:00
ee_actions.h Cleanup actions should not activate tools. It causes all manner of side-effects. 2023-01-06 22:15:20 +00:00
ee_grid_helper.cpp Repoint IU_PER_MILS 2022-09-16 21:09:26 -04:00
ee_grid_helper.h Do not include text when computing drag origin for a group 2021-11-14 11:54:04 -05:00
ee_inspection_tool.cpp Fix a bunch more issues with sheetpaths and allowExtraText. 2023-05-05 18:02:59 +01:00
ee_inspection_tool.h Eeschema: fix missing call to UpdateMessagePanel() due to commit e09147db. 2022-04-24 18:40:10 +02:00
ee_point_editor.cpp eeschema: fix sheet symbol pins changing side when resizing 2023-02-01 15:53:59 +00:00
ee_point_editor.h Respect CTRL key when resizing rects and textboxes. 2022-10-24 11:36:20 +01:00
ee_selection.cpp Revert "Fix handling of selection overlay in schematic editor" 2023-02-16 16:43:57 -05:00
ee_selection.h Revert "Fix handling of selection overlay in schematic editor" 2023-02-16 16:43:57 -05:00
ee_selection_tool.cpp Attempt to fix build. 2023-12-02 19:19:02 +00:00
ee_selection_tool.h Schematic: show update/change symbols for multiple symbol selection 2022-12-22 14:00:51 -05:00
ee_tool_base.h Don't dirty connectivity when moving non-reference SCH_FIELD. 2023-02-13 10:54:49 +00:00
sch_drawing_tools.cpp Collapse drawing tools to a single re-entrancy guard. 2023-12-02 16:23:46 +00:00
sch_drawing_tools.h Collapse drawing tools to a single re-entrancy guard. 2023-12-02 16:23:46 +00:00
sch_edit_tool.cpp Prevent some issues with recursion on repeat-last-item 2023-12-01 13:02:50 -05:00
sch_edit_tool.h Schematic: make menu bar rotation items conditional 2022-12-27 14:18:47 -05:00
sch_editor_conditions.cpp Fix crash in Altium schematic importer. 2022-12-05 20:20:01 -05:00
sch_editor_conditions.h Schematic: new feature, force 45 degree lines 2022-03-28 16:07:23 -04:00
sch_editor_control.cpp Fix crash when saving pasted root sheet symbols. 2023-12-03 13:27:34 -05:00
sch_editor_control.h Fix broken symbol reference designators on paste special. 2023-12-01 15:30:51 -05:00
sch_find_replace_tool.cpp Don't DisplayCurrentSheet() if we're already on it. 2023-07-09 21:55:54 +01:00
sch_find_replace_tool.h Move find/replace to own tool so it doesn't rob events from cross-probing. 2023-01-11 14:22:06 +00:00
sch_line_wire_bus_tool.cpp Better handling of dangling markers during bus unfold. 2023-08-15 17:52:42 +01:00
sch_line_wire_bus_tool.h Cleanup actions should not activate tools. It causes all manner of side-effects. 2023-01-06 22:15:20 +00:00
sch_move_tool.cpp Add items to repeat_items after paste (or duplicate). 2023-09-03 22:10:38 +01:00
sch_move_tool.h Remove newly dangling lines when dragging 2022-11-30 13:46:38 -08:00
sch_navigate_tool.cpp Fix bogus format string replacement type. 2023-01-07 19:34:32 +00:00
sch_navigate_tool.h PDF hypertext menus for intersheet references. 2022-08-27 23:58:13 +01:00
symbol_editor_control.cpp Update symbol editor's title bar when renaming the canvas symbol. 2023-09-30 13:19:40 +01:00
symbol_editor_control.h ADDED: Implement Drag and Drop 2022-09-14 22:28:09 +00:00
symbol_editor_drawing_tools.cpp Avoid the obsolete GetNextPin() call 2023-01-20 14:12:15 -08:00
symbol_editor_drawing_tools.h Second tool hotkey accepts action (ie: acts as click). 2022-06-09 16:54:04 +01:00
symbol_editor_edit_tool.cpp Fix compil and Coverity warnings 2023-01-22 09:40:09 +01:00
symbol_editor_edit_tool.h Add support for symbol unit display names in eeschema and symbol editor 2022-09-14 22:11:37 +00:00
symbol_editor_move_tool.cpp Avoid the obsolete GetNextPin() call 2023-01-20 14:12:15 -08:00
symbol_editor_move_tool.h Fix more broken Doxygen comment specifiers. 2021-01-26 12:17:52 -05:00
symbol_editor_pin_tool.cpp Avoid the obsolete GetNextPin() call 2023-01-20 14:12:15 -08:00
symbol_editor_pin_tool.h Rename LIB_PART to LIB_SYMBOL. 2021-06-14 07:11:17 -04:00