kicad/eeschema
Maciej Suminski eb9099238a Eagle SCH import: Improved net label placement algorithm
Eagle support net labels that are naming wires not directly connected to
the labels. In KiCad it is not possible, therefore such detached net
labels need to be moved, so they touch the corresponding wire.

The initial algorithm did not take into account that a moved net label
might be placed on a wire crossing, effectively shorting two nets. This
commit improves the placement algorithm by avoiding the wire crossing
points when placing a label.

Fixes: lp:1748502
* https://bugs.launchpad.net/kicad/+bug/1748502
2018-03-29 12:16:11 +02:00
..
dialogs Allow XLS netlist exporters to specify a file extension. 2018-03-26 00:51:54 +01:00
netlist_exporters Eeschema: Add footprint field to Cadstar netlist file. 2018-03-16 13:20:00 +01:00
plugins Allow XLS netlist exporters to specify a file extension. 2018-03-26 00:51:54 +01:00
qa Pass -DBOOST_TEST_DYN_LINK to all parts of test 2017-12-06 19:28:57 -05:00
sim Spice simulator: safety check 2018-03-22 18:20:02 +01:00
widgets Fix display of datasheet URLs and shorten them if necessary. 2018-02-15 22:01:35 +01:00
CMakeLists.txt Revert "libngspice is linked at compile time" 2018-03-21 18:01:38 +01:00
Info.plist macOS: standardise CFBundleName to application names. 2018-03-05 01:14:00 +00:00
annotate.cpp Add a start number to annotate. 2018-02-19 09:32:54 -05:00
autoplace_fields.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
backanno.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
block.cpp eeschema: preserve unit number after pasting a component 2018-03-22 10:55:50 +01:00
block_libedit.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
bus-wire-junction.cpp Merges a line after manually removing its junction. 2018-02-03 10:50:10 +01:00
busentry.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
class_libentry.cpp Replace illegal characters in LIB_{ALIAS,PART} LIB_IDs 2018-03-08 09:48:34 +01:00
class_libentry.h Replace illegal characters in LIB_{ALIAS,PART} LIB_IDs 2018-03-08 09:48:34 +01:00
class_library.cpp Coverity fixes. 2018-03-21 23:11:55 +00:00
class_library.h Eeschema: fix potential symbol cache library name collisions. 2017-12-08 08:32:23 -05:00
cmp_library.keywords 1) Add "rules" to base of tree for copying into BZR_HOME/rules. 2013-05-25 23:36:44 -05:00
cmp_library_lexer.cpp 1) Add "rules" to base of tree for copying into BZR_HOME/rules. 2013-05-25 23:36:44 -05:00
cmp_tree_model.cpp CMP_TREE_MODEL: Reset SearchTextNormalized flag when a node is updated 2018-02-09 11:00:32 +01:00
cmp_tree_model.h Add library descriptions to component tree. 2018-02-07 08:45:33 +01:00
cmp_tree_model_adapter.cpp Add library descriptions to component tree. 2018-02-07 08:45:33 +01:00
cmp_tree_model_adapter.h Extracted CMP_TREE_MODEL_ADAPTER_BASE class 2017-11-21 23:18:55 +01:00
cmp_tree_model_adapter_base.cpp Defensive coding to attempt to prevent wxWidgets crash. 2018-03-16 19:02:25 +00:00
cmp_tree_model_adapter_base.h Add library descriptions to component tree. 2018-02-07 08:45:33 +01:00
component_references_lister.cpp Add a start number to annotate. 2018-02-19 09:32:54 -05:00
controle.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
cross-probing.cpp Dialog-ize CvPcb and implement proper Save. 2018-03-25 19:21:27 +01:00
dialog_erc_listbox.h Make sure ERC and DRC item lists respect color themes. 2018-03-14 14:15:16 +00:00
drc_erc_item.cpp Add ERC check that a pin appears in only one net 2018-03-15 11:11:43 -04:00
edit_bitmap.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
edit_component_in_schematic.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
edit_label.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
eeredraw.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
eeschema.cpp Setting Eeschema white foreground for BW printing 2018-02-23 15:41:41 -05:00
eeschema.icns Update MacOS icons 2018-03-22 11:45:42 -04:00
eeschema.rc Remove old xpm icons files 2012-04-07 13:09:57 +02:00
eeschema_config.cpp Fix strings for save/load project menu options; standardize on "Load" 2018-03-20 22:20:54 -04:00
eeschema_config.h Implement primitive icon scaling for high DPI 2018-01-10 21:26:06 -07:00
eeschema_doc.icns Update MacOS icons 2018-03-22 11:45:42 -04:00
eeschema_id.h Pin edit coupling: renamed and changed the description 2018-01-25 11:45:34 +01:00
erc.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
erc.h Add ERC check that a pin appears in only one net 2018-03-15 11:11:43 -04:00
events_called_functions_for_edit.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
fields_editor_table_column.cpp Fix code after renaming files 2018-02-09 17:36:54 +01:00
fields_editor_table_column.h Fix code after renaming files 2018-02-09 17:36:54 +01:00
fields_editor_table_model.cpp Fix code after renaming files 2018-02-09 17:36:54 +01:00
fields_editor_table_model.h Fix code after renaming files 2018-02-09 17:36:54 +01:00
files-io.cpp Eagle import: do not call TrimWire() on imported schematics 2018-03-04 18:04:19 +01:00
find.cpp Don't rely on live pointers in search data. 2018-02-12 11:46:39 -05:00
general.h Clear symbol library list from project file after remapping. 2017-11-09 18:50:23 -05:00
generate_alias_info.cpp Standardize Keywords->Key words 2018-03-09 09:43:53 -08:00
generate_alias_info.h Convert component chooser dialog over to use symbol library table. 2017-11-09 18:50:18 -05:00
getpart.cpp Differ the dialog text for when choosing power-symbols and all symbols 2018-02-09 11:00:32 +01:00
help_common_strings.h Standardize terminology for automatic zoom to "Zoom to Fit". 2018-03-16 08:38:36 -04:00
hierarch.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
highlight_connection.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
hotkeys.cpp Add zoom to selection menu entry to all editors. 2018-03-25 12:34:19 -04:00
hotkeys.h Eeschema: New menubar structure 2018-02-22 20:43:21 -05:00
invoke_sch_dialog.h Add a start number to annotate. 2018-02-19 09:32:54 -05:00
lib_arc.cpp Fix code after renaming files 2018-01-29 16:40:22 +01:00
lib_arc.h Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
lib_bezier.cpp Fix code after renaming files 2018-01-29 16:40:22 +01:00
lib_bezier.h Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
lib_circle.cpp Fix code after renaming files 2018-01-29 16:40:22 +01:00
lib_circle.h Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
lib_collectors.cpp rename class_collector.h to collector.h 2018-02-04 10:49:37 +01:00
lib_collectors.h rename class_collector.h to collector.h 2018-02-04 10:49:37 +01:00
lib_draw_item.cpp Fix code after renaming files 2018-01-29 16:40:22 +01:00
lib_draw_item.h Fix code after renaming files 2018-01-29 11:37:29 +01:00
lib_edit_frame.cpp Library Editor: make 'Save All' the default save action 2018-02-16 11:28:37 +01:00
lib_edit_frame.h Library Editor: make 'Save All' the default save action 2018-02-16 11:28:37 +01:00
lib_export.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
lib_field.cpp Replace illegal characters in LIB_{ALIAS,PART} LIB_IDs 2018-03-08 09:48:34 +01:00
lib_field.h Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
lib_manager.cpp Symbol Editor: fix a crash when saving/reverting a library not present in sym-lib-table 2018-02-16 12:13:02 +01:00
lib_manager.h Symbol Editor: fix a crash when saving/reverting a library not present in sym-lib-table 2018-02-16 12:13:02 +01:00
lib_manager_adapter.cpp Add library descriptions to component tree. 2018-02-07 08:45:33 +01:00
lib_manager_adapter.h Add '*' to modified files in libedit cmptree, and change highlighting. 2018-01-22 10:37:06 +01:00
lib_pin.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
lib_pin.h More performance optimizations for symbol libraries 2018-01-30 10:31:51 -05:00
lib_polyline.cpp Fix code after renaming files 2018-01-29 16:40:22 +01:00
lib_polyline.h Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
lib_rectangle.cpp Fix code after renaming files 2018-01-29 16:40:22 +01:00
lib_rectangle.h Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
lib_text.cpp Fix code after renaming files 2018-01-29 16:40:22 +01:00
lib_text.h Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
libarch.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
libedit.cpp Derive DIALOG_MULTI_OPTIONS from wxMultiChoiceDialog 2018-03-02 18:09:27 +01:00
libedit_onleftclick.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
libedit_onrightclick.cpp Added 'Paste' to eeschema context menus 2018-03-13 17:26:33 +01:00
libedit_plot_component.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
libedit_undo_redo.cpp Coverity fixes 2018-02-15 10:27:01 +01:00
libfield.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
list_operations.h Eeschema: removed protos.h 2017-11-21 23:18:55 +01:00
menubar.cpp Add zoom to selection menu entry to all editors. 2018-03-25 12:34:19 -04:00
menubar_libedit.cpp Add zoom to selection menu entry to all editors. 2018-03-25 12:34:19 -04:00
netlist.h Fixed Spice netlist export options and added a few new flags 2016-08-11 14:41:20 +02:00
netlist_generator.cpp Add a start number to annotate. 2018-02-19 09:32:54 -05:00
netlist_object.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
netlist_object.h Remove not used ListNets() methods 2018-03-04 18:04:19 +01:00
netlist_object_list.cpp Remove not used ListNets() methods 2018-03-04 18:04:19 +01:00
onleftclick.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
onrightclick.cpp Added 'Paste' to eeschema context menus 2018-03-13 17:26:33 +01:00
operations_on_items_lists.cpp Merges a line after manually removing its junction. 2018-02-03 10:50:10 +01:00
pin_number.cpp Compress consecutive numbers in pin summary. 2016-01-13 14:18:05 -05:00
pin_number.h Add pin number summary 2016-01-13 14:17:54 -05:00
pin_shape.cpp Remove some extra semicolons 2017-11-09 19:52:18 +01:00
pin_shape.h Enum refactoring and shiny icons in dialog_lib_edit_pin_table 2016-02-28 18:33:29 +01:00
pin_type.cpp Enum refactoring and shiny icons in dialog_lib_edit_pin_table 2016-02-28 18:33:29 +01:00
pin_type.h Enum refactoring and shiny icons in dialog_lib_edit_pin_table 2016-02-28 18:33:29 +01:00
pinedit.cpp Add ERC check in component editor for conflicting multi-unit pins 2018-03-15 11:11:43 -04:00
plot_schematic_DXF.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
plot_schematic_HPGL.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
plot_schematic_PDF.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
plot_schematic_PS.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
plot_schematic_SVG.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
project_rescue.cpp Do not append "RESCUE" to symbol names when rescuing symbols. 2018-03-03 15:34:26 -05:00
project_rescue.h Do not append "RESCUE" to symbol names when rescuing symbols. 2018-03-03 15:34:26 -05:00
sch_base_frame.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
sch_base_frame.h Fix code after renaming files, and a bit of code cleanup (remove useless includes and multiple includes of the same files) 2018-01-30 09:57:25 +01:00
sch_bitmap.cpp Remove all schematic object load and save code. 2017-11-18 08:53:13 -05:00
sch_bitmap.h Update code after file renaming 2018-01-29 09:39:49 +01:00
sch_bus_entry.cpp rename files: update filenames in sources 2018-01-28 19:12:26 +01:00
sch_bus_entry.h Eeschema: Adding connection block selections 2017-12-20 10:04:25 -05:00
sch_collectors.cpp Fix release build error caused by previous commit. 2018-02-12 13:36:03 -05:00
sch_collectors.h Don't rely on live pointers in search data. 2018-02-12 11:46:39 -05:00
sch_component.cpp Standardize Keywords->Key words 2018-03-09 09:43:53 -08:00
sch_component.h Fix unnecessary value parameter detected by clang-tidy. - Replace value parameter by const reference parameter or move-assignement in some cases 2018-01-09 18:55:51 -05:00
sch_eagle_plugin.cpp Eagle SCH import: Improved net label placement algorithm 2018-03-29 12:16:11 +02:00
sch_eagle_plugin.h Eagle SCH import: Improved net label placement algorithm 2018-03-29 12:16:11 +02:00
sch_edit_frame.cpp Translatable strings must be ASCII7 for translation tools. 2018-03-12 19:54:07 +00:00
sch_edit_frame.h Remove not used ListNets() methods 2018-03-04 18:04:19 +01:00
sch_field.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
sch_field.h Fix unnecessary value parameter detected by clang-tidy. - Replace value parameter by const reference parameter or move-assignement in some cases 2018-01-09 18:55:51 -05:00
sch_io_mgr.cpp Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
sch_io_mgr.h Eeschema: allow for partial schematic loading. 2017-12-06 19:11:09 -05:00
sch_item_struct.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
sch_item_struct.h Fix code after renaming files 2018-01-29 11:37:29 +01:00
sch_junction.cpp Fix code after renaming files, and a bit of code cleanup (remove useless includes and multiple includes of the same files) 2018-01-30 09:57:25 +01:00
sch_junction.h Eeschema: Adding connection block selections 2017-12-20 10:04:25 -05:00
sch_legacy_plugin.cpp Coverity fixes. 2018-03-21 23:11:55 +00:00
sch_legacy_plugin.h Eeschema: allow for partial schematic loading. 2017-12-06 19:11:09 -05:00
sch_line.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
sch_line.h Eeschema: Adding connection block selections 2017-12-20 10:04:25 -05:00
sch_marker.cpp Fix code after renaming files 2018-01-29 16:40:22 +01:00
sch_marker.h Rename a few files 2018-01-28 22:02:31 +01:00
sch_no_connect.cpp Fix code after renaming files, and a bit of code cleanup (remove useless includes and multiple includes of the same files) 2018-01-30 09:57:25 +01:00
sch_no_connect.h Eeschema: Adding connection block selections 2017-12-20 10:04:25 -05:00
sch_plugin.cpp Fix quotes in UI messages 2017-12-15 07:33:07 -05:00
sch_reference_list.h Add a start number to annotate. 2018-02-19 09:32:54 -05:00
sch_screen.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
sch_screen.h Fix code after renaming files, and a bit of code cleanup (remove useless includes and multiple includes of the same files) 2018-01-30 09:57:25 +01:00
sch_sheet.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
sch_sheet.h Eeschema: Adding connection block selections 2017-12-20 10:04:25 -05:00
sch_sheet_path.cpp Add a start number to annotate. 2018-02-19 09:32:54 -05:00
sch_sheet_path.h Fix unnecessary value parameter detected by clang-tidy. - Replace value parameter by const reference parameter or move-assignement in some cases 2018-01-09 18:55:51 -05:00
sch_sheet_pin.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
sch_text.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
sch_text.h Eeschema: Adding connection block selections 2017-12-20 10:04:25 -05:00
sch_validators.cpp Forbid colon, slash and backslash characters in symbol names 2017-12-21 13:56:35 +01:00
sch_validators.h Add more "override" markers. 2016-09-25 13:59:41 -04:00
schedit.cpp Resolve env vars when looking up documentation files. 2018-03-08 23:51:10 +00:00
schematic_undo_redo.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
selpart.cpp Standardize Keywords->Key words 2018-03-09 09:43:53 -08:00
sheet.cpp Eeschema: fix sheet schematic file naming bug. 2018-02-20 16:01:52 -05:00
sheetlab.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
symbdraw.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
symbedit.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
symbol_lib_table.cpp Load each symbol library atomically for better performance. 2018-01-24 19:21:56 -05:00
symbol_lib_table.h Load each symbol library atomically for better performance. 2018-01-24 19:21:56 -05:00
template_fieldnames.cpp Symbol library load performance enhancements. 2018-01-27 08:29:43 -05:00
template_fieldnames.h Fix code after renaming files 2018-01-29 16:40:22 +01:00
template_fieldnames.keywords *.lst -> *.keywords, rename input filenames to CMake script TokenList2DsnLexer.cmake 2010-06-18 11:12:15 -05:00
tool_lib.cpp Standardize terminology for automatic zoom to "Zoom to Fit". 2018-03-16 08:38:36 -04:00
tool_sch.cpp Standardize terminology for automatic zoom to "Zoom to Fit". 2018-03-16 08:38:36 -04:00
tool_viewlib.cpp Standardize terminology for automatic zoom to "Zoom to Fit". 2018-03-16 08:38:36 -04:00
transform.cpp Fix code after renaming files 2018-01-29 11:37:29 +01:00
transform.h Remove unnecessary TRANSFORM::operator= 2017-02-19 22:13:50 -05:00
viewlib_frame.cpp Centralize zoom-to-fit code. 2018-02-13 20:06:03 -05:00
viewlib_frame.h Fix code after renaming files, and a bit of code cleanup (remove useless includes and multiple includes of the same files) 2018-01-30 09:57:25 +01:00
viewlibs.cpp Fix code after renaming files, and a bit of code cleanup (remove useless includes and multiple includes of the same files) 2018-01-30 09:57:25 +01:00