[pypy-commit] cffi cffi-1.0: tweaks to tests

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1828:9f5ea786ded2 Date: 2015-04-26 09:23 +0200 http://bitbucket.org/cffi/cffi/changeset/9f5ea786ded2/ Log:tweaks to tests diff --git a/_cffi1/support.py b/_cffi1/support.py new file mode 100644 --- /dev/null +++ b/_cffi1/support.py @@ -0,0 +1,6

[pypy-commit] cffi cffi-1.0: test and fix

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1829:60463383e5bc Date: 2015-04-26 09:34 +0200 http://bitbucket.org/cffi/cffi/changeset/60463383e5bc/ Log:test and fix diff --git a/_cffi1/realize_c_type.c b/_cffi1/realize_c_type.c --- a/_cffi1/realize_c_type.c +++ b/_cffi1/realize_c_type.c @@

[pypy-commit] cffi cffi-1.0: give the expected name to $struct and $enums

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1830:c92ee3ee4642 Date: 2015-04-26 09:58 +0200 http://bitbucket.org/cffi/cffi/changeset/c92ee3ee4642/ Log:give the expected name to $struct and $enums diff --git a/_cffi1/realize_c_type.c b/_cffi1/realize_c_type.c --- a/_cffi1/realize_c_type.c

[pypy-commit] cffi cffi-1.0: in-progress: import backend_tests

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1831:48276f27dd98 Date: 2015-04-26 10:14 +0200 http://bitbucket.org/cffi/cffi/changeset/48276f27dd98/ Log:in-progress: import backend_tests diff --git a/testing/backend_tests.py b/_cffi1/test_new_ffi_1.py copy from testing/backend_tests.py copy

[pypy-commit] cffi cffi-1.0: Array lengths given directly by constants

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1832:fd16324ee375 Date: 2015-04-26 10:46 +0200 http://bitbucket.org/cffi/cffi/changeset/fd16324ee375/ Log:Array lengths given directly by constants diff --git a/_cffi1/parse_c_type.c b/_cffi1/parse_c_type.c --- a/_cffi1/parse_c_type.c +++ b/_cf

[pypy-commit] cffi cffi-1.0: Rename the types, which are not available in the cffi module

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1835:5e6d6dfcf4e7 Date: 2015-04-26 10:55 +0200 http://bitbucket.org/cffi/cffi/changeset/5e6d6dfcf4e7/ Log:Rename the types, which are not available in the cffi module diff --git a/_cffi1/cglob.c b/_cffi1/cglob.c --- a/_cffi1/cglob.c +++ b/_cffi

[pypy-commit] cffi cffi-1.0: fix test

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1833:0a04e4942846 Date: 2015-04-26 10:48 +0200 http://bitbucket.org/cffi/cffi/changeset/0a04e4942846/ Log:fix test diff --git a/_cffi1/test_new_ffi_1.py b/_cffi1/test_new_ffi_1.py --- a/_cffi1/test_new_ffi_1.py +++ b/_cffi1/test_new_ffi_1.py @@

[pypy-commit] cffi cffi-1.0: List the remaining methods that are definitely missing

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1836:f59f9e25a388 Date: 2015-04-26 11:00 +0200 http://bitbucket.org/cffi/cffi/changeset/f59f9e25a388/ Log:List the remaining methods that are definitely missing diff --git a/_cffi1/ffi_obj.c b/_cffi1/ffi_obj.c --- a/_cffi1/ffi_obj.c +++ b/_cffi

[pypy-commit] cffi cffi-1.0: Add the extra tests from test_ffi_backend.py

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1834:40b66d3965df Date: 2015-04-26 10:51 +0200 http://bitbucket.org/cffi/cffi/changeset/40b66d3965df/ Log:Add the extra tests from test_ffi_backend.py diff --git a/_cffi1/test_new_ffi_1.py b/_cffi1/test_new_ffi_1.py --- a/_cffi1/test_new_ffi_1.

