[pypy-commit] cffi default: Mention ffi.buffer() in the ffi.string() doc.

2012-11-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r1094:9929fb64a1bc Date: 2012-11-30 15:59 -0800 http://bitbucket.org/cffi/cffi/changeset/9929fb64a1bc/ Log:Mention ffi.buffer() in the ffi.string() doc. diff --git a/doc/source/index.rst b/doc/source/index.rst --- a/doc/source/index.rst +++ b/doc/source

[pypy-commit] pypy default: Update to cffi/12a797fcf465.

2012-11-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r59153:42c0d1650cf4 Date: 2012-11-30 15:50 -0800 http://bitbucket.org/pypy/pypy/changeset/42c0d1650cf4/ Log:Update to cffi/12a797fcf465. diff --git a/pypy/module/_cffi_backend/ctypeptr.py b/pypy/module/_cffi_backend/ctypeptr.py --- a/pypy/module/_cffi_

[pypy-commit] cffi default: Test and fix

2012-11-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r1093:12a797fcf465 Date: 2012-11-30 15:46 -0800 http://bitbucket.org/cffi/cffi/changeset/12a797fcf465/ Log:Test and fix diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -1915,7 +1915,9 @@ if (PyB

[pypy-commit] cffi default: Accept Python strings or random pointers for a "void *" function argument.

2012-11-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r1092:fe7746226762 Date: 2012-11-30 15:31 -0800 http://bitbucket.org/cffi/cffi/changeset/fe7746226762/ Log:Accept Python strings or random pointers for a "void *" function argument. diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cff

[pypy-commit] cffi default: Document bool() on pointers.

2012-11-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r1091:2145beedd1fa Date: 2012-11-30 14:21 -0800 http://bitbucket.org/cffi/cffi/changeset/2145beedd1fa/ Log:Document bool() on pointers. diff --git a/doc/source/index.rst b/doc/source/index.rst --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -12

[pypy-commit] cffi default: emphasis

2012-11-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r1090:7ef6be04446b Date: 2012-11-30 14:11 -0800 http://bitbucket.org/cffi/cffi/changeset/7ef6be04446b/ Log:emphasis diff --git a/doc/source/index.rst b/doc/source/index.rst --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -950,8 +950,8 @@ .

[pypy-commit] cffi default: Python 3.

2012-11-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r1089:710f8fcd1563 Date: 2012-11-30 14:06 -0800 http://bitbucket.org/cffi/cffi/changeset/710f8fcd1563/ Log:Python 3. diff --git a/cffi/ffiplatform.py b/cffi/ffiplatform.py --- a/cffi/ffiplatform.py +++ b/cffi/ffiplatform.py @@ -81,8 +81,10 @@ try:

[pypy-commit] cffi default: A passing test with enums and include().

2012-11-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r1088:a5b62f2d125b Date: 2012-11-30 13:59 -0800 http://bitbucket.org/cffi/cffi/changeset/a5b62f2d125b/ Log:A passing test with enums and include(). diff --git a/testing/test_verify.py b/testing/test_verify.py --- a/testing/test_verify.py +++ b/testing/t

[pypy-commit] cffi default: A passing test for verify() with include().

2012-11-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r1087:9825326b79df Date: 2012-11-30 13:55 -0800 http://bitbucket.org/cffi/cffi/changeset/9825326b79df/ Log:A passing test for verify() with include(). diff --git a/testing/test_verify.py b/testing/test_verify.py --- a/testing/test_verify.py +++ b/testin

[pypy-commit] cffi default: Another passing test.

2012-11-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r1086:8c015d3bfeb2 Date: 2012-11-30 13:52 -0800 http://bitbucket.org/cffi/cffi/changeset/8c015d3bfeb2/ Log:Another passing test. diff --git a/testing/backend_tests.py b/testing/backend_tests.py --- a/testing/backend_tests.py +++ b/testing/backend_tests.

[pypy-commit] cffi default: ffi.include().

2012-11-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r1085:abacd609e512 Date: 2012-11-30 13:38 -0800 http://bitbucket.org/cffi/cffi/changeset/abacd609e512/ Log:ffi.include(). diff --git a/cffi/api.py b/cffi/api.py --- a/cffi/api.py +++ b/cffi/api.py @@ -305,6 +305,17 @@ ctypeptr = self._pointer_t

