- Aug 11, 2015
-
-
Cory Quammen authored
This test was not being executed.
-
72c0e640 Silence warning. Acked-by:
Kitware Robot <kwrobot@kitware.com> Reviewed-by:
Utkarsh Ayachit <utkarsh.ayachit@kitware.com> Merge-request: !519
-
David C. Lonie authored
See #13130
-
- Aug 10, 2015
-
-
d6f7466d Fix typo PYTHON_VERSION_HEX to PY_VERSION_HEX Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !517
-
David Gobbi authored
A typo in vtkPythonArgs.cxx resulted in the use of a "char *" from a deleted Python object. I've fixed the typo and have completely removed the code that can give rise to the invalid pointer. This commit also changes a BuildBytes to actually build a Bytes object on Python 3 (it was building a string). Under Python 3.2, the default locale encoding will be used for 8-bit strings rather than utf8 (similar to Python 2). It wasn't until 3.3 that unicode objects kept a cached copy of the utf8 string.
-
5c05c915 COMP: Infinite loop compiling TestDataArrayAPI Acked-by:
Kitware Robot <kwrobot@kitware.com> Reviewed-by:
David Lonie <david.lonie@kitware.com> Merge-request: !507
-
5b2d8b8e Fix incorrect error when testing is disabled. Acked-by:
Kitware Robot <kwrobot@kitware.com> Reviewed-by:
David E DeMarle <dave.demarle@kitware.com> Merge-request: !510
-
d26d1280 Improve performance of vtkCellIterator. Acked-by:
Kitware Robot <kwrobot@kitware.com> Reviewed-by:
Berk Geveci <berk.geveci@kitware.com> Merge-request: !458
-
04db6883 Xdmf3 was failing to build when using system HDF5. Acked-by:
Kitware Robot <kwrobot@kitware.com> Reviewed-by:
David E DeMarle <dave.demarle@kitware.com> Merge-request: !513
-
- Aug 09, 2015
-
-
Utkarsh Ayachit authored
When using system HDF5, xdmf3 was failing to build since it was attempting to link against -lvtkhdf5. The issue was coming from the use of vtkxdmf3_LINK_DEPENDS. That piece of code seems a little out of place since no other third party module does that. The CMakeLists.txt already handled all link dependencies properly, hence this was not necessary and causing the issue.
-
1ab26ad6 Add include guard to vtkPythonCompatibility.h Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !511
-
David Gobbi authored
-
Utkarsh Ayachit authored
When building with MPI and testing is disabled (which happens when building on supercomputers), VTK fails to build because of missing MPIEXEC. That's wrong. MPIEXEC is only needed if testing is enabled. Fixed the error message accordingly.
-
- Aug 08, 2015
-
-
Bill Lorensen authored
On Mac OS 10.7.5, GCC 4.2.1 the compil for the test TestDayaArrayAPI never completes. This patch breaks up ExerciseDataArray into into two methods: ExerciseDataArrayAPI and ExerciseGetRange.
-
26ad0555 Fix some converted python print statements. b1f2f2c7 Fix a few simple py3k syntax errors. 8b32c4d3 Fix numpy_interface compatibility with py3k. Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !506
-
- Aug 07, 2015
-
-
David Gobbi authored
Some quick py3k compatibility fixes caused these print statements to generate much different output from before. This fixes that.
-
David Gobbi authored
This allows "make" to compile these files into pyc files, though it does not provide full py3k compatibility.
-
f9c1d6c2 Changing vtkTriangle::TriangleArea() to use parallelogram method. Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Utkarsh Ayachit <utkarsh.ayachit@kitware.com> Merge-request: !502
-
David Gobbi authored
This involved replacing map() with list comprehensions, changing the way metaclasses are used, removing the __div__ method under python 3, and using 'zip" instead of "izip" on python 3.
-
Ben Boeckel authored
-
Ben Boeckel authored
* gl/tjcorona/skip-installing-private-headers: Added a means to prevent private headers from being installed.
-
bce15304 Added a means to prevent private headers from being installed. Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !500
-
T.J. Corona authored
This commit is in reference to bug report 0015584. Compared with Heron's formula for computing the area of a triangle, the cross product method uses fewer operations and appears to be more accurate for sharp triangles.
-
- Aug 06, 2015
-
-
db62b85e Merge commit Remove_vtksys_stl into python-py3k b7308b03 Patch CommonCore python tests for py3k. d3eb4043 Python API compatibility for py3k. c96458b9 Make vtk/__init__.py compatible with py3k. e1ff8866 Fix PyVTKTemplate dict compatibility methods. 16bb32d4 Add the new py3k buffer interface. f2aebb86 Provide py3k module initialization. 4f297425 Remove vestigial "module" arg from python init. ... Acked-by:
Kitware Robot <kwrobot@kitware.com> Reviewed-by:
Ben Boeckel <ben.boeckel@kitware.com> Reviewed-by:
Andrew Maclean <andrew.amaclean@gmail.com> Merge-request: !478
-
David Gobbi authored
Conflicts: Wrapping/PythonCore/PyVTKObject.cxx
-
David Gobbi authored
This change modifies the python code for the tests so that they are cross-compatible between python 2 and python 3. The new code will not run on Python 2.5 or earlier, because only python 2.6 and 2.7 allow py3k-friendly syntax. The numpy_interface does not fully support python 3 yet, due to changes in the way numeric operators work and the way type coercion is done.
-
Ben Boeckel authored
-
Ben Boeckel authored
* gl/tjcorona/issue_0015533: Force a lookup table reset after vtkAbstractArray::Reset()
-
Ben Boeckel authored
* gl/tjcorona/issue_0015390: Removed double delete in vtkXdmfWriter destructor.
-
Ben Boeckel authored
* gl/tjcorona/issue_0015300: Prevent str.begin() from being dereferenced if str is empty.
-
Ben Boeckel authored
* gl/tjcorona/issue_0015525: XML data reader now throws an error when reading arrays with duplicate names.
-
5e5fb779 Force a lookup table reset after vtkAbstractArray::Reset() Acked-by:
Kitware Robot <kwrobot@kitware.com> Reviewed-by:
Utkarsh Ayachit <utkarsh.ayachit@kitware.com> Merge-request: !496
-
1f79d6b1 Removed double delete in vtkXdmfWriter destructor. Acked-by:
Kitware Robot <kwrobot@kitware.com> Reviewed-by:
Utkarsh Ayachit <utkarsh.ayachit@kitware.com> Merge-request: !486
-
ffc25be9 Prevent str.begin() from being dereferenced if str is empty. Acked-by:
Kitware Robot <kwrobot@kitware.com> Reviewed-by:
Utkarsh Ayachit <utkarsh.ayachit@kitware.com> Merge-request: !485
-
c3a86fd5 XML data reader now throws an error when reading arrays with duplicate names. Acked-by:
Kitware Robot <kwrobot@kitware.com> Reviewed-by:
Utkarsh Ayachit <utkarsh.ayachit@kitware.com> Merge-request: !488
-
T.J. Corona authored
This fix addresses bug reports 0014698 and 0014700. Header files that were named identically to source files were installed. The added flag allows for a source file to be flagged with SKIP_HEADER_INSTALL, which prevents its associated header file from being installed (thanks Ben Boeckel!).
-
T.J. Corona authored
This fix is in reference to bug report 0015533. The method Reset() in vtkAbstractArray was modified to flag a change in data, resulting in the correct behavior for LookupValue() after Reset() was called. Also, the method DeepCopy() was changed to only copy valid elements (thanks David Lonie!).
-
T.J. Corona authored
This fix is in reference to bug report 0015525. The reader would not read arrays with duplicate names, but would count them when determining the number of components, resulting in a segmentation fault. The correct behavior, which prevents multiple arrays with the same name, is now in place.
-
T.J. Corona authored
This fix is in reference to bug report 0015390. DomainMemoryHandler was being deleted twice. It is now deleted once, and is subsequently set to NULL.
-
T.J. Corona authored
This fix is in reference to bug report 0015300. In vtkXmlWriter::vtkXMLWriteAsciiValue(ostream& os, const vtkStdString& str), the first char in the string was being accessed before checking the string's length. This caused problems with empty strings.
-