- 21 Feb, 2015 1 commit
-
-
Mark Roszko authored
-
- 23 Oct, 2014 1 commit
-
-
Wayne Stambaugh authored
-
- 24 Aug, 2014 1 commit
-
-
jean-pierre charras authored
Rework on env. variable KISYS3DMOD. Until now, was used in different files using different ways, so no consistency between files. code cleanup.
-
- 24 Jun, 2014 1 commit
-
-
Dick Hollenbeck authored
2) Change from legacy Cu stack to counting down from top=(F_Cu or 0). The old Cu stack required knowing the count of Cu layers to make sense of the layer number when converting to many exported file types. The new Cu stack is more commonly used, although ours still gives B_Cu a fixed number. 3) Introduce class LSET and enum LAYER_ID. 4) Change *.kicad_pcb file format version to 4 from 3. 5) Change fixed names Inner1_Cu-Inner14_Cu to In1_Cu-In30_Cu and their meanings are typically flipped. 6) Moved the #define LAYER_N_* stuff into legacy_plugin.cpp where they can die a quiet death, and switch to enum LAYER_ID symbols throughout. 7) Removed the LEGACY_PLUGIN::Save() and FootprintSave() functions. You will need to convert to the format immediately, *.kicad_pcb and *.kicad_mod (=pretty) since legacy format was never going to know about 32 Cu layers and additional technical layers and the reversed Cu stack.
-
- 25 Apr, 2014 1 commit
-
-
Lorenzo Marcantonio authored
- SEGVIA becomes VIA - Drill size moved from TRACK to VIA - Removed shape from TRACK, becomes ViaType in VIA - GetTrace becomes GetTrack, for uniformity - Some minor constification and typo fixes
-
- 25 Feb, 2014 2 commits
-
-
Maciej Suminski authored
Renamed BOARD_CONNECTED_ITEM::SetNet() -> SetNetCode() Added BOARD_CONNECTED_ITEM::GetNet() for accessing NETINFO_ITEM* of a given item. Fixed module editor crash when launched to edit a module from a PCB. Replaced some BOARD::FindNet( item->GetNet() ) calls with BOARD_CONNECTED_ITEM::GetNet().
-
Maciej Suminski authored
Renamed BOARD_CONNECTED_ITEM::SetNet() -> SetNetCode() Added BOARD_CONNECTED_ITEM::GetNet() for accessing NETINFO_ITEM* of a given item. Fixed module editor crash when launched to edit a module from a PCB. Replaced some BOARD::FindNet( item->GetNet() ) calls with BOARD_CONNECTED_ITEM::GetNet().
-
- 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.
-
- 01 May, 2013 1 commit
-
-
Lorenzo Marcantonio authored
- Removed spurious int casts (these are truncated anyway and will break doubles) - Applied the Distance, GetLineLength, EuclideanNorm, DEG2RAD, RAD2DEG ArcTangente and NORMALIZE* functions where possible - ArcTangente now returns double and handles the 0,0 case like atan2, so it's no longer necessary to check for it before calling - Small functions in trigo moved as inline
-
- 31 Mar, 2013 1 commit
-
-
Lorenzo Marcantonio authored
Implemented the LAYER_NUM typedef (LAYER was already taken as a class name...) to represent a layer number.
-
- 30 Mar, 2013 1 commit
-
-
Lorenzo Marcantonio authored
- Renamed ReturnMaskLayer to GetLayerMask (since it's a plain getter)
-
- 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 Jan, 2013 1 commit
-
-
Heikki Pulkkinen authored
-
- 28 Aug, 2012 1 commit
-
-
jean-pierre charras authored
-
- 03 Aug, 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; }
-
- 19 Feb, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 23 Jan, 2012 1 commit
-
-
Dick Hollenbeck authored
-
- 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.
-
- 06 Dec, 2011 1 commit
-
-
jean-pierre charras authored
-
- 24 Nov, 2011 1 commit
-
-
Dick Hollenbeck authored
-
- 01 Oct, 2011 1 commit
-
-
Wayne Stambaugh authored
-
- 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.
-
- 16 Sep, 2011 1 commit
-
-
Wayne Stambaugh authored
* Refactor trace search functions into the appropriate object. * Translate French code names and comments. * Lots of coding style policy fixes.
-
- 15 Sep, 2011 1 commit
-
-
Wayne Stambaugh authored
* Refactor pad locate code into the appropriate object. * Dead code removal. * Lots of coding style policy fixes.
-
- 14 Sep, 2011 2 commits
-
-
Wayne Stambaugh authored
* Refactor via locate code into the appropriate object. * Rename all HightLight code to HighLight. * Dead code removal.
-
Wayne Stambaugh authored
-
- 13 Sep, 2011 1 commit
-
-
Wayne Stambaugh authored
* Move various locate functions into the appropriate board item object. * Unified best zoom for all frames derived from PCB_BASE_FRAME. * Remove track.cpp as it is no longer needed. * Dead code removal. * Remove scary frame window pointer member from board item objects. * Add draw bounding box to gerber draw item for debugging purposes.
-
- 07 Sep, 2011 1 commit
-
-
Wayne Stambaugh authored
* Changed <wx-2.8/xml/xml.h> to "xnode.h" in pcbnew_config.cpp to fix bug when building against wxWidgets 2.9 and above. * Convert broken wxXmlNode code to use XNODE. * Overloaded XNODE constructor for creating child nodes. * Translate French naming conventions. * Translate French comments. * Remove tabs from several source files. * Coding style policy and Doxygen comment fixes.
-
- 06 Sep, 2011 1 commit
-
-
Wayne Stambaugh 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.
-
- 02 Feb, 2011 1 commit
-
-
jean-pierre charras authored
-
- 01 Feb, 2011 1 commit
-
-
Wayne Stambaugh authored
* ActiveScreen global variable is gone, yeah! * Use drawing coordinates instead of screen coordinates when calling GeneralControle().
-
- 29 Dec, 2010 1 commit
-
-
jean-pierre charras authored
-
- 31 Jan, 2010 1 commit
-
-
charras authored
removed global variables and a lot of redundancies
-
- 28 Oct, 2009 1 commit
-
-
charras authored
-
- 10 Oct, 2009 1 commit
-
-
charras authored
Fixed problems in libedit and crashes when no component loaded
-