1. 20 Sep, 2013 1 commit
  2. 12 Sep, 2013 1 commit
  3. 11 Sep, 2013 1 commit
  4. 03 Aug, 2013 1 commit
  5. 07 May, 2013 1 commit
    • Lorenzo Marcantonio's avatar
      Removed some spurious float casts · 69b7c2a1
      Lorenzo Marcantonio authored
      (explanation: float is implicitly promoted to double anyway, it's only useful
      for storage; also a fp variable forces conversion of other int in the expression
      without needing a cast)
      Typo fixes in some comments 'floatting' -> 'floating' :D
      69b7c2a1
  6. 01 May, 2013 1 commit
    • Lorenzo Marcantonio's avatar
      Angle and distances cleanup (preparing for angles in doubles) · 0e903dba
      Lorenzo Marcantonio authored
      - Removed spurious int casts (these are truncated anyway and will break
        doubles)
      
      - Applied the Distance, GetLineLength, EuclideanNorm, DEG2RAD, RAD2DEG
        ArcTangente and NORMALIZE* functions where possible
      
      - ArcTangente now returns double and handles the 0,0 case like atan2, so
        it's no longer necessary to check for it before calling
      
      - Small functions in trigo moved as inline
      0e903dba
  7. 31 Mar, 2013 1 commit
  8. 18 Mar, 2013 1 commit
    • Wayne Stambaugh's avatar
      More encapsulation work. · 7d0ec1a1
      Wayne Stambaugh authored
      * Complete encapsulation of the MODULE class.
      * Complete encapsulation of the EDA_TEXT class.
      * Encapsulate most of the ZONE_CONTAINER class.
      * Add pcbcommon library as a dependency for reSWIGging the scripting
        support.  This should cover most dependency cases.
      7d0ec1a1
  9. 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
  10. 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
  11. 19 Dec, 2012 1 commit
  12. 08 Jun, 2012 1 commit
  13. 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
  14. 13 Apr, 2012 1 commit
    • Wayne Stambaugh's avatar
      More internal unit improvements. · 57d75a75
      Wayne Stambaugh authored
      * Move all convert from internal to user units functions into separate file.
      * Remove internal units parameter from all moved conversion functions.
      * Revise all source code that calls the moved conversion functions.
      * Compile these conversion routines separately for the appropriate pcb or
        schematic internal units.
      * Move internal units specific status bar update code into the appropriate
        application for updating the status bar.
      * Move millimeter user units rounding function to common.cpp.
      57d75a75
  15. 23 Jan, 2012 1 commit
  16. 29 Dec, 2011 1 commit
  17. 22 Dec, 2011 1 commit
  18. 21 Dec, 2011 1 commit
  19. 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
  20. 14 Dec, 2011 1 commit
  21. 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
  22. 24 Nov, 2011 1 commit
  23. 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
  24. 22 Sep, 2011 1 commit
  25. 20 Sep, 2011 1 commit
  26. 06 Sep, 2011 2 commits
  27. 19 Apr, 2011 1 commit
  28. 03 Mar, 2011 1 commit
  29. 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
  30. 21 Feb, 2011 1 commit
    • Wayne Stambaugh's avatar
      All control state handling is now performed in wxUpdateUIEvent handlers. · bdca3c5e
      Wayne Stambaugh authored
      * Old control state handling code completely removed in all applications.
      * Factor common control state handlers into EDA_DRAW_FRAME.
      * Replaced EDA_ITEM test for newness with IsNew() method.
      * Factor vertical right toolbar command handlers out of giant edit command
        switch statement in EESchema and PCBNew.
      bdca3c5e
  31. 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
  32. 03 Feb, 2011 1 commit
    • Wayne Stambaugh's avatar
      Changes to use cursor position as parameter and snap to grid settings. · 50f063da
      Wayne Stambaugh authored
      * Changed managed cursor callback definition to include the current
        cursor drawing position.
      * Modified all managed cursor callbacks to match new definition.
      * Added snap to grid option to base drawing frame object.
      * Changed add no connect managed cursor callback to use new position
        parameter instead of the stored one.
      * Lots of coding policy fixes.
      50f063da
  33. 21 Jan, 2011 1 commit
    • Wayne Stambaugh's avatar
      EESchema code refactoring and coding policy naming fixes. · 73e38ce9
      Wayne Stambaugh authored
      * Move schematic wire and bus break code into schematic screen object.
      * Move schematic test for dangling ends into schematic screen object.
      * Remove left over debugging output in schematic screen object.
      * Remove unused file eeschema/cleanup.cpp.
      * Fix bug in schematic line object hit test algorithm.
      * Fix a string concatenation compile error added in r2752.
      * Rename class WinEDA_BasicFrame to EDA_BASE_FRAME.
      * Rename class WinEDA_DrawFrame to EDA_DRAW_FRAME.
      * Rename class WinEDA_DrawPanel to EDA_DRAW_PANEL.
      73e38ce9
  34. 21 Dec, 2010 1 commit
  35. 18 Nov, 2010 1 commit
  36. 23 Aug, 2010 1 commit
  37. 10 Aug, 2010 1 commit
  38. 12 Jul, 2010 1 commit
    • Dick Hollenbeck's avatar
      A little useful feature: even if the default unit can be changed between · bc14e66d
      Dick Hollenbeck authored
      inches and mm, the industry is crazy enough to force us with mixed
      design. For example I routinely use imperial units for track size and
      clearance, but drilling is strictly a metric issue...
      
      So I added a little parser to recognize a suffix specification in the
      unit text boxes... so you can put in things like:
      1in (1 inch)
      1" (idem)
      25th (25 thou)
      25mi (25 mils, the same)
      6mm (6 mm, obviously)
      
      The rules are: spaces between the number and the unit are accepted, only
      the first two letters are significant.
      
      As a bonus, it also recognize the period (.) as a decimal point
      substituting it with the correct locale character (there was a wishlist
      for it, IIRC). Most useful for number pad fans :D 
      bc14e66d
  39. 23 Apr, 2010 1 commit