kicad/eeschema
Maciej Suminski 9e80eff90a Eagle importer: two stage netlist update
After Eagle project import, schematic and board netlists are inconsistent:
footprints do not have sheetpaths assigned, schematics are unannotated.

One can update netlist either by references or timestamps, but timestamps
are empty in pcbnew, and updating by reference must by preceded by
annotation which may lead to broken links between board and schematics
(Eagle does not require references to end with a number, so KiCad annotater
will add numbers in such cases).

To fix the problem, there is a two step netlist update:
- update by reference without the annotation step, to assign
correct sheetpaths to footprints
- update by timestamp, after symbols are annotated, in order to
update references in the board

Fixes: lp:1748502
* https://bugs.launchpad.net/kicad/+bug/1748502
2018-02-16 19:37:23 +01:00
..
dialogs Fix display of datasheet URLs and shorten them if necessary. 2018-02-15 22:01:35 +01:00
netlist_exporters fix code after renamin files 2018-01-30 11:49:51 +01:00
plugins Fix bom2grouped_scv BOM template 2017-08-25 17:06:32 +02:00
qa Pass -DBOOST_TEST_DYN_LINK to all parts of test 2017-12-06 19:28:57 -05:00
sim Use "..." uniformly in menus. 2018-02-10 17:32:28 -05:00
widgets Fix display of datasheet URLs and shorten them if necessary. 2018-02-15 22:01:35 +01:00
CMakeLists.txt Fix code after renaming files 2018-02-09 17:36:54 +01:00
Info.plist Changed the bundle identifier to org.kicad-pcb.<app> to follow the kicad domain name 2015-10-30 08:43:04 +13:00
annotate.cpp fix code after renamin files 2018-01-30 11:49:51 +01: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: Ensure all items in a block are deleted 2018-02-14 13:16:42 -05: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 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
class_libentry.h Pin edit coupling: renamed and changed the description 2018-01-25 11:45:34 +01:00
class_library.cpp Fix code after renaming files 2018-01-29 16:40:22 +01: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 Add library descriptions to component tree. 2018-02-07 08:45:33 +01: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 fix code after renamin files 2018-01-30 11:49:51 +01:00
controle.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
cross-probing.cpp Options for board update KiWay request (MAIL_SCH_UPDATE[_REQUEST]) 2018-02-16 19:37:23 +01:00
dialog_erc_listbox.h Fix a few doxygen warnings 2017-06-21 10:01:39 +02:00
drc_erc_item.cpp rename files in eeschema 2018-01-30 09:57:22 +01: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 fix code after renamin files 2018-01-30 11:49:51 +01:00
eeschema.icns [MacOSX] Updated Icons - Document ones still missing :( 2012-09-27 19:20:44 +02:00
eeschema.rc Remove old xpm icons files 2012-04-07 13:09:57 +02:00
eeschema_config.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
eeschema_config.h Implement primitive icon scaling for high DPI 2018-01-10 21:26:06 -07:00
eeschema_doc.icns Updates for OS X 2010-05-16 20:18:38 +02: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 New ERC rule verifying if all units of a component use the same footprint 2018-01-25 12:19:41 +01: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 fix code after renamin files 2018-01-30 11:49:51 +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 Fix display of datasheet URLs and shorten them if necessary. 2018-02-15 22:01:35 +01: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 Eeschema: changed missed instances of component in UI strings. 2017-12-29 08:46:24 -05: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 Library Editor: make 'Save All' the default save action 2018-02-16 11:28:37 +01:00
hotkeys.h Library Editor: make 'Save All' the default save action 2018-02-16 11:28:37 +01:00
invoke_sch_dialog.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
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 Rename a few files 2018-01-28 22:02:31 +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 Symbol Editor: fix a crash when saving/reverting a library not present in sym-lib-table 2018-02-16 12:13:02 +01:00
libedit_onleftclick.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
libedit_onrightclick.cpp Use "..." uniformly in menus. 2018-02-10 17:32:28 -05: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 missing hotkey to help menu 2018-02-15 09:23:42 +01:00
menubar_libedit.cpp Library Editor: make 'Save All' the default save action 2018-02-16 11:28:37 +01: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 fix code after renamin files 2018-01-30 11:49:51 +01:00
netlist_object.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
netlist_object.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
netlist_object_list.cpp rename files 2018-01-30 10:51:55 +01:00
onleftclick.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
onrightclick.cpp Use "..." uniformly in menus. 2018-02-10 17:32:28 -05: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 fix code after renamin files 2018-01-30 11:49:51 +01: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 fix code after renamin files 2018-01-30 11:49:51 +01:00
project_rescue.h Fix minor warnings 2017-11-21 23:18:55 +01: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 fix code after renamin files 2018-01-30 11:49:51 +01: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 Code formatting for 013f7b4d 2018-02-13 14:56:11 +01:00
sch_eagle_plugin.h Eagle Schematics Importer: support for UTF-8 2017-12-17 19:54:21 +01:00
sch_edit_frame.cpp Options for board update KiWay request (MAIL_SCH_UPDATE[_REQUEST]) 2018-02-16 19:37:23 +01:00
sch_edit_frame.h Eagle importer: two stage netlist update 2018-02-16 19:37:23 +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 Fix hierarchical schematic file sheet path bug. 2018-02-14 13:45:41 -05: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 Change time_t in the functions that deal with timestamps to a new typedef timestamp_t (defined as a long). 2017-12-07 13:16:33 +01: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 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_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 fix code after renamin files 2018-01-30 11:49:51 +01:00
schematic_undo_redo.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
selpart.cpp Fix loop variable copy in for-range loop, use const reference instead 2018-01-09 19:18:44 -05:00
sheet.cpp Eeschema: fix using subpaths in sheets. 2018-02-05 17:07:33 -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 fix code after renamin files 2018-01-30 11:49:51 +01:00
tool_sch.cpp fix code after renamin files 2018-01-30 11:49:51 +01:00
tool_viewlib.cpp Implement primitive icon scaling for high DPI 2018-01-10 21:26:06 -07: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