1. 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
  2. 02 May, 2013 1 commit
  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. 09 Apr, 2013 1 commit
  5. 07 Apr, 2013 1 commit
  6. 05 Apr, 2013 1 commit
  7. 31 Mar, 2013 1 commit
  8. 30 Mar, 2013 2 commits
  9. 20 Mar, 2013 1 commit
    • Wayne Stambaugh's avatar
      Encapsulation, bug, context menu string, and, coding policy fixes. · 25e7abec
      Wayne Stambaugh authored
      * Complete encapsulation of the ZONE_CONTAINER class.
      * Fixed a bug in the EDA_TEXT::Format() default effects behavior due to
        improper conversion to internal units and missing test for default
        thickness.
      * Improved grammar of some Pcbnew context menu strings.
      * Moved some more cleverly hidden BOARD object methods into class_board.cpp.
      * Lots of coding policy and documentation fixes.
      25e7abec
  10. 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
  11. 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
  12. 09 Mar, 2013 1 commit
  13. 13 Feb, 2013 1 commit
  14. 11 Feb, 2013 1 commit
    • Wayne Stambaugh's avatar
      Configuration and compile documentation improvements. · 4d465ec8
      Wayne Stambaugh authored
      * Improve the stable and testing build version option logic.
      * Use CMake FindPythonInterp to configure the Python interpreter.
      * Use Python interpreter to determine the system Python module install
        path if not already defined on the command line.
      * Add header symbol checks for asinh(), acosh(), and atanh().
      * Add test source to check for isinf() which can be defined as a C++template.
      * Replace conditional compile on windows systems for aXXXh() with CMake
        configuration tests.
      * A few minor MSVC compile fixes.
      * Fix incorrect python environment string in fixswigimports.py
      * Create a separate document for KiCad CMake build options.
      * Create a separate how to compile KiCad on Windows document.
      4d465ec8
  15. 29 Dec, 2012 1 commit