1. 08 Jan, 2019 2 commits
  2. 26 Jul, 2018 2 commits
    • Sean McBride's avatar
      Fixed misc issues found by cppcheck 1.84 · 38f25cd2
      Sean McBride authored
      Also update suppressions.
      
      This fixed issues were:
      
      identicalInnerCondition,Wrapping/Tools/vtkWrapHierarchy.c:457,warning,Identical inner 'if' condition is always true.
      
      missingOverride,IO/ADIOS/FunctionPointers.h:114,style,The function 'operator()' overrides a function in a base class but is not marked with a 'override' specifier.
      
      uninitMemberVar,IO/Image/vtkMRCReader.cxx:133,warning,Member variable 'vtkInternal::header' is not initialized in the constructor.
      
      uninitMemberVarPrivate,IO/Xdmf3/vtkXdmf3LightDataHandler.cxx:70,warning,Member variable 'vtkXdmf3LightDataHandler::CellArrays' is not initialized in the constructor.
      uninitMemberVarPrivate,IO/Xdmf3/vtkXdmf3LightDataHandler.cxx:70,warning,Member variable 'vtkXdmf3LightDataHandler::FieldArrays' is not initialized in the constructor.
      uninitMemberVarPrivate,IO/Xdmf3/vtkXdmf3LightDataHandler.cxx:70,warning,Member variable 'vtkXdmf3LightDataHandler::GridsCache' is not initialized in the constructor.
      uninitMemberVarPrivate,IO/Xdmf3/vtkXdmf3LightDataHandler.cxx:70,warning,Member variable 'vtkXdmf3LightDataHandler::MaxDepth' is not initialized in the constructor.
      uninitMemberVarPrivate,IO/Xdmf3/vtkXdmf3LightDataHandler.cxx:70,warning,Member variable 'vtkXdmf3LightDataHandler::NumProcs' is not initialized in the constructor.
      uninitMemberVarPrivate,IO/Xdmf3/vtkXdmf3LightDataHandler.cxx:70,warning,Member variable 'vtkXdmf3LightDataHandler::PointArrays' is not initialized in the constructor.
      uninitMemberVarPrivate,IO/Xdmf3/vtkXdmf3LightDataHandler.cxx:70,warning,Member variable 'vtkXdmf3LightDataHandler::Rank' is not initialized in the constructor.
      uninitMemberVarPrivate,IO/Xdmf3/vtkXdmf3LightDataHandler.cxx:70,warning,Member variable 'vtkXdmf3LightDataHandler::SetsCache' is not initialized in the constructor.
      uninitMemberVarPrivate,IO/Xdmf3/vtkXdmf3LightDataHandler.cxx:70,warning,Member variable 'vtkXdmf3LightDataHandler::SILBuilder' is not initialized in the constructor.
      
      uninitMemberVarPrivate,IO/Geometry/vtkOpenFOAMReader.cxx:4424,warning,Member variable 'vtkOpenFOAMReaderPrivate::NumTotalAdditionalCells' is not initialized in the constructor.
      uninitMemberVarPrivate,IO/Geometry/vtkOpenFOAMReader.cxx:4424,warning,Member variable 'vtkOpenFOAMReaderPrivate::Parent' is not initialized in the constructor.
      38f25cd2
    • Sean McBride's avatar
      Added missing overrides found by cppcheck 1.84 · c0d6d943
      Sean McBride authored
      missingOverride,Examples/GUI/Win32/SampleMFC/SampleDoc.h:47
      missingOverride,Examples/GUI/Win32/SampleMFC/vtkMFCRenderView.h:49
      missingOverride,Examples/GUI/Win32/SampleMFC/vtkMFCRenderView.h:50
      missingOverride,Examples/GUI/Win32/SampleMFC/vtkMFCRenderView.h:52
      missingOverride,Examples/GUI/Win32/SampleMFC/vtkMFCRenderView.h:54
      missingOverride,Examples/GUI/Win32/SampleMFC/vtkMFCRenderView.h:61
      missingOverride,Examples/GUI/Win32/SampleMFC/vtkMFCRenderView.h:62
      missingOverride,Examples/GUI/Win32/SampleMFC/vtkMFCRenderView.h:69
      missingOverride,Examples/GUI/Win32/SampleMFC/vtkMFCRenderView.h:70
      missingOverride,Interaction/Widgets/vtkXYPlotRepresentation.h:60
      missingOverride,Interaction/Widgets/vtkXYPlotRepresentation.h:61
      missingOverride,Interaction/Widgets/vtkXYPlotRepresentation.h:62
      missingOverride,IO/ADIOS/FunctionPointers.h:114
      missingOverride,IO/Video/vtkMILVideoSource.h:104
      missingOverride,IO/Video/vtkMILVideoSource.h:243
      missingOverride,IO/Video/vtkMILVideoSource.h:249
      missingOverride,IO/Video/vtkMILVideoSource.h:259
      missingOverride,IO/Video/vtkMILVideoSource.h:79
      missingOverride,IO/Video/vtkMILVideoSource.h:84
      missingOverride,IO/Video/vtkMILVideoSource.h:89
      missingOverride,IO/Video/vtkMILVideoSource.h:94
      missingOverride,IO/Video/vtkMILVideoSource.h:99
      missingOverride,Rendering/OpenGL2/vtkEGLRenderWindow.h:206
      missingOverride,Rendering/OpenGL2/vtkEGLRenderWindow.h:219
      missingOverride,Rendering/OpenGL2/vtkEGLRenderWindow.h:220
      missingOverride,Rendering/OpenGL2/vtkEGLRenderWindow.h:68
      missingOverride,Rendering/OpenGL2/vtkOSOpenGLRenderWindow.h:238
      missingOverride,Rendering/OpenGL2/vtkOSOpenGLRenderWindow.h:239
      missingOverride,Rendering/OpenGL2/vtkOSOpenGLRenderWindow.h:66
      missingOverride,Rendering/OpenVR/vtkOpenVRDefaultOverlay.h:37
      missingOverride,Rendering/OpenVR/vtkOpenVRDefaultOverlay.h:43
      missingOverride,Rendering/OptiX/vtkOptiXCompositePolyDataMapper2Node.h:45,style,The function 'Render' overrides a function in a base class but is not marked with a 'override' specifier.
      missingOverride,Utilities/Benchmarks/GLBenchmarking.cxx:74
      missingOverride,Utilities/Benchmarks/vtkRenderTimingTests.h:162
      missingOverride,Utilities/Benchmarks/vtkRenderTimingTests.h:164
      missingOverride,Utilities/Benchmarks/vtkRenderTimingTests.h:166
      missingOverride,Utilities/Benchmarks/vtkRenderTimingTests.h:270
      missingOverride,Utilities/Benchmarks/vtkRenderTimingTests.h:273
      missingOverride,Utilities/Benchmarks/vtkRenderTimingTests.h:276
      missingOverride,Utilities/Benchmarks/vtkRenderTimingTests.h:409
      missingOverride,Utilities/Benchmarks/vtkRenderTimingTests.h:414
      missingOverride,Utilities/Benchmarks/vtkRenderTimingTests.h:419
      missingOverride,Utilities/Benchmarks/vtkRenderTimingTests.h:532
      missingOverride,Utilities/Benchmarks/vtkRenderTimingTests.h:534
      missingOverride,Utilities/Benchmarks/vtkRenderTimingTests.h:536
      missingOverride,Utilities/Benchmarks/vtkRenderTimingTests.h:58
      missingOverride,Utilities/Benchmarks/vtkRenderTimingTests.h:60
      missingOverride,Utilities/Benchmarks/vtkRenderTimingTests.h:62
      missingOverride,Utilities/Benchmarks/vtkRenderTimingTests.h:658
      missingOverride,Utilities/Benchmarks/vtkRenderTimingTests.h:660
      missingOverride,Utilities/Benchmarks/vtkRenderTimingTests.h:662
      missingOverride,IO/ADIOS/ADIOSWriter.cxx:159,style,The function 'GetInt' overrides a function in a base class but is not marked with a 'override' specifier.
      missingOverride,IO/ADIOS/FunctionPointers.h:31,style,The function 'ExecVoid' overrides a function in a base class but is not marked with a 'override' specifier.
      missingOverride,IO/ADIOS/FunctionPointers.h:50,style,The function 'operator()' overrides a function in a base class but is not marked with a 'override' specifier.
      missingOverride,IO/ADIOS/FunctionPointers.h:69,style,The function 'operator()' overrides a function in a base class but is not marked with a 'override' specifier.
      missingOverride,IO/ADIOS/FunctionPointers.h:90,style,The function 'operator()' overrides a function in a base class but is not marked with a 'override' specifier.
      c0d6d943
  3. 09 Jan, 2018 1 commit
  4. 04 Jan, 2018 1 commit
  5. 20 Dec, 2017 1 commit
  6. 11 Dec, 2017 4 commits
  7. 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
  8. 06 Nov, 2017 1 commit
  9. 04 Oct, 2017 1 commit
  10. 02 Oct, 2017 1 commit
  11. 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
  12. 27 Jul, 2017 1 commit
  13. 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
  14. 14 Mar, 2017 2 commits
  15. 13 Dec, 2016 1 commit
  16. 06 Dec, 2016 1 commit
    • Andrew Bauer's avatar
      Updating to use ADIOS 1.11. · 89c68987
      Andrew Bauer authored
      This involved fixing a compile issue from an API change and
      using adios_set_max_buffer_size() instead of the unsupported
      adios_allocate_buffer() method.
      89c68987
  17. 17 Oct, 2016 1 commit
  18. 14 Oct, 2016 1 commit
  19. 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
  20. 12 Sep, 2016 1 commit
    • Haocheng LIU's avatar
      Rewrite all public&private dependency in module.cmake file · 6e113ad4
      Haocheng LIU authored
      The current dependency relationship in vtk is unclear and misleading.
      This MR tries to rewrite them based on header files inclusion of headers
      and source files in each module. Corner cases are considered and
      modules are sorted in alphabetical order to facilitate future reference.
      See details in my gitlab python based script project. In future we can continue
      using this script to clean the VTK Dependency easily from
      time to time.
      6e113ad4
  21. 19 Aug, 2016 1 commit
    • Bill Lorensen's avatar
      ENH: Introduce vtkMTimeType · 9333d9d1
      Bill Lorensen authored
      This is a fix for:
      vtk/vtk#14310
      
      Windows applications that run for a long time report that rendered
      objects do not change. This is because the modified time on a Windows
      system is 32 bits. This causes overflows that defeat the modified time
      mechanism. This patch defines a new type, vtkMTimeType that is 64
      unsigned integer regardless of the architecture.
      
      A mechanism to provide backward compatibility is introduced. The
      preprocessor define "VTK_HAS_MTIME_TYPE" can be used in applications
      that must build against VTK versions that use the "unsigned long" type
      for MTime's.
      
      Methodology used to find MTime occurences:
      1) Identify files as follows:
         git grep "unsigned long" | grep ime | cut -d":" -f1,1 | sort | uniq
      2) Hand edit each of those files replacing "unsigned long" with
         "vtkMTimeType" where appropriate.
      3) Temporarily change typedef for vtkMTimeType to "double" to detect
         missing conversions
      9333d9d1
  22. 03 Aug, 2016 1 commit
  23. 07 Jul, 2016 2 commits
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION to many constructors · 1853e030
      Sean McBride authored
      vtk(.*)\(const vtk\1&\);\s*//\s*Not implemented[\.]*
      to
      vtk\1(const vtk\1\&) VTK_DELETE_FUNCTION;
      
      vtk(.*)\(const vtk\1 &\);\s*//\s*Not implemented[\.]*
      to
      vtk\1(const vtk\1 \&) VTK_DELETE_FUNCTION;
      
      vtk(.*)\( const vtk\1 & \);\s*//\s*Not implemented[\.]*
      to
      vtk\1( const vtk\1 \& ) VTK_DELETE_FUNCTION;
      
      vtk(.*)\( const vtk\1& \);\s*//\s*Not implemented[\.]*
      to
      vtk\1( const vtk\1\& ) VTK_DELETE_FUNCTION;
      
      vtk(.*) \(const vtk\1&\);\s*//\s*Not implemented[\.]*
      to
      vtk\1 (const vtk\1\&) VTK_DELETE_FUNCTION;
      1853e030
    • Sean McBride's avatar
      Applied VTK_DELETE_FUNCTION for operator= · 2d0e11ef
      Sean McBride authored
      (operator\s*=.*);\s*//\s*Not\s*implemented[\.]*
      to
      \1 VTK_DELETE_FUNCTION;
      
      After that, this finds basically nothing:
      
      operator.*implemented
      
      then manually reverted changed files in VPIC and KWSys folders.
      2d0e11ef
  24. 08 Mar, 2016 1 commit
  25. 22 Feb, 2016 1 commit
  26. 31 Jan, 2016 1 commit
  27. 06 Apr, 2015 1 commit
  28. 29 Mar, 2015 1 commit
  29. 05 Mar, 2015 1 commit
    • Chuck Atkins's avatar
      ADIOS: Remove block-index calculations to use new APIs · 56454c5f
      Chuck Atkins authored
      ADIOS has added 2 new pieces of metadata in the read API to
      retrieve the absolute file timestep and writing process rank for
      each block of data.  This removes the need to compute the block
      index.
      
      Change-Id: I02b14706225f0a21d3ae6b11060a21748ccba199
      56454c5f
  30. 26 Feb, 2015 1 commit
  31. 31 Dec, 2014 2 commits