Clean up cocoa input event handling.

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
Interpret OS X Command key as Ctrl instead of Alt.

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
Initialize interactor in Start() if not done yet.

The vtkXRenderWindowInteractor calls Initialize() from Start() if
the interactor isn't initialized yet, so it seems that the Cocoa
interactor should do the same.

My main reason for this patch is that I have often moved VTK apps from
Linux to OS X, which then refused to run because they called Start()
without first calling Initialize().

Change-Id: I043fc544e0f1cec4139a4e962aaccf3cce311d45
Added Python support for making new information keys.

It was not possible to create new keys from Python. Fixed.

Change-Id: I54004c89e221ce998f2400950f393c79a245950e
Prefer xcrun when querying for iOS-related SDK elements

Change-Id: I9af2740475e5d46e72636d27859ea34b356a8f11
vtkEnSightReader: use memmove for overlapping regions

Change-Id: Id31a735f5cf3bbfdd154fa622608690b7fc29b08
vtkFFMPEGWriter: use av_malloc to match the av_free

Change-Id: I8aa9c0ee3cfcd3d58940593f53f335f18450724f
vtkChartXY: check the scene before use

This can happen when a chart is manipulated without a view.

Change-Id: Ifbe098beab74682511fcbb41f886349ebda0fffd
thirdparty: support defaulting all third party library sources

Change-Id: I1f97fb0404c364ae989e2b4e855d0c00d639ed10
otherByteSwap: fix calls for byteswapping

Patch submitted by Andrei Terechko. Slightly modified to match the
updated calls with the output.

Change-Id: Iecbf06e9c39b7d67310b0175d63719eba907c1f6
Fix build with mingw 4.8.2 and qt 5.3.2, bug #14735

With mingw 4.8.2 that comes with qt 4.3.2, there is a pthread implementation,
this fix allows VTK to be built with this setup. The patch basically
turns off windows threads if pthreads are found.

Change-Id: Iaeefc6b317d50f6cdfbef7335bcd4b93a98df059
BUG14463 vtkMy does not work for vtk6

The vtkMy example was never upgraded to vtk6. This patch also
modernized the CMakeLists.txt files.

Change-Id: I357a0b79c771ddd7f0c1789eda2a4ad2a0f72cd2
Fixed SimpleCocoaVTK Xcode project to build properly.

- fix library names to use 6.2 in the filename
- In the xcconfig, don't assue VTK_USE_SYSTEM_ZLIB was
  used since the Read Me doesn't say it's required

Change-Id: Iddcc27678fcd9abf50db9c97ff308ec69529b125
java install shouldn't delete /usr/bin !

Now you have to set a flag AND change the default install dir to
make it try.

Change-Id: Ib0b063d7419c86f5f4e1a59bb2f030eb0c54dc4e
Added a non-const form of vtkTesting::AddArguments

Saves all of the const casts from the main arguments.

Change-Id: Ib5aecc61331bfafbaf38112e93196c2d4f0a500a
Fixed bug #14266: fix observation of NSView size change

Previously, we started observing for NSView size changes *before*
we actually create the NSView. i.e. we observe nothing.
Now we start observing after the NSView is created.

Change-Id: I3eb86e9982caae464fffe1c8cfc19035a194ec27
14445: Fix vtkImageStencilData IsInside upper bound.

The upper bound check on the IsInside method was off by one.

Change-Id: If19f632d5490018cbeda0d8399153512b37b1891
BUG: Fixed how the header size is computed

The header size is written to a header field that was being ignored by
the reader. The header size was being computed as the difference of
the size of the file on disk and the size of the image data in memory,
but if the writer of the BMP adds bytes after the image data portion
of the file, this size is inaccurate. This patch trusts the header
size in the file rather than the computed header size.

Change-Id: I910559c7f014af5e2ccb73cb0624f5a9782c0ea9
Merge topic '14397_BMP_header_size_fix' into master

8f3d921f BUG: Fixed how the header size is computed
Merge topic 'bug14266' into master

b6a4db16 Fixed bug #14266: fix observation of NSView size change