[pypy-commit] pypy default: Add documentation.

2011-05-12 Thread arigo
Author: Armin Rigo Branch: Changeset: r44093:a222d1b5e6fe Date: 2011-05-12 11:47 +0200 http://bitbucket.org/pypy/pypy/changeset/a222d1b5e6fe/ Log:Add documentation. diff --git a/pypy/doc/config/objspace.usemodules._multibytecodec.txt b/pypy/doc/config/objspace.usemodules._multibytecodec.tx

[pypy-commit] pypy unpickle-coroutine-trampoline: fix unpickling of unbound coroutines

2011-05-12 Thread cfbolz
Author: Carl Friedrich Bolz Branch: unpickle-coroutine-trampoline Changeset: r44094:8d0c3802413e Date: 2011-05-12 12:48 +0200 http://bitbucket.org/pypy/pypy/changeset/8d0c3802413e/ Log:fix unpickling of unbound coroutines diff --git a/pypy/module/_stackless/interp_coroutine.py b/pypy/module

[pypy-commit] pypy x86-dump-labels: refactoring: instead of storing a list of "labels", we store a mapping between ops and offsets. Next step is to print the offsets directly in the jit-lot-opt sectio

2011-05-12 Thread antocuni
Author: Antonio Cuni Branch: x86-dump-labels Changeset: r44095:14e8b6b078ac Date: 2011-05-11 17:51 +0200 http://bitbucket.org/pypy/pypy/changeset/14e8b6b078ac/ Log:refactoring: instead of storing a list of "labels", we store a mapping between ops and offsets. Next step is to print the

[pypy-commit] pypy x86-dump-labels: actually print the offsets in the log

2011-05-12 Thread antocuni
Author: Antonio Cuni Branch: x86-dump-labels Changeset: r44097:bd0a0aaf7b2e Date: 2011-05-12 13:26 +0200 http://bitbucket.org/pypy/pypy/changeset/bd0a0aaf7b2e/ Log:actually print the offsets in the log diff --git a/pypy/jit/metainterp/logger.py b/pypy/jit/metainterp/logger.py --- a/pypy/jit/

[pypy-commit] pypy x86-dump-labels: give the backends a chance to return a "labels" dictionary, which will be later used by the logger

2011-05-12 Thread antocuni
Author: Antonio Cuni Branch: x86-dump-labels Changeset: r44096:d3c68b44b87b Date: 2011-05-12 10:52 +0200 http://bitbucket.org/pypy/pypy/changeset/d3c68b44b87b/ Log:give the backends a chance to return a "labels" dictionary, which will be later used by the logger diff --git a/pypy/jit

[pypy-commit] pypy x86-dump-labels: rename labels to ops_offset, which is clearer

2011-05-12 Thread antocuni
Author: Antonio Cuni Branch: x86-dump-labels Changeset: r44098:e720a9242b6b Date: 2011-05-12 14:01 +0200 http://bitbucket.org/pypy/pypy/changeset/e720a9242b6b/ Log:rename labels to ops_offset, which is clearer diff --git a/pypy/jit/backend/model.py b/pypy/jit/backend/model.py --- a/pypy/jit/

[pypy-commit] pypy default: Fix: this opaque pointer dance is only for gc references. This fixes

2011-05-12 Thread arigo
Author: Armin Rigo Branch: Changeset: r44099:176802d75314 Date: 2011-05-12 14:46 +0200 http://bitbucket.org/pypy/pypy/changeset/176802d75314/ Log:Fix: this opaque pointer dance is only for gc references. This fixes test_rsocket, which takes pointers to individual bytes in a n

[pypy-commit] pypy default: Fix.

2011-05-12 Thread arigo
Author: Armin Rigo Branch: Changeset: r44100:434e29908fff Date: 2011-05-12 14:47 +0200 http://bitbucket.org/pypy/pypy/changeset/434e29908fff/ Log:Fix. diff --git a/pypy/rpython/memory/test/test_gctypelayout.py b/pypy/rpython/memory/test/test_gctypelayout.py --- a/pypy/rpython/memory/test/t

[pypy-commit] pypy default: Fix.

2011-05-12 Thread arigo
Author: Armin Rigo Branch: Changeset: r44101:1fb80f51e346 Date: 2011-05-12 14:48 +0200 http://bitbucket.org/pypy/pypy/changeset/1fb80f51e346/ Log:Fix. diff --git a/pypy/translator/backendopt/test/test_constfold.py b/pypy/translator/backendopt/test/test_constfold.py --- a/pypy/translator/ba

[pypy-commit] pypy default: skip this test for cli

2011-05-12 Thread antocuni
Author: Antonio Cuni Branch: Changeset: r44102:9da896594014 Date: 2011-05-12 12:57 + http://bitbucket.org/pypy/pypy/changeset/9da896594014/ Log:skip this test for cli diff --git a/pypy/rpython/test/test_rfloat.py b/pypy/rpython/test/test_rfloat.py --- a/pypy/rpython/test/test_rfloat.py