[pypy-commit] cffi cffi-1.0: more tests from test_ffi_backend

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1839:e80b46e5fa79 Date: 2015-04-26 11:11 +0200 http://bitbucket.org/cffi/cffi/changeset/e80b46e5fa79/ Log:more tests from test_ffi_backend diff --git a/_cffi1/test_new_ffi_1.py b/_cffi1/test_new_ffi_1.py --- a/_cffi1/test_new_ffi_1.py +++ b/_cf

[pypy-commit] cffi cffi-1.0: ffi.from_buffer()

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1840:923f1d3495c9 Date: 2015-04-26 11:23 +0200 http://bitbucket.org/cffi/cffi/changeset/923f1d3495c9/ Log:ffi.from_buffer() diff --git a/_cffi1/ffi_obj.c b/_cffi1/ffi_obj.c --- a/_cffi1/ffi_obj.c +++ b/_cffi1/ffi_obj.c @@ -533,6 +533,19 @@

[pypy-commit] cffi cffi-1.0: ffi.buffer()

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1838:c1a8a13f781d Date: 2015-04-26 11:09 +0200 http://bitbucket.org/cffi/cffi/changeset/c1a8a13f781d/ Log:ffi.buffer() diff --git a/_cffi1/ffi_obj.c b/_cffi1/ffi_obj.c --- a/_cffi1/ffi_obj.c +++ b/_cffi1/ffi_obj.c @@ -302,6 +302,20 @@ #define

[pypy-commit] cffi cffi-1.0: ffi.getwinerror() (untested so far)

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1837:bc882378fefd Date: 2015-04-26 11:05 +0200 http://bitbucket.org/cffi/cffi/changeset/bc882378fefd/ Log:ffi.getwinerror() (untested so far) diff --git a/_cffi1/ffi_obj.c b/_cffi1/ffi_obj.c --- a/_cffi1/ffi_obj.c +++ b/_cffi1/ffi_obj.c @@ -581

[pypy-commit] cffi cffi-1.0: ffi.gc(), copied straight from zeffir

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1841:e0ca28cfacbd Date: 2015-04-26 11:29 +0200 http://bitbucket.org/cffi/cffi/changeset/e0ca28cfacbd/ Log:ffi.gc(), copied straight from zeffir diff --git a/_cffi1/cffi1_module.c b/_cffi1/cffi1_module.c --- a/_cffi1/cffi1_module.c +++ b/_cffi1/

[pypy-commit] cffi cffi-1.0: Move and fix the test

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1842:3919dd27269f Date: 2015-04-26 11:37 +0200 http://bitbucket.org/cffi/cffi/changeset/3919dd27269f/ Log:Move and fix the test diff --git a/_cffi1/test_new_ffi_1.py b/_cffi1/test_new_ffi_1.py --- a/_cffi1/test_new_ffi_1.py +++ b/_cffi1/test_ne

[pypy-commit] cffi cffi-1.0: small refactoring ending up with support for SF_PACKED structures

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1843:fd13bd62a49a Date: 2015-04-26 11:52 +0200 http://bitbucket.org/cffi/cffi/changeset/fd13bd62a49a/ Log:small refactoring ending up with support for SF_PACKED structures diff --git a/_cffi1/cffi_opcode.py b/_cffi1/cffi_opcode.py --- a/_cffi1/

[pypy-commit] cffi cffi-1.0: test skips

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1844:71537992434b Date: 2015-04-26 11:56 +0200 http://bitbucket.org/cffi/cffi/changeset/71537992434b/ Log:test skips diff --git a/_cffi1/test_verify1.py b/_cffi1/test_verify1.py --- a/_cffi1/test_verify1.py +++ b/_cffi1/test_verify1.py @@ -2079

[pypy-commit] pypy py3.3: Change some whitespace to make a new revision to test something on the new build slave.

