- 13 Feb, 2011 2 commits
-
-
jean-pierre charras authored
Pcbnew: remove duplicate definitions of some flags (like EDIT and IN_EDIT) that have exactly the same meaning, but different values... (very dangerous) Remove obsolete code.
-
jean-pierre charras authored
-
- 12 Feb, 2011 1 commit
-
-
jean-pierre charras authored
-
- 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.
-
- 09 Feb, 2011 1 commit
-
-
Marco Mattila authored
-
- 08 Feb, 2011 2 commits
-
-
jean-pierre charras authored
-
Wayne Stambaugh authored
* Fix rendering bug in GerbView caused by wxDC scaling change caused by setting the wxDC clipping region. * Eliminate the need to have optional background erasing as the change above fixed that problem as well. * Default cursor handling improvements.
-
- 05 Feb, 2011 2 commits
-
-
jean-pierre charras authored
Change in CvPcb: CvPcb does not use now .dcm files, only .mod files to read modules keywords and doc
-
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.
-
- 03 Feb, 2011 3 commits
-
-
Marco Mattila authored
-
Wayne Stambaugh authored
* Changed managed cursor callback definition to include the current cursor drawing position. * Modified all managed cursor callbacks to match new definition. * Added snap to grid option to base drawing frame object. * Changed add no connect managed cursor callback to use new position parameter instead of the stored one. * Lots of coding policy fixes.
-
Marco Mattila authored
-
- 02 Feb, 2011 4 commits
-
-
Dick Hollenbeck authored
-
Wayne Stambaugh authored
* Remove unused member variable m_SizeVisu from base screen object. * Move nearest grid position code into base screen object. * Add get cursor position method to base screen object. * Add position parameter to OnHotKey method in base draw frame and all derived objects. * Pass logical position on left mouse button click and double click events instead of device position. * Pass logical position to on right mouse button click instead of device position. * Use logical event position parameter for locating items in EESchema instead of the stored position. * Remove unused position parameter when displaying component edit dialog in EESchema. * Comment out debugging macro in eeschema/template_field_names.cpp that was preventing debug builds using wxWidgets 2.8.x.
-
Dick Hollenbeck authored
* macros.h now has TO_UTF8() and FROM_UTF8() which are working converters to and from UTF-8 encoding for any wxWidgets build mode. We can switch to them at any time. I am using them now for specctra conversions and elsewhere where I wanted gauranteed UTF8 encoding. * added OUTPUTFORMATTER::Quoted( const wxString& ) to simplify converting to UTF8 encoded s-expression atoms. The recommended technique is now simply: out->Quoted( wxString ).c_str()
-
jean-pierre charras authored
-
- 01 Feb, 2011 4 commits
-
-
Marco Mattila authored
-
jean-pierre charras authored
-
Wayne Stambaugh authored
* ActiveScreen global variable is gone, yeah! * Use drawing coordinates instead of screen coordinates when calling GeneralControle().
-
Marco Mattila authored
-
- 31 Jan, 2011 2 commits
-
-
jean-pierre charras authored
-
Wayne Stambaugh authored
* Use wxDC to calculate screen center position. * Minor grid drawing optimization. * Remove an unnecessary use of global variable ActiveScreen. * Doxygen warning fixes.
-
- 30 Jan, 2011 4 commits
-
-
Wayne Stambaugh authored
* Remove all occurrences if #ifdef USE_WX_ZOOM and all associated code within the #else/#endif block ( old zoom code ). * Removed the build option for USE_WX_ZOOM from CMakeList.txt and config.h.in. * Removed all scaling code in base screen object. * Fixed buffered paint and buffered client DC on Windows. Buffering works properly on Linux and Windows. * Modified kicad_device_context.h to automatically uses buffering on platforms where double buffering is supported natively. * Remove all of the scaled versions of the drawing functions in gr_basic.cpp and any support code. * Removed all traces of ActiveScreen global variable from eeschema and gerbview. * Renamed Recadre_Trace to RedrawScreen in draw frame object. * Renamed PostDirtyRect to RefreshDrawingRect in draw panel object. * Lots of code cleaning an Doxygen comment improvements.
-
Marco Mattila authored
-
Dick Hollenbeck authored
* DSNLEXER::NextTok() now uses two separate modes to parse quoted strings. This gives us the freedom to control our own destiny separate from the constraints put on us by the Specctra DSN spec. * Added Documentation/s-expressions.txt to explain all this. * Enhanced our quoting protocol by moving away from doubling up double quotes to a C line escape mechanism. * Now support multi-line strings, which when properly escaped, can still be read in as a token originating on a single line.
-
Marco Mattila authored
-
- 29 Jan, 2011 1 commit
-
-
Dick Hollenbeck authored
-
- 28 Jan, 2011 1 commit
-
-
Marco Mattila authored
-
- 27 Jan, 2011 2 commits
-
-
Marco Mattila authored
-
Marco Mattila authored
-
- 26 Jan, 2011 1 commit
-
-
jean-pierre charras authored
Pcbnew, Module Editor: fix bug 707692 and other potential crashes (when having a block command in progress and try to make an edit command)
-
- 25 Jan, 2011 1 commit
-
-
jean-pierre charras authored
This was due to a duplicate constants ( with sligtly different values) used to select items in some seach functions that broke filtering. Old definitions removed.
-
- 21 Jan, 2011 2 commits
-
-
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.
-
jean-pierre charras authored
Minor others fixes and enhancements
-
- 20 Jan, 2011 4 commits
-
-
Marco Mattila authored
-
jean-pierre charras authored
Pcbnew: bug fix: m_ZoneMinThickness parameter not copied in zone copy function. In copy block, copied zones have an erroneous m_ZoneMinThickness parmeter value.
-
Wayne Stambaugh authored
* Encapsulate file name member of base screen object. * Encapsulate associated screen member of schematic sheet object. * Create add screen method to schematic sheet object to simplify setting the associated screen. * Move the change file name code in the schematic sheet object to the edit sheet method in the schematic editor frame object to eliminate message dialogs. * Improve reference counting in schematic screen object. * Add helper type definitions for changing schematic object storage to C++ containers.
-
jean-pierre charras authored
Other minor fixes
-
- 19 Jan, 2011 2 commits
-
-
Dick Hollenbeck authored
* TokenList2DsnLexer.cmake now supports comments, which start with a leading # character, and may be either on their own line or on a line after a token. * DSNLEXER::PopReader() now pops even the last LINE_READER* and returns it. ++pcbnew: * SPECCTRA_DB now inherits from new class SPECCTRA_LEXER, which led to a great deal of simplification and code factoring. * Moved specctra keywords into specctra.keywords.
-
jean-pierre charras authored
Eeschem: fix bug when moving fields in schematic: incorrect field move for rotated+mirrored components (added InverseTransform( ) in TRANSFORM class)
-