1. 06 Apr, 2015 1 commit
  2. 31 Mar, 2015 3 commits
  3. 30 Mar, 2015 3 commits
  4. 26 Mar, 2015 1 commit
  5. 25 Mar, 2015 1 commit
  6. 24 Mar, 2015 1 commit
  7. 16 Mar, 2015 2 commits
  8. 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
  9. 10 Mar, 2015 1 commit
  10. 09 Mar, 2015 1 commit
    • Ben Boeckel's avatar
      windows: compile the vtkpython.rc file separately · a701e9c0
      Ben Boeckel authored
      On Windows, if a build tree has a long path, the command line length
      limit can be exceeded. This is normally handled by using response files
      to store the command line arguments rather than passing them directly.
      Unfortunately, CMake does not support this for RC files. To address
      this, compile the rc file separately.
      Change-Id: Ie91e9578c6cf41f7386b914e408c6369c733117f
  11. 03 Mar, 2015 1 commit
  12. 01 Mar, 2015 2 commits
  13. 16 Feb, 2015 2 commits
  14. 15 Feb, 2015 1 commit
    • David Gobbi's avatar
      Fix arg conversion of const ref arg via constructor. · a051d503
      David Gobbi authored
      There was a simple mistake in the code that builds the "ArgCheck"
      string that the wrappers use for argument type checking.  As a
      result, the "argument check" was not distinguishing between const
      reference args and non-const reference args.  A "const reference"
      arg type can satisfied via implicit conversion from another type,
      while a non-const reference arg cannot.  The new test specifically
      tests for this.
      Change-Id: I59725536496dd6d80b64ace09403161ccd89c9b4
  15. 12 Feb, 2015 2 commits
  16. 09 Feb, 2015 1 commit
  17. 05 Feb, 2015 4 commits
  18. 14 Jan, 2015 1 commit
    • David Gobbi's avatar
      Make wrappers ignore scoped class definitions. · 248da996
      David Gobbi authored
      Whenever a scoped class was defined, e.g. "struct somescope::someclass"
      followed by the definition, the wrappers would add it to the current
      namespace as "somescope::someclass" instead of adding "someclass" to the
      "somescope" namespace.  As a partial fix, simply ignore such classes.
      Change-Id: Iacd18b9042e53f4d3ed341714e26d3cf1b7fab2f
  19. 09 Jan, 2015 1 commit
  20. 28 Dec, 2014 1 commit
    • Dan Lipsa's avatar
      BUG: Account for gradient G + mean(G,0) · ed860dc2
      Dan Lipsa authored
      If G is a gradient array G.shape = (n,3) we have that
      mean(G,0).shape = (3,). Appending 1s to the second array
      would result in a broadcast error, so we do not do it in
      this case.
      Change-Id: I7c46e1c0c4159c40511a221797487b27438cb079
  21. 24 Dec, 2014 1 commit
    • Dan Lipsa's avatar
      Reshape VTKArrays so that they can be combined through operators. · 193be6ad
      Dan Lipsa authored
      An array G of shape (n,3) resulted from computing the
      gradient on a scalar array S of shape (n,) cannot be added together without
      G + expand_dims(S,1) works,
      G + S gives an error:
      ValueError: operands could not be broadcast together with shapes (n,3) (n,)
      This commit performs this reshape operation automatically by appending 1s
      to the dimensions of the array with fewer dimensions.
      Change-Id: I0a0eaeecf5063fac1c8b71b9d32472bbc41d42c8
  22. 18 Dec, 2014 3 commits
  23. 13 Dec, 2014 2 commits
    • David Gobbi's avatar
      Revert "Remove some unecessary casts." · af541360
      David Gobbi authored
      VC++ thinks these casts are necessary, even though gcc and clang
      This reverts commit 8c45343b.
      Change-Id: I9c308561e3c0696c66e24e45fd6fa4384c70aa34
    • David Gobbi's avatar
      Remove some unecessary casts. · 8c45343b
      David Gobbi authored
      These casts were necessary for really old compilers that didn't
      keep track of which level of indirection the "constness" applied
      to.  For modern compilers, they should be unecessary.
      Change-Id: Ia23cebae43fd6f1705016a11f2df4801e9830d24
  24. 10 Dec, 2014 1 commit
  25. 09 Dec, 2014 1 commit
    • Ben Boeckel's avatar
      python: remove echo from custom target · 2b895234
      Ben Boeckel authored
      'echo' is not an executable on Windows and as such is not supported with
      Change-Id: Ie0990d7277d68d2e4cfe051f4cb04c11988dc258
  26. 08 Dec, 2014 1 commit