kicad/eeschema
PJM f58221ca98 Add 'GetBoundingBox' that optionally only calcs w visible fields
Cross-probing from Pcbnew to Eeschema revealed that EEschema was
including all fields, visible or not, when calculating the bounding
box of the probed componentt.  This caused problems with long strings
such as URLs that were not set as visible.  The cross-probing code
tries to minimize 'Zoom to Fit' operations when it's not necessary,
and the overly large bbox values often resulted in zooms not being
performed and components displayed very small.

This code adds a version of 'GetBoundingBox' that takes a boolean
to tell it to include invisble fields or not.

Addresses issue: https://gitlab.com/kicad/code/kicad/-/issues/5149
2020-08-15 22:15:30 +00:00
..
dialogs Symbol Editor: Allow changing parent for derived symbol 2020-08-14 18:37:43 +00:00
libedit lib_manager: Do not make a copy of the parent symbol to save 2020-08-14 18:37:44 +00:00
netlist_exporters ADDED properties passed between eescema and pcbnew. 2020-08-08 22:49:04 +01:00
plugins bom2grouped_csv.xsl: Fix sorting of grouped references 2020-06-23 15:48:59 +02:00
sim Fix simulator: op results are not printed correctly when numbers are very small 2020-08-08 15:18:50 +02:00
tools Clear pin net-name-driving cache when changing annotation. 2020-08-14 12:41:20 +01:00
widgets Improve color theme support in the footprint preview widget 2020-08-10 02:29:15 +01:00
CMakeLists.txt Eeschema: Add change and update symbol from library support. 2020-08-13 13:53:49 -04:00
annotate.cpp Clear pin net-name-driving cache when changing annotation. 2020-08-14 12:41:20 +01:00
autoplace_fields.cpp A few Coverity fixes. 2020-03-30 09:50:26 +02:00
bom_plugins.cpp BOM and Netlist dialogs: replace "plugin" by "generator" and/or "script". 2019-05-31 11:06:23 +02:00
bom_plugins.h BOM and Netlist dialogs: replace "plugin" by "generator" and/or "script". 2019-05-31 11:06:23 +02:00
bus-wire-junction.cpp Remove left-over debug code. 2020-08-10 14:17:17 +01:00
bus_alias.cpp New connectivity algorithm and bus upgrades 2019-03-31 19:53:41 -04:00
bus_alias.h Use wxArrayString instead of vector<wxString> in BUS_ALIAS 2019-11-29 21:11:44 -05:00
class_libentry.cpp Fix clang compile warnings. 2020-06-02 20:27:22 +01:00
class_libentry.h Fix clang compile warnings. 2020-06-02 20:27:22 +01:00
class_library.cpp Implement an app progress indicator in the taskbar 2020-08-09 10:55:00 +00:00
class_library.h Push deprecation warning suppression down into boost. 2020-02-21 17:36:12 +00:00
cmp_library.keywords
cmp_library_lexer.cpp
component_references_lister.cpp Allow Update Schematic from PCB to re-link based on refdes. 2020-07-16 18:32:49 +01:00
connection_graph.cpp Migrate RC_ITEM to use shared_ptr 2020-08-13 14:50:59 +02:00
connection_graph.h Connectivity optimizations 2020-07-09 18:14:37 -04:00
cross-probing.cpp Add 'GetBoundingBox' that optionally only calcs w visible fields 2020-08-15 22:15:30 +00:00
default_values.h Clean up label spacing to be more predictable. 2020-04-17 14:47:57 +01:00
ee_collectors.cpp Eeschema: allow editing of junction properties diameter and color. 2020-06-24 13:36:17 -04:00
ee_collectors.h Improve EE_COLLECTOR to not miss children of sheets or symbols. 2020-04-10 14:09:26 +01:00
eeschema.cpp KiCad: add support for missing file format extensions. 2020-06-03 16:13:42 -04:00
eeschema.icns
eeschema.rc
eeschema_config.cpp Hook libeval compiler up to rule parser 2020-07-20 22:11:53 +01:00
eeschema_config.h Remove duplicated settings from preferences. 2020-03-13 17:28:53 +00:00
eeschema_doc.icns
eeschema_id.h Move a few more commands to tool framework. 2020-05-12 18:12:38 +01:00
eeschema_settings.cpp Save the wxDisplay index to set the position of windows correctly 2020-07-27 02:53:56 +00:00
eeschema_settings.h Move schematic defaults to SCHEMATIC and add some missing settings entries 2020-05-20 00:03:23 -04:00
erc.cpp Migrate RC_ITEM to use shared_ptr 2020-08-13 14:50:59 +02:00
erc.h Don't allow pins with NC electrical type to join other nets 2020-07-06 20:27:38 -04:00
erc_item.cpp Migrate RC_ITEM to use shared_ptr 2020-08-13 14:50:59 +02:00
erc_item.h Migrate RC_ITEM to use shared_ptr 2020-08-13 14:50:59 +02:00
erc_settings.cpp Migrate RC_ITEM to use shared_ptr 2020-08-13 14:50:59 +02:00
erc_settings.h Migrate RC_ITEM to use shared_ptr 2020-08-13 14:50:59 +02:00
fields_grid_table.cpp Entries typed into the text size field should be read as mils 2020-08-11 00:14:58 +01:00
fields_grid_table.h Enable editing of sheet fields. 2020-03-07 18:52:30 +00:00
files-io.cpp Performance improvements for SchematicCleanup(). 2020-08-10 12:41:52 +01:00
general.h Move Eeschema globals to new SCHEMATIC object 2020-05-18 13:04:56 -04:00
generate_alias_info.cpp Allow setting mandatory derived symbol field properties. 2020-06-02 14:21:11 +00:00
generate_alias_info.h
getpart.cpp Performance improvements for SchematicCleanup(). 2020-08-10 12:41:52 +01:00
hierarch.cpp Undo for schematic-wide operations. 2020-07-13 12:32:17 +01:00
hierarch.h HIERARCHY_NAVIG_DLG: fix crash when in a subsheet one open the dialog 2020-01-08 15:01:22 +01:00
invoke_sch_dialog.h Undo for schematic-wide operations. 2020-07-13 12:32:17 +01:00
lib_arc.cpp Lay some groundwork for adding distances to DRC errors. 2020-04-24 14:46:22 +01:00
lib_arc.h properties: post-rebase fixes 2020-07-05 22:44:38 +02:00
lib_bezier.cpp properties: post-rebase fixes 2020-07-05 22:44:38 +02:00
lib_bezier.h properties: post-rebase fixes 2020-07-05 22:44:38 +02:00
lib_circle.cpp Lay some groundwork for adding distances to DRC errors. 2020-04-24 14:46:22 +01:00
lib_circle.h properties: post-rebase fixes 2020-07-05 22:44:38 +02:00
lib_field.cpp Eeschema: fix new symbol library file format parser bug. 2020-05-08 13:34:21 -04:00
lib_field.h properties: post-rebase fixes 2020-07-05 22:44:38 +02:00
lib_item.cpp Make the new schematic and symbol library file formats the default. 2020-05-04 12:40:03 +00:00
lib_item.h Lay some groundwork for adding distances to DRC errors. 2020-04-24 14:46:22 +01:00
lib_pin.cpp Remove linked-pin processing from LIB_PIN's setters. 2020-08-03 22:21:35 +01:00
lib_pin.h Remove linked-pin processing from LIB_PIN's setters. 2020-08-03 22:21:35 +01:00
lib_polyline.cpp Lay some groundwork for adding distances to DRC errors. 2020-04-24 14:46:22 +01:00
lib_polyline.h properties: post-rebase fixes 2020-07-05 22:44:38 +02:00
lib_rectangle.cpp Lay some groundwork for adding distances to DRC errors. 2020-04-24 14:46:22 +01:00
lib_rectangle.h properties: post-rebase fixes 2020-07-05 22:44:38 +02:00
lib_text.cpp Lay some groundwork for adding distances to DRC errors. 2020-04-24 14:46:22 +01:00
lib_text.h properties: post-rebase fixes 2020-07-05 22:44:38 +02:00
lib_view_frame.cpp Update text variables even when they're changed from other binary. 2020-07-17 21:05:11 +01:00
lib_view_frame.h Update text variables even when they're changed from other binary. 2020-07-17 21:05:11 +01:00
libarch.cpp Deprecate saving legacy schematic and symbol library file formats. 2020-05-29 12:43:00 +00:00
menubar.cpp Eeschema: Add change and update symbol from library support. 2020-08-13 13:53:49 -04:00
netlist.h
netlist_generator.cpp Persist ERC pin table in project settings 2020-07-03 17:11:42 -04:00
netlist_object.cpp Integration of netclasses into Eeschema. 2020-07-06 20:00:50 +01:00
netlist_object.h Schematic editor: fix not working tool to show/hide invisible pins. 2020-04-18 09:57:04 +02:00
netlist_object_list.cpp Eeschema: make schematic sharing truly safe across all designs. 2020-05-04 12:40:03 +00:00
pin_number.cpp Ensure file reads always use the C-locale variant 2020-07-12 20:03:50 -07:00
pin_number.h
pin_shape.cpp Eeschema: minor fixes: fix incorrect label in DIALOG_LIB_EDIT_PIN, electrical pin list. 2020-07-29 17:04:52 +02:00
pin_shape.h Eeschema: minor fixes: fix incorrect label in DIALOG_LIB_EDIT_PIN, electrical pin list. 2020-07-29 17:04:52 +02:00
pin_type.cpp Eeschema: minor fixes: fix incorrect label in DIALOG_LIB_EDIT_PIN, electrical pin list. 2020-07-29 17:04:52 +02:00
pin_type.h Eeschema: minor fixes: fix incorrect label in DIALOG_LIB_EDIT_PIN, electrical pin list. 2020-07-29 17:04:52 +02:00
plot_schematic_DXF.cpp Make sure all plotters have a RENDER_SETTINGS. 2020-05-28 20:16:36 +01:00
plot_schematic_HPGL.cpp Eeschema : Add A5 sheet size 2020-07-21 00:00:36 +00:00
plot_schematic_PDF.cpp Plot sheet background colors if present 2020-06-21 20:43:47 -04:00
plot_schematic_PS.cpp Move SCH_SCREEN project access to SCHEMATIC 2020-05-20 22:27:48 -04:00
plot_schematic_SVG.cpp Move SCH_SCREEN project access to SCHEMATIC 2020-05-20 22:27:48 -04:00
project_rescue.cpp Deprecate saving legacy schematic and symbol library file formats. 2020-05-29 12:43:00 +00:00
project_rescue.h Move Eeschema globals to new SCHEMATIC object 2020-05-18 13:04:56 -04:00
sch_base_frame.cpp Performance improvements for SchematicCleanup(). 2020-08-10 12:41:52 +01:00
sch_base_frame.h Performance improvements for SchematicCleanup(). 2020-08-10 12:41:52 +01:00
sch_bitmap.cpp Lay some groundwork for adding distances to DRC errors. 2020-04-24 14:46:22 +01:00
sch_bitmap.h properties: post-rebase fixes 2020-07-05 22:44:38 +02:00
sch_bus_entry.cpp NetClass settings for Eeschema. 2020-07-08 21:23:25 +01:00
sch_bus_entry.h NetClass settings for Eeschema. 2020-07-08 21:23:25 +01:00
sch_component.cpp Add 'GetBoundingBox' that optionally only calcs w visible fields 2020-08-15 22:15:30 +00:00
sch_component.h Add 'GetBoundingBox' that optionally only calcs w visible fields 2020-08-15 22:15:30 +00:00
sch_connection.cpp Don't disrupt diff pairs when auto-renaming buses 2020-07-20 20:41:56 -04:00
sch_connection.h Don't disrupt diff pairs when auto-renaming buses 2020-07-20 20:41:56 -04:00
sch_draw_panel.cpp Make sure projects are cleaned up nicely when frames close 2020-08-08 16:52:57 -04:00
sch_draw_panel.h Cleanup parentage inside the draw panels 2020-05-20 02:23:46 +01:00
sch_eagle_plugin.cpp Migrate RC_ITEM to use shared_ptr 2020-08-13 14:50:59 +02:00
sch_eagle_plugin.h Remove KIWAY dependence from SCH_PLUGINs 2020-05-20 23:00:23 -04:00
sch_edit_frame.cpp Clear pin net-name-driving cache when changing annotation. 2020-08-14 12:41:20 +01:00
sch_edit_frame.h Clear pin net-name-driving cache when changing annotation. 2020-08-14 12:41:20 +01:00
sch_field.cpp eeschema: Don't error when replacing references 2020-08-12 07:04:51 -07:00
sch_field.h properties: post-rebase fixes 2020-07-05 22:44:38 +02:00
sch_file_versions.h Fix issue with duplicate field IDs getting saved out. 2020-07-14 16:00:38 +01:00
sch_io_mgr.cpp Deprecate saving legacy schematic and symbol library file formats. 2020-05-29 12:43:00 +00:00
sch_io_mgr.h Deprecate saving legacy schematic and symbol library file formats. 2020-05-29 12:43:00 +00:00
sch_item.cpp NetClass settings for Eeschema. 2020-07-08 21:23:25 +01:00
sch_item.h Performance improvements for SchematicCleanup(). 2020-08-10 12:41:52 +01:00
sch_junction.cpp Make sure lines/wires/busses get default widths if not spec'ed. 2020-08-09 21:52:36 +01:00
sch_junction.h Pin junction dot size to no less than 170% of wire width. 2020-07-30 20:04:12 +01:00
sch_legacy_plugin.cpp Remove linked-pin processing from LIB_PIN's setters. 2020-08-03 22:21:35 +01:00
sch_legacy_plugin.h Remove KIWAY dependence from SCH_PLUGINs 2020-05-20 23:00:23 -04:00
sch_line.cpp Make sure lines/wires/busses get default widths if not spec'ed. 2020-08-09 21:52:36 +01:00
sch_line.h NetClass settings for Eeschema. 2020-07-08 21:23:25 +01:00
sch_marker.cpp Migrate RC_ITEM to use shared_ptr 2020-08-13 14:50:59 +02:00
sch_marker.h Migrate RC_ITEM to use shared_ptr 2020-08-13 14:50:59 +02:00
sch_no_connect.cpp Remove a bunch of globals. 2020-04-16 17:34:46 +01:00
sch_no_connect.h properties: post-rebase fixes 2020-07-05 22:44:38 +02:00
sch_painter.cpp ADDED: New appearance control widget for PcbNew 2020-08-15 15:24:28 -04:00
sch_painter.h ADDED: New appearance control widget for PcbNew 2020-08-15 15:24:28 -04:00
sch_pin.cpp eeschema: Use recursive mutex for SCH_PIN 2020-08-14 18:42:11 -07:00
sch_pin.h eeschema: Use recursive mutex for SCH_PIN 2020-08-14 18:42:11 -07:00
sch_plugin.cpp Remove KIWAY dependence from SCH_PLUGINs 2020-05-20 23:00:23 -04:00
sch_preview_panel.cpp Build out the rest of the schematic preview for colors editor. 2020-08-01 21:07:14 +01:00
sch_preview_panel.h Cleanup parentage inside the draw panels 2020-05-20 02:23:46 +01:00
sch_reference_list.h Allow Update Schematic from PCB to re-link based on refdes. 2020-07-16 18:32:49 +01:00
sch_rtree.h Replace EESchema DLIST 2020-01-10 06:37:08 -08:00
sch_screen.cpp Migrate RC_ITEM to use shared_ptr 2020-08-13 14:50:59 +02:00
sch_screen.h Allow ERC/DRC markers to be deleted without deleting exclusions. 2020-08-02 22:45:48 +01:00
sch_sexpr_parser.cpp Remove linked-pin processing from LIB_PIN's setters. 2020-08-03 22:21:35 +01:00
sch_sexpr_parser.h Eeschema: factor out line stroke property object. 2020-06-24 13:36:17 -04:00
sch_sexpr_plugin.cpp Put UUID on own line. 2020-07-30 14:27:42 +01:00
sch_sexpr_plugin.h Remove KIWAY dependence from SCH_PLUGINs 2020-05-20 23:00:23 -04:00
sch_sheet.cpp Allow text variables to reference parent sheet's fields. 2020-07-28 13:35:37 +01:00
sch_sheet.h properties: post-rebase fixes 2020-07-05 22:44:38 +02:00
sch_sheet_path.cpp Cache sheet path to string conversion in UpdateSymbolInstances 2020-07-09 18:14:37 -04:00
sch_sheet_path.h Connectivity optimizations 2020-07-08 17:42:12 -04:00
sch_sheet_pin.cpp Clean up label spacing to be more predictable. 2020-04-17 14:47:57 +01:00
sch_text.cpp Add text var cross-reference processing to SCH_FIELDs. 2020-07-30 14:27:42 +01:00
sch_text.h properties: post-rebase fixes 2020-07-05 22:44:38 +02:00
sch_validators.cpp Allow Net Inspector to create, rename and delete nets. 2020-07-11 21:19:49 +01:00
sch_validators.h Allow Net Inspector to create, rename and delete nets. 2020-07-11 21:19:49 +01:00
sch_view.cpp Make sure preview group gets added to view after a clear. 2020-08-15 21:13:44 +01:00
sch_view.h Make sure projects are cleaned up nicely when frames close 2020-08-08 16:52:57 -04:00
schematic.cpp Add text var cross-reference processing to SCH_FIELDs. 2020-07-30 14:27:42 +01:00
schematic.h Add text var cross-reference processing to SCH_FIELDs. 2020-07-30 14:27:42 +01:00
schematic.keywords Eeschema: allow editing of junction properties diameter and color. 2020-06-24 13:36:17 -04:00
schematic_settings.cpp Eeschema, export netlist dialog: re-add a commane to run spice from this dialog. 2020-08-04 12:52:14 +02:00
schematic_settings.h Eeschema, export netlist dialog: re-add a commane to run spice from this dialog. 2020-08-04 12:52:14 +02:00
schematic_undo_redo.cpp Make undo/redo lists protected. 2020-07-13 15:53:36 +01:00
sheet.cpp Only update relative paths in nested subsheets. 2020-07-31 12:04:01 +01:00
simulation_cursors.cpp Add current probe to SPICE simulation. 2019-08-05 16:48:18 -06:00
simulation_cursors.h Add current probe to SPICE simulation. 2019-08-05 16:48:18 -06:00
symbol_lib_table.cpp Show all symbol libraries by default. 2020-07-17 18:33:14 +01:00
symbol_lib_table.h Show all symbol libraries by default. 2020-07-17 18:33:14 +01:00
symbol_tree_model_adapter.cpp Implement an app progress indicator in the taskbar 2020-08-09 10:55:00 +00:00
symbol_tree_model_adapter.h Save pinned libraries in project. 2020-02-14 14:22:54 +00:00
symbol_tree_synchronizing_adapter.cpp Show all symbol libraries by default. 2020-07-17 18:33:14 +01:00
symbol_tree_synchronizing_adapter.h Move footprint & symbol tree context menus to tool infrastructure. 2019-06-05 20:16:48 +01:00
toolbars_lib_view.cpp Revert "Revert "Set DoubleBuffering to reduce flicker"" 2020-07-13 20:19:10 -07:00
toolbars_sch_editor.cpp Undo for schematic-wide operations. 2020-07-13 12:32:17 +01:00
transform.cpp Refactor all math into a new kimath library 2020-01-07 17:12:59 +00:00
transform.h Comment-only changes 2020-01-10 16:43:01 -08:00