[pypy-commit] pypy default: Move the memcpy function to rffi.py.

2011-07-27 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r46035:18b8d8ab3f7b Date: 2011-07-27 22:46 -0700 http://bitbucket.org/pypy/pypy/changeset/18b8d8ab3f7b/ Log:Move the memcpy function to rffi.py. diff --git a/pypy/module/array/interp_array.py b/pypy/module/array/interp_array.py --- a/pypy/module/array

[pypy-commit] pypy default: Use the new context manager allocators, much nicer. Also update a comment.

2011-07-27 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r46034:c5eae3c7710f Date: 2011-07-27 22:37 -0700 http://bitbucket.org/pypy/pypy/changeset/c5eae3c7710f/ Log:Use the new context manager allocators, much nicer. Also update a comment. diff --git a/pypy/rlib/rzlib.py b/pypy/rlib/rzlib.py --- a/py

[pypy-commit] pypy default: merged upstream

2011-07-27 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r46033:811906ece2d8 Date: 2011-07-27 18:15 -0700 http://bitbucket.org/pypy/pypy/changeset/811906ece2d8/ Log:merged upstream diff --git a/pypy/rlib/streamio.py b/pypy/rlib/streamio.py --- a/pypy/rlib/streamio.py +++ b/pypy/rlib/streamio.py @@ -894,13 +8

[pypy-commit] pypy default: Introduce StringBuilder.append_charpsize, which takes a char* and a size and adds that to the builder, then use this in a few plcaes.

2011-07-27 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r46032:7cc899d8de19 Date: 2011-07-27 18:14 -0700 http://bitbucket.org/pypy/pypy/changeset/7cc899d8de19/ Log:Introduce StringBuilder.append_charpsize, which takes a char* and a size and adds that to the builder, then use this in a few plcaes. di

[pypy-commit] pypy default: Small speed-up for stream output buffers

2011-07-27 Thread justinpeel
Author: Justin Peel Branch: Changeset: r46031:410c4f324cf5 Date: 2011-07-27 15:04 -0600 http://bitbucket.org/pypy/pypy/changeset/410c4f324cf5/ Log:Small speed-up for stream output buffers diff --git a/pypy/rlib/streamio.py b/pypy/rlib/streamio.py --- a/pypy/rlib/streamio.py +++ b/pypy/rlib/

[pypy-commit] pypy shadowstack-perf: Fix.

2011-07-27 Thread arigo
Author: Armin Rigo Branch: shadowstack-perf Changeset: r46030:a25d76f90da7 Date: 2011-07-27 23:02 +0200 http://bitbucket.org/pypy/pypy/changeset/a25d76f90da7/ Log:Fix. diff --git a/pypy/rpython/memory/gctransform/shadowstack.py b/pypy/rpython/memory/gctransform/shadowstack.py --- a/pypy/rpy

[pypy-commit] pypy shadowstack-perf: Tentative tweak. Will measure.

2011-07-27 Thread arigo
Author: Armin Rigo Branch: shadowstack-perf Changeset: r46029:bbb57672167a Date: 2011-07-27 21:20 +0200 http://bitbucket.org/pypy/pypy/changeset/bbb57672167a/ Log:Tentative tweak. Will measure. diff --git a/pypy/rpython/memory/gctransform/shadowstack.py b/pypy/rpython/memory/gctransform/sha

[pypy-commit] pypy shadowstack-perf: Improve the generated code somewhat.

2011-07-27 Thread arigo
Author: Armin Rigo Branch: shadowstack-perf Changeset: r46028:175ad120b085 Date: 2011-07-27 20:01 +0200 http://bitbucket.org/pypy/pypy/changeset/175ad120b085/ Log:Improve the generated code somewhat. diff --git a/pypy/rpython/lltypesystem/lloperation.py b/pypy/rpython/lltypesystem/lloperati

[pypy-commit] pypy shadowstack-perf: Found and fixed the bug.

2011-07-27 Thread arigo
Author: Armin Rigo Branch: shadowstack-perf Changeset: r46027:377300db5cab Date: 2011-07-27 19:08 +0200 http://bitbucket.org/pypy/pypy/changeset/377300db5cab/ Log:Found and fixed the bug. diff --git a/pypy/rpython/memory/gctransform/shadowstack.py b/pypy/rpython/memory/gctransform/shadowsta

[pypy-commit] pypy shadowstack-perf: Temporarily add debugging aids. Should either be reverted or

2011-07-27 Thread arigo
Author: Armin Rigo Branch: shadowstack-perf Changeset: r46026:1b41b4ab3600 Date: 2011-07-27 19:03 +0200 http://bitbucket.org/pypy/pypy/changeset/1b41b4ab3600/ Log:Temporarily add debugging aids. Should either be reverted or made more official... diff --git a/pypy/rpython/lltypesystem

