summaryrefslogtreecommitdiff
path: root/testing/cffi0/backend_tests.py
Commit message (Collapse)AuthorAgeFilesLines
* python 2.6 compatArmin Rigo2017-03-131-1/+2
|
* issue #255: comparing primitive cdatasArmin Rigo2017-02-191-10/+11
|
* Remove a warning that doesn't really make sense here, tweak testsArmin Rigo2017-02-061-1/+4
|
* Merged in coronafire/cffi/buffer_richcompare (pull request #76)Armin Rigo2017-02-061-0/+17
|\ | | | | | | Add richcompare to buffer objects
| * Add tests for buffer comparisonsAndrew Leech2017-02-031-0/+17
| |
* | Make 'ffi.buffer' be the type of minibuffers returned by cffi, andArmin Rigo2017-02-041-0/+1
|/ | | | 'ffi.buffer()' now calls the constructor.
* 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.
* Issue #283: initializer for nested anonymous structs inside unionsArmin Rigo2016-09-051-7/+36
|
* Issue #282: probable test and fixArmin Rigo2016-09-031-0/+1
|
* Backed out changeset 0087e2aec9efArmin Rigo2016-09-031-0/+1868
| | | | Un-kill the ctypes backend. Issue #282 for a justification.
* Kill the ctypes backend.Armin Rigo2016-09-031-1868/+0
|
* 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
|
* Still delay this a bit longerArmin Rigo2016-04-181-2/+2
|
* Issue #244: parse_type() calls the Parser logic but self._options usedArmin Rigo2016-01-311-0/+5
| | | | to be None, crashing in corner cases
* Delay changing this to 1.6 (1.5 is very soon after 1.4)Armin Rigo2016-01-151-2/+2
|
* Removal of the deprecation is deferred to 1.5Armin Rigo2015-12-151-2/+2
|
* py3k compatArmin Rigo2015-12-071-1/+6
|
* issue #233: ffi.init_once()Armin Rigo2015-11-231-0/+32
|
* Give a warning instead of crashing; in this way we can call the nextArmin Rigo2015-11-061-0/+3
| | | | | release 1.3.1 as planned and give some advance warning to users relying on this.
* Complain more readily about opaque enums, by refusing to guess whichArmin Rigo2015-11-051-1/+10
| | | | integer type (unsigned/signed, int/long) it is meant to be.
* wchar_t can be signed or not, apparently, even on the same platform (armArmin Rigo2015-10-221-3/+4
| | | | linux)
* ARM is documented to have 'unsigned int' as the wchar_t typeArmin Rigo2015-10-051-2/+2
|
* Test and fix: don't crash if there is a partial enum in the cdef()Armin Rigo2015-09-261-1/+1
| | | | but we try to access an enum constant from a different enum.
* Issue #221: forbid values from enums with "..." from being accessedArmin Rigo2015-09-231-1/+9
| | | | in ABI mode.
* Use the logic in cgc.c to implement ffi.gc() also for the pure PythonArmin Rigo2015-07-041-2/+5
| | | | in-line version of FFI
* Issue #207: fix for anonymous enums with ffi.include()Armin Rigo2015-06-291-0/+11
|
* ffi.include(ffi) doesn't make sense and hangs right nowArmin Rigo2015-06-291-0/+4
|
* Fix the logic to handle ffi.gc(x) being called several times with equalArmin Rigo2015-06-061-0/+57
| | | | | values of x. (PyPy 2.6.0's RPython version is already correct, which I guess is why the problem was noticed.)
* Issue #193: if we use a struct between the first cdef() where it isArmin Rigo2015-05-201-0/+10
| | | | | declared and another cdef() where its fields are defined, then the definition was ignored.
* the big Moving Files Around stepArmin Rigo2015-05-121-0/+1705