1. 13 Mar, 2013 1 commit
    • Wayne Stambaugh's avatar
      Pcbnew encapsulation and code cleaning. · 42d7bf6c
      Wayne Stambaugh authored
      * Encapsulate most of the MODULE class.
      * Start encapsulating the DIMENSION class.
      * Lay some groundwork for EDA_TEXT encapsulation.
      * Move cleverly hidden MODULE functions into class_module.cpp.
      * Use std::swap to exchange TEXTE_PCB values for undo/redo.
      * Remove unused members from MODULE class.
      * The usual coding policy and documentation fixes.
      42d7bf6c
  2. 12 Jan, 2013 1 commit
    • Wayne Stambaugh's avatar
      Base object decoupling improvements. · f8a56d44
      Wayne Stambaugh authored
      * Improve MSG_PANEL_ITEM to handle message panel information.
      * Create containers for passing message panel items between objects and
        the message panel.
      * Rename EDA_ITEM::DisplayInfo to EDA_ITEM::GetMsgPanelInfo.
      * Remove all direct manipulation of EDA_DRAW_FRAME from all objects derived
        from EDA_ITEM.
      f8a56d44
  3. 03 Aug, 2012 1 commit
  4. 08 Jun, 2012 1 commit
  5. 05 Jun, 2012 1 commit
  6. 05 Feb, 2012 1 commit
  7. 23 Jan, 2012 1 commit
  8. 14 Jan, 2012 1 commit
    • Wayne Stambaugh's avatar
      Pcbnew object improvements. · 5289c220
      Wayne Stambaugh authored
      * Remove unnecessary copy constructors from board and module library
        objects.
      * Add doClone() method to board and library objects.
      * Add comment to class definitions where the default copy constructor
        generated by the compiler was adequate.
      * Replace copy method with clone method where applicable.
      * Remove DuplicateStruct() function.
      * Remove track object copy function.
      5289c220
  9. 10 Jan, 2012 1 commit
  10. 29 Dec, 2011 1 commit
  11. 22 Dec, 2011 1 commit
  12. 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
  13. 13 Dec, 2011 1 commit
  14. 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
  15. 23 Sep, 2011 1 commit
    • Wayne Stambaugh's avatar
      PCB common library header rationalization. · edd35b4e
      Wayne Stambaugh authored
      * All header files used to create the PCB common library now compile as
        stand alone code.  This prevents the need to define them in a specific
        order to make source code compile properly.  It should also now be
        possible to relocate the source code to build the common PCB library
        to a separate folder.
      edd35b4e
  16. 16 Sep, 2011 1 commit
  17. 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
  18. 06 Sep, 2011 1 commit
  19. 01 Sep, 2011 1 commit
  20. 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
  21. 25 Feb, 2011 1 commit
  22. 24 Feb, 2011 1 commit
    • Wayne Stambaugh's avatar
      Improve handling of tool bar command IDs. · cb647737
      Wayne Stambaugh authored
      * Make EDA_DRAW_FRAME current tool ID member variable private.
      * Added global no tool selected ID to replace application specific no
        tool selected IDs.
      * Change SetToolID to prevent setting the tool ID to anything less than
        the new global no tool selected ID and assert on debug builds.
      * Change command and update user interface command event handlers to use
        new global no tool selected ID.
      * Fixed schematic library editor add pin hot key handler.
      cb647737
  23. 16 Feb, 2011 1 commit
  24. 11 Feb, 2011 1 commit
    • Wayne Stambaugh's avatar
      Draw panel object refactoring and other minor code cleaning. · 7b8b51b2
      Wayne Stambaugh authored
      * Rename all member variables and methods that reference the cross hair
        code in draw panel object from cursor to cross hair to eliminate confusion
        between the two concepts.
      * Rename cursor capture call backs in draw panel object to improve code
        readability.
      * Create helper class for turning off the cross hair while drawing.
      * Remove redundant block clear code.
      * Remove redundant mouse capture call back reset code when end capture
        call back is called.
      * Remove unused function definitions in base draw frame object.
      * Lots of minor coding policy and doxygen comment fixes.
      7b8b51b2
  25. 08 Feb, 2011 1 commit
    • Wayne Stambaugh's avatar
      GerbView rendering bug fix and other minor improvements. · e01f8967
      Wayne Stambaugh authored
      * Fix rendering bug in GerbView caused by wxDC scaling change caused by
        setting the wxDC clipping region.
      * Eliminate the need to have optional background erasing as the change
        above fixed that problem as well.
      * Default cursor handling improvements.
      e01f8967
  26. 30 Jan, 2011 1 commit
    • Wayne Stambaugh's avatar
      Use wxDC for all coordinate manipulations. · d657b430
      Wayne Stambaugh authored
      * Remove all occurrences if #ifdef USE_WX_ZOOM and all associated code within
        the #else/#endif block ( old zoom code ).
      * Removed the build option for USE_WX_ZOOM from CMakeList.txt and config.h.in.
      * Removed all scaling code in base screen object.
      * Fixed buffered paint and buffered client DC on Windows.  Buffering works
        properly on Linux and Windows.
      * Modified kicad_device_context.h to automatically uses buffering on platforms
        where double buffering is supported natively.
      * Remove all of the scaled versions of the drawing functions in gr_basic.cpp
        and any support code.
      * Removed all traces of ActiveScreen global variable from eeschema and
        gerbview.
      * Renamed Recadre_Trace to RedrawScreen in draw frame object.
      * Renamed PostDirtyRect to RefreshDrawingRect in draw panel object.
      * Lots of code cleaning an Doxygen comment improvements.
      d657b430
  27. 20 Dec, 2010 1 commit
  28. 26 Nov, 2010 1 commit
  29. 17 Aug, 2010 1 commit
  30. 12 Aug, 2010 1 commit
  31. 19 Jun, 2010 1 commit
  32. 19 Feb, 2010 1 commit
  33. 29 Jan, 2010 1 commit
  34. 20 Dec, 2009 1 commit
  35. 19 Dec, 2009 1 commit
  36. 12 Nov, 2009 1 commit
    • stambaughw's avatar
      Comment translations. · 4611bfd5
      stambaughw authored
      * Completed translation of all kicad source.
      * Translated source files A through C in pcbnew.
      4611bfd5
  37. 23 Oct, 2009 1 commit
  38. 14 Oct, 2009 1 commit
    • stambaughw's avatar
      Fix save last grid size and other minor updates. · 92064f1d
      stambaughw authored
      * Create single event handler for grid size events.
      * Fix all frame windows to use new grid size event handler.
      * Use offset relative to ID instead of ComboBox index to save last grid size.
      * Move last grid size load/save setting into WinEDA_DrawFrame.
      * Add equality and assignment operators the GRID_TYPE.
      * Add current grid helper methods to BASE_SCREEN.
      * Add GetPins helper to LIB_COMPONENT to replace GetNextPin where applicable.
      * Add AppendMsgPanel helper to WinEDA_DrawFrame.
      * Improve rounding for display of coordinates when millimeter units are selected.
      92064f1d
  39. 28 Sep, 2009 1 commit
  40. 22 Sep, 2009 1 commit
    • stambaughw's avatar
      Command ID refactoring and other minor improvements. · 43d6c685
      stambaughw authored
      * Split out application specific command IDs to prevent unnecessary rebuilding.
      * Eliminate duplicate menu and tool bar command IDs.
      * Split component library editor and viewer definitions to separate header files.
      * More component library and document file merge code.
      * A bunch of minor string readability and consistency fixes.
      43d6c685