summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ready to mergestatic-callbackArmin Rigo2015-12-070-0/+0
|
* Skip a couple of new tests on Windows, because this method doesn't seemArmin Rigo2015-12-071-0/+3
| | | | able to capture the C-level fprintf(stderr)
* py3k compatArmin Rigo2015-12-077-19/+39
|
* fix (very minor) leakArmin Rigo2015-12-071-1/+1
|
* more casesArmin Rigo2015-12-072-0/+14
|
* typoArmin Rigo2015-12-071-1/+1
|
* Tweak for PyGILState_Ensure(), improving massively its performance inArmin Rigo2015-12-064-50/+168
| | | | case it is called repeatedly in a non-python-created thread
* hg merge defaultArmin Rigo2015-11-304-10/+31
|\
| * Mention jamadden's experience on ircArmin Rigo2015-11-241-1/+6
| |
| * One more corner caseArmin Rigo2015-11-241-0/+4
| |
| * improve doc for the fix to ffi.new_handle()Armin Rigo2015-11-232-6/+15
| |
| * Update this doc, which ends up (also) in C sources produced byArmin Rigo2015-11-231-1/+2
| | | | | | | | ffi.set_source()
| * ffi.addressof(lib, "name") does not work with ffi.verify()Armin Rigo2015-11-231-2/+3
| |
| * Link to issue 233Armin Rigo2015-11-231-0/+1
| |
* | typoArmin Rigo2015-11-231-1/+1
| |
* | hg merge defaultArmin Rigo2015-11-238-66/+282
|\ \ | |/
| * Add whatsnewArmin Rigo2015-11-231-0/+12
| |
| * Copy the PyPy behavior on CPython too: two calls to new_handle(x),Armin Rigo2015-11-234-64/+45
| | | | | | | | even with the same x, now return cdatas that compare as different.
| * issue #233: ffi.init_once()Armin Rigo2015-11-235-1/+224
| |
| * fixArmin Rigo2015-11-171-1/+1
| |
* | meh, fix demoArmin Rigo2015-11-202-2/+2
| |
* | Fix the issue with subinterpreters: now each subinterpreter should haveArmin Rigo2015-11-201-16/+113
| | | | | | | | its own independent copy of each @ffi.def_extern().
* | Change the @ffi.def_extern() decorator to not automatically replace theArmin Rigo2015-11-203-32/+35
| | | | | | | | | | | | function with the cdata. You need to get the cdata from the lib explicitly. This should make it clearer that there is only one cdata, even if you apply the decorator again.
* | an XXXArmin Rigo2015-11-181-0/+3
| |
* | Write one error message directly to stderr instead of sys.stderr. ThisArmin Rigo2015-11-184-52/+51
| | | | | | | | | | lets us avoid taking the GIL, which might crash in case the Python interpreter is not initialized at all.
* | update the code to use 'extern "Python"'Armin Rigo2015-11-189-121/+124
| |
* | Fix cparserArmin Rigo2015-11-183-27/+86
| |
* | flowArmin Rigo2015-11-181-1/+1
| |
* | Change the docs to use extern "Python" as discussed yesterday on ircArmin Rigo2015-11-183-95/+140
| | | | | | | | (thanks antocuni)
* | link to the reason for the callback new-styleArmin Rigo2015-11-171-1/+4
| |
* | Need an explicit cast hereArmin Rigo2015-11-161-1/+2
| |
* | hg merge defaultArmin Rigo2015-11-161-2/+5
|\ \ | |/
| * Skip this test when run inside pypy, where there is no ../c/commontypes.cArmin Rigo2015-11-161-2/+5
| |
* | Add a minimal demo of CFFI_CALL_PYTHONArmin Rigo2015-11-161-0/+29
| |
* | Must setup the threads also when using ffi.call_python(), not justArmin Rigo2015-11-151-3/+7
| | | | | | | | ffi.callback().
* | Inline documentationArmin Rigo2015-11-151-1/+8
| |
* | merge defaultArmin Rigo2015-11-151-1/+13
|\ \ | |/
| * Document ffi.new_allocator()Armin Rigo2015-11-151-1/+13
| |
* | Write documentation about ffi.call_python().Armin Rigo2015-11-151-52/+210
| |
* | hg merge defaultArmin Rigo2015-11-1510-11/+39
|\ \ | |/
| * py3 compatArmin Rigo2015-11-142-2/+4
| |
| * Whatsnew in v1.3.1Armin Rigo2015-11-141-0/+16
| |
| * update version to 1.3.1Armin Rigo2015-11-146-9/+9
| |
| * Document the SELinux issue with callbacksArmin Rigo2015-11-141-0/+10
| |
* | More tests for what I thought would work because it uses the same codeArmin Rigo2015-11-152-4/+44
| | | | | | | | as ffi.callback(). Alas, it didn't
* | tweak the pypy-only generated codeArmin Rigo2015-11-152-1/+5
| |
* | tests tests testsArmin Rigo2015-11-132-11/+63
| |
* | more testsArmin Rigo2015-11-131-7/+38
| |
* | More tests, make the name optional in ffi.call_python()Armin Rigo2015-11-132-4/+55
| |
* | ffi.call_python()Armin Rigo2015-11-136-39/+175
| |