Added comments about the danger of not clamping.

With clang's -fsanitize, several of VTK's tests
invoke undefined behaviour by converting doubles
to integer types that are out of range (ex: converting
12345.67 to uint8).  I have no fix, but these comments
will help anyone than runs into this.

Also improved debuggability and readability by adding
a temp local variable.

Change-Id: I0453b7bca693c416f7379f5b8c8cd60d0997937c
Fix clang warning about comparision that's always true.

Specifically:
/Common/DataModel/vtkGenericAttributeCollection.cxx:456:44: warning: comparison of array 'this->AttributesToInterpolate' not equal to a null pointer is always true [-Wtautological-pointer-compare]
                                  || this->AttributesToInterpolate!=0));
                                     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~  ~

The warning is correct, so remove the unneeded check.  Also, it's only in an assert.

Change-Id: I74fa877da2b167ff32f2a568c3e9f71db82581ff
Add a documentation module that contains information keys

Eventually all vtkInformationKeys should be added to this module.  This
commit only gets some of the more common ones.

Change-Id: Ic1c116b190c20f108fc064d2dad1ee516ebf7626
Add a new test for EDGEFLAGS point attributes.

Edge flags can be used to choose which edges of a polygon must
be drawn when polygon is drawn in wireframe.
The test shows a square which is actually made of 4 visible edges
of 4 triangles.

Change-Id: I02f4ce2f5d55a564d49dc5b6a23ccec9f2a19148
vtkPythonAlgorithm: print out all the error information

Unfortunately, Python has this habit of using the name of the
exception's class for critical information and the stringification of
the exception itself is useless on its own (e.g., AttributeError's
string is just the name of the attribute that is missing). To get better
error information, use traceback.format_exception if it is available.

Change-Id: I7fcbd9a12e505b2e3422c31dcf52055d98144a64
more ios changes

Change-Id: I082ad4140d4824c56b107a0b54129acf2f2fe529
some good cleanup

Change-Id: I936c421faf0b15363f613941ddb4c6ca4a17849c
** working **  app and some cleanup

Change-Id: I53c793f9cb5c0dce0e4cf0c5c6c17db94befcbde
fix for iphone test

Change-Id: I5cb0309db618bdc329ec74778645a37a0ee2a7d1
Merge topic 'more_ios' into master

92b69077 fix for iphone test
4912a3c9 ** working **  app and some cleanup
df57c936 some good cleanup
3047038f more ios changes
minor fix to cover vtkcompiletools

Change-Id: I16217eeab3d44e0e10370b8983cde69196e2b9c5
Merge topic 'minor_doc_change' into master

48824d2b minor fix to cover vtkcompiletools
remove some extra files that we do not need

Change-Id: Ie532df00601cd3db1e6757a7a64ac1903f6e84d1
Merge topic 'remove_extra_files' into master

f2b0d879 remove some extra files that we do not need
Merge topic 'fix_polydata' into pv-master

a6c53a67 Merge remote-tracking branch 'pvvtk/pv-master' into HEAD
202a000e Merge topic '0014459-RemoveDeletedCells-3' into master
cfaedbb0 Fixed issue of possibly modifying other polydatas.
Merge remote-tracking branch 'pvvtk/pv-master' into HEAD

* pvvtk/pv-master:

Change-Id: I6da753226e60734aff3ca9d527f6829d2044cae1
Update to the upstream GLEW 1.11.0 release

Preserved upstream formatting etc for easier updates in the future.

Change-Id: I57bfc51c75c02ade4194b108470096078129e24d
Added logic for OSMesa contexts

This will enable VTK's GLEW to make use of OSMesa OpenGL contexts,
unfortunately support for this has yet to be merged upstream.

Change-Id: I6ead4a9f4ddd7276fdad806af6093343145307dd
Added TODOs to indicate source of TestQuadricLODActor failure

The TestQuadricLODActor test triggers signed overflow,
which is undefined behaviour in C++ and caught
by clang's ubsan:

vtkQuadricClustering.cxx:592:52: runtime error: signed integer overflow: 2560000 * 839 cannot be represented in type 'int'

Also changed several uses of 'int' to be 'vtkIdType',
to reduce chance of overflow and just to better match API declarations.

Moved some variable declarations to their usage site.

Change-Id: Id9b827d73d1da6bfdb9470091baad7d8eb052de2
jsoncpp: Update to use the seperate-file version

jsoncpp can be built as either a collection of source files or as a
single source file that is the "amalgamation" of all sources.  Some
compilers, PGI namely, cannot handle the amalgamation and will crash
with an internal compiler error.  Building the original seperate-files
version is easier for the compiler to deal with and can build
successfully.

Using df26dae from https://github.com/open-source-parsers/jsoncpp.git

Change-Id: Ie8610c35aeb8b18822bda54eb426a3bac6c796f7