52 Commits (master)

Author SHA1 Message Date
Henry Schreiner 73ad3099fb
fix: fully deprecate get_type_of (deprecated in 2.6 but no warning (#5596) 3 months ago
Ralf W. Grosse-Kunstleve 2943a27a14
squash-merge smart_holder branch into master (#5542) 4 months ago
Francesco Ballarin f7e14e985b
Address regression introduced in #5381 (#5396) 9 months ago
pre-commit-ci[bot] aa98d95717
chore(deps): update pre-commit hooks (#5123) 1 year ago
pre-commit-ci[bot] f33f6afb66
chore(deps): update pre-commit hooks (#5084) 1 year ago
Aaron Gokaslan b33d06f615
bugfix: fixes a test suite bug in the __new__ example (#4698) 2 years ago
Ralf W. Grosse-Kunstleve f12e098f1d
Fix `detail::obj_class_name()` to work correctly for meta classes. (#4436) 3 years ago
Ethan Steinberg 06003e82b3
Introduce a new style of warning suppression based on push/pop (#4285) 3 years ago
Lalaland 8ea75ab4d7
Fix casts to void* (#4275) 3 years ago
Ralf W. Grosse-Kunstleve da104a9efd
Reproducer and fix for issue encountered in smart_holder update. (#4228) 3 years ago
Ralf W. Grosse-Kunstleve a97e9d8cac
Dropping MSVC 2015 (#3722) 3 years ago
Ralf W. Grosse-Kunstleve ec24786eab
Fully-automatic clang-format with include reordering (#3713) 3 years ago
Ralf W. Grosse-Kunstleve e96221beff
Final manual curation in preparation for global `clang-format`ing (#3712) 3 years ago
Ralf W. Grosse-Kunstleve 7769e7719c
clang-tidy readability-qualified-auto (#3702) 3 years ago
Ralf W. Grosse-Kunstleve ddbc74c674 Adding .clang-tidy readability-braces-around-statements option. 3 years ago
Aaron Gokaslan 6e6975e217
Fix test case with __new__ (#3285) 4 years ago
Aaron Gokaslan d0f3c51f01
Enable defining custom __new__ (#3265) 4 years ago
Ralf W. Grosse-Kunstleve 6abf2baa62
CodeHealth: Enabling clang-tidy google-explicit-constructor (#3250) 4 years ago
Aaron Gokaslan 3893f37bce
maint(clang-tidy): Bugprone enable checks (#3166) 4 years ago
Ralf W. Grosse-Kunstleve 2d468697d9
NOLINT reduction (#3096) 4 years ago
Aaron Gokaslan b5357d1fa8
fix(clang-tidy): Enable clang-tidy else-after-return and redundant void checks (#3080) 4 years ago
Aaron Gokaslan dac74ebdf5
fix(clang-tidy): performance fixes applied in tests and CI (#3051) 4 years ago
Yannick Jadoul fe845878d1
Make sure all warnings in pytest get turned into errors (#2838) 4 years ago
Michael Kuron 48534089f7
fix: Intel ICC C++17 compatibility (#2729) 5 years ago
Axel Huebl 0b3df7f964
ci: Intel icc/icpc via oneAPI (#2573) 5 years ago
Yannick Jadoul e57dd4717e
Fix various minor memory leaks in the tests (found by Valgrind in #2746) (#2758) 5 years ago
Yannick Jadoul 71aea49b8b
Check scope's __dict__ instead of using hasattr when registering classes and exceptions (#2335) 5 years ago
Yannick Jadoul f537093a2f
Fail on passing py::object with wrong Python type to py::object subclass using PYBIND11_OBJECT macro (#2349) 5 years ago
Henry Schreiner 6bcd220c8d
refactor: module -> module_ with typedef (#2544) 5 years ago
Riyaz Haque 2b6b98e28f
Bugfix/Check actual value when deregistering pybind11 instance (#2252) 5 years ago
Henry Fredrick Schreiner 11f756f5a9 fix: type bug intruduced in #2492 5 years ago
Henry Schreiner b491b465c7 style: clang-tidy: modernize-use-equals-default 5 years ago
Henry Schreiner b342c37388 style: clang-tidy: modernize-use-using 5 years ago
Yannick Jadoul d65e34d61d
Resolve empty statement warning when using PYBIND11_OVERLOAD_PURE_NAME and PYBIND11_OVERLOAD_PURE (#2325) 5 years ago
Henry Schreiner f12ec00d70
feat: py::type::of<T>() and py::type::of(h) (#2364) 5 years ago
jbarlow83 4d90f1a199
Add error_scope to py::class_::dealloc() to protect destructor calls (#2342) 5 years ago
Henry Schreiner e428a7f6b8 ci: fix clang warnings 5 years ago
Dustin Spicuzza 0dfffcf257 Add is_final to disallow inheritance from Python 5 years ago
Wenzel Jakob e2eca4f8f8
Support C++17 aligned new statement (#1582) 7 years ago
oremanj e7761e3383 Fix potential crash when calling an overloaded function (#1327) 7 years ago
Jason Rhinelander adbc8111bc Use stricter brace initialization 8 years ago
Francesco Biscani ba33b2fc79 Add -Wdeprecated to test suite and fix associated warnings (#1191) 8 years ago
Jason Rhinelander 71178922fd
__qualname__ and nested class naming fixes (#1171) 8 years ago
Wenzel Jakob 8ed5b8ab55 make implicit conversions non-reentrant (fixes #1035) (#1037) 8 years ago
Wenzel Jakob 4336a7da4a support for brace initialization 8 years ago
Dean Moldovan 234f7c39a0 Test and document binding protected member functions 8 years ago
Jason Rhinelander 42e5ddc541 Add a polymorphic static assert when using an alias 8 years ago
Jason Rhinelander 7437c69500 Add py::module_local() attribute for module-local type bindings 8 years ago
Jason Rhinelander a03408c839 Add support custom sized operator deletes (#952) 8 years ago
Dean Moldovan af2dda38ef Add a life support system for type_caster temporaries 8 years ago