summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Back out changeset bc62e2cab087. It was accidentally pushed to the default ↵HEADmasterManuel Jacob2023-02-231-1/+1
| | | | branch.
* Use license_files instead of license_file in setup.cfg [metadata] section.Manuel Jacob2023-02-231-1/+1
| | | | | | When using license_file, setuptools prints a warning: “setuptools._deprecation_warning.SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.”. The license_files key was introduced in “wheel” package Git commit 59976ab294e1b118f42cab404d95df66ed55f7e4 from 2018-07-16. The disadvantage of this change is that when using wheel < 0.32.0, the resulting wheel will not contain the license file in its .dist-info directory.
* Issue 556Armin Rigo2023-01-091-4/+2
| | | | Trying to make this test a little bit less fragile
* merge branch "hppa" !118Armin Rigo2022-12-241-2/+9
|\ | | | | | | Fix the test failures on hppa. Thanks Stefano Rivera
| * style issues onlyhppaArmin Rigo2022-12-241-4/+4
| |
| * Fix the test failures on hppaJohn David Anglin2022-12-181-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 555Armin Rigo2022-12-041-2/+4
| | | | Incorrect brew installation setup
* Issue 553Armin Rigo2022-12-042-0/+20
| | | | Two missing calls to PyObject_GC_UnTrack()
* Merge branch 'branch/py.code' into 'branch/default'Armin Rigo2022-11-154-5/+5
|\ | | | | | | | | | | Drop py.code usage from tests, no longer depend on the deprecated py package See merge request pypy/cffi!116
| * Make the space count consistent with the pastpy.codeMiro Hrončok2022-11-141-1/+1
| |
| * Drop py.code usage from tests, no longer depend on the deprecated py packageMiro Hrončok2022-11-144-5/+5
|/
* Merge branch 'branch/py.test' into 'branch/default'Armin Rigo2022-11-1329-789/+794
|\ | | | | | | | | | | Replace py.test usage with pytest, explicitly require py for tests See merge request pypy/cffi!115
| * Replace py.test usage with pytest, explicitly require py for testspy.testMiro Hrončok2022-11-1129-789/+794
|/ | | | | | | 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.
* Merge branch 'branch/issue547' into 'branch/default'Armin Rigo2022-09-121-22/+26
|\ | | | | | | | | | | | | | | Clarify typing requirements of `struct: { ...;}` in cdef() Closes #547 See merge request pypy/cffi!114
| * Clarify typing requirements of `struct: { ...;}` in cdef()issue547Alex Willmer2022-09-031-22/+26
|/ | | | I took the liberty of switching from a bullet list to a definition list, which I think improves the readability.
* merge headsArmin Rigo2022-07-181-33/+2
|\
| * Merge branch 'branch/python3.11.0b4' into 'branch/default'Armin Rigo2022-07-181-33/+2
| |\ | | | | | | | | | | | | | | | Adjust tests for a last minute Python 3.11 change in the traceback format See merge request pypy/cffi!113
| | * Adjust tests for a last minute Python 3.11 change in the traceback formatpython3.11.0b4Miro Hrončok2022-07-151-33/+2
| |/ | | | | | | | | See https://github.com/python/cpython/issues/93883 and https://github.com/python/cpython/pull/93994
* | Tentative fix for issue #542Armin Rigo2022-07-182-3/+13
|/
* Merge branch 'branch/project-links' into 'branch/default'Armin Rigo2022-07-112-0/+17
|\ | | | | | | | | | | Add project URLs to metadata and README See merge request pypy/cffi!112
| * Add project URLs to metadata and READMEproject-linksAnderson Bravalheri2022-06-302-0/+17
| |
* | hg merge release-1.15 to defaultMatt Davis2022-06-302-5/+27
|\ \ | |/ |/|
| * add emulated ppc64le builds and basic smoketests only to GHArelease-1.15Matt Davis2022-06-301-2/+24
| |
| * Added tag v1.15.1 for changeset c649a735cf82Matt Davis2022-06-300-0/+0
| |
| * update doc source tarball hashes for 1.15.1v1.15.1Matt Davis2022-06-301-3/+3
| |
| * hg merge default to release-1.15Matt Davis2022-06-2931-84/+424
| |\ | |/ |/|
* | musllinux test updates and wheels, py3.11 beta wheelsMatt Davis2022-06-2912-24/+97
| |
* | tweak the test for pypy, where we get an extra null byte after a plain 'char'Armin Rigo2022-06-081-1/+1
| |
* | dump version to 1.15.1Armin Rigo2022-06-087-11/+11
| |
* | issue #535Armin Rigo2022-06-082-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_refcntArmin Rigo2022-04-121-3/+4
| |
* | Issue #531Armin Rigo2022-03-291-3/+8
| | | | | | | | | | on ppc64le, libffi requires 16 bytes alignment for at least the return value of functions if that is 'long double'.
* | oops, fix for a regression introduced in 216d8676b652Armin Rigo2022-02-051-3/+4
| | | | | | | | seen in test_recompiler
* | Merge branch 'branch/update_libffi_arm64' into 'branch/default'Matt Davis2022-02-018-32/+139
|\ \ | | | | | | | | | | | | | | | update libffi dependency for arm64 to release v3.4.2 and add scripts to generate static libffi static library See merge request pypy/cffi!110
| * | updated whatsnew.rstupdate_libffi_arm64Matt Davis2022-02-011-0/+3
| | |
| * | update from defaultMatt Davis2022-02-0110-11/+115
| |\ \ | |/ / |/| |
* | | Merge with adapt-tests-for-python3.11Armin Rigo2022-02-011-1/+46
|\ \ \
| * | | apply patch from Tomáš on PR 111adapt-tests-for-python3.11Armin Rigo2022-02-011-1/+46
| | | |
| * | | Backed out changeset: e184bbd523d6Armin Rigo2022-02-011-7/+0
| | | |
| * | | Adapt tests for Python 3.11Tomáš Hrnčiar2022-01-241-0/+7
|/ / / | | | | | | | | | Fix broken tests, Python 3.11 brings in enhanced error locations in tracebacks.
* | | update whatsnewArmin Rigo2021-12-281-0/+6
| | |
* | | Test and fix for the case where ffi.embedding_api() is called butArmin Rigo2021-12-285-5/+26
| | | | | | | | | | | | does not list any `extern "Python"` function
* | | tweak wordingArmin Rigo2021-12-241-3/+6
| | |
* | | Write explicitly that byte strings passed to `char *` arguments are not ↵Armin Rigo2021-12-032-5/+29
| | | | | | | | | | | | meant to live as long as the byte string is alive, but only for the duration of the call
* | | Mention the "demo" directory from the repo.Armin Rigo2021-11-031-0/+5
| | |
| * | fix hardcoded pathMatt Davis2022-02-011-1/+2
| | |
| * | remove extra debug messagessait-linaro2021-10-281-3/+0
| | |
| * | update libffi for arm64 to release 3.4.2 and add scripts to generate static ↵Niyas Sait2021-10-288-32/+138
|/ / | | | | | | libffi static library
* | hg merge release-1.15 to defaultMatt Davis2021-10-1312-19/+231
|\ \ | |/
| * Added tag v1.15.0 for changeset d2ac4b46674eMatt Davis2021-10-130-0/+0
| |