Browse Source

File naming and include cleanup.

6.0.7
Jeff Young 5 years ago
parent
commit
ff7742c6b8
  1. 2
      eeschema/CMakeLists.txt
  2. 1
      eeschema/dialogs/dialog_choose_symbol.cpp
  3. 1
      eeschema/dialogs/dialog_edit_one_field.cpp
  4. 1
      eeschema/dialogs/dialog_edit_one_field.h
  5. 1
      eeschema/dialogs/dialog_lib_edit_draw_item.cpp
  6. 1
      eeschema/dialogs/dialog_lib_symbol_properties.cpp
  7. 1
      eeschema/dialogs/dialog_pin_properties.cpp
  8. 1
      eeschema/dialogs/dialog_rescue_each.cpp
  9. 1
      eeschema/dialogs/panel_eeschema_color_settings.cpp
  10. 1
      eeschema/dialogs/panel_eeschema_display_options.cpp
  11. 1
      eeschema/dialogs/panel_setup_formatting.cpp
  12. 2
      eeschema/ee_collectors.h
  13. 2
      eeschema/generate_alias_info.cpp
  14. 3
      eeschema/lib_field.cpp
  15. 3
      eeschema/lib_part.cpp
  16. 0
      eeschema/lib_part.h
  17. 4
      eeschema/lib_pin.cpp
  18. 2
      eeschema/lib_pin.h
  19. 1
      eeschema/netlist_exporters/netlist_exporter_base.h
  20. 2
      eeschema/project_rescue.h
  21. 1
      eeschema/sch_painter.cpp
  22. 5
      eeschema/sch_plugins/eagle/sch_eagle_plugin.cpp
  23. 3
      eeschema/sch_plugins/kicad/sch_sexpr_parser.cpp
  24. 1
      eeschema/sch_plugins/kicad/sch_sexpr_plugin.cpp
  25. 1
      eeschema/sch_plugins/legacy/sch_legacy_plugin.cpp
  26. 7
      eeschema/sch_reference_list.h
  27. 2
      eeschema/sch_screen.cpp
  28. 2
      eeschema/schematic_settings.cpp
  29. 1
      eeschema/symbol_editor/symbol_editor.cpp
  30. 1
      eeschema/symbol_editor/symbol_editor_import_export.cpp
  31. 2
      eeschema/symbol_editor/symbol_editor_plotter.cpp
  32. 1
      eeschema/symbol_editor/symbol_editor_undo_redo.cpp
  33. 1
      eeschema/symbol_editor/symbol_library_manager.cpp
  34. 2
      eeschema/symbol_lib_table.cpp
  35. 1
      eeschema/symbol_lib_table.h
  36. 3
      eeschema/symbol_tree_model_adapter.cpp
  37. 1
      eeschema/symbol_tree_synchronizing_adapter.cpp
  38. 1
      eeschema/symbol_viewer_frame.cpp
  39. 1
      eeschema/tools/ee_selection_tool.cpp
  40. 3
      eeschema/tools/symbol_editor_drawing_tools.cpp
  41. 4
      eeschema/widgets/symbol_preview_widget.cpp
  42. 1
      qa/eeschema/lib_field_test_utils.h
  43. 1
      qa/eeschema/test_lib_part.cpp

2
eeschema/CMakeLists.txt