[pypy-commit] pypy default: merge heads

2011-05-12 Thread arigo
Author: Armin Rigo Branch: Changeset: r44105:c35cd5dfa0ac Date: 2011-05-12 16:07 +0200 http://bitbucket.org/pypy/pypy/changeset/c35cd5dfa0ac/ Log:merge heads diff --git a/pypy/module/_multibytecodec/app_multibytecodec.py b/pypy/module/_multibytecodec/app_multibytecodec.py --- a/pypy/module

[pypy-commit] pypy default: Tweak the error and the message.

2011-05-12 Thread arigo
Author: Armin Rigo Branch: Changeset: r44104:46a214e27708 Date: 2011-05-12 16:07 +0200 http://bitbucket.org/pypy/pypy/changeset/46a214e27708/ Log:Tweak the error and the message. diff --git a/pypy/module/_multibytecodec/app_multibytecodec.py b/pypy/module/_multibytecodec/app_multibytecodec

[pypy-commit] pypy default: Fix the test by properly calling CODEC_INIT.

2011-05-12 Thread arigo
Author: Armin Rigo Branch: Changeset: r44107:1a382602c9d6 Date: 2011-05-12 16:46 +0200 http://bitbucket.org/pypy/pypy/changeset/1a382602c9d6/ Log:Fix the test by properly calling CODEC_INIT. diff --git a/pypy/translator/c/src/cjkcodecs/cjkcodecs.h b/pypy/translator/c/src/cjkcodecs/cjkcodec

[pypy-commit] pypy default: A failing test.

2011-05-12 Thread arigo
Author: Armin Rigo Branch: Changeset: r44106:3d4c805a874e Date: 2011-05-12 16:42 +0200 http://bitbucket.org/pypy/pypy/changeset/3d4c805a874e/ Log:A failing test. diff --git a/pypy/module/_multibytecodec/test/test_c_codecs.py b/pypy/module/_multibytecodec/test/test_c_codecs.py --- a/pypy/mo

[pypy-commit] pypy default: Fixed up multibytecodec on windows. With much help from armin and amaury.

2011-05-12 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r44108:99f7b410912d Date: 2011-05-12 15:27 -0400 http://bitbucket.org/pypy/pypy/changeset/99f7b410912d/ Log:Fixed up multibytecodec on windows. With much help from armin and amaury. diff --git a/pypy/module/_multibytecodec/c_codecs.py b/pypy/m

[pypy-commit] pypy default: (alex, arigato, mostly arigato) All tests pass in multibytecodec on windows.

2011-05-12 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r44109:7faa5a1b2a3b Date: 2011-05-12 15:31 -0400 http://bitbucket.org/pypy/pypy/changeset/7faa5a1b2a3b/ Log:(alex, arigato, mostly arigato) All tests pass in multibytecodec on windows. diff --git a/pypy/module/_multibytecodec/test/test_translat

[pypy-commit] pypy default: Simplify, the windows quoting works on linux as well.

2011-05-12 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r44110:722e6f60cfc1 Date: 2011-05-12 15:45 -0400 http://bitbucket.org/pypy/pypy/changeset/722e6f60cfc1/ Log:Simplify, the windows quoting works on linux as well. diff --git a/pypy/module/_multibytecodec/test/test_translation.py b/pypy/module/_multibyt

[pypy-commit] pypy default: replace some more dead code, thanks amaury

2011-05-12 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r44111:d801f0b10219 Date: 2011-05-12 16:02 -0400 http://bitbucket.org/pypy/pypy/changeset/d801f0b10219/ Log:replace some more dead code, thanks amaury diff --git a/pypy/module/_multibytecodec/c_codecs.py b/pypy/module/_multibytecodec/c_codecs.py --- a

[pypy-commit] pypy default: (alex, arigato, amaury) Switch the rffi functions which convert a char* to a str to use {String, Unicode}Builder to avoid copies most of the time.

2011-05-12 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r44112:18429152eefe Date: 2011-05-12 16:27 -0400 http://bitbucket.org/pypy/pypy/changeset/18429152eefe/ Log:(alex, arigato, amaury) Switch the rffi functions which convert a char* to a str to use {String,Unicode}Builder to avoid copies most

[pypy-commit] pypy default: Allow the JIT to inline into posix. These are mostly wrappers around low level functions, and it's silly to force the caches to be cleared because of those calls, as well a

2011-05-12 Thread alex_gaynor
Author: Alex Gaynor Branch: Changeset: r44113:2cf2bc2ec94a Date: 2011-05-12 22:14 -0400 http://bitbucket.org/pypy/pypy/changeset/2cf2bc2ec94a/ Log:Allow the JIT to inline into posix. These are mostly wrappers around low level functions, and it's silly to force the caches to be