Commit Graph

  • 1c636f4dce
    chore: Change numpy dtype from_args call sig to const ref (#3878) Aaron Gokaslan 2022-04-18 11:11:24 -04:00
  • fbcde3f0af
    chore: enable clang-tidy check modernize-use-nullptr (#3881) Aaron Gokaslan 2022-04-18 11:09:45 -04:00
  • 30716c67a1
    Also add error_scope assignment operator to complete the rule-of-3 (follow-on to PR #3870). (#3872) Ralf W. Grosse-Kunstleve 2022-04-15 11:44:48 -07:00
  • 3829b7624c
    chore: simplify numpy dtype ctor (#3869) Aaron Gokaslan 2022-04-14 17:12:44 -04:00
  • 45164c1fcb
    Added deleted copy constructor for error_scope to comply with rule of 3. (#3870) Oleksandr Pavlyk 2022-04-14 11:16:58 -05:00
  • ba7a0fac73
    Expand dtype accessors (#3868) Oleksandr Pavlyk 2022-04-14 09:53:16 -05:00
  • fa98804a07
    Adds set_name method of pybind11::capsule class (#3866) Oleksandr Pavlyk 2022-04-14 09:51:27 -05:00
  • ad0de0f5a6
    [pre-commit.ci] pre-commit autoupdate (#3863) pre-commit-ci[bot] 2022-04-11 19:50:42 -04:00
  • 9969f3b5b5
    ci: drop win2016 (#3854) Henry Schreiner 2022-04-11 16:54:33 -04:00
  • 088ad4f298
    Cleanup cast_safe<void> specialization (#3861) Laramie Leavitt 2022-04-11 11:57:05 -07:00
  • e3aa215b02
    Add perfect forwarding to make_iterator calls (#3860) Aaron Gokaslan 2022-04-11 14:03:43 -04:00
  • 1b27b744c1
    chore: Make stl_bind take slice as const_ref (#3852) Aaron Gokaslan 2022-04-11 13:53:30 -04:00
  • ab59f45d2e
    Prefer make_caster<T> to type_caster<T> (#3859) Laramie Leavitt 2022-04-11 10:36:24 -07:00
  • c4e295287b
    perf: Add more moves and optimize (#3845) Aaron Gokaslan 2022-04-05 14:36:39 -04:00
  • f2f0c69096
    [pre-commit.ci] pre-commit autoupdate (#3848) pre-commit-ci[bot] 2022-04-04 17:56:42 -04:00
  • b3ebd11d98
    feature: support compilers that use std::experimental::filesystem (#3840) Lonnie L. Souder II 2022-04-01 01:16:10 -04:00
  • 65ec5de52f
    chore: bump changelog for 2.9.2 (#3834) Henry Schreiner 2022-03-30 23:02:00 -04:00
  • 42d8593ad4
    style: bump black (#3831) Henry Schreiner 2022-03-28 17:24:59 -04:00
  • 3a183d4b58
    fix: improve str exceptions and consistency with python (#3826) Aaron Gokaslan 2022-03-25 16:01:34 -04:00
  • 7742be02d9
    Revert "ci: test pypy 3.9" (#3828) Henry Schreiner 2022-03-25 14:54:43 -04:00
  • 461937d3e5
    ci: test pypy 3.9 (#3789) Henry Schreiner 2022-03-25 12:34:32 -04:00
  • 146695a904
    fix: better exception and error handling for capsules (#3825) Aaron Gokaslan 2022-03-25 10:55:13 -04:00
  • 47079b9e7b
    (perf): Add missing move in sp matrix caster and microopt char concats (#3823) Aaron Gokaslan 2022-03-24 12:57:37 -04:00
  • b22ee64c73
    Add type_caster<std::monostate> (#3818) Laramie Leavitt 2022-03-21 22:58:04 -07:00
  • 67089cd3e6
    [pre-commit.ci] pre-commit autoupdate (#3817) pre-commit-ci[bot] 2022-03-21 20:47:02 -04:00
  • b3a43d137c
    Use rvalue reference for std::variant cast_op<T> (#3811) Laramie Leavitt 2022-03-18 11:10:31 -07:00
  • 8b1944d390
    Remove idioms in code comments (#3809) JonTriebenbach 2022-03-17 14:51:16 -05:00
  • a7e7a6e846
    Docs: No Strip in Debug (#3779) Axel Huebl 2022-03-17 11:21:28 -07:00
  • f8a532a7de
    [pre-commit.ci] pre-commit autoupdate (#3800) pre-commit-ci[bot] 2022-03-15 10:18:12 -04:00
  • 91a6e129d9
    PYBIND11_OBJECT_CVT should use namespace for error_already_set() (#3797) Oleksandr Pavlyk 2022-03-11 14:18:25 -06:00
  • d75b353694
    CI: MSVC Debug Build (#3784) Axel Huebl 2022-03-10 10:31:16 -08:00
  • 2dd5254494
    fix: missing move in eval.h (#3775) Aaron Gokaslan 2022-03-02 15:25:43 -05:00
  • af08a95b56
    fix: potential memory leak in pypy (#3774) Aaron Gokaslan 2022-03-02 14:14:52 -05:00
  • 42a8e31253
    Improve Python 3.11 support (#3694) Aaron Gokaslan 2022-03-02 13:17:52 -05:00
  • 465b2e0bd8
    Use sysconfig in Python >= 3.10 (#3764) Stefano Rivera 2022-03-01 10:47:10 -08:00
  • 5f9b090a91
    ci: fix PyPy (#3768) Henry Schreiner 2022-03-01 12:42:52 -05:00
  • 061c617707
    [pre-commit.ci] pre-commit autoupdate (#3765) pre-commit-ci[bot] 2022-02-28 21:35:43 -05:00
  • f495dfc433
    cast: Qualify symbol usage in PYBIND11_TYPE_CASTER (#3758) Eric Cousineau 2022-02-25 16:25:23 -05:00
  • da15bb206c
    Cast bytearray to string (#3707) kururu002 2022-02-24 07:21:03 +08:00
  • 91f597be5a
    [pre-commit.ci] pre-commit autoupdate (#3754) pre-commit-ci[bot] 2022-02-23 17:56:41 -05:00
  • 9aa676d38d
    fix: clear local internals after finalizing interpreter #2101 (#3744) StarQTius 2022-02-20 17:00:29 +01:00
  • 44596bc4ee
    Fix exception handling when pybind11::weakref() fails. (#3739) Peter Hawkins 2022-02-18 14:12:00 -05:00
  • 009ffc3362
    MSVC C++20 test_eigen (#3741) Ralf W. Grosse-Kunstleve 2022-02-16 07:07:53 -08:00
  • 4b42c37191
    style: pylint (#3720) Henry Schreiner 2022-02-15 17:48:33 -05:00
  • c14170a787
    Removing // clang-format off - on directives from test_pickling.cpp (#3738) Ralf W. Grosse-Kunstleve 2022-02-15 11:51:17 -08:00
  • 0986af6182
    [pre-commit.ci] pre-commit autoupdate (#3672) pre-commit-ci[bot] 2022-02-15 11:27:00 -05:00
  • a25d40c7bc
    tests: use 'build' in tests instead of running setup.py (#3734) Henry Schreiner 2022-02-15 00:32:58 -05:00
  • a97e9d8cac
    Dropping MSVC 2015 (#3722) Ralf W. Grosse-Kunstleve 2022-02-14 11:36:22 -08:00
  • 44156477a3
    Adding MSVC 2022 C++20 GitHub Action (#3732) Ralf W. Grosse-Kunstleve 2022-02-14 09:29:06 -08:00
  • 522c59ceb2
    chore: drop Python 3.5 (#3719) Henry Schreiner 2022-02-11 19:06:16 -05:00
  • 1a432b426f
    docs: Correct minor typos (#3721) Chris Ohk 2022-02-12 00:42:48 +09:00
  • 6493f496e3
    Python 2 removal part 1: tests (C++ code is intentionally ~untouched) (#3688) Ralf W. Grosse-Kunstleve 2022-02-10 18:28:08 -08:00
  • 46dcd9bc75
    fix: minor CMake warning fix for unused variable (#3718) Henry Schreiner 2022-02-10 17:03:33 -05:00
  • ec24786eab
    Fully-automatic clang-format with include reordering (#3713) Ralf W. Grosse-Kunstleve 2022-02-10 12:17:07 -08:00
  • e96221beff
    Final manual curation in preparation for global clang-formating (#3712) Ralf W. Grosse-Kunstleve 2022-02-10 11:42:03 -08:00
  • d6c66d25bb
    chore(clang-tidy): Add clang-tidy rules: prefer-member-initializer and optin.performance.Padding (#3716) Aaron Gokaslan 2022-02-10 12:45:46 -05:00
  • dc9803cef2
    Add missing clang-tidy fixes (#3715) Aaron Gokaslan 2022-02-10 12:23:15 -05:00
  • 7f9758165d
    chore(clang-tidy): Enable static downcast and decl naming check (#3709) Aaron Gokaslan 2022-02-09 12:37:45 -05:00
  • abc38690dc
    Manually applying two clang-format changes that need fix-ups for clang-tidy. (#3705) Ralf W. Grosse-Kunstleve 2022-02-09 06:32:41 -08:00
  • 7769e7719c
    clang-tidy readability-qualified-auto (#3702) Ralf W. Grosse-Kunstleve 2022-02-09 06:24:57 -08:00
  • b4f5350d0d
    chore: use member initializer (#3704) Ralf W. Grosse-Kunstleve 2022-02-08 19:08:31 -08:00
  • ddbc74c674 Adding .clang-tidy readability-braces-around-statements option. Ralf W. Grosse-Kunstleve 2022-02-07 16:23:20 -08:00
  • 8581584e60 Manual fix-ups in preparation for clang-tidy readability-braces-around-statements. Ralf W. Grosse-Kunstleve 2022-02-07 16:17:32 -08:00
  • af056b65d3
    fix: __index__ on Enum should always be present. (#3700) Henry Schreiner 2022-02-08 11:47:30 -05:00
  • 1b84188330
    Minor change to improve readability (#3695) Aaron Gokaslan 2022-02-07 15:29:25 -05:00
  • 96b943be1d
    tests: update catch to 2.13.5 to fix glibc 2.34 failures (#3679) Michał Górny 2022-02-06 05:53:02 +01:00
  • 94a948722f
    docs: fix imported target name (#3689) Sebastian Koslowski 2022-02-06 01:11:59 +01:00
  • 36813cfa12
    chore: back to work Henry Schreiner 2022-02-03 12:44:02 -05:00
  • 1d3b04e805
    test: Strip whitespace when comparing numpy dtypes for 1.22 compat (#3682) Michał Górny 2022-02-03 18:29:46 +01:00
  • ffa346860b
    chore: bump to 2.9.1 Henry Schreiner 2022-02-02 17:34:15 -05:00
  • 3899dc65b9
    Documenting missing unit test coverage. (#3673) Ralf W. Grosse-Kunstleve 2022-02-02 13:16:44 -08:00
  • 0f6ad9105c
    docs: update changelog for 2.9.1 (#3670) Henry Schreiner 2022-02-02 16:08:44 -05:00
  • 21e10945a0
    ci: move centos 8 to stream (#3675) Henry Schreiner 2022-02-02 11:25:28 -05:00
  • ce18721d83
    Ensure TypeError use raise_from for C++->Python overload res. (#3671) Aaron Gokaslan 2022-01-31 15:13:05 -05:00
  • 978617f6b5
    fix issue 3668 by removing bool casts in numpy.h (#3669) Aaron Gokaslan 2022-01-31 12:57:32 -05:00
  • 3a8d92308d
    Fix caster optimization regression introduced in #3650 (#3659) Aaron Gokaslan 2022-01-31 12:19:48 -05:00
  • bf7e5f9284
    fix(setup): support overriding CMake args (#3577) Henry Schreiner 2022-01-31 11:38:06 -05:00
  • dc4717bac2
    fix: module extension detection for python 3.10 (#3663) Mattia Basaglia 2022-01-31 17:10:45 +01:00
  • 07103d6570
    Remove extra semicolon (#3666) Mattia Basaglia 2022-01-29 23:44:48 +01:00
  • 177928840e
    Document how to bind templates (#3665) Dustin Spicuzza 2022-01-29 17:38:30 -05:00
  • ec81e8e778
    Propagate py::multiple_inheritance to all children (#3650) Dustin Spicuzza 2022-01-26 20:03:52 -05:00
  • bcb6d63ce9
    fix msys ci python issue (#3651) Liam Keegan 2022-01-26 17:18:08 +01:00
  • dedda228f4
    Fix a typo in class.rst (#3648) yangliz5 2022-01-26 00:32:33 -06:00
  • 9ec1128c7a
    Fix typo in doc (#3628) Nimrod 2022-01-19 15:22:42 +08:00
  • 3a1eddab54
    chore(deps): bump jwlawson/actions-setup-cmake from 1.11 to 1.12 (#3625) dependabot[bot] 2022-01-16 21:47:58 -05:00
  • 5194855900
    Render py::bool_ and py::float_ without _ in docstrings (#3622) Sergei Izmailov 2022-01-16 18:05:46 +03:00
  • 7e7c558530 Fixing obvious minor typo (missing D in -DOWNLOAD_EIGEN=ON). Ralf W. Grosse-Kunstleve 2022-01-14 16:16:52 -08:00
  • d2ec836712
    Add support for nested C++11 exceptions (#3608) Aaron Gokaslan 2022-01-14 14:22:47 -05:00
  • f8d4aa47b6
    Add clang-tidy readability checks for sus args (#3611) Aaron Gokaslan 2022-01-11 20:34:16 -05:00
  • 21911e126f
    A way to register additional test targets and support .py only tests. (#3590) Ivor Wanders 2022-01-11 20:31:19 -05:00
  • d434b5f31e
    (chore): Remove deprecated c-headers (#3610) Aaron Gokaslan 2022-01-11 17:57:59 -05:00
  • f588810871
    Replacing ICC C++14 with C++17 (#3570) Ralf W. Grosse-Kunstleve 2022-01-11 12:13:02 -08:00
  • ef070f7750
    Add additional info to TypeError when C++->Python casting fails (#3605) Aaron Gokaslan 2022-01-10 21:18:00 -05:00
  • b66328b043
    [pre-commit.ci] pre-commit autoupdate (#3609) pre-commit-ci[bot] 2022-01-10 21:13:24 -05:00
  • fb9a222daa
    chore(deps): bump pypa/gh-action-pypi-publish from 1.4.2 to 1.5.0 (#3606) dependabot[bot] 2022-01-10 10:29:30 -05:00
  • 2cd32e5d54
    [pre-commit.ci] pre-commit autoupdate (#3589) pre-commit-ci[bot] 2022-01-03 15:55:21 -08:00
  • 1bbaeb3462
    Adding dedicated test_const_name. (#3578) Ralf W. Grosse-Kunstleve 2021-12-29 12:54:25 -08:00
  • 9b4f71d12d
    docs: remove duplication in changelog for 2.9.0 Henry Schreiner 2021-12-28 12:19:17 -05:00
  • 9371614764 Merge branch 'master' into stable Henry Schreiner 2021-12-28 11:47:54 -05:00
  • 45f792efdd
    chore: prepare for 2.9 Henry Schreiner 2021-12-28 10:47:21 -05:00