Rename IO/Core/vtkOffsetsManagerArray.h to IO/XML/vtkXMLOffsetsManager.h

The header is private to XML writer implementations.  Name and place it
accordingly.

Change-Id: I3b35f249059246eb526ef06c5039fc435d80f2b1
vtkXMLDataParser: Remove unused FindInlineDataPosition method

Change-Id: I6eb2eb7e958fbaef3cda3864207d48013bc3102c
vtkXMLDataElement: Add 64-bit scalar/vector attribute API

Replace vtkIdType overloads of Get(Scalar|Vector)Attribute and
SetVectorAttribute with overloads for 'long long' and '__int64'.
When VTK_USE_64BIT_IDS is enabled one of them will match vtkIdType.
Remove unused SetIdTypeAttribute method.

Change-Id: I9af7138cd6bed68b035c2c8764f4bf2a46e39214
Remove compatibility with non-standard C++ streams

Remove test for VTK_USE_ANSI_STDLIB and assume availability.  VTK no
longer supports C++ compilers without standard streams.  Define
VTK_USE_ANSI_STDLIB if VTK_LEGACY_REMOVE is OFF so applications that
test for it see the definition.

Change-Id: Ief0c47e8f720754db1916a96f6ed012aa0d8555e
Remove vtkIOStream(Pos|Off) types

Recent commit 122b241e (Define vtkIOStream(Pos|Off) as portable
std::stream(pos|off), 2012-05-04) added these for portability but the
standard types are available everywhere now that we support only
standard streams.  We can use std::stream(pos|off) directly instead.

Recent commit 6d2b9838 (vtk(Input|Output)Stream: Use appropriate types
in API, 2012-05-04) exposed std::streamoff (through vtkIOStreamOff) in
the public interface of vtkInputStream and vtkBase64InputStream.  In
order to present a consistent public interface use vtkTypeInt64 instead
because std::streamoff varies on some platforms depending on large file
support preprocessor definitions.

Change-Id: I8d2003a353e6cb7f010be631daf4e234eeec678b
vtkXML*: Use 64-bit integer types where appropriate

Use size_t for memory buffer sizes and vtkTypeInt64 for file positions
and offsets exposed in header files.  Use vtkTypeUInt64 for sizing and
indexing of whole data.  The latter will be necessary to read small
portions of data requiring 64-bit indexes on 32-bit architectures.
Use std::streampos for stream seek operations but avoid exposing it
in header files because its type can vary on some platforms depending
on preprocessor definitions for large file support.

Change-Id: I5c6eb335fb2415de652f012fbf34e2f2952e443a
plug leaks in constrained point handle representation

Not sure why the register on path was there, but I don't think it should be.
Also make sure the picker is freed in all return paths.

Thanks Alex Malyushytskyy for pointing this out.

Change-Id: I1a019ee50a3b1eb3216f884bd54d52ba38ee7c8d
Created new vtk*NewMacros to replace some factories

Factored the vtkStandardNewMacro into a VTK_STANDARD_NEW_BODY macro and
a vtkStandardNewMacro. Also introduced vtkObjectFactoryNewMacro and
vtkAbstractObjectFactoryNewMacro in order to replace the functionality
present in some of the hard coded factories remaining from before VTK
modularization.

The vtkObjectFactoryNewMacro does what the vtkStandardNewMacro did
previously (and will continue to do if the VTK_ALL_NEW_OBJECT_FACTORY
option is turned on) - use the object factory override of the new method
of the class. The vtkAbstractObjectFactoryNewMacro will attempt to
return a class from the vtkObjectFactory::CreateInstance method, or
return NULL if there are no overrides, i.e. the behavior of the
vtkGraphicsFactory which is necesasary for abstract base classes like
vtkRenderWindow.

The VTK_ALL_NEW_OBJECT_FACTORY method allows VTK to be compiled with the
previous behavior of all New methods using the object factory. A new
static method was added to vtkObjectFactory largely for pragmatic
reasons - all of those implementations already include vtkObjectFactory
but not vtkDebugLeaks and so this reduces the change necessary to still
work with VTK_DEBUG_LEAKS when that option is on.

Change-Id: I06f713d70fc6d97ae086186c424a78f524592a4d
Remove Java annotation that could cause issue on Java 1.5

Change-Id: Iaeaaf1376afa0a6194f8673938adc7d872a0ff67
Force CMake to compile Java with 1.5 code style

Change-Id: I2051f3576c6c6f5c1fd99c52fe41cee85bab80ec
Remove usage of generics and annotations

Change-Id: I168cce8362bd849015df93de2afad32854373dab
Memory leak in vtkControlPointsItem::GetControlPointsIds

A Get* method should not return an object that needs to be deleted by
the caller; instead, the object must be passed as parameter.

Change-Id: I0925efe7c476d8d59dc049e9709e261041cdbfba
Port RenderingCore classes to use new new macros

This will need to be done for all classes using the old CreateInstance
methods on the custom kit factories that remain outside. Removed the
vtkImagingFactory class as it is no longer required.

Change-Id: I3a510fc213d63ae923f1f6c1e459f0f48f796b6b
Ported RenderingVolume to new macros

This allowed me to remove the factory that is now totally replaced by
the generated factory code and the new new macros.

Change-Id: I4d1d68c1f14f1ffcd467839f81488b17431092f7
Make sure vtkInteractorStyleSwitchBase usesd object factory

Change-Id: Ib71cfe6e4fa4c54ef0d4f5974ded6847518a115a
Ensure the statistics classes use the object factory

This is to allow for the GNU R classes to override the statistics
classes.

Change-Id: I5176174ec7479a34ebe06810d1f42a419b0d57a6
Use the object factory to vtkStreamTracer

This allows the parallel version to be used when linked.

Change-Id: Ibbf4cedcf9bbdeb81f39858593ae092f257a39df
Merge topic 'ControlPointsItem-memory-leaks' into master

cca0e7c2 Memory leak in vtkControlPointsItem::GetControlPointsIds
Merge topic 'object-factory-new' into master

3975c4ff Use the object factory to vtkStreamTracer
8188bf8a Ensure the statistics classes use the object factory
4c597437 Make sure vtkInteractorStyleSwitchBase usesd object factory
cb770d98 Ported RenderingVolume to new macros
2627d9ed Port RenderingCore classes to use new new macros
98ddb3e1 Created new vtk*NewMacros to replace some factories
Merge topic 'iostream-cleanup' into master

29e3b2d7 Remove vtkIOStream(Pos|Off) types
3279f44d Remove compatibility with non-standard C++ streams