1. 11 Feb, 2011 2 commits
    • 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
    • jean-pierre charras's avatar
      Eeschema: intermediate netlist : fix duplicate pins in libpart, with... · 25fe4920
      jean-pierre charras authored
      Eeschema: intermediate netlist : fix duplicate pins in libpart, with components having 2 shapes (DeMorgan conversion) and somethimes with multi parts per package.
      25fe4920
  2. 10 Feb, 2011 3 commits
  3. 09 Feb, 2011 3 commits
    • 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
    • Marco Mattila's avatar
      563bff9d
    • jean-pierre charras's avatar
      Eeschema: fix a bug that prevents duplicate timestamps to be corrected by annotate function. · 2d2c73ef
      jean-pierre charras authored
      very minor enhancement in netlist dialog.
      Gerbview: remove useless  code I wrote specific to Windows in BOARD::Draw()  function, because Wayne has fixed the bug.
      common_plotPS_functions.cpp: remove a potential bug.
      Rename some classes according to coding style policy.
      2d2c73ef
  4. 08 Feb, 2011 3 commits
  5. 07 Feb, 2011 1 commit
  6. 06 Feb, 2011 1 commit
  7. 05 Feb, 2011 5 commits
  8. 04 Feb, 2011 1 commit
  9. 03 Feb, 2011 5 commits
  10. 02 Feb, 2011 4 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
    • jean-pierre charras's avatar
      Fix bug 711751. · 740c03e7
      jean-pierre charras authored
      740c03e7
  11. 01 Feb, 2011 5 commits
  12. 31 Jan, 2011 2 commits
  13. 30 Jan, 2011 5 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
      fix documentation bugs · 654b8909
      Dick Hollenbeck authored
      654b8909
    • Marco Mattila's avatar
      Fix plot format selection in plot dialog. · 126fe260
      Marco Mattila authored
      126fe260
    • Dick Hollenbeck's avatar
      fix carriage return escape · 9d870fe1
      Dick Hollenbeck authored
      9d870fe1
    • 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