summaryrefslogtreecommitdiff
path: root/testing/cffi0
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Tweaks, and add extra tests, which fail for now :-/Armin Rigo2016-10-191-1/+11
|
* typedef int foo_t[...];Armin Rigo2016-09-201-0/+4
|
* skip testArmin Rigo2016-09-061-0/+3
|
* Issue #283: initializer for nested anonymous structs inside unionsArmin Rigo2016-09-051-7/+36
|
* Skip test if setuptools cannot be importedArmin Rigo2016-09-041-1/+4
|
* Issue #282: probable test and fixArmin Rigo2016-09-031-0/+1
|
* Backed out changeset 0087e2aec9efArmin Rigo2016-09-037-186/+316
| | | | Un-kill the ctypes backend. Issue #282 for a justification.
* Kill the ctypes backend.Armin Rigo2016-09-037-316/+186
|
* Fix testArmin Rigo2016-09-031-1/+1
|
* Remove the extra checks, which should be unnecessary and possibly causeArmin Rigo2016-08-221-3/+0
| | | | more confusion.
* use py_limited_api flag when available.Daniel Holth2016-08-211-0/+25
| | | | | In setuptools>=26, Extension(..., py_limited_api=True) sets the .abi3.so filename, readable by Python 3.2+.
* Issue #271: in the test, call "cc" instead of "gcc", in case gcc isn'tArmin Rigo2016-07-181-1/+1
| | | | installed but another compiler is.
* update version number to 1.7Armin Rigo2016-06-051-2/+2
|
* Fix tests in 'testing' to account for e7ca388b0197 (I only fixed theArmin Rigo2016-05-081-3/+9
| | | | tests in 'c/test_c.py')
* Add ffi.gc(ptr, None) which *removes* the destructor in-place on a ffi.gc() ↵Amaury Forgeot d'Arc2016-04-231-0/+14
| | | | object.
* Implement backend.gcp() for the ctypes backend, and remove gc_weakref.Amaury Forgeot d'Arc2016-04-231-5/+0
|
* Windows fix: 'struct a' is a great name for being predefined and not reusableArmin Rigo2016-04-211-6/+6
|
* Still delay this a bit longerArmin Rigo2016-04-181-2/+2
|
* Remove again ffi.rawstring(), and implement instead ffi.unpack().Armin Rigo2016-04-161-6/+4
| | | | | | | | | | | | | Pre-documentation notes: (hi Amaury :-) * ffi.unpack(<cdata 'char'>, n) == ffi.buffer(<cdata 'char'>, n)[:] but I hope it is a little bit more natural * ffi.unpack(<cdata 'wchar_t'>, n): this is the original motivation, because it has no previous equivalent * ffi.unpack(<cdata 'int'>, n) == list(<cdata 'int'>[0:n]) but should be much faster on CPython
* Python3 compatArmin Rigo2016-04-151-3/+3
|
* ffi.rawstring(), with a minimal interfaceArmin Rigo2016-04-151-0/+9
|
* Change the API of ffi.list_types()Armin Rigo2016-03-301-10/+11
|
* ffi.list_types()Armin Rigo2016-03-271-0/+48
|
* For now, don't add --never-download. It causes failures on random machines.Armin Rigo2016-03-021-1/+3
|
* Recent releases of virtualenv default to downloading new pip, etc. We don't ↵Stefano Rivera2016-02-171-1/+1
| | | | need to do that
* distribute folded back into setuptools a while ago. This option has no ↵Stefano Rivera2016-02-171-1/+1
| | | | effect any more
* Fix for Python 2.6Armin Rigo2016-02-131-0/+3
|
* Issue #244: parse_type() calls the Parser logic but self._options usedArmin Rigo2016-01-311-0/+5
| | | | to be None, crashing in corner cases
* issue #243: explicitly complain if ffi.def_extern() is called on theArmin Rigo2016-01-191-0/+4
| | | | Python-side FFI object
* OS/X fix: clang has got a warning enabled by default hereArmin Rigo2016-01-161-2/+2
|
* Delay changing this to 1.6 (1.5 is very soon after 1.4)Armin Rigo2016-01-151-2/+2
|
* more tweaks; tests needed...Armin Rigo2015-12-301-0/+7
|