kicad/eeschema
Seth Hillbrand 1ca0737c34 Replace stale pin references with UNDO copy
When we replace a symbol with one that has fewer pins, the old pins
are released, which leaves points to them in the connection graph
dangling.  This updates the pointer to use the cloned copy in the undo
stack until the connection graph is rebuilt with the new data

Fixes https://gitlab.com/kicad/code/kicad/-/issues/17851

(cherry picked from commit 315ad0e071)
2024-04-24 12:55:30 -07:00
..
dialogs Replace stale pin references with UNDO copy 2024-04-24 12:55:30 -07:00
import_gfx Don't import invalid polygons. 2024-02-25 12:29:02 +00:00
navlib Introduce action friendly names 2023-10-27 23:58:29 +01:00
netlist_exporters Add volume to IBIS cache path 2024-02-03 09:35:36 +00:00
printing Don't draw the selection if it's not from the current screen. 2024-03-02 18:56:57 +00:00
python_scripts Respect exclude from bom in all python files 2024-01-05 16:11:20 +00:00
sch_io add support to update an already existing field 2024-04-09 23:37:52 +00:00
sim Update m_LastLegendPosition after setting dirty bit. 2024-03-14 18:07:07 +00:00
symbol_editor Symbol Editor: do not allow to select fully invisible pins and fields 2024-03-15 15:03:38 +01:00
tools Fix missing instance data when reusing an already loaded schematic. 2024-04-18 16:07:36 -04:00
widgets Maintain hierarchy navigator expansion state between edits. 2024-04-11 10:32:40 -04:00
CMakeLists.txt Rename all schematic IO plugins 2023-12-24 01:22:21 +00:00
annotate.cpp More globals eradication. 2023-11-12 23:43:30 +00:00
autoplace_fields.cpp Eeschema: Autoplace fields offset correction 2024-01-24 00:24:16 +00:00
bom_plugins.cpp More wxSing 2023-01-16 23:14:38 -05:00
bom_plugins.h
bus-wire-junction.cpp Performance SCH_EDIT_FRAME::SchematicCleanUp 2024-02-23 14:36:36 -05:00
bus_alias.h
cmp_library.keywords
connection_graph.cpp Replace stale pin references with UNDO copy 2024-04-24 12:55:30 -07:00
connection_graph.h Replace stale pin references with UNDO copy 2024-04-24 12:55:30 -07:00
cross-probing.cpp Update net navigator when cross probing from board editor net highlight. 2024-03-03 08:57:54 -05:00
default_values.h Schematic Lines: add marker for unselected, connected line ends 2022-12-12 14:45:06 -05:00
ee_collectors.cpp Renaming: replace convert with body-style. 2024-01-26 16:21:03 +00:00
ee_collectors.h Renaming: replace convert with body-style. 2024-01-26 16:21:03 +00:00
eeschema.cpp Fix crash if we exit lib table setup 2024-02-11 21:05:23 -05:00
eeschema.icns Add document type icons 2024-02-09 15:55:57 -08:00
eeschema_config.cpp EEschema, net navigator: save settings when closing Eeschema. 2024-02-01 12:53:33 +01:00
eeschema_doc.icns Add document type icons 2024-02-09 15:55:57 -08:00
eeschema_helpers.cpp Remember to set the root sheet before loading 2024-04-18 10:48:15 -07:00
eeschema_helpers.h USe setactive in cli in the LoadSchematic helper too 2024-02-16 00:08:10 -05:00
eeschema_id.h Push most of DIALOG_CHOOSE_SYMBOL down into PANEL_SYMBOL_CHOOSER. 2023-09-29 00:13:12 +01:00
eeschema_jobs_handler.cpp kicad_cli: Allow upgrade of legacy and non-kicad symbol libraries 2024-03-02 18:22:18 +01:00
eeschema_jobs_handler.h Schematic parity checking for CLI DRC. 2024-02-02 23:05:37 +00:00
eeschema_settings.cpp EEschema, net navigator: save settings when closing Eeschema. 2024-02-01 12:53:33 +01:00
eeschema_settings.h FromDIP symbol and footprint editor aui panes 2024-01-17 23:08:38 -05:00
erc.cpp Default is a valid netclass, even if it's not in m_NetClasses. 2024-03-14 18:07:48 +00:00
erc.h Schematic parity checking for CLI DRC. 2024-02-02 23:05:37 +00:00
erc_item.cpp Enforce SCH_SHEET_PATH processing in (yet) more places. 2023-11-12 14:15:04 +00:00
erc_item.h Now that we allow open-text netclass references we need to ERC check them. 2023-11-04 13:59:28 +00:00
erc_report.cpp Add $schema prop to drc/erc 2024-02-13 19:08:55 -05:00
erc_report.h Dump the ERC report as part of the erc failure 2024-01-21 16:10:43 -05:00
erc_sch_pin_context.cpp Coding policy and Doxygen comment fixes. 2023-10-12 09:36:28 -04:00
erc_sch_pin_context.h Coding policy and Doxygen comment fixes. 2023-10-12 09:36:28 -04:00
erc_settings.cpp ERC: set default setting ERCE_SIMULATION_MODEL to ignore 2023-04-14 17:21:09 +02:00
erc_settings.h Schematic parity checking for CLI DRC. 2024-02-02 23:05:37 +00:00
fields_data_model.cpp Update labels when editing field names. 2024-01-23 14:58:56 +00:00
fields_data_model.h Symbol Fields Table: better column moving 2023-12-06 09:39:10 -05:00
fields_grid_table.cpp Pass symbol's netlist to footprint preview widget. 2024-03-14 18:04:52 +00:00
fields_grid_table.h Common: move SCH_FIELD_VALIDATORS to FIELD_VALIDATORS 2023-06-20 18:34:52 +00:00
files-io.cpp Fix incremental connectivity 2024-04-14 14:14:38 -07:00
general.h
generate_alias_info.cpp Improve editing values with {return} in text fields; Add hyperlink detection. 2023-10-15 01:45:39 +03:00
generate_alias_info.h
gfx_import_utils.cpp ConvertImageToPolygons: fix images with no alpha. 2024-02-06 21:38:00 +03:00
gfx_import_utils.h ADDED: Importers for EasyEDA (JLCEDA) Standard / Professional. 2023-09-07 11:02:40 +03:00
invoke_sch_dialog.h Rename files and classes to match dialog name. 2022-12-11 18:42:57 +00:00
lib_field.cpp Don't use EQUALITY flag when doing a symbol diff with library. 2024-02-22 23:37:50 +00:00
lib_field.h Rename all schematic IO plugins 2023-12-24 01:22:21 +00:00
lib_item.cpp Fix merge error. 2024-03-29 18:26:14 +00:00
lib_item.h Correctly report body style in symbol checker. 2024-01-26 18:11:23 +00:00
lib_pin.cpp ADDED: Expose units and DeMorgan to properties system. 2024-03-29 17:49:48 +00:00
lib_pin.h Honour alternates when getting SCH_PIN description. 2023-12-23 13:30:15 +00:00
lib_shape.cpp ADDED: Expose units and DeMorgan to properties system. 2024-03-29 17:49:48 +00:00
lib_shape.h Cleanup. 2023-11-25 13:12:45 +00:00
lib_symbol.cpp Check for valid shared pointer before locking 2024-04-11 14:42:53 -07:00
lib_symbol.h Renaming: replace convert with body-style. 2024-01-26 16:21:03 +00:00
lib_text.cpp Keep selected flags on undo/redo items. 2023-12-22 17:30:14 +00:00
lib_text.h ADDED: Git integration support 2023-10-20 12:51:47 +00:00
lib_textbox.cpp _() -> _HKI() for group names. 2024-02-29 17:38:18 +00:00
lib_textbox.h _() -> _HKI() for group names. 2024-02-29 17:38:18 +00:00
libarch.cpp Upgrade many editing actions to SCHEMATIC_COMMIT. 2023-06-09 22:41:47 +01:00
libedit.icns macOS: add a few more known file types 2023-11-16 12:11:42 -05:00
libedit_doc.icns Add document type icons 2024-02-09 15:55:57 -08:00
menubar.cpp Eeschema menubar, view menu: group Show/Hide Net Navigator with other Show/hide menus 2024-01-31 12:40:21 +01:00
net_navigator.cpp Net navigator: Unescape net names 2023-10-31 22:19:48 -04:00
picksymbol.cpp Update a few strings based on new string freeze policy. 2024-02-05 15:49:57 +00:00
pin_numbers.cpp More wxSing 2023-01-16 23:14:38 -05:00
pin_numbers.h
pin_type.cpp Code cleanup and compiler warnings. 2024-02-22 23:37:45 +00:00
pin_type.h Refactor pin orientation to be an enum class 2023-07-26 23:46:15 -04:00
project_rescue.cpp Renaming: replace convert with body-style. 2024-01-26 16:21:03 +00:00
project_rescue.h Rename all schematic IO plugins 2023-12-24 01:22:21 +00:00
project_sch.cpp Tear out the eeschema conditional compile of PROJECT 2023-09-27 23:05:30 -04:00
project_sch.h Tear out the eeschema conditional compile of PROJECT 2023-09-27 23:05:30 -04:00
sch_base_frame.cpp Coding policy and Doxygen comment fixes. 2023-10-12 09:36:28 -04:00
sch_base_frame.h Prevent multiple reloads when saving 2024-01-11 19:01:31 -08:00
sch_bitmap.cpp Make plotting of PDF property popups optional. 2023-10-21 21:52:51 +01:00
sch_bitmap.h Make plotting of PDF property popups optional. 2023-10-21 21:52:51 +01:00
sch_bus_entry.cpp Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_bus_entry.h Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_commit.cpp Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_commit.h Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_connection.cpp Fix uninitialized variable. (Coverity) 2024-01-04 14:58:59 +00:00
sch_connection.h Add explicit copy ctor for SCH_CONNECTION 2023-12-28 15:30:25 -05:00
sch_draw_panel.cpp More changes for SCH_COMMIT independence from frames. 2023-06-10 20:53:44 +01:00
sch_draw_panel.h
sch_edit_frame.cpp Replace stale pin references with UNDO copy 2024-04-24 12:55:30 -07:00
sch_edit_frame.h Maintain hierarchy navigator expansion state between edits. 2024-04-11 10:32:40 -04:00
sch_field.cpp Don't assume all glyphs are outline with an outline font. 2024-03-18 22:20:44 +00:00
sch_field.h Expose text size for SCH_FIELDs. 2024-02-29 17:38:18 +00:00
sch_file_versions.h Parse generator_version and improve error output on mismatch 2023-11-29 16:17:41 +00:00
sch_item.cpp Fix incremental connectivity 2024-04-14 14:14:38 -07:00
sch_item.h Fix incremental connectivity 2024-04-14 14:14:38 -07:00
sch_junction.cpp Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_junction.h Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_label.cpp Fix incremental connectivity 2024-04-14 14:14:38 -07:00
sch_label.h Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_line.cpp Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_line.h Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_marker.cpp EDA_ITEM::SwapData() must not swap the parent pointer. 2024-02-09 20:10:12 +00:00
sch_marker.h Make plotting of PDF property popups optional. 2023-10-21 21:52:51 +01:00
sch_no_connect.cpp Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_no_connect.h Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_painter.cpp Symbol Editor do not display bounding box of invisible pins and fields 2024-03-15 15:03:38 +01:00
sch_painter.h Symbol Editor do not display bounding box of invisible pins and fields 2024-03-15 15:03:38 +01:00
sch_pin.cpp Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_pin.h Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_plotter.cpp Fix HPGL color mode being set. 2024-01-15 22:35:35 +03:00
sch_plotter.h Coverity warning fixes. 2023-10-27 16:48:14 -04:00
sch_preview_panel.cpp Use IsShownOnScreen(), not IsShown(), if you really want to know if its visible. 2023-10-14 23:51:37 +01:00
sch_preview_panel.h
sch_reference_list.cpp More globals eradication. 2023-11-12 23:43:30 +00:00
sch_reference_list.h More globals eradication. 2023-11-12 23:43:30 +00:00
sch_rtree.h Rename all schematic IO plugins 2023-12-24 01:22:21 +00:00
sch_screen.cpp Performance UpdateDanglingState 2024-02-23 14:36:50 -05:00
sch_screen.h Naming conventions; no functional changes. 2024-01-29 16:00:06 +00:00
sch_shape.cpp Add bezier icon 2024-02-14 02:01:01 +01:00
sch_shape.h Cleanup. 2023-11-25 13:12:45 +00:00
sch_sheet.cpp Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_sheet.h Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_sheet_path.cpp Incremental schematic connectivity fixes. 2024-01-21 16:53:05 +00:00
sch_sheet_path.h Incremental schematic connectivity fixes. 2024-01-21 16:53:05 +00:00
sch_sheet_pin.cpp Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_sheet_pin.h Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_symbol.cpp Fix incremental connectivity 2024-04-14 14:14:38 -07:00
sch_symbol.h Do not update schematic connectivity for irrelevant property changes. 2024-03-16 09:36:56 -04:00
sch_text.cpp _() -> _HKI() for group names. 2024-02-29 17:38:18 +00:00
sch_text.h Handle justification for vertical text when mirroring. 2023-11-17 21:50:16 +00:00
sch_text_help.md
sch_text_help_md.h
sch_textbox.cpp _() -> _HKI() for group names. 2024-02-29 17:38:18 +00:00
sch_textbox.h Enforce SCH_SHEET_PATH processing in (yet) more places. 2023-11-12 14:15:04 +00:00
sch_validators.cpp Common: move SCH_FIELD_VALIDATORS to FIELD_VALIDATORS 2023-06-20 18:34:52 +00:00
sch_validators.h Common: move SCH_FIELD_VALIDATORS to FIELD_VALIDATORS 2023-06-20 18:34:52 +00:00
sch_view.cpp Coverity warning fix. 2023-10-28 13:25:30 -04:00
sch_view.h Add PIN_NAME and PIN_NUM to the layer ordering 2023-09-06 19:15:35 +00:00
schematic.cpp Naming conventions; no functional changes. 2024-01-29 16:00:06 +00:00
schematic.h Enforce SCH_SHEET_PATH processing in (yet) more places. 2023-11-12 14:15:04 +00:00
schematic.keywords Parse generator_version and improve error output on mismatch 2023-11-29 16:17:41 +00:00
schematic_settings.cpp More globals eradication. 2023-11-12 23:43:30 +00:00
schematic_settings.h More globals eradication. 2023-11-12 23:43:30 +00:00
schematic_undo_redo.cpp Update hierarchy navigator when undoing or redoing sheet name changes. 2024-04-11 10:51:04 -04:00
sheet.cpp Maintain hierarchy navigator expansion state between edits. 2024-04-11 10:32:40 -04:00
symbol_async_loader.cpp Handle non-IOE exceptions in symbol loader 2023-11-15 12:27:34 -05:00
symbol_async_loader.h
symbol_checker.cpp Update a few strings based on new string freeze policy. 2024-02-05 15:49:57 +00:00
symbol_chooser_frame.cpp Add bottom panel to have correct background in fp/sym chooser frames. 2024-02-24 15:17:28 +00:00
symbol_chooser_frame.h Filter must return true for libraries. 2023-11-13 17:18:15 +00:00
symbol_diff_frame.cpp ADDED: Git integration support 2023-10-20 12:51:47 +00:00
symbol_diff_frame.h ADDED: Git integration support 2023-10-20 12:51:47 +00:00
symbol_lib_table.cpp Remove unnecessary assert 2024-02-28 00:03:37 +00:00
symbol_lib_table.h Introduce base IO_MGR class and unify RELEASER objects 2023-12-29 00:37:38 +00:00
symbol_library.cpp Kick the wildcards and file exts into a static class, export it from kicommon 2023-12-27 21:10:01 -05:00
symbol_library.h Initial rename of file plugin infrastructure components to IO 2023-12-24 01:22:21 +00:00
symbol_library_common.h
symbol_library_manager.cpp Introduce base IO_MGR class and unify RELEASER objects 2023-12-29 00:37:38 +00:00
symbol_library_manager.h Rename all schematic IO plugins 2023-12-24 01:22:21 +00:00
symbol_tree_model_adapter.cpp Performance optimizations for database libraries. 2024-02-23 17:22:20 +00:00
symbol_tree_model_adapter.h
symbol_tree_synchronizing_adapter.cpp Check known m_Desc field before m_Fields. 2024-02-22 23:37:15 +00:00
symbol_tree_synchronizing_adapter.h Clearer naming. 2023-11-09 14:05:35 +00:00
symbol_viewer_frame.cpp Renaming: replace convert with body-style. 2024-01-26 16:21:03 +00:00
symbol_viewer_frame.h Renaming: replace convert with body-style. 2024-01-26 16:21:03 +00:00
toolbars_sch_editor.cpp Repair over-zealous application of grid origin dialog. 2023-08-29 12:21:21 +01:00
toolbars_symbol_viewer.cpp Push most of DIALOG_CHOOSE_SYMBOL down into PANEL_SYMBOL_CHOOSER. 2023-09-29 00:13:12 +01:00