1. 08 Oct, 2020 1 commit
  2. 06 Oct, 2020 2 commits
  3. 05 Oct, 2020 3 commits
  4. 04 Oct, 2020 1 commit
  5. 03 Oct, 2020 4 commits
    • Fritz Reese's avatar
      Fix buffer_info for ctypes buffers (pybind#2502) (#2503) · e8ad33bb
      Fritz Reese authored
      * tests: New test for ctypes buffers (pybind#2502)
      
      * fix: fix buffer_info segfault on views with no stride (pybind11#2502)
      
      * Explicit conversions in buffer_info to make clang happy (pybind#2502)
      
      * Another explicit cast in buffer_info constructor for clang (pybind#2502)
      
      * Simpler implementation of buffer_info constructor from Py_buffer.
      
      * Move test_ctypes_buffer into test_buffers
      
      * Comment on why view->strides may be NULL (and fix some whitespace)
      
      * Use c_strides() instead of zero when view->strides is NULL.
      
      c_strides and f_strides are moved from numpy.h (py::array)
      to buffer_info.h (py::detail) so they can be used from the
      buffer_info Py_buffer constructor.
      
      * Increase ctypes buffer test coverage in test_buffers.
      
      * Split ctypes tests and skip one which is broken in PyPy2.
      e8ad33bb
    • Henry Schreiner's avatar
      refactor: module -> module_ with typedef (#2544) · 6bcd220c
      Henry Schreiner authored
      * WIP: module -> module_ without typedef
      
      * refactor: allow py::module to work again
      6bcd220c
    • Henry Schreiner's avatar
      docs: fix odd spacing · 560ed3e3
      Henry Schreiner authored
      560ed3e3
    • Henry Schreiner's avatar
      refactor: import check as a common function (#2526) · 3488494a
      Henry Schreiner authored
      * feat: import check as a common function
      
      * docs: add cmake to docs
      3488494a
  6. 02 Oct, 2020 12 commits
  7. 30 Sep, 2020 7 commits
  8. 27 Sep, 2020 1 commit
    • Ralf W. Grosse-Kunstleve's avatar
      static allocation for PyModuleDef, to avoid leak check errors. (#2413) · d159a563
      Ralf W. Grosse-Kunstleve authored
      * Initializing PyModuleDef object with PyModuleDef_HEAD_INIT.
      
      Python 3.8 documentation: m_base - Always initialize this member to PyModuleDef_HEAD_INIT.
      
      Long-standing (since first github commit in 2015), inconsequential bug.
      
      Also removing inconsequential Py_INCREF(def): PyModule_Create() resets the reference count to 1.
      
      * git rebase master
      
      * moving static PyModuleDef declaration to global scope, as requested by @wjakob
      
      * renaming the two new macros, to start with PYBIND11_DETAIL_MODULE
      d159a563
  9. 22 Sep, 2020 2 commits
  10. 21 Sep, 2020 1 commit
  11. 19 Sep, 2020 3 commits
  12. 18 Sep, 2020 3 commits