Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | style issues onlyhppa | Armin Rigo | 2022-12-24 | 1 | -4/+4 |
| | |||||
* | Fix the test failures on hppa | John David Anglin | 2022-12-18 | 1 | -2/+9 |
| | | | | | | | | | | | | | | | | A couple of years ago the libffi port for hppa-linux was changed from using a trampoline executed on the stack to the function descriptor technique used by ia64. This doesn't require an executable stack and is simpler. However, function pointers need to have the PLABEL bit set in the pointer. As a result, a simple cast can't be used to convert closure pointers to function pointers. python-cffi uses its own closure allocation so the problem can't be fixed in libffi. I added a macro CFFI_FN to do the conversion. It shouldn't affect other architectures. There is a similar define in libffi. Fixes: https://bugs.debian.org/1024271 | ||||
* | Issue 553 | Armin Rigo | 2022-12-04 | 1 | -0/+2 |
| | | | | Two missing calls to PyObject_GC_UnTrack() | ||||
* | Replace py.test usage with pytest, explicitly require py for testspy.test | Miro Hrončok | 2022-11-11 | 1 | -194/+193 |
| | | | | | | | pytest 7.2+ no longer depends on py. It ships py.path and py.error only. See https://docs.pytest.org/en/7.2.x/changelog.html#deprecations The tests use py.code as well, hence we declare and document a test dependency on py. | ||||
* | Adjust tests for a last minute Python 3.11 change in the traceback formatpython3.11.0b4 | Miro Hrončok | 2022-07-15 | 1 | -33/+2 |
| | | | | | See https://github.com/python/cpython/issues/93883 and https://github.com/python/cpython/pull/93994 | ||||
* | musllinux test updates and wheels, py3.11 beta wheels | Matt Davis | 2022-06-29 | 1 | -2/+13 |
| | |||||
* | tweak the test for pypy, where we get an extra null byte after a plain 'char' | Armin Rigo | 2022-06-08 | 1 | -1/+1 |
| | |||||
* | dump version to 1.15.1 | Armin Rigo | 2022-06-08 | 2 | -2/+2 |
| | |||||
* | issue #535 | Armin Rigo | 2022-06-08 | 2 | -1/+50 |
| | | | | | Give a warning when we ask a ffi.buffer() that can be proven to overflow. Might help with the confusion on that issue #535. | ||||
* | #532 Use Py_SET_REFCNT in _cffi_backend.c instead of ob_refcnt | Armin Rigo | 2022-04-12 | 1 | -3/+4 |
| | |||||
* | Issue #531 | Armin Rigo | 2022-03-29 | 1 | -3/+8 |
| | | | | | on ppc64le, libffi requires 16 bytes alignment for at least the return value of functions if that is 'long double'. | ||||
* | update from default | Matt Davis | 2022-02-01 | 1 | -1/+46 |
|\ | |||||
| * | apply patch from Tomáš on PR 111adapt-tests-for-python3.11 | Armin Rigo | 2022-02-01 | 1 | -1/+46 |
| | | |||||
| * | Backed out changeset: e184bbd523d6 | Armin Rigo | 2022-02-01 | 1 | -7/+0 |
| | | |||||
| * | Adapt tests for Python 3.11 | Tomáš Hrnčiar | 2022-01-24 | 1 | -0/+7 |
| | | | | | | | | Fix broken tests, Python 3.11 brings in enhanced error locations in tracebacks. | ||||
* | | fix hardcoded path | Matt Davis | 2022-02-01 | 1 | -1/+2 |
| | | |||||
* | | update libffi for arm64 to release 3.4.2 and add scripts to generate static ↵ | Niyas Sait | 2021-10-28 | 6 | -31/+134 |
|/ | | | | libffi static library | ||||
* | Bump version to 1.15.0 | Matt Davis | 2021-10-12 | 2 | -2/+2 |
| | |||||
* | Bump version to 1.15.0rc2 | Matt Davis | 2021-10-04 | 2 | -2/+2 |
| | |||||
* | Bump version to 1.15.0rc1 | Matt Davis | 2021-09-17 | 2 | -2/+2 |
| | |||||
* | Remove this directory, it was already copied to c/libffi_x86_64 | Armin Rigo | 2021-07-22 | 13 | -2210/+0 |
| | |||||
* | added support for building cffi on windows on arm machines | Niyas Sait | 2021-07-22 | 18 | -0/+3037 |
| | |||||
* | Bump version to 1.14.6 | Armin Rigo | 2021-06-20 | 2 | -2/+2 |
| | |||||
* | fix tests for py.test running on CPython v3.10.0b3 | Armin Rigo | 2021-06-20 | 1 | -0/+2 |
| | |||||
* | fix for fdc0cbcdb65f on pre-3.10 pythons | Armin Rigo | 2021-06-20 | 1 | -2/+2 |
| | |||||
* | fix a test that fails in the 3.10 alphas and will start failing on pypy soonfix-attribute-error-test-3.10 | Carl Friedrich Bolz-Tereick | 2021-04-24 | 1 | -2/+4 |
| | | | | once I merge that feature: AttributeError is printing extra information | ||||
* | #492 | Armin Rigo | 2021-02-19 | 2 | -1/+92 |
| | | | | | | Python 3.8 adds support for sys.unraisablehook(), but also a new _PyErr_WriteUnraisableMsg() that calls it and is slightly more flexible in displaying the error message. Use that | ||||
* | Need a cast here because the type ffi_status is unsigned | Armin Rigo | 2021-02-19 | 1 | -2/+2 |
| | |||||
* | fix another (very minor) leak, also found by Sebastian Berg | Armin Rigo | 2021-02-18 | 1 | -1/+1 |
| | |||||
* | BUG: Fix string memory leak in `b_do_dlopen` | Sebastian Berg | 2021-02-17 | 1 | -2/+7 |
| | | | | | | When requesting a string with `es` or `et`, the string has to be freed with `PyMem_Free`. (https://docs.python.org/3/c-api/arg.html#strings-and-buffers) | ||||
* | Bump version to 1.14.5 and add whatsnew entry | Armin Rigo | 2021-02-11 | 2 | -2/+2 |
| | |||||
* | add some more tests | Armin Rigo | 2020-12-21 | 1 | -0/+5 |
| | |||||
* | A test that passes on CPython but fails on PyPy | Armin Rigo | 2020-12-21 | 1 | -0/+9 |
| | |||||
* | gcc-4.4.7: this pragma must not be inside functions | Armin Rigo | 2020-11-28 | 1 | -13/+16 |
| | |||||
* | bump version to 1.14.4 | Armin Rigo | 2020-11-24 | 2 | -2/+2 |
| | |||||
* | fix for yet another way in which old libffi's are not compatible with new ↵ | Armin Rigo | 2020-11-24 | 1 | -5/+13 |
| | | | | libffi's | ||||
* | Fix what I think will be a compile-time error in some cases | Armin Rigo | 2020-11-20 | 1 | -10/+20 |
| | |||||
* | Issue #475 | Armin Rigo | 2020-10-14 | 2 | -2/+3 |
| | | | | | Fix a crash that can occur only if there is an error when building a callback (in very rare cases), or in debug mode. | ||||
* | py3 | Armin Rigo | 2020-10-14 | 1 | -2/+2 |
| | |||||
* | Fix building `cffi` for macOS with Apple Silicon support + backwards ↵ | Max Bélanger | 2020-10-02 | 1 | -47/+83 |
| | | | | compatibility | ||||
* | explicit test of unaligned pointer reads/writes | Armin Rigo | 2020-09-23 | 1 | -0/+21 |
| | |||||
* | bump version to 1.14.3 | Armin Rigo | 2020-09-15 | 2 | -2/+2 |
| | |||||
* | this test is fragile on a non-translated pypy, skip it | Armin Rigo | 2020-09-03 | 1 | -2/+2 |
| | |||||
* | merge heads | Armin Rigo | 2020-08-31 | 1 | -11/+11 |
|\ | |||||
| * | let the test run directly on pypy too | Armin Rigo | 2020-08-30 | 1 | -11/+11 |
| | | |||||
* | | Don't call PyEval_InitThreads() on CPython >= 3.7, where it should always be a | Armin Rigo | 2020-08-31 | 1 | -2/+4 |
|/ | | | | no-op. It is explicitly deprecated in 3.9. | ||||
* | bump version number to 1.14.2 | Armin Rigo | 2020-08-15 | 2 | -2/+2 |
| | |||||
* | bump version number to 1.14.1 | Armin Rigo | 2020-07-26 | 2 | -2/+2 |
| | |||||
* | more of the same, for win64 | Armin Rigo | 2020-07-21 | 1 | -0/+5 |
| | |||||
* | next fix, for win64 | Armin Rigo | 2020-07-21 | 1 | -0/+2 |
| |