2015-04-26 Thread mjacob
Author: Manuel Jacob Branch: py3.3 Changeset: r76938:975e8a2af096 Date: 2015-04-26 13:48 +0200 http://bitbucket.org/pypy/pypy/changeset/975e8a2af096/ Log:Change some whitespace to make a new revision to test something on the new build slave. diff --git a/rpython/translator/c/src/sign

[pypy-commit] cffi cffi-1.0: Hex/octal numbers in array lengths

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1845:4d94d2c57548 Date: 2015-04-26 14:11 +0200 http://bitbucket.org/cffi/cffi/changeset/4d94d2c57548/ Log:Hex/octal numbers in array lengths diff --git a/_cffi1/parse_c_type.c b/_cffi1/parse_c_type.c --- a/_cffi1/parse_c_type.c +++ b/_cffi1/par

[pypy-commit] cffi cffi-1.0: a leak

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1846:d708ab8e01c6 Date: 2015-04-26 15:20 +0200 http://bitbucket.org/cffi/cffi/changeset/d708ab8e01c6/ Log:a leak diff --git a/_cffi1/realize_c_type.c b/_cffi1/realize_c_type.c --- a/_cffi1/realize_c_type.c +++ b/_cffi1/realize_c_type.c @@ -657,

[pypy-commit] cffi cffi-1.0: xfail the last two failures

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1848:798a6d0fee0d Date: 2015-04-26 16:00 +0200 http://bitbucket.org/cffi/cffi/changeset/798a6d0fee0d/ Log:xfail the last two failures diff --git a/_cffi1/test_verify1.py b/_cffi1/test_verify1.py --- a/_cffi1/test_verify1.py +++ b/_cffi1/test_ve

[pypy-commit] cffi cffi-1.0: FILE in the recompiler

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1847:1e0789c75797 Date: 2015-04-26 15:56 +0200 http://bitbucket.org/cffi/cffi/changeset/1e0789c75797/ Log:FILE in the recompiler diff --git a/_cffi1/realize_c_type.c b/_cffi1/realize_c_type.c --- a/_cffi1/realize_c_type.c +++ b/_cffi1/realize_c

[pypy-commit] cffi cffi-1.0: Don't emit _CFFI_F_CHECK_FIELDS on opaque structs (it is ignored anyway but confusing)

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1849:8bb6d2089f42 Date: 2015-04-26 16:15 +0200 http://bitbucket.org/cffi/cffi/changeset/8bb6d2089f42/ Log:Don't emit _CFFI_F_CHECK_FIELDS on opaque structs (it is ignored anyway but confusing) diff --git a/_cffi1/recompiler.py b/_cffi1/

[pypy-commit] cffi cffi-1.0: complain clearly if an ffi.include() was used

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1850:87eaba8629ad Date: 2015-04-26 16:17 +0200 http://bitbucket.org/cffi/cffi/changeset/87eaba8629ad/ Log:complain clearly if an ffi.include() was used diff --git a/_cffi1/recompiler.py b/_cffi1/recompiler.py --- a/_cffi1/recompiler.py +++ b/_c

[pypy-commit] cffi cffi-1.0: Move the demos from _cffi1/ back in the demo/ directory. Add the

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1851:3a8606fab574 Date: 2015-04-26 16:47 +0200 http://bitbucket.org/cffi/cffi/changeset/3a8606fab574/ Log:Move the demos from _cffi1/ back in the demo/ directory. Add the cffi-1.0 version of the _curses demo too. diff --git a/_cffi1/bsd

[pypy-commit] cffi cffi-1.0: Support dotted names in 'module_name'

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1852:288228787b93 Date: 2015-04-26 18:11 +0200 http://bitbucket.org/cffi/cffi/changeset/288228787b93/ Log:Support dotted names in 'module_name' diff --git a/_cffi1/recompiler.py b/_cffi1/recompiler.py --- a/_cffi1/recompiler.py +++ b/_cffi1/rec

[pypy-commit] cffi default: Obscure workaround for https://bugs.python.org/issue23246 on Python 2.7.9

