[pypy-commit] cffi cffi-1.0: fixes

2015-04-24 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1782:e69cf8f75f84 Date: 2015-04-23 09:08 +0200 http://bitbucket.org/cffi/cffi/changeset/e69cf8f75f84/ Log:fixes diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -4086,13 +4086,11 @@ boff

[pypy-commit] cffi default: Skip an existing test after figuring out that it is indeed likely to

2015-04-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r1786:a6987485dc7f Date: 2015-04-24 10:13 +0200 http://bitbucket.org/cffi/cffi/changeset/a6987485dc7f/ Log:Skip an existing test after figuring out that it is indeed likely to crash in test_vgen, depending on details of the platform. Changed

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

2015-04-24 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1783:68760daf07ab Date: 2015-04-24 09:00 +0200 http://bitbucket.org/cffi/cffi/changeset/68760daf07ab/ Log:in-progress diff --git a/cffi/api.py b/cffi/api.py --- a/cffi/api.py +++ b/cffi/api.py @@ -568,23 +568,48 @@ return ffi._get_

[pypy-commit] cffi cffi-1.0: Change of scope for now: the initial goal is now to avoid breaking

2015-04-24 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1784:6d8fa9486905 Date: 2015-04-24 09:17 +0200 http://bitbucket.org/cffi/cffi/changeset/6d8fa9486905/ Log:Change of scope for now: the initial goal is now to avoid breaking ffi.dlopen() and ffi.verify(), and only add _cffi1.recompile().

[pypy-commit] cffi cffi-1.0: Fix for test_verify

2015-04-24 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1785:548efd04854c Date: 2015-04-24 09:23 +0200 http://bitbucket.org/cffi/cffi/changeset/548efd04854c/ Log:Fix for test_verify diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -3802,7 +3802,7

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

2015-04-24 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1787:f58471f990dd Date: 2015-04-24 10:13 +0200 http://bitbucket.org/cffi/cffi/changeset/f58471f990dd/ Log:hg merge default diff --git a/cffi/model.py b/cffi/model.py --- a/cffi/model.py +++ b/cffi/model.py @@ -140,6 +140,16 @@ replace_

[pypy-commit] pypy vmprof2: Remove usage of "uintptr_t" and use "unsigned long", which is more like

2015-04-24 Thread arigo
Author: Armin Rigo Branch: vmprof2 Changeset: r76916:79023f7a715e Date: 2015-04-24 10:33 +0200 http://bitbucket.org/pypy/pypy/changeset/79023f7a715e/ Log:Remove usage of "uintptr_t" and use "unsigned long", which is more like the rest of the code. Avoid calling __sync_lock_test_and_se

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

2015-04-24 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1789:111b2f47845a Date: 2015-04-24 11:07 +0200 http://bitbucket.org/cffi/cffi/changeset/111b2f47845a/ Log:hg merge default diff --git a/cffi/model.py b/cffi/model.py --- a/cffi/model.py +++ b/cffi/model.py @@ -140,16 +140,6 @@ replace_

[pypy-commit] cffi default: Reimplement vengine_gen returning incomplete structs.

2015-04-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r1788:e4b22b167187 Date: 2015-04-24 11:06 +0200 http://bitbucket.org/cffi/cffi/changeset/e4b22b167187/ Log:Reimplement vengine_gen returning incomplete structs. diff --git a/cffi/model.py b/cffi/model.py --- a/cffi/model.py +++ b/cffi/model.py @@ -140,1

[pypy-commit] pypy default: Backed out changeset: d198d926afb8, more tests needed

2015-04-24 Thread mattip
Author: mattip Branch: Changeset: r76917:8cb5c941efb4 Date: 2015-04-24 12:18 +0300 http://bitbucket.org/pypy/pypy/changeset/8cb5c941efb4/ Log:Backed out changeset: d198d926afb8, more tests needed diff --git a/pypy/module/micronumpy/concrete.py b/pypy/module/micronumpy/concrete.py --- a/pyp

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

