- 05 Aug, 2013 1 commit
-
-
Dick Hollenbeck authored
formatting and fix selection clarification bug in pcbnew, could not move reference text when hidden under another footprint
-
- 03 Aug, 2013 1 commit
-
-
Dick Hollenbeck authored
*) add hotkey for setting the grid origin as 'S', in board editor, module editor. *) re-position the function interface for cursor movement from BASE_SCREEN into class EDA_DRAW_FRAME. This is a prelude to getting rid of BASE_SCREEN or splitting it up.
-
- 27 Mar, 2013 1 commit
-
-
Lorenzo Marcantonio authored
Drc_On => g_Drc_On Route_Layer_TOP => g_Route_Layer_TOP Route_Layer_BOTTOM => g_Route_Layer_BOTTOM Track_45_Only_Allowed => g_Track_45_Only_Allowed
-
- 13 Mar, 2013 1 commit
-
-
Wayne Stambaugh authored
* Encapsulate most of the MODULE class. * Start encapsulating the DIMENSION class. * Lay some groundwork for EDA_TEXT encapsulation. * Move cleverly hidden MODULE functions into class_module.cpp. * Use std::swap to exchange TEXTE_PCB values for undo/redo. * Remove unused members from MODULE class. * The usual coding policy and documentation fixes.
-
- 22 Sep, 2012 1 commit
-
-
jean-pierre charras authored
All: remove macros MAX, MIN, ABS from macros.h and replace these macros by std::max, std::min and std::abs (mainly found in old code).
-
- 28 Aug, 2012 1 commit
-
-
jean-pierre charras authored
-
- 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)
-
- 13 Jul, 2012 1 commit
-
-
jean-pierre charras authored
This is *a work in progress*, so some features are missing, and/or could be modified. Mainly keepout zones are not yet exported to autorouters, and pads are not taken in account. Some code cleanup in polygon.*
-
- 08 Jun, 2012 1 commit
-
-
jean-pierre charras authored
Minor code cleaning in autoroute files.
-
- 25 May, 2012 1 commit
-
-
Lorenzo Marcantonio 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.
-
- 23 Jan, 2012 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 1 commit
-
-
Wayne Stambaugh authored
* EDA_DRAW_FRAME completely encapsulated. * Encapsulate the the low hanging fruit in EDA_DRAW_PANEL.
-
- 21 Dec, 2011 1 commit
-
-
Wayne Stambaugh authored
* EDA_RECT and EDA_ITEM completely encapsulated. * Removed unnecessary EDA_ITEM member m_Selected and replaced functionality with SELECTED flag bit.
-
- 16 Dec, 2011 1 commit
-
-
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.
-
- 12 Dec, 2011 1 commit
-
-
Dick Hollenbeck authored
-
- 27 Oct, 2011 1 commit
-
-
Vladimir Ur authored
Now it select module from selected side if present. Especially handy in contrast view.
-
- 13 Oct, 2011 1 commit
-
-
Wayne Stambaugh authored
* Factor auto save common code into base frame class so all frame windows can take advantage of the shiny new auto save goodness. * Use a timer instead of depending on mouse and keyboard events to trigger an auto save. * Check for auto save file when opening a board and ask user if they wish to use the auto save file or the last saved board file. * Protect all base frame public members.
-
- 01 Oct, 2011 1 commit
-
-
Wayne Stambaugh authored
-
- 26 Sep, 2011 1 commit
-
-
Wayne Stambaugh authored
* Move auto save time global variables into PCB_EDIT_FRAME object. * Move footprint library name list global variable int PCB_EDIT_FRAME object. * Improve library back up and temporary file error message strings and make them translatable. * PCBNew string unification. * Translate French code names and comments. * Coding style policy and Doxygen comment fixes.
-
- 23 Sep, 2011 1 commit
-
-
Wayne Stambaugh authored
* All header files used to create the PCB common library now compile as stand alone code. This prevents the need to define them in a specific order to make source code compile properly. It should also now be possible to relocate the source code to build the common PCB library to a separate folder.
-
- 08 Sep, 2011 1 commit
-
-
Dick Hollenbeck authored
-
- 01 Sep, 2011 1 commit
-
-
Wayne Stambaugh authored
* Rename all ADD_MENUITEM_* functions to AddMenuItem and move them to wxstruct.h since they are used by the Kicad main frame classes. * Move SET_BITMAP and SETBITMAPS definitions to wxstruct.h. * Fix a bug in SET_BITMAPS that prevented enabling menu item images on OSX. * Rename MsgItem to EDA_MSG_ITEM. * Remove redundant includes from modified files. * Doxygen and coding style policy fixes.
-
- 29 Aug, 2011 1 commit
-
-
Dick Hollenbeck authored
-
- 26 Aug, 2011 1 commit
-
-
Wayne Stambaugh authored
* Check user write permissions before saving project, board, and footprint library files. * Append read only to file name and path in title bar when the user does not have write privileges. * Rename class WinEDA_ModuleEditFrame to FOOTPRINT_EDIT_FRAME. * Lot's of Doxygen comment and coding style policy fixes.
-
- 01 Aug, 2011 1 commit
-
-
Wayne Stambaugh authored
* Move clarification menu icon code from base board item object to the appropriate object. * Remove left over French comments. * Coding policy fixes.
-
- 14 Jul, 2011 1 commit
-
-
Wayne Stambaugh authored
* Move menu text code from base board item object to the appropriate object. * Add helper to get board layer to base board item object.
-
- 12 May, 2011 1 commit
-
-
jean-pierre charras authored
Minor other fixes.
-
- 10 Mar, 2011 1 commit
-
-
jean-pierre charras authored
-
- 01 Mar, 2011 1 commit
-
-
Wayne Stambaugh authored
* Fix grid select box update bug on context menu. * Fix via size and track width select box update bugs. * Fix layer pair indicator button update bug. * Fix auto track width tool bar control enable bug. * Fix via size and track width select status bug in context menu. * Fix layer select box and layer control widget select bug when current layer is removed. * Add virtual function to notify objects derived from EDA_DRAW_FRAME that the units setting has changed. * Coding policy class naming fixes.
-
- 28 Feb, 2011 1 commit
-
-
Marco Mattila authored
-
- 24 Feb, 2011 1 commit
-
-
Wayne Stambaugh authored
* Make EDA_DRAW_FRAME current tool ID member variable private. * Added global no tool selected ID to replace application specific no tool selected IDs. * Change SetToolID to prevent setting the tool ID to anything less than the new global no tool selected ID and assert on debug builds. * Change command and update user interface command event handlers to use new global no tool selected ID. * Fixed schematic library editor add pin hot key handler.
-
- 22 Feb, 2011 1 commit
-
-
Wayne Stambaugh authored
* Remove global key press variable. The key press is know passed to GeneralControl(). * Removed unused old mouse buttons global variable.
-
- 21 Feb, 2011 2 commits
-
-
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.
-
Wayne Stambaugh authored
* Old control state handling code completely removed in all applications. * Factor common control state handlers into EDA_DRAW_FRAME. * Replaced EDA_ITEM test for newness with IsNew() method. * Factor vertical right toolbar command handlers out of giant edit command switch statement in EESchema and PCBNew.
-
- 11 Feb, 2011 1 commit
-
-
Wayne Stambaugh authored
* Rename all member variables and methods that reference the cross hair code in draw panel object from cursor to cross hair to eliminate confusion between the two concepts. * Rename cursor capture call backs in draw panel object to improve code readability. * Create helper class for turning off the cross hair while drawing. * Remove redundant block clear code. * Remove redundant mouse capture call back reset code when end capture call back is called. * Remove unused function definitions in base draw frame object. * Lots of minor coding policy and doxygen comment fixes.
-