1. 22 Dec, 2013 1 commit
  2. 05 May, 2013 1 commit
    • Lorenzo Marcantonio's avatar
      Migrated the interfaces accepting angles to the double type · d00c83cd
      Lorenzo Marcantonio authored
      The plan goes like this:
      - eeschema still uses int in decidegrees
      - all the other things internally use double in decidegrees (or radians
        in temporaries)
      - in pcbnew UI the unit is *still* int in decidegrees
      
      The idea is to have better precision everywhere while keeping the user with int i
      angles. Hopefully, if a fractional angle doesn't come in from the outside, everything
      should *look* like an integer angle (unless I forgot something and it broke)
      
      When the time comes, simply updating the UI for allowing doubles from the user should
      be enough to get arbitrary angles in pcbnew.
      d00c83cd
  3. 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
  4. 25 Apr, 2013 1 commit
    • Wayne Stambaugh's avatar
      Pcbnew NETLIST_READER improvements. · 61b4f8a9
      Wayne Stambaugh authored
      * Create separate NETLIST object to hold contents of netlist files.
      * Read entire netlist and footprint link files before making applying
        changes to board.
      * Add BOARD::ReplaceNetlist() function to eliminate the calls between the
        NETLIST_READER, PCB_EDIT_FRAME, and BOARD objects.
      * Change placement of new components below the center of the current board
        or in the center of the page if the BOARD is empty.
      * Add dry run option to netlist dialog to print changes to message control
        without making changes.
      * Add button to netlist dialog to allow saving contents of message control
        to a file.
      * Eliminate the need to compile netlist_reader_*.cpp in both CvPcb and Pcbnew.
      * Add netlist_reader_*.cpp to the pcbcommon library.
      * Remove redundant load component link file code from CvPcb.
      * Modify CvPcb new to work with the new NETLIST_READER object.
      * Add compare() function and < and == operators to FPID object.
      * Add REPORTER class to hide an underlying string writing implementation for
        use in low level objects.  Thank you Dick for the idea.
      * Lots of minor coding policy, Doxygen comment, and missing license fixes.
      61b4f8a9
  5. 07 Apr, 2013 1 commit
  6. 28 Mar, 2013 1 commit
  7. 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
  8. 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
  9. 05 Sep, 2012 1 commit
  10. 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
  11. 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
  12. 23 Jan, 2012 1 commit
  13. 29 Dec, 2011 1 commit
  14. 22 Dec, 2011 1 commit
  15. 21 Dec, 2011 1 commit
  16. 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
  17. 12 Dec, 2011 1 commit
  18. 18 Oct, 2011 1 commit
  19. 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
  20. 14 Mar, 2011 1 commit
    • Wayne Stambaugh's avatar
      Set default button on all dialogs. Fixes lp:665703 · 283cfa67
      Wayne Stambaugh authored
      * Set default button on all dialogs that do not already have a defined
        default button.  The only exception is the EESchema net list dialog
        which needs converted over to wxFormBuilder and due to it's design makes
        setting the default button in any tab other than the default tab
        problematic.
      * Fix escape key dialog handling bug in EESchema print post script
        dialog.
      283cfa67
  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. 09 Jan, 2011 1 commit