1. 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.
  2. 08 Mar, 2016 1 commit
  3. 17 Dec, 2015 2 commits
  4. 10 Dec, 2015 1 commit
  5. 14 May, 2015 1 commit
    • Brad King's avatar
      KWSys: Tell Git not to export .gitattributes · 78012ba4
      Brad King authored
      KWSys upstream added an attribute to export .gitattributes so that
      importing snapshots into the sources of other projects would bring along
      the attributes.  However, we don't want to export them from VTK.
      Drop .gitattributes entries not relevant to VTK.
  6. 29 Oct, 2014 1 commit
  7. 14 Oct, 2014 1 commit
  8. 25 Apr, 2014 1 commit
    • Brad King's avatar
      Set MACOSX_RPATH property default consistently across CMake versions · cd0b6e68
      Brad King authored
      The MACOSX_RPATH target property was introduced in CMake 2.8.12, but we
      currently allow CMake 2.8.8.  Set CMAKE_MACOSX_RPATH to 0 by default
      so that we get consistent behavior across all versions of CMake.
      Leave a comment explaining when the default should be updated.
      Now that we set a MACOSX_RPATH default explicitly, we no longer need to
      set CMake Policy CMP0042 as was added in commit 2ad9f474 (Set CMake
      Policies CMP0025 and CMP0042 as necessary, 2014-03-11), so remove it.
      Change-Id: I8af24a728379176b9e7ab933206eaa956e1c60f2
  9. 11 Mar, 2014 1 commit
    • Brad King's avatar
      Set CMake Policies CMP0025 and CMP0042 as necessary · 2ad9f474
      Brad King authored
      CMake 3.0 introduces these policies to improve default behavior on OS X.
      Set them explicitly in VTK to avoid policy warnings.  VTK already works
      with the NEW behavior.
      Policy CMP0025 affects the project() command when the Apple Clang
      compiler is used so we need to set it in all the Examples.  Policy
      CMP0042 affects shared libraries on OS X, enabling MACOSX_RPATH by
      default.  Set it in directories where we create libraries.  Also tell
      KWSys to enable MACOSX_RPATH explicitly instead of setting the policy.
      Change-Id: I543b60ee1b8f629adb150e01ee83d99dddb66f46
  10. 01 Sep, 2013 1 commit
  11. 11 Oct, 2012 1 commit
    • Brad King's avatar
      KWSys: Fix SystemInformation declaration order · fd851975
      Brad King authored
      Switch order of the two GetFieldFromFile definitions so that the first
      one does not try to call the second one before it is declared.
      Change-Id: Ide8065a81dbfd89fa944c91ddc37c507dfd68efc
  12. 12 Sep, 2012 1 commit
  13. 12 Jul, 2012 1 commit
    • Brad King's avatar
      KWSys: Disable SystemInformation::GetFullyQualifiedDomainName on AIX · dc466586
      Brad King authored
      The implementation is incomplete and fails to compile on AIX:
       SystemInformation.cxx", line 1088.13: 1540-0274 (S) The name lookup for "NI_MAXHOST" did not find a declaration.
      Disable the implementation until this can be addressed so it does
      not block errors elsewhere.
      Change-Id: I9e1110525d1a6ea165528701699206b7e5eb6076
  14. 28 Jun, 2012 1 commit
  15. 22 Jun, 2012 1 commit
  16. 18 Jun, 2012 1 commit
    • Burlen Loring's avatar
      SystemInformationCleanup · 32f08e67
      Burlen Loring authored
      Fixed unused parameter and shadow variable compiler warnings reported by dashboards.
      Change-Id: I6cfc8be481895249983df0dfec6f21ef8ce9b04e
  17. 06 Jun, 2012 1 commit
    • Burlen Loring's avatar
      KWSys: Teach SystemInformation to report more information · 595216ab
      Burlen Loring authored
      Updates to kwsys SystemInformation to support probing of the current processes
      memory usage in KB(linux,win,mac), the total physical memory in KB(linux,win,mac),
      and to report the model name field of the cpuinfo(linux only). a method to return
      the host's FQDN, and methods to test for OS type(Windows, Apple, linux). These
      additions/modifications will be used by ParaView's MemoryInspector.
      Change-Id: I69cf3d25b27aefca1602d4255412f4d32a75ca27
  18. 23 May, 2012 1 commit
    • Brad King's avatar
      KWSys: Remove unused environ declaration from SystemTools · e7bf0a45
      Brad King authored
      Commit "KWSys: Fix SystemTools environment memory handling" (2012-04-26)
      added a _WIN32 case inside !KWSYS_CXX_HAS_ENVIRON_IN_STDLIB_H to dllimport
      the "environ" global.  Howver, KWSYS_CXX_HAS_ENVIRON_IN_STDLIB_H is true
      on every Windows toolchain we support so the case is never reached.
      Furthermore, even if it were reached the use of dllimport is incorrect
      because the toolchain might not be compiling with a dynamic runtime
      library.  Remove the unused incorrect line and supporting conditionals.
      Change-Id: Id8aeb9c060ae59d0cd7b05a3b4cfb9d0c1badf90
  19. 10 May, 2012 1 commit
    • Brad King's avatar
      Remove compatibility with non-standard C++ streams · 3279f44d
      Brad King authored
      Remove test for VTK_USE_ANSI_STDLIB and assume availability.  VTK no
      longer supports C++ compilers without standard streams.  Define
      VTK_USE_ANSI_STDLIB if VTK_LEGACY_REMOVE is OFF so applications that
      test for it see the definition.
      Change-Id: Ief0c47e8f720754db1916a96f6ed012aa0d8555e
  20. 02 May, 2012 1 commit
    • Brad King's avatar
      KWSys: Remove dependencies on FundamentalType · 74f1006a
      Brad King authored
      The hash_fun.hxx header is configured whether FundamentalType is enabled
      or not and so cannot depend on it.  Run the relevant platform tests
      whether or not FundamentalType is on and configure the result directly
      into hash_fun.  While at it, remove the dependence of SystemInformation
      on FundamentalType too since it needs only information that we now
      always compute.
      Change-Id: I743795446ae0e7eca88aeed852fc9e6f06e52f60
  21. 26 Apr, 2012 1 commit
    • Brad King's avatar
      KWSys: Fix SystemTools environment memory handling (#13156) · 752f526c
      Brad King authored
      The SystemTools::PutEnv function tries to provide the "putenv" API
      without leaking memory.  However, the kwsysDeletingCharVector singleton
      frees memory that may still be referenced by the environment table,
      having been placed there by putenv.  If any static destruction or
      processing by an external tool happens after the singleton is destroyed
      and accesses the environment it will read invalid memory.
      Replace use of putenv with setenv/unsetenv when available.  The latter
      manage internal copies of the values passed instead of referencing the
      original memory.  When setenv/unsetenv are not available use putenv with
      a singleton that removes its values from the environment before freeing
      their memory.  This requires an "unputenv" implementation.  On at least
      some platforms it must be written in terms of "putenv" because other
      APIs are not available and direct modification of the "environ" global
      is not safe (e.g. on Windows there is interaction with "wenviron").
      Fortunately either putenv("A=") or putenv("A") will remove "A" from the
      environment on these platforms.  On other platforms fall back to direct
      manipulation of "environ".
      Also add UnPutEnv to the API and add a test for the behavior of both.
      Change-Id: I1e546c03f1530a7ae8dfea73a3bfa7b3c2d023c2
  22. 25 Apr, 2012 1 commit
    • Brad King's avatar
      KWSys: Remove DateStamp · 94c68617
      Brad King authored
      KWSys is no longer shared in projects via a server-side directory
      symlink in CVS.  An automated nightly date stamp commit can no longer be
      shared by multiple projects directly.  It needs a per-project replay
      robot so the nightly commits end up needing N+1 robots instead of N.
      Remove the DateStamp feature because it is no longer useful or
      maintained by nightly commits.
      Change-Id: I9620a3e3286935312ab1fc4e3ba5629e46541b33
  23. 20 Apr, 2012 2 commits
    • Brad King's avatar
      Refactor VTK version handling · ebf6777d
      Brad King authored
      Move VTK_(MAJOR|MINOR|BUILD)_VERSION out of "CMakeLists.txt" into
      dedicated file "CMake/vtkVersion.cmake".  Move the preprocessor macros
      from "vtkConfigure.h" to new configured header "vtkVersionMacros.h".
      This avoids rebuilding everything when the version number changes.
      Include the new header from the old location to provide the macros for
      compatibility unless VTK_LEGACY_REMOVE is ON.
      Define the BUILD version to be a date during development and the patch
      level for releases (or during preparation of one as we are currently).
      The CMake package version file (VTKConfigVersion.cmake) already does
      this so make the C++-presented version consistent with it.  Add a
      "CMake/vtkVersion.bash" script to help a nightly robot update the build
      version when it is a date.  This replaces KWSys DateStamp for VTK.
      Compile the wrapping parser with only the major and minor version number
      components instead of the full version number.  This avoids causing a
      full rebuild of all wrappers whenever the build version component
      changes.  The wrapper only needs the version to provide its --version
      option anyway.
      Teach the documentation generation scripts to extract the VTK version
      numbers from the new version file.  Drop the separate revision file
      infrastructure because everything is now in one version file.
      Also remove unused file CMake/VTKVersionMacros.cmake.
      Change-Id: If988b32c738e6161237f7e3edaff49e75cb15b25
    • Kitware Robot's avatar
      KWSys Nightly Date Stamp · 7f6a8423
      Kitware Robot authored
  24. 19 Apr, 2012 1 commit
  25. 18 Apr, 2012 1 commit
  26. 17 Apr, 2012 1 commit
  27. 16 Apr, 2012 1 commit
  28. 15 Apr, 2012 1 commit
  29. 14 Apr, 2012 1 commit
  30. 13 Apr, 2012 1 commit
  31. 12 Apr, 2012 1 commit
  32. 11 Apr, 2012 1 commit
  33. 10 Apr, 2012 1 commit
  34. 09 Apr, 2012 2 commits
    • VTK Developers's avatar
      Add modular VTK build system · 0c1471f1
      VTK Developers authored
      Add module.cmake, CMakeLists.txt, and other build system files.
      The modular VTK build system is not yet mature.  The monolithic build
      files had a lot of infrastructure.  The modular build files reproduce
      much of the functionality but some features will need to be restored
      later.  Document status and tasks in "TODO-Modularization.txt".
      Co-Author: Marcus D. Hanwell <marcus.hanwell@kitware.com>
      Co-Author: Chris Harris <chris.harris@kitware.com>
      Co-Author: Brad King <brad.king@kitware.com>
      Co-Author: Nikhil Shetty <nikhil.shetty@kitware.com>
    • VTK Developers's avatar
      Modularize VTK tree layout · cdd4d6fd
      VTK Developers authored
      Move source files from their former monolithic VTK location to their new
      location in modular VTK without modification.  This preserves enough
      information for "git blame -M" and "git log --follow" to connect
      modularized VTK files to their original location and history.
      Co-Author: Marcus D. Hanwell <marcus.hanwell@kitware.com>
      Co-Author: Chris Harris <chris.harris@kitware.com>
      Co-Author: Brad King <brad.king@kitware.com>
      Co-Author: Nikhil Shetty <nikhil.shetty@kitware.com>