kicad/eeschema
Dick Hollenbeck 2c67c3ff80 * KIWAY Milestone A): Make major modules into DLL/DSOs.
!   The initial testing of this commit should be done using a Debug build so that
    all the wxASSERT()s are enabled.  Also, be sure and keep enabled the
    USE_KIWAY_DLLs option.  The tree won't likely build without it.  Turning it
    off is senseless anyways.  If you want stable code, go back to a prior version,
    the one tagged with "stable".

*   Relocate all functionality out of the wxApp derivative into more finely
    targeted purposes:
    a) DLL/DSO specific
    b) PROJECT specific
    c) EXE or process specific
    d) configuration file specific data
    e) configuration file manipulations functions.

    All of this functionality was blended into an extremely large wxApp derivative
    and that was incompatible with the desire to support multiple concurrently
    loaded DLL/DSO's ("KIFACE")s and multiple concurrently open projects.
    An amazing amount of organization come from simply sorting each bit of
    functionality into the proper box.

*   Switch to wxConfigBase from wxConfig everywhere except instantiation.
*   Add classes KIWAY, KIFACE, KIFACE_I, SEARCH_STACK, PGM_BASE, PGM_KICAD,
    PGM_SINGLE_TOP,
*   Remove "Return" prefix on many function names.
*   Remove obvious comments from CMakeLists.txt files, and from else() and endif()s.
*   Fix building boost for use in a DSO on linux.
*   Remove some of the assumptions in the CMakeLists.txt files that windows had
    to be the host platform when building windows binaries.
*   Reduce the number of wxStrings being constructed at program load time via
    static construction.
*   Pass wxConfigBase* to all SaveSettings() and LoadSettings() functions so that
    these functions are useful even when the wxConfigBase comes from another
    source, as is the case in the KICAD_MANAGER_FRAME.
*   Move the setting of the KIPRJMOD environment variable into class PROJECT,
    so that it can be moved into a project variable soon, and out of FP_LIB_TABLE.
*   Add the KIWAY_PLAYER which is associated with a particular PROJECT, and all
    its child wxFrames and wxDialogs now have a Kiway() member function which
    returns a KIWAY& that that window tree branch is in support of.  This is like
    wxWindows DNA in that child windows get this member with proper value at time
    of construction.
*   Anticipate some of the needs for milestones B) and C) and make code
    adjustments now in an effort to reduce work in those milestones.
*   No testing has been done for python scripting, since milestone C) has that
    being largely reworked and re-thought-out.
