summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Able to build on macOS only with Xcode but without CLTbuild-with-xcode-onlyKaito Udagawa2016-11-261-0/+14
| | | | | | | | In macOS, two different build environment exists: Xcode.app and Xcode Command Line Tools (aka CLT) By this change setuptools considers the header under Xcode.app, and cffi can build every environment where cc exists.
* hg merge release-1.9Armin Rigo2016-11-121-3/+3
|\
| * md5/sharelease-1.9Armin Rigo2016-11-121-3/+3
| |
| * hg merge defaultArmin Rigo2016-11-127-12/+13
| |\ | |/ |/|
* | update to 1.9.1Armin Rigo2016-11-127-11/+11
| |
* | hg merge release-1.9Armin Rigo2016-11-121-3/+3
|\ \ | |/
| * md5/shaArmin Rigo2016-11-121-3/+3
| |
| * Release branchArmin Rigo2016-11-120-0/+0
| |
* | Windows compilation fixArmin Rigo2016-11-121-1/+2
|/
* A different fix for 0ecb431b2b94Armin Rigo2016-11-111-1/+1
|
* Backed out changeset 0ecb431b2b94Armin Rigo2016-11-112-2/+2
| | | | | I think that the init function is not always exported any more now, which breaks everything.
* Update the docs to the style r"""...C source..."""Armin Rigo2016-11-114-15/+19
|
* Fix a warning for PyPy3Armin Rigo2016-11-092-2/+2
|
* Backed out changeset dc390236b9c6Armin Rigo2016-11-071-1/+4
| | | | Sphynx bug (infinite recursion)
* Reorganize (thanks matti)Armin Rigo2016-11-071-4/+1
|
* Don't pollute the namespace with 'CTypeDescrObject'Armin Rigo2016-11-051-9/+10
|
* Bump version number to 1.9.0Armin Rigo2016-11-027-9/+9
|
* Add a noteArmin Rigo2016-10-291-1/+3
|
* Fix: the condition "offsetof == sizeof" for being a var-sized arrayArmin Rigo2016-10-295-15/+47
| | | | | 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-284-27/+35
|
* Decided to fix ffi.sizeof() too. Update the documentation.Armin Rigo2016-10-275-9/+49
|
* Fix testArmin Rigo2016-10-251-5/+8
|
* Share codeArmin Rigo2016-10-251-12/+3
|
* Fix what is hopefully the last remaining issues with ↵Armin Rigo2016-10-253-57/+84
| | | | calculate_variable_array_length
* Skip pragmas even if pycparser does parse themArmin Rigo2016-10-241-0/+2
|
* Revert b84710ae130a again. Ensure we get a warning for every opaqueArmin Rigo2016-10-203-26/+26
| | | | | enum, but then fall back to 'unsigned int'. See documentation for motivation.
* Of course when I finally turned the warning in an error (18cdf37d6b26) IArmin Rigo2016-10-201-0/+15
| | | | get bug reports about it. Write down some details about it in whatsnew.
* Tweaks, and add extra tests, which fail for now :-/Armin Rigo2016-10-193-17/+55
|
* Merged in coronafire/cffi/calculate_variable_array_length (pull request #71)Armin Rigo2016-10-192-12/+53
|\ | | | | | | 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_lengthAndrew Leech2016-09-142-8/+11
| | | | | | | | | | | | 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 Leech2016-09-131-3/+8
| | | | | | | | structs
| * When using a variable length struct, calculate and enforce the length of the ↵Andrew Leech2016-09-131-1/+26
| | | | | | | | varsized_array when accessing this field.
| * When getting repr on CDataObject_own_structptr, use length field for owned bytesnew_struct_allocated_sizeAndrew Leech2016-09-121-1/+3
| |
| * When getting ffi.buffer() on CDataObject_own_structptr, use length field for ↵Andrew Leech2016-09-121-1/+5
| | | | | | | | buffer size
| * Add length field to CDataObject_own_structptr to hold the size of the memory ↵Andrew Leech2016-09-121-0/+2
| | | | | | | | | | | | block allocated for the struct. This is particularly useful for C99 variable-sized structures where the sizeof(<typedef>) does not directly inform the allocated size.
* | Improve testArmin Rigo2016-10-141-0/+2
| |
* | Merged in ↵Armin Rigo2016-10-131-0/+1
|\ \ | | | | | | | | | | | | | | | AL_Ilia/cffi/AL_Ilia/setuptools_extpy-edited-online-with-bitb-1476289245197 (pull request #70) setuptools_ext.py edited online with Bitbucket
| * | setuptools_ext.py edited online with BitbucketAL_Ilia/setuptools_extpy-edited-online-with-bitb-1476289245197Ilia Sergachev2016-10-121-0/+1
|/ /
* | CPython should ignore the .abi3.so extension in a debugging version,Armin Rigo2016-10-101-1/+6
| | | | | | | | but it doesn't so far, creating troubles.
* | Blindly attempt to detect MinGW (issue #159)Armin Rigo2016-10-073-8/+15
| |
* | Semi-blindly fix the muls and adds that could overflow so that gccArmin Rigo2016-10-071-5/+9
| | | | | | | | doesn't optimize based on the assumption that they can't overflow
* | Fix leak. Remaining issue: if the user close()s the file object in Python,Armin Rigo2016-09-271-2/+6
| | | | | | | | | | the __cffi_FILE attribute remains there and the dup'ed file descriptor remains open.
* | $ORIGIN is better than .Armin Rigo2016-09-241-1/+2
| |
* | Document inline the various options to compile with embeddingArmin Rigo2016-09-241-1/+24
| |
* | update to 1.8.4 and add whatsnewArmin Rigo2016-09-208-11/+19
| |
* | typedef int foo_t[...];Armin Rigo2016-09-205-4/+45
| |
* | hg merge release-1.8Armin Rigo2016-09-171-3/+3
|\ \
| * | md5/sharelease-1.8Armin Rigo2016-09-171-3/+3
| | |
| * | hg merge defaultArmin Rigo2016-09-170-0/+0
| |\ \ |/ / /
* | | Docs: remove "char *" from the special casing in the referenceArmin Rigo2016-09-151-3/+3
| | |