2015-04-24 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1791:d04c328c3d75 Date: 2015-04-24 11:54 +0200 http://bitbucket.org/cffi/cffi/changeset/d04c328c3d75/ Log:hg merge default diff --git a/cffi/vengine_gen.py b/cffi/vengine_gen.py --- a/cffi/vengine_gen.py +++ b/cffi/vengine_gen.py @@ -190,6 +190

[pypy-commit] cffi default: Fix for test_vgen.test_struct_returned_by_func (and uniformize the error message)

2015-04-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r1790:3fcfce174377 Date: 2015-04-24 11:54 +0200 http://bitbucket.org/cffi/cffi/changeset/3fcfce174377/ Log:Fix for test_vgen.test_struct_returned_by_func (and uniformize the error message) diff --git a/cffi/vengine_gen.py b/cffi/vengine_gen.py -

[pypy-commit] cffi default: I *think* there is a chance for this to work now

2015-04-24 Thread arigo
Author: Armin Rigo Branch: Changeset: r1792:14c34ed8b40a Date: 2015-04-24 11:55 +0200 http://bitbucket.org/cffi/cffi/changeset/14c34ed8b40a/ Log:I *think* there is a chance for this to work now diff --git a/testing/test_verify.py b/testing/test_verify.py --- a/testing/test_verify.py +++ b/t

[pypy-commit] cffi cffi-1.0: Fix the tests so that they mostly run again

2015-04-24 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1793:59c86e07b247 Date: 2015-04-24 12:10 +0200 http://bitbucket.org/cffi/cffi/changeset/59c86e07b247/ Log:Fix the tests so that they mostly run again diff --git a/_cffi1/__init__.py b/_cffi1/__init__.py new file mode 100644 --- /dev/null +++ b/

[pypy-commit] cffi cffi-1.0: Fix these two demos

2015-04-24 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1794:fdb29c447984 Date: 2015-04-24 12:53 +0200 http://bitbucket.org/cffi/cffi/changeset/fdb29c447984/ Log:Fix these two demos diff --git a/_cffi1/bsdopendirtype_build.py b/_cffi1/bsdopendirtype_build.py --- a/_cffi1/bsdopendirtype_build.py +++

[pypy-commit] cffi cffi-1.0: re-add this code

2015-04-24 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1796:eb4454178e77 Date: 2015-04-24 13:22 +0200 http://bitbucket.org/cffi/cffi/changeset/eb4454178e77/ Log:re-add this code diff --git a/_cffi1/recompiler.py b/_cffi1/recompiler.py --- a/_cffi1/recompiler.py +++ b/_cffi1/recompiler.py @@ -527,6

[pypy-commit] cffi cffi-1.0: rename tests

2015-04-24 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1795:f5d8a9cbf03e Date: 2015-04-24 13:18 +0200 http://bitbucket.org/cffi/cffi/changeset/f5d8a9cbf03e/ Log:rename tests diff --git a/_cffi1/test_recompiler.py b/_cffi1/test_recompiler.py --- a/_cffi1/test_recompiler.py +++ b/_cffi1/test_recompil

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

2015-04-24 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1799:8b8f76173bdc Date: 2015-04-24 13:41 +0200 http://bitbucket.org/cffi/cffi/changeset/8b8f76173bdc/ Log:fix tests diff --git a/_cffi1/test_verify1.py b/_cffi1/test_verify1.py --- a/_cffi1/test_verify1.py +++ b/_cffi1/test_verify1.py @@ -1,6 +

[pypy-commit] cffi cffi-1.0: Manual merge of the changes to testing/test_verify.py

2015-04-24 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1798:47b21ee09737 Date: 2015-04-24 13:36 +0200 http://bitbucket.org/cffi/cffi/changeset/47b21ee09737/ Log:Manual merge of the changes to testing/test_verify.py diff --git a/_cffi1/test_verify1.py b/_cffi1/test_verify1.py --- a/_cffi1/test_verif

