Skip to content
Snippets Groups Projects
  1. Apr 02, 2017
    • David Gobbi's avatar
      Remove special characters from VTK source files. · 03647e64
      David Gobbi authored
      The source was searched with "grep -l [^ -~]" to find characters outside
      of the printable ASCII range 0x20 to 0x7e.  The worst offender is the
      en-dash character, which is visually indistinguishable from the minus
      character in most code editors.  Several tabs were also found, which
      is surprising since they should be blocked by the commit hooks.
      03647e64
  2. Mar 29, 2017
  3. Mar 14, 2017
  4. Feb 27, 2017
  5. Feb 01, 2017
  6. Jan 18, 2017
  7. Jan 17, 2017
  8. Jan 16, 2017
    • 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
  9. Dec 19, 2016
  10. Dec 05, 2016
    • Sean McBride's avatar
      Change Borland hacks to be for old compliers only · bcee8f31
      Sean McBride authored
      VTK has several Borland-specific workarounds, but I’m
      fairly sure they are all for ancient compilers.
      So this changes makes them all apply to older-than-newest
      versions only.
      This will make it easier to remove them entirely one day,
      as currently it’s impossible to know if they are needed for all, old, or new versions.
      bcee8f31
  11. Nov 26, 2016
  12. Oct 26, 2016
  13. Sep 24, 2016
  14. Sep 23, 2016
  15. Sep 12, 2016
    • 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
  16. Aug 24, 2016
  17. Aug 23, 2016
    • David Gobbi's avatar
      Add cmake check for minimum supported Python version · 643e587e
      David Gobbi authored
      We will be removing support for Python 2.6 and Python 3.2 in the near
      future, so add deprecation warnings for these.  For older versions of
      Python, generate an error.  This deprecation is due in part to the
      fact that WebPython now requires Python 2.7 or 3.3+.
      643e587e
  18. Jul 11, 2016
  19. Jul 08, 2016
  20. Jul 07, 2016
    • 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
    • Sean McBride's avatar
      include vtkConfigure.h in files that will need it · 37e1de8d
      Sean McBride authored
      These files will eventually need vtkConfigure.h
      for eventual VTK_DELETE_FUNCTION usage.
      37e1de8d
    • David Gobbi's avatar
      Simplifications for vtk_reindent_code.py · 0e93dad3
      David Gobbi authored
      Making the code a little less obfuscated.
      0e93dad3
  21. Jul 06, 2016
  22. Jul 05, 2016
  23. Jul 03, 2016
  24. Jul 01, 2016
    • David Gobbi's avatar
      Add '--test' option to vtk_reindent_code.py · 2ff1f497
      David Gobbi authored
      If this option is used, then vtk_reindent_code will print a warning
      for each file with incorrect brace indentation.  It will also print
      the line numbers for the incorrect braces.
      2ff1f497
    • David Gobbi's avatar
      Call reindent() until no further changes occur · ccc2eb5d
      David Gobbi authored
      Six files in the VTK source required vtk_reindent_code.py to be called
      twice in order for the indentation to be corrected (all other files only
      required it to be called once).  The problem with those six files was
      nested blocks where all source lines between the beginning of the outer
      block and the beginning of the inner block were comments.  There is
      probably a way to fix the script so that it properly deals with this
      situation, but simply re-processing the file until no futher changes
      occur is a robust solution that gives the correct result.
      ccc2eb5d
  25. Jun 30, 2016
    • Elvis Stansvik's avatar
      Consider QVTK* headers in WhatModulesVTK.py · 7fecf63b
      Elvis Stansvik authored
      Headers installed by the Qt and QtOpenGL modules in GUISupport use this
      header naming convention. This allows the script to identify that including
      QVTKWidget.h means you depend on the vtkGUISupportQt module, for instance
      7fecf63b
  26. Jun 28, 2016
  27. Jun 26, 2016
    • Michka Popoff's avatar
      ENH: Do not link against libpython when possible · 772cc086
      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 (things have been renamed from ITK to VTK). 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.
      
      This fixes the following bug: http://www.vtk.org/Bug/view.php?id=16068
      772cc086
  28. May 25, 2016
    • Kitware Robot's avatar
      Remove all BTX and ETX markers from VTK headers · 4d127b1d
      Kitware Robot authored and David Gobbi's avatar David Gobbi committed
      Perl was used to remove all the BTX and ETX markers from the code.
      The specific command that was run on all "vtk*.h" files was this:
          perl -0777 -i -pe 's/(\n* *\/\/ *[BE]TX *\n+)+/\n\n/g'
      
      This regex replaces each BTX/ETX line, plus any leading or trailing
      blank lines, with a single blank line.
      4d127b1d
  29. May 19, 2016
    • Sean McBride's avatar
      Manual search & destroy of (B|E)TX · 55878a23
      Sean McBride authored
      First automatically removed lines with only BTX/ETX
      from .h files with the following regexes:
      
      ^ *// *BTX\r
      ^ *// *ETX\r
      
      and replaced occurances with nothing. Committed that, then manually
      removed various remaining cases of BTX/ETX, and related comments, and parsing stuff,
      then trashed the first commit.
      55878a23
  30. May 13, 2016
Loading