kicad/eeschema
Jeff Young afab60ae06 Fixes for autoplace fields.
1) Don't factor in pin names when computing symbol body boundingbox.
2) Grid-snap only in the axis corresponding to the layout side.
3) We only need interline spacing *between* lines, not for each line.
4) Also cleans up the unit checking logic as the unit can't be more
than 0 unless it's a multi-unit symbol.

Fixes https://gitlab.com/kicad/code/kicad/issues/7907
2021-03-15 02:23:29 +00:00
..
dialogs More wxWidgets 3.1 layout adjustments. 2021-03-13 00:00:38 +00:00
netlist_exporters SCH_COMPONENT::GetField() expects a vector index, not a field id. 2021-02-28 15:10:37 +00:00
plotters Worksheet -> (industry standard) Drawing Sheet. 2021-02-22 17:35:46 +00:00
plugins Fix a install issue after changing a plugin filename (by commit a0f57d6) 2021-03-07 20:57:09 +01:00
sch_plugins altium: Handle special strings and convert them into KiCad variables. Use Comment for VALUE. 2021-03-14 16:40:36 +01:00
sim Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
symbol_editor Don't hide (or disable) options if it's not obvious why. 2021-03-15 02:23:29 +00:00
tools Fixes for autoplace fields. 2021-03-15 02:23:29 +00:00
widgets Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
CMakeLists.txt Relocate win32 resource files to the central folder for further consolidation 2021-03-09 21:48:14 -05:00
annotate.cpp Fold annotation error reporting into ERC. 2021-01-24 23:01:24 +00:00
autoplace_fields.cpp Fixes for autoplace fields. 2021-03-15 02:23:29 +00:00
bom_plugins.cpp BOM dialog: explain when we can't find scripts 2021-02-25 22:41:12 -05:00
bom_plugins.h BOM dialog: explain when we can't find scripts 2021-02-25 22:41:12 -05:00
bus-wire-junction.cpp Eeschema: use symbol nomenclature for object file naming. 2021-02-24 08:48:02 -05:00
bus_alias.cpp Use kicad_algo directly rather than common.h 2020-10-24 08:53:11 -04:00
bus_alias.h Use wxArrayString instead of vector<wxString> in BUS_ALIAS 2019-11-29 21:11:44 -05:00
class_library.cpp Cleanup creation of all our smart pointers 2020-10-26 23:52:44 +00:00
class_library.h Unwrap eda_base_frame from base_screen 2020-10-13 21:52:57 -04:00
cmp_library.keywords
cmp_library_lexer.cpp
component_references_lister.cpp Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
connection_graph.cpp Eeschema: use symbol nomenclature for object file naming. 2021-02-24 08:48:02 -05:00
connection_graph.h Don't create multiple markers for the same issue 2021-01-12 23:24:13 -05:00
cross-probing.cpp Eeschema: use symbol nomenclature for object file naming. 2021-02-24 08:48:02 -05:00
default_values.h Hook up EE_GRID_HELPER to some more tools. 2020-12-03 15:16:34 +00:00
ee_collectors.cpp Eeschema: use symbol nomenclature for object file naming. 2021-02-24 08:48:02 -05:00
ee_collectors.h Eeschema: use symbol nomenclature for object file naming. 2021-02-24 08:48:02 -05:00
eeschema.cpp Don't hardcode the file extensions where possible 2021-03-03 01:13:59 +00:00
eeschema.icns Update icon resource sets 2020-12-22 15:16:33 -08:00
eeschema_config.cpp Round 2 of Worksheet -> Drawing Sheet. 2021-02-23 11:57:44 +00:00
eeschema_doc.icns Update icon resource sets 2020-12-22 15:16:33 -08:00
eeschema_id.h Symbol editor: remove duplicate legacy code path 2021-01-17 11:14:44 +00:00
eeschema_settings.cpp Eeschema: overhaul storage of BOM plugin settings 2021-02-24 22:45:42 -05:00
eeschema_settings.h eeschema: add a setting to allow intersheets to not list their own page 2021-03-08 20:40:37 +00:00
erc.cpp Eeschema: fix false positive library symbol changed ERC errors. 2021-03-04 17:59:24 -05:00
erc.h Round 2 of Worksheet -> Drawing Sheet. 2021-02-23 11:57:44 +00:00
erc_item.cpp Fold annotation error reporting into ERC. 2021-01-24 23:01:24 +00:00
erc_item.h Fold annotation error reporting into ERC. 2021-01-24 23:01:24 +00:00
erc_settings.cpp Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
erc_settings.h Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
fields_grid_table.cpp Write changes back to grid after using file explorer. 2021-02-17 14:08:53 +00:00
fields_grid_table.h Eeschema: use symbol nomenclature for object file naming. 2021-02-24 08:48:02 -05:00
files-io.cpp Eeschema: add missing symbol cache library file warning. 2021-03-10 09:52:53 -05:00
general.h Move Eeschema globals to new SCHEMATIC object 2020-05-18 13:04:56 -04:00
generate_alias_info.cpp Eeschema: use symbol nomenclature for object file naming. 2021-02-24 08:48:02 -05:00
generate_alias_info.h
getpart.cpp Eeschema: use symbol nomenclature for object file naming. 2021-02-24 08:48:02 -05:00
hierarch.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
hierarch.h eeschema page numbers: match ordering in hierarchy navigator to sheet page number ordering 2020-11-30 16:49:33 +00:00
invoke_sch_dialog.h Move ERC dialog to EE_INSPECTION_TOOL and kill when resetting. 2020-11-03 20:27:44 +00:00
lib_arc.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
lib_arc.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
lib_bezier.cpp Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
lib_bezier.h Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
lib_circle.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
lib_circle.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
lib_field.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
lib_field.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
lib_item.cpp Eeschema: fix false positive library symbol changed ERC errors. 2021-03-04 17:59:24 -05:00
lib_item.h Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
lib_pin.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
lib_pin.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
lib_polyline.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
lib_polyline.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
lib_rectangle.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
lib_rectangle.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
lib_symbol.cpp Fixes for autoplace fields. 2021-03-15 02:23:29 +00:00
lib_symbol.h Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
lib_text.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
lib_text.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
libarch.cpp Eeschema: use symbol nomenclature for object file naming. 2021-02-24 08:48:02 -05:00
menubar.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
pin_number.cpp More component -> symbol. 2020-11-15 20:23:15 +00:00
pin_number.h
pin_type.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
pin_type.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
project_rescue.cpp Eeschema: use symbol nomenclature for object file naming. 2021-02-24 08:48:02 -05:00
project_rescue.h Eeschema: use symbol nomenclature for object file naming. 2021-02-24 08:48:02 -05:00
sch_base_frame.cpp Use color theme backgrounds in page previews. 2020-12-23 23:18:38 +00:00
sch_base_frame.h Update naming. 2020-12-25 23:37:01 +00:00
sch_bitmap.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
sch_bitmap.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
sch_bus_entry.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
sch_bus_entry.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
sch_connection.cpp Properly handle mixed-up group buses 2021-03-11 18:24:39 -05:00
sch_connection.h Fix some issues with group bus prefix handling 2021-03-04 23:37:46 -05:00
sch_draw_panel.cpp Worksheet -> (industry standard) Drawing Sheet. 2021-02-22 17:35:46 +00:00
sch_draw_panel.h Fix more broken Doxygen comment specifiers. 2021-01-26 12:17:52 -05:00
sch_edit_frame.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
sch_edit_frame.h Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
sch_field.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
sch_field.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
sch_file_versions.h Fix copy/paste error. 2021-01-26 19:01:31 +00:00
sch_io_mgr.cpp Cleanup: Move KiCad files into plugins folder 2020-10-12 16:36:08 +00:00
sch_io_mgr.h CADSTAR Schematic Archive Importer: Load all Sheets and Hierarchical Blocks 2020-09-27 18:13:58 +01:00
sch_item.cpp Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
sch_item.h Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
sch_junction.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
sch_junction.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
sch_line.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
sch_line.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
sch_marker.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
sch_marker.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
sch_no_connect.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
sch_no_connect.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
sch_painter.cpp Tighten up schematic label bounding boxes 2021-02-24 17:15:35 -05:00
sch_painter.h Eeschema: use symbol nomenclature for object file naming. 2021-02-24 08:48:02 -05:00
sch_pin.cpp Eeschema: use symbol nomenclature for object file naming. 2021-02-24 08:48:02 -05:00
sch_pin.h Use standard mirror icons & terminology. 2021-02-16 21:11:36 +00:00
sch_plugin.cpp Mostly formatting cleanup but a few type-casting cleanups too. 2020-11-24 22:16:41 +00:00
sch_preview_panel.cpp Round 2 of Worksheet -> Drawing Sheet. 2021-02-23 11:57:44 +00:00
sch_preview_panel.h Fix more broken Doxygen comment specifiers. 2021-01-26 12:17:52 -05:00
sch_reference_list.h Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
sch_rtree.h Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
sch_screen.cpp Eeschema: add missing symbol cache library file warning. 2021-03-10 09:52:53 -05:00
sch_screen.h Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
sch_sheet.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
sch_sheet.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
sch_sheet_path.cpp Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
sch_sheet_path.h Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
sch_sheet_pin.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
sch_symbol.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
sch_symbol.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
sch_text.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
sch_text.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
sch_text_help.md Fix typo in the schematics help text. Align bottom example properly, as the subscript letters are smaller. 2021-03-09 16:23:12 +00:00
sch_validators.cpp Prepare for MODULE -> FOOTPRINT. 2020-11-13 15:16:24 +00:00
sch_validators.h Prepare for MODULE -> FOOTPRINT. 2020-11-13 15:16:24 +00:00
sch_view.cpp Round 2 of Worksheet -> Drawing Sheet. 2021-02-23 11:57:44 +00:00
sch_view.h Round 2 of Worksheet -> Drawing Sheet. 2021-02-23 11:57:44 +00:00
schematic.cpp Allow netclass assignents to unnamed nets. 2021-03-05 19:16:09 +00:00
schematic.h eeschema: add interface to SCHEMATIC for better testability 2021-02-17 00:59:44 +00:00
schematic.keywords Add a PT_NIC pin electrical type and a netlist token for SCH_NO_CONNECT. 2021-01-23 00:10:01 +00:00
schematic_settings.cpp eeschema: add a setting to allow intersheets to not list their own page 2021-03-08 20:40:37 +00:00
schematic_settings.h eeschema: add a setting to allow intersheets to not list their own page 2021-03-08 20:40:37 +00:00
schematic_undo_redo.cpp Eeschema: fix false positive library symbol changed ERC errors. 2021-03-04 17:59:24 -05:00
sheet.cpp Don't log error messages when using the clipboard 2021-02-03 01:55:05 +00:00
symbol_lib_table.cpp Eeschema: use symbol nomenclature for object file naming. 2021-02-24 08:48:02 -05:00
symbol_lib_table.h File naming and include cleanup. 2021-01-28 11:35:18 +00:00
symbol_tree_model_adapter.cpp Eeschema: use symbol nomenclature for object file naming. 2021-02-24 08:48:02 -05:00
symbol_tree_model_adapter.h Formatting and naming conventions. 2020-11-07 18:50:30 +00:00
symbol_tree_synchronizing_adapter.cpp Remove and re-add saved-as libraries when Syncing tree. 2021-01-31 23:00:17 +00: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 Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
symbol_viewer_frame.h Update naming. 2020-12-25 23:37:01 +00:00
toolbars_sch_editor.cpp Use standard mirror icons & terminology. 2021-02-16 21:11:36 +00:00
toolbars_symbol_viewer.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05: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