1. 20 May, 2013 1 commit
    • Wayne Stambaugh's avatar
      Pcbnew footprint library table work in progress. · c9be8bfd
      Wayne Stambaugh authored
      * Add code for loading, modifying, and saving the global and project
        footprint library tables.
      * Add code to load MODULE objects using the footprint library table to
        the footprint viewer.
      * Add static methods to FP_LIB_TABLE to support loading footprint library
        tables.
      c9be8bfd
  2. 19 May, 2013 1 commit
  3. 18 May, 2013 1 commit
  4. 08 May, 2013 2 commits
    • Wayne Stambaugh's avatar
      Footprint library table work, minor fixes, and code cleaning. · cf86e18f
      Wayne Stambaugh authored
      * Fix a bug when full file name and path are passed to FOOTPRINT_INFO::
        ReadFootprintFiles() which I created in bug fix lp:593989.
      * Fix a wxString debug assertion in EDA_APP::InitEDA_Appl() when the KICAD
        environment variable is defined as an empty string.
      * Add error dialog when libraries cannot be found in system search path
        when loading footprint using the select footprint dialog.
      * Add footprint library name column to the EDA_LIST_DIALOG when selecting
        footprints from the list.
      * Allow reading all columns from the selected row in EDA_LIST_DIALOG.
      * Remove redundant sort from EDA_LIST_DIALOG constructor
      * Add library name member variable and accessors to FOOTPRINT_INFO.
      * Make headers translatable for Eeschema select component from list dialog.
      * Add some helper methods to FPID for identifying the FPID type and validity.
      * Remove a bunch of trailing whitespace and add missing license comments.
      cf86e18f
    • jean-pierre charras's avatar
      More work on CPOLYGONS_LIST class. · 2e6969fe
      jean-pierre charras authored
      2e6969fe
  5. 07 May, 2013 2 commits
  6. 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
  7. 04 May, 2013 1 commit
  8. 03 May, 2013 1 commit
  9. 02 May, 2013 1 commit
  10. 01 May, 2013 2 commits
    • jean-pierre charras's avatar
      3D viewer: Modify yhe way board items shapes are built: · 4ac7dd58
      jean-pierre charras authored
      * All items shapes  are converted to polygons.
      * Polygons are merged layer by layer (for calculation time reasons,zones are not merged)
      * for copper layers, vias and pads holes are substracted from polygons (but, for calculation time reasons,  not inside zones areas).
      * the look is better, mainly when displaying the copper thickness
      * solder and paste layers are now shown in 3D viewer.
      * the code was seriously cleaned (but still needs to be enhanced).
      * Note this is a work in progress which needs refinements.
      4ac7dd58
    • 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
  11. 29 Apr, 2013 1 commit
    • Wayne Stambaugh's avatar
      Pcbnew bug and warning fixes. · 218fb338
      Wayne Stambaugh authored
      * Fixed a bug in PCB_EDIT_FRAME::loadFootprints when no footprint libraries
        are found when attempting to load footprints.
      * Add a warning to PCB_EDIT_FRAME::loadFootprints to inform the user when
        a footprint library file cannot be found in any of the standard library
        search paths.
      * Changed FOOTPRINT_INFO::m_padCount to unsigned to prevent signed/unsigned
        comparison compiler warnings.
      * Put NestedSpace() function in netlist_reader.cpp inside conditional debug
        build statement to prevent warning in release builds.
      218fb338
  12. 28 Apr, 2013 2 commits
  13. 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
  14. 11 Apr, 2013 2 commits
  15. 10 Apr, 2013 1 commit
  16. 09 Apr, 2013 2 commits
  17. 08 Apr, 2013 1 commit
    • Dick Hollenbeck's avatar
      Implement "KiCad s-epression" support for boost::property_tree's ptree, the 8 · 6bf3d7cd
      Dick Hollenbeck authored
      bit string version of property_tree. The ram resident structure of the ptree is
      mostly compatible with one created using the xml_parser from
      boost::property_tree, with slight differences in the way atoms are stored. The
      result is you can use Format() to convert from xml to s-expression, but not the
      other way around. You can write a simple s-expression beautifier in just a few
      lines of code.
      
      The main value however is the s-expression parser, i.e. Scan(), which is an
      alternative to crafting a custom recursive descent parser for a particular
      grammar. The tipping point depends on whether you want to read only a small
      portion of a much larger document. If so, then using the ptree will likely be a
      "faster to code" route. Documentation on how to navigate a ptree can be found on
      the boost website and there are a number of examples in the
      pcbnew/eagle_plugin.cpp file in this project. Powerful path navigation support
      makes it easy to extract a subset of a ptree.
      6bf3d7cd
  18. 07 Apr, 2013 2 commits
  19. 06 Apr, 2013 2 commits
  20. 05 Apr, 2013 4 commits
  21. 04 Apr, 2013 1 commit
    • Lorenzo Marcantonio's avatar
      More work on EDA_COLOR_T and layers. · d12a4592
      Lorenzo Marcantonio authored
      In particular the new mechanism for handling extended color palettes is in place,
      included renaming the ini keys and saving the color name instead of its index; this means better forward compatibility with palette changes.
      
      Since ini keys are changed, colors will be reset
      d12a4592
  22. 01 Apr, 2013 2 commits
  23. 31 Mar, 2013 2 commits
  24. 30 Mar, 2013 3 commits
  25. 29 Mar, 2013 1 commit