1. 21 Sep, 2013 1 commit
  2. 18 Jun, 2013 1 commit
  3. 14 May, 2013 1 commit
  4. 09 May, 2013 1 commit
  5. 08 May, 2013 1 commit
  6. 04 May, 2013 1 commit
  7. 09 Apr, 2013 1 commit
  8. 07 Apr, 2013 1 commit
  9. 05 Apr, 2013 1 commit
  10. 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
  11. 31 Mar, 2013 1 commit
  12. 26 Mar, 2013 1 commit
  13. 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
  14. 19 Feb, 2013 1 commit
  15. 09 Feb, 2013 1 commit
  16. 07 Feb, 2013 1 commit
  17. 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
  18. 23 Nov, 2012 1 commit
  19. 22 Sep, 2012 1 commit
  20. 02 Sep, 2012 2 commits
  21. 01 Sep, 2012 1 commit
  22. 03 Aug, 2012 1 commit
  23. 31 Jul, 2012 2 commits
  24. 30 Jul, 2012 1 commit
  25. 25 Jul, 2012 1 commit
  26. 14 Jul, 2012 1 commit
  27. 13 Jul, 2012 1 commit
  28. 17 Jun, 2012 2 commits
  29. 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
  30. 08 Jun, 2012 1 commit
  31. 29 May, 2012 1 commit
    • Dick Hollenbeck's avatar
      Mostly EAGLE_PLUGIN work: · f2bd20ab
      Dick Hollenbeck authored
      * Derive the pcbnew copper zone and non-copper zone dialog windows from DIAG_SHIM,
        which injects some template code.
      * Update UIpolicies.txt to talk about DIALOG_SHIM support.
      * Add zone support to eagle_plugin.
      * Organize ZONE_CONTAINER class declaration for future privacy and accessors.
      f2bd20ab
  32. 22 Apr, 2012 1 commit
  33. 19 Apr, 2012 1 commit
    • Dick Hollenbeck's avatar
      // Dick Hollenbeck's KiROUND R&D · c24863c0
      Dick Hollenbeck authored
      // This provides better project control over rounding to int from double
      // than wxRound() did.  This scheme provides better logging in Debug builds
      // and it provides for compile time calculation of constants.
      
      
      #include <stdio.h>
      #include <assert.h>
      #include <limits.h>
      
      //-----<KiROUND KIT>------------------------------------------------------------
      
      /**
       * KiROUND
       * rounds a floating point number to an int using
       * "round halfway cases away from zero".
       * In Debug build an assert fires if will not fit into an int.
       */
      
      #if defined( DEBUG )
      
      // DEBUG: a macro to capture line and file, then calls this inline
      
      static inline int KiRound( double v, int line, const char* filename )
      {
          v = v < 0 ? v - 0.5 : v + 0.5;
          if( v > INT_MAX + 0.5 )
          {
              printf( "%s: in file %s on line %d, val: %.16g too ' > 0 ' for int\n", __FUNCTION__, filename, line, v );
          }
          else if( v < INT_MIN - 0.5 )
          {
              printf( "%s: in file %s on line %d, val: %.16g too ' < 0 ' for int\n", __FUNCTION__, filename, line, v );
          }
          return int( v );
      }
      
      #define KiROUND( v )    KiRound( v, __LINE__, __FILE__ )
      
      #else
      
      // RELEASE: a macro so compile can pre-compute constants.
      
      #define KiROUND( v )  int( (v) < 0 ? (v) - 0.5 : (v) + 0.5 )
      
      #endif
      
      
      //-----</KiROUND KIT>-----------------------------------------------------------
      
      // Only a macro is compile time calculated, an inline function causes a static constructor
      // in a situation like this.
      // Therefore the Release build is best done with a MACRO not an inline function.
      int Computed = KiROUND( 14.3 * 8 );
      
      
      int main( int argc, char** argv )
      {
          for( double d = double(INT_MAX)-1;  d < double(INT_MAX)+8;  d += 2.0 )
          {
              int i = KiROUND( d );
      
              printf( "t: %d  %.16g\n", i, d );
          }
      
          return 0;
      }
      c24863c0
  34. 12 Apr, 2012 1 commit
    • Wayne Stambaugh's avatar
      Internal unit improvements and Pcbnew s-expression file format changes. · bed96be7
      Wayne Stambaugh authored
      * Move EDA_TEXT object into separate header and source file.
      * Compile EDA_TEXT class separately for BOARD_ITEM and SCH_ITEM units.
      * Compile PAGE_INFO  class separately for BOARD_ITEM and SCH_ITEM units.
      * Minor formatting tweaks to Pcbnew s-expression file.
      * Move internal unit formatting functions into BOARD_ITEM and SCH_ITEM.
      bed96be7
  35. 11 Apr, 2012 1 commit
  36. 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
  37. 01 Apr, 2012 1 commit
    • Wayne Stambaugh's avatar
      Initial Pcbnew s-expression file format commit. · d7feb9ab
      Wayne Stambaugh authored
      * Add s-expression Format() function to all objects derived from
        BOARD_ITEM.
      * Add s-expression Format() function to base objects as required.
      * Add functions to convert coordinates from base internal units
        (nanometers) to millimeter string for writing to s-expression
        file.
      * Add temporary dummy conversion functions to prevent link errors
        until schematic and board object and action code can be separated
        into DSO/DLL.
      * Add CMake build option to build Pcbnew with nanometer internal
        units.
      d7feb9ab