[pypy-commit] pypy default: rename this function so it doesn't look like something we copied out of the CPython C-API

2011-07-27 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r46025:042386e45958 Date: 2011-07-27 10:46 -0700 http://bitbucket.org/pypy/pypy/changeset/042386e45958/ Log:rename this function so it doesn't look like something we copied out of the CPython C-API diff --git a/pypy/objspace/std/bytearrayobject

[pypy-commit] pypy default: rpython fix

2011-07-27 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r46024:890f5790aaa4 Date: 2011-07-27 18:53 +0200 http://bitbucket.org/pypy/pypy/changeset/890f5790aaa4/ Log:rpython fix diff --git a/pypy/module/_ffi/interp_ffi.py b/pypy/module/_ffi/interp_ffi.py --- a/pypy/module/_ffi/interp_ffi.py +++ b/pypy/module

[pypy-commit] pypy default: merge default

2011-07-27 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r46023:a5b76d2cd38c Date: 2011-07-27 18:43 +0200 http://bitbucket.org/pypy/pypy/changeset/a5b76d2cd38c/ Log:merge default diff --git a/pypy/jit/codewriter/regalloc.py b/pypy/jit/codewriter/regalloc.py --- a/pypy/jit/codewriter/regalloc.py +++ b/pypy/j

[pypy-commit] pypy default: also support automatic conversion of unicode to unichar_p

2011-07-27 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r46022:fe819dcd9aa2 Date: 2011-07-27 18:42 +0200 http://bitbucket.org/pypy/pypy/changeset/fe819dcd9aa2/ Log:also support automatic conversion of unicode to unichar_p diff --git a/pypy/module/_ffi/interp_ffi.py b/pypy/module/_ffi/interp_ffi.py --- a/py

[pypy-commit] pypy default: special case the type "pointer to char", and allow automatic conversion of strings to it

2011-07-27 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r46021:d342648fe99a Date: 2011-07-27 18:33 +0200 http://bitbucket.org/pypy/pypy/changeset/d342648fe99a/ Log:special case the type "pointer to char", and allow automatic conversion of strings to it diff --git a/pypy/module/_ffi/interp_ffi.py b/

[pypy-commit] pypy shadowstack-perf: Starts to look good, but tests are still failing.

2011-07-27 Thread arigo
Author: Armin Rigo Branch: shadowstack-perf Changeset: r46020:3c87c9250799 Date: 2011-07-27 18:22 +0200 http://bitbucket.org/pypy/pypy/changeset/3c87c9250799/ Log:Starts to look good, but tests are still failing. diff --git a/pypy/rpython/memory/gctransform/shadowstack.py b/pypy/rpython/mem

[pypy-commit] pypy default: Merge 0cdaf4c98369, moving regalloc.py to a general tool

2011-07-27 Thread arigo
Author: Armin Rigo Branch: Changeset: r46018:afb404b14725 Date: 2011-07-27 15:47 +0200 http://bitbucket.org/pypy/pypy/changeset/afb404b14725/ Log:Merge 0cdaf4c98369, moving regalloc.py to a general tool in pypy/tool/algo/. diff --git a/pypy/jit/codewriter/regalloc.py b/pypy/jit/code

[pypy-commit] pypy default: Move the ShadowStackRootWalker in its own file. No other change.

2011-07-27 Thread arigo
Author: Armin Rigo Branch: Changeset: r46017:059ebcb10c75 Date: 2011-07-27 15:37 +0200 http://bitbucket.org/pypy/pypy/changeset/059ebcb10c75/ Log:Move the ShadowStackRootWalker in its own file. No other change. diff --git a/pypy/rpython/memory/gctransform/framework.py b/pypy/rpython/memory

[pypy-commit] pypy shadowstack-perf: Revert the last 4 commits, up to c292d7b6630f. It should be

2011-07-27 Thread arigo
Author: Armin Rigo Branch: shadowstack-perf Changeset: r46016:b09fe84eef7b Date: 2011-07-27 15:27 +0200 http://bitbucket.org/pypy/pypy/changeset/b09fe84eef7b/ Log:Revert the last 4 commits, up to c292d7b6630f. It should be done with a proper merge of the branch r15-for-exception, at s

[pypy-commit] pypy default: (Alex_Gaynor, antocuni): special-case type.__eq__ so that type (and subclasses) are marked as compares_by_identity()

2011-07-27 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r46015:bb9c6a2bd529 Date: 2011-07-27 14:39 +0200 http://bitbucket.org/pypy/pypy/changeset/bb9c6a2bd529/ Log:(Alex_Gaynor, antocuni): special-case type.__eq__ so that type (and subclasses) are marked as compares_by_identity() diff --git a/pypy/

