1. 27 Jun, 2018 1 commit
    • Cory Quammen's avatar
      Fix -Wrestrict warning · 1ef41943
      Cory Quammen authored
      'char* strncpy(char*, const char*, size_t)' accessing 76 bytes at offsets 0 and 4
       overlaps 72 bytes at offset 4 [-Wrestrict]
      
      The warning is because strncpy was being used on overlapping buffers.
      1ef41943
  2. 26 Jun, 2018 1 commit
    • Cory Quammen's avatar
      Fix unsafe use of strncpy · 441247e1
      Cory Quammen authored
      The source and destination buffers passed to strncpy are not
      allowed to overlap. Replace with a small loop.
      441247e1
  3. 17 Jun, 2018 2 commits
  4. 25 May, 2018 1 commit
  5. 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
  6. 27 Apr, 2018 1 commit
  7. 26 Mar, 2018 1 commit
    • Tomáš Karabela's avatar
      Fix vtkEnSightGoldBinaryReader bug with missing variables · dae4de89
      Tomáš Karabela authored
      This commit fixes a subtle bug in vtkEnSightGoldBinaryReader which can
      cause missing variables in resulting vtkMultiBlockDataSet. To be more
      precise, prior to this commit it sometimes happened that an empty part
      in EnSight Gold binary file caused vtkEnSightGoldBinaryReader to stop
      reading given variable file, omitting the variable in subsequent parts.
      
      Per EnSight 10.2 User Manual
      (see http://www3.ensight.com/EnSight10_Docs/UserManual.pdf):
      "If the geometry of given part is empty, nothing for that part needs
      to be in the variable file". However, it is also possible to include
      the part in the variable file, with empty list of variable values.
      
      vtkEnSightGoldBinaryReader actually supported that before this commit,
      however it stopped reading the file if "coordinates" or "block" line
      was included after part number of the empty part. This concerns only
      "per node" variables.
      
      A simple test case is included, which was tested in EnSight 10.2.0(c)
      both interactively and using the ens_checker102 tool. The case has four
      parts, the two middle parts are empty. EnSight correctly loads variables
      for the first and the last part, while VTK has missing point variables
      in the last part, which is fixed by this commit.
      dae4de89
  8. 17 Mar, 2018 1 commit
    • Tomáš Karabela's avatar
      Fix vtkEnSightGoldBinaryReader bug with missing variables · fc5c9d91
      Tomáš Karabela authored
      This commit fixes a subtle bug in vtkEnSightGoldBinaryReader which can
      cause missing variables in resulting vtkMultiBlockDataSet. To be more
      precise, prior to this commit it sometimes happened that an empty part
      in EnSight Gold binary file caused vtkEnSightGoldBinaryReader to stop
      reading given variable file, omitting the variable in subsequent parts.
      
      Per EnSight 10.2 User Manual
      (see http://www3.ensight.com/EnSight10_Docs/UserManual.pdf):
      "If the geometry of given part is empty, nothing for that part needs
      to be in the variable file". However, it is also possible to include
      the part in the variable file, with empty list of variable values.
      
      vtkEnSightGoldBinaryReader actually supported that before this commit,
      however it stopped reading the file if "coordinates" or "block" line
      was included after part number of the empty part. This concerns only
      "per node" variables.
      
      A simple test case is included, which was tested in EnSight 10.2.0(c)
      both interactively and using the ens_checker102 tool. The case has four
      parts, the two middle parts are empty. EnSight correctly loads variables
      for the first and the last part, while VTK has missing point variables
      in the last part, which is fixed by this commit.
      fc5c9d91
  9. 08 Mar, 2018 1 commit
  10. 04 Jan, 2018 1 commit
  11. 05 Dec, 2017 2 commits
  12. 04 Dec, 2017 1 commit
    • luzpaz's avatar
      Misc. typo fixes · e6590119
      luzpaz authored
      This commit removes double whitespace from source comments + fixes some other typos.
      e6590119
  13. 01 Dec, 2017 1 commit
  14. 15 Nov, 2017 1 commit
  15. 09 Nov, 2017 1 commit
  16. 07 Nov, 2017 1 commit
  17. 26 Oct, 2017 1 commit
  18. 04 Oct, 2017 1 commit
  19. 02 Oct, 2017 2 commits
  20. 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
  21. 18 Aug, 2017 1 commit
  22. 26 Jul, 2017 1 commit
    • Kitware Robot's avatar
      Replace many NULL and 0 occurances with nullptr · a855cab0
      Kitware Robot authored
      This topic is the result of running clang-tidy to
      modernize our usage of NULL and 0 to nullptr. It also
      includes some manual and semi manual changes where
      clang-tidy would not be expected to work (such as in
      comments, or classes not compiled on this build)
      
      There are definitely many comments and occurances that
      this topic misses that we will need to fix over time.
      a855cab0
  23. 14 Jul, 2017 1 commit
  24. 30 May, 2017 3 commits
  25. 27 Apr, 2017 1 commit
  26. 08 Apr, 2017 1 commit
  27. 27 Mar, 2017 1 commit
  28. 21 Mar, 2017 2 commits
  29. 14 Mar, 2017 1 commit
  30. 19 Jan, 2017 1 commit
  31. 16 Jan, 2017 1 commit
  32. 12 Jan, 2017 1 commit
  33. 23 Sep, 2016 2 commits
    • 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
    • David E. DeMarle's avatar
      replace VTK's nonstandard Doxygen with standard markup · 6a7e5148
      David E. DeMarle authored
      generated via:
      cd $VTKSRC
      perl Utilities/Doxygen/doc_header2doxygen.pl --to ~/tmp/vtkheaders .
      cp -r ~/tmp/vtkheaders/* .
      6a7e5148