1. Apr 16, 2021
  2. Apr 15, 2021
  3. Apr 14, 2021
  4. Apr 13, 2021
  5. Apr 10, 2021
    • Henry Schreiner's avatar
      chore: add myself to CODEOWNERS (#2940) · e0c1dadb
      Henry Schreiner authored
      * chore: add myself to CODEOWNERS
      
      This will ensure I get notified about pull requests where these files change.
      
      * Update .github/CODEOWNERS
      e0c1dadb
    • Ralf W. Grosse-Kunstleve's avatar
      Adding reclaim_disowned logic & miscellaneous naming and documentation improvements. (#2943) · 6c922614
      Ralf W. Grosse-Kunstleve authored
      * Using new smart_holder::reclaim_disowned in smart_holder_type_caster for unique_ptr.
      
      * Systematically renaming was_disowned to is_disowned (because disowning is now reversible: reclaim_disowned).
      
      * Systematically renaming virtual_overrider_self_life_support to trampoline_self_life_support (to reuse existing terminology instead of introducing new one).
      
      * Systematically renaming test_class_sh_with_alias to test_class_sh_trampoline_basic.
      
      * Adding a Trampolines and std::unique_ptr section to README_smart_holder.rst.
      
      * MSVC compatibility.
      6c922614
  6. Apr 09, 2021
  7. Apr 06, 2021
  8. Apr 03, 2021
  9. Apr 02, 2021
  10. Mar 26, 2021
  11. Mar 24, 2021
  12. Mar 23, 2021
  13. Mar 20, 2021
    • Ralf W. Grosse-Kunstleve's avatar
      Using `dynamic_cast<AliasType>` to determine `pointee_depends_on_holder_owner`. (#2910) · 5319ca38
      Ralf W. Grosse-Kunstleve authored
      * Adaption of PyCLIF virtual_py_cpp_mix test.
      
      * Removing ValueError: Ownership of instance with virtual overrides in Python cannot be transferred to C++. TODO: static_assert alias class needs to inherit from virtual_overrider_self_life_support.
      
      * Bringing back ValueError: "... instance cannot safely be transferred to C++.", but based on dynamic_cast<AliasType>.
      
      * Fixing oversight: adding test_class_sh_virtual_py_cpp_mix.cpp to cmake file.
      
      * clang <= 3.6 compatibility.
      
      * Fixing oversight: dynamic_raw_ptr_cast_if_possible needs special handling for To = void. Adding corresponding missing test in test_class_sh_virtual_py_cpp_mix. Moving dynamic_raw_ptr_cast_if_possible to separate header.
      
      * Changing py::detail::virtual_overrider_self_life_support to py::virtual_overrider_self_life_support.
      5319ca38
  14. Mar 19, 2021
  15. Mar 17, 2021
  16. Mar 16, 2021
    • Ralf W. Grosse-Kunstleve's avatar
      Adding virtual_overrider_self_life_support. (#2902) · 46979203
      Ralf W. Grosse-Kunstleve authored
      * Initial version of virtual_overrider_self_life_support (enables safely passing unique_ptr to C++).
      
      * Clang 3.6, 3.7 compatibility.
      
      * Adding missing default constructor.
      
      * Restoring test for exception for the case that virtual_overrider_self_life_support is not used.
      
      * Fixing oversight: Adding missing holder().ensure_was_not_disowned().
      
      * Adding unit tests for new `struct smart_holder` member functions.
      
      * Moving virtual_overrider_self_life_support to separate include file, with iwyu cleanup.
      46979203
  17. Mar 10, 2021
  18. Mar 08, 2021