[pypy-commit] stmgc default: demo_random: more checks

2013-06-19 Thread Raemi
Author: Remi Meier Branch: Changeset: r199:b2ce4052626c Date: 2013-06-20 08:40 +0200 http://bitbucket.org/pypy/stmgc/changeset/b2ce4052626c/ Log:demo_random: more checks diff --git a/c4/demo_random.c b/c4/demo_random.c --- a/c4/demo_random.c +++ b/c4/demo_random.c @@ -6,15 +6,19 @@ #includ

[pypy-commit] pypy default: Forgot to import the app-level parts of cffi/1d4ca4f4914a

2013-06-19 Thread arigo
Author: Armin Rigo Branch: Changeset: r64946:ce2b1ea66d55 Date: 2013-06-20 08:35 +0200 http://bitbucket.org/pypy/pypy/changeset/ce2b1ea66d55/ Log:Forgot to import the app-level parts of cffi/1d4ca4f4914a diff --git a/lib_pypy/cffi/backend_ctypes.py b/lib_pypy/cffi/backend_ctypes.py --- a/li

[pypy-commit] pypy default: Write a more reasonable buffer implementation for mmap.

2013-06-19 Thread arigo
Author: Armin Rigo Branch: Changeset: r64945:cfbfd1251d6f Date: 2013-06-20 08:33 +0200 http://bitbucket.org/pypy/pypy/changeset/cfbfd1251d6f/ Log:Write a more reasonable buffer implementation for mmap. diff --git a/pypy/module/mmap/interp_mmap.py b/pypy/module/mmap/interp_mmap.py --- a/pypy

[pypy-commit] pypy default: random pep8 cleanups

2013-06-19 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r64944:34b8e7d584a8 Date: 2013-06-19 21:46 -0700 http://bitbucket.org/pypy/pypy/changeset/34b8e7d584a8/ Log:random pep8 cleanups diff --git a/rpython/jit/metainterp/compile.py b/rpython/jit/metainterp/compile.py --- a/rpython/jit/metainterp/compile.py

[pypy-commit] pypy default: some random pep8 cleanups

2013-06-19 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r64943:2024b065cf2e Date: 2013-06-19 14:52 -0700 http://bitbucket.org/pypy/pypy/changeset/2024b065cf2e/ Log:some random pep8 cleanups diff --git a/rpython/jit/metainterp/optimizeopt/generalize.py b/rpython/jit/metainterp/optimizeopt/generalize.py ---

[pypy-commit] pypy default: Soem cleanups.

2013-06-19 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r64942:8148f32245b6 Date: 2013-06-19 13:59 -0700 http://bitbucket.org/pypy/pypy/changeset/8148f32245b6/ Log:Soem cleanups. diff --git a/rpython/jit/metainterp/optimizeopt/virtualstate.py b/rpython/jit/metainterp/optimizeopt/virtualstate.py --- a/rpyth

[pypy-commit] pypy default: typo

2013-06-19 Thread bivab
Author: David Schneider Branch: Changeset: r64937:ec54480e12ef Date: 2013-06-18 03:58 -0500 http://bitbucket.org/pypy/pypy/changeset/ec54480e12ef/ Log:typo diff --git a/lib_pypy/_ctypes/structure.py b/lib_pypy/_ctypes/structure.py --- a/lib_pypy/_ctypes/structure.py +++ b/lib_pypy/_ctypes/s

[pypy-commit] pypy default: more tests for _rawffi structures using bitfields

2013-06-19 Thread bivab
Author: David Schneider Branch: Changeset: r64939:0e209e181c89 Date: 2013-06-19 13:01 -0500 http://bitbucket.org/pypy/pypy/changeset/0e209e181c89/ Log:more tests for _rawffi structures using bitfields diff --git a/pypy/module/_rawffi/test/test__rawffi.py b/pypy/module/_rawffi/test/test__ra

[pypy-commit] pypy default: merge heads

