summaryrefslogtreecommitdiff
path: root/testing/cffi0
Commit message (Collapse)AuthorAgeFilesLines
* Backed out changeset 7a76a3815340Armin Rigo2019-01-291-4/+5
| | | | | On Windows, there is no lround() or (as far as I can find) any math function returning an integer.
* Implement ffi.from_buffer("foo[]", x)Armin Rigo2019-01-071-3/+9
| | | | | Also contains some improvements to the documentation about other recent additions
* ffi.release()Armin Rigo2019-01-051-0/+7
|
* Issue #394Armin Rigo2018-12-161-0/+10
| | | | Implement ffi.from_buffer(x, require_writable=True)
* CPython 2.x: ``ffi.dlopen()`` failed with non-ascii file names on PosixArmin Rigo2018-10-141-4/+16
|
* Issue #384Armin Rigo2018-09-191-0/+1
| | | | | Un-ignore the warnings when testing for them, in case someone runs py.test with the PYTHONWARNINGS environment variable set
* Issue #382Armin Rigo2018-09-041-5/+4
| | | | Second fix attempt, thanks Adam
* Issue #382Armin Rigo2018-09-041-4/+5
| | | | | Change the test to a non-floating-point example, where ignoring the return value should work even on x87.
* Issue #379Armin Rigo2018-08-301-0/+15
| | | | Accept ``ffi.new("int[4]", p)`` if p is itself another cdata ``int[4]``.
* Issue #375Armin Rigo2018-08-081-0/+27
| | | | Port another test from CPython, which also passes already on win64.
* Add test from the recent ctypes fix bpo-29565 (may fail on win64)Armin Rigo2018-08-051-0/+27
|
* Issue 364Armin Rigo2018-06-161-9/+29
| | | | Add support for MSVC's "#pragma pack(n)" in ABI mode
* Ignore multiple dlclose(), like file.close() does in PythonArmin Rigo2018-02-271-3/+1
|
* Implement ffi.dlclose() for the in-line caseArmin Rigo2018-02-161-0/+20
|
* Trying to fix ffi.dlopen() for unicode filenames on WindowsArmin Rigo2018-02-151-4/+9
|
* more tweaksArmin Rigo2017-10-041-2/+1
|
* Skip a test: the link location now points to the general pip page,Armin Rigo2017-10-041-0/+1
| | | | | not to the place where the exact source code can be downloaded, because I don't know this place before I actually do the upload.
* Fix the remaining places for PyPy3. (Originally in Pull Request #82)Armin Rigo2017-09-211-4/+4
|
* Only run the memory-intensive tests on Linux x86 or x64 machines.Armin Rigo2017-09-201-0/+10
|
* Generalize the test to passArmin Rigo2017-09-161-1/+1
|
* Python 3Armin Rigo2017-09-161-2/+2
|
* Add an optional 'size' argument to ffi.gc(). So far, it has no effectArmin Rigo2017-08-021-0/+58
| | | | on CPython.
* Issue #300Armin Rigo2017-07-211-4/+14
| | | | | Hopefully fix the remaining cases where a _Bool return value was not correctly converted to a Python bool, but still gave a Python int.
* Some test fixes for Python 3 on WindowsArmin Rigo2017-06-193-1/+32
|
* fixesArmin Rigo2017-05-311-3/+8
|
* more testsArmin Rigo2017-05-312-1/+30
|
* Tests and fixesArmin Rigo2017-05-311-0/+38
|
* More tweaks, more tests, try harder to avoid including <complex.h>Armin Rigo2017-05-291-4/+6
| | | | because it is not necessarily there
* hg merge defaultArmin Rigo2017-05-291-2/+3
|\
| * tests pass. Had to #include <complex.h> - might want to make that optionalTom Krauss2017-03-271-2/+3
| |
* | Try to systematically include the line numberArmin Rigo2017-05-091-3/+11
| |
* | Issue 314Armin Rigo2017-05-091-1/+14
|/ | | | | Fix the line numbers by discovering that ``# NUMBER "LINE"`` is supported by pycparser and using it.
* Add test for binary operation in enum definitionbinary_enumJean-Sebastien Bevilacqua2017-03-151-1/+2
|
* python 2.6 compatArmin Rigo2017-03-131-1/+2
|
* Issue #310: pycparser was recently made stricter and no longer parsesArmin Rigo2017-02-271-2/+2
| | | | ``typedef int __dotdotdot__ foo_t;``. I think this fixes it
* issue #255: comparing primitive cdatasArmin Rigo2017-02-191-10/+11
|
* ffi.addressof(lib, "name") now also works in in-line modeArmin Rigo2017-02-071-0/+18
|
* Remove a warning that doesn't really make sense here, tweak testsArmin Rigo2017-02-062-1/+7
|
* Merged in coronafire/cffi/buffer_richcompare (pull request #76)Armin Rigo2017-02-062-3/+20
|\ | | | | | | Add richcompare to buffer objects
| * Add tests for buffer comparisonsAndrew Leech2017-02-032-3/+20
| |
* | fix the FakeBackend classes for testsArmin Rigo2017-02-062-0/+4
| |
* | Make 'ffi.buffer' be the type of minibuffers returned by cffi, andArmin Rigo2017-02-041-0/+1
|/ | | | 'ffi.buffer()' now calls the constructor.
* bump version number to 1.10.0Armin Rigo2017-01-231-1/+1
|
* We're interested in --with-pydebug not -dStefano Rivera2016-12-301-3/+4
|
* Detect packed structs. Improve error messages and test them.Armin Rigo2016-12-221-7/+20
|
* test and fix for b6adad5f4ea3, actually reverting some C changes thatArmin Rigo2016-12-061-0/+12
| | | | are not necessary and cause segfaults
* Fix: the condition "offsetof == sizeof" for being a var-sized arrayArmin Rigo2016-10-291-1/+2
| | | | | is bogus. See test for a case where it is not the case because of alignment.
* One more case, this time in CompiledFFI.sizeof().Armin Rigo2016-10-281-1/+1
|
* Decided to fix ffi.sizeof() too. Update the documentation.Armin Rigo2016-10-271-4/+9
|
* Revert b84710ae130a again. Ensure we get a warning for every opaqueArmin Rigo2016-10-201-7/+7
| | | | | enum, but then fall back to 'unsigned int'. See documentation for motivation.