- 18 Oct, 2012 1 commit
-
-
jean-pierre charras authored
fctsys.h: remove useless define. Fix minor issues and add minor enhancements.
-
- 04 Oct, 2012 1 commit
-
-
jean-pierre charras authored
-
- 11 Jul, 2012 1 commit
-
-
l. authored
-
- 08 Jun, 2012 1 commit
-
-
jean-pierre charras authored
Minor code cleaning in autoroute files.
-
- 27 May, 2012 1 commit
-
-
Lorenzo Marcantonio authored
-
- 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 1 commit
-
-
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.
-
- 05 Apr, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 02 Apr, 2012 1 commit
-
-
jean-pierre charras authored
* support for 3 terminal regulators * add a data file management to store parameters for regulators ( name, vref value, Iadj value, type) Needs some refinements, but it is already very useable. Commit dialog page setting patch from Alexander Zakamaldin
-
- 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 1 commit
-
-
Alexander Zakamaldin authored
-
- 08 Mar, 2012 1 commit
-
-
jean-pierre charras authored
All: added a standard exit dialog called by int DisplayExitDialog( wxWindow* aParent, const wxString& aMessage ) Called when closing pcbnew, cvpcb and eeschema. Minor code cleaning: remove duplicate or not used strings (mainly file extensions and wildcards)
-
- 19 Feb, 2012 1 commit
-
-
jean-pierre charras authored
Eeschema: Viewlib is now accessible from Libedit (to browse libs or load a component to edit) Libedit: uses now the same dialog as the schematic editor to load a component Some code cleaning.
-
- 23 Jan, 2012 2 commits
-
-
Dick Hollenbeck authored
-
Dick Hollenbeck authored
-
- 22 Jan, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 17 Jan, 2012 1 commit
-
-
Dick Hollenbeck authored
portrait setting was being overwritten in dialog_page_settings.cpp, add updatePortrait(), improve comments
-
- 16 Jan, 2012 3 commits
-
-
Dick Hollenbeck authored
-
Dick Hollenbeck authored
-
Dick Hollenbeck authored
sizes. Tested with postscript output only. Required minor file format changes to reflect the "portrait" setting. common/dialogs/dialog_page_settings.cpp uses a checkbox but its name is "Landscape", which is inverted from portrait, but since it is the more common choice, I used that rather than portrait. The tooltip for that checkbox makes it clear. No portrait mode is supported for "User" paper size.
-
- 15 Jan, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 09 Jan, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 05 Jan, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 31 Dec, 2011 1 commit
-
-
Dick Hollenbeck authored
-
- 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.
-
- 22 Dec, 2011 2 commits
-
-
Dick Hollenbeck authored
-
Wayne Stambaugh authored
* EDA_DRAW_FRAME completely encapsulated. * Encapsulate the the low hanging fruit in EDA_DRAW_PANEL.
-
- 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.
-
- 29 Sep, 2011 1 commit
-
-
Wayne Stambaugh authored
* Translate French code names and comments. * Dead code removal. * Hot key object and structure coding style policy fixes. * Doxygen comment warning fixes.
-
- 04 Sep, 2011 1 commit
-
-
jean-pierre charras authored
Code cleaning: rename DIALOG_LOAD_ERROR (a stupid name) class to the more understandable HTML_MESSAGE_BOX. rename corresponding files are move them in a better place.
-
- 02 Sep, 2011 1 commit
-
-
jean-pierre charras authored
-
- 31 Aug, 2011 1 commit
-
-
jean-pierre charras authored
Add a new schematic item: SCH_BITMAP. One can insert now images in a schematic. Add Fabrizio Tappero as contributor in Kicad About dialog
-
- 26 Jun, 2011 1 commit
-
-
jean-pierre charras authored
Speed up DIALOG_LOAD_ERROR::ListSet(), used to display lists of errors ( up to 100 x faster) in DRC or loading lib errors
-
- 14 Mar, 2011 2 commits
-
-
Wayne Stambaugh authored
* Fix about dialog escape key termination bug. * Fix edit hot keys dialog escape key termination bug. * Set schematic editor component properties dialog default button. * Fix schematic editor plot DXF dialog escape key termination bug. * Set PCB editor layers setup dialog default button. * Set PCB editor swap layers dialog default button. * Set PCB editor net list dialog default button. * Add comment to UIPolicy.txt about escape key termination requiring proper dialog button IDs.
-
Wayne Stambaugh authored
* Set default button on all dialogs that do not already have a defined default button. The only exception is the EESchema net list dialog which needs converted over to wxFormBuilder and due to it's design makes setting the default button in any tab other than the default tab problematic. * Fix escape key dialog handling bug in EESchema print post script dialog.
-
- 21 Feb, 2011 1 commit
-
-
Wayne Stambaugh authored
* CVPcb now uses wxUpdateUIEvent instead of set toolbars. * Removed duplicate event handlers in CVPcb that were factored into EDA_DRAW_FRAME. * Fix definition of GeneralControle() in CVPcb that prevented it from being called. * Remove rarely used and scary refresh code GeneralControle() method in all main frame windows. * Factor zoom menu and tool bar command IDs down to EDA_DRAW_FRAME.
-
- 15 Feb, 2011 1 commit
-
-
Wayne Stambaugh authored
-
- 05 Feb, 2011 1 commit
-
-
Wayne Stambaugh authored
* Remove base screen methods from draw frame object and correct current screen methods in derived objects. * Move restore old wires function code into schematic screen object. * Make add junction method use current screen position instead of store position. * Move poly line ghosting function into the delete current segment method as that was the only place is was being used. * Add method to base schematic object of testing if object has a label that can be incremented. * Simplified the schematic hierarchy traversing code. * PCBNew Doxygen warning fixes.
-
- 23 Jan, 2011 1 commit
-
-
jean-pierre charras authored
-