- 26 Jun, 2012 1 commit
-
-
jean-pierre charras authored
-
- 25 Jun, 2012 1 commit
-
-
jean-pierre charras authored
All: fix a truncation issue in ReturnValueFromString that creates sometimes a small error for values entered in dialogs. Pcbnew: fix a compatibility issue with nano version for zones parameters.
-
- 19 Jun, 2012 1 commit
-
-
jean-pierre charras authored
Very minor other fixes.
-
- 17 Jun, 2012 1 commit
-
-
jean-pierre charras authored
autoroute functions: code cleaning
-
- 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
-
- 09 Jun, 2012 1 commit
-
-
jean-pierre charras authored
-
- 31 May, 2012 1 commit
-
-
jean-pierre charras authored
Eeschema, Libedit: Fix bug that can crashes Eeschema: In libedit 2 mandatory fields could be deleted. Fixed now. Very minor other fixes.
-
- 29 May, 2012 3 commits
-
-
Marco Mattila authored
-
Dick Hollenbeck authored
* Derive the pcbnew copper zone and non-copper zone dialog windows from DIAG_SHIM, which injects some template code. * Update UIpolicies.txt to talk about DIALOG_SHIM support. * Add zone support to eagle_plugin. * Organize ZONE_CONTAINER class declaration for future privacy and accessors.
-
jean-pierre charras authored
-
- 28 May, 2012 1 commit
-
-
Marco Mattila authored
-
- 24 May, 2012 1 commit
-
-
brian. authored
-
- 23 May, 2012 1 commit
-
-
Andrey Fedorushkov 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
-
- 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; }
-
- 17 Apr, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 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.
-
jean-pierre charras authored
Kicad manager: code cleaning. Dead code removed and minor fixes. support of new .kicad_brd extension.
-
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 1 commit
-
-
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.
-
- 11 Apr, 2012 3 commits
-
-
Dick Hollenbeck authored
-
Dick Hollenbeck authored
* Fix bug in PCBNEW dialog_pad_properties.cpp that I introduced several days ago. The m_Master_Pad stuff is stored in the PCB_EDIT_FRAME's BOARD_DESIGN_SETTINGS, not in the FOOTPRINT_EDIT_FRAME's BOARD_DESIGN_SETTINGS (i.e. not stored in the module editor's dummy BOARD). Now we properly initialize the DIALOG_PAD_PROPERTIES::m_Pad_Master reference to the correct master pad dope, instead of to the dummy module BOARD's master pad, which is not used.
-
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.
-
- 06 Apr, 2012 1 commit
-
-
jean-pierre charras authored
-
- 05 Apr, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 26 Mar, 2012 1 commit
-
-
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.
-
- 22 Mar, 2012 1 commit
-
-
Dick Hollenbeck authored
subclass DIALOG_SHIM support. Tried dialog_drc but it has nesting problems due to use of DRCLISTBOX, which needs to be put into its own header file to untangle.
-
- 20 Mar, 2012 1 commit
-
-
jean-pierre charras authored
-
- 19 Mar, 2012 2 commits
-
-
Dick Hollenbeck authored
-
Dick Hollenbeck authored
-
- 17 Mar, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 12 Mar, 2012 1 commit
-
-
jean-pierre charras authored
* make 2 bitmaps more visible. * fix incorrect screen redraw when rotating a component. * netlist : the pcbnew advanced format can be now stored (persistant option) in project config.
-
- 10 Mar, 2012 1 commit
-
-
jean-pierre charras authored
Ckecks more pad parameters in pad editor dialog (previously not tested, so a pad could have some very incorrect parameters)
-
- 09 Mar, 2012 1 commit
-
-
jean-pierre charras authored
Pcbnew: * graphic_item_properties_base.fbp * dialog pad edit: make some strings more easier to translate. * global pad edition: fix a bug that change pad position instead of pad size (round pas only). Eeschema: * fix a bug: new created wires were not alwaes shows until the screen was redrawn.
-