1. 30 Oct, 2014 8 commits
    • Garth Corral's avatar
      - Changed mousewheel handling to pan more smoothly rather than in larger · 4b9db692
      Garth Corral authored
        steps to better support devices with precise scrolling deltas (trackpads).
        Scrolling is done in the handler rather than creating and firing cmd events.
        This is intended to support two-finger scrolling on the Magic Trackpad.
      - Added a preference, 'Use mousewheel to pan', to allow panning by default
        on mousewheel events.  This reverses the existing behavior where unmodified 
        mousewheel zooms and Shift/Cmd modified pans.  
      
        The old behavior was:
        - Unmodified scrollwheel performed zoom in/out
        - Shift modified scrollwheel performed pan up/down
        - Cmd modified scrollwheel performed pan left/right
        - Shift+Cmd modified scrollwheel performed zoom in/out
          with no cursor warp
      
        With the new preference checked, this changes to:
      
        - Unmodified scrollwheel performs pan up/down
        - Shift modified scrollwheel performs pan left/right
        - Cmd modified scrollwheel performs zoom in/out
        - Shift+Cmd modified scrollwheel performs zoom in/out
          with no cursor warp
      
        With the preference unchecked, this is now:
        - Unmodified scrollwheel performed zoom in/out
        - Shift modified scrollwheel performed pan left/right
        - Cmd modified scrollwheel performed pan up/down
        - Shift+Cmd modified scrollwheel performed zoom in/out
          with no cursor warp
      
        It should be noted that for the last case, the behavior has changed.
        This is not arbitrary.  This now matches expected behavior for an OS X
        application.  This also matches what wxWidgets expects on this platform
        as wxWidgets changes the axis of mousewheel events to horizontal when
        the event is shift-modified.
      
        The preference is added everwhere that mouse preferences previously
        existed, i.e., eeschema, pcbnew and gerbview.  The 3D Viewer does
        not yet honor this preference, but behaves as if it was checked.
        The pl_editor does not currently have any preferences to honor.
      
        As with the magnify event support, this covers canvases for all
        current tools, EDA_DRAW_PANEL, EDA_3D_CANVAS and EDA_DRAW_PANEL_GAL.
      
        This does NOT modify the behavior of mousewheel zooming, though it
        probably should.  This remains unsuitable for use with a trackpad,
        use pinch-to-zoom instead.
      4b9db692
    • Garth Corral's avatar
    • Garth Corral's avatar
      - Added a patch to fix http://trac.wxwidgets.org/ticket/15684 · cf020b77
      Garth Corral authored
        
          This was causing scrollwin events to be handled in the wxScrolled
          default handler even if we'd already handled it, resulting in scrolling
          in both the vertical and horizontal direction for a single event.
      cf020b77
    • Garth Corral's avatar
      Added support for wxWidgets magnify events from the Magic Trackpad on OS X · 6c137ac7
      Garth Corral authored
        Committing this separately from the rest to ease making a patch for just this
        functionality in case that it might make it into the trunk.
        
        This can function standalone, though it is less useful without the rest.
        It requires that wxwidgets-3.0.0_macosx_magnify_event.patch be applied to wxWidgets
        It is completely optional; everything is guarded by the USE_OSX_MAGNIFY_EVENT macro.
        
        - Added OnMagnify event handler to EDA_DRAW_PANEL, EDA_3D_CANVAS and the helper for
          EDA_DRAW_PANEL_GAL, WX_VIEW_CONTROLS. This should cover canvases all current tools.
        - Guarded all with USE_OSX_MAGNIFY EVENT feature macro and added support in CMakeLists.txt
      6c137ac7
    • Garth Corral's avatar
      - Add wxWidgets patch to support Cocoa's NSEventTypeMagnify from the Magic Trackpad. · 83667d4d
      Garth Corral authored
        
          This was originally submitted by Jared Boone in http://trac.wxwidgets.org/ticket/14322
          and has been updaetd to apply cleanly to wxWidgets-3.0 (and less cleanly to 3.0.1 an 3.0.2).
          The ticket is marked as accepted but not scheduled, so no idea if it will ever make it in.
      83667d4d
    • Garth Corral's avatar
    • Marco Ciampa's avatar
      5d306bb2
    • jean-pierre charras's avatar
      Pcbnew: fix a serious bug in ZONE_CONTAINER class copy constructor: a pointer... · 09e20c6c
      jean-pierre charras authored
      Pcbnew: fix a serious bug in ZONE_CONTAINER class copy constructor: a pointer was not initialized. Pcbnew crashes when deleting or filling a copied zone.
      Eeschema: remove dead code and uncrutify class_netlist_object.h
      09e20c6c
  2. 29 Oct, 2014 4 commits
  3. 28 Oct, 2014 5 commits
  4. 27 Oct, 2014 2 commits
  5. 26 Oct, 2014 3 commits
  6. 25 Oct, 2014 2 commits
  7. 24 Oct, 2014 3 commits
  8. 23 Oct, 2014 2 commits
  9. 22 Oct, 2014 5 commits
  10. 21 Oct, 2014 4 commits
  11. 20 Oct, 2014 1 commit
  12. 19 Oct, 2014 1 commit