kicad/eeschema
Wayne Stambaugh e97ce6ee4f Use legacy schematic plugin for loading schematics in all code paths.
Use the legacy plugin schematic loader in the sheet edit and append
schematic code paths.

Check for fully qualified LIB_ID objects (must have library nickname)
when loading existing schematics when edit sheets.

Rewrite append schematic feature to handle import issues rather than
change the name and file name of all of the sheets in the imported
schematic.  This includes the following:
- Load the schematic into a temporary SCH_SHEET object.
- Make sure the imported schematic does not cause any hierarchy
  recursion issues.
- Verify the imported schematic uses fully qualified #LIB_ID objects
  (symbol library table).
- Check to see if any symbol libraries need to be added to the current
  project's symbol library table.  This includes:
- Check if the symbol library already exists in the project or global
  symbol library table.
- Convert symbol library URLS that use the ${KIPRJMOD} environment
  variable to absolute paths.  ${KIPRJMOD} will not be the same for
  this project.
- Check for duplicate symbol library nicknames and change the new symbol
  library nickname to prevent library name clashes.
- Update all schematic symbol LIB_ID object library nicknames when the
  library nickname was changed to prevent clashes.
- Check for duplicate sheet names which is illegal and automatically
  rename any duplicate sheets in the imported schematic.
- Clear all of the annotation in the imported schematic to prevent
  clashes.
- Append the objects from the temporary sheet to the current page.
- Replace any duplicate time stamps.
- Refresh the symbol library links.

Add support code to SCH_SCREEN object to assist with schematic import.

Doxygen comment cleaning.

Fixes lp:1731760

