1. 06 Apr, 2015 1 commit
  2. 05 Oct, 2014 1 commit
  3. 12 Sep, 2014 1 commit
    • David Gobbi's avatar
      Interpret OS X Command key as Ctrl instead of Alt. · e27035d8
      David Gobbi authored
      After this change, VTK apps that map the Ctrl modifier to actions
      will be more intuitive on OS X, since OS X users use the Command
      key the same way that Windows and Linux users use the Ctrl key.
      Change-Id: Iee77d7ba2541276ddf164c708bf18be2601eed05
  4. 11 Sep, 2014 1 commit
    • David Gobbi's avatar
      Clean up cocoa input event handling. · 9a2c2017
      David Gobbi authored
      The vtkCocoaGLView class was full of copy/paste duplication.  Common code
      has now been consolidated.  Also, the loops for handling mouse drag events
      have been removed, because they caused events to be handled out of order.
      Change-Id: I23c521b149bc29ec0597ef4fb9170a21b0fc0457
  5. 14 Feb, 2014 1 commit
    • Sean McBride's avatar
      Various Cocoa improvements and fixes · a3e9fc90
      Sean McBride authored
      Changed behaviour of vtkCocoaRenderWindowInteractor::TerminateApp().
      It used to do one of two things: 1) terminate the application completely,
      or 2) close the NSWindow and stop the event loop.  Now it never closes
      the NSWindow, never terminates the application, and always stops the
      event loop.  Start() and TerminateApp() are now pairs, which is how other
      platforms already behave.  Also refactored NSApplication runloop
      starting/stopping code into static functions that do only that.  Makes
      more sense since there is only one event loop, there doesn't need to be
      an association with any class or instance.  Thanks to Pat Marion for
      reporting this problem and creating a patch.
      Changed of behaviour observing for NSWindow closing.  First, moved the
      private vtkCocoaServer class from vtkCocoaRenderWindowInteractor to
      vtkCocoaRenderWindow.  Its job is to observe window closing.  Since
      vtkCocoaRenderWindow creates the NSWindow, it make more sense there.
      We were previously careful to only observe NSWindows created by VTK,
      but are now also careful to *stop* observing only those same windows,
      whereas previously there was an outside chance of stopping observation
      of all window closes, which is something a library should not do
      (who knows what else the application is doing).  Now when an observed
      NSWindow closes, we no longer stop the event loop, but merely remove
      our reference to it.
      Changed vtkCocoaRenderWindow::SetWindowName() to interpret its char*
      string parameter as UTF8 instead of ASCII.
      Fixed possible memory leaks in ~vtkCocoaRenderWindow.
      Replaced most invocations of 'autorelease' in favour of 'release'.
      The motivation being that VTK, as a library, might sometimes be called
      before an autorelease pool is even setup, so better to avoid autoreleased
      objects as much as possible.
      Fixed some whitespace and coding conventions
      (asterisk positioning, constness, etc.)
      Change-Id: I5a5d410012980ee9f6c637c340e98e3daa5aee74
  6. 20 Dec, 2012 1 commit
  7. 13 Nov, 2012 1 commit
    • Sean McBride's avatar
      misc code review of VTK Cocoa code. · 6c4ac2be
      Sean McBride authored
      Renamed Obj-C ivars to start with underscore, per convention. Got rid of 10.5 era workaround. Updated some comments, especially wrt ARC memory management. Fixed some white space. All minor stuff.
      Change-Id: Ib1283176980d70ee5c25a43b754ec558fc47a7a4
  8. 09 Apr, 2012 2 commits
    • VTK Developers's avatar
      Remove trailing whitespace from all source files · 2d323fc4
      VTK Developers authored
      Exclude ThirdParty, Utilities/MetaIO, and Utilities/KWSys as these
      are maintained outside VTK.
      Co-Author: Marcus D. Hanwell <marcus.hanwell@kitware.com>
      Co-Author: Chris Harris <chris.harris@kitware.com>
      Co-Author: Brad King <brad.king@kitware.com>
    • VTK Developers's avatar
      Modularize VTK tree layout · cdd4d6fd
      VTK Developers authored
      Move source files from their former monolithic VTK location to their new
      location in modular VTK without modification.  This preserves enough
      information for "git blame -M" and "git log --follow" to connect
      modularized VTK files to their original location and history.
      Co-Author: Marcus D. Hanwell <marcus.hanwell@kitware.com>
      Co-Author: Chris Harris <chris.harris@kitware.com>
      Co-Author: Brad King <brad.king@kitware.com>
      Co-Author: Nikhil Shetty <nikhil.shetty@kitware.com>
  9. 12 Dec, 2011 1 commit
  10. 30 Oct, 2011 1 commit
    • David Gobbi's avatar
      BUG: Fix track-pad scrolling action for OS X Cocoa. · d4f3b840
      David Gobbi authored
      The Apple track pad generates scrollWheel events for a two-fingered drag.
      However, the track pad generates many more of these events than a real
      scroll wheel, but for most events the "delta" is zero and only every or
      so event has a non-zero delta, this emulates the "click click click"
      scrolling of a typical scroll wheel.  VTK was treating the zero delta
      values as negative deltas, instead of ignoring them.
      Change-Id: I4030ad9fbbf675d5298c3cf4322e489a127e5e26
  11. 21 Jul, 2011 1 commit
  12. 30 Apr, 2011 1 commit
  13. 22 Apr, 2011 1 commit
  14. 02 Mar, 2011 1 commit
  15. 11 Jan, 2010 1 commit
  16. 18 Dec, 2009 1 commit
  17. 17 Dec, 2009 2 commits
  18. 16 Dec, 2009 1 commit
  19. 14 Dec, 2009 1 commit
  20. 02 Jan, 2009 1 commit
  21. 30 May, 2007 1 commit
  22. 15 May, 2007 1 commit
  23. 07 Aug, 2005 1 commit
  24. 09 Jun, 2005 1 commit
  25. 26 Apr, 2005 1 commit
    • Clinton Stimpson's avatar
      · 0f97f52e
      Clinton Stimpson authored
      ENH:  Add double click for Cocoa.  Addresses bug 1681.
  26. 27 Sep, 2004 1 commit
  27. 20 Sep, 2004 1 commit
  28. 20 May, 2004 2 commits
  29. 16 Feb, 2004 1 commit
  30. 28 Jan, 2004 1 commit
  31. 17 Apr, 2003 1 commit
  32. 22 Jan, 2003 1 commit
  33. 09 Jan, 2003 1 commit
  34. 07 Jan, 2003 1 commit
  35. 30 May, 2002 1 commit
  36. 16 May, 2002 1 commit