1. 08 Jan, 2019 1 commit
  2. 18 May, 2018 1 commit
    • Kitware Robot's avatar
      ExternalData: Convert content links from MD5 to SHA512 · d6d05b2a
      Kitware Robot authored
      Populate a script with `map_<md5>=<sha512>` variable settings and
      then run the following to convert the content link files:
      
          git ls-files -- '*.md5' | while read f; do
            md5="$(cat "$f")"
            sha512="$(eval echo \${map_$md5})"
            rm "$f"
            echo $sha512 > ${f%.md5}.sha512
          done
      d6d05b2a
  3. 04 Jan, 2018 1 commit
  4. 20 Dec, 2017 1 commit
  5. 29 Sep, 2017 1 commit
    • Andrew Bauer's avatar
      Improvements for vtkNew for stl containers and comparison operations · fd04b442
      Andrew Bauer authored
      Adding in functionality to allow inserting vtkNew objects into
      stl containers of vtkSmartPointer objects as well as comparisons
      between vtkNew objects and raw pointers. Also removing Get() and
      GetPointer() calls from vtkNew objects since in most instances we
      can just pass in the vtkNew<> object instead of having to use the
      Get() or GetPointer() methods to get the raw pointer.
      fd04b442
  6. 26 Jul, 2017 1 commit
  7. 20 Dec, 2016 1 commit
    • Bill Lorensen's avatar
      ENH: Unify error/warning testing · a5fd4df3
      Bill Lorensen authored
      CHECK_ERROR_MSG and CHECK_WARNING_MSG are used to check the
      content of error and warning messages. Error and warning code is often
      overlooked during testing. Over the years, these two macros have been
      refined to increase their utility. Tests that use the macros defined
      their own interpretations. Three different API's have been used in the
      macros.
      
      This patch replaces the CHECK_ERROR_MSG and CHECK_WARNING_MSG macros
      with methods for vtkTest::ErrorObserver.  All tests that used the
      CHECK macros in one form or another have been updated to use the
      CheckErrorMessage and CheckWarningMessage methods.
      a5fd4df3
  8. 23 Sep, 2016 1 commit
    • Kitware Robot's avatar
      Reindent using the reindentation script. · f830ff47
      Kitware Robot authored
      This commit reindents the code with the following utility:
      Utilities/Maintenance/vtk-reindent-code.py
      
      This utility changes the positions of the braces so that they are no
      longer indented relative to the code block they reside in.
      
      The bash command line used was the following:
      
      for d in Charts Common Deprecated Domains Examples Filters GUISupport \
               Geovis IO Imaging Infovis Interaction Parallel Rendering \
               Testing Views Web Wrapping; do
        for e in cxx cxx.in txx txx.in hxx hxx.in h h.in c c.in; do
          find "${d}" -name "*.${e}" -exec \
            python Utilities/Maintenance/vtk_reindent_code.py {} +
        done
      done
      f830ff47
  9. 06 May, 2016 1 commit
    • David C. Lonie's avatar
      Replace SafeDownCast calls on arrays with vtkArrayDownCast. · 0d71a308
      David C. Lonie authored
      SafeDownCast performs a series of virtual calls and string comparisons,
      which is quite slow, especially when used in worker functions.
      
      vtkArrayDownCast will switch between SafeDownCast and the more
      efficient FastDownCast (only available for common vtkAbstractArray
      subclasses) depending on whether or not FastDownCast is defined for
      the specific array type.
      0d71a308
  10. 08 Mar, 2016 1 commit
  11. 02 Nov, 2015 2 commits
  12. 27 Aug, 2015 1 commit
  13. 16 Apr, 2014 1 commit
  14. 06 Mar, 2014 2 commits
    • Zack Galbreath's avatar
      consolidate tests for PhyloXML · 8bc3c4d3
      Zack Galbreath authored
      Combine PhyloXML reader & writer tests into a single test,
      and make it more thorough.
      
      Change-Id: Ibb32ece7de203269a8508cb06eee91d94706f197
      8bc3c4d3
    • Zack Galbreath's avatar
      new class: vtkPhyloXMLTreeReader · 04711678
      Zack Galbreath authored
      This class allows us to read a PhyloXML file to generate a
      vtkTree.  This commit also contains corresponding change to
      vtkPhyloXMLTreeWriter.
      
      Change-Id: Idd7a7a997e24f0c751ee51ee8e2e9eb4c9c05c7a
      04711678
  15. 21 Feb, 2014 1 commit
  16. 14 Feb, 2014 3 commits
  17. 03 Feb, 2014 1 commit
  18. 29 Jan, 2014 1 commit
  19. 17 Dec, 2013 1 commit
  20. 14 Dec, 2013 1 commit
  21. 28 Nov, 2013 1 commit
    • Bill Lorensen's avatar
      COMP: Memory leak · 71f44a01
      Bill Lorensen authored
      Valgrind detected a memory leak. Test faied to delete filename.
      
      Change-Id: I0b101c01fb694e84f04976781f5e3744819e00e8
      71f44a01
  22. 17 Nov, 2013 1 commit
  23. 08 Nov, 2013 1 commit
    • Zack Galbreath's avatar
      new class: vtkNewickTreeWriter · d651290c
      Zack Galbreath authored
      This class allows us to output vtkTrees in Newick format.
      
      This commit also contains a bug fix for vtkNewickTreeReader.
      Before this commit, vtkNewickTreeReader created an extra node at
      the root of the tree.  This resulted in the height of the tree and
      the number of vertices in the tree both being off by one.
      
      Change-Id: Icd04b2ea868719289be210b34a3f772335b85a27
      d651290c
  24. 02 Oct, 2013 1 commit
  25. 04 Jun, 2013 1 commit
    • Brad King's avatar
      Convert VTKData test inputs to ExternalData content links · 3797f83d
      Brad King authored
      Add to the Testing/Data directory ExternalData content links mirroring
      the content and layout we use from the VTKData/Data directory.
      
      Add a CMake/vtkLegacyData.cmake module, included from CMakeLists.txt and
      Testing/External/CMakeLists.txt, to call ExternalData_Expand_Arguments
      for all data directories added from VTKData/Data.  This will bulk-fetch
      all test input data currently used by tests of any module, enabled or
      not.  We can make the DATA{} references more granular later.
      
      Add a VTK_TEST_DATA_DIR variable to refer to the directory we tell the
      ExternalData module to populate the real data files.  Replace references
      to VTK_DATA_ROOT in test command lines (after -D) with references to
      VTK_TEST_DATA_DIR.  Drop the VTK_DATA_ROOT CMake option and stop using
      the VTKData repository.
      
      Remove the TESTING_DATA option from the vtk_add_test_cxx API and remove
      the VTK_DATA_ROOT option from the vtk_add_test_mpi API since all test
      input data are now handled through ExternalData and Testing/Data content
      links.
      
      Change-Id: Id02490b76ea2e161b9038188264a4830485039d8
      3797f83d
  26. 14 May, 2013 2 commits
    • Brad King's avatar
      Mark non-baseline tests with NO_VALID option · 050fd10e
      Brad King authored
      Tell calls to vtk_add_test_(cxx|python|tcl) explicitly when there is no
      valid baseline image to avoid passing -V unnecessarily.
      
      Change-Id: Ibe5aecdfa076446ddda0b95e814483eb6622af73
      050fd10e
    • Brad King's avatar
      Use vtk_add_test_cxx function · 5b018861
      Brad King authored
      Refactor */*/Testing/Cxx/CMakeLists.txt to use the vtk_add_test_cxx
      function instead of direct add_test calls.
      
      Change-Id: I73dee627fa87a399c48b409af046b116fc75a0fd
      5b018861
  27. 13 Feb, 2013 1 commit
    • Bill Lorensen's avatar
      ENH: CXX tests should not fail if VTK_DATA_ROOT is missing. · eb4be53c
      Bill Lorensen authored
      The vtkTestingInteractor was trying to run regression tests even if
      VTK_DATA_ROOT was not defined.
      
      Many Testing/Cxx CMakeLists.txt files tried to run tests that required
      input data, even though VTK_DATA_ROOT was not defined.
      
      Subsequent topics will address Tcl and Python tests.
      
      Change-Id: Iabf242f9f498ce044948ca1d4a29378b76ceb21d
      eb4be53c
  28. 23 Oct, 2012 1 commit
  29. 24 Aug, 2012 3 commits
  30. 10 Apr, 2012 1 commit
    • Brad King's avatar
      Define VTK_TEST_OUTPUT_DIR to name Testing/Temporary directory · 13e19ed9
      Brad King authored
      Replace all references to ${VTK_BINARY_DIR}/Testing/Temporary with
      ${VTK_TEST_OUTPUT_DIR} and set the variable accordingly.  The latter is
      shorter and will also be useful to build module tests as an external
      application that does not have VTK_BINARY_DIR available.
      
      Change-Id: I5159077c10dd2eab23365e9ac917bc6cbd806589
      13e19ed9
  31. 09 Apr, 2012 3 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>
      2d323fc4
    • VTK Developers's avatar
      Add modular VTK build system · 0c1471f1
      VTK Developers authored
      Add module.cmake, CMakeLists.txt, and other build system files.
      
      The modular VTK build system is not yet mature.  The monolithic build
      files had a lot of infrastructure.  The modular build files reproduce
      much of the functionality but some features will need to be restored
      later.  Document status and tasks in "TODO-Modularization.txt".
      
      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>
      0c1471f1
    • 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>
      cdd4d6fd