kicad/eeschema
Wayne Stambaugh 22bece0922 Schematic import bug fix.
Check for already loaded schematics in the current sheet path as well
as the current project root sheet path to prevent multiple loads of
shared schematic.  This bug was causing shared sheets to be loaded more
than once which caused instance data to get separated by each copy rather
than saved in one copy of the schematic which would result in all instance
data being lost except the last saved copy of the schematic.  This bug has
been around forever and may be the cause of some unexplained schematic
instance data corruption issues.  This bug does not apply when opening
the full project.

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

(cherry picked from commit 84f927d057)
2022-12-15 11:44:59 -05:00
..
dialogs Fix wxWidgets 3.2 assertion when opening symbol field table editor. 2022-12-09 15:05:38 -05:00
netlist_exporters Do not add a title/comment in mandatory field strings when writting netlists. 2022-10-22 15:38:26 +02:00
plugins fix an issue in a bom script (extra empty lines created) 2022-10-21 09:10:30 -07:00
sch_plugins Schematic import bug fix. 2022-12-15 11:44:59 -05:00
sim Ngspice: Preload a basically empty circuit to avoid error messages 2022-10-21 09:22:53 -07:00
symbol_editor Allow printing backgrounds prior to foreground 2022-10-21 09:00:13 -07:00
tools symbol_editor_control: fix incorrect bounding in SVG export. 2022-12-07 13:18:10 +01:00
widgets Fix wxWidgets sizer assert in SYMBOL_PREVIEW_WIDGET 2022-09-02 12:29:23 +02:00
CMakeLists.txt Infobar warning if symbol loading was cancelled. 2022-02-27 18:20:25 +00:00
annotate.cpp Fix annotation of incomplete multi-unit symbols and re-annotation of duplicates 2022-09-02 12:01:33 +02:00
autoplace_fields.cpp Be more careful about non-visible elements in fields autoplacer. 2022-03-02 12:07:43 +00:00
bom_plugins.cpp Quote BOM executable for spaces 2022-02-09 10:53:09 -08:00
bom_plugins.h Unwrap some std::library typedefs. 2021-07-28 22:16:38 +01:00
bus-wire-junction.cpp Ensure merged line gets selected if either parent is 2022-01-01 16:53:31 -08:00
bus_alias.cpp Proper numeric sorting for intersheet refs. 2021-10-01 18:29:21 +01:00
bus_alias.h More NULL expunging. 2021-07-16 16:13:41 -04:00
cmp_library.keywords
cmp_library_lexer.cpp Expunge the use of the word component from Eeschema code. 2021-06-14 14:00:21 -04:00
component_references_lister.cpp Remove unused vars 2022-11-30 11:26:48 -08:00
connection_graph.cpp Don't report a pin if the pin is null 2022-12-12 19:31:20 -08:00
connection_graph.h Fix NC and label logic 2022-12-11 12:16:33 -08:00
cross-probing.cpp Allow sheet recursion, fix sheet paths in "Highlight on PCB". 2022-05-25 23:38:52 +00:00
default_values.h Fix some issues with incorrectly scaled defaults given in mils. 2021-08-25 20:04:06 +01:00
ee_collectors.cpp Pull bug fixes back from master. 2022-03-02 12:07:43 +00:00
ee_collectors.h More NULL expunging. 2021-07-16 16:13:41 -04:00
eeschema.cpp Add mapping for -rescue.lib in project Save As. 2022-11-29 23:14:10 +00:00
eeschema.icns Add drop shadows to MacOS icons 2021-07-30 20:55:34 -07:00
eeschema_config.cpp Eeschema: ensure ERC exclusions list is up to date before saving it in *.kicad_pro 2022-02-25 18:26:48 +01:00
eeschema_doc.icns Add drop shadows to MacOS icons 2021-07-30 20:55:34 -07:00
eeschema_id.h Allow more (lots more) unfold from bus menu entries. 2022-02-03 15:00:39 +00:00
eeschema_settings.cpp Default eeschema strings to wide 2022-02-08 15:14:54 -08:00
eeschema_settings.h PCM: make DIALOG_MANAGE_REPOSITORIES_BASE resizable. 2021-09-06 08:36:06 +02:00
erc.cpp Don't flag pin missing driver when there is an NC 2022-04-07 09:29:02 -07:00
erc.h Naming conventions. 2021-05-05 22:58:40 +01:00
erc_item.cpp Fixes for Eagle importer. 2021-06-16 21:44:18 +01:00
erc_item.h Fixes for Eagle importer. 2021-06-16 21:44:18 +01:00
erc_settings.cpp Default eeschema strings to wide 2022-02-08 15:14:54 -08:00
erc_settings.h Fixes for Eagle importer. 2021-06-16 21:44:18 +01:00
fields_grid_table.cpp Fix a few issues related to field names and their translation. 2022-11-30 11:19:21 -08:00
fields_grid_table.h Add hot-updating of units in common wxGrids. 2021-12-23 17:01:34 +00:00
files-io.cpp Clean up autosave file handling edge cases 2022-12-11 08:48:48 -05:00
general.h Rename layer ids file. 2021-07-29 16:03:25 +01:00
generate_alias_info.cpp Fix kicad_string.h / string.cpp mismatch. 2021-07-29 16:03:25 +01:00
generate_alias_info.h Substitute all wxHtmlWindow with HTML_WINDOW 2021-10-12 07:07:15 +00:00
hierarch.cpp Hierarchy: update just selection on sheet change 2022-05-09 17:31:29 +00:00
hierarch.h Hierarchy: update just selection on sheet change 2022-05-09 17:31:29 +00:00
invoke_sch_dialog.h Expunge the use of the word part from Eeschema code. 2021-06-15 08:32:11 -04:00
lib_arc.cpp Replace individual LIB_* shapes with LIB_SHAPE (based on EDA_SHAPE). 2021-10-15 12:45:43 +01:00
lib_field.cpp Fix a few issues related to field names and their translation. 2022-11-30 11:19:21 -08:00
lib_field.h Fix a few issues related to field names and their translation. 2022-11-30 11:19:21 -08:00
lib_item.cpp Use unit references in status bar. 2022-07-25 19:40:08 +01:00
lib_item.h Make LIB_ITEM::COMPARE_FLAGS really a flags field, and add ERC. 2022-03-03 23:29:22 +00:00
lib_pin.cpp Eeschema: fix schematic symbol library cache refresh bug. 2022-09-19 07:20:44 -04:00
lib_pin.h Make LIB_ITEM::COMPARE_FLAGS really a flags field, and add ERC. 2022-03-03 23:29:22 +00:00
lib_shape.cpp Fix cherry-pick error 2022-03-07 19:53:01 -08:00
lib_shape.h Make LIB_ITEM::COMPARE_FLAGS really a flags field, and add ERC. 2022-03-03 23:29:22 +00:00
lib_symbol.cpp Allow printing backgrounds prior to foreground 2022-10-21 09:00:13 -07:00
lib_symbol.h Allow printing backgrounds prior to foreground 2022-10-21 09:00:13 -07:00
lib_text.cpp Symbol editor crash: Fix use of a null pointer. 2022-05-06 12:54:32 +02:00
lib_text.h Make LIB_ITEM::COMPARE_FLAGS really a flags field, and add ERC. 2022-03-03 23:29:22 +00:00
libarch.cpp Default eeschema strings to wide 2022-02-08 15:14:54 -08:00
menubar.cpp Ensure "Open Recent" and "Clear files" menu titles are updated after language change. 2022-04-14 15:06:17 +02:00
picksymbol.cpp Infobar warning if symbol loading was cancelled. 2022-02-27 18:20:25 +00:00
pin_numbers.cpp Fix broken comparison in pin_numbers 2022-04-19 14:49:52 -07:00
pin_numbers.h Fix broken comparison in pin_numbers 2022-04-19 14:49:52 -07:00
pin_type.cpp Better error reporting for DP uncoupled length. 2022-04-09 23:09:10 +01:00
pin_type.h Expunge the use of the word component from Eeschema code. 2021-06-14 14:00:21 -04:00
project_rescue.cpp Eeschema: fix project rescue bug. 2022-06-28 16:14:47 -04:00
project_rescue.h More NULL expunging. 2021-07-16 16:13:41 -04:00
sch_base_frame.cpp Default eeschema strings to wide 2022-02-08 15:14:54 -08:00
sch_base_frame.h Prevent automatic RTree recaching 2021-10-05 20:13:15 -07:00
sch_bitmap.cpp Some minor performance enhancements. 2021-09-28 14:28:35 +01:00
sch_bitmap.h Default eeschema strings to wide 2022-02-08 15:14:54 -08:00
sch_bus_entry.cpp Default eeschema strings to wide 2022-02-08 15:14:54 -08:00
sch_bus_entry.h Copy lastResolved stuff when pasting. 2021-11-28 17:09:24 +00:00
sch_connection.cpp Fix wxT overzealous replacements 2022-02-16 17:21:49 -08:00
sch_connection.h Fix highlighting complex connections from subsheets 2021-10-25 22:14:48 -04:00
sch_draw_panel.cpp Rename layer ids file. 2021-07-29 16:03:25 +01:00
sch_draw_panel.h Expunge the use of the word component from Eeschema code. 2021-06-14 14:00:21 -04:00
sch_edit_frame.cpp Avoid crashes when, for some reason, a dll cannot be loaded. 2022-07-26 16:04:27 +02:00
sch_edit_frame.h Be more consistent about annotation warngings. 2021-11-29 14:24:45 +00:00
sch_field.cpp Do not add a title/comment in mandatory field strings when writting netlists. 2022-10-22 15:38:26 +02:00
sch_field.h Fix a few issues related to field names and their translation. 2022-11-30 11:19:21 -08:00
sch_file_versions.h R/W uuids for junctions. 2021-11-24 13:20:44 +00:00
sch_io_mgr.cpp More NULL expunging. 2021-07-16 16:13:41 -04:00
sch_io_mgr.h File open/import progress dialogs. 2021-06-23 23:55:54 +01:00
sch_item.cpp Break up buildConnectionGraph for debugging 2022-03-11 16:18:56 -08:00
sch_item.h Allow printing backgrounds prior to foreground 2022-10-21 09:00:13 -07:00
sch_junction.cpp Copy lastResolved stuff when pasting. 2021-11-28 17:09:24 +00:00
sch_junction.h Copy lastResolved stuff when pasting. 2021-11-28 17:09:24 +00:00
sch_line.cpp Schematic: disallow center rotation, allow both endpoint rotations 2022-02-25 16:27:55 +00:00
sch_line.h Copy lastResolved stuff when pasting. 2021-11-28 17:09:24 +00:00
sch_marker.cpp Default eeschema strings to wide 2022-02-08 15:14:54 -08:00
sch_marker.h Pass objects by reference instead of on the stack. 2021-06-08 10:09:38 -04:00
sch_no_connect.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
sch_no_connect.h Rename SCH_COMPONENT to SCH_SYMBOL. 2021-06-10 10:34:49 -04:00
sch_painter.cpp Units are stored in the instance data 2022-09-02 12:06:24 +00:00
sch_painter.h Draw dangling symbols on a separate layer. 2021-12-06 18:50:50 +00:00
sch_pin.cpp Fix NC and label logic 2022-12-11 12:16:33 -08:00
sch_pin.h Fix NC and label logic 2022-12-11 12:16:33 -08:00
sch_plugin.cpp More NULL expunging. 2021-07-16 16:13:41 -04:00
sch_preview_panel.cpp Tidy up the SCH_PREVIEW_PANEL visibility flags. 2021-11-20 15:28:17 +00:00
sch_preview_panel.h Reduce some eda_item.h usage in headers 2021-06-06 11:09:06 -04:00
sch_reference_list.h Fix annotation of incomplete multi-unit symbols and re-annotation of duplicates 2022-09-02 12:01:33 +02:00
sch_rtree.h Overplot schematic symbol fields and pins 2022-07-05 16:47:07 -07:00
sch_screen.cpp Allow printing backgrounds prior to foreground 2022-10-21 09:00:13 -07:00
sch_screen.h Fix missing legacy value and footprint field instance data. 2022-08-17 14:24:13 -04:00
sch_sheet.cpp Fix a few issues related to field names and their translation. 2022-11-30 11:19:21 -08:00
sch_sheet.h Handle locally-coded file names for sheets 2022-03-01 17:21:16 -08:00
sch_sheet_path.cpp Units are stored in the instance data 2022-09-02 12:06:24 +00:00
sch_sheet_path.h Revert "Move connected_items from hash table to tree" 2022-03-14 17:22:44 -07:00
sch_sheet_pin.cpp SCH_SHEET_PIN: Rename GetEdge, SetEdge to GetSide, SetSide 2021-11-28 20:07:06 +01:00
sch_sheet_pin.h SCH_SHEET_PIN: Rename GetEdge, SetEdge to GetSide, SetSide 2021-11-28 20:07:06 +01:00
sch_symbol.cpp Allow printing backgrounds prior to foreground 2022-10-21 09:00:13 -07:00
sch_symbol.h Allow printing backgrounds prior to foreground 2022-10-21 09:00:13 -07:00
sch_text.cpp Handle string escaping for Find/Replace in labels. 2022-11-29 22:54:14 +00:00
sch_text.h Handle string escaping for Find/Replace in labels. 2022-11-29 22:54:14 +00:00
sch_text_help.md Fix outdated syntax in help text 2021-11-25 12:53:29 +00:00
sch_validators.cpp Fix bus validation. 2021-09-17 22:01:17 +01:00
sch_validators.h Pass wxString objects by reference instead of on the stack. 2021-07-27 08:41:27 -04:00
sch_view.cpp PLOTTER: do not clamp coordinates to an arbitrary value. 2022-04-04 13:52:21 -07:00
sch_view.h Get all eeschema layers properly ordered 2022-01-23 10:03:03 -08:00
schematic.cpp Fix missing legacy value and footprint field instance data. 2022-08-17 14:24:13 -04:00
schematic.h Fix missing legacy value and footprint field instance data. 2022-08-17 14:24:13 -04:00
schematic.keywords Persist fields_autoplaced information. 2021-04-02 17:08:58 +01:00
schematic_settings.cpp Allow a 0 pin-symbol-size. 2021-12-23 17:01:48 +00:00
schematic_settings.h Remove atrophied schematic default wire and bus widths. 2021-11-13 22:56:50 +00:00
schematic_undo_redo.cpp Don't kill entire OpenGL cache on undo. 2022-03-09 15:06:40 +00:00
sheet.cpp Improve sheet schematic import messages and simplify code. 2022-04-04 17:19:40 -04:00
symbol_async_loader.cpp Infobar warning if symbol loading was cancelled. 2022-02-27 18:20:25 +00:00
symbol_async_loader.h Infobar warning if symbol loading was cancelled. 2022-02-27 18:20:25 +00:00
symbol_lib_table.cpp Default eeschema strings to wide 2022-02-08 15:14:54 -08:00
symbol_lib_table.h More NULL expunging. 2021-07-16 16:13:41 -04:00
symbol_library.cpp Default eeschema strings to wide 2022-02-08 15:14:54 -08:00
symbol_library.h Unwrap some std::library typedefs. 2021-07-28 22:16:38 +01:00
symbol_tree_model_adapter.cpp Infobar warning if symbol loading was cancelled. 2022-02-27 18:20:25 +00:00
symbol_tree_model_adapter.h Infobar warning if symbol loading was cancelled. 2022-02-27 18:20:25 +00:00
symbol_tree_synchronizing_adapter.cpp Default eeschema strings to wide 2022-02-08 15:14:54 -08:00
symbol_tree_synchronizing_adapter.h Remove and re-add saved-as libraries when Syncing tree. 2021-01-31 23:00:17 +00:00
symbol_viewer_frame.cpp Don't allow 0 line-width for unfilled shapes. 2022-07-25 21:46:27 +01:00
symbol_viewer_frame.h Expunge the use of the word component from Eeschema code. 2021-06-14 14:00:21 -04:00
toolbars_sch_editor.cpp KIFACE_I -> KIFACE_BASE. 2021-09-14 23:45:14 +01:00
toolbars_symbol_viewer.cpp Rename class_library.[h|cpp] to symbol_library.[h|cpp]. 2021-06-15 09:24:55 -04:00
transform.cpp More NULL expunging. 2021-07-16 16:13:41 -04:00
transform.h Expunge the use of the word component from Eeschema code. 2021-06-14 14:00:21 -04:00