1. Jan 13, 2023
  2. Jan 04, 2023
  3. Jan 03, 2023
  4. Jan 02, 2023
  5. Dec 31, 2022
  6. Dec 29, 2022
  7. Dec 28, 2022
    • Aaron Gokaslan's avatar
      chore: update clang-tidy to 15 (#4387) · 7f23e9f3
      Aaron Gokaslan authored
      * chore: update clang-tidy to 15
      
      * Add git
      
      * Add NOLINTNEXTLINE for assignment in if
      
      * Update CONTRIBUTING.md
      
      * Add NOLINTNEXTLINE where needed
      
      * Add one more NOLINTNEXTLINE
      
      * stl_bind: make more readable
      
      * Another missing NOLINTNEXTLINE
      
      * Match style elsewhere
      
      * Apply reviewer suggestion. Mark false positive
      7f23e9f3
  8. Dec 21, 2022
  9. Dec 20, 2022
  10. Dec 16, 2022
  11. Dec 15, 2022
  12. Dec 14, 2022
  13. Dec 10, 2022
  14. Dec 09, 2022
    • aimir's avatar
      Correct class names for KeysView, ValuesView and ItemsView in bind_map (#4353) · 9db98801
      aimir authored
      
      
      * Create templated abstract classes KeysView, ValuesView and ItemsView, and implement them on-the-fly when wrapping any specific map type
      
      * We don't want to wrap different ValuesView objects for double values and const double, for example, as both wrappers will be named ValuesView[float]
      
      * Fallback to C++ names if key or values types are not wrapped
      
      * Added a test for .keys(), .values() and .items() returning the same types for similarly-typed maps
      
      * Fixed wrong use of auto in a declarator list: the two descriptions might have different types
      
      * Fixes for clang-tidy issues: explicit single-argument constructor, using the 'override' keyword when overriding functions
      
      * Bugfix for old versions of clang++, which seem to have trouble with the struct being defined inside a module, which was also needlessly ugly anyway
      
      * Bugfix for clang++, which doesn't have some of the names in runtime uness they are specified to be static
      
      * A fix for clang-tidy performance-inefficient-string-concatenation issues - I personally think this looks uglier, but it's probably worth it for clang-tidy to be happy
      
      * Possible fix for clang++ linking issues - make the descriptions static constexpr to make sure they are known before linking
      
      * Correct names for previously-wrapped types as keys/values of maps
      
      * Bugfix - typo in type info names which caused things to segfault
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarAaron Gokaslan <skylion.aaron@gmail.com>
      
      * Use detail::remove_cvref_t instead of doing remove_cv and remove_reference separately
      
      * Avoid names with double underscore, as they are reserved
      
      * Improved testing for KeysView, ValuesView and ItemsView: check type names + stricter asserts
      
      * Moved description logic to helper function in type_caster_base.h
      
      * style: pre-commit fixes
      
      * Fix a clang-tidy issue: do not use 'else' after 'return'
      
      * Apply suggestion by @Skylion007, with additional trivial simplification.
      
      Co-authored-by: default avatarAmir <aimir@local>
      Co-authored-by: default avataraimir <aimir@localhost>
      Co-authored-by: default avatarAaron Gokaslan <skylion.aaron@gmail.com>
      Co-authored-by: default avatarpre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
      Co-authored-by: default avatarRalf W. Grosse-Kunstleve <rwgk@google.com>
      9db98801
    • Frank's avatar
      Add option for enable/disable enum members in docstring. (#2768) · 00126859
      Frank authored
      
      
      * Add option for enable/disable enum members in docstring
      
      * Add tests for disable enum members docstring option
      
      * Add docstring options to documentation
      
      * style: pre-commit fixes
      
      * Fix typos in documentation
      
      * Improve documentation wording
      
      * Apply suggestions by @Skylion007
      
      Co-authored-by: default avatarpre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
      Co-authored-by: default avatarRalf W. Grosse-Kunstleve <rwgk@google.com>
      00126859
    • Ralf W. Grosse-Kunstleve's avatar
      `pybind11::handle` `inc_ref()` & `dec_ref()` `PyGILState_Check()` **excluding** `nullptr` (#4246) · 65374c8e
      Ralf W. Grosse-Kunstleve authored
      * pybind11/pytypes.h `inc_ref()`, `dec_ref()` `PyGILState_Check()` **excluding** `nullptr`
      
      Guarded by `PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF`
      
      * Disable `PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF` for PyPy under Windows.
      
      * Add reference to PR #4268 (PyPy Windows)
      65374c8e
  15. Dec 07, 2022
  16. Dec 05, 2022
  17. Dec 02, 2022
  18. Dec 01, 2022
  19. Nov 28, 2022
  20. Nov 26, 2022
  21. Nov 23, 2022
  22. Nov 13, 2022
  23. Nov 12, 2022
  24. Nov 11, 2022