[pypy-commit] cffi default: In-progress: tweaks to support the case of the same StructType being

2012-11-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r1084:da1d30f32b63 Date: 2012-11-30 12:17 -0800 http://bitbucket.org/cffi/cffi/changeset/da1d30f32b63/ Log:In-progress: tweaks to support the case of the same StructType being instantiated on multiple ffi's (and then returning the same backend

[pypy-commit] cffi default: A test that passes

2012-11-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r1083:32cad3360765 Date: 2012-11-30 12:16 -0800 http://bitbucket.org/cffi/cffi/changeset/32cad3360765/ Log:A test that passes diff --git a/testing/backend_tests.py b/testing/backend_tests.py --- a/testing/backend_tests.py +++ b/testing/backend_tests.py

[pypy-commit] cffi default: Future-proof fix: the key did not include the funcname. By chance,

2012-11-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r1082:a67eedfa67cb Date: 2012-11-30 11:52 -0800 http://bitbucket.org/cffi/cffi/changeset/a67eedfa67cb/ Log:Future-proof fix: the key did not include the funcname. By chance, the different funcnames have really different arguments. diff --git a/c

[pypy-commit] pypy.org extradoc: regenerate

2012-11-30 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r371:d4dfb3137e3a Date: 2012-11-30 11:23 -0800 http://bitbucket.org/pypy/pypy.org/changeset/d4dfb3137e3a/ Log:regenerate diff --git a/download.html b/download.html --- a/download.html +++ b/download.html @@ -125,7 +125,7 @@ uncompressed, they r

[pypy-commit] pypy.org extradoc: Update the source links to 2.0 too.

2012-11-30 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r370:9dfc6701ad94 Date: 2012-11-30 11:23 -0800 http://bitbucket.org/pypy/pypy.org/changeset/9dfc6701ad94/ Log:Update the source links to 2.0 too. diff --git a/source/download.txt b/source/download.txt --- a/source/download.txt +++ b/source/downl

[pypy-commit] cffi default: We need to take all **kwds and stick them into the hash too.

2012-11-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r1081:bec0477dcb83 Date: 2012-11-30 10:43 -0800 http://bitbucket.org/cffi/cffi/changeset/bec0477dcb83/ Log:We need to take all **kwds and stick them into the hash too. diff --git a/cffi/ffiplatform.py b/cffi/ffiplatform.py --- a/cffi/ffiplatform.py +++

[pypy-commit] cffi default: Forgot to check in this test file.

2012-11-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r1080:d3a941ac4190 Date: 2012-11-30 10:43 -0800 http://bitbucket.org/cffi/cffi/changeset/d3a941ac4190/ Log:Forgot to check in this test file. diff --git a/testing/test_platform.py b/testing/test_platform.py new file mode 100644 --- /dev/null +++ b/testi

[pypy-commit] pypy default: Baaaah. After a fork(), we change gil_ready to False and then back to

2012-11-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r59152:85d8aae437d8 Date: 2012-11-30 08:59 -0800 http://bitbucket.org/pypy/pypy/changeset/85d8aae437d8/ Log:Bh. After a fork(), we change gil_ready to False and then back to True, which has the effect of throwing away all JIT assembler.

[pypy-commit] pypy default: use a proper if/else instead of a conditional expression, which seems to be handled well by g++: this is necessary to (try to) compile boost-python against pypy

2012-11-30 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r59151:60670d2128f2 Date: 2012-11-30 15:41 + http://bitbucket.org/pypy/pypy/changeset/60670d2128f2/ Log:use a proper if/else instead of a conditional expression, which seems to be handled well by g++: this is necessary to (try to) c

[pypy-commit] pypy py3k: improve this test. It took me a second to understand what was going on, better to explain more explicitly :)

2012-11-30 Thread antocuni
Author: Antonio Cuni Branch: py3k Changeset: r59150:f947138ba323 Date: 2012-11-30 10:51 + http://bitbucket.org/pypy/pypy/changeset/f947138ba323/ Log:improve this test. It took me a second to understand what was going on, better to explain more explicitly :) diff --git a/pypy/inte