2014-03-19 19:42:08 -05:00
..
dialogs * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
plugins The internal BOM generator has bugs. I designed an XSL script, which converts the generated XML Partlist into 2013-04-17 09:57:47 -05:00
CMakeLists.txt * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
Info.plist [MacOSX] Adding better support for Retina Display (NSHighResolutionCapable) 2013-12-31 12:03:02 +01:00
annotate.cpp Remove some uses of using namespace std. 2013-12-13 10:27:30 -06:00
backanno.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
block.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
block_libedit.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
bus-wire-junction.cpp Code cleanup: Pcbnew: move files relative to exort functions to the new folder exporters 2014-01-08 15:18:51 +01:00
busentry.cpp Code cleanup: Pcbnew: move files relative to exort functions to the new folder exporters 2014-01-08 15:18:51 +01:00
class_drc_erc_item.cpp 1) Add "rules" to base of tree for copying into BZR_HOME/rules. 2013-05-25 23:36:44 -05:00
class_libentry.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
class_libentry.h * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
class_library.cpp Make option KICAD_KEEPCASE actually functional for Eeschema, and make the setting default ON. 2014-01-29 12:02:02 -06:00
class_library.h Make option KICAD_KEEPCASE actually functional for Eeschema, and make the setting default ON. 2014-01-29 12:02:02 -06:00
class_netlist_object.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
class_netlist_object.h * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -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
component_references_lister.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
controle.cpp Code cleanup: Pcbnew: move files relative to exort functions to the new folder exporters 2014-01-08 15:18:51 +01:00
cross-probing.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
database.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
dialog_erc_listbox.h 1) Add "rules" to base of tree for copying into BZR_HOME/rules. 2013-05-25 23:36:44 -05:00
edit_bitmap.cpp BUG FIX: eeschema as segfaulting on the 'Insert' key because the m_itemToRepeat 2013-08-05 16:02:41 -05:00
edit_component_in_schematic.cpp More encapsulation work. 2013-03-18 15:36:07 -04:00
edit_label.cpp Code cleanup: Pcbnew: move files relative to exort functions to the new folder exporters 2014-01-08 15:18:51 +01:00
eelibs_read_libraryfiles.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
eeredraw.cpp Worksheet code: cleanup and remove useless parameters. 2013-05-22 10:45:25 +02:00
eeschema.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05: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 * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
eeschema_config.h * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
eeschema_doc.icns Updates for OS X 2010-05-16 20:18:38 +02:00
eeschema_id.h Eeschema: Bug fix (move component field was not undoable) 2012-10-23 18:37:19 +02:00
erc.cpp Fix compile errors when wx3.x is built with --enable-stl 2014-01-18 03:07:05 -06:00
erc.h Fix compile errors when wx3.x is built with --enable-stl 2014-01-18 03:07:05 -06:00
events_called_functions_for_edit.cpp Code cleanup: Pcbnew: move files relative to exort functions to the new folder exporters 2014-01-08 15:18:51 +01:00
files-io.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
find.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
general.h Eeschema: Rework on netlist generator: code clenenig and enhancement. 2013-09-25 21:09:57 +02:00
getpart.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
help_common_strings.h 1) Add "rules" to base of tree for copying into BZR_HOME/rules. 2013-05-25 23:36:44 -05:00
hierarch.cpp Eeschema: Fix bug #1271155 relative to Grid selection in Eeschema. 2014-02-02 20:51:50 +01:00
hotkeys.cpp Code cleanup: Pcbnew: move files relative to exort functions to the new folder exporters 2014-01-08 15:18:51 +01:00
hotkeys.h Eeschema: Add hotkey 'U' to edit reference. Better filtering for hotheys V, F, U: now the corresponding field is selected without selection list between component and the field. 2012-12-08 18:24:49 +01:00
invoke_sch_dialog.h * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
lib_arc.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
lib_arc.h All: GetBoundingBox returns now a const EDA_RECT. 2013-11-24 18:48:14 +01:00
lib_bezier.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
lib_bezier.h All: GetBoundingBox returns now a const EDA_RECT. 2013-11-24 18:48:14 +01:00
lib_circle.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
lib_circle.h All: GetBoundingBox returns now a const EDA_RECT. 2013-11-24 18:48:14 +01:00
lib_collectors.cpp 1) Add "rules" to base of tree for copying into BZR_HOME/rules. 2013-05-25 23:36:44 -05:00
lib_collectors.h 1) Add "rules" to base of tree for copying into BZR_HOME/rules. 2013-05-25 23:36:44 -05:00
lib_draw_item.cpp Code cleanup: Pcbnew: move files relative to exort functions to the new folder exporters 2014-01-08 15:18:51 +01:00
lib_draw_item.h All: GetBoundingBox returns now a const EDA_RECT. 2013-11-24 18:48:14 +01:00
lib_export.cpp Better strings for the translators (converted concatenations to formats) 2013-04-09 19:49:01 +02:00
lib_field.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
lib_field.h All: GetBoundingBox returns now a const EDA_RECT. 2013-11-24 18:48:14 +01:00
lib_pin.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
lib_pin.h * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
lib_polyline.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
lib_polyline.h All: GetBoundingBox returns now a const EDA_RECT. 2013-11-24 18:48:14 +01:00
lib_rectangle.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
lib_rectangle.h All: GetBoundingBox returns now a const EDA_RECT. 2013-11-24 18:48:14 +01:00
lib_text.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
lib_text.h All: GetBoundingBox returns now a const EDA_RECT. 2013-11-24 18:48:14 +01:00
libarch.cpp Code cleanup: Pcbnew: move files relative to exort functions to the new folder exporters 2014-01-08 15:18:51 +01:00
libedit.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
libedit_onleftclick.cpp Eeschema, Libedit: fixes color artifacts when moving/placing a pin. 2013-02-06 12:54:51 +01:00
libedit_onrightclick.cpp Base object decoupling improvements. 2013-01-12 12:32:24 -05:00
libedit_plot_component.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
libedit_undo_redo.cpp Undo redo change and code cleanup. 2012-02-05 14:02:46 +01:00
libeditframe.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
libeditframe.h * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
libfield.cpp More encapsulation work. 2013-03-18 15:36:07 -04:00
load_one_schematic_file.cpp Eeschema: fix compatibility with old schematic files, which can contain markers. 2013-09-11 17:30:21 +02:00
menubar.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
menubar_libedit.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
netform.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
netlist.cpp Code cleanup: Pcbnew: move files relative to exort functions to the new folder exporters 2014-01-08 15:18:51 +01:00
netlist.h Eeschema: Rework on netlist generator: code clenenig and enhancement. 2013-09-25 21:09:57 +02:00
onleftclick.cpp Eeschema: Rework on netlist generator: code clenenig and enhancement. 2013-09-25 21:09:57 +02:00
onrightclick.cpp *) retain grid origin in the BOARD and save it in legacy and kicad board files. 2013-08-03 00:15:23 -05:00
operations_on_items_lists.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
pinedit.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
plot_schematic_DXF.cpp Remove duplicate code to draw and to plot title blocks. 2013-05-21 09:18:25 +02:00
plot_schematic_HPGL.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
plot_schematic_PDF.cpp Remove duplicate code to draw and to plot title blocks. 2013-05-21 09:18:25 +02:00
plot_schematic_PS.cpp Eeschema: fix Bug #1189893 (ps plot file opened twice) 2013-06-11 16:27:07 +02:00
plot_schematic_SVG.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
protos.h Code cleanup: Pcbnew: move files relative to exort functions to the new folder exporters 2014-01-08 15:18:51 +01:00
sch_base_frame.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
sch_bitmap.cpp All: GetBoundingBox returns now a const EDA_RECT. 2013-11-24 18:48:14 +01:00
sch_bitmap.h All: GetBoundingBox returns now a const EDA_RECT. 2013-11-24 18:48:14 +01:00
sch_bus_entry.cpp Remove some uses of using namespace std. 2013-12-13 10:27:30 -06:00
sch_bus_entry.h Remove some uses of using namespace std. 2013-12-13 10:27:30 -06:00
sch_collectors.cpp Eeschema find/replace bug fixes and improvements (fixes 1208616). 2013-10-27 14:21:53 -04:00
sch_collectors.h Eeschema find/replace bug fixes and improvements (fixes 1208616). 2013-10-27 14:21:53 -04:00
sch_component.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
sch_component.h Remove some uses of using namespace std. 2013-12-13 10:27:30 -06:00
sch_field.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
sch_field.h All: GetBoundingBox returns now a const EDA_RECT. 2013-11-24 18:48:14 +01:00
sch_junction.cpp Remove some uses of using namespace std. 2013-12-13 10:27:30 -06:00
sch_junction.h Remove some uses of using namespace std. 2013-12-13 10:27:30 -06:00
sch_line.cpp Remove some uses of using namespace std. 2013-12-13 10:27:30 -06:00
sch_line.h Remove some uses of using namespace std. 2013-12-13 10:27:30 -06:00
sch_marker.cpp All: GetBoundingBox returns now a const EDA_RECT. 2013-11-24 18:48:14 +01:00
sch_marker.h All: GetBoundingBox returns now a const EDA_RECT. 2013-11-24 18:48:14 +01:00
sch_no_connect.cpp Remove some uses of using namespace std. 2013-12-13 10:27:30 -06:00
sch_no_connect.h Remove some uses of using namespace std. 2013-12-13 10:27:30 -06:00
sch_screen.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
sch_sheet.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
sch_sheet.h Remove some uses of using namespace std. 2013-12-13 10:27:30 -06:00
sch_sheet_path.cpp Eeschema find/replace bug fixes and improvements (fixes 1208616). 2013-10-27 14:21:53 -04:00
sch_sheet_path.h Eeschema find/replace bug fixes and improvements (fixes 1208616). 2013-10-27 14:21:53 -04:00
sch_sheet_pin.cpp Eeschema: code cleanup, remove dead code and some global and useless variables 2012-09-28 19:47:41 +02:00
sch_text.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
sch_text.h Remove some uses of using namespace std. 2013-12-13 10:27:30 -06:00
schedit.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
schematic_undo_redo.cpp eeschema: fix compil issue. Boost build: boost lib context built only on OSX (does not build on mingw, and not needed) 2013-12-29 23:05:06 +01:00
schframe.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
selpart.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
sheet.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
sheetlab.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
symbdraw.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
symbedit.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
template_fieldnames.cpp Some more missing D()->DBG() changes. 2013-09-10 17:07:46 +02:00
template_fieldnames.h switch to <> for includes from "" per conversation with Jean-Pierre and Wayne, adjust search paths 2012-01-22 22:33:36 -06: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 Code cleanup: Pcbnew: move files relative to exort functions to the new folder exporters 2014-01-08 15:18:51 +01:00
tool_sch.cpp Eeschema: All fixed fields are now always saved in libraries. Therefore the footprint field can be set in lib (size, visibility) and imported in schematic with its predefined attributes, even if the footprint text is not set. 2013-02-11 19:50:55 +01:00
tool_viewlib.cpp Code cleanup and minor fix in viewlib. 2014-01-19 17:36:12 +01:00
transform.cpp 1) Add "rules" to base of tree for copying into BZR_HOME/rules. 2013-05-25 23:36:44 -05:00
transform.h 1) Add "rules" to base of tree for copying into BZR_HOME/rules. 2013-05-25 23:36:44 -05:00
viewlib_frame.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
viewlib_frame.h * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00
viewlibs.cpp * KIWAY Milestone A): Make major modules into DLL/DSOs. 2014-03-19 19:42:08 -05:00