- 23 Dec, 2012 1 commit
-
-
marco. authored
-
- 15 Dec, 2012 1 commit
-
-
jean-pierre charras authored
-
- 04 Oct, 2012 1 commit
-
-
jean-pierre charras authored
Pcbnew: fix an issue when collecting vias (for instance when left clicking on a via, it was not always detected) This bug was mainly noticeable when using buried vias (some were never detected) Minor other fixes (typos, strings hard to translate ...)
-
- 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 1 commit
-
-
jean-pierre charras authored
All: fix some Doxygen warnings
-
- 11 Sep, 2012 2 commits
-
-
jean-pierre charras authored
Code cleaning, minor fixes and minor coding style fixes. wxWidgets 2.9.4 compatibility fix( deprecated function MakeModal )
-
jean-pierre charras authored
Pcbnew: drag functions: serious cleanup and better code. Use now the connectivity functions to find tracks connected to pads, and therefore tracks are now dragged when a end point is inside a pad, not necessary on the pad position. However, drag functions still need more cleanup.
-
- 29 Aug, 2012 1 commit
-
-
Lorenzo Marcantonio authored
-
- 28 Aug, 2012 1 commit
-
-
jean-pierre charras authored
-
- 27 Aug, 2012 2 commits
-
-
jean-pierre charras authored
-
jean-pierre charras authored
-
- 26 Aug, 2012 2 commits
-
-
jean-pierre charras authored
-
jean-pierre charras authored
* serious code cleanup (remove duplicate code) * shows (option in 3D preference menu) the copper items (tracks, zones...) in 3D, using 35 microns copper thickness. However, because there are a lot more3D data to show (roughly 4 times more), this is slower.
-
- 23 Aug, 2012 1 commit
-
-
jean-pierre charras authored
3d-viewer and polygon functions: remove duplicate code about conversion from basic shapes to polygons.
-
- 21 Aug, 2012 1 commit
-
-
jean-pierre charras authored
Eeschema: annotate and netlist dialogs: enhancements. Minor coding policy fixes and changes.
-
- 11 Aug, 2012 1 commit
-
-
jean-pierre charras authored
All: press ctrl+shift key when moving the mouse allows the graphic cursor to be moved outside the grid. (useful to place graphic objects, texts in any position, regardless the current grid)
-
- 04 Aug, 2012 1 commit
-
-
jean-pierre charras authored
-
- 25 Jul, 2012 1 commit
-
-
jean-pierre charras authored
Some coding style policy fix.
-
- 09 Jun, 2012 1 commit
-
-
Wayne Stambaugh authored
* Add s-expression file parser object and keyword files. * Fix minor issues with s-expression file formatting. * Fix a minor bug the zone container fill state parsing in the legacy plugin. * Move EDA_TEXT visibility definition to eda_text.h. * Add minor BOARD_ITEM object improvements to support s-expression file parser.
-
- 02 Jun, 2012 1 commit
-
-
Marco Mattila authored
-
- 11 May, 2012 1 commit
-
-
jean-pierre charras authored
3D viewer: fix incorrect scaling factor when using nanometers. Very minor other fixes
-
- 27 Apr, 2012 1 commit
-
-
jean-pierre charras authored
-
- 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; }
-
- 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)
-
- 26 Mar, 2012 1 commit
-
-
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.
-
- 26 Feb, 2012 1 commit
-
-
jean-pierre charras authored
ModEdit (and ModView): make "invisible" texts visible. They are not visible in the board editor, but must be visible in the footprint editor. Minor doc update.
-
- 25 Feb, 2012 1 commit
-
-
jean-pierre charras authored
-
- 08 Feb, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 02 Feb, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 23 Jan, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 10 Jan, 2012 1 commit
-
-
jean-pierre charras authored
Pcbnew: fix issue when KICAD_NANOMETER is defined: when zones use htcth to show zones areas, hatch lines were incorrectly calculated (hunded of thousand lines created) Eeschema: fix issue in search: search not made in reference strings. Minor fixes, code cleaning and comment enhancements.
-
- 27 Dec, 2011 1 commit
-
-
jean-pierre charras authored
Eeschema: fix a minor issue.
-
- 16 Dec, 2011 2 commits
-
-
Wayne Stambaugh authored
-
Wayne Stambaugh authored
* EDA_DRAW_FRAME completely encapsulated except for DrawFrame member. * Moved members specific to Pcbnew from EDA_DRAW_FRAME to PCB_BASE_FRAME or PCB_EDIT_FRAME as appropriate. * Replace EDA_TOOLBAR with wxAuiToolBar as EDA_TOOL bar provided no additional functionality and made code less readable. * Remove EDA_TOOLBAR class definition from wxstruct.h and delete file wineda_toolbar.cpp. * Rename tool bar members to something more descriptive since the horizontal and vertical references wont mean anything once the tool bars are movable. * Lots of dead code removal.
-
- 14 Dec, 2011 2 commits
-
-
Dick Hollenbeck authored
-
Dick Hollenbeck authored
-
- 05 Dec, 2011 1 commit
-
-
Dick Hollenbeck authored
* Removed Pcb_Frame argument from BOARD() constructor, since it precludes having a BOARD being edited by more than one editor, it was a bad design. And this meant removing m_PcbFrame from BOARD. * removed BOARD::SetWindowFrame(), and BOARD::m_PcbFrame * Removed the global BOARD_DESIGN_SETTINGS which was in class_board.cpp * added BOARD_DESIGN_SETTINGS to the BOARD class, a full instance * a couple dialogs now only change BOARD_DESIGN_SETTINGS when OK is pressed, such as dialog_mask_clearance, dialog_drc, etc. * Removed common/pcbcommon.cpp's int g_CurrentVersionPCB = 1 and replaced it with build_version.h's #define BOARD_FILE_VERSION, although there may be a better place for this constant. * Made the public functions in PARAM_CFG_ARRAY be type const. void SaveParam(..) const and void ReadParam(..) const * PARAM_CFG_BASE now has virtual destructor since we have various way of destroying the derived class and boost::ptr_vector must be told about this. * Pass const PARAM_CFG_ARRAY& instead of PARAM_CFG_ARRAY so that we can use an automatic PARAM_CFG_ARRAY which is on the stack.\ * PCB_EDIT_FRAME::GetProjectFileParameters() may no longer cache the array, since it has to access the current BOARD and the BOARD can change. Remember BOARD_DESIGN_SETTINGS are now in the BOARD. * Made the m_BoundingBox member private, this was a brutally hard task, and indicative of the lack of commitment to accessors and object oriented design on the part of KiCad developers. We must do better. Added BOARD::GetBoundingBox, SetBoundingBox(), ComputeBoundingBox(). * Added PCB_BASE_FRAME::GetBoardBoundingBox() which calls BOARD::ComputeBoundingBox()
-
- 29 Nov, 2011 1 commit
-
-
Dick Hollenbeck authored
the GetPosition() and SetPosition() changes. It also starts towards making m_Orientation and m_Thickness fields private with accessors, but does not complete this latter goal.
-
- 26 Nov, 2011 1 commit
-
-
jean-pierre charras authored
-
- 24 Nov, 2011 1 commit
-
-
Dick Hollenbeck authored
-