1. 11 Mar, 2011 1 commit
    • Wayne Stambaugh's avatar
      PCBNew auxiliary tool bar changes and other minor improvements. · 018292a8
      Wayne Stambaugh authored
      * Remove clearance and net class name read only text boxes from PCBNew
        auxiliary tool bar.
      * Display full net class information in message panel when an object that
        supports net classes is selected.
      * Move coordinate string conversion function to EDA_DRAW_FRAME object and
        made it more versatile.
      * Refresh message panel text when units change.
      018292a8
  2. 10 Mar, 2011 1 commit
    • Wayne Stambaugh's avatar
      Schematic editor locate item changes and other minor fixes. · c07b677a
      Wayne Stambaugh authored
      * Move locate function code into schematic screen object.
      * Move test for junction needed into schematic screen object.
      * Move test for marking connected items into schematic screen object.
      * Move delete item function code into schematic screen object.
      * Move delete all markers code into schematic screen object.
      * Add method for locating multiple items in schematic screen object.
      * Fix minor bug in schematic field object hit test declaration.
      * Initial encapsulation work on item picker object.
      * Remove duplicate doxygen comments from item picker object source file.
      c07b677a
  3. 09 Mar, 2011 1 commit
  4. 04 Mar, 2011 1 commit
  5. 03 Mar, 2011 3 commits
    • Wayne Stambaugh's avatar
      Minor EESchema code improvements. · 9769c9b6
      Wayne Stambaugh authored
      * Factor change schematic component orientation code out of switch statement
        into separate function.
      * Remove redundant command events from schematic editor hot key handler.
      9769c9b6
    • jean-pierre charras's avatar
      fix very minor bugs. · 098a20a0
      jean-pierre charras authored
      098a20a0
    • Wayne Stambaugh's avatar
      EESchema and other minor code improvements. · 9e0e43e4
      Wayne Stambaugh authored
      * Change EDA_ITEM set flag function to set flag bits using logical or
        instead of assignment.
      * Add clear flag function to EDA_ITEM to clear flag bit using inverted
        logical and.
      * Factor change schematic text type code out of switch statement into
        a single function call.
      * Schematic text orientation function renaming improvements.
      * Lots of small coding policy changes to updated files.
      9e0e43e4
  6. 02 Mar, 2011 2 commits
  7. 01 Mar, 2011 1 commit
    • Wayne Stambaugh's avatar
      PCBNew control update bug fixes, fixes lp:725963. · 1010601a
      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.
      1010601a
  8. 28 Feb, 2011 1 commit
  9. 27 Feb, 2011 4 commits
  10. 26 Feb, 2011 1 commit
  11. 25 Feb, 2011 1 commit
  12. 24 Feb, 2011 1 commit
    • Wayne Stambaugh's avatar
      Improve handling of tool bar command IDs. · cb647737
      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.
      cb647737
  13. 22 Feb, 2011 3 commits
  14. 21 Feb, 2011 2 commits
    • Wayne Stambaugh's avatar
      Use wxUpdateUIEvent in CVPcb and other minor changes. · c02d90e9
      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.
      c02d90e9
    • Wayne Stambaugh's avatar
      All control state handling is now performed in wxUpdateUIEvent handlers. · bdca3c5e
      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.
      bdca3c5e
  15. 14 Feb, 2011 1 commit
  16. 13 Feb, 2011 1 commit
  17. 11 Feb, 2011 1 commit
    • Wayne Stambaugh's avatar
      Draw panel object refactoring and other minor code cleaning. · 7b8b51b2
      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.
      7b8b51b2
  18. 09 Feb, 2011 1 commit
    • Wayne Stambaugh's avatar
      Fix and enable optimized grid drawing and other minor changes. · 34094e77
      Wayne Stambaugh authored
      * Fix optimized bitmap grid drawing method.
      * Enable optimized grid drawing method on Windows and Linux.
      * Create a helper class for resetting and restoring device context scale
        and origin settings for blitting purposes.
      * Use wxLogTrace instead of wxLogDebug for coordinate dumping in
        drawpanel.cpp.  See comments for more information on enabling coordinate
        tracing.
      * Add flag to allow hiding the drawing cross hair.  Hide cross hair by
        default on OSX.
      * Move get cross hair device position code from draw panel object to base
        screen object.
      * Remove redundant parent member variable from draw panel object by
        overriding wxWindow::GetParent() method.
      34094e77
  19. 08 Feb, 2011 1 commit
    • Wayne Stambaugh's avatar
      GerbView rendering bug fix and other minor improvements. · e01f8967
      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.
      e01f8967
  20. 05 Feb, 2011 3 commits
    • Wayne Stambaugh's avatar
      EESchema command handling and other minor improvements. · 66566f9b
      Wayne Stambaugh authored
      * Schematic editor cancel current tool command now use a single command
        ID that is used everywhere the event is generated.
      * Moved cancel current tool code from Process_Special_Functions to a
        separate event handler.
      * Add idle check method to block select object.
      * Add block active check to base screen object.
      66566f9b
    • jean-pierre charras's avatar
      CvPcb: Code cleanup. Rename WinEDA_CvpcbFrame to CVPCB_MAINFRAME, according to coding style policy. · 9370dd83
      jean-pierre charras authored
      Change in CvPcb: CvPcb does not use now .dcm files, only .mod files  to read modules keywords and doc
      9370dd83
    • Wayne Stambaugh's avatar
      EESchema improvements and other minor fixes. · 0d8cb9b5
      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.
      0d8cb9b5
  21. 04 Feb, 2011 1 commit
  22. 03 Feb, 2011 1 commit
    • Wayne Stambaugh's avatar
      Changes to use cursor position as parameter and snap to grid settings. · 50f063da
      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.
      50f063da
  23. 02 Feb, 2011 3 commits
    • Dick Hollenbeck's avatar
      work around 8 bit wxString B.S. · 1ae44d09
      Dick Hollenbeck authored
      1ae44d09
    • Wayne Stambaugh's avatar
      Use logical cursor position and other minor changes. · 6a26a7f9
      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.
      6a26a7f9
    • Dick Hollenbeck's avatar
      ++common: · 0093f4f6
      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()
      0093f4f6
  24. 01 Feb, 2011 1 commit
  25. 31 Jan, 2011 1 commit
  26. 30 Jan, 2011 2 commits
    • Wayne Stambaugh's avatar
      Use wxDC for all coordinate manipulations. · d657b430
      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.
      d657b430
    • Dick Hollenbeck's avatar
      ++all: · 604edcac
      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.
      604edcac