1. 04 Oct, 2013 1 commit
  2. 26 Sep, 2013 1 commit
  3. 25 Sep, 2013 1 commit
  4. 24 Sep, 2013 1 commit
    • Wayne Stambaugh's avatar
      Pcbnew footprint library plug in fixes and minor code cleaning. · 85777d65
      Wayne Stambaugh authored
      * When loading footprint do not retest every footprint in cache.  Only test
        the footprint being loaded.  Fixes long load times on libraries with a lot
        of parts.
      * Fix footprint name bug where file extension was added to the end of the
        footprint name.
      * Fix bug in path equivalence test due to Posix path separators in footprint
        library table.  Convert paths to native separator before comparison.
      * Fix a bug in FOOTPRINT_VIEWER_FRAME::OnActivate() which cause the footprint
        list to always get reloaded when using footprint library tables.
      * Remove some unnecessary debugging messages.
      * Add a few Doxygen comments to FP_CACHE in kicad_plugin.cpp.
      85777d65
  5. 21 Sep, 2013 1 commit
  6. 24 Jun, 2013 1 commit
  7. 30 Mar, 2013 1 commit
  8. 20 Mar, 2013 1 commit
    • Dick Hollenbeck's avatar
      Consistent with my email posting from a day or two ago, remove the translated · 25b65b2e
      Dick Hollenbeck authored
      standard layer name support from BOARD::GetLayerName().  This function evolved
      in a contorted direction over time, and was being asked to return one of 3
      different kinds of layer names, even though it only took a boolean to control
      that choice.  
      
      Users are better served by forcing them to get to know the concise new 
      English Standard layer names.  This is because these concise names show up
      in the "pretty" footprint/module files as the standard representation of
      both feature and copper layers.
      
      Change the name of BOARD::GetDefaultLayerName() to GetStandardLayerName().
      Drop boolean argument to both BOARD::GetStandardLayerName() and 
      BOARD::GetLayerName().
      25b65b2e
  9. 18 Dec, 2012 1 commit
  10. 14 Dec, 2012 1 commit
  11. 27 Nov, 2012 1 commit
  12. 19 Nov, 2012 1 commit
    • Dick Hollenbeck's avatar
      Eliminate many assumptions in Pcbnew's library manager, pertaining to locality of libraries and · 2aa27122
      Dick Hollenbeck authored
      their type, by using the more abstract PLUGIN::Footprint*() functions.
      
      This is an intermediate phase only, other changes will be necessary as library table support comes in.
      Encapsulate usage of library path searching, since that will go away as library table support comes in.
      Add FOOTPRINT_EDIT_FRAME::{get,set}LibPath() and FOOTPRINT_EDIT_FRAME::{get,set}LibNickName() functions
      to provide this encapsulation.
      2aa27122
  13. 14 Nov, 2012 1 commit
    • Dick Hollenbeck's avatar
      1) Switch to boost hashtable support from wx macros which did not handle std::string. · 9bbff22d
      Dick Hollenbeck authored
         This required the additional compiler command line option "-std=c++0x".
      
      2) Switch to unique_ptr from auto_ptr which is C++ deprecated.
      
      3) Change to new English layer names per mailing list discussion, see class_board.cpp.
      
      4) When saving to *.kicad_pcb or *.kicad_mod, identify opportunities to use wildcard
         layer sets, for pads so far.
      
      5) Switch to two std::string hashtables in pcb_parser.cpp, away from one wxString based one
         for layer names and layer sets mapping. One hashtable holds the mask, the other the index.
         Layer sets are only in the mask table.
      
      6) Move "LOCALE_IO toggle" into PCB_IO::Format() since it is a public API function and
         caller should find it as convenient as possible to use.  LOCALE_IO should handle
         nesting OK in the case where public Format() is called from one of the Footprint*()
         functions.
      
      7) Drop support for "export module to new library".  Creating new libraries will have to
         be handled in concert with library table entries, and we've talked recently about
         creating a better footprint library manager, one that resides in a DLL/DSO.  So
         this kind of functionality needs to be handled in there in the near future.
      
      8) Change name of exported PCB_IO module/footprint to *.kicad_mod and not *.emp.
      9bbff22d
  14. 10 Nov, 2012 1 commit
  15. 24 Oct, 2012 1 commit
  16. 22 Oct, 2012 1 commit
  17. 07 Oct, 2012 1 commit
    • Wayne Stambaugh's avatar
      Pcbnew s-experssion footprint library implementation. · 1468a4ae
      Wayne Stambaugh authored
      * Add footprint methods to PCB_IO.
      * Add FP_CACHE and FP_CACHE_ITEM for handling new footprint library design.
      * Add code to save legacy libraries in new format.
      * Change behavior of BOARD_ITEM::GetLayerName() to return the default layer
        name when the item does not have a BOARD as a parent.
      * Minor changes to the module output formatter when writing to module library
        files (no BOARD as parent).
      * Add new (and some that I forgot along the way) CMake flags to
        EDA_BASE_FRAME::CopyVersionInfoToClipboard().
      * Add -Wno-narrowing to GCC flags to stop GCC 4.7 from complaining about
        a conversion from int to unsigned in the Boost polygon library.
      * Add INPUT_STREAM_READER to richio.cpp to allow using any object derived
        from wxInputStream as a LINE_READER (needs to be validated).
      1468a4ae
  18. 09 Jun, 2012 1 commit
    • Wayne Stambaugh's avatar
      Add Pcbnew s-expression file parser. · 2d0d8050
      Wayne Stambaugh authored
      * Add s-expression file parser object and keyword files.
      * Fix minor issues with s-expression file formatting.
      * Fix a minor bug the zone container fill state parsing in the legacy plugin.
      * Move EDA_TEXT visibility definition to eda_text.h.
      * Add minor BOARD_ITEM object improvements to support s-expression file
        parser.
      2d0d8050
  19. 22 Apr, 2012 1 commit
  20. 07 Apr, 2012 1 commit
    • Wayne Stambaugh's avatar
      Pcbnew s-expression file format changes. · 9c16a218
      Wayne Stambaugh authored
      * Save dialog now supports saving boards to new file format.
      * Add CMake option to build s-expression file save.
      * Add check to main CMakeList.txt file to make sure nanometers are
        enables when the new file format is built.
      * Minor tweaks to object format functions for improved output.
      * Rename kicad_plugin.h/cpp to legacy_plugin.h/cpp.
      9c16a218
  21. 16 Dec, 2011 1 commit
  22. 15 Dec, 2011 2 commits
  23. 14 Dec, 2011 1 commit
  24. 12 Dec, 2011 1 commit
  25. 10 Dec, 2011 1 commit
  26. 07 Dec, 2011 1 commit
  27. 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
  28. 02 Dec, 2011 1 commit
  29. 01 Dec, 2011 2 commits
  30. 30 Nov, 2011 2 commits
  31. 29 Nov, 2011 1 commit
  32. 28 Nov, 2011 1 commit