1. 08 Feb, 2016 1 commit
  2. 14 Jan, 2016 1 commit
  3. 08 Jan, 2016 1 commit
    • Boris Nagaev's avatar
      Fix CMake error if in directory with ++ in name. · a8495801
      Boris Nagaev authored and David Gobbi's avatar David Gobbi committed
      If ${VTK_SOURCE_DIR} contains "++", the following error
      is produced by CMake:
      > RegularExpression::compile(): Nested *?+.
      > RegularExpression::compile(): Error in compile.
      Use STREQUAL instead of MATCHES to compare strings.
  4. 07 Jan, 2016 1 commit
  5. 08 Dec, 2015 2 commits
    • Brad King's avatar
      Drop support for compilers without `long long` · 3b89e771
      Brad King authored
      VTK no longer supports any compilers that do not provide this type.
      Therefore all code conditional on VTK_TYPE_USE_LONG_LONG can be made
      unconditional.  Leave the macro defined to tell dependent projects that
      APIs using the type are available in case they still support versions of
      VTK that make it conditional.
    • Brad King's avatar
      Drop support for compilers with `__int64` as the only 64-bit int · 36bb09a7
      Brad King authored
      VTK no longer supports any compilers that have `__int64` but not a
      `long` or `long long` that is 64-bit.  Therefore all code that is
      conditional on VTK_TYPE_USE___INT64 is never used and can be dropped.
  6. 03 Dec, 2015 2 commits
  7. 01 Dec, 2015 1 commit
    • David Gobbi's avatar
      Fix bug for parsing backslash in string literal. · db20eb75
      David Gobbi authored
      The string and char literals had a mistake that caused a mis-parse if
      a backslash appeared before the terminating quote.  The new patterns
      fix the bug, and also allow for multi-line string literals.
  8. 27 Nov, 2015 1 commit
  9. 25 Nov, 2015 1 commit
  10. 23 Nov, 2015 2 commits
  11. 19 Nov, 2015 4 commits
  12. 18 Nov, 2015 3 commits
  13. 10 Nov, 2015 1 commit
  14. 05 Nov, 2015 3 commits
  15. 30 Oct, 2015 1 commit
  16. 28 Oct, 2015 2 commits
  17. 21 Oct, 2015 1 commit
  18. 18 Oct, 2015 3 commits
    • David Gobbi's avatar
      Add C++14 header support to wrappers. · ae0a8037
      David Gobbi authored
      This patch adds support for parsing headers that have various features
      that were introduced in the C++14 standard:
      1) binary literals
      2) digit separators in numeric literals
      3) variable templates
      4) "typename" instead of "class" in templated template parameters
      It also introduces a proposed C++17 feature:
      5) the u8 prefix for character literals
    • David Gobbi's avatar
      Add evaluation of unicode char literals. · 987d98dd
      David Gobbi authored
      The wrapper's char literal evaluator did not recognize the 'u' and U'
      escape codes or evaluate utf-8 encoded char constants.  Also, the
      CPRE_IDGIT character type has been split into CPRE_XID (which allows
      non-ASCII chars) and CPRE_XDIGIT (which is restricted to ASCII).
    • David Gobbi's avatar
      Fix evaluation of char literals with escape codes. · 2318e520
      David Gobbi authored
      The char pointer was not being advanced, leading to incorrect evaluation
      and a false syntax error.  Also, octal and hexadecimal escape codes were
      not evaluated with the correct signedness.
  19. 12 Oct, 2015 1 commit
  20. 10 Oct, 2015 1 commit
    • David Gobbi's avatar
      Ignore more typedefs for anonymous structs. · 6cb06ace
      David Gobbi authored
      This is for code where the typedef modifier does not come first, e.g.
          struct { ... } typedef mytype;
      It causes such typefs to be ignored because vtkParse.y is currently
      unable to properly deal with anonymous structs.  Note that the more
      common "typedef struct { ... } mytype;" is already treated the same.
  21. 08 Oct, 2015 1 commit
    • David Gobbi's avatar
      Relative import is required for installed VTK. · 25d44596
      David Gobbi authored
      The Python vtk module was failing to import the installed extension
      modules with Python 3, because relative imports now require a leading
      ".".   This problem did not show up on the dashboard, because the
      dash builds run their tests on the build directory (where the vtkpython
      executable has a baked-in PYTHONPATH) but not on the installed programs
      and modules.
      The try/except used in this patch is not an ideal solution, and I would
      rather that the extension modules were placed in Wrapping/Python/vtk/
      during the build, but the required Build/Debug subdirs for Visual Studio
      make that impossible.
  22. 04 Oct, 2015 1 commit
    • David Gobbi's avatar
      Fix for Python 3.5 compilation on Linux, Win32. · 8ef76e45
      David Gobbi authored
      In Python 3.5, they finally created a public function to convert
      strings from local encoding to wchar_t unicode.  The old internal
      function _Py_char2wchar() has been replaced by Py_DecodeLocale(),
      which also handles UTF-16 surrogates for OS X.
  23. 26 Sep, 2015 1 commit
  24. 22 Sep, 2015 3 commits
    • David Gobbi's avatar
      Wrap many more classes with python. · e6f75b9a
      David Gobbi authored
      This makes the python wrappers ignore WRAP_EXCLUDE, and instead use
      the new property WRAP_EXCLUDE_PYTHON that excludes fewer classes.
      The WRAP_SPECIAL flag, which used to act as a whitelist for python,
      has been removed.
      Because this change causes classes to be wrapped in python by default,
      some third-party VTK packages might break until they modify their own
      CMakeLists.txt files to add WRAP_EXCLUDE_PYTHON where necessary.
    • David Gobbi's avatar
      Ensure that entries in hierarchy file are unique. · 77f7a0dd
      David Gobbi authored
      Previously, it only checked whether the entire line in the file was
      unique.  Instead, it should verify that the entry itself is unique.
      This became an issue in some C headers that had declarations of the
      form "typedef struct X {} X;", causing X to appear both as a typedef
      and as a class type.
    • David Gobbi's avatar
      Ensure that stream operator parameter is const. · 21224324
      David Gobbi authored
      The python wrappers cannot successfully wrap a C++ stream operator
      if the second parameter (i.e. the object to be printed) is a non-const
  25. 12 Sep, 2015 1 commit