[pypy-commit] pypy default: merge heads

2011-07-27 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r46014:7634d3a5a5b2 Date: 2011-07-27 13:24 +0200 http://bitbucket.org/pypy/pypy/changeset/7634d3a5a5b2/ Log:merge heads diff --git a/pypy/jit/backend/x86/arch.py b/pypy/jit/backend/x86/arch.py --- a/pypy/jit/backend/x86/arch.py +++ b/pypy/jit/backend/

[pypy-commit] pypy default: make sure that we always pass the numeric address when converting to c_void_p

2011-07-27 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r46013:a1d33f438355 Date: 2011-07-27 13:23 +0200 http://bitbucket.org/pypy/pypy/changeset/a1d33f438355/ Log:make sure that we always pass the numeric address when converting to c_void_p diff --git a/lib_pypy/_ctypes/function.py b/lib_pypy/_cty

[pypy-commit] pypy default: test and fix for issue807

2011-07-27 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r46012:e6043c6b9090 Date: 2011-07-27 13:12 +0200 http://bitbucket.org/pypy/pypy/changeset/e6043c6b9090/ Log:test and fix for issue807 diff --git a/lib-python/modified-2.7/ctypes/__init__.py b/lib-python/modified-2.7/ctypes/__init__.py --- a/lib-pytho

[pypy-commit] pypy default: fix this test

2011-07-27 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r46011:ca9f485900d4 Date: 2011-07-27 12:15 +0200 http://bitbucket.org/pypy/pypy/changeset/ca9f485900d4/ Log:fix this test diff --git a/lib_pypy/_ctypes/function.py b/lib_pypy/_ctypes/function.py --- a/lib_pypy/_ctypes/function.py +++ b/lib_pypy/_ctype

[pypy-commit] pypy default: a passing test

2011-07-27 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r46010:68216f3eb946 Date: 2011-07-27 12:13 +0200 http://bitbucket.org/pypy/pypy/changeset/68216f3eb946/ Log:a passing test diff --git a/pypy/module/test_lib_pypy/ctypes_tests/test_callbacks.py b/pypy/module/test_lib_pypy/ctypes_tests/test_callbacks.p

[pypy-commit] pypy default: fix test_callbacks by converting/unwrapping the arguments before calling the actual callback

2011-07-27 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r46009:4d240d754afa Date: 2011-07-27 11:58 +0200 http://bitbucket.org/pypy/pypy/changeset/4d240d754afa/ Log:fix test_callbacks by converting/unwrapping the arguments before calling the actual callback diff --git a/lib_pypy/_ctypes/function.py

[pypy-commit] pypy default: this makes all these tests failing, because pypy does not correctly unwrap the parameters before passing them to the callbacks

2011-07-27 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r46006:157edf3b2ce8 Date: 2011-07-27 10:43 +0200 http://bitbucket.org/pypy/pypy/changeset/157edf3b2ce8/ Log:this makes all these tests failing, because pypy does not correctly unwrap the parameters before passing them to the callbacks diff --g

[pypy-commit] pypy default: we don't need to pass through a callback to execute _cast_addr: all tests pass by just calling it

2011-07-27 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r46008:f35e37079ff2 Date: 2011-07-27 12:04 +0200 http://bitbucket.org/pypy/pypy/changeset/f35e37079ff2/ Log:we don't need to pass through a callback to execute _cast_addr: all tests pass by just calling it diff --git a/lib-python/modified-2.7/

[pypy-commit] pypy default: another failing test

2011-07-27 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r46007:d4b0a4841f2c Date: 2011-07-27 10:46 +0200 http://bitbucket.org/pypy/pypy/changeset/d4b0a4841f2c/ Log:another failing test diff --git a/pypy/module/test_lib_pypy/ctypes_tests/test_callbacks.py b/pypy/module/test_lib_pypy/ctypes_tests/test_callb

[pypy-commit] buildbot default: increase the timeout for benchmarks now that we also run translate.py

2011-07-27 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r540:99a8616a4f05 Date: 2011-07-27 09:24 +0200 http://bitbucket.org/pypy/buildbot/changeset/99a8616a4f05/ Log:increase the timeout for benchmarks now that we also run translate.py diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/bu

[pypy-commit] benchmarks default: log what we are running

2011-07-27 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r138:e9ec714eea98 Date: 2011-07-27 09:21 +0200 http://bitbucket.org/pypy/benchmarks/changeset/e9ec714eea98/ Log:log what we are running diff --git a/benchmarks.py b/benchmarks.py --- a/benchmarks.py +++ b/benchmarks.py @@ -1,5 +1,5 @@ - import os +im