@ -162,7 +162,7 @@ set( EESCHEMA_SRCS
autoplace_fields.cpp
bus_alias.cpp
bus-wire-junction.cpp
class_libentry.cpp
lib_part.cpp
class_library.cpp
cmp_library_lexer.cpp
component_references_lister.cpp

1
eeschema/dialogs/dialog_choose_symbol.cpp

@ -23,7 +23,6 @@
*/
#include <algorithm>
#include <class_libentry.h>
#include <class_library.h>
#include <dialog_choose_symbol.h>
#include <eeschema_settings.h>

1
eeschema/dialogs/dialog_edit_one_field.cpp

@ -30,7 +30,6 @@
#include <sch_edit_frame.h>
#include <ee_collectors.h>
#include <sch_component.h>
#include <class_libentry.h>
#include <lib_field.h>
#include <template_fieldnames.h>
#include <class_library.h>

1
eeschema/dialogs/dialog_edit_one_field.h

@ -30,7 +30,6 @@
#include <dialog_lib_edit_text_base.h>
#include <widgets/unit_binder.h>
#include <lib_field.h>
#include <class_libentry.h>
#include <template_fieldnames.h>
class SCH_BASE_FRAME;

1
eeschema/dialogs/dialog_lib_edit_draw_item.cpp

@ -26,7 +26,6 @@
*/
#include <lib_item.h>
#include <class_libentry.h>
#include <dialog_lib_edit_draw_item.h>
#include <symbol_edit_frame.h>

1
eeschema/dialogs/dialog_lib_symbol_properties.cpp

@ -22,7 +22,6 @@
*/
#include <bitmaps.h>
#include <class_libentry.h>
#include <confirm.h>
#include <dialogs/dialog_text_entry.h>
#include <kiway.h>

1
eeschema/dialogs/dialog_pin_properties.cpp

@ -25,7 +25,6 @@
#include <bitmaps.h>
#include <sch_painter.h>
#include <symbol_edit_frame.h>
#include <class_libentry.h>
#include <lib_pin.h>
#include <dialog_pin_properties.h>
#include <confirm.h>

1
eeschema/dialogs/dialog_rescue_each.cpp

@ -22,7 +22,6 @@
*/
#include <class_draw_panel_gal.h>
#include <class_libentry.h>
#include <class_library.h>
#include <dialog_rescue_each_base.h>
#include <eeschema_settings.h>

1
eeschema/dialogs/panel_eeschema_color_settings.cpp

@ -24,7 +24,6 @@
#include <eeschema_settings.h>
#include <gal/gal_display_options.h>
#include <layers_id_colors_and_visibility.h>
#include <class_libentry.h>
#include <lib_polyline.h>
#include <page_info.h>
#include <panel_eeschema_color_settings.h>

1
eeschema/dialogs/panel_eeschema_display_options.cpp

@ -24,7 +24,6 @@
#include <sch_edit_frame.h>
#include <sch_painter.h>
#include <class_libentry.h>
#include <panel_eeschema_display_options.h>
#include <widgets/gal_options_panel.h>
#include <sch_junction.h>

1
eeschema/dialogs/panel_setup_formatting.cpp

@ -23,7 +23,6 @@
#include <sch_edit_frame.h>
#include <sch_painter.h>
#include <class_libentry.h>
#include <eeschema_settings.h>
#include <kiface_i.h>
#include <panel_setup_formatting.h>

2
eeschema/ee_collectors.h

@ -26,7 +26,7 @@
#ifndef EE_COLLECTORS_H
#define EE_COLLECTORS_H
#include <class_libentry.h>
#include <lib_part.h>
#include <collector.h>
#include <dialogs/dialog_schematic_find.h>
#include <sch_item.h>

2
eeschema/generate_alias_info.cpp

@ -21,7 +21,7 @@
#include <generate_alias_info.h>
#include <kicad_string.h>
#include <template_fieldnames.h>
#include <class_libentry.h>
#include <lib_part.h>
#include <symbol_lib_table.h>

3
eeschema/lib_field.cpp

@ -23,7 +23,6 @@
*/
#include <pgm_base.h>
#include <common.h>
#include <eda_item.h>
#include <gr_text.h>
#include <kicad_string.h>
@ -35,7 +34,7 @@
#include <widgets/msgpanel.h>
#include <bitmaps.h>
#include <general.h>
#include <class_libentry.h>
#include <lib_part.h>
#include <transform.h>
#include <lib_field.h>
#include <template_fieldnames.h>

3
eeschema/class_libentry.cpp → eeschema/lib_part.cpp

@ -23,17 +23,14 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <kicad_string.h>
#include <sch_draw_panel.h>
#include <plotter.h>
#include <sch_screen.h>
#include <richio.h>
#include <trace_helpers.h>
#include <general.h>
#include <template_fieldnames.h>
#include <transform.h>
#include <class_library.h>
#include <class_libentry.h>
#include <lib_pin.h>
#include <lib_arc.h>
#include <settings/color_settings.h>

0
eeschema/class_libentry.h → eeschema/lib_part.h

4
eeschema/lib_pin.cpp

@ -26,11 +26,7 @@
#include <pgm_base.h>
#include <sch_draw_panel.h>
#include <sch_edit_frame.h>
#include <base_units.h>
#include <widgets/msgpanel.h>
#include <general.h>
#include <symbol_edit_frame.h>
#include <class_libentry.h>
#include <lib_pin.h>
#include <settings/settings_manager.h>
#include <symbol_editor/symbol_editor_settings.h>

2
eeschema/lib_pin.h

@ -32,7 +32,7 @@ class SCH_COMPONENT;
#include <eda_rect.h>
#include <lib_item.h>
#include <pin_type.h>
#include <class_libentry.h>
#include <lib_part.h>
// Circle diameter drawn at the active end of pins:
#define TARGET_PIN_RADIUS Mils2iu( 15 )

1
eeschema/netlist_exporters/netlist_exporter_base.h

@ -26,7 +26,6 @@
#ifndef NETLIST_EXPORTER_H
#define NETLIST_EXPORTER_H
#include <class_libentry.h>
#include <lib_pin.h>
#include <sch_component.h>
#include <sch_text.h>

2
eeschema/project_rescue.h

@ -42,7 +42,7 @@
#include <boost/ptr_container/ptr_vector.hpp>
#include <properties.h>
#include <class_libentry.h>
#include <lib_part.h>
#include <sch_plugins/legacy/sch_legacy_plugin.h>
#include <class_draw_panel_gal.h>

1
eeschema/sch_painter.cpp

@ -28,7 +28,6 @@
#include <sch_item.h>
#include <bezier_curves.h>
#include <class_libentry.h>
#include <class_library.h>
#include <connection_graph.h>
#include <gal/graphics_abstraction_layer.h>

5
eeschema/sch_plugins/eagle/sch_eagle_plugin.cpp

@ -24,7 +24,6 @@
#include <sch_plugins/eagle/sch_eagle_plugin.h>
#include <kiway.h>
#include <locale_io.h>
#include <properties.h>
@ -33,10 +32,8 @@
#include <wx/filename.h>
#include <wx/tokenzr.h>
#include <class_libentry.h>
#include <class_library.h>
#include <plugins/eagle/eagle_parser.h>
#include <gr_text.h>
#include <lib_arc.h>
#include <lib_circle.h>
#include <lib_id.h>
@ -45,7 +42,6 @@
#include <lib_polyline.h>
#include <lib_rectangle.h>
#include <lib_text.h>
#include <macros.h>
#include <project.h>
#include <sch_bus_entry.h>
#include <sch_component.h>
@ -60,7 +56,6 @@
#include <sch_text.h>
#include <schematic.h>
#include <symbol_lib_table.h>
#include <template_fieldnames.h>
#include <wildcards_and_files_ext.h>
#include <page_layout/ws_draw_item.h>

3
eeschema/sch_plugins/kicad/sch_sexpr_parser.cpp

@ -31,10 +31,7 @@
#include <wx/mstream.h>
#include <wx/tokenzr.h>
#include <common.h>
#include <lib_id.h>
#include <class_libentry.h>
#include <lib_arc.h>
#include <lib_bezier.h>
#include <lib_circle.h>

1
eeschema/sch_plugins/kicad/sch_sexpr_plugin.cpp

@ -42,7 +42,6 @@
#include <schematic.h>
#include <sch_plugins/kicad/sch_sexpr_plugin.h>
#include <sch_screen.h>
#include <class_libentry.h>
#include <class_library.h>
#include <lib_arc.h>
#include <lib_bezier.h>

1
eeschema/sch_plugins/legacy/sch_legacy_plugin.cpp

@ -55,7 +55,6 @@
#include <template_fieldnames.h>
#include <sch_screen.h>
#include <schematic.h>
#include <class_libentry.h>
#include <class_library.h>
#include <lib_arc.h>
#include <lib_bezier.h>

7
eeschema/sch_reference_list.h

@ -26,17 +26,14 @@
#ifndef _SCH_REFERENCE_LIST_H_
#define _SCH_REFERENCE_LIST_H_
#include <map>
#include <macros.h>
#include <class_libentry.h>
#include <lib_part.h>
#include <sch_sheet_path.h>
#include <sch_component.h>
#include <sch_text.h>
#include <erc_settings.h>
#include <map>
/**
* A helper to define a symbol's reference designator in a schematic.
*

2
eeschema/sch_screen.cpp

@ -30,7 +30,6 @@
*/
#include <eda_rect.h>
//#include <gr_text.h>
#include <id.h>
#include <kicad_string.h>
#include <kiway.h>
@ -43,7 +42,6 @@
#include <sch_item.h>
#include <class_library.h>
#include <class_libentry.h>
#include <connection_graph.h>
#include <lib_pin.h>
#include <sch_component.h>

2
eeschema/schematic_settings.cpp

@ -19,7 +19,7 @@
*/
#include <base_screen.h>
#include <class_libentry.h>
#include <lib_part.h>
#include <convert_to_biu.h>
#include <default_values.h>
#include <eda_text.h>

1
eeschema/symbol_editor/symbol_editor.cpp

@ -30,7 +30,6 @@
#include <tools/ee_actions.h>
#include <tools/symbol_editor_drawing_tools.h>
#include <symbol_edit_frame.h>
#include <class_libentry.h>
#include <class_library.h>
#include <template_fieldnames.h>
#include <wildcards_and_files_ext.h>

1
eeschema/symbol_editor/symbol_editor_import_export.cpp

@ -26,7 +26,6 @@
#include <confirm.h>
#include <symbol_lib_table.h>
#include <symbol_edit_frame.h>
#include <class_libentry.h>
#include <class_library.h>
#include <wildcards_and_files_ext.h>
#include <symbol_library_manager.h>

2
eeschema/symbol_editor/symbol_editor_plotter.cpp

@ -25,8 +25,6 @@
#include <sch_painter.h>
#include <symbol_edit_frame.h>
#include <locale_io.h>
#include <class_libentry.h>
#include <class_library.h>
#include <plotters_specific.h>
void SYMBOL_EDIT_FRAME::SVGPlotSymbol( const wxString& aFullFileName )

1
eeschema/symbol_editor/symbol_editor_undo_redo.cpp

@ -23,7 +23,6 @@
*/
#include <symbol_edit_frame.h>
#include <class_libentry.h>
#include <symbol_library_manager.h>
#include <widgets/lib_tree.h>
#include <symbol_tree_pane.h>

1
eeschema/symbol_editor/symbol_library_manager.cpp

@ -24,7 +24,6 @@
*/
#include <symbol_library_manager.h>
#include <class_libentry.h>
#include <class_library.h>
#include <symbol_edit_frame.h>
#include <env_paths.h>

2
eeschema/symbol_lib_table.cpp

@ -30,7 +30,7 @@
#include <settings/settings_manager.h>
#include <systemdirsappend.h>
#include <symbol_lib_table.h>
#include <class_libentry.h>
#include <lib_part.h>
#define OPT_SEP '|' ///< options separator character

1
eeschema/symbol_lib_table.h

@ -28,7 +28,6 @@
#include <lib_table_base.h>
#include <sch_io_mgr.h>
#include <lib_id.h>
#include <class_libentry.h>
//class LIB_PART;
class SYMBOL_LIB_TABLE_GRID;

3
eeschema/symbol_tree_model_adapter.cpp

@ -25,9 +25,8 @@
#include <eda_pattern_match.h>
#include <symbol_lib_table.h>
#include <class_libentry.h>
#include <lib_part.h>
#include <generate_alias_info.h>
#include <symbol_tree_model_adapter.h>

1
eeschema/symbol_tree_synchronizing_adapter.cpp

@ -26,7 +26,6 @@
#include <symbol_tree_synchronizing_adapter.h>
#include <symbol_library_manager.h>
#include <symbol_lib_table.h>
#include <class_libentry.h>
#include <tools/symbol_editor_control.h>

1
eeschema/symbol_viewer_frame.cpp

@ -24,7 +24,6 @@
*/
#include <bitmaps.h>
#include <class_libentry.h>
#include <class_library.h>
#include <confirm.h>
#include <dialog_helpers.h>

1
eeschema/tools/ee_selection_tool.cpp

@ -23,7 +23,6 @@
*/
#include <class_libentry.h>
#include <core/typeinfo.h>
#include <ee_actions.h>
#include <ee_collectors.h>

3
eeschema/tools/symbol_editor_drawing_tools.cpp

@ -24,11 +24,8 @@
#include <ee_actions.h>
#include <symbol_edit_frame.h>
#include <view/view_controls.h>
#include <tool/tool_manager.h>
#include <tools/symbol_editor_drawing_tools.h>
#include <tools/symbol_editor_pin_tool.h>
#include <class_libentry.h>
#include <bitmaps.h>
#include <lib_text.h>
#include <dialogs/dialog_lib_edit_text.h>

4
eeschema/widgets/symbol_preview_widget.cpp

@ -18,12 +18,8 @@
*/
#include "symbol_preview_widget.h"
#include <wx/stattext.h>
#include <wx/sizer.h>
#include <kiway.h>
#include <sch_view.h>
#include <gal/gal_display_options.h>
#include <class_libentry.h>
#include <symbol_lib_table.h>
#include <sch_preview_panel.h>
#include <pgm_base.h>

1
qa/eeschema/lib_field_test_utils.h

@ -31,7 +31,6 @@
#include <unit_test_utils/unit_test_utils.h>
#include <class_libentry.h>
#include <template_fieldnames.h>

1
qa/eeschema/test_lib_part.cpp

@ -29,7 +29,6 @@
#include <unit_test_utils/unit_test_utils.h>
// Code under test
#include <class_libentry.h>
#include <lib_rectangle.h>
#include <lib_arc.h>
#include <lib_pin.h>

Loading…
Cancel
Save