Commit Graph

  • 66c3774a64
    Warnings wrappers to use from C++ (#5291) Jan Iwaszkiewicz 2024-08-29 05:55:50 +0200
  • ae43d51182
    Merge branch 'pybind:master' into master Steve R. Sun 2024-08-29 10:25:45 +0800
  • 3951b63030 Pass `const std::type_info *` via `py::capsule` (instead of `cpp_typeid_name`). Ralf W. Grosse-Kunstleve 2024-08-28 17:18:50 -0700
  • 757f885966 Use `type_caster_generic::load(self)` instead of `cast<T *>(self)` Ralf W. Grosse-Kunstleve 2024-08-28 16:33:03 -0700
  • 2df540ea4d Move `__cpp_transporter__` lambda to `py::cpp_transporter()` regular function. Ralf W. Grosse-Kunstleve 2024-08-28 16:07:33 -0700
  • 251bf91047 Shuffle order of tests (no real changes). Ralf W. Grosse-Kunstleve 2024-08-28 15:58:36 -0700
  • 3063c033f9 Expand tests: `PremiumTraveler`, `get_points()` Ralf W. Grosse-Kunstleve 2024-08-28 15:54:38 -0700
  • fc57b446cd Rename test_cpp_transporter_traveler_type.h -> test_cpp_transporter_traveler_types.h Ralf W. Grosse-Kunstleve 2024-08-28 15:41:54 -0700
  • 39ca2aa2e2 Add PremiumTraveler Ralf W. Grosse-Kunstleve 2024-08-28 15:23:14 -0700
  • c7050dcaf1 Merge branch 'master' into sh_merge_master Ralf W. Grosse-Kunstleve 2024-08-28 09:29:30 -0700
  • 8047e6b7ea Merge remote-tracking branch 'upstream/master' into fix-2764 Vasily Litvinov 2024-08-28 13:35:50 +0000
  • 9a4a00c7ec Address review comments Vasily Litvinov 2024-08-28 13:33:08 +0000
  • d2479aa6e7 `.__cpp_transporter__()` implementation: compare `pybind11_platform_abi_id`, `cpp_typeid_name` Ralf W. Grosse-Kunstleve 2024-08-27 22:26:58 -0700
  • 59f3036e8e Merge branch 'master' into cpp_transporter Ralf W. Grosse-Kunstleve 2024-08-27 21:13:05 -0700
  • 0a29d05784 Remove internals_version.h from CMakeLists.txt, tests/extra_python_package/test_files.py Ralf W. Grosse-Kunstleve 2024-08-27 21:13:02 -0700
  • 2fde1bd94b Revert "factor out internals_version.h from internals.h (no functional changes)" Ralf W. Grosse-Kunstleve 2024-08-27 21:11:41 -0700
  • 65f4266cef
    Add `while True` & `top` method to FAQ. (#5340) Ralf W. Grosse-Kunstleve 2024-08-28 11:04:48 +0700
  • a09d6007a1 Update CMakeLists.txt, tests/extra_python_package/test_files.py Ralf W. Grosse-Kunstleve 2024-08-27 17:23:47 -0700
  • 3ccea8cd43 factor out internals_version.h from internals.h (no functional changes) Ralf W. Grosse-Kunstleve 2024-08-27 17:08:46 -0700
  • 87ebc39e98 factor out platform_abi_id.h from internals.h (no functional changes) Ralf W. Grosse-Kunstleve 2024-08-27 17:02:17 -0700
  • 2617a04e41 Merge branch 'master' into cpp_transporter Ralf W. Grosse-Kunstleve 2024-08-27 15:14:45 -0700
  • a140734ed7 Add `while True` & `top` method to FAQ. Ralf W. Grosse-Kunstleve 2024-08-27 13:53:32 -0700
  • 4c66dac7d3 style: pre-commit fixes pre-commit-ci[bot] 2024-08-27 11:42:06 +0000
  • 7f6684a22e Refactor per review Vasily Litvinov 2024-08-27 10:21:40 +0000
  • ffec979e7c
    Merge branch 'pybind:master' into master Steve R. Sun 2024-08-27 08:58:20 +0800
  • 6d7e47ae79 Snapshot of smart_holder branch @ f99ffd7e03 (Tue Aug 27 01:56:00 2024 +0700) Ralf W. Grosse-Kunstleve 2024-08-26 12:02:34 -0700
  • f99ffd7e03
    Remove test_classh_mock.cpp,py (#5338) Ralf W. Grosse-Kunstleve 2024-08-27 01:56:00 +0700
  • ed376194e3 Remove test_classh_mock.cpp,py Ralf W. Grosse-Kunstleve 2024-08-26 11:41:26 -0700
  • b0f715a02b Merge branch 'master' into sh_merge_master Ralf W. Grosse-Kunstleve 2024-08-26 10:25:25 -0700
  • 5ed381daac
    Replace all SMART_HOLDER_WIP comments with reminders, notes, or pointers. (#5336) Ralf W. Grosse-Kunstleve 2024-08-27 00:23:51 +0700
  • 1f45c2208b Replace all SMART_HOLDER_WIP comments with reminders, notes, or pointers. Ralf W. Grosse-Kunstleve 2024-08-26 09:50:31 -0700
  • 3fb16ad175
    fix: using `__cpp_nontype_template_args` instead of `__cpp_nontype_template_parameter_class` (#5330) ObeliskGate 2024-08-26 11:36:03 +0800
  • e8f595bb85
    chore(deps): bump actions/attest-build-provenance in the actions group (#5335) dependabot[bot] 2024-08-25 23:35:03 -0400
  • b5d354e27b
    chore(deps): bump actions/attest-build-provenance in the actions group dependabot[bot] 2024-08-26 02:42:58 +0000
  • 24cebfadb7 Merge remote-tracking branch 'upstream/master' into jiwaszki/warnings_feature jiwaszki 2024-08-26 00:34:31 +0200
  • f98b5d4c89 Remove unnecessary parametrized jiwaszki 2024-08-26 00:34:14 +0200
  • 2dd6c7a227 Resolve `error: extra Ralf W. Grosse-Kunstleve 2024-08-25 14:28:34 -0700
  • 7c951c5b87 Merge branch 'master' into cpp_transporter Ralf W. Grosse-Kunstleve 2024-08-25 13:50:24 -0700
  • b77283dacf Merge branch 'smart_holder' into native_enum_internals_sh Ralf W. Grosse-Kunstleve 2024-08-25 13:42:55 -0700
  • 04d9f84f26
    [smart_holder] Fix handling of `const unique_ptr<T, D> &` (do not disown). (#5332) Ralf W. Grosse-Kunstleve 2024-08-26 00:57:48 +0700
  • be3bafe9df Add `static_assert()` following a suggestion by @iwanders under PR #5334 Ralf W. Grosse-Kunstleve 2024-08-25 10:02:41 -0700
  • 9adbb61d36 Remove `std::move()` in `smart_holder::extract_deleter()` Ralf W. Grosse-Kunstleve 2024-08-25 09:55:53 -0700
  • a0be89d203 Apply suggestion by @iwanders under PR #5334 Ralf W. Grosse-Kunstleve 2024-08-25 09:14:35 -0700
  • 028f18178a Fix small, inconsequential oversight in test code. Ralf W. Grosse-Kunstleve 2024-08-25 09:09:06 -0700
  • e47e43c039 Add small comments. Ralf W. Grosse-Kunstleve 2024-08-25 09:05:18 -0700
  • 2ec83854e7 Merge branch 'smart_holder' into unique_ptr_cref_sh Ralf W. Grosse-Kunstleve 2024-08-25 08:59:21 -0700
  • 0e49463169
    Split out (almost) pure refactoring from https://github.com/pybind/pybind11/pull/5332 (#5334) Ralf W. Grosse-Kunstleve 2024-08-25 22:56:22 +0700
  • 9b9286141b Split out (almost) pure refactoring from https://github.com/pybind/pybind11/pull/5332 Ralf W. Grosse-Kunstleve 2024-08-25 08:32:12 -0700
  • bf54ecdf9c
    Split out non-functional changes from https://github.com/pybind/pybind11/pull/5332 (#5333) Ralf W. Grosse-Kunstleve 2024-08-25 22:41:16 +0700
  • cd693a6d0b Split out non-functional changes from https://github.com/pybind/pybind11/pull/5332 Ralf W. Grosse-Kunstleve 2024-08-25 08:18:12 -0700
  • 48b1bf6261 Use `re.match("ctor_arg(_MvCtor)*_MvCtor", ...)` for compatibility with MSVC, NVHPC, ICC Ralf W. Grosse-Kunstleve 2024-08-24 16:11:57 -0700
  • a300855ca0 Misc cleanup/tidying. Ralf W. Grosse-Kunstleve 2024-08-24 15:01:28 -0700
  • 0523d42907 Better error message. Ralf W. Grosse-Kunstleve 2024-08-24 14:50:11 -0700
  • d4a96bb00a factor out `smart_holder::extract_deleter()` Ralf W. Grosse-Kunstleve 2024-08-24 14:45:16 -0700
  • d1e18d9ac2 Restore original struct_smart_holder.h Ralf W. Grosse-Kunstleve 2024-08-24 14:13:52 -0700
  • fb37c10203 Add load_as_const_unique_ptr() Ralf W. Grosse-Kunstleve 2024-08-24 13:14:56 -0700
  • 351a877a4c Add shared_ptr_storage (with that disowning fails as expected). Ralf W. Grosse-Kunstleve 2024-08-24 12:52:21 -0700
  • b969e9c99d add in unique_ptr_storage, unique_ptr_storage_deleter Ralf W. Grosse-Kunstleve 2024-08-23 21:54:54 -0700
  • 760585a83d Replace `unique_ptr_cref_roundtrip()` with `pass_unique_ptr_cref()`, `rtrn_unique_ptr_cref()` to make the current behavior obvious. Ralf W. Grosse-Kunstleve 2024-08-23 12:13:40 -0700
  • 761b9cd48c fix: change `PYBIND11_TYPING_H_HAS_STRING_LITERAL` skip reason ObeliskGate 2024-08-23 13:34:02 +0800
  • f114df8b59 fix: add feature test value ObeliskGate 2024-08-23 13:01:39 +0800
  • 0f042a8da6 fix: use `__cpp_nontype_template_args` instead of gnu extensions ObeliskGate 2024-08-23 12:59:08 +0800
  • 335878892f Avoid duplicating all signatures. Also get rid of "generic" signature. Ralf W. Grosse-Kunstleve 2024-08-22 20:58:00 -0700
  • 62c7a35aba Merge branch 'smart_holder' into pr2621_patched_sh Ralf W. Grosse-Kunstleve 2024-08-22 20:42:26 -0700
  • d58cd0dddb Merge branch 'master' into smart_holder Ralf W. Grosse-Kunstleve 2024-08-22 20:28:42 -0700
  • 9e62497422
    Merge branch 'pybind:master' into master Steve R. Sun 2024-08-23 09:07:49 +0800
  • cb9abc80aa Merge branch 'v2.13' into stable Henry Schreiner 2024-08-22 15:10:14 -0400
  • 7c33cdc2d3
    chore: prepare for 2.13.5 v2.13.5 Henry Schreiner 2024-08-22 14:54:37 -0400
  • b3f5f2e742 docs: prepare for 2.13.5 (#5327) Henry Schreiner 2024-08-22 14:12:17 -0400
  • a4f6627da7 docs: clarify requirements for including pybind11 (#5326) DWesl 2024-08-22 00:29:21 -0400
  • 0d21cadcaf fix: allow -Wpedantic in C++20 mode (#5322) Henry Schreiner 2024-08-22 00:27:50 -0400
  • ff3ca78649 fix: `<ranges>` support for `py::tuple` and `py::list` (#5314) ObeliskGate 2024-08-22 03:33:06 +0800
  • b0050f30d3 fix: never use `..` in a header include (#5321) Henry Schreiner 2024-08-21 13:16:49 -0400
  • c2291e597f
    docs: prepare for 2.13.5 (#5327) Henry Schreiner 2024-08-22 14:12:17 -0400
  • 716ec00ca6
    Update docs/changelog.rst Henry Schreiner 2024-08-22 12:46:31 -0400
  • 8eb84abdf7 Fix "unused parameter" warning Vasily Litvinov 2024-08-22 15:23:46 +0000
  • 841369cd7d Merge branch 'master' into sh_merge_master Ralf W. Grosse-Kunstleve 2024-08-21 21:41:09 -0700
  • 176a9f76c2
    docs: prepare for 2.13.5 Henry Schreiner 2024-08-22 00:38:18 -0400
  • efa2b20d69
    docs: clarify requirements for including pybind11 (#5326) DWesl 2024-08-22 00:29:21 -0400
  • 9966ad409d
    fix: allow -Wpedantic in C++20 mode (#5322) Henry Schreiner 2024-08-22 00:27:50 -0400
  • 4ee5a89cfd
    Merge branch 'pybind:master' into master Steve R. Sun 2024-08-22 09:23:17 +0800
  • 47e5371398 style: pre-commit fixes pre-commit-ci[bot] 2024-08-21 23:09:07 +0000
  • 5486cd7363
    DOC: Clarify requirements for including pybind11 DWesl 2024-08-21 19:06:51 -0400
  • 908f662c3d Merge branch 'master' into sh_merge_master Ralf W. Grosse-Kunstleve 2024-08-21 13:42:10 -0700
  • 2baf9d6833
    fix: `<ranges>` support for `py::tuple` and `py::list` (#5314) ObeliskGate 2024-08-22 03:33:06 +0800
  • 9ecee595c8
    Update tests/local_bindings.h Henry Schreiner 2024-08-21 15:18:40 -0400
  • 753c58cdd3 Fix code formatting Vasily Litvinov 2024-08-21 18:21:17 +0000
  • 1c7f3c99cc Translate C++ -> Python exceptions in buffer creation Vasily Litvinov 2024-08-21 17:21:47 +0000
  • 8712543c5f Add test for throwing def_buffer case Vasily Litvinov 2024-08-21 18:08:52 +0000
  • b3d504207d
    tests: only run pedantic in C++20 mode Henry Schreiner 2024-08-21 13:44:22 -0400
  • 6bb210fe0d
    style: better formatting Henry Schreiner 2024-08-21 13:35:55 -0400
  • 8449595057 Merge branch 'master' into sh_merge_master Ralf W. Grosse-Kunstleve 2024-08-21 10:29:44 -0700
  • ba93f53850
    tests: try just turning off pedantic for one file Henry Schreiner 2024-08-21 13:33:08 -0400
  • 26efded026 style: pre-commit fixes pre-commit-ci[bot] 2024-08-21 17:30:23 +0000
  • f3069811d3
    style: compress the if statement Henry Schreiner 2024-08-21 13:28:05 -0400
  • b0e2ac3816
    tests: ignore pedantic warning for PYBIND11_DECLARE_HOLDER_TYPE Henry Schreiner 2024-08-21 13:21:55 -0400
  • 7d85baa6a1
    fix: never use `..` in a header include (#5321) Henry Schreiner 2024-08-21 13:16:49 -0400
  • 1a6fca367f
    fix: allow -Wpedantic again Henry Schreiner 2024-08-20 16:53:44 -0400
  • 63a355206e
    fix: one more parent include Henry Schreiner 2024-08-21 12:28:47 -0400
  • e0be5dbd48 test fix AlexanderMueller 2024-08-20 17:09:24 +0200