kicad/eeschema
Seth Hillbrand 45da795668 Units are stored in the instance data
At the moment, units are stored in the instance data, so when loading
the file, all symbols will have bbox for the first unit.  After calling
`UpdateUnit()`, we need to recache the rtree bounding boxes to get
correct hit tests

Fixes https://gitlab.com/kicad/code/kicad/issues/11681


(cherry picked from commit 939313088e)
2022-09-02 12:06:24 +00:00
..
dialogs Fixes inverted Y position in pin table. 2022-09-02 10:49:14 +00:00
netlist_exporters Honour m_resolveTextVars flag for properties as well as fields. 2022-07-25 21:03:47 +01:00
plugins Install kicad_utils.py BOM plugin helper 2021-12-13 22:52:31 +00:00
sch_plugins Fix build error & just completely remove the string instead of guarding 2022-09-01 13:45:40 +02:00
sim Fix wxWidgets 3.1 and later deprecated build warnings. 2022-08-17 14:07:06 -04:00
symbol_editor Fix wxWidgets 3.1 and later deprecated build warnings. 2022-08-17 14:07:06 -04:00
tools eeschema: Fixes wrong displayed secondary worksheet 2022-09-02 10:03:44 +00: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 Fix annotation of incomplete multi-unit symbols and re-annotation of duplicates 2022-09-02 12:01:33 +02:00
connection_graph.cpp Flag ERC error on non-stacked pins 2022-07-17 20:16:55 -07:00
connection_graph.h Break up buildConnectionGraph for debugging 2022-03-11 16:18:56 -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 Default eeschema strings to wide 2022-02-08 15:14:54 -08: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 Typo. 2022-06-12 10:39:31 +01:00
fields_grid_table.h Add hot-updating of units in common wxGrids. 2021-12-23 17:01:34 +00:00
files-io.cpp Units are stored in the instance data 2022-09-02 12:06:24 +00: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 Make LIB_ITEM::COMPARE_FLAGS really a flags field, and add ERC. 2022-03-03 23:29:22 +00:00
lib_field.h Make LIB_ITEM::COMPARE_FLAGS really a flags field, and add ERC. 2022-03-03 23:29:22 +00: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 Make LIB_ITEM::COMPARE_FLAGS really a flags field, and add ERC. 2022-03-03 23:29:22 +00: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 Use unit references in status bar. 2022-07-25 19:40:08 +01:00
lib_symbol.h Make LIB_ITEM::COMPARE_FLAGS really a flags field, and add ERC. 2022-03-03 23:29:22 +00: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 Default eeschema strings to wide 2022-02-08 15:14:54 -08:00
sch_field.h Repair field properties dialog for rotation and mirroring. 2021-11-03 18:11:59 +00: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 Revert "Move connected_items from hash table to tree" 2022-03-14 17:22:44 -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 Use unit references in status bar. 2022-07-25 19:40:08 +01:00
sch_pin.h Move NC pin logic so we set it before we need it. 2021-12-12 22:25:36 +00: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 Fix missing legacy value and footprint field instance data. 2022-08-17 14:24:13 -04:00
sch_screen.h Fix missing legacy value and footprint field instance data. 2022-08-17 14:24:13 -04:00
sch_sheet.cpp Handle locally-coded file names for sheets 2022-03-01 17:21:16 -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 Eeschema: fix broken instance data when adding new symbol. 2022-08-26 12:47:13 -04:00
sch_symbol.h Eeschema: fix broken instance data when adding new symbol. 2022-08-26 12:47:13 -04:00
sch_text.cpp Implement cross-references for labels. 2022-05-09 12:22:49 +01:00
sch_text.h Labels can connect directly to symbols, other labels, etc. 2022-07-25 20:56:11 +01: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