1. 20 Mar, 2014 1 commit
    • Dick Hollenbeck's avatar
      * KIWAY Milestone A): Make major modules into DLL/DSOs. · 2c67c3ff
      Dick Hollenbeck authored
      !   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.
      2c67c3ff
  2. 20 Sep, 2013 1 commit
  3. 06 Sep, 2013 1 commit
  4. 07 Jan, 2013 1 commit
  5. 10 Dec, 2012 1 commit
  6. 04 Oct, 2012 1 commit
  7. 03 Oct, 2012 1 commit
  8. 29 Aug, 2012 1 commit
  9. 03 Aug, 2012 1 commit
  10. 13 Jul, 2012 1 commit
  11. 16 Apr, 2012 1 commit
    • Wayne Stambaugh's avatar
      More internal unit improvements. · 6468805c
      Wayne Stambaugh authored
      * Move all convert from user to internal units into base_units.cpp.
      * Remove internal units parameters from all moved conversion functions.
      * Revise all source code that calls the moved conversion functions.
      * Remove internal units from all dialog text control helper classes.
      6468805c
  12. 23 Jan, 2012 1 commit
  13. 22 Dec, 2011 1 commit
  14. 16 Dec, 2011 1 commit
    • Wayne Stambaugh's avatar
      More encapsulation work and other minor improvements. · fac288cf
      Wayne Stambaugh authored
      * EDA_DRAW_FRAME completely encapsulated except for DrawFrame member.
      * Moved members specific to Pcbnew from EDA_DRAW_FRAME to PCB_BASE_FRAME
        or PCB_EDIT_FRAME as appropriate.
      * Replace EDA_TOOLBAR with wxAuiToolBar as EDA_TOOL bar provided no
        additional functionality and made code less readable.
      * Remove EDA_TOOLBAR class definition from wxstruct.h and delete file
        wineda_toolbar.cpp.
      * Rename tool bar members to something more descriptive since the
        horizontal and vertical references wont mean anything once the
        tool bars are movable.
      * Lots of dead code removal.
      fac288cf
  15. 05 Dec, 2011 1 commit
    • Dick Hollenbeck's avatar
      ++PCBNew · b26580d5
      Dick Hollenbeck authored
        * Removed Pcb_Frame argument from BOARD() constructor, since it precludes
          having a BOARD being edited by more than one editor, it was a bad design.
          And this meant removing m_PcbFrame from BOARD.
        * removed BOARD::SetWindowFrame(), and BOARD::m_PcbFrame
        * Removed the global BOARD_DESIGN_SETTINGS which was in class_board.cpp
        * added BOARD_DESIGN_SETTINGS to the BOARD class, a full instance
        * a couple dialogs now only change BOARD_DESIGN_SETTINGS when OK is pressed,
          such as dialog_mask_clearance, dialog_drc, etc.
        * Removed common/pcbcommon.cpp's int g_CurrentVersionPCB = 1 and replaced it
          with build_version.h's #define BOARD_FILE_VERSION, although there may be a
          better place for this constant.
        * Made the public functions in PARAM_CFG_ARRAY be type const.
          void SaveParam(..) const and void ReadParam(..) const
        * PARAM_CFG_BASE now has virtual destructor since we have various way of
          destroying the derived class and boost::ptr_vector must be told about this.
        * Pass const PARAM_CFG_ARRAY& instead of PARAM_CFG_ARRAY so that we can use
          an automatic PARAM_CFG_ARRAY which is on the stack.\
        * PCB_EDIT_FRAME::GetProjectFileParameters() may no longer cache the array,
          since it has to access the current BOARD and the BOARD can change.
          Remember BOARD_DESIGN_SETTINGS are now in the BOARD.
        * Made the m_BoundingBox member private, this was a brutally hard task,
          and indicative of the lack of commitment to accessors and object oriented
          design on the part of KiCad developers.  We must do better.
          Added BOARD::GetBoundingBox, SetBoundingBox(), ComputeBoundingBox().
        * Added PCB_BASE_FRAME::GetBoardBoundingBox() which calls BOARD::ComputeBoundingBox()
      b26580d5
  16. 24 Nov, 2011 1 commit
  17. 11 Nov, 2011 1 commit
  18. 09 Nov, 2011 1 commit
    • Vladimir Ur's avatar
      Work on internal (nano)metric length units started. · a273b7bd
      Vladimir Ur authored
      Added configuartion option KICAD_NANOMETRIC for this.
      * With option set to false: *
      - it should work and compile as usual
      - some values are saved with decimal point (which should be backward/forward compatible as old versions should just drop fractional part)
      * With option set to true: *
      - lengths in Global Design Rules should be settable 1nm steps.
      FROM/TO_LEGACY_LU(_DBL) macros introduced for easy interconnection between old and new units.
      a273b7bd
  19. 31 Oct, 2011 1 commit
  20. 06 Sep, 2011 1 commit
  21. 01 Mar, 2011 1 commit
    • Wayne Stambaugh's avatar
      PCBNew control update bug fixes, fixes lp:725963. · 1010601a
      Wayne Stambaugh authored
      * Fix grid select box update bug on context menu.
      * Fix via size and track width select box update bugs.
      * Fix layer pair indicator button update bug.
      * Fix auto track width tool bar control enable bug.
      * Fix via size and track width select status bug in context menu.
      * Fix layer select box and layer control widget select bug when current
        layer is removed.
      * Add virtual function to notify objects derived from EDA_DRAW_FRAME that
        the units setting has changed.
      * Coding policy class naming fixes.
      1010601a
  22. 28 Feb, 2011 1 commit
  23. 20 Jan, 2011 1 commit
    • Wayne Stambaugh's avatar
      Schematic object encapsulation and other minor improvements. · e560573c
      Wayne Stambaugh authored
      * Encapsulate file name member of base screen object.
      * Encapsulate associated screen member of schematic sheet object.
      * Create add screen method to schematic sheet object to simplify setting
        the associated screen.
      * Move the change file name code in the schematic sheet object to the edit
        sheet method in the schematic editor frame object to eliminate message
        dialogs.
      * Improve reference counting in schematic screen object.
      * Add helper type definitions for changing schematic object storage to C++
        containers.
      e560573c
  24. 26 Nov, 2010 1 commit
  25. 20 Sep, 2010 1 commit
  26. 08 Apr, 2010 1 commit
  27. 31 Jan, 2010 1 commit
  28. 04 Dec, 2009 1 commit
  29. 05 Nov, 2009 2 commits
  30. 28 Oct, 2009 1 commit
  31. 21 Oct, 2009 2 commits
  32. 06 Oct, 2009 1 commit
  33. 05 Oct, 2009 1 commit
  34. 10 Sep, 2009 1 commit
  35. 30 Jul, 2009 1 commit
  36. 06 Jul, 2009 1 commit
  37. 27 Jun, 2009 1 commit
  38. 18 Jun, 2009 1 commit