Commit Graph

  • 46e6ec6fa3
    Merge branch 'pybind:master' into master Steve R. Sun 2024-08-13 10:29:10 +0800
  • 43679b905c
    Update changelog.rst Henry Schreiner 2024-08-12 20:56:29 -0400
  • 21b9ea92de
    docs: prepare for 2.13.2 Henry Schreiner 2024-08-12 20:08:47 -0400
  • 8d90b83b19
    chore(deps): bump actions/attest-build-provenance in the actions group (#5297) dependabot[bot] 2024-08-12 19:49:56 -0400
  • fc59f4e6e5
    fix(cmake): add required emscripten flags (#5298) Henry Schreiner 2024-08-12 16:51:48 -0400
  • 7273ca5844
    chore: shorten code a bit Henry Schreiner 2024-08-12 14:48:36 -0400
  • 9c89f7a681
    chore: reduce overall diff Henry Schreiner 2024-08-12 14:40:42 -0400
  • 1223a98289
    chore: reduce overall diff Henry Schreiner 2024-08-12 14:40:36 -0400
  • f7951b9b5e
    fix(cmake): go back to ALIAS target Henry Schreiner 2024-08-12 14:32:31 -0400
  • 3a3ab40bae
    fix(cmake): use explicit variable for is config Henry Schreiner 2024-08-12 14:14:42 -0400
  • 6a3ca2d998
    fix(cmake): hide a warning when building the tests standalone Henry Schreiner 2024-08-12 11:48:16 -0400
  • 613fb0f25f fix(cmake): allow pybind11::headers to be modified Henry Schreiner 2024-08-12 11:12:28 -0400
  • 7f8287d5a1
    fix(cmake): incorrect detection of Emscripten Henry Schreiner 2024-08-12 10:57:07 -0400
  • 8692a12c80 fix(cmake): add required emscripten flags to headers target Henry Schreiner 2024-08-12 09:36:11 -0400
  • d61a69b37f
    Update emscripten.yaml Henry Schreiner 2024-08-12 09:05:32 -0400
  • 8e331a4f0e
    fix(cmake): add required emscripten flags Henry Schreiner 2024-08-11 22:34:47 -0400
  • 9de0559022
    chore(deps): bump actions/attest-build-provenance in the actions group dependabot[bot] 2024-08-12 02:24:37 +0000
  • 2fbe93026b Fix clang-tidy errors. Ralf W. Grosse-Kunstleve 2024-08-11 13:30:08 -0700
  • 900bc26b47 Include cleanup (mainly to resolve PyPy build failures). Ralf W. Grosse-Kunstleve 2024-08-11 13:07:10 -0700
  • 3f522e5a92 `self.__cpp_transporter__()` proof of concept: Enable passing C++ pointers across extensions even if the `PYBIND11_INTERNALS_VERSION`s do not match. Ralf W. Grosse-Kunstleve 2024-08-11 09:19:51 -0700
  • 2267e5cb1a Merge branch 'master' into list_caster_pass_generator Ralf W. Grosse-Kunstleve 2024-08-10 12:06:20 -0700
  • 7a9f1c7e6d Merge branch 'master' into sh_merge_master Ralf W. Grosse-Kunstleve 2024-08-09 13:46:32 -0700
  • 898794488a
    Add `type_caster_std_function_specializations` feature. (#4597) Xiaofei Wang 2024-08-10 04:28:12 +0800
  • ced63ef3b8 Add `#define PYBIND11_HAS_TYPE_CASTER_STD_FUNCTION_SPECIALIZATIONS` Ralf W. Grosse-Kunstleve 2024-08-09 12:35:27 -0700
  • 9a412d7b49 Merge branch 'master' into status-callback Ralf W. Grosse-Kunstleve 2024-08-09 12:30:29 -0700
  • 54c8c4d802 Merge branch 'smart_holder' into type_caster_std_function_specializations_sh Ralf W. Grosse-Kunstleve 2024-08-09 11:19:36 -0700
  • b9fb672025 Merge branch 'smart_holder' into list_caster_pass_generator_sh Ralf W. Grosse-Kunstleve 2024-08-09 11:18:13 -0700
  • 8581b4b42a Merge branch 'smart_holder' into native_enum_internals_sh Ralf W. Grosse-Kunstleve 2024-08-09 11:13:22 -0700
  • 30f633e1f5 Merge branch 'master' into sh_merge_master Ralf W. Grosse-Kunstleve 2024-08-09 09:48:53 -0700
  • 0afa32f932 Add warning wrappers that allow to call warnings from pybind level jiwaszki 2024-08-09 01:24:33 +0200
  • 32f9c84e7a
    Merge branch 'pybind:master' into master Steve R. Sun 2024-08-07 10:04:42 +0800
  • 8107f4a67e Merge branch 'smart_holder' into list_caster_pass_generator_sh Ralf W. Grosse-Kunstleve 2024-08-05 21:47:09 -0700
  • 369daf52d4 Remove `std::move` to resolve clang-tidy error: Ralf W. Grosse-Kunstleve 2024-08-05 21:32:26 -0700
  • 50361b12be Equivalent of PR #4597, but based on pybind11k main @ ab472bbce81de4e0ae41d861a5c46903968f7b27 Ralf W. Grosse-Kunstleve 2024-08-05 20:29:21 -0700
  • 20551ab3d8
    chore(deps): update pre-commit hooks (#5288) pre-commit-ci[bot] 2024-08-05 20:19:10 -0700
  • d92ad15ca1
    Merge branch 'pybind:master' into master Steve R. Sun 2024-08-06 09:01:08 +0800
  • 96324e618c
    chore(deps): update pre-commit hooks pre-commit-ci[bot] 2024-08-05 23:41:28 +0000
  • 845105383f
    chore(deps): bump the actions group with 2 updates (#5287) dependabot[bot] 2024-08-05 10:07:55 -0400
  • e5d76b4dfb
    Merge e076c4513d into 916778df48 Wenzel Jakob 2024-08-05 14:15:26 +0200
  • a1fd631542
    chore(deps): bump the actions group with 2 updates dependabot[bot] 2024-08-05 02:31:12 +0000
  • 7c6fe49106
    find . -name '*.h' -o -name '*.cpp' -o -name '*.py' | xargs -n 1 -- sed -i 's/PYBIND11_HAVE_/PYBIND11_HAS_/g' (#5286) Ralf W. Grosse-Kunstleve 2024-08-04 23:16:44 +0700
  • 9c5f244999 find . -name '*.h' -o -name '*.cpp' -o -name '*.py' | xargs -n 1 -- sed -i 's/PYBIND11_HAVE_/PYBIND11_HAS_/g' Ralf W. Grosse-Kunstleve 2024-08-04 01:34:43 -0700
  • 9e3db44436
    Merge branch 'pybind:master' into master Steve R. Sun 2024-08-03 13:58:45 +0800
  • 916778df48
    fix: typo in documentation (#5284) fred-sch 2024-08-02 21:17:15 +0200
  • 348804c517 fix: typo in documentation fredericschwarz 2024-08-02 20:10:00 +0200
  • 6430e92ad8 Use `get_module_name_if_available()` in detail/class.h Ralf W. Grosse-Kunstleve 2024-07-31 15:10:46 -0700
  • d2a0bf95c7 Plug in new PR number (5280) Ralf W. Grosse-Kunstleve 2024-07-31 15:03:58 -0700
  • 194d3d94c5 clean out smart_holder_type_casters-related code Ralf W. Grosse-Kunstleve 2024-07-31 14:38:30 -0700
  • e6c74dfef4 pull in `get_module_name_if_available()` (pytypes.h) Ralf W. Grosse-Kunstleve 2024-07-31 14:33:04 -0700
  • cae3cf99b6 Manually picked diffs for pybind11.h (from remove_cross_extension_shared_state) Ralf W. Grosse-Kunstleve 2024-07-31 14:21:27 -0700
  • a4c5ab4b24 Manually picked diffs for cast.h (from remove_cross_extension_shared_state branch) Ralf W. Grosse-Kunstleve 2024-07-31 14:06:39 -0700
  • 069faee8fc Add `native_enum_type_map` in detail/internals.h Ralf W. Grosse-Kunstleve 2024-07-31 13:55:36 -0700
  • 1104e06d9c native_enum.h, native_enum_data.h copied from remove_cross_extension_shared_state branch Ralf W. Grosse-Kunstleve 2024-07-31 13:50:41 -0700
  • 1f1f0efa24 test_native_enum.cpp,py copied from remove_cross_extension_shared_state branch Ralf W. Grosse-Kunstleve 2024-07-31 13:48:01 -0700
  • 0286e5a2d6 test_enum.cpp,py copied from remove_cross_extension_shared_state branch Ralf W. Grosse-Kunstleve 2024-07-31 13:46:46 -0700
  • edf03ccd34 Changes extracted from pybind11k commit f8128f0b0d712c210d7d4470a50acc88dc4604ea (PR #30005) Ralf W. Grosse-Kunstleve 2024-07-31 13:41:34 -0700
  • 8ad62b1dee PR #4686 @ d1ffe4f81b on top of smart_holder Ralf W. Grosse-Kunstleve 2024-07-31 06:41:15 -0700
  • 48f25275c4
    [smart_holder] Bake smart_holder functionality into `class_` and `type_caster_base` (#5257) Ralf W. Grosse-Kunstleve 2024-07-31 20:17:31 +0700
  • d1ffe4f81b Merge branch 'master' into list_caster_pass_generator Ralf W. Grosse-Kunstleve 2024-07-31 05:48:00 -0700
  • 2e9769af7c Merge branch 'smart_holder' into bakein_sh Ralf W. Grosse-Kunstleve 2024-07-31 05:32:50 -0700
  • 64c871ef4f
    Merge branch 'pybind:master' into master Steve R. Sun 2024-07-31 09:08:18 +0800
  • 7a6d96a651 PR #5257 latest but fresh on smart_holder (as one commit) Ralf W. Grosse-Kunstleve 2024-07-30 11:50:13 -0700
  • 6765d4e814 Tracking ci.yml changes from master. Ralf W. Grosse-Kunstleve 2024-07-30 11:21:50 -0700
  • 903b92f9f9 Merge branch 'master' into sh_merge_master Ralf W. Grosse-Kunstleve 2024-07-30 11:20:28 -0700
  • 723307283e
    feat: remove Python 3.7 support (#5191) Ralf W. Grosse-Kunstleve 2024-07-30 23:18:35 +0700
  • 49580cfa97 Change `[tool.ruff]` `target-version` to `"py38"`, as suggested by @Skylion007 Ralf W. Grosse-Kunstleve 2024-07-29 19:51:53 -0700
  • 8ffe837ac3 Merge branch 'sh_merge_master' into bakein_sh Ralf W. Grosse-Kunstleve 2024-07-29 19:44:31 -0700
  • 79fd12b8cc Add `NOLINTNEXTLINE(bugprone-unused-return-value)` in smart_holder_poc_test.cpp Ralf W. Grosse-Kunstleve 2024-07-29 19:30:51 -0700
  • 8d22552aef
    Merge branch 'pybind:master' into master Steve R. Sun 2024-07-30 10:20:39 +0800
  • 67ac5414ae Merge branch 'sh_merge_master' into bakein_sh_merge_ahead Ralf W. Grosse-Kunstleve 2024-07-29 11:25:15 -0700
  • c46d136255 Tracking ci.yml changes from master. Ralf W. Grosse-Kunstleve 2024-07-29 11:19:22 -0700
  • 5bfe727c3f Merge branch 'master' into sh_merge_master Ralf W. Grosse-Kunstleve 2024-07-29 11:18:11 -0700
  • 64a7b44eae Merge branch 'master' into rm_py37 Ralf W. Grosse-Kunstleve 2024-07-29 11:16:17 -0700
  • 2e260b067f
    clang-tidy upgrade (to version 18) (#5272) Ralf W. Grosse-Kunstleve 2024-07-30 01:10:03 +0700
  • 3fbb4aae63 Fix silly oversight. Ralf W. Grosse-Kunstleve 2024-07-29 00:41:54 -0700
  • 59aa8c3a9a clang-tidy auto-fix Ralf W. Grosse-Kunstleve 2024-07-29 00:14:22 -0700
  • b812ebc707 Introduce `PYBIND11_REINTERPRET_CAST_VOID_PTR_IF_NOT_PYPY` to resolve PyPy build errors: Ralf W. Grosse-Kunstleve 2024-07-29 00:10:53 -0700
  • e5025a1fd0 Resolve clang-tidy `bugprone-multi-level-implicit-pointer-conversion` warnings. ________ Debian clang version 18.1.8 (++20240718080534+3b5b5c1ec4a3-1~exp1~20240718200641.143) Target: x86_64-pc-linux-gnu ________ ``` pybind11/detail/internals.h:556:53: warning: multilevel pointer conversion from 'internals **' to 'const void *', please use explicit cast [bugprone-multi-level-implicit-pointer-conversion] Ralf W. Grosse-Kunstleve 2024-07-28 22:45:37 -0700
  • 183e7c7360 Add 8 `// NOLINT(bugprone-empty-catch)` Ralf W. Grosse-Kunstleve 2024-07-28 22:27:01 -0700
  • e755791743 Disable `bugprone-chained-comparison`: this clang-tidy check is incompatible with the Catch2 `REQUIRE` macro (26 warnings like the one below). ________ Ralf W. Grosse-Kunstleve 2024-07-28 22:19:01 -0700
  • 7bf9b82e2f Fix inconsistent pybind11/eigen/tensor.h behavior: Ralf W. Grosse-Kunstleve 2024-07-28 21:39:30 -0700
  • 3e5fb45fd2 Add `NOLINTNEXTLINE(clang-analyzer-optin.core.EnumCastOutOfRange)` in test_tagbased_polymorphic.cpp Ralf W. Grosse-Kunstleve 2024-07-28 20:41:48 -0700
  • 99d84a9d25 Add clang-17 and clang-18 testing. Ralf W. Grosse-Kunstleve 2024-07-28 20:34:44 -0700
  • 19808cc800 Add explicit `switch` `default` to resolve clang-tidy `bugprone-switch-missing-default-case` Ralf W. Grosse-Kunstleve 2024-07-28 20:28:06 -0700
  • 25238cb888 Temporarily turn off 3 diagnostics (to be tackled one-by-one). Ralf W. Grosse-Kunstleve 2024-07-28 20:08:48 -0700
  • c4106a2841 Disable `performance-enum-size` (noisy, low value) Ralf W. Grosse-Kunstleve 2024-07-28 20:13:35 -0700
  • 3b537935d0 clang-tidy auto-fix (trivial, in test only) Ralf W. Grosse-Kunstleve 2024-07-28 20:13:29 -0700
  • 2c47d1a2f2 `container: silkeh/clang:18-bookworm` in .github/workflows/format.yml Ralf W. Grosse-Kunstleve 2024-07-28 19:10:21 -0700
  • 4b25159e0a Miscellaneous changes based on manual review of the `git grep` matches below: Ralf W. Grosse-Kunstleve 2024-07-28 10:15:59 -0700
  • 5de12148b6 Merge branch 'master' into rm_py37 Ralf W. Grosse-Kunstleve 2024-07-27 19:48:30 -0700
  • 4a7f895f4e README_smart_holder.rst update (line count reduced from 356 to 123). Ralf W. Grosse-Kunstleve 2024-07-27 01:15:35 -0700
  • 0ca3ca7360 Add SMART_HOLDER_BAKEIN_FOLLOW_ON comment for `internals::default_holder` Ralf W. Grosse-Kunstleve 2024-07-26 22:58:41 -0700
  • 7c0aed7365 Remove obsolete `using holder_type = smart_holder;` in `load_helper` Ralf W. Grosse-Kunstleve 2024-07-26 22:50:39 -0700
  • 523eafa103 Resolve all remaining BAKEIN_WIP (in pybind11/cast.h). Ralf W. Grosse-Kunstleve 2024-07-26 20:46:54 -0700
  • 053467f13c Resolve `BAKEIN_WIP: Add comment to explain: This is meant for stress-testing only.` Ralf W. Grosse-Kunstleve 2024-07-26 20:37:51 -0700
  • 0316f74401 Resolve `BAKEIN_WIP: Rewrite comment.` for `property_cpp_function_*` specializations. Ralf W. Grosse-Kunstleve 2024-07-26 20:20:16 -0700
  • 948c1d3113 style: pre-commit fixes pre-commit-ci[bot] 2024-07-26 14:47:55 +0000
  • fd7d4d0c9b skip typevar Michael Carlstrom 2024-07-26 10:47:30 -0400
  • d1dc670142 skip typevar for now Michael Carlstrom 2024-07-26 10:47:08 -0400
  • 479dffd98e is None Michael Carlstrom 2024-07-26 10:43:27 -0400