- 12 Jan, 2013 1 commit
-
-
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.
-
- 06 Jan, 2013 1 commit
-
-
jean-pierre charras authored
-
- 27 Dec, 2012 1 commit
-
-
jean-pierre charras authored
Pcbnew: board editor: allows pad edition by hotkey 'E' (was accessible only by mouse button right click) All: minor code cleaning and very minor bug fixes.
-
- 18 Dec, 2012 1 commit
-
-
Wayne Stambaugh authored
-
- 29 Nov, 2012 1 commit
-
-
Wayne Stambaugh authored
* Fix offset errors when scale factor greater is than one. * Changed behavior of fit in page when not drawing border and title block to fit board outline in page. * Fix offset errors when mirroring (still not 100% correct on MSW with wxWidgets 2.9.4). * Lots of the usual code cleaning and simplifying.
-
- 20 Nov, 2012 1 commit
-
-
marco. authored
MacOSX: disabling BufferedBitmap of OSX in gerbview, not supported nor accelerable and bitmap becomes too large in case of retina display to be usable
-
- 24 Oct, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 04 Oct, 2012 1 commit
-
-
jean-pierre charras authored
-
- 27 Sep, 2012 1 commit
-
-
marco. authored
-
- 22 Sep, 2012 1 commit
-
-
jean-pierre charras authored
All: remove macros MAX, MIN, ABS from macros.h and replace these macros by std::max, std::min and std::abs (mainly found in old code).
-
- 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()
-
- 12 Sep, 2012 2 commits
-
-
jean-pierre charras authored
-
jean-pierre charras authored
Other minor fixes.
-
- 11 Sep, 2012 1 commit
-
-
jean-pierre charras authored
Code cleaning, minor fixes and minor coding style fixes. wxWidgets 2.9.4 compatibility fix( deprecated function MakeModal )
-
- 02 Sep, 2012 2 commits
-
-
Lorenzo Marcantonio authored
-
Lorenzo Marcantonio authored
-
- 01 Sep, 2012 1 commit
-
-
Lorenzo Marcantonio authored
-
- 29 Aug, 2012 2 commits
-
-
Lorenzo Marcantonio authored
-
Lorenzo Marcantonio authored
-
- 04 Aug, 2012 1 commit
-
-
jean-pierre charras authored
-
- 14 Jun, 2012 1 commit
-
-
jean-pierre charras authored
Pcbnew: automatic selection of plugin when loading a file with .kicad_pcb extension from history list. Very minor other fixes
-
- 19 May, 2012 1 commit
-
-
jean-pierre charras authored
-
- 18 May, 2012 1 commit
-
-
jean-pierre charras authored
Because this bug could create bad values in footprint libraries, this parameter is now checked when reading a footprint description in legacy format
-
- 10 May, 2012 2 commits
-
-
jean-pierre charras authored
-
jean-pierre charras authored
-
- 06 May, 2012 3 commits
-
-
Dick Hollenbeck authored
-
jean-pierre charras authored
-
jean-pierre charras authored
Eeschema (also Libedit and Libview) starts always to the default grid (50 mils) Gerbview starts with the last selected grid, but the validity is tested. In Pcbnew the grid value is always displayed, so it should always be good.
-
- 04 May, 2012 1 commit
-
-
jean-pierre charras authored
Should allow Pcbnew code easier to change and Gerbview code more understandable and easier to maintain. Code cleaning (remove dead code, add comments). Minor other enhancements.
-
- 26 Apr, 2012 2 commits
-
-
jean-pierre charras authored
All: change MILS_TO_IU_SCALING_FACTOR constant to IU_PER_MILS ( and MM_TO_IU_SCALING_FACTOR to IU_PER_MM) Also fix bug 985654.
-
jean-pierre charras authored
All: change MILS_TO_IU_SCALING_FACTOR constant to MILS_PER_IU ( and MM_TO_IU_SCALING_FACTOR to MM_PER_IU) Also fix bug 985654.
-
- 25 Apr, 2012 2 commits
-
-
jean-pierre charras authored
-
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.
-
- 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; }
-
- 18 Apr, 2012 1 commit
-
-
jean-pierre charras authored
-
- 17 Apr, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 16 Apr, 2012 1 commit
-
-
Wayne Stambaugh authored
* Scale page reference border and title block, grid sizes, and zoom factors correctly for nanometers.
-
- 11 Apr, 2012 1 commit
-
-
jean-pierre charras authored
If enable in preference menu, allow the pan with drag mouse with middle button down. both unlimited and limited pan is allowed.
-
- 09 Apr, 2012 1 commit
-
-
jean-pierre charras authored
Enhancements in AddMenuItem (that accepts now a menu type) Partial use of the Edwin van den Oetelaar's patch (patch not fully working or correct)
-
- 07 Apr, 2012 1 commit
-
-
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.
-