kicad/common
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
..
dialog_about Fix wxT commit 2022-02-24 17:00:10 -08:00
dialogs board_stackup_manager: fix incorrect behavior when adding a new dielectric layer. 2022-10-20 11:47:04 +02:00
drawing_sheet Fill in missing bits of LAYER variable for printing/plotting. 2022-07-25 19:49:09 +01:00
gal Work around more instances of the wxWidgets color string locale bug. 2022-10-19 12:56:17 +01:00
kicad_curl wxT rework for common directory 2022-02-04 16:24:50 -08:00
libeval Fix missing token initializer 2022-10-21 08:58:59 -07:00
libeval_compiler Add support for unitless values to PCB_EXPR_EVALUATOR. 2022-11-29 23:28:37 +00:00
plotters Fill in missing bits of LAYER variable for printing/plotting. 2022-07-25 19:49:09 +01:00
plugins CADSTAR Schematic: Fix parsing of ATTRCOLORS. 2022-06-03 21:21:15 +00:00
preview_items Error messages for zone merging. 2022-02-13 18:30:32 +00:00
project Convert strings to wide when using wxString routines 2022-02-03 13:08:07 -08:00
settings Work around more instances of the wxWidgets color string locale bug. 2022-10-19 12:56:17 +01:00
swig Template for vector<VECTOR2I> in swig 2022-01-06 23:48:52 -05:00
tool Don't prevent immediate actions while router active 2022-09-06 11:04:33 -07:00
view Move zone borders back to their "host" layer. 2022-11-29 23:05:50 +00:00
widgets Don't fix the visibility icon size or it will never scale properly 2022-10-31 21:46:53 +00:00
CMakeLists.txt Rework on bitmap_info.cpp cmake build process. 2022-07-12 17:34:25 +02:00
advanced_config.cpp There is one source of truth in AC 2022-02-11 13:24:31 -08:00
array_axis.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
array_options.cpp Arrays: isolate axis code in a new class 2019-05-16 11:20:52 +01:00
asset_archive.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
base64.cpp Plot SVG embedded 2019-12-08 08:57:33 -08:00
base_screen.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
base_units.cpp Treat all units equally when converting to string 2022-06-21 15:30:24 -07:00
basic_gal.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
bin_mod.cpp Include optimization: move some things from common.h to point-of-use 2021-03-20 12:09:18 -04:00
bitmap.cpp Try a hackfix for windows icon scaling 2022-10-31 21:47:11 +00:00
bitmap_base.cpp Eeschema: another trial to fix bitmap printing in wx version > 3.1.5 2022-08-04 14:56:37 +02:00
bitmap_info.cpp Rework on bitmap_info.cpp cmake build process. 2022-07-12 17:34:25 +02:00
bitmap_store.cpp Rework on bitmap_info.cpp cmake build process. 2022-07-12 17:34:25 +02:00
board_printout.cpp Bug fixes for printing vias. 2022-07-25 20:05:40 +01:00
build_version.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
commit.cpp Proper numeric sorting for intersheet refs. 2021-10-01 18:29:21 +01:00
common.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
config_params.cpp Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
confirm.cpp Lock the windows when we ask about unsaved changes 2021-09-29 23:01:06 -04:00
dialog_shim.cpp Protect the Kiway dereference 2022-07-18 09:48:50 -07:00
draw_panel_gal.cpp Protect against double-refresh 2022-07-27 20:28:18 -07:00
drc_rules.keywords Add missing token to DRC rule parser. 2021-08-27 12:49:07 +01:00
dsnlexer.cpp pcb parser: ensure the parser is reinitialized before parsing a new fp file 2021-08-26 19:38:20 +02:00
eda_base_frame.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
eda_dde.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
eda_doc.cpp Fix eda_doc not looking for schematic locally 2022-05-11 03:33:40 +00:00
eda_draw_frame.cpp Improve default new-library destination logic to be more project aware. 2022-10-19 12:59:24 +01:00
eda_item.cpp Add PCB_ARCs to type enum. 2022-04-14 18:37:25 +01:00
eda_pattern_match.cpp Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
eda_rect.cpp Fix EDA_RECT inflation zeroing width when it was negative 2021-11-06 18:23:02 +00:00
eda_shape.cpp Don't allow 0 line-width for unfilled shapes. 2022-07-25 21:46:27 +01:00
eda_text.cpp Avoid overflow in textbox 2022-02-25 11:11:29 -08:00
eda_units.cpp Split EDA_UNITS out from common. 2020-10-25 00:02:52 -04:00
env_paths.cpp Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
env_vars.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
exceptions.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
executable_names.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
filehistory.cpp Ensure "Open Recent" and "Clear files" menu titles are updated after language change. 2022-04-14 15:06:17 +02:00
filename_resolver.cpp Fix more wxWidgets 3.1 and later deprecated build warnings. 2022-08-17 14:13:33 -04:00
filter_reader.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
footprint_filter.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
footprint_info.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
fp_lib_table.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
gbr_metadata.cpp Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
gestfich.cpp Remove printing files from Project Manager 2021-11-12 20:18:32 +00:00
getrunningmicrosecs.cpp Cleanup: Replace C-only deprecated headers 2019-12-05 11:03:15 -08:00
gl_context_mgr.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
gr_basic.cpp Fix transparent circle printing 2022-01-14 16:13:05 -08:00
gr_text.cpp Move plotter headers into include folder. 2021-08-18 16:38:31 -04:00
grid_tricks.cpp Don't paste into hidden columns. 2022-02-20 01:03:08 +00:00
hash_eda.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
hotkey_store.cpp Hotkeys help: fix incorrect modifiers. 2021-12-13 16:29:42 +01:00
hotkeys_basic.cpp Use wxEmptyString instead of wxT( "" ) 2022-02-09 10:33:52 -08:00
html_window.cpp Formatting. 2021-10-15 12:45:43 +01:00
kiface_base.cpp Update default paths for symbols/footprints 2021-10-17 16:07:46 -07:00
kiid.cpp kiid.cpp: Fix Boost version incompatibility and use of boost::*::detail 2022-08-17 11:37:12 -04:00
kiway.cpp Keep track of blocking windows 2022-07-18 09:47:32 -07:00
kiway_express.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
kiway_holder.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
kiway_player.cpp Ensure the socket server is killed during destruction of the kiway player 2022-09-29 02:22:54 +00:00
languages_menu.cpp Cleanup some pgm_base.h includes 2021-06-08 21:56:00 -04:00
launch_ext.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
layer_id.cpp Pcbnew, physical layer names: never translate them (they are proper noun) 2022-06-04 11:07:49 +02:00
lib_id.cpp Remove long-dead revision support for LIB_IDs. 2021-06-30 13:12:57 +01:00
lib_table.keywords
lib_table_base.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
lib_tree_model.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
lib_tree_model_adapter.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
locale_io.cpp Looks like clang (or OSX?) needs an extra include.... 2021-09-23 20:14:03 +01:00
lockfile.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
lset.cpp LSET::SeqStackupBottom2Top(): add missing user layers to list of layers 2022-01-17 11:01:11 +01:00
marker_base.cpp Dark mode for a bunch of HTML dialogs. 2021-09-14 21:23:57 +01:00
netclass.cpp Fix typo initializing buswidth with linewidth value. 2021-08-01 19:33:19 +01:00
netlist.keywords Transmit pin electrical types through to pads. 2021-01-23 00:10:01 +00:00
newstroke_font.cpp Add "Letter-like character" Omega for Unicode x2126 2022-10-21 09:08:58 -07:00
observable.cpp Add const specifiers 2020-11-18 19:50:36 +00:00
origin_transforms.cpp Add more consts all over the place 2020-10-27 11:03:35 +00:00
origin_viewitem.cpp Break out eda_item_flags.h, fix the typedef to std::uint32_t, fix some signed vars 2021-06-08 19:12:30 -04:00
page_info.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
painter.cpp Only apply B&W printer fixes when printing. 2021-02-02 15:37:30 +00:00
paths.cpp Fix stock templates path for flatpak 2022-05-10 17:57:23 +00:00
pcb.keywords Don't put up "old version" warning for gerbview-generated PCBs. 2021-06-08 22:12:44 +01:00
pcb_plot_params.keywords Save DXF plot params to file and remove some dead code. 2021-01-03 14:22:25 +00:00
pgm_base.cpp Handle settings sequencing 2022-05-25 16:58:10 -07:00
printout.cpp Implement a new settings framework across all of KiCad 2020-02-19 23:44:56 -05:00
project.cpp Fix wxWidgets 3.1 and later deprecated build warnings. 2022-08-17 14:07:06 -04:00
properties.cpp
property_mgr.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
ptree.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
rc_item.cpp Avoid missing null check in RC_TREE_MODEL::DeleteItems 2022-08-17 22:08:59 +00:00
refdes_utils.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
render_settings.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
reporter.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
richio.cpp Clean up unused variable usage 2021-10-05 10:00:30 -07:00
scintilla_tricks.cpp Fix typo. 2022-10-21 11:16:19 +01:00
search_stack.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
searchhelpfilefullpath.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
single_top.cpp Keep track of blocking windows 2022-07-18 09:47:32 -07:00
status_popup.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
streamwrapper.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
string_utils.cpp Remove curly brace from string encoding. 2022-09-04 10:37:32 +01:00
strtok_r.c
systemdirsappend.cpp We don't keep a CHANGELOG.TXT 2021-10-05 19:46:53 -07:00
template_fieldnames.cpp Fix a few issues related to field names and their translation. 2022-11-30 11:19:21 -08:00
template_fieldnames.keywords Variable substitution framework. 2020-03-30 14:15:59 +01:00
textentry_tricks.cpp Evict the last bits of wx.h 2021-06-07 20:23:27 -04:00
title_block.cpp Resolve embedded text vars 2022-11-03 10:26:06 -07:00
trace_helpers.cpp Schematic import bug fix. 2022-12-15 11:44:59 -05:00
undo_redo_container.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
utf8.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
validators.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
wildcards_and_files_ext.cpp wxT rework for common directory 2022-02-04 16:24:50 -08:00
wx_filename.cpp Add utility method to resolve symlinks 2021-06-07 20:59:59 +00:00
wx_stl_compat.cpp Include optimization: move some things from common.h to point-of-use 2021-03-20 12:09:18 -04:00
wxdataviewctrl_helpers.cpp fix crash in wxDataViewItem GetNextItem() when there are no item. 2021-11-07 08:53:56 +01:00
xnode.cpp Escape slashes in labels and netnames. 2019-04-07 00:24:10 +01:00