31 Commits (1dd85ef42a806a145a533c8d03ed7e701587380c)

Author SHA1 Message Date
Henry Schreiner 1dd85ef42a
chore: bump maximum clang tested to 20 (#5692) 1 month ago
Henry Schreiner 9966ad409d
fix: allow -Wpedantic in C++20 mode (#5322) 11 months ago
Sergei Izmailov c83605936b
feature: Support move-only iterators in `py::make_*iterator` (#4834) 2 years ago
Aaron Gokaslan 17c1e27b3d
fix: Revert pfect args make iterator (#4234) 3 years ago
Chris Ohk 1a432b426f
docs: Correct minor typos (#3721) 3 years ago
Ralf W. Grosse-Kunstleve ec24786eab
Fully-automatic clang-format with include reordering (#3713) 3 years ago
Aaron Gokaslan d6c66d25bb
chore(clang-tidy): Add clang-tidy rules: prefer-member-initializer and optin.performance.Padding (#3716) 3 years ago
Ralf W. Grosse-Kunstleve ddbc74c674 Adding .clang-tidy readability-braces-around-statements option. 3 years ago
Bruce Merry 8a7c266d26
Fix make_key_iterator/make_value_iterator for prvalue iterators (#3348) 4 years ago
Henry Schreiner 21282e645a
feat: reapply fixed version of #3271 (#3293) 4 years ago
Henry Schreiner 5f46e47da8
tests: check simple iteration of pairs (#3296) 4 years ago
Henry Schreiner 2fa3fcfda5 Revert "Add make_value_iterator (#3271)" 4 years ago
Henry Schreiner b06a6f4f62
feat: Slice allowing None with py::object or std::optional (#1101) 4 years ago
Bruce Merry ee0c5ee405
Add make_value_iterator (#3271) 4 years ago
Ralf W. Grosse-Kunstleve 6abf2baa62
CodeHealth: Enabling clang-tidy google-explicit-constructor (#3250) 4 years ago
Aaron Gokaslan 25e470c57d
fix(clang-tidy): Add cppcoreguidelines-init-vars,slicing, and throw-by-value-catch-by-reference checks (#3094) 4 years ago
Aaron Gokaslan dac74ebdf5
fix(clang-tidy): performance fixes applied in tests and CI (#3051) 4 years ago
Henry Schreiner f200832534 style: ssize_t -> py::ssize_t 5 years ago
Henry Schreiner ce88e940ce style: clang-tidy: modernize-use-auto 5 years ago
Yannick Jadoul 03b3d59d10
tests: fix CI by including <algorithm> to stop MSVC from complaining about std::count_if in tests/test_sequences_and_iterators.cpp (#2435) 5 years ago
Nicholas Musolino 02c83dba0f Propagate exceptions in sequence::size() (#2076) 5 years ago
sizmailov 21c3911bd3 add signed overload for `py::slice::compute` 6 years ago
Jason Rhinelander 391c75447d Update all remaining tests to new test styles 8 years ago
Dean Moldovan bdfb50f384 Move tests from test_issues.cpp/py into appropriate files 8 years ago
Dean Moldovan 5637af7b67 Add lightweight iterators for tuple, list and sequence 8 years ago
Dean Moldovan 1fac1b9f5f Make py::iterator compatible with std algorithms 8 years ago
Dean Moldovan f7685826e2 Handle all py::iterator errors 8 years ago
Jason Rhinelander 0780655808 Fix test compilation failure under gcc 4.9 (#496) 9 years ago
Jason Rhinelander 52f4be8946 Make test initialization self-registering 9 years ago
Ivan Smirnov 4c5e21b0cb Add tests for generalized iterators 9 years ago
Dean Moldovan a0c1ccf0a9 Port tests to pytest 9 years ago
Jason Rhinelander 5aa85be26e Added pybind11::make_key_iterator for map iteration 9 years ago
Jason Rhinelander 3f589379ec Improve constructor/destructor tracking 9 years ago
Jason Rhinelander b3f3d79f4c Rename examples files, as per #288 9 years ago
Wenzel Jakob 0a07805ab6 fixed many conversion warnings on clang 9 years ago
Wenzel Jakob 8cb6cb33ef minor cleanups in common.h; updated author info and copyright year 9 years ago
Wenzel Jakob b282595bba convenience wrapper for constructing iterators (fixes #142) 9 years ago
Wenzel Jakob 8f4eb00690 last breaking change: be consistent about the project name 10 years ago
Wenzel Jakob d557e1d3ad example6 fix 10 years ago
Wenzel Jakob a576e6a8ca keyword argument support, removed last traces of std::function<> usage 10 years ago
Wenzel Jakob 38bd71134a Initial commit 10 years ago