Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Backed out changeset 7a76a3815340 | Armin Rigo | 2019-01-29 | 1 | -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 Rigo | 2019-01-07 | 1 | -3/+9 |
| | | | | | Also contains some improvements to the documentation about other recent additions | ||||
* | ffi.release() | Armin Rigo | 2019-01-05 | 1 | -0/+7 |
| | |||||
* | Issue #394 | Armin Rigo | 2018-12-16 | 1 | -0/+10 |
| | | | | Implement ffi.from_buffer(x, require_writable=True) | ||||
* | CPython 2.x: ``ffi.dlopen()`` failed with non-ascii file names on Posix | Armin Rigo | 2018-10-14 | 1 | -4/+16 |
| | |||||
* | Issue #384 | Armin Rigo | 2018-09-19 | 1 | -0/+1 |
| | | | | | Un-ignore the warnings when testing for them, in case someone runs py.test with the PYTHONWARNINGS environment variable set | ||||
* | Issue #382 | Armin Rigo | 2018-09-04 | 1 | -5/+4 |
| | | | | Second fix attempt, thanks Adam | ||||
* | Issue #382 | Armin Rigo | 2018-09-04 | 1 | -4/+5 |
| | | | | | Change the test to a non-floating-point example, where ignoring the return value should work even on x87. | ||||
* | Issue #379 | Armin Rigo | 2018-08-30 | 1 | -0/+15 |
| | | | | Accept ``ffi.new("int[4]", p)`` if p is itself another cdata ``int[4]``. | ||||
* | Issue #375 | Armin Rigo | 2018-08-08 | 1 | -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 Rigo | 2018-08-05 | 1 | -0/+27 |
| | |||||
* | Issue 364 | Armin Rigo | 2018-06-16 | 1 | -9/+29 |
| | | | | Add support for MSVC's "#pragma pack(n)" in ABI mode | ||||
* | Ignore multiple dlclose(), like file.close() does in Python | Armin Rigo | 2018-02-27 | 1 | -3/+1 |
| | |||||
* | Implement ffi.dlclose() for the in-line case | Armin Rigo | 2018-02-16 | 1 | -0/+20 |
| | |||||
* | Trying to fix ffi.dlopen() for unicode filenames on Windows | Armin Rigo | 2018-02-15 | 1 | -4/+9 |
| | |||||
* | more tweaks | Armin Rigo | 2017-10-04 | 1 | -2/+1 |
| | |||||
* | Skip a test: the link location now points to the general pip page, | Armin Rigo | 2017-10-04 | 1 | -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 Rigo | 2017-09-21 | 1 | -4/+4 |
| | |||||
* | Only run the memory-intensive tests on Linux x86 or x64 machines. | Armin Rigo | 2017-09-20 | 1 | -0/+10 |
| | |||||
* | Generalize the test to pass | Armin Rigo | 2017-09-16 | 1 | -1/+1 |
| | |||||
* | Python 3 | Armin Rigo | 2017-09-16 | 1 | -2/+2 |
| | |||||
* | Add an optional 'size' argument to ffi.gc(). So far, it has no effect | Armin Rigo | 2017-08-02 | 1 | -0/+58 |
| | | | | on CPython. | ||||
* | Issue #300 | Armin Rigo | 2017-07-21 | 1 | -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 Windows | Armin Rigo | 2017-06-19 | 3 | -1/+32 |
| | |||||
* | fixes | Armin Rigo | 2017-05-31 | 1 | -3/+8 |
| | |||||
* | more tests | Armin Rigo | 2017-05-31 | 2 | -1/+30 |
| | |||||
* | Tests and fixes | Armin Rigo | 2017-05-31 | 1 | -0/+38 |
| | |||||
* | More tweaks, more tests, try harder to avoid including <complex.h> | Armin Rigo | 2017-05-29 | 1 | -4/+6 |
| | | | | because it is not necessarily there | ||||
* | hg merge default | Armin Rigo | 2017-05-29 | 1 | -2/+3 |
|\ | |||||
| * | tests pass. Had to #include <complex.h> - might want to make that optional | Tom Krauss | 2017-03-27 | 1 | -2/+3 |
| | | |||||
* | | Try to systematically include the line number | Armin Rigo | 2017-05-09 | 1 | -3/+11 |
| | | |||||
* | | Issue 314 | Armin Rigo | 2017-05-09 | 1 | -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_enum | Jean-Sebastien Bevilacqua | 2017-03-15 | 1 | -1/+2 |
| | |||||
* | python 2.6 compat | Armin Rigo | 2017-03-13 | 1 | -1/+2 |
| | |||||
* | Issue #310: pycparser was recently made stricter and no longer parses | Armin Rigo | 2017-02-27 | 1 | -2/+2 |
| | | | | ``typedef int __dotdotdot__ foo_t;``. I think this fixes it | ||||
* | issue #255: comparing primitive cdatas | Armin Rigo | 2017-02-19 | 1 | -10/+11 |
| | |||||
* | ffi.addressof(lib, "name") now also works in in-line mode | Armin Rigo | 2017-02-07 | 1 | -0/+18 |
| | |||||
* | Remove a warning that doesn't really make sense here, tweak tests | Armin Rigo | 2017-02-06 | 2 | -1/+7 |
| | |||||
* | Merged in coronafire/cffi/buffer_richcompare (pull request #76) | Armin Rigo | 2017-02-06 | 2 | -3/+20 |
|\ | | | | | | | Add richcompare to buffer objects | ||||
| * | Add tests for buffer comparisons | Andrew Leech | 2017-02-03 | 2 | -3/+20 |
| | | |||||
* | | fix the FakeBackend classes for tests | Armin Rigo | 2017-02-06 | 2 | -0/+4 |
| | | |||||
* | | Make 'ffi.buffer' be the type of minibuffers returned by cffi, and | Armin Rigo | 2017-02-04 | 1 | -0/+1 |
|/ | | | | 'ffi.buffer()' now calls the constructor. | ||||
* | bump version number to 1.10.0 | Armin Rigo | 2017-01-23 | 1 | -1/+1 |
| | |||||
* | We're interested in --with-pydebug not -d | Stefano Rivera | 2016-12-30 | 1 | -3/+4 |
| | |||||
* | Detect packed structs. Improve error messages and test them. | Armin Rigo | 2016-12-22 | 1 | -7/+20 |
| | |||||
* | test and fix for b6adad5f4ea3, actually reverting some C changes that | Armin Rigo | 2016-12-06 | 1 | -0/+12 |
| | | | | are not necessary and cause segfaults | ||||
* | Fix: the condition "offsetof == sizeof" for being a var-sized array | Armin Rigo | 2016-10-29 | 1 | -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 Rigo | 2016-10-28 | 1 | -1/+1 |
| | |||||
* | Decided to fix ffi.sizeof() too. Update the documentation. | Armin Rigo | 2016-10-27 | 1 | -4/+9 |
| | |||||
* | Revert b84710ae130a again. Ensure we get a warning for every opaque | Armin Rigo | 2016-10-20 | 1 | -7/+7 |
| | | | | | enum, but then fall back to 'unsigned int'. See documentation for motivation. |