- 27 May, 2012 1 commit
-
-
Lorenzo Marcantonio authored
-
- 25 May, 2012 3 commits
-
-
Andrey Fedorushkov authored
-
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.
-
Lorenzo Marcantonio authored
-
- 24 May, 2012 1 commit
-
-
brian. authored
-
- 23 May, 2012 1 commit
-
-
jean-pierre charras authored
-
- 16 May, 2012 1 commit
-
-
jean-pierre charras authored
-
- 13 May, 2012 1 commit
-
-
jean-pierre charras authored
Pcbnew: fix Pcbnew name capitalization in messages. About dialog: add a link to kicad-pcb.org
-
- 10 May, 2012 1 commit
-
-
jean-pierre charras authored
-
- 06 May, 2012 2 commits
-
-
Dick Hollenbeck 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.
-
- 05 May, 2012 2 commits
-
-
Jerry Jacobs authored
-
Dick Hollenbeck authored
Delete LEGACY_PLUGIN cache after deleting library of same name. Remove automatically generted freerouter help header. Add Normalize() to BOX2. Clamp some values in the virtual space of drawframe.cpp
-
- 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.
-
- 03 May, 2012 2 commits
-
-
jean-pierre charras authored
-
jean-pierre charras authored
Add patch from Lorenzo Marcantonio. Fix some warning issues, and zlib issue under Windows (zlib sources added)
-
- 27 Apr, 2012 1 commit
-
-
jean-pierre charras authored
-
- 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 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.
-
- 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; }
-
- 16 Apr, 2012 4 commits
-
-
Wayne Stambaugh authored
* Remove internal units from BASE_SCREEN and it's derivatives. * Remove internal units from EDA_DRAW_FRAME and it's derivatives. * Use build time code to replace internal units conversions. * Fix scaling bug in page layout sample window that I created in my last commit.
-
Wayne Stambaugh authored
* Move all convert from user to internal units into base_units.cpp. * Remove internal units parameters from all moved conversion functions. * Revise all source code that calls the moved conversion functions. * Remove internal units from all dialog text control helper classes.
-
Dick Hollenbeck authored
-
Wayne Stambaugh authored
* Scale page reference border and title block, grid sizes, and zoom factors correctly for nanometers.
-
- 15 Apr, 2012 1 commit
-
-
lajos kamocsay authored
Other minor fixes.
-
- 13 Apr, 2012 2 commits
-
-
Wayne Stambaugh authored
* Move all convert from internal to user units functions into separate file. * Remove internal units parameter from all moved conversion functions. * Revise all source code that calls the moved conversion functions. * Compile these conversion routines separately for the appropriate pcb or schematic internal units. * Move internal units specific status bar update code into the appropriate application for updating the status bar. * Move millimeter user units rounding function to common.cpp.
-
jean-pierre charras authored
drawframe.cpp: commit a fix about scrollbars from lajos kamocsay
-
- 12 Apr, 2012 1 commit
-
-
Wayne Stambaugh authored
* Move EDA_TEXT object into separate header and source file. * Compile EDA_TEXT class separately for BOARD_ITEM and SCH_ITEM units. * Compile PAGE_INFO class separately for BOARD_ITEM and SCH_ITEM units. * Minor formatting tweaks to Pcbnew s-expression file. * Move internal unit formatting functions into BOARD_ITEM and SCH_ITEM.
-
- 11 Apr, 2012 2 commits
-
-
jean-pierre charras authored
-
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
-
-
jean-pierre charras authored
-
- 05 Apr, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 01 Apr, 2012 1 commit
-
-
Wayne Stambaugh authored
* Add s-expression Format() function to all objects derived from BOARD_ITEM. * Add s-expression Format() function to base objects as required. * Add functions to convert coordinates from base internal units (nanometers) to millimeter string for writing to s-expression file. * Add temporary dummy conversion functions to prevent link errors until schematic and board object and action code can be separated into DSO/DLL. * Add CMake build option to build Pcbnew with nanometer internal units.
-
- 28 Mar, 2012 1 commit
-
-
jean-pierre charras authored
-
- 27 Mar, 2012 1 commit
-
-
jean-pierre charras authored
Eeschema: one string with a bad char (\a, not useable in internationalized strings). Dialog_page_settings: use not translated strings in code, so strings can be freely translated for the UI. (Initial code was not working with existing translations) Update 2 icons.
-
- 26 Mar, 2012 2 commits
-
-
Wayne Stambaugh authored
* BLOCK_SELECTOR class is not longer derived from EDA_ITEM. * Encapsulate BLOCK_SELECTOR class member variables and add access methods. * Move HandleBlockBegin() function from block_commande.cpp to drawframe.cpp. * Remove virtual methods from top level derived objects per future coding policy change. * Remove Doxygen copydoc statement from objects derived from EDA_ITEM since the comments are automatically copied to the derived object. * Removed copy and pasted Doxygen comments from objects derived from EDA_ITEM.
-
Alexander Zakamaldin authored
-
- 24 Mar, 2012 1 commit
-
-
jean-pierre charras authored
class EDA_RECT: is no more derived from EDA_ITEM, just from EDA_RECT (reason: does not use anything in EDA_ITEM) issue in cast to wxRect fixed (EDA_RECT accepts negative size, but not wxRect, so the wxRectcast is normalized now). This fixes some bugs. A minor other bug fix in Pcbnew.
-