[pypy-commit] cffi default: Improve the error messages

2012-09-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r946:81754acf19ae Date: 2012-09-19 01:09 +0200 http://bitbucket.org/cffi/cffi/changeset/81754acf19ae/ Log:Improve the error messages diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -4009,18 +4009,23

[pypy-commit] pypy default: Improve the error messages

2012-09-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r57379:5c84521f68f5 Date: 2012-09-19 01:09 +0200 http://bitbucket.org/pypy/pypy/changeset/5c84521f68f5/ Log:Improve the error messages diff --git a/pypy/module/_cffi_backend/ctypeobj.py b/pypy/module/_cffi_backend/ctypeobj.py --- a/pypy/module/_cffi_ba

[pypy-commit] pypy default: PyPy support for CFFI up to 9dd27fd230ca.

2012-09-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r57378:2de6f6527347 Date: 2012-09-19 01:02 +0200 http://bitbucket.org/pypy/pypy/changeset/2de6f6527347/ Log:PyPy support for CFFI up to 9dd27fd230ca. diff --git a/pypy/module/_cffi_backend/__init__.py b/pypy/module/_cffi_backend/__init__.py --- a/pypy/

[pypy-commit] pypy continulet-jit-3: Get started.

2012-09-18 Thread arigo
Author: Armin Rigo Branch: continulet-jit-3 Changeset: r57377:9ee7b6e02e74 Date: 2012-09-17 14:23 +0200 http://bitbucket.org/pypy/pypy/changeset/9ee7b6e02e74/ Log:Get started. diff --git a/pypy/jit/backend/x86/arch.py b/pypy/jit/backend/x86/arch.py --- a/pypy/jit/backend/x86/arch.py +++ b/py

[pypy-commit] pypy continulet-jit-3: Third attempt: this time, the goal is to simplify what occurs when

2012-09-18 Thread arigo
Author: Armin Rigo Branch: continulet-jit-3 Changeset: r57376:36c11b801107 Date: 2012-09-17 08:39 +0200 http://bitbucket.org/pypy/pypy/changeset/36c11b801107/ Log:Third attempt: this time, the goal is to simplify what occurs when the generated assembler fails a guard, by allocating th

[pypy-commit] cffi default: Revert this case to a TypeError.

2012-09-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r945:9dd27fd230ca Date: 2012-09-19 01:01 +0200 http://bitbucket.org/cffi/cffi/changeset/9dd27fd230ca/ Log:Revert this case to a TypeError. diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -4019,10 +40

[pypy-commit] cffi default: Kill _cffi_backend.offsetof(), using only _cffi_backend.typeoffsetof().

2012-09-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r944:aca9a184c13e Date: 2012-09-19 00:55 +0200 http://bitbucket.org/cffi/cffi/changeset/aca9a184c13e/ Log:Kill _cffi_backend.offsetof(), using only _cffi_backend.typeoffsetof(). diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_ba

[pypy-commit] pypy numpypy-complex2: start to test binary complex functions in rcomplex

2012-09-18 Thread mattip
Author: mattip Branch: numpypy-complex2 Changeset: r57375:7f7b6d547027 Date: 2012-09-18 22:25 +0300 http://bitbucket.org/pypy/pypy/changeset/7f7b6d547027/ Log:start to test binary complex functions in rcomplex diff --git a/pypy/rlib/test/rcomplex_testcases.txt b/pypy/rlib/test/rcomplex_test

[pypy-commit] cffi default: ffi.addressof(struct, field).

2012-09-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r943:fcbef63e13e5 Date: 2012-09-18 19:37 +0200 http://bitbucket.org/cffi/cffi/changeset/fcbef63e13e5/ Log:ffi.addressof(struct, field). diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -4020,28 +4020,

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

2012-09-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r942:7aaba88f07dd Date: 2012-09-18 17:03 +0200 http://bitbucket.org/cffi/cffi/changeset/7aaba88f07dd/ Log:Document ffi.addressof(). diff --git a/doc/source/index.rst b/doc/source/index.rst --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -642,8

[pypy-commit] cffi default: Remove a special case from _cffi_backend, and replace it with a general

2012-09-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r941:57fb7d3ee6f4 Date: 2012-09-18 16:54 +0200 http://bitbucket.org/cffi/cffi/changeset/57fb7d3ee6f4/ Log:Remove a special case from _cffi_backend, and replace it with a general solution: ffi.addressof(), only for structs or unions. diff --git a

[pypy-commit] pypy default: Test and fix. That took far too long to find :-(((

2012-09-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r57374:d3f714e26354 Date: 2012-09-18 16:01 +0200 http://bitbucket.org/pypy/pypy/changeset/d3f714e26354/ Log:Test and fix. That took far too long to find :-((( diff --git a/lib_pypy/_ctypes/pointer.py b/lib_pypy/_ctypes/pointer.py --- a/lib_pypy/_ctypes/

[pypy-commit] cffi default: Fix in backend_ctypes.

2012-09-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r940:0ee9430b3c1d Date: 2012-09-18 11:13 +0200 http://bitbucket.org/cffi/cffi/changeset/0ee9430b3c1d/ Log:Fix in backend_ctypes. diff --git a/cffi/backend_ctypes.py b/cffi/backend_ctypes.py --- a/cffi/backend_ctypes.py +++ b/cffi/backend_ctypes.py @@ -8

[pypy-commit] cffi default: Document the simpler form of giving a C function type.

2012-09-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r939:beb3625be215 Date: 2012-09-18 11:12 +0200 http://bitbucket.org/cffi/cffi/changeset/beb3625be215/ Log:Document the simpler form of giving a C function type. diff --git a/doc/source/index.rst b/doc/source/index.rst --- a/doc/source/index.rst +++ b/do

[pypy-commit] cffi default: Make ffi.callback work both in normal mode and in "decorator mode".

2012-09-18 Thread arigo
Author: Armin Rigo Branch: Changeset: r938:f4aed9ff91d6 Date: 2012-09-18 11:07 +0200 http://bitbucket.org/cffi/cffi/changeset/f4aed9ff91d6/ Log:Make ffi.callback work both in normal mode and in "decorator mode". diff --git a/cffi/api.py b/cffi/api.py --- a/cffi/api.py +++ b/cffi/api.py @@ -