2013-06-19 Thread bivab
Author: David Schneider Branch: Changeset: r64941:b4cd93e60f86 Date: 2013-06-19 13:11 -0500 http://bitbucket.org/pypy/pypy/changeset/b4cd93e60f86/ Log:merge heads diff --git a/pypy/module/_cffi_backend/ctypeenum.py b/pypy/module/_cffi_backend/ctypeenum.py --- a/pypy/module/_cffi_backend/ct

[pypy-commit] pypy default: add tests for edgecases of longlong bitfields that fail on 32bit

2013-06-19 Thread bivab
Author: David Schneider Branch: Changeset: r64938:82cd3868d29c Date: 2013-06-18 04:00 -0500 http://bitbucket.org/pypy/pypy/changeset/82cd3868d29c/ Log:add tests for edgecases of longlong bitfields that fail on 32bit diff --git a/pypy/module/test_lib_pypy/ctypes_tests/test_bitfields.py b/py

[pypy-commit] pypy default: fix for the bitmask calculation of bitfields in _rawffi and ctypes

2013-06-19 Thread bivab
Author: David Schneider Branch: Changeset: r64940:fcd5bdf14412 Date: 2013-06-19 13:10 -0500 http://bitbucket.org/pypy/pypy/changeset/fcd5bdf14412/ Log:fix for the bitmask calculation of bitfields in _rawffi and ctypes On 32 bit systems longlong bitfields need a bitmask that is larger

[pypy-commit] stmgc default: Check that the test passes if written this way, retrying up to 1000 times

2013-06-19 Thread arigo
Author: Armin Rigo Branch: Changeset: r198:8b48f8933856 Date: 2013-06-19 17:46 +0200 http://bitbucket.org/pypy/stmgc/changeset/8b48f8933856/ Log:Check that the test passes if written this way, retrying up to 1000 times for stm_read_barrier() to return the same pointer. diff --git a/

[pypy-commit] stmgc default: demo_random: remove ambiguous naming

2013-06-19 Thread Raemi
Author: Remi Meier Branch: Changeset: r197:661b7c5a26c9 Date: 2013-06-19 14:54 +0200 http://bitbucket.org/pypy/stmgc/changeset/661b7c5a26c9/ Log:demo_random: remove ambiguous naming diff --git a/c4/demo_random.c b/c4/demo_random.c --- a/c4/demo_random.c +++ b/c4/demo_random.c @@ -18,25 +18,

[pypy-commit] stmgc default: demo_random: thread locals -> thread descriptor

2013-06-19 Thread Raemi
Author: Remi Meier Branch: Changeset: r196:8d3cf9f0c450 Date: 2013-06-19 14:48 +0200 http://bitbucket.org/pypy/stmgc/changeset/8d3cf9f0c450/ Log:demo_random: thread locals -> thread descriptor diff --git a/c4/demo_random.c b/c4/demo_random.c --- a/c4/demo_random.c +++ b/c4/demo_random.c @@

[pypy-commit] stmgc default: add demo2 (bubble sort)

2013-06-19 Thread Raemi
Author: Remi Meier Branch: Changeset: r194:716b7629c9cd Date: 2013-06-19 11:20 +0200 http://bitbucket.org/pypy/stmgc/changeset/716b7629c9cd/ Log:add demo2 (bubble sort) diff --git a/c4/demo2.c b/c4/demo2.c new file mode 100644 --- /dev/null +++ b/c4/demo2.c @@ -0,0 +1,218 @@ +#include +#in

[pypy-commit] stmgc default: first random-test version in C. may have some bugs..

2013-06-19 Thread Raemi
Author: Remi Meier Branch: Changeset: r195:bbf01c89fe52 Date: 2013-06-19 14:32 +0200 http://bitbucket.org/pypy/stmgc/changeset/bbf01c89fe52/ Log:first random-test version in C. may have some bugs.. diff --git a/c4/demo_random.c b/c4/demo_random.c new file mode 100644 --- /dev/null +++ b/c4/

[pypy-commit] stmgc default: Fix

