- 30 Nov, 2012 1 commit
-
-
Marco Mattila authored
-
- 27 Nov, 2012 1 commit
-
-
jean-pierre charras authored
Polyline.cpp: fix a bad wxASSERT test which generate error messages in Debug mode when there is no error, in DEBUG mode, when filling zones with holes.
-
- 20 Nov, 2012 1 commit
-
-
jean-pierre charras authored
-
- 21 Sep, 2012 1 commit
-
-
Dick Hollenbeck authored
switch all <math.h> includes to <cmath> includes on an attempt to dodge some abiguous references to atan2()
-
- 31 Aug, 2012 1 commit
-
-
jean-pierre charras authored
-
- 04 Aug, 2012 1 commit
-
-
jean-pierre charras authored
-
- 03 Aug, 2012 1 commit
-
-
jean-pierre charras authored
-
- 02 Aug, 2012 2 commits
-
-
jean-pierre charras authored
-
jean-pierre charras authored
Pcbnew: code cleaning in polygons
-
- 01 Aug, 2012 1 commit
-
-
jean-pierre charras authored
-
- 31 Jul, 2012 2 commits
-
-
jean-pierre charras authored
-
jean-pierre charras authored
Remove arcs support in zone outlines: this is a legacy code from FreePCB, never used, never tested, never maintained.
-
- 30 Jul, 2012 1 commit
-
-
jean-pierre charras authored
-
- 25 Jul, 2012 2 commits
-
-
jean-pierre charras authored
-
jean-pierre charras authored
Some coding style policy fix.
-
- 13 Jul, 2012 1 commit
-
-
jean-pierre charras authored
This is *a work in progress*, so some features are missing, and/or could be modified. Mainly keepout zones are not yet exported to autorouters, and pads are not taken in account. Some code cleanup in polygon.*
-
- 10 Jun, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 05 Jun, 2012 1 commit
-
-
Marco Mattila authored
-
- 16 May, 2012 1 commit
-
-
jean-pierre charras authored
-
- 30 Apr, 2012 1 commit
-
-
Dick Hollenbeck authored
generation tool. For now, it is just an s-expression beautifier using our "non-specctra mode" version of s-expressions.
-
- 25 Apr, 2012 1 commit
-
-
jean-pierre charras authored
Other scaling factors (MILS_TO_IU_SCALING_FACTOR and DECIMILS_TO_IU_SCALING_FACTOR) also defined only in convert_to_biu.h. Allows different scaling value for Gerbview. Needs more tests.
-
- 23 Apr, 2012 1 commit
-
-
Dick Hollenbeck authored
as a starting point * Make double Distance() take double arguments and remove internal range checking. * Start on EDA_DRAW_FRAME::AdjustScrollBars() and use "double" for most all calculations in anticipation of setting INT_MAX INT_MIN limits eventually.
-
- 19 Apr, 2012 1 commit
-
-
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; }
-
- 17 Apr, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 11 Apr, 2012 1 commit
-
-
jean-pierre charras authored
Some minor code cleaning.
-
- 10 Apr, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 20 Feb, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 08 Feb, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 23 Jan, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 22 Jan, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 13 Jan, 2012 1 commit
-
-
jean-pierre charras authored
Gebview: fix issue in export to pcbnew (Track arc shapes are now exported, approximated by segments)
-
- 10 Jan, 2012 1 commit
-
-
jean-pierre charras authored
Pcbnew: fix issue when KICAD_NANOMETER is defined: when zones use htcth to show zones areas, hatch lines were incorrectly calculated (hunded of thousand lines created) Eeschema: fix issue in search: search not made in reference strings. Minor fixes, code cleaning and comment enhancements.
-
- 22 Dec, 2011 1 commit
-
-
jean-pierre charras authored
Better code in test connections in zones. Very minor other fixes
-
- 30 Nov, 2011 1 commit
-
-
Dick Hollenbeck authored
-
- 24 Nov, 2011 1 commit
-
-
Dick Hollenbeck authored
-
- 15 Nov, 2011 1 commit
-
-
Vladimir Ur authored
Some code restyling: VECTOR_PCB is an array. Cleanup uncontrolled definitions of abs, max, etc. max is now overloaded function and MAX is a macro.
-
- 07 Jun, 2011 1 commit
-
-
Wayne Stambaugh authored
* Fix debug build warning (lp:793373). * Changed sheet edit restore and undo to use object copy and replace method. * Add minimum width and height constraints when resizing sheets that have hierarchical pins. * Fix drag sheet hot key bug. * Change Doxygen configuration to extract private methods and members when creating documentation. * Fix a bunch of Doxygen comment warnings.
-
- 17 Mar, 2011 1 commit
-
-
Wayne Stambaugh authored
-
- 23 Feb, 2011 1 commit
-
-
Marco Mattila authored
-
- 22 Feb, 2011 1 commit
-
-
Wayne Stambaugh authored
* Fixed ambiguous call to sqrt() MSVC compiler error. * Fixed a bunch of type conversion warnings in GCC 3 (MinGW).
-