kicad/eeschema
Seth Hillbrand 315ad0e071 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
2024-04-24 12:55:02 -07:00
..
api RIP LIB_PIN. 2024-04-20 12:10:31 +01:00
dialogs Replace stale pin references with UNDO copy 2024-04-24 12:55:02 -07:00
import_gfx RIP LIB_TEXTBOX and LIB_SHAPE. 2024-04-16 16:31:16 +01:00
navlib Introduce action friendly names 2023-10-27 23:58:29 +01:00
netlist_exporters RIP LIB_PIN. 2024-04-20 12:10:31 +01:00
printing Factor common parts of SCH_ & LIB_SYMBOL into SYMBOL. 2024-04-04 13:18:55 +01:00
python_scripts Respect exclude from bom in all python files 2024-01-05 16:11:20 +00:00
sch_io Mostly clean-up, but also bug fixes with bounding boxes. 2024-04-22 11:16:14 +01:00
sim RIP LIB_PIN. 2024-04-20 12:10:31 +01:00
symbol_editor RIP LIB_PIN. 2024-04-20 12:10:31 +01:00
sync_sheet_pin Fix some warnings. 2024-04-14 01:19:39 +03:00
tools Default to target lib when no lib tree sel exists. 2024-04-22 17:36:38 +01:00
widgets Symbol chooser dialog layout improvements. 2024-04-24 11:08:04 -04:00
CMakeLists.txt RIP LIB_PIN. 2024-04-20 12:10:31 +01:00
annotate.cpp Harmonize print/plot APIs. 2024-04-06 09:34:56 +01:00
autoplace_fields.cpp RIP LIB_PIN. 2024-04-20 12:10:31 +01:00
bom_plugins.cpp
bom_plugins.h
bus-wire-junction.cpp Performance SCH_EDIT_FRAME::SchematicCleanUp 2024-02-23 19:21:44 +00:00
bus_alias.h
cmp_library.keywords
connection_graph.cpp Replace stale pin references with UNDO copy 2024-04-24 12:55:02 -07:00
connection_graph.h Replace stale pin references with UNDO copy 2024-04-24 12:55:02 -07:00
cross-probing.cpp Harmonize print/plot APIs. 2024-04-06 09:34:56 +01:00
default_values.h
ee_collectors.cpp RIP LIB_PIN. 2024-04-20 12:10:31 +01:00
ee_collectors.h Renaming: replace convert with body-style. 2024-01-26 16:21:03 +00:00
eeschema.cpp Move PGM_BASE to kicommon 2024-03-20 23:29:42 -04:00
eeschema.icns Add document type icons 2024-02-09 15:55:57 -08:00
eeschema_config.cpp Schematic editor Table Properties and commenting for QuasiModal usage. 2024-03-10 12:18:50 +00: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:47:49 -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 Symbol Fields Table: configurable excluded from BOM filtering 2024-04-15 13:08:04 -04:00
eeschema_jobs_handler.h Factor common parts of SCH_ & LIB_SYMBOL into SYMBOL. 2024-04-04 13:18:55 +01:00
eeschema_settings.cpp ADDED: optional PDF metadata from AUTHOR and SUBJECT variables. 2024-03-14 17:40:04 +00:00
eeschema_settings.h ADDED: optional PDF metadata from AUTHOR and SUBJECT variables. 2024-03-14 17:40:04 +00:00
erc.cpp RIP LIB_PIN. 2024-04-20 12:10:31 +01:00
erc.h ADDED: Implement footprint link checking in ERC. 2024-02-24 20:05:51 +00:00
erc_item.cpp Add new ERC rule to check for global labels with only one entry in the schematic 2024-03-17 23:24:43 +00:00
erc_item.h Add new ERC rule to check for global labels with only one entry in the schematic 2024-03-17 23:24:43 +00:00
erc_report.cpp ADDED: ERC/DRC exclusion comments. 2024-02-24 20:05:51 +00: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 Add new ERC rule to check for global labels with only one entry in the schematic 2024-03-17 23:24:43 +00:00
erc_settings.h Add new ERC rule to check for global labels with only one entry in the schematic 2024-03-17 23:24:43 +00:00
fields_data_model.cpp Symbol Fields Table: configurable excluded from BOM filtering 2024-04-15 13:08:04 -04:00
fields_data_model.h Symbol Fields Table: better column moving 2023-12-06 09:39:10 -05:00
fields_grid_table.cpp RIP LIB_PIN. 2024-04-20 12:10:31 +01:00
fields_grid_table.h Fix some warnings. 2024-04-14 01:19:39 +03:00
files-io.cpp Refactor autosave prefix into FILEEXT. 2024-04-22 04:06:04 +03:00
general.h
generate_alias_info.cpp Collapse LIB_FIELD into SCH_FIELD. 2024-04-13 15:42:13 +01:00
generate_alias_info.h
gfx_import_utils.cpp RIP LIB_TEXTBOX and LIB_SHAPE. 2024-04-16 16:31:16 +01:00
gfx_import_utils.h ADDED: Importers for EasyEDA (JLCEDA) Standard / Professional. 2023-09-07 11:02:40 +03:00
invoke_sch_dialog.h
lib_symbol.cpp RIP LIB_PIN. 2024-04-20 12:10:31 +01:00
lib_symbol.h RIP LIB_PIN. 2024-04-20 12:10:31 +01: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 Add QA tests and expand serialization for API 2024-04-02 19:51:18 -04:00
net_navigator.cpp Handle net directive in navigator 2024-04-18 18:21:13 -07:00
picksymbol.cpp Fold LIB_ITEM into SCH_ITEM. 2024-04-08 10:24:50 +01:00
pin_numbers.cpp
pin_numbers.h
pin_type.cpp RIP LIB_PIN. 2024-04-20 12:10:31 +01:00
pin_type.h RIP LIB_PIN. 2024-04-20 12:10:31 +01: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 Factor common parts of SCH_ & LIB_SYMBOL into SYMBOL. 2024-04-04 13:18:55 +01:00
sch_base_frame.h Factor common parts of SCH_ & LIB_SYMBOL into SYMBOL. 2024-04-04 13:18:55 +01:00
sch_bitmap.cpp Harmonize print/plot APIs. 2024-04-06 09:34:56 +01:00
sch_bitmap.h Harmonize print/plot APIs. 2024-04-06 09:34:56 +01:00
sch_bus_entry.cpp Harmonize print/plot APIs. 2024-04-06 09:34:56 +01:00
sch_bus_entry.h Harmonize print/plot APIs. 2024-04-06 09:34:56 +01:00
sch_commit.cpp Collapse LIB_FIELD into SCH_FIELD. 2024-04-13 15:42:13 +01:00
sch_commit.h Add QA tests and expand serialization for API 2024-04-02 19:51:18 -04:00
sch_connection.cpp RIP LIB_PIN. 2024-04-20 12:10:31 +01: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:02 -07:00
sch_edit_frame.h Minor net navigator improvements. 2024-04-17 14:31:50 -04:00
sch_field.cpp Resolve worksheet variables in SCH_FIELD 2024-04-20 13:39:35 -07:00
sch_field.h RIP LIB_TEXTBOX and LIB_SHAPE. 2024-04-16 16:31:16 +01:00
sch_file_versions.h ADDED: schematic tables. 2024-02-24 20:05:50 +00:00
sch_item.cpp Revert "Compare function should return int" 2024-04-12 14:13:55 -07:00
sch_item.h Revert "Re-enforce ordering" 2024-04-12 14:14:06 -07:00
sch_junction.cpp Update equality overloads for C++20 2024-04-12 23:05:58 -04:00
sch_junction.h Harmonize print/plot APIs. 2024-04-06 09:34:56 +01:00
sch_label.cpp Collapse LIB_TEXT into SCH_TEXT. 2024-04-16 16:31:16 +01:00
sch_label.h Harmonize print/plot APIs. 2024-04-06 09:34:56 +01:00
sch_line.cpp Fold LIB_ITEM into SCH_ITEM. 2024-04-08 10:24:50 +01:00
sch_line.h Remove unused method declaration in SCH_LINE 2024-04-07 15:41:54 +00:00
sch_marker.cpp Harmonize print/plot APIs. 2024-04-06 09:34:56 +01:00
sch_marker.h Harmonize print/plot APIs. 2024-04-06 09:34:56 +01:00
sch_no_connect.cpp Fold LIB_ITEM into SCH_ITEM. 2024-04-08 10:24:50 +01:00
sch_no_connect.h Harmonize print/plot APIs. 2024-04-06 09:34:56 +01:00
sch_painter.cpp Mostly clean-up, but also bug fixes with bounding boxes. 2024-04-22 11:16:14 +01:00
sch_painter.h Lint reduction. 2024-04-21 12:19:22 +01:00
sch_pin.cpp Mostly clean-up, but also bug fixes with bounding boxes. 2024-04-22 11:16:14 +01:00
sch_pin.h Mostly clean-up, but also bug fixes with bounding boxes. 2024-04-22 11:16:14 +01:00
sch_plotter.cpp Harmonize print/plot APIs. 2024-04-06 09:34:56 +01:00
sch_plotter.h Harmonize print/plot APIs. 2024-04-06 09:34:56 +01:00
sch_preview_panel.cpp Factor common parts of SCH_ & LIB_SYMBOL into SYMBOL. 2024-04-04 13:18:55 +01:00
sch_preview_panel.h Factor common parts of SCH_ & LIB_SYMBOL into SYMBOL. 2024-04-04 13:18:55 +01:00
sch_reference_list.cpp Harmonize print/plot APIs. 2024-04-06 09:34:56 +01:00
sch_reference_list.h More globals eradication. 2023-11-12 23:43:30 +00:00
sch_render_settings.cpp Tidy renderSettings / jobsHandler APIs. 2024-04-08 12:26:56 +01:00
sch_render_settings.h Tidy renderSettings / jobsHandler APIs. 2024-04-08 12:26:56 +01:00
sch_rtree.h Rename all schematic IO plugins 2023-12-24 01:22:21 +00:00
sch_screen.cpp RIP LIB_PIN. 2024-04-20 12:10:31 +01:00
sch_screen.h RIP LIB_PIN. 2024-04-20 12:10:31 +01:00
sch_shape.cpp Make SCH_SHAPE::Normalize() upside-down-coords-aware. 2024-04-18 10:27:36 +01:00
sch_shape.h RIP LIB_TEXTBOX and LIB_SHAPE. 2024-04-16 16:31:16 +01:00
sch_sheet.cpp Fold LIB_ITEM into SCH_ITEM. 2024-04-08 10:24:50 +01:00
sch_sheet.h Harmonize print/plot APIs. 2024-04-06 09:34:56 +01:00
sch_sheet_path.cpp Use correct project name when adding new symbol instances. 2024-04-19 14:33:22 -04:00
sch_sheet_path.h Use correct project name when adding new symbol instances. 2024-04-19 14:33:22 -04:00
sch_sheet_pin.cpp Harmonize print/plot APIs. 2024-04-06 09:34:56 +01:00
sch_sheet_pin.h Harmonize print/plot APIs. 2024-04-06 09:34:56 +01:00
sch_symbol.cpp Do not show click to start wire cursor for hidden pins. 2024-04-21 10:54:52 -04:00
sch_symbol.h Do not show click to start wire cursor for hidden pins. 2024-04-21 10:54:52 -04:00
sch_table.cpp Harmonize print/plot APIs. 2024-04-06 09:34:56 +01:00
sch_table.h Harmonize print/plot APIs. 2024-04-06 09:34:56 +01:00
sch_tablecell.cpp RIP LIB_TEXTBOX and LIB_SHAPE. 2024-04-16 16:31:16 +01:00
sch_tablecell.h Update equality overloads for C++20 2024-04-12 23:05:58 -04:00
sch_text.cpp RIP LIB_TEXTBOX and LIB_SHAPE. 2024-04-16 16:31:16 +01:00
sch_text.h Collapse LIB_TEXT into SCH_TEXT. 2024-04-16 16:31:16 +01:00
sch_text_help.md
sch_text_help_md.h
sch_textbox.cpp RIP LIB_TEXTBOX and LIB_SHAPE. 2024-04-16 16:31:16 +01:00
sch_textbox.h RIP LIB_TEXTBOX and LIB_SHAPE. 2024-04-16 16:31:16 +01: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 Collapse LIB_FIELD into SCH_FIELD. 2024-04-13 15:42:13 +01:00
sch_view.h RIP LIB_PIN. 2024-04-20 12:10:31 +01:00
schematic.cpp ADDED: A new IPC API based on protobuf and nng 2024-04-02 19:34:36 -04:00
schematic.h Enforce SCH_SHEET_PATH processing in (yet) more places. 2023-11-12 14:15:04 +00:00
schematic.keywords ADDED: textbox and tablecell margins. 2024-02-24 20:05:51 +00:00
schematic_settings.cpp Symbol Fields Table: configurable excluded from BOM filtering 2024-04-15 13:08:04 -04:00
schematic_settings.h BOM Export: remember filename per project 2024-04-11 15:05:59 -04:00
schematic_undo_redo.cpp Update hierarchy navigator when undoing or redoing sheet name changes. 2024-04-11 10:11:02 -04:00
sheet.cpp Use correct project name when adding new symbol instances. 2024-04-19 14:33:22 -04:00
symbol.cpp Factor common parts of SCH_ & LIB_SYMBOL into SYMBOL. 2024-04-04 13:18:55 +01:00
symbol.h RIP LIB_PIN. 2024-04-20 12:10:31 +01: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 RIP LIB_PIN. 2024-04-20 12:10:31 +01:00
symbol_chooser_frame.cpp Add bottom panel to have correct background in fp/sym chooser frames. 2024-02-24 18:20:16 +03: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 Collapse LIB_FIELD into SCH_FIELD. 2024-04-13 15:42:13 +01: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 Fix warning in SYMBOL_LIBS. 2024-04-20 20:10:23 +03: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 20:29:18 +03:00
symbol_tree_model_adapter.h
symbol_tree_synchronizing_adapter.cpp Fix more utf8 comparisons 2024-04-12 22:53:25 -04:00
symbol_tree_synchronizing_adapter.h Clearer naming. 2023-11-09 14:05:35 +00:00
symbol_viewer_frame.cpp Fold LIB_ITEM into SCH_ITEM. 2024-04-08 10:24:50 +01:00
symbol_viewer_frame.h Renaming: replace convert with body-style. 2024-01-26 16:21:03 +00:00
toolbars_sch_editor.cpp Add QA tests and expand serialization for API 2024-04-02 19:51:18 -04:00
toolbars_symbol_viewer.cpp Push most of DIALOG_CHOOSE_SYMBOL down into PANEL_SYMBOL_CHOOSER. 2023-09-29 00:13:12 +01:00