2013-06-19 Thread arigo
Author: Armin Rigo Branch: Changeset: r193:bb14332bb658 Date: 2013-06-19 10:39 +0200 http://bitbucket.org/pypy/stmgc/changeset/bb14332bb658/ Log:Fix diff --git a/c4/et.c b/c4/et.c --- a/c4/et.c +++ b/c4/et.c @@ -776,7 +776,6 @@ AbortPrivateFromProtected(d); gcptrlist_clear(&d->list_of

[pypy-commit] pypy default: Import and fix cffi/1d4ca4f4914a.

2013-06-19 Thread arigo
Author: Armin Rigo Branch: Changeset: r64936:094ca61ae02f Date: 2013-06-19 10:34 +0200 http://bitbucket.org/pypy/pypy/changeset/094ca61ae02f/ Log:Import and fix cffi/1d4ca4f4914a. diff --git a/pypy/module/_cffi_backend/ctypeenum.py b/pypy/module/_cffi_backend/ctypeenum.py --- a/pypy/module

[pypy-commit] cffi default: Finish the fix for issue #91.

2013-06-19 Thread arigo
Author: Armin Rigo Branch: Changeset: r1275:1d4ca4f4914a Date: 2013-06-19 10:29 +0200 http://bitbucket.org/cffi/cffi/changeset/1d4ca4f4914a/ Log:Finish the fix for issue #91. diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -4459,13 +4459

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

2013-06-19 Thread arigo
Author: Armin Rigo Branch: Changeset: r1273:e98e87d25d7d Date: 2013-06-19 10:15 +0200 http://bitbucket.org/cffi/cffi/changeset/e98e87d25d7d/ Log:Document ffi.new_handle(). diff --git a/doc/source/index.rst b/doc/source/index.rst --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -1186

[pypy-commit] cffi default: merge heads

2013-06-19 Thread arigo
Author: Armin Rigo Branch: Changeset: r1274:52dcd2ee1de1 Date: 2013-06-19 10:17 +0200 http://bitbucket.org/cffi/cffi/changeset/52dcd2ee1de1/ Log:merge heads diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -3421,6 +3421,7 @@ } #define

[pypy-commit] cffi default: Fix the front-end to work (but still show $ signs)

2013-06-19 Thread arigo
Author: Armin Rigo Branch: Changeset: r1272:613cd8c50b9f Date: 2013-06-19 09:50 +0200 http://bitbucket.org/cffi/cffi/changeset/613cd8c50b9f/ Log:Fix the front-end to work (but still show $ signs) diff --git a/cffi/backend_ctypes.py b/cffi/backend_ctypes.py --- a/cffi/backend_ctypes.py +++ b

[pypy-commit] cffi default: Attack issue 91; first step.

2013-06-19 Thread arigo
Author: Armin Rigo Branch: Changeset: r1271:3306e1a851ae Date: 2013-06-19 09:45 +0200 http://bitbucket.org/cffi/cffi/changeset/3306e1a851ae/ Log:Attack issue 91; first step. diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c --- a/c/_cffi_backend.c +++ b/c/_cffi_backend.c @@ -3351,22 +3351,

[pypy-commit] stmgc default: Remove a bogus assert: it's possible that older, protected objects were

2013-06-19 Thread arigo
Author: Armin Rigo Branch: Changeset: r192:70b5ecf4fa2f Date: 2013-06-19 09:49 +0200 http://bitbucket.org/pypy/stmgc/changeset/70b5ecf4fa2f/ Log:Remove a bogus assert: it's possible that older, protected objects were stolen in parallel. diff --git a/c4/et.c b/c4/et.c --- a/c4/et.c +

[pypy-commit] stmgc default: Can't assert this

2013-06-19 Thread arigo
Author: Armin Rigo Branch: Changeset: r191:ba37dce6e637 Date: 2013-06-19 09:21 +0200 http://bitbucket.org/pypy/stmgc/changeset/ba37dce6e637/ Log:Can't assert this diff --git a/c4/et.c b/c4/et.c --- a/c4/et.c +++ b/c4/et.c @@ -202,7 +202,9 @@ gcptrlist_insert(&d->list_of_read_objects, P);