1. Sep 14, 2017
  2. Sep 13, 2017
  3. Sep 12, 2017
    • Dean Moldovan's avatar
      Make TypeErrors more informative when an optional header is missing · 2b4477eb
      Dean Moldovan authored
      E.g. trying to convert a `list` to a `std::vector<int>` without
      including <pybind11/stl.h> will now raise an error with a note that
      suggests checking the headers.
      
      The note is only appended if `std::` is found in the function
      signature. This should only be the case when a header is missing.
      E.g. when stl.h is included, the signature would contain `List[int]`
      instead of `std::vector<int>` while using stl_bind.h would produce
      something like `MyVector`. Similarly for `std::map`/`Dict`, `complex`,
      `std::function`/`Callable`, etc.
      
      There's a possibility for false positives, but it's pretty low.
      2b4477eb
    • Gunnar Läthén's avatar
      c64e6b16
  4. Sep 11, 2017
  5. Sep 10, 2017
  6. Sep 08, 2017
    • Dean Moldovan's avatar
      Remove unused value assignment · 2d49aee4
      Dean Moldovan authored
      2d49aee4
    • Dean Moldovan's avatar
    • Dean Moldovan's avatar
      Move the style check/barebones config up to the first position on Travis · cdf38dc6
      Dean Moldovan authored
      This runs the most basic tests first and avoids waiting until the very
      end for style checks.
      
      [skip appveyor]
      cdf38dc6
    • Dean Moldovan's avatar
      Speed up Travis CI build (#1056) · b7c98d21
      Dean Moldovan authored
      * Update Python 3 osx image to xcode8.3 to speed up brew install. 
        The Python 2 osx image remains xcode7.3.
      
      * Have one osx config run in debug mode to improve coverage.
      
      * Only run CMake build tests on two configs to speed up overall build.
      
        The CMake tests take ~30 seconds on each configuration, but we really 
        only need to them to run on two: one on Linux and one on macOS. This
        mirrors the recent change on AppVeyor.
      
      * Merge the style/docs/pip tests with the barebones build.
      
      * Merge 32-bit and CMake install configurations.
      
        This removes clang 3.9 from testing, but there are already 3 other clang 
        versions being tested on Travis and the new xcode8.3 image should be 
        close to clang 3.9.
      
      [skip appveyor]
      b7c98d21
  7. Sep 07, 2017
  8. Sep 06, 2017
  9. Sep 05, 2017
  10. Sep 02, 2017
  11. Sep 01, 2017
  12. Aug 31, 2017
  13. Aug 30, 2017
  14. Aug 28, 2017
  15. Aug 26, 2017
  16. Aug 25, 2017
    • Wenzel Jakob's avatar
      Address reference leak issue (fixes #1029) · c14c2762
      Wenzel Jakob authored
      Creating an instance of of a pybind11-bound type caused a reference leak in the
      associated Python type object, which could prevent these from being collected
      upon interpreter shutdown. This commit fixes that issue for all types that are
      defined in a scope (e.g. a module). Unscoped anonymous types (e.g. custom
      iterator types) always retain a positive reference count to prevent their
      collection.
      c14c2762