- 26 May, 2013 1 commit
-
-
Dick Hollenbeck authored
File "rules" has instructional text as comments near top. 2) Convert all text files in repo to LF line ending form. Any checkout done with "rules" in play will convert the working tree to native line ending, while keeping repo as LF line ending.
-
- 14 May, 2013 1 commit
-
-
jean-pierre charras authored
Pcbnew: fix bug 1179877, due a bad default copy constructor, after my changes about CPOLYGONS_LIST class. More about CPOLYGONS_LIST work.
-
- 09 May, 2013 1 commit
-
-
jean-pierre charras authored
Pcbnew: fix minor bug about plot line width.
-
- 08 May, 2013 1 commit
-
-
jean-pierre charras authored
-
- 04 May, 2013 1 commit
-
-
Lorenzo Marcantonio authored
-
- 03 May, 2013 1 commit
-
-
jean-pierre charras authored
This is a starting point of some code enhancements relative to polygons in Pcbew and 3D viewer.
-
- 01 May, 2013 1 commit
-
-
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
-
- 30 Apr, 2013 1 commit
-
-
Lorenzo Marcantonio authored
-
- 06 Apr, 2013 1 commit
-
-
Lorenzo Marcantonio authored
the spurious warning about stuff that couldn't be seen when changing colours. NOTE that the 'net name' layer is present and configurable but non used anywhere!
-
- 05 Apr, 2013 1 commit
-
-
Lorenzo Marcantonio authored
-
- 01 Apr, 2013 1 commit
-
-
jean-pierre charras authored
Minor changes in dialogs to ensure a better likeness between dialogs on Linux and Windows (mainly, remove some wxStaticBoxSizer in dialogs)
-
- 31 Mar, 2013 1 commit
-
-
Lorenzo Marcantonio authored
Implemented the LAYER_NUM typedef (LAYER was already taken as a class name...) to represent a layer number.
-
- 30 Mar, 2013 1 commit
-
-
Lorenzo Marcantonio authored
- Renamed ReturnMaskLayer to GetLayerMask (since it's a plain getter)
-
- 19 Feb, 2013 1 commit
-
-
jean-pierre charras authored
Pcbnew: Export vrml: fix an issue for 3D shapes having a local offset defined: the local offset was not correctly scaled.
-
- 12 Feb, 2013 1 commit
-
-
Dick Hollenbeck authored
-
- 10 Feb, 2013 1 commit
-
-
jean-pierre charras authored
-
- 26 Jan, 2013 1 commit
-
-
jean-pierre charras authored
Pcbnew: fix a very old bug in DRC, pad to pad drc tests: sometimes a test between a rectangular pad and an oval pad was skipped. Segment Hit Test: enhanced detection near segment ends (noticeable for instance when clicking on short tracks in Pcbnew. Remove duplicate code about segment hit test. remove unused file.
-
- 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; }
-