- 13 Dec, 2013 1 commit
-
-
Povilas Kanapickas authored
-
- 24 Nov, 2013 1 commit
-
-
jean-pierre charras authored
Pcbnew: Code cleaning and bug fix in autoplace functions Dialog exchange footprints has now a separate button to update the .cmp file, only on request.
-
- 06 Apr, 2013 1 commit
-
-
Lorenzo Marcantonio authored
Charras beat me on fixing the include/sch_item_struct.h include issue from 4069
-
- 04 Apr, 2013 1 commit
-
-
Lorenzo Marcantonio authored
In particular the new mechanism for handling extended color palettes is in place, included renaming the ini keys and saving the color name instead of its index; this means better forward compatibility with palette changes. Since ini keys are changed, colors will be reset
-
- 01 Apr, 2013 1 commit
-
-
Lorenzo Marcantonio authored
-
- 28 Sep, 2012 1 commit
-
-
jean-pierre charras authored
-
- 02 Sep, 2012 2 commits
-
-
Lorenzo Marcantonio authored
-
Lorenzo Marcantonio authored
-
- 01 Sep, 2012 1 commit
-
-
Lorenzo Marcantonio authored
-
- 24 May, 2012 1 commit
-
-
brian. authored
-
- 03 May, 2012 1 commit
-
-
jean-pierre charras authored
Add patch from Lorenzo Marcantonio. Fix some warning issues, and zlib issue under Windows (zlib sources added)
-
- 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 Mar, 2012 1 commit
-
-
Wayne Stambaugh authored
* Remove double Clone() function calls from all classes derived from EDA_ITEM. * Lots of Doxygen comment warning fixes.
-
- 15 Mar, 2012 1 commit
-
-
Wayne Stambaugh authored
* All objects derived from EDA_ITEM now have consistent hit test method definitions. * Remove double function calls from all classes derived from SCH_ITEM. * Lots of Doxygen comment fixes.
-
- 26 Feb, 2012 1 commit
-
-
Wayne Stambaugh authored
* Convert Eeschema from manually linked list to DLIST for storing SCH_ITEM objects. * Add helper functions to SCH_SCREEN for appending list of SCH_ITEM objects. * Fix bug in wire editing code for accurate undo/redo behavior. * Add member to DLIST to append another DLIST. * Other minor code cleaning.
-
- 23 Jan, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 09 Jan, 2012 1 commit
-
-
Wayne Stambaugh authored
* Remove unnecessary copy constructors from schematic and component library objects. * Add comment to class definitions where the default copy constructor generated by the compiler was adequate. * Add assignment operator to EDA_ITEM, SCH_ITEM, and all schematic objects where the default assignment operator generated by the compiler would not be adequate.
-
- 29 Dec, 2011 1 commit
-
-
Wayne Stambaugh authored
* EDA_DRAW_PANEL completely encapsulated. * Moved OSX m_overlay member from EDA_DRAW_PANEL to EDA_DRAW_FRAME where it is used. * Doxygen comment warning fixes.
-
- 18 Dec, 2011 1 commit
-
-
jean-pierre charras authored
-
- 07 Dec, 2011 1 commit
-
-
Wayne Stambaugh authored
-
- 06 Dec, 2011 1 commit
-
-
Wayne Stambaugh authored
-
- 19 Oct, 2011 1 commit
-
-
Wayne Stambaugh authored
* Add get and set position methods to all schematic items. * Encapsulate schematic item position members. * Add swap data method to schematic items that lacked one. * Remove global swap data function used by undo and redo functions. * Unify as many schematic move methods as possible. * Remove unnecessary place schematic item methods. * All schematic items are now moved in the same event handler. * Fixed bug in hierarchical sheet get menu item string method. * Make no connect and junction items movable, fixes lp:804048
-
- 16 Oct, 2011 1 commit
-
-
jean-pierre charras authored
All: fix some strings very hard to translate in messages.
-
- 30 Sep, 2011 1 commit
-
-
Wayne Stambaugh authored
* Correct all user strings and comments for the correct capitalization of application names according to JP. They are KiCad, Pcbnew, CvPcb, Eeschema, and GerbView. * Add a note the the user interface policy about the correct capitalization.
-
- 17 Jun, 2011 1 commit
-
-
Wayne Stambaugh authored
* Change the minimum required CMake version to 2.6.4 for all build platforms except Windows and OSX. * Move all schematic plot code from plot.cpp into the appropriate schematic objects. * Create SCH_SCREEN plot method to plot all objects in the schematic screen. * Delete plot.cpp and remove it from the CMakeList file.
-
- 29 Mar, 2011 1 commit
-
-
Wayne Stambaugh authored
* Rename EDA_Rect class to EDA_RECT. * Rename EDA_TextStruct class to EDA_TEXT. * Remove duplicate Doxygen comments from sch_sheet_path.cpp.
-
- 28 Feb, 2011 1 commit
-
-
jean-pierre charras authored
Use UTF-8 encoding only in kicad files. Under Linux, this was already the case. Under Windows, texts with non ascii characters must be corrected. This ensure compatibility between platforms.
-
- 21 Jan, 2011 1 commit
-
-
Wayne Stambaugh authored
* Move schematic wire and bus break code into schematic screen object. * Move schematic test for dangling ends into schematic screen object. * Remove left over debugging output in schematic screen object. * Remove unused file eeschema/cleanup.cpp. * Fix bug in schematic line object hit test algorithm. * Fix a string concatenation compile error added in r2752. * Rename class WinEDA_BasicFrame to EDA_BASE_FRAME. * Rename class WinEDA_DrawFrame to EDA_DRAW_FRAME. * Rename class WinEDA_DrawPanel to EDA_DRAW_PANEL.
-
- 21 Dec, 2010 1 commit
-
-
Wayne Stambaugh authored
-