1. 08 Jul, 2016 1 commit
  2. 07 Jul, 2016 1 commit
  3. 06 Jul, 2016 1 commit
  4. 05 Jul, 2016 1 commit
  5. 03 Jul, 2016 2 commits
  6. 01 Jul, 2016 2 commits
    • 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
  7. 30 Jun, 2016 1 commit
    • 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
  8. 26 Jun, 2016 1 commit
    • 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
  9. 08 Mar, 2016 1 commit
  10. 25 Feb, 2016 1 commit
    • David Gobbi's avatar
      Move re-indentation utility to the Maintenance dir. · 6f62b2d5
      David Gobbi authored
      This is a python script that changes the Whitesmiths indentation
      style to the Allman indentation style that is currently more popular.
      This script will only change the brace indentation, it will not change
      the code in any other way, so "git blame" results will be mostly
      unchanged after re-styling.
      6f62b2d5
  11. 03 Feb, 2016 1 commit
    • Ken Martin's avatar
      reduce opengl2 module dependencies · 480822bf
      Ken Martin authored
      Reduce opengl2 dependencies in two ways
      first move a class that renderingcore depends on from
      filterExtraction to FiltersGeneral. FiltersExtraction pulls
      in a lot of other modules where FiltersGeneral does not.
      FiltersExtraction already depends on filtersGeneral so it
      should be backwards compatible.
      
      The second change is a new feature to allow a back implementation
      to be required or not. In this case gl2ps was originally required
      by OpenGl2 now it is optional. This required adding an option to
      the module code to specify when a backend implementation is required.
      480822bf
  12. 22 Jan, 2016 1 commit
  13. 21 Jul, 2015 1 commit
    • Ben Boeckel's avatar
      semanticDiffVersion: use the returncode · a1dbc97d
      Ben Boeckel authored
      Git was outputting information about bumping configuration values to
      search harder for copies on stderr causing the script to think errors
      occurred. Instead, check the return code (better anyways since a
      segfault wouldn't necessarily output anything to stderr).
      a1dbc97d
  14. 30 May, 2015 1 commit
  15. 09 Apr, 2015 1 commit
    • David C. Lonie's avatar
      Remove the RenderingFreeTypeOpenGL module. · 4f7460a5
      David C. Lonie authored
      This is not supported by the new OpenGL2 backend, and doesn't support
      new text features, like MathText, FontConfig, or custom font files.
      
      It only implements vtkTextMapper, which now will use a texture-based
      implementation, similar to vtkTextActor and friends.
      4f7460a5
  16. 31 Mar, 2015 2 commits
  17. 11 Mar, 2015 1 commit
    • Scott Wittenburg's avatar
      Fix how we import our argparse fallback implementation. · 566dc51f
      Scott Wittenburg authored
      In environments where Python 2.6 is still in use, there is no
      argparse module included by default.  For these situations, we
      have included our own copy, called _argparse.py, which we usually
      import in the except block in case the default is not present.  At
      some point, the vtk.web package included this file, but at some
      point it was removed and because few sites still use Python 2.6,
      it was not caught.
      
      This fix puts the _argparse.py in a single location (except for
      where it is needed at build time).  This location is vtk.util,
      and everything now looks there in the fallback case.
      
      Change-Id: Id64241ffbe4e3cec7e96dae386da1a6385c5f6ed
      566dc51f
  18. 09 Feb, 2015 3 commits
  19. 18 Dec, 2014 1 commit
    • Dave DeMarle's avatar
      update cdash scrapers to use https · bf4b4076
      Dave DeMarle authored
      Necessary because we changed the config of the cdash server
      at kitware this week to require https protocol.
      
      Change-Id: I9957fa7f25e4cc22197318564f7f5ccfe2633a05
      bf4b4076
  20. 06 Aug, 2014 1 commit
  21. 05 Aug, 2014 1 commit
  22. 24 Jun, 2014 1 commit
  23. 12 Feb, 2014 1 commit
  24. 31 Jan, 2014 1 commit
  25. 30 Jan, 2014 1 commit
  26. 22 Jan, 2014 1 commit
  27. 08 Jan, 2014 3 commits
    • Brad King's avatar
      Teach SourceTarball.bash to split source and data tarballs · bf5cf3cf
      Brad King authored
      Teach Utilities/Maintenance/SourceTarball.bash to generate separate
      archives for the source code, normal data, and large data.  Organize
      the archive layout so that they can all be extracted on top of one
      another.  Make the data archives extract into <prefix>/.ExternalData
      to appear as if the content came with the source tree.
      
      Add .ExternalData/README.rst to document the directory and indicate its
      existence.  Change the BUILD_TESTING default to OFF when the file is not
      present.  Teach SourceTarball.bash to leave this file out of the source
      tarball and put it in the normal data tarball.  With this approach
      users can download and build the source with or without the data and
      never hit the network for test data by default.
      
      Change-Id: I33007959c87ea60a9b11f49e5f7af351fc2ca9b7
      bf5cf3cf
    • Brad King's avatar
      Port SourceTarball.bash to run on OS X · 57399278
      Brad King authored
      Create a compute_MD5 function to abstract the differences between
      the Linux "md5sum" tool and the OS X "md5" tool.
      
      Change-Id: I79fdb8347f99a17643a73179bb98dc8c671442b9
      57399278
    • Brad King's avatar
      Add release helper script SourceTarball.bash · 360d6c73
      Brad King authored
      Port the Utilities/Maintenance/SourceTarball.bash from ITK 4.5.0 to VTK.
      Update the URL and tarball names for VTK.
      
      Change-Id: Id78cb69b781d646e0800322b50c2d2dba905124b
      360d6c73
  28. 25 Nov, 2013 1 commit
    • Andrew Maclean's avatar
      ADD: VisualizeModuleDependencies.py · dfc562af
      Andrew Maclean authored
      This program takes a list of module files and creates a
      (possibly disjoint) directed graph of the modules and their
      dependencies. Arrows on the directed graph point to the
      dependent module.
      
      Tested on Windows/Linux for various lists of modules. Additionally
      tested on all the vtk modules by replacing the line:
      graph = GenerateGraph(moduleList, moduleDepencencies, moduleTreeDepth)
      with
      graph = GenerateGraph(moduleDepencenciesmoduleList, moduleDepencencies, moduleTreeDepth)
      
      Change-Id: Id3da81bc9bba719736e76eee68c27a387382c76e
      Signed-off-by: Andrew Maclean's avatarAndrew Maclean <andrew.amaclean@gmail.com>
      dfc562af
  29. 18 Nov, 2013 1 commit
  30. 10 Nov, 2013 1 commit
    • Andrew Maclean's avatar
      Enhance WhatModulesVTK.py · d78f3ad7
      Andrew Maclean authored
      The python script accepts either a file as the second
      parameter or a directory.
      If a directory is passed to the program it is
      recursively searched for all files that contain includes.
      
      The script has been enhanced to parse the module.cmake files
      in order to calculate, in addition the set of all modules
      referenced in the files, the following extra sets:
      
      1) A minimal set of modules that need to be referenced.
      2) A set of modules where all the dependencies are chased down.
      
      Change-Id: Ie0251a76c85458ddb8a1ed034d3d89239abddcae
      Signed-off-by: Andrew Maclean's avatarAndrew Maclean <andrew.amaclean@gmail.com>
      d78f3ad7
  31. 21 May, 2013 1 commit
    • Matt McCormick's avatar
      Add script to upload content-linked external data files to MIDAS · ce185b24
      Matt McCormick authored
      Port the Utilities/Maintenance/ArchiveTestingData.py from ITK to VTK.
      
      Add the VTK Community on the Kitware Midas server as a resource for
      downloading VTK ExternalData.  This improves robustness against failed
      connections with the Apache file server, protection against the other
      server going down, and a web interface to examine and download the
      individual files.
      
      Add a script to upload all files corresponding to the content links in
      the source tree to the Midas server.  Make the paths of the files mirror
      the content link location within the source tree.  Obtain the files from
      a local ExternalData object store.
      
      Change-Id: I2dc9234d3ab0499dc2196e68d2c967d9445e10d7
      ce185b24
  32. 29 Oct, 2012 1 commit
    • Bill Lorensen's avatar
      ENH: Utility to find modules needed by a VTK app · dcf6d56b
      Bill Lorensen authored
      Generate a FindPackage(VTK COMPONENTS) that lists all modules
      referenced by a set of files
      
      This is derived from WhatModulesITK.py developed for ITK.
      
      Change-Id: I5b7e663557dcc21900c608f59c7664c0a82ee4e0
      dcf6d56b
  33. 13 Sep, 2012 1 commit
    • Bill Lorensen's avatar
      ENH: Code coverage for Macs · e381b957
      Bill Lorensen authored
      This patch addresses a bug reported at llvm.org
      http://llvm.org/bugs/show_bug.cgi?id=11809
      
      The Mac clang compiler can generate coverage information. But when the
      executables run, they place the .gcda files in the wrong
      directories. The .gcda files should be in the same directory as the
      .gcno files. This patch adds a python script fixcoverage.py that moves
      each .gcda file into the directory containing the associated .gcno
      file.
      
      Change-Id: If0d12a3834b3649a41230ad131a8625c9b61481b
      e381b957