1. 06 Nov, 2017 1 commit
  2. 24 Oct, 2017 1 commit
  3. 11 Oct, 2017 1 commit
  4. 04 Oct, 2017 2 commits
    • Ken Martin's avatar
      manually convert more NULL to nullptr · de3c93a3
      Ken Martin authored
      This topic catches another batch of NULL conversions that
      clang did not handle for various reasons. It also includes
      a number of changes to comments and strings where NULL was
      used. It also catches some recent code changes where NULL
      was used instead of nullptr.
      de3c93a3
    • Kitware Robot's avatar
      Replace VTK_DELETE_FUNCTION with =delete. · 1ac2c008
      Kitware Robot authored
      Now that VTK requires a C++11 compiler we can ditch using custom typedefs to
      wrap =delete;
      1ac2c008
  5. 02 Oct, 2017 2 commits
  6. 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
  7. 11 Sep, 2017 1 commit
  8. 26 Jul, 2017 2 commits
  9. 03 Jun, 2017 1 commit
  10. 30 May, 2017 2 commits
  11. 01 May, 2017 2 commits
  12. 27 Apr, 2017 1 commit
  13. 13 Apr, 2017 1 commit
    • Sean McBride's avatar
      Wrapped VTK___INT64 usage in VTK_LEGACY_REMOVE · bc2e2c5f
      Sean McBride authored
      These are already informally commented as legacy, this just
      allows them to be truly compiled-away.  Will help totally removing them one day,
      which is desirable because they violate C++ naming rules by having
      2 or more adjacent underscores.
      bc2e2c5f
  14. 08 Apr, 2017 1 commit
  15. 31 Mar, 2017 1 commit
  16. 14 Mar, 2017 1 commit
  17. 01 Feb, 2017 1 commit
  18. 16 Jan, 2017 3 commits
    • Andrew Maclean's avatar
    • Robert Maynard's avatar
      Convert vtk over to using VTK_OVERRIDE · 3f7a2769
      Robert Maynard authored
      3f7a2769
    • Michka Popoff's avatar
      ENH: Do not link against libpython when possible · 5668595e
      Michka Popoff authored
      This is similar to what is already done in ITK and SimpleITK.
      
      The new vtkTargetLinkLibrariesWithDynamicLookup.cmake file is slightly modified copy from
      ITK/CMake/itkTargetLinkLibrariesWithDynamicLookup.cmake
      The explanation of what this patch tries to achieve is documented in this file.
      
      A new argument is introduced, called OPTIONAL_PYTHON_LINK.
      When used, the module will be optionally be linked against libpython.
      In the module.cmake files, most vtkPython dependencies were moved to COMPILE_DEPENDS, so that libpython is not added to the target_link_libraries() call.
      
      The vtkPython is explicitely linked against the python libraries, as this is a python executable.
      
      Also, the find_package calls for the PythonLibs were made optional when possible.
      
      The XDMF3 project was not updated, this will need to be done separately if weak linking is wished for that project.
      
      Fixes: #16068
      5668595e
  19. 12 Jan, 2017 1 commit
  20. 10 Jan, 2017 2 commits
  21. 05 Jan, 2017 1 commit
    • Mathieu Westphal's avatar
      Fix NULL socket crash · f0729750
      Mathieu Westphal authored
      In some cases, when server closes unexpectendly
      the client may try to send data to the server
      while it's socket has already been destroyed,
      provoking a segfault.
      This fixes it.
      f0729750
  22. 03 Oct, 2016 1 commit
    • David C. Lonie's avatar
      Refactor vtkDebugLeaks construction. · e5c793db
      David C. Lonie authored
      vtkDebugLeaks registers instance by class name, which worked well for
      many years. However, now that we have more templated code, this is
      becoming difficult. For instance, "template <typename T> vtkBuffer<T>"
      would be identified as "vtkBuffer<T>" when registering with
      vtkDebugLeaks, but deregistered with the compiler dependent
      typeid(vtkBuffer<T>).name() string returned from GetClassName().
      
      This patch moves vtkDebugLeaks registrations to the method
      vtkObjectBase::InitializeObjectBase(), which must be called after the
      vtkObjectBase is instantiated. This ensures that objects are
      registered using the same string as when they are destroyed. In
      general, a call to "new vtkSomeClass" must be followed by a call to
      InitializeObjectBase on the new instance. The common ::New()
      implementation macros in vtkObjectFactory will ensure that
      registration happens correctly.
      
      Two notable exceptions are vtkCommand and vtkInformationKey
      subclasses. These do not require any specific handling for
      vtkDebugLeaks registration.
      
      See discussion at:
      
      http://vtk.1045678.n5.nabble.com/Proposal-Simplify-vtkDebugLeaks-registration-td5740222.html
      e5c793db
  23. 26 Sep, 2016 1 commit
  24. 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
  25. 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
  26. 18 Aug, 2016 1 commit
    • Utkarsh Ayachit's avatar
      Added simpler Gather(vtkDataObject*) method. · d8fd4496
      Utkarsh Ayachit authored
      vtkCommunicator::GatherV() required the destination process to know what
      data types to expect. This was unnecessary. There's enough information
      in the marshalled data object received from  the sender side to deduce
      that. Adding new vtkCommunicator::Gather() and
      vtkMultiProcessController::Gather() methods that provide a simpler
      interface.
      
      Updating GenericCommunicator test to test for the new API.
      d8fd4496
  27. 15 Aug, 2016 1 commit
  28. 09 Aug, 2016 1 commit
    • Brad King's avatar
      Parallel/Core: Drop unnecessary VTK_USE_64BIT_IDS conditional blocks · c73ddec2
      Brad King authored
      Several vtkCommunicator and vtkMultiProcessController methods are
      duplicated for `vtkIdType` and `long long` when in fact only the latter
      is necessary.  All these APIs are overloaded for all basic integer
      types, so the proper one can be chosen by the compiler for use with
      callers that have a `vtkIdType`.
      c73ddec2
  29. 03 Aug, 2016 1 commit
  30. 28 Jul, 2016 1 commit
  31. 26 Jul, 2016 1 commit