summaryrefslogtreecommitdiff
path: root/c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Bump version to 1.15.0Matt Davis2021-10-122-2/+2
|
* Bump version to 1.15.0rc2Matt Davis2021-10-042-2/+2
|
* Bump version to 1.15.0rc1Matt Davis2021-09-172-2/+2
|
* Remove this directory, it was already copied to c/libffi_x86_64Armin Rigo2021-07-2213-2210/+0
|
* added support for building cffi on windows on arm machinesNiyas Sait2021-07-2218-0/+3037
|
* Bump version to 1.14.6Armin Rigo2021-06-202-2/+2
|
* fix tests for py.test running on CPython v3.10.0b3Armin Rigo2021-06-201-0/+2
|
* fix for fdc0cbcdb65f on pre-3.10 pythonsArmin Rigo2021-06-201-2/+2
|
* fix a test that fails in the 3.10 alphas and will start failing on pypy soonfix-attribute-error-test-3.10Carl Friedrich Bolz-Tereick2021-04-241-2/+4
| | | | once I merge that feature: AttributeError is printing extra information
* #492Armin Rigo2021-02-192-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 unsignedArmin Rigo2021-02-191-2/+2
|
* fix another (very minor) leak, also found by Sebastian BergArmin Rigo2021-02-181-1/+1
|
* BUG: Fix string memory leak in `b_do_dlopen`Sebastian Berg2021-02-171-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 entryArmin Rigo2021-02-112-2/+2
|
* add some more testsArmin Rigo2020-12-211-0/+5
|
* A test that passes on CPython but fails on PyPyArmin Rigo2020-12-211-0/+9
|
* gcc-4.4.7: this pragma must not be inside functionsArmin Rigo2020-11-281-13/+16
|
* bump version to 1.14.4Armin Rigo2020-11-242-2/+2
|
* fix for yet another way in which old libffi's are not compatible with new ↵Armin Rigo2020-11-241-5/+13
| | | | libffi's
* Fix what I think will be a compile-time error in some casesArmin Rigo2020-11-201-10/+20
|
* Issue #475Armin Rigo2020-10-142-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.
* py3Armin Rigo2020-10-141-2/+2
|
* Fix building `cffi` for macOS with Apple Silicon support + backwards ↵Max Bélanger2020-10-021-47/+83
| | | | compatibility
* explicit test of unaligned pointer reads/writesArmin Rigo2020-09-231-0/+21
|
* bump version to 1.14.3Armin Rigo2020-09-152-2/+2
|
* this test is fragile on a non-translated pypy, skip itArmin Rigo2020-09-031-2/+2
|
* merge headsArmin Rigo2020-08-311-11/+11
|\
| * let the test run directly on pypy tooArmin Rigo2020-08-301-11/+11
| |
* | Don't call PyEval_InitThreads() on CPython >= 3.7, where it should always be aArmin Rigo2020-08-311-2/+4
|/ | | | no-op. It is explicitly deprecated in 3.9.
* bump version number to 1.14.2Armin Rigo2020-08-152-2/+2
|
* bump version number to 1.14.1Armin Rigo2020-07-262-2/+2
|
* more of the same, for win64Armin Rigo2020-07-211-0/+5
|
* next fix, for win64Armin Rigo2020-07-211-0/+2
|
* #465 Callback returning non-small struct failed on WindowsArmin Rigo2020-07-211-10/+10
|
* tentative windows fix for 3ea8b17d97f0Armin Rigo2020-07-192-5/+10
|
* Comment moreArmin Rigo2020-07-171-1/+4
|
* hack around until I make recent pytest versions happyArmin Rigo2020-07-171-4/+9
|
* Windows fixArmin Rigo2020-07-171-1/+1
|
* Revert 094d9124341e: not all libffi versions in use have aArmin Rigo2020-07-171-8/+12
| | | | ffi_prep_closure_loc() symbol.
* non-mac: cannot use 'true' in C sources without some more includes;Armin Rigo2020-07-101-7/+7
| | | | | we'd need to write '1'. But in this case we can simplify a bit the function signature, removing its need
* on darwin, arm64 bitfields act like x86_64Lawrence D'Anna2020-07-091-1/+3
|
* MacOS 11, arm64, ffi_prep_cif_varLawrence D'Anna2020-07-091-5/+22
| | | | | | | | | | On Apple arm64, theABI for a variardic function is different than the ABI for a fixed-arg function, even of the same arg types. In order to account for this, CFFI must call ffi_prep_cif_var for variardic calls. see: https://developer.apple.com/library/archive/documentation/Xcode/Conceptual/iPhoneOSABIReference/Articles/ARM64FunctionCallingConventions.html
* Windows: complain explicitly in _cffi_backend.FFI().dlopen(None)Armin Rigo2020-07-061-0/+7
|
* windows fixArmin Rigo2020-07-061-3/+6
|
* Always call ffi_prep_closure_loc(), possibly with the extra argument beingArmin Rigo2020-07-011-5/+9
| | | | | equal to the first one (this is exactly what ffi_prep_closure() does, and that function is now marked as deprecated).
* (untested) don't use deprecated "u" in PyArg_ParseTuple()Armin Rigo2020-06-161-3/+10
|
* Oops, 2.7 fixArmin Rigo2020-06-101-3/+4
|