1. Dec 13, 2022
    • Ralf W. Grosse-Kunstleve's avatar
      [smart_holder] test_class_sh_mi_thunks (started from PR #4374) (#4380) · 4766065e
      Ralf W. Grosse-Kunstleve authored
      * Content of PR #4374 applied on top of smart_holder branch.
      
      * More tests, with USE_SH switch. [ci skip]
      
      * Use `std::dynamic_pointer_cast<Base0>` [ci skip]
      
      * All tests pass when using `m.make_derived_as_base0_raw_ptr()`, with `USE_SH` defined or not defined. [ci skip]
      
      * WIP
      
      * Debug LOOOK & one-line bug fix:
      
      ```diff
      -        auto smhldr = pybindit::memory::smart_holder::from_shared_ptr(src);
      +        auto smhldr = pybindit::memory::smart_holder::from_shared_ptr(std::shared_ptr<void>(src, const_cast<void *>(st.first)));
      ```
      
      * Remove all print LOOOK and clang-format the fix.
      
      * Resolve clang-tidy errors.
      
      * Systematic test matrix.
      
      * Bug fix in `smart_holder_type_caster<std::unique_ptr<T, D>>::cast()`
      
      * Rename: test_mi_debug -> test_class_sh_mi_thunks
      
      * Add `test_ptrdiff_derived_base0()`
      
      * Miscellaneous polishing (naming, comments). No functional changes.
      
      * Improve test_class_sh_mi_thunks.py implementation. No change in test coverage.
      
      * Resolve clang-tidy error.
      4766065e
  2. Dec 10, 2022
  3. Dec 09, 2022
  4. Dec 07, 2022
  5. Dec 06, 2022
  6. Dec 05, 2022
  7. Dec 02, 2022
  8. Dec 01, 2022
  9. Nov 29, 2022
  10. Nov 28, 2022
  11. Nov 26, 2022
  12. Nov 23, 2022
  13. Nov 19, 2022