2015-04-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r1853:ee5aa6781207 Date: 2015-04-26 18:37 +0200 http://bitbucket.org/cffi/cffi/changeset/ee5aa6781207/ Log:Obscure workaround for https://bugs.python.org/issue23246 on Python 2.7.9 diff --git a/cffi/ffiplatform.py b/cffi/ffiplatform.py --- a/cff

[pypy-commit] cffi cffi-1.0: hg merge default

2015-04-26 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1854:b20650f90e1c Date: 2015-04-26 18:40 +0200 http://bitbucket.org/cffi/cffi/changeset/b20650f90e1c/ Log:hg merge default diff --git a/_cffi1/test_new_ffi_1.py b/_cffi1/test_new_ffi_1.py --- a/_cffi1/test_new_ffi_1.py +++ b/_cffi1/test_new_ffi

[pypy-commit] pypy default: Try to fix ARM

2015-04-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r76939:61817d7f51b1 Date: 2015-04-26 19:29 +0200 http://bitbucket.org/pypy/pypy/changeset/61817d7f51b1/ Log:Try to fix ARM diff --git a/rpython/jit/backend/arm/opassembler.py b/rpython/jit/backend/arm/opassembler.py --- a/rpython/jit/backend/arm/opasse

[pypy-commit] pypy default: If cffi is not installed, just skip this test

2015-04-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r76940:9c621f634f52 Date: 2015-04-26 19:47 +0200 http://bitbucket.org/pypy/pypy/changeset/9c621f634f52/ Log:If cffi is not installed, just skip this test diff --git a/rpython/jit/backend/llsupport/test/test_skiplist.py b/rpython/jit/backend/llsupport/t

[pypy-commit] pypy default: (ab)use link_files since it appears _after_ the object files and gcc's linker is picky about order

2015-04-26 Thread mattip
Author: mattip Branch: Changeset: r76941:8bbba5f3aeb8 Date: 2015-04-26 22:23 +0300 http://bitbucket.org/pypy/pypy/changeset/8bbba5f3aeb8/ Log:(ab)use link_files since it appears _after_ the object files and gcc's linker is picky about order diff --git a/pypy/module/_vmprof/interp_vm

[pypy-commit] pypy numpy-fixes: test, redo complex floordiv to avoid overflow if possible

2015-04-26 Thread mattip
Author: mattip Branch: numpy-fixes Changeset: r76942:9ea844c184eb Date: 2015-04-26 23:33 +0300 http://bitbucket.org/pypy/pypy/changeset/9ea844c184eb/ Log:test, redo complex floordiv to avoid overflow if possible diff --git a/pypy/module/micronumpy/test/test_complex.py b/pypy/module/micronum

[pypy-commit] pypy default: The "-llzma" seems to have been checked in by accident. Removing it seems to have no bad effect, and liblzma is not

2015-04-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r76943:b43cd584adec Date: 2015-04-26 23:02 +0200 http://bitbucket.org/pypy/pypy/changeset/b43cd584adec/ Log:The "-llzma" seems to have been checked in by accident. Removing it seems to have no bad effect, and liblzma is not necessarily in

[pypy-commit] pypy default: disable _vmprof

2015-04-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r76944:d32226e955cb Date: 2015-04-26 23:59 +0200 http://bitbucket.org/pypy/pypy/changeset/d32226e955cb/ Log:disable _vmprof diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py --- a/pypy/config/pypyoption.py +++ b/pypy/config/pypyoption.p

[pypy-commit] pypy can_cast: Implement enough of can_cast(, dtype) to pass the test

2015-04-26 Thread rlamy
Author: Ronan Lamy Branch: can_cast Changeset: r76945:d45abfb9685d Date: 2015-04-27 05:44 +0100 http://bitbucket.org/pypy/pypy/changeset/d45abfb9685d/ Log:Implement enough of can_cast(, dtype) to pass the test diff --git a/pypy/module/micronumpy/arrayops.py b/pypy/module/micronumpy/arrayops