1. 21 Feb, 2015 1 commit
  2. 23 Oct, 2014 1 commit
  3. 24 Aug, 2014 1 commit
  4. 24 Jun, 2014 1 commit
    • Dick Hollenbeck's avatar
      1) Add 32 Cu Layers. · 4578ea8b
      Dick Hollenbeck authored
      2) Change from legacy Cu stack to counting down from top=(F_Cu or 0).
         The old Cu stack required knowing the count of Cu layers to make
         sense of the layer number when converting to many exported file types.
         The new Cu stack is more commonly used, although ours still gives
         B_Cu a fixed number.
      3) Introduce class LSET and enum LAYER_ID.
      4) Change *.kicad_pcb file format version to 4 from 3.
      5) Change fixed names Inner1_Cu-Inner14_Cu to In1_Cu-In30_Cu and their
         meanings are typically flipped.
      6) Moved the #define LAYER_N_* stuff into legacy_plugin.cpp where they
         can die a quiet death, and switch to enum LAYER_ID symbols throughout.
      7) Removed the LEGACY_PLUGIN::Save() and FootprintSave() functions.
         You will need to convert to the format immediately, *.kicad_pcb and
         *.kicad_mod (=pretty) since legacy format was never going to know
         about 32 Cu layers and additional technical layers and the reversed Cu
         stack.
      4578ea8b
  5. 25 Apr, 2014 1 commit
    • Lorenzo Marcantonio's avatar
      TRACK/SEGVIA cleanup · 3f2c0e1a
      Lorenzo Marcantonio authored
      - SEGVIA becomes VIA
      - Drill size moved from TRACK to VIA
      - Removed shape from TRACK, becomes ViaType in VIA
      - GetTrace becomes GetTrack, for uniformity
      - Some minor constification and typo fixes
      3f2c0e1a
  6. 25 Feb, 2014 2 commits
    • Maciej Suminski's avatar
      Renamed BOARD_CONNECTED_ITEM::GetNet() -> GetNetCode() · f7d00a39
      Maciej Suminski authored
      Renamed BOARD_CONNECTED_ITEM::SetNet() -> SetNetCode()
      Added BOARD_CONNECTED_ITEM::GetNet() for accessing NETINFO_ITEM* of a given item.
      Fixed module editor crash when launched to edit a module from a PCB.
      Replaced some BOARD::FindNet( item->GetNet() ) calls with BOARD_CONNECTED_ITEM::GetNet().
      f7d00a39
    • Maciej Suminski's avatar
      Renamed BOARD_CONNECTED_ITEM::GetNet() -> GetNetCode() · 75026d87
      Maciej Suminski authored
      Renamed BOARD_CONNECTED_ITEM::SetNet() -> SetNetCode()
      Added BOARD_CONNECTED_ITEM::GetNet() for accessing NETINFO_ITEM* of a given item.
      Fixed module editor crash when launched to edit a module from a PCB.
      Replaced some BOARD::FindNet( item->GetNet() ) calls with BOARD_CONNECTED_ITEM::GetNet().
      75026d87
  7. 03 Aug, 2013 1 commit
  8. 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
  9. 31 Mar, 2013 1 commit
  10. 30 Mar, 2013 1 commit
  11. 27 Mar, 2013 1 commit
    • Lorenzo Marcantonio's avatar
      Renamed global variables: · aae87178
      Lorenzo Marcantonio authored
      Drc_On => g_Drc_On
      Route_Layer_TOP => g_Route_Layer_TOP
      Route_Layer_BOTTOM => g_Route_Layer_BOTTOM
      Track_45_Only_Allowed => g_Track_45_Only_Allowed
      aae87178
  12. 13 Jan, 2013 1 commit
  13. 28 Aug, 2012 1 commit
  14. 03 Aug, 2012 1 commit
  15. 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
  16. 19 Feb, 2012 1 commit
  17. 23 Jan, 2012 1 commit
  18. 21 Dec, 2011 1 commit
  19. 06 Dec, 2011 1 commit
  20. 24 Nov, 2011 1 commit
  21. 01 Oct, 2011 1 commit
  22. 23 Sep, 2011 1 commit
    • Wayne Stambaugh's avatar
      PCB common library header rationalization. · edd35b4e
      Wayne Stambaugh authored
      * All header files used to create the PCB common library now compile as
        stand alone code.  This prevents the need to define them in a specific
        order to make source code compile properly.  It should also now be
        possible to relocate the source code to build the common PCB library
        to a separate folder.
      edd35b4e
  23. 16 Sep, 2011 1 commit
  24. 15 Sep, 2011 1 commit
  25. 14 Sep, 2011 2 commits
  26. 13 Sep, 2011 1 commit
    • Wayne Stambaugh's avatar
      PCBNew locate code refactoring. · efc93aa5
      Wayne Stambaugh authored
      * Move various locate functions into the appropriate board item object.
      * Unified best zoom for all frames derived from PCB_BASE_FRAME.
      * Remove track.cpp as it is no longer needed.
      * Dead code removal.
      * Remove scary frame window pointer member from board item objects.
      * Add draw bounding box to gerber draw item for debugging purposes.
      efc93aa5
  27. 07 Sep, 2011 1 commit
    • Wayne Stambaugh's avatar
      Lots and lots of PCBNew code cleaning and fix build bug introduced in r3108. · 0c443357
      Wayne Stambaugh authored
      * Changed <wx-2.8/xml/xml.h> to "xnode.h" in pcbnew_config.cpp to fix bug
        when building against wxWidgets 2.9 and above.
      * Convert broken wxXmlNode code to use XNODE.
      * Overloaded XNODE constructor for creating child nodes.
      * Translate French naming conventions.
      * Translate French comments.
      * Remove tabs from several source files.
      * Coding style policy and Doxygen comment fixes.
      0c443357
  28. 06 Sep, 2011 1 commit
  29. 01 Mar, 2011 1 commit
    • Wayne Stambaugh's avatar
      PCBNew control update bug fixes, fixes lp:725963. · 1010601a
      Wayne Stambaugh authored
      * Fix grid select box update bug on context menu.
      * Fix via size and track width select box update bugs.
      * Fix layer pair indicator button update bug.
      * Fix auto track width tool bar control enable bug.
      * Fix via size and track width select status bug in context menu.
      * Fix layer select box and layer control widget select bug when current
        layer is removed.
      * Add virtual function to notify objects derived from EDA_DRAW_FRAME that
        the units setting has changed.
      * Coding policy class naming fixes.
      1010601a
  30. 02 Feb, 2011 1 commit
  31. 01 Feb, 2011 1 commit
  32. 29 Dec, 2010 1 commit
  33. 31 Jan, 2010 1 commit
  34. 28 Oct, 2009 1 commit
  35. 10 Oct, 2009 1 commit