1. 19 Feb, 2013 1 commit
  2. 12 Feb, 2013 2 commits
  3. 02 Feb, 2013 2 commits
    • Emmeran's avatar
      added option to allow zooming around the crosshair instead of the center; can... · 0bdf5bac
      Emmeran authored
      added option to allow zooming around the crosshair instead of the center; can be enabled via options or by holding alt while using the mousewheel
      0bdf5bac
    • jean-pierre charras's avatar
      Changes for CvPcb to eeschema stuff file: the stuff file generation from CvPcb... · 619125f9
      jean-pierre charras authored
      Changes for CvPcb to eeschema stuff file: the stuff file generation from CvPcb is removed. Eeschema now imports footprints names from the .cmp usual file created by CvPcb or by Pcbnew (Why to use 2 file formats for the same thing?) .
      Pcbnew: in netlist dialog: The user now can choose between the netlist and the .cmp file to import footprints names.
      Therfore no need to delete the .cmp file when exists to use only the netlist.
      This is useful for users who use CvPcb only once to fill footprints fields in schematic, and after edit/modify the footprints fields in schematic outside CvPcb.
      619125f9
  4. 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
  5. 29 Dec, 2012 1 commit
  6. 06 Dec, 2012 1 commit
  7. 19 Nov, 2012 2 commits
  8. 09 Oct, 2012 1 commit
  9. 04 Oct, 2012 1 commit
  10. 27 Sep, 2012 1 commit
  11. 26 Sep, 2012 2 commits
  12. 22 Sep, 2012 1 commit
  13. 12 Sep, 2012 3 commits
  14. 11 Sep, 2012 1 commit
  15. 02 Sep, 2012 2 commits
  16. 01 Sep, 2012 1 commit
  17. 04 Aug, 2012 1 commit
  18. 31 May, 2012 1 commit
  19. 25 May, 2012 1 commit
    • jean-pierre charras's avatar
      Pcbnew: fix crash in legacy_plugin.cpp when reading old lib files. · e6ec9f0a
      jean-pierre charras authored
       fix a compil warning.
      CvPcb: fix regressions :
       Shows now a void field instead of the dummy footprint name $nonane (whenthere is  no footprint selected in netlist).
       The active footprint selection changes only if a new component is selected from the component file,
       and does not change just when the next component is automatically selected, after a footprint selection.
       Speed up delete association and auto associe.
      e6ec9f0a
  20. 10 May, 2012 1 commit
  21. 05 May, 2012 1 commit
  22. 01 May, 2012 1 commit
  23. 25 Apr, 2012 1 commit
  24. 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
  25. 17 Apr, 2012 1 commit
  26. 11 Apr, 2012 1 commit
  27. 09 Apr, 2012 1 commit
  28. 07 Apr, 2012 1 commit
  29. 15 Mar, 2012 2 commits
  30. 08 Mar, 2012 1 commit
  31. 16 Feb, 2012 1 commit
  32. 15 Feb, 2012 1 commit