1. 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
  2. 14 Dec, 2011 3 commits
  3. 12 Dec, 2011 2 commits
  4. 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
  5. 29 Nov, 2011 1 commit
  6. 28 Nov, 2011 1 commit
  7. 24 Nov, 2011 2 commits
  8. 10 Nov, 2011 1 commit
    • Wayne Stambaugh's avatar
      Memory allocation improvements and other minor fixes. · cc7e7fc5
      Wayne Stambaugh authored
      * Replace C malloc() and free() functions with C++ new and delete
        operators or the appropriate STL container.
      * Add option to end mouse capture function to skip executing the end
        mouse capture callback.
      * Lots of coding policy and Doxygen comment goodness.
      cc7e7fc5
  9. 08 Nov, 2011 1 commit
    • Wayne Stambaugh's avatar
      Minor fixes, dead code removal, and coding policy fixes. · cd0b2316
      Wayne Stambaugh authored
      * Use version of DateAndTime that returns a wxString and delete the
        version that takes a char* as it is no longer required.
      * Merge StrNumICmp() and StrLenNumICmp() into StrLenNumCmp() to create a
        single function for comparing strings with integers and remove a lot
        of duplicate code.
      * Remove unused strupper from string.cpp.
      * Use wxArrayString for sorting the EDA_LIST_DIALOG contents.
      cd0b2316
  10. 18 Oct, 2011 1 commit
    • Wayne Stambaugh's avatar
      Minor menu bar fixes. · 1bd7fc8a
      Wayne Stambaugh authored
      * Fixed bug on Windows that prevented the menu short cuts from working
        properly.
      * Fix duplicate menu short cut keys in KiCad, Pcbnew, and Eeschema.
      * Add menu short cuts for all possible menu entries.
      1bd7fc8a
  11. 17 Oct, 2011 2 commits
  12. 16 Oct, 2011 1 commit
  13. 01 Oct, 2011 1 commit
  14. 30 Sep, 2011 1 commit
    • Wayne Stambaugh's avatar
      Application name capitalization fixes. · 4b853ded
      Wayne Stambaugh authored
      * Correct all user strings and comments for the correct capitalization of
        application names according to JP.  They are KiCad, Pcbnew, CvPcb,
        Eeschema, and GerbView.
      * Add a note the the user interface policy about the correct capitalization.
      4b853ded
  15. 29 Sep, 2011 1 commit
    • Wayne Stambaugh's avatar
      Minor PCBNew code fixes. · c09bc26d
      Wayne Stambaugh authored
      * Translate French code names and comments.
      * Dead code removal.
      * Hot key object and structure coding style policy fixes.
      * Doxygen comment warning fixes.
      c09bc26d
  16. 26 Sep, 2011 1 commit
    • Wayne Stambaugh's avatar
      PCB common library global variable removal and other minor fixes. · b9b341dc
      Wayne Stambaugh authored
      * Move auto save time global variables into PCB_EDIT_FRAME object.
      * Move footprint library name list global variable int PCB_EDIT_FRAME
        object.
      * Improve library back up and temporary file error message strings and make
        them translatable.
      * PCBNew string unification.
      * Translate French code names and comments.
      * Coding style policy and Doxygen comment fixes.
      b9b341dc
  17. 24 Sep, 2011 1 commit
  18. 23 Sep, 2011 2 commits
  19. 15 Sep, 2011 1 commit
  20. 14 Sep, 2011 1 commit
  21. 13 Sep, 2011 1 commit
    • Wayne Stambaugh's avatar
      PCBNew locate code refactoring. · efc93aa5
      Wayne Stambaugh authored
      * Move various locate functions into the appropriate board item object.
      * Unified best zoom for all frames derived from PCB_BASE_FRAME.
      * Remove track.cpp as it is no longer needed.
      * Dead code removal.
      * Remove scary frame window pointer member from board item objects.
      * Add draw bounding box to gerber draw item for debugging purposes.
      efc93aa5
  22. 09 Sep, 2011 1 commit
  23. 08 Sep, 2011 1 commit
  24. 07 Sep, 2011 1 commit
    • Wayne Stambaugh's avatar
      Lots and lots of PCBNew code cleaning and fix build bug introduced in r3108. · 0c443357
      Wayne Stambaugh authored
      * Changed <wx-2.8/xml/xml.h> to "xnode.h" in pcbnew_config.cpp to fix bug
        when building against wxWidgets 2.9 and above.
      * Convert broken wxXmlNode code to use XNODE.
      * Overloaded XNODE constructor for creating child nodes.
      * Translate French naming conventions.
      * Translate French comments.
      * Remove tabs from several source files.
      * Coding style policy and Doxygen comment fixes.
      0c443357
  25. 06 Sep, 2011 2 commits
  26. 04 Sep, 2011 1 commit
  27. 01 Sep, 2011 1 commit
    • Wayne Stambaugh's avatar
      Add menu item function fixes and other minor improvements. · 4a7dc4ad
      Wayne Stambaugh authored
      * Rename all ADD_MENUITEM_* functions to AddMenuItem and move them to
        wxstruct.h since they are used by the Kicad main frame classes.
      * Move SET_BITMAP and SETBITMAPS definitions to wxstruct.h.
      * Fix a bug in SET_BITMAPS that prevented enabling menu item images on
        OSX.
      * Rename MsgItem to EDA_MSG_ITEM.
      * Remove redundant includes from modified files.
      * Doxygen and coding style policy fixes.
      4a7dc4ad
  28. 30 Aug, 2011 2 commits
  29. 29 Aug, 2011 1 commit
  30. 28 Aug, 2011 1 commit
  31. 20 Aug, 2011 1 commit
  32. 05 Jul, 2011 1 commit