https://bugs.launchpad.net/kicad/+bug/1731760
2017-11-18 08:10:58 -05:00
..
dialogs Eeschema: Show abbreviated units 2017-11-17 08:20:00 +01:00
netlist_exporters Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
plugins Fix bom2grouped_scv BOM template 2017-08-25 17:06:32 +02:00
qa Kicad: Add Project import function. -- add menu entry -- add ImportFile kiway function -- expose functions for creating/reading netlist -- add example eagle boad file as well 2017-10-20 08:38:42 +02:00
sim GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
widgets Convert component chooser dialog over to use symbol library table. 2017-11-09 18:50:18 -05:00
CMakeLists.txt Eeschema: Adding line styling options 2017-11-15 08:10:51 +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 Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
autoplace_fields.cpp EDA_TEXT object refactor. 2017-01-25 08:03:32 -05:00
backanno.cpp GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
block.cpp Renamed remaining constants to match the action (see ab44e7cc) 2017-07-04 10:08:33 +02:00
block_libedit.cpp Fix a compil warning and a wxASSERT in netlist dialog and component_tree.cpp 2017-07-08 15:58:22 +02:00
bom_table_column.cpp Fix minor coding style issues 2017-11-03 10:22:34 +01:00
bom_table_column.h Component table improvements 2017-05-08 12:43:20 +02:00
bom_table_model.cpp Fix minor coding style issues 2017-11-03 10:22:34 +01:00
bom_table_model.h Fix minor coding style issues 2017-11-03 10:22:34 +01:00
bus-wire-junction.cpp Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
busentry.cpp Eeschema: remove unused headers, unused variables, redundant casts, and minor boolean tweaks. 2015-11-03 14:44:05 -05:00
class_drc_erc_item.cpp fix Bug #152546 (Netlist not respecting case sensitivity for labels): the label matching is now case sensitive. To avoid issues with previous eeschema versions, add in ERC a dectection for "similar" labels (labels which differ only by a case sensitivity) 2015-12-20 13:40:17 +01:00
class_libentry.cpp rename plot_common.h to class_plotter.h, a better name, consistent with other class definitions. 2017-11-16 15:53:30 +01:00
class_libentry.h Minor trace logging improvements. 2017-09-21 08:58:41 -04:00
class_library.cpp Final symbol library table changes before merge. 2017-11-09 18:50:21 -05:00
class_library.h Enable symbol library table remapping. 2017-11-09 18:50:17 -05:00
class_netlist_object.cpp Enable long names for pin numbers and pads 2017-09-19 18:19:49 +02:00
class_netlist_object.h Enable long names for pin numbers and pads 2017-09-19 18:19:49 +02:00
class_sch_screen.h Use legacy schematic plugin for loading schematics in all code paths. 2017-11-18 08:10:58 -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 Minor fixes broken by symbol library table changes. 2017-11-09 18:50:22 -05:00
cmp_tree_model.h Minor fixes broken by symbol library table changes. 2017-11-09 18:50:22 -05:00
cmp_tree_model_adapter.cpp Minor fixes broken by symbol library table changes. 2017-11-09 18:50:22 -05:00
cmp_tree_model_adapter.h Convert component chooser dialog over to use symbol library table. 2017-11-09 18:50:18 -05:00
component_references_lister.cpp Change the way power symbols are annotated before creating a netlist or running ERC. 2017-07-21 18:41:04 +02:00
controle.cpp hotkey management: enhancements in code to know if a hotkey was handled by an event or not. 2017-10-06 09:23:13 +02:00
cross-probing.cpp Enable long names for pin numbers and pads 2017-09-19 18:19:49 +02:00
dialog_erc_listbox.h Fix a few doxygen warnings 2017-06-21 10:01:39 +02:00
edit_bitmap.cpp Eeschema: add saving schematic files to schematic plugin. 2016-07-11 15:48:46 -04:00
edit_component_in_schematic.cpp Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
edit_label.cpp EDA_TEXT object refactor. 2017-01-25 08:03:32 -05:00
eeredraw.cpp Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
eeschema.cpp Slightly modify keywords used to store color config of Eeschema and Pcbnew, to avoid this config destroyed each time a stable version is run. 2017-08-27 09:06:26 +02: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 GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
eeschema_config.h Pull existing settings into Doxygen module 2016-05-12 15:45:47 -04:00
eeschema_doc.icns Updates for OS X 2010-05-16 20:18:38 +02:00
eeschema_id.h Revise symbol rescuer to support symbol library table. 2017-11-09 18:50:20 -05:00
erc.cpp Eeschema: SCH_SHEET_LIST improvements. 2016-03-06 16:22:01 -05:00
erc.h fix Bug #152546 (Netlist not respecting case sensitivity for labels): the label matching is now case sensitive. To avoid issues with previous eeschema versions, add in ERC a dectection for "similar" labels (labels which differ only by a case sensitivity) 2015-12-20 13:40:17 +01:00
events_called_functions_for_edit.cpp Eeschema: Fix a (minor but annoying) bug detected by coverity which prevent Eeschema to draw components in "fast mode" (i;e. without pin texts) when they are moved, due to a draw parameter which was incorrectly used. 2015-02-28 17:56:09 +01:00
files-io.cpp Use legacy schematic plugin for loading schematics in all code paths. 2017-11-18 08:10:58 -05:00
find.cpp Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -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 Convert component chooser dialog over to use symbol library table. 2017-11-09 18:50:18 -05: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 Minor fixes broken by symbol library table changes. 2017-11-09 18:50:22 -05:00
help_common_strings.h general UI fix. Fixed a lot of icons and a lot of menu. 2017-06-02 11:51:11 +02:00
hierarch.cpp Schematic hierarchy selection dialog fixes. 2017-09-20 08:45:30 -04:00
highlight_connection.cpp Add connection highlight to eeschema, step 2: Fixes, refinements, add hot key, cleanup code. 2016-11-16 13:09:34 +01:00
hotkeys.cpp Add delete block hotkey to schematic editor. 2017-08-29 15:16:56 -04:00
hotkeys.h Disabled the automatic schematic-cross probing due to performance reasons. Added sheet-context menu entry for the cross-probing instead. 2017-09-18 11:16:18 +02:00
invoke_sch_dialog.h Final symbol library table changes before merge. 2017-11-09 18:50:21 -05:00
lib_arc.cpp Fix a very minor issue in eeschema when plotting in SVG format. 2017-11-16 19:49:07 +01:00
lib_arc.h Eeschema Eagle Import: Improve arc parsing to replicate eagle filled arcs. 2017-10-20 08:38:39 +02:00
lib_bezier.cpp rename plot_common.h to class_plotter.h, a better name, consistent with other class definitions. 2017-11-16 15:53:30 +01:00
lib_bezier.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
lib_circle.cpp Fix a very minor issue in eeschema when plotting in SVG format. 2017-11-16 19:49:07 +01:00
lib_circle.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
lib_collectors.cpp Turned LIB_ITEMS_CONTAINER into a template 2017-09-20 08:39:14 +02:00
lib_collectors.h Turned LIB_ITEMS_CONTAINER into a template 2017-09-20 08:39:14 +02:00
lib_draw_item.cpp Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
lib_draw_item.h Refactored LIB_PART data storage 2017-08-16 16:05:22 +02:00
lib_export.cpp Fix UI string typo. 2017-11-12 07:38:39 -05:00
lib_field.cpp rename plot_common.h to class_plotter.h, a better name, consistent with other class definitions. 2017-11-16 15:53:30 +01:00
lib_field.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
lib_pin.cpp rename plot_common.h to class_plotter.h, a better name, consistent with other class definitions. 2017-11-16 15:53:30 +01:00
lib_pin.h Eeschema Eagle Import: Fix power symbol import. - Set pins to power in to match current power supply symbols. - Change IsPowerConnection() to match POWER_IN pins from power symbols as well. 2017-10-20 08:38:39 +02:00
lib_polyline.cpp rename plot_common.h to class_plotter.h, a better name, consistent with other class definitions. 2017-11-16 15:53:30 +01:00
lib_polyline.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
lib_rectangle.cpp rename plot_common.h to class_plotter.h, a better name, consistent with other class definitions. 2017-11-16 15:53:30 +01:00
lib_rectangle.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
lib_text.cpp rename plot_common.h to class_plotter.h, a better name, consistent with other class definitions. 2017-11-16 15:53:30 +01:00
lib_text.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
libarch.cpp Symbol library archive bug fixes. 2017-11-09 18:50:22 -05:00
libedit.cpp Make a few sentences more easy to translate. 2017-11-15 15:38:45 +01:00
libedit_onleftclick.cpp Eeschema: handle disambiguation cancel in library editor right-click 2017-09-02 14:52:18 -04:00
libedit_onrightclick.cpp Changed all Rotate 90 deg CW with Rotate Clockwise. Changed all Rotate 90 deg CCW with Rotate Counterclockwise 2017-07-21 10:28:44 -04:00
libedit_plot_component.cpp Move LIB_PART::Draw drawing options into a struct 2017-02-19 13:40:26 -05:00
libedit_undo_redo.cpp Fixed a memleak in libedit undo buffer, minor code cleanup 2017-11-08 17:32:59 +01:00
libeditframe.cpp Final symbol library table changes before merge. 2017-11-09 18:50:21 -05:00
libeditframe.h Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
libfield.cpp Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
load_one_schematic_file.cpp Revise symbol rescuer to support symbol library table. 2017-11-09 18:50:20 -05:00
menubar.cpp Final symbol library table changes before merge. 2017-11-09 18:50:21 -05:00
menubar_libedit.cpp Final symbol library table changes before merge. 2017-11-09 18:50:21 -05:00
netform.cpp Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
netlist.cpp Revise symbol rescuer to support symbol library table. 2017-11-09 18:50:20 -05:00
netlist.h Fixed Spice netlist export options and added a few new flags 2016-08-11 14:41:20 +02:00
onleftclick.cpp Fixed a memory leak in Spice probe 2017-10-29 00:54:22 +02:00
onrightclick.cpp Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
operations_on_items_lists.cpp Removed unused EDA_ITEM::m_Image field. 2016-09-12 11:50:06 +02: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 Enable long names for pin numbers and pads 2017-09-19 18:19:49 +02:00
plot_schematic_DXF.cpp rename plot_common.h to class_plotter.h, a better name, consistent with other class definitions. 2017-11-16 15:53:30 +01:00
plot_schematic_HPGL.cpp rename plot_common.h to class_plotter.h, a better name, consistent with other class definitions. 2017-11-16 15:53:30 +01:00
plot_schematic_PDF.cpp rename plot_common.h to class_plotter.h, a better name, consistent with other class definitions. 2017-11-16 15:53:30 +01:00
plot_schematic_PS.cpp rename plot_common.h to class_plotter.h, a better name, consistent with other class definitions. 2017-11-16 15:53:30 +01:00
plot_schematic_SVG.cpp Split IO_ERROR out of richio.* and store Problem() and Where() separately 2016-09-20 11:56:18 -04:00
project_rescue.cpp Fix more bugs in the schematic symbol rescuer. 2017-11-09 21:24:43 -05:00
project_rescue.h Revise symbol rescuer to support symbol library table. 2017-11-09 18:50:20 -05:00
protos.h Change from EDA_COLOR_T to COLOR4D globally; arbitrary color support 2017-02-22 17:35:00 +01:00
sch_base_frame.cpp Final symbol library table changes before merge. 2017-11-09 18:50:21 -05:00
sch_base_frame.h Minor fixes broken by symbol library table changes. 2017-11-09 18:50:22 -05:00
sch_bitmap.cpp Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
sch_bitmap.h Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
sch_bus_entry.cpp rename plot_common.h to class_plotter.h, a better name, consistent with other class definitions. 2017-11-16 15:53:30 +01:00
sch_bus_entry.h Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
sch_collectors.cpp Eeschema: Adding line styling options 2017-11-15 08:10:51 +01:00
sch_collectors.h Pcbnew: delete objects from removed layers. 2017-09-28 13:01:09 -04:00
sch_component.cpp rename plot_common.h to class_plotter.h, a better name, consistent with other class definitions. 2017-11-16 15:53:30 +01:00
sch_component.h Enable symbol library table remapping. 2017-11-09 18:50:17 -05:00
sch_eagle_plugin.cpp Fix build error caused by rebasing against commit 5eb56dd8. 2017-11-09 18:50:21 -05:00
sch_eagle_plugin.h Update Eagle plugin to use symbol library table. 2017-11-09 18:50:21 -05:00
sch_field.cpp rename plot_common.h to class_plotter.h, a better name, consistent with other class definitions. 2017-11-16 15:53:30 +01:00
sch_field.h Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
sch_io_mgr.cpp GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
sch_io_mgr.h Remove some extra semicolons 2017-11-09 19:52:18 +01:00
sch_item_struct.cpp Remove some dead code 2017-11-09 19:52:17 +01:00
sch_item_struct.h Remove some dead code 2017-11-09 19:52:17 +01:00
sch_junction.cpp rename plot_common.h to class_plotter.h, a better name, consistent with other class definitions. 2017-11-16 15:53:30 +01:00
sch_junction.h Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
sch_legacy_plugin.cpp eeschema: store line style using a more readable format 2017-11-15 14:08:27 +01:00
sch_legacy_plugin.h Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
sch_line.cpp Eeschema: Improve wire merging 2017-11-17 17:44:18 +01:00
sch_line.h eeschema: store line style using a more readable format 2017-11-15 14:08:27 +01:00
sch_marker.cpp Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
sch_marker.h Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
sch_no_connect.cpp rename plot_common.h to class_plotter.h, a better name, consistent with other class definitions. 2017-11-16 15:53:30 +01:00
sch_no_connect.h Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
sch_plugin.cpp Fixed 2 warnings in eeschema/sch_plugin.cpp 2017-11-10 00:33:26 +01:00
sch_reference_list.h Change the way power symbols are annotated before creating a netlist or running ERC. 2017-07-21 18:41:04 +02:00
sch_screen.cpp Use legacy schematic plugin for loading schematics in all code paths. 2017-11-18 08:10:58 -05:00
sch_sheet.cpp rename plot_common.h to class_plotter.h, a better name, consistent with other class definitions. 2017-11-16 15:53:30 +01:00
sch_sheet.h Fix schematic sheet resizing bug. 2017-08-23 13:19:31 -04:00
sch_sheet_path.cpp Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
sch_sheet_path.h Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
sch_sheet_pin.cpp rename plot_common.h to class_plotter.h, a better name, consistent with other class definitions. 2017-11-16 15:53:30 +01:00
sch_text.cpp rename plot_common.h to class_plotter.h, a better name, consistent with other class definitions. 2017-11-16 15:53:30 +01:00
sch_text.h Changed COLOR4D defines to static consts 2017-02-22 17:35:00 +01:00
sch_validators.cpp Remove leading/trailing white space error message from field validator. 2017-07-13 13:45:25 -04:00
sch_validators.h Add more "override" markers. 2016-09-25 13:59:41 -04:00
schedit.cpp Eeschema: Adding line styling options 2017-11-15 08:10:51 +01:00
schematic_undo_redo.cpp Eeschema: fix crash when undo called during item edit. 2017-09-21 12:37:52 -04:00
schframe.cpp GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
schframe.h Use legacy schematic plugin for loading schematics in all code paths. 2017-11-18 08:10:58 -05:00
selpart.cpp Update Eagle plugin to use symbol library table. 2017-11-09 18:50:21 -05:00
sheet.cpp Use legacy schematic plugin for loading schematics in all code paths. 2017-11-18 08:10:58 -05:00
sheetlab.cpp EDA_TEXT object refactor. 2017-01-25 08:03:32 -05:00
symbdraw.cpp Refactored LIB_PART data storage 2017-08-16 16:05:22 +02:00
symbedit.cpp GTK+ file dialog wildcard improvements. 2017-11-11 19:32:26 -05:00
symbol_lib_table.cpp SYMBOL_LIB_TABLE: replaced wxASSERTs with wxCHECKs 2017-11-12 01:10:11 +01:00
symbol_lib_table.h Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
template_fieldnames.cpp Removed all exception specifiers since deprecated. 2017-06-12 13:54:55 -04:00
template_fieldnames.h Removed all exception specifiers since deprecated. 2017-06-12 13:54:55 -04: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 Changed AUI toolbars background from gradient to solid 2017-09-27 23:23:06 +02:00
tool_sch.cpp Changed AUI toolbars background from gradient to solid 2017-09-27 23:23:06 +02:00
tool_viewlib.cpp Convert symbol library editor over to use symbol library table. 2017-11-09 18:50:20 -05:00
transform.cpp Remove unnecessary TRANSFORM::operator= 2017-02-19 22:13:50 -05:00
transform.h Remove unnecessary TRANSFORM::operator= 2017-02-19 22:13:50 -05:00
viewlib_frame.cpp VIEW_LIB_FRAME: catch exceptions for invalid libraries 2017-11-12 14:36:20 +01:00
viewlib_frame.h Convert symbol library viewer over to symbol library table. 2017-11-09 18:50:17 -05:00
viewlibs.cpp VIEW_LIB_FRAME: catch exceptions for invalid libraries 2017-11-12 14:36:20 +01:00