[pypy-commit] cffi cffi-1.0: more sanitization

2015-04-24 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1797:09a38a35f6b7 Date: 2015-04-24 13:34 +0200 http://bitbucket.org/cffi/cffi/changeset/09a38a35f6b7/ Log:more sanitization diff --git a/_cffi1/recompiler.py b/_cffi1/recompiler.py --- a/_cffi1/recompiler.py +++ b/_cffi1/recompiler.py @@ -702,1

[pypy-commit] pypy vmprof2: try to properly disable codemaps

2015-04-24 Thread fijal
Author: Maciej Fijalkowski Branch: vmprof2 Changeset: r76918:a4a719af0754 Date: 2015-04-24 14:05 +0200 http://bitbucket.org/pypy/pypy/changeset/a4a719af0754/ Log:try to properly disable codemaps diff --git a/rpython/jit/backend/arm/assembler.py b/rpython/jit/backend/arm/assembler.py --- a/r

[pypy-commit] cffi cffi-1.0: Parsing enums

2015-04-24 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1801:e5783fd730ed Date: 2015-04-24 14:21 +0200 http://bitbucket.org/cffi/cffi/changeset/e5783fd730ed/ Log:Parsing enums diff --git a/_cffi1/parse_c_type.c b/_cffi1/parse_c_type.c --- a/_cffi1/parse_c_type.c +++ b/_cffi1/parse_c_type.c @@ -26,6

[pypy-commit] cffi cffi-1.0: grr

2015-04-24 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1800:6f19cda57c3e Date: 2015-04-24 14:02 +0200 http://bitbucket.org/cffi/cffi/changeset/6f19cda57c3e/ Log:grr diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -2251,10 +2251,11 @@

[pypy-commit] pypy vmprof2: one missing place

2015-04-24 Thread fijal
Author: Maciej Fijalkowski Branch: vmprof2 Changeset: r76919:afd3d870360e Date: 2015-04-24 14:55 +0200 http://bitbucket.org/pypy/pypy/changeset/afd3d870360e/ Log:one missing place diff --git a/pypy/module/_vmprof/test/test__vmprof.py b/pypy/module/_vmprof/test/test__vmprof.py --- a/pypy/mod

[pypy-commit] pypy vmprof2: move those ops to no-side-effect (why they had side effects in the first place?)

2015-04-24 Thread fijal
Author: Maciej Fijalkowski Branch: vmprof2 Changeset: r76920:329a83be5923 Date: 2015-04-24 15:04 +0200 http://bitbucket.org/pypy/pypy/changeset/329a83be5923/ Log:move those ops to no-side-effect (why they had side effects in the first place?) diff --git a/rpython/jit/metainterp/resop

[pypy-commit] pypy vmprof2: backend removes operations that have no side effects. Ignore those ops

2015-04-24 Thread fijal
Author: Maciej Fijalkowski Branch: vmprof2 Changeset: r76921:b16af35250ab Date: 2015-04-24 15:27 +0200 http://bitbucket.org/pypy/pypy/changeset/b16af35250ab/ Log:backend removes operations that have no side effects. Ignore those ops explicitely in heap.py diff --git a/rpython/jit/met

[pypy-commit] pypy vmprof2: fix the test

2015-04-24 Thread fijal
Author: Maciej Fijalkowski Branch: vmprof2 Changeset: r76922:1d47005edfcc Date: 2015-04-24 15:38 +0200 http://bitbucket.org/pypy/pypy/changeset/1d47005edfcc/ Log:fix the test diff --git a/rpython/jit/backend/x86/test/test_regloc.py b/rpython/jit/backend/x86/test/test_regloc.py --- a/rpython

[pypy-commit] pypy vmprof2: try a different approach to building against libunwind

2015-04-24 Thread fijal
Author: Maciej Fijalkowski Branch: vmprof2 Changeset: r76924:4ece3460b60d Date: 2015-04-24 15:49 +0200 http://bitbucket.org/pypy/pypy/changeset/4ece3460b60d/ Log:try a different approach to building against libunwind diff --git a/pypy/module/_vmprof/interp_vmprof.py b/pypy/module/_vmprof/in

[pypy-commit] pypy vmprof2: fix test_asmmemmgr

2015-04-24 Thread fijal
Author: Maciej Fijalkowski Branch: vmprof2 Changeset: r76923:b37b7f15984b Date: 2015-04-24 15:39 +0200 http://bitbucket.org/pypy/pypy/changeset/b37b7f15984b/ Log:fix test_asmmemmgr diff --git a/rpython/jit/backend/llsupport/test/test_asmmemmgr.py b/rpython/jit/backend/llsupport/test/test_as

[pypy-commit] cffi cffi-1.0: Enums, first complete passing tests

2015-04-24 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1804:fff6ae4c61b2 Date: 2015-04-24 16:00 +0200 http://bitbucket.org/cffi/cffi/changeset/fff6ae4c61b2/ Log:Enums, first complete passing tests diff --git a/_cffi1/_cffi_include.h b/_cffi1/_cffi_include.h --- a/_cffi1/_cffi_include.h +++ b/_cffi1

[pypy-commit] cffi cffi-1.0: enums in the type table

2015-04-24 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1802:5acd08cb3958 Date: 2015-04-24 14:39 +0200 http://bitbucket.org/cffi/cffi/changeset/5acd08cb3958/ Log:enums in the type table diff --git a/_cffi1/parse_c_type.h b/_cffi1/parse_c_type.h --- a/_cffi1/parse_c_type.h +++ b/_cffi1/parse_c_type.h

[pypy-commit] cffi cffi-1.0: for now, we don't check the cdef value given in a "#define X Y"

2015-04-24 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1803:ba730ccef0e0 Date: 2015-04-24 15:24 +0200 http://bitbucket.org/cffi/cffi/changeset/ba730ccef0e0/ Log:for now, we don't check the cdef value given in a "#define X Y" diff --git a/_cffi1/recompiler.py b/_cffi1/recompiler.py --- a/_cffi1/reco

[pypy-commit] pypy numpy-fixes: a branch to fix numpy test suite failures with "Arrays are not equal" message

2015-04-24 Thread mattip
Author: mattip Branch: numpy-fixes Changeset: r76926:6981237fb078 Date: 2015-04-24 17:03 +0300 http://bitbucket.org/pypy/pypy/changeset/6981237fb078/ Log:a branch to fix numpy test suite failures with "Arrays are not equal" message diff --git a/pypy/module/micronumpy/concrete.py b/p

[pypy-commit] pypy numpy-fixes: fix d198d926afb8

2015-04-24 Thread mattip
Author: mattip Branch: numpy-fixes Changeset: r76925:cfb31de4972f Date: 2015-04-24 16:27 +0300 http://bitbucket.org/pypy/pypy/changeset/cfb31de4972f/ Log:fix d198d926afb8 diff --git a/pypy/module/micronumpy/concrete.py b/pypy/module/micronumpy/concrete.py --- a/pypy/module/micronumpy/concre

[pypy-commit] pypy numpy-fixes: test for nan in complex.sign

2015-04-24 Thread mattip
Author: mattip Branch: numpy-fixes Changeset: r76927:43ccc6f8802a Date: 2015-04-24 17:20 +0300 http://bitbucket.org/pypy/pypy/changeset/43ccc6f8802a/ Log:test for nan in complex.sign diff --git a/pypy/module/micronumpy/test/test_complex.py b/pypy/module/micronumpy/test/test_complex.py --- a

[pypy-commit] cffi cffi-1.0: progress on enums

