| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix test | Armin Rigo | 2017-01-03 | 1 | -1/+5 |
| | | |||||
| * | readd two lines accidentaly removed | Richard Plangger | 2017-01-03 | 1 | -0/+2 |
| | | |||||
| * | do not allow unicode to directly be passed to from_buffer | Richard Plangger | 2016-12-09 | 1 | -2/+2 |
| | | |||||
| * | allow from_buffer for buffer and memoryview even when they point to ↵ | Richard Plangger | 2016-12-09 | 1 | -5/+3 |
| | | | | | bytes/unicode | ||||
| * | pypy now can get a raw address from a StringBuffer, modify test | Richard Plangger | 2016-12-09 | 1 | -7/+13 |
| | | |||||
| * | update to 1.9.1 | Armin Rigo | 2016-11-12 | 1 | -1/+1 |
| | | |||||
| * | Bump version number to 1.9.0 | Armin Rigo | 2016-11-02 | 1 | -1/+1 |
| | | |||||
| * | Fix: the condition "offsetof == sizeof" for being a var-sized array | Armin Rigo | 2016-10-29 | 1 | -0/+27 |
| | | | | | | is bogus. See test for a case where it is not the case because of alignment. | ||||
| * | Decided to fix ffi.sizeof() too. Update the documentation. | Armin Rigo | 2016-10-27 | 1 | -0/+3 |
| | | |||||
| * | Fix what is hopefully the last remaining issues with ↵ | Armin Rigo | 2016-10-25 | 1 | -2/+1 |
| | | | | | calculate_variable_array_length | ||||
| * | Tweaks, and add extra tests, which fail for now :-/ | Armin Rigo | 2016-10-19 | 1 | -2/+19 |
| | | |||||
| * | Merged in coronafire/cffi/calculate_variable_array_length (pull request #71) | Armin Rigo | 2016-10-19 | 1 | -4/+9 |
| |\ | | | | | | | Track and use length of variable length structs and their varsized array | ||||
| | * | Detect and mark the final variable array in a varsized struct with ↵calculate_variable_array_length | Andrew Leech | 2016-09-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | BS_VARSIZESTRUCT_ARRAY Use this when returning this field/arrtibute of said struct | ||||
| | * | Add some initial test assertions to check length details on variable length ↵ | Andrew Leech | 2016-09-13 | 1 | -3/+8 |
| | | | | | | | | | structs | ||||
| * | | Improve test | Armin Rigo | 2016-10-14 | 1 | -0/+2 |
| | | | |||||
| * | | update to 1.8.4 and add whatsnew | Armin Rigo | 2016-09-20 | 1 | -1/+1 |
| | | | |||||
| * | | Document the new warning | Armin Rigo | 2016-09-15 | 1 | -0/+2 |
| | | | |||||
| * | | bump version number to 1.8.3 | Armin Rigo | 2016-09-15 | 1 | -1/+1 |
| | | | |||||
| * | | Warn when implicitly casting between "char *" and a different pointer | Armin Rigo | 2016-09-15 | 1 | -0/+22 |
| |/ | | | | type, like C does (there is no special-case of "char *" in C) | ||||
| * | A direct test | Armin Rigo | 2016-09-06 | 1 | -0/+19 |
| | | |||||
| * | Update and document v1.8.2 | Armin Rigo | 2016-09-06 | 1 | -1/+1 |
| | | |||||
| * | Bump version number to 1.8.1 | Armin Rigo | 2016-09-03 | 1 | -1/+1 |
| | | |||||
| * | Give an error when subtracting two pointers and the division's result is | Armin Rigo | 2016-08-15 | 1 | -0/+13 |
| | | | | | | not exact (in gcc, we get nonsense, so it means it is undefined behavior for C, which is best handled by raising in cffi) | ||||
| * | Update the version number to 1.8 | Armin Rigo | 2016-08-06 | 1 | -1/+1 |
| | | |||||
| * | The null_byte_after_str branch of PyPy makes ffi.from_buffer(str) | Armin Rigo | 2016-08-02 | 1 | -1/+6 |
| | | | | | possible. | ||||
| * | Support dir(p), where p is a struct or pointer-to-struct, to obtain | Armin Rigo | 2016-06-06 | 1 | -2/+22 |
| | | | | | the list of field names. | ||||
| * | update version number to 1.7 | Armin Rigo | 2016-06-05 | 1 | -1/+1 |
| | | |||||
| * | Add a test for another use case | Armin Rigo | 2016-06-03 | 1 | -0/+7 |
| | | |||||
| * | Slice assignment with bytearray as source | Armin Rigo | 2016-06-03 | 1 | -4/+6 |
| | | |||||
| * | From PyPy 5.2, bytearray buffers can fetch a raw pointer, so | Armin Rigo | 2016-06-03 | 1 | -6/+16 |
| | | | | | there is no reason any more to prevent from_buffer(bytearray()). | ||||
| * | an extra test | Armin Rigo | 2016-05-07 | 1 | -0/+1 |
| | | |||||
| * | Issue #255: `bool(ffi.cast("primitive", x))` is now True or False | Armin Rigo | 2016-05-07 | 1 | -3/+8 |
| | | | | | | depending on whether the value is zero or not. It used to always be True for any value. | ||||
| * | update the version number to 1.6 | Armin Rigo | 2016-04-17 | 1 | -1/+1 |
| | | |||||
| * | Oops. In this case, unpack(p) returns a list of <cdata struct> that | Armin Rigo | 2016-04-17 | 1 | -1/+2 |
| | | | | | are each inside 'p'. So 'p' must be kept alive | ||||
| * | There is no reason to restrict ffi.unpack() to primitives. | Armin Rigo | 2016-04-17 | 1 | -1/+23 |
| | | |||||
| * | Remove again ffi.rawstring(), and implement instead ffi.unpack(). | Armin Rigo | 2016-04-16 | 1 | -12/+39 |
| | | | | | | | | | | | | | | 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 compat | Armin Rigo | 2016-04-15 | 1 | -4/+4 |
| | | |||||
| * | Also accept arrays of int8_t or uint8_t, like ffi.string() | Armin Rigo | 2016-04-15 | 1 | -0/+4 |
| | | |||||
| * | Add a test here | Armin Rigo | 2016-04-15 | 1 | -0/+15 |
| | | |||||
| * | Update version | Armin Rigo | 2016-02-13 | 1 | -1/+1 |
| | | |||||
| * | bump the version number | Armin Rigo | 2016-02-09 | 1 | -1/+1 |
| | | |||||
| * | bump version number to 1.5.0 | Armin Rigo | 2016-01-15 | 1 | -1/+1 |
| | | |||||
| * | Update the version numbers and make sure the _cffi_backend module is | Armin Rigo | 2016-01-01 | 1 | -1/+1 |
| | | | | | a version that supports embedding! | ||||
| * | bump to 1.4.2 (reason in issue #239) | Armin Rigo | 2015-12-21 | 1 | -1/+1 |
| | | |||||
| * | bump version number | Armin Rigo | 2015-12-17 | 1 | -1/+1 |
| | | |||||
| * | bump version number to 1.4.0 | Armin Rigo | 2015-12-11 | 1 | -1/+1 |
| | | |||||
| * | update version to 1.3.1 | Armin Rigo | 2015-11-14 | 1 | -1/+1 |
| | | |||||
| * | Add a direct test for _get_common_types() | Armin Rigo | 2015-11-03 | 1 | -1/+6 |
| | | |||||
| * | Another test (passing) | Armin Rigo | 2015-10-09 | 1 | -0/+6 |
| | | |||||
| * | Test yet another case (for pypy) | Armin Rigo | 2015-10-09 | 1 | -0/+2 |
| | | |||||