2015-04-24 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1805:7231fd7eae98 Date: 2015-04-24 17:15 +0200 http://bitbucket.org/cffi/cffi/changeset/7231fd7eae98/ Log:progress on enums diff --git a/_cffi1/_cffi_include.h b/_cffi1/_cffi_include.h --- a/_cffi1/_cffi_include.h +++ b/_cffi1/_cffi_include.h @

[pypy-commit] cffi cffi-1.0: Add to the recompiler the value of the elements that "belong" to an

2015-04-24 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1806:4adfe9dbfcbf Date: 2015-04-24 17:49 +0200 http://bitbucket.org/cffi/cffi/changeset/4adfe9dbfcbf/ Log:Add to the recompiler the value of the elements that "belong" to an enum (even though they don't really belong there in the C sense

[pypy-commit] pypy.org extradoc: update the values

2015-04-24 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r597:07be4292a404 Date: 2015-04-24 17:50 +0200 http://bitbucket.org/pypy/pypy.org/changeset/07be4292a404/ Log:update the values diff --git a/don1.html b/don1.html --- a/don1.html +++ b/don1.html @@ -15,7 +15,7 @@ - $59150 of $105000 (

[pypy-commit] cffi cffi-1.0: anonymous enums

2015-04-24 Thread arigo
Author: Armin Rigo Branch: cffi-1.0 Changeset: r1807:779034948ac1 Date: 2015-04-24 18:01 +0200 http://bitbucket.org/cffi/cffi/changeset/779034948ac1/ Log:anonymous enums diff --git a/_cffi1/recompiler.py b/_cffi1/recompiler.py --- a/_cffi1/recompiler.py +++ b/_cffi1/recompiler.py @@ -616,23

[pypy-commit] pypy vmprof2: close to be merged branch

2015-04-24 Thread fijal
Author: Maciej Fijalkowski Branch: vmprof2 Changeset: r76928:bae7ef19ac11 Date: 2015-04-24 18:06 +0200 http://bitbucket.org/pypy/pypy/changeset/bae7ef19ac11/ Log:close to be merged branch ___ pypy-commit mailing list pypy-commit@python.org https://

[pypy-commit] pypy default: Merge vmprof2

2015-04-24 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r76929:97193bc80d75 Date: 2015-04-24 18:07 +0200 http://bitbucket.org/pypy/pypy/changeset/97193bc80d75/ Log:Merge vmprof2 This branch enables the module _vmprof which is basis for vmprof, a lightweight statistical profiler diff

[pypy-commit] pypy can_cast: create casting_table and use it in can_cast()

2015-04-24 Thread rlamy
Author: Ronan Lamy Branch: can_cast Changeset: r76930:2c0b8658d9ed Date: 2015-04-25 03:33 +0100 http://bitbucket.org/pypy/pypy/changeset/2c0b8658d9ed/ Log:create casting_table and use it in can_cast() diff --git a/pypy/module/micronumpy/descriptor.py b/pypy/module/micronumpy/descriptor.py -

[pypy-commit] pypy can_cast: implement casting=unsafe and casting=same_kind

2015-04-24 Thread rlamy
Author: Ronan Lamy Branch: can_cast Changeset: r76932:c34ce46667f0 Date: 2015-04-25 04:41 +0100 http://bitbucket.org/pypy/pypy/changeset/c34ce46667f0/ Log:implement casting=unsafe and casting=same_kind diff --git a/pypy/module/micronumpy/arrayops.py b/pypy/module/micronumpy/arrayops.py ---

[pypy-commit] pypy can_cast: implement casting=no and casting=equiv

2015-04-24 Thread rlamy
Author: Ronan Lamy Branch: can_cast Changeset: r76931:48070170c83b Date: 2015-04-25 04:00 +0100 http://bitbucket.org/pypy/pypy/changeset/48070170c83b/ Log:implement casting=no and casting=equiv diff --git a/pypy/module/micronumpy/arrayops.py b/pypy/module/micronumpy/arrayops.py --- a/pypy/m