[pypy-commit] pypy s390x-backend: load_imm might emit different code load 32 or 64 bit imm, added this case to the regex of test_compile_asmlen

2016-01-04 Thread plan_rich
Author: Richard Plangger Branch: s390x-backend Changeset: r81534:b2147c0cc9f7 Date: 2016-01-04 08:47 +0100 http://bitbucket.org/pypy/pypy/changeset/b2147c0cc9f7/ Log:load_imm might emit different code load 32 or 64 bit imm, added this case to the regex of test_compile_asmlen diff --g

[pypy-commit] pypy s390x-backend: added test_basic & test_calling_conventions, the latter already passes

2016-01-04 Thread plan_rich
Author: Richard Plangger Branch: s390x-backend Changeset: r81535:03d679053346 Date: 2016-01-04 09:06 +0100 http://bitbucket.org/pypy/pypy/changeset/03d679053346/ Log:added test_basic & test_calling_conventions, the latter already passes diff --git a/rpython/jit/backend/zarch/codebuil

[pypy-commit] pypy s390x-backend: missing files

2016-01-04 Thread plan_rich
Author: Richard Plangger Branch: s390x-backend Changeset: r81536:cbc9bc98efec Date: 2016-01-04 09:15 +0100 http://bitbucket.org/pypy/pypy/changeset/cbc9bc98efec/ Log:missing files diff --git a/rpython/jit/backend/zarch/test/test_basic.py b/rpython/jit/backend/zarch/test/test_basic.py new fi

[pypy-commit] pypy ec-keepalive: Add custom trace hooks in order to walk all threadlocalrefs,

2016-01-04 Thread arigo
Author: Armin Rigo Branch: ec-keepalive Changeset: r81539:0c470d6715d7 Date: 2016-01-04 10:32 +0100 http://bitbucket.org/pypy/pypy/changeset/0c470d6715d7/ Log:Add custom trace hooks in order to walk all threadlocalrefs, which are now chained in a doubly-linked list. Of course it only

[pypy-commit] pypy ec-keepalive: Trying to keep alive the ExecutionContext built in new threads for

2016-01-04 Thread arigo
Author: Armin Rigo Branch: ec-keepalive Changeset: r81537:9a3da7ddb21f Date: 2016-01-04 09:40 +0100 http://bitbucket.org/pypy/pypy/changeset/9a3da7ddb21f/ Log:Trying to keep alive the ExecutionContext built in new threads for calls to cffi/ctypes functions (currently a case where PyPy

[pypy-commit] pypy ec-keepalive: Add objectmodel.fetch_translated_config()

2016-01-04 Thread arigo
Author: Armin Rigo Branch: ec-keepalive Changeset: r81538:8aa4fa415f00 Date: 2016-01-04 09:41 +0100 http://bitbucket.org/pypy/pypy/changeset/8aa4fa415f00/ Log:Add objectmodel.fetch_translated_config() diff --git a/rpython/rlib/objectmodel.py b/rpython/rlib/objectmodel.py --- a/rpython/rlib/o

[pypy-commit] extradoc extradoc: Leysin Winter Sprint 2016

2016-01-04 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r5579:797731eb2abc Date: 2016-01-04 10:44 +0100 http://bitbucket.org/pypy/extradoc/changeset/797731eb2abc/ Log:Leysin Winter Sprint 2016 diff --git a/sprintinfo/leysin-winter-2016/announcement.txt b/sprintinfo/leysin-winter-2016/announcement.tx

[pypy-commit] pypy ec-keepalive: Finish the RPython part

2016-01-04 Thread arigo
Author: Armin Rigo Branch: ec-keepalive Changeset: r81540:a4175679cd80 Date: 2016-01-04 11:32 +0100 http://bitbucket.org/pypy/pypy/changeset/a4175679cd80/ Log:Finish the RPython part diff --git a/rpython/rlib/rthread.py b/rpython/rlib/rthread.py --- a/rpython/rlib/rthread.py +++ b/rpython/rl

[pypy-commit] pypy ec-keepalive: Can't use this way of declaring structures with MSVC

2016-01-04 Thread arigo
Author: Armin Rigo Branch: ec-keepalive Changeset: r81541:b0933017bcbc Date: 2016-01-04 11:48 +0100 http://bitbucket.org/pypy/pypy/changeset/b0933017bcbc/ Log:Can't use this way of declaring structures with MSVC diff --git a/rpython/translator/c/genc.py b/rpython/translator/c/genc.py --- a/r

[pypy-commit] pypy ec-keepalive: Force a 'shared' build in these tests, for Windows

2016-01-04 Thread arigo
Author: Armin Rigo Branch: ec-keepalive Changeset: r81542:d05360392056 Date: 2016-01-04 11:54 +0100 http://bitbucket.org/pypy/pypy/changeset/d05360392056/ Log:Force a 'shared' build in these tests, for Windows diff --git a/rpython/rlib/test/test_rthread.py b/rpython/rlib/test/test_rthread.p

[pypy-commit] extradoc extradoc: Fix year.

2016-01-04 Thread mjacob
Author: Manuel Jacob Branch: extradoc Changeset: r5580:bde86d938b89 Date: 2016-01-04 12:32 +0100 http://bitbucket.org/pypy/extradoc/changeset/bde86d938b89/ Log:Fix year. diff --git a/sprintinfo/leysin-winter-2016/people.txt b/sprintinfo/leysin-winter-2016/people.txt --- a/sprintinfo/leysin-

[pypy-commit] extradoc extradoc: Clarify?

2016-01-04 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r5581:869fbb406d66 Date: 2016-01-04 13:01 +0100 http://bitbucket.org/pypy/extradoc/changeset/869fbb406d66/ Log:Clarify? diff --git a/sprintinfo/leysin-winter-2016/announcement.txt b/sprintinfo/leysin-winter-2016/announcement.txt --- a/sprintinf

[pypy-commit] extradoc extradoc: Update people.txt

2016-01-04 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r5582:c552f310783f Date: 2016-01-04 13:11 +0100 http://bitbucket.org/pypy/extradoc/changeset/c552f310783f/ Log:Update people.txt diff --git a/sprintinfo/leysin-winter-2016/people.txt b/sprintinfo/leysin-winter-2016/people.txt --- a/sprintinfo/l

[pypy-commit] extradoc extradoc: precision

2016-01-04 Thread arigo
Author: Armin Rigo Branch: extradoc Changeset: r5583:8193ca1ad79e Date: 2016-01-04 13:14 +0100 http://bitbucket.org/pypy/extradoc/changeset/8193ca1ad79e/ Log:precision diff --git a/sprintinfo/leysin-winter-2016/people.txt b/sprintinfo/leysin-winter-2016/people.txt --- a/sprintinfo/leysin-wi

[pypy-commit] extradoc extradoc: me -> to the people.txt list for the leysin sprint

2016-01-04 Thread plan_rich
Author: Richard Plangger Branch: extradoc Changeset: r5584:6e287dfcc4ab Date: 2016-01-04 13:33 +0100 http://bitbucket.org/pypy/extradoc/changeset/6e287dfcc4ab/ Log:me -> to the people.txt list for the leysin sprint diff --git a/sprintinfo/leysin-winter-2016/people.txt b/sprintinfo/leysin-wi

[pypy-commit] extradoc extradoc: ups, did not read the line above, removed me from the list of prev. attendees

2016-01-04 Thread plan_rich
Author: Richard Plangger Branch: extradoc Changeset: r5585:75f174fab763 Date: 2016-01-04 13:37 +0100 http://bitbucket.org/pypy/extradoc/changeset/75f174fab763/ Log:ups, did not read the line above, removed me from the list of prev. attendees diff --git a/sprintinfo/leysin-winter-2016

[pypy-commit] extradoc extradoc: register for Leysin sprint

2016-01-04 Thread Raemi
Author: Remi Meier Branch: extradoc Changeset: r5586:b10f2a7b55f2 Date: 2016-01-04 14:49 +0100 http://bitbucket.org/pypy/extradoc/changeset/b10f2a7b55f2/ Log:register for Leysin sprint diff --git a/sprintinfo/leysin-winter-2016/people.txt b/sprintinfo/leysin-winter-2016/people.txt --- a/spr

[pypy-commit] pypy default: Test and fix

2016-01-04 Thread arigo
Author: Armin Rigo Branch: Changeset: r81543:4b35b2c07181 Date: 2016-01-04 16:40 +0100 http://bitbucket.org/pypy/pypy/changeset/4b35b2c07181/ Log:Test and fix diff --git a/rpython/rlib/buffer.py b/rpython/rlib/buffer.py --- a/rpython/rlib/buffer.py +++ b/rpython/rlib/buffer.py @@ -99,9 +99,

[pypy-commit] pypy default: Update the date

2016-01-04 Thread arigo
Author: Armin Rigo Branch: Changeset: r81544:012d2d144451 Date: 2016-01-04 16:41 +0100 http://bitbucket.org/pypy/pypy/changeset/012d2d144451/ Log:Update the date diff --git a/LICENSE b/LICENSE --- a/LICENSE +++ b/LICENSE @@ -28,7 +28,7 @@ DEALINGS IN THE SOFTWARE. -PyPy Copyright h

[pypy-commit] pypy ec-keepalive: Progress, see comments

2016-01-04 Thread arigo
Author: Armin Rigo Branch: ec-keepalive Changeset: r81545:7149d01e69d0 Date: 2016-01-04 16:46 +0100 http://bitbucket.org/pypy/pypy/changeset/7149d01e69d0/ Log:Progress, see comments diff --git a/pypy/module/thread/__init__.py b/pypy/module/thread/__init__.py --- a/pypy/module/thread/__init__

[pypy-commit] pypy cffi-static-callback-embedding: hg merge ec-keepalive

2016-01-04 Thread arigo
Author: Armin Rigo Branch: cffi-static-callback-embedding Changeset: r81546:cd096cdf82e1 Date: 2016-01-04 16:52 +0100 http://bitbucket.org/pypy/pypy/changeset/cd096cdf82e1/ Log:hg merge ec-keepalive diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst --- a/pypy/doc/whatsnew-

[pypy-commit] pypy ec-keepalive: hg merge default

2016-01-04 Thread arigo
Author: Armin Rigo Branch: ec-keepalive Changeset: r81547:59373f8be2eb Date: 2016-01-04 16:54 +0100 http://bitbucket.org/pypy/pypy/changeset/59373f8be2eb/ Log:hg merge default diff --git a/LICENSE b/LICENSE --- a/LICENSE +++ b/LICENSE @@ -28,7 +28,7 @@ DEALINGS IN THE SOFTWARE. -PyP

[pypy-commit] pypy cffi-static-callback-embedding: hg merge ec-keepalive

2016-01-04 Thread arigo
Author: Armin Rigo Branch: cffi-static-callback-embedding Changeset: r81548:f1f0ea2d424c Date: 2016-01-04 16:54 +0100 http://bitbucket.org/pypy/pypy/changeset/f1f0ea2d424c/ Log:hg merge ec-keepalive diff --git a/LICENSE b/LICENSE --- a/LICENSE +++ b/LICENSE @@ -28,7 +28,7 @@ DEALINGS IN

[pypy-commit] pypy ec-keepalive: Simplify: rshrinklist keeps the order, unlike rweaklist which keeps the

2016-01-04 Thread arigo
Author: Armin Rigo Branch: ec-keepalive Changeset: r81549:9d442fbb0338 Date: 2016-01-04 17:07 +0100 http://bitbucket.org/pypy/pypy/changeset/9d442fbb0338/ Log:Simplify: rshrinklist keeps the order, unlike rweaklist which keeps the index (in this case we don't need the latter, but the

[pypy-commit] pypy ec-keepalive: Document and cross-reference these two modules, which implement

2016-01-04 Thread arigo
Author: Armin Rigo Branch: ec-keepalive Changeset: r81550:52bed60ea80d Date: 2016-01-04 17:25 +0100 http://bitbucket.org/pypy/pypy/changeset/52bed60ea80d/ Log:Document and cross-reference these two modules, which implement somewhat similar but subtly different semantics. diff --git a

[pypy-commit] pypy cffi-static-callback-embedding: hg merge ec-keepalive

2016-01-04 Thread arigo
Author: Armin Rigo Branch: cffi-static-callback-embedding Changeset: r81552:a7b258839a6c Date: 2016-01-04 16:33 + http://bitbucket.org/pypy/pypy/changeset/a7b258839a6c/ Log:hg merge ec-keepalive diff --git a/pypy/module/thread/threadlocals.py b/pypy/module/thread/threadlocals.py --- a/p

[pypy-commit] pypy ec-keepalive: fix

2016-01-04 Thread arigo
Author: Armin Rigo Branch: ec-keepalive Changeset: r81551:8f6b90ba52b5 Date: 2016-01-04 16:32 + http://bitbucket.org/pypy/pypy/changeset/8f6b90ba52b5/ Log:fix diff --git a/pypy/module/thread/threadlocals.py b/pypy/module/thread/threadlocals.py --- a/pypy/module/thread/threadlocals.py ++

[pypy-commit] pypy ec-keepalive: merge heads

2016-01-04 Thread arigo
Author: Armin Rigo Branch: ec-keepalive Changeset: r81553:76879a85792f Date: 2016-01-04 17:30 +0100 http://bitbucket.org/pypy/pypy/changeset/76879a85792f/ Log:merge heads diff --git a/rpython/rlib/rshrinklist.py b/rpython/rlib/rshrinklist.py --- a/rpython/rlib/rshrinklist.py +++ b/rpython/rl

[pypy-commit] pypy exctrans: inline make_funcgens()

2016-01-04 Thread rlamy
Author: Ronan Lamy Branch: exctrans Changeset: r81554:82fee982402e Date: 2016-01-03 16:43 +0100 http://bitbucket.org/pypy/pypy/changeset/82fee982402e/ Log:inline make_funcgens() diff --git a/rpython/translator/c/node.py b/rpython/translator/c/node.py --- a/rpython/translator/c/node.py +++ b/

[pypy-commit] pypy exctrans: move db.need_sandboxing to the only module using it

2016-01-04 Thread rlamy
Author: Ronan Lamy Branch: exctrans Changeset: r81556:21a54f1585ad Date: 2016-01-03 17:08 +0100 http://bitbucket.org/pypy/pypy/changeset/21a54f1585ad/ Log:move db.need_sandboxing to the only module using it diff --git a/rpython/translator/c/database.py b/rpython/translator/c/database.py ---

[pypy-commit] pypy exctrans: extract sandboxing case in select_function_code_generators()

2016-01-04 Thread rlamy
Author: Ronan Lamy Branch: exctrans Changeset: r81557:23337f13f16f Date: 2016-01-04 00:30 +0100 http://bitbucket.org/pypy/pypy/changeset/23337f13f16f/ Log:extract sandboxing case in select_function_code_generators() diff --git a/rpython/translator/c/node.py b/rpython/translator/c/node.py ---

[pypy-commit] pypy exctrans: fix database tests

2016-01-04 Thread rlamy
Author: Ronan Lamy Branch: exctrans Changeset: r81555:0c774b365d18 Date: 2016-01-03 17:06 +0100 http://bitbucket.org/pypy/pypy/changeset/0c774b365d18/ Log:fix database tests diff --git a/rpython/translator/c/node.py b/rpython/translator/c/node.py --- a/rpython/translator/c/node.py +++ b/rpyt

[pypy-commit] extradoc extradoc: add myself to list of people

2016-01-04 Thread cfbolz
Author: Carl Friedrich Bolz Branch: extradoc Changeset: r5587:843dbfd00dc7 Date: 2016-01-04 19:06 +0100 http://bitbucket.org/pypy/extradoc/changeset/843dbfd00dc7/ Log:add myself to list of people diff --git a/sprintinfo/leysin-winter-2016/people.txt b/sprintinfo/leysin-winter-2016/people.tx

[pypy-commit] pypy ec-keepalive: fixes

2016-01-04 Thread arigo
Author: Armin Rigo Branch: ec-keepalive Changeset: r81558:d88be6bde3d7 Date: 2016-01-04 19:49 +0100 http://bitbucket.org/pypy/pypy/changeset/d88be6bde3d7/ Log:fixes diff --git a/rpython/translator/c/src/threadlocal.h b/rpython/translator/c/src/threadlocal.h --- a/rpython/translator/c/src/th

[pypy-commit] pypy ec-keepalive: Yet Another attempt to fix rpython_startup_code(), this time writing it

2016-01-04 Thread arigo
Author: Armin Rigo Branch: ec-keepalive Changeset: r81559:5a02efb1a226 Date: 2016-01-04 19:50 +0100 http://bitbucket.org/pypy/pypy/changeset/5a02efb1a226/ Log:Yet Another attempt to fix rpython_startup_code(), this time writing it as plain C code (why wasn't it done this way already..

[pypy-commit] cffi static-callback-embedding: Write a line when we run the final executable too

2016-01-04 Thread arigo
Author: Armin Rigo Branch: static-callback-embedding Changeset: r2527:91627f02d14f Date: 2016-01-04 18:59 + http://bitbucket.org/cffi/cffi/changeset/91627f02d14f/ Log:Write a line when we run the final executable too diff --git a/testing/embedding/test_basic.py b/testing/embedding/test_b

[pypy-commit] pypy cffi-static-callback-embedding: hg merge ec-keepalive

2016-01-04 Thread arigo
Author: Armin Rigo Branch: cffi-static-callback-embedding Changeset: r81560:6b1fefba1c93 Date: 2016-01-04 19:57 +0100 http://bitbucket.org/pypy/pypy/changeset/6b1fefba1c93/ Log:hg merge ec-keepalive diff --git a/rpython/rlib/entrypoint.py b/rpython/rlib/entrypoint.py --- a/rpython/rlib/entry

[pypy-commit] extradoc extradoc: add myself, departing Thurs evening to catch a Fri morning flight from Zurich

2016-01-04 Thread mattip
Author: mattip Branch: extradoc Changeset: r5588:69a8d16f51f2 Date: 2016-01-04 21:04 +0200 http://bitbucket.org/pypy/extradoc/changeset/69a8d16f51f2/ Log:add myself, departing Thurs evening to catch a Fri morning flight from Zurich diff --git a/sprintinfo/leysin-winter-2016/people.tx

[pypy-commit] extradoc extradoc: Add myself to the list of people coming to the Leysin sprint.

2016-01-04 Thread mjacob
Author: Manuel Jacob Branch: extradoc Changeset: r5589:32950bfea0ef Date: 2016-01-04 20:19 +0100 http://bitbucket.org/pypy/extradoc/changeset/32950bfea0ef/ Log:Add myself to the list of people coming to the Leysin sprint. diff --git a/sprintinfo/leysin-winter-2016/people.txt b/sprintinfo/le

[pypy-commit] extradoc extradoc: I'm comming too.

2016-01-04 Thread plan_rich
Author: Richard Plangger Branch: extradoc Changeset: r5590:051768591230 Date: 2016-01-04 20:31 +0100 http://bitbucket.org/pypy/extradoc/changeset/051768591230/ Log:I'm comming too. diff --git a/sprintinfo/leysin-winter-2016/people.txt b/sprintinfo/leysin-winter-2016/people.txt --- a/sprinti

[pypy-commit] pypy s390x-backend: pair regalloc does not overwrite the variable binding anymore, but binds an the reigster to an additional parameter (e.g. the return value)

2016-01-04 Thread plan_rich
Author: Richard Plangger Branch: s390x-backend Changeset: r81561:3c7888505b50 Date: 2016-01-04 21:38 +0100 http://bitbucket.org/pypy/pypy/changeset/3c7888505b50/ Log:pair regalloc does not overwrite the variable binding anymore, but binds an the reigster to an additional parameter (e.

[pypy-commit] pypy ec-keepalive: Explicitly disable automatic_keepalive() in one case

2016-01-04 Thread arigo
Author: Armin Rigo Branch: ec-keepalive Changeset: r81562:19692a864891 Date: 2016-01-05 00:38 +0100 http://bitbucket.org/pypy/pypy/changeset/19692a864891/ Log:Explicitly disable automatic_keepalive() in one case diff --git a/rpython/rlib/rthread.py b/rpython/rlib/rthread.py --- a/rpython/rli

[pypy-commit] pypy ec-keepalive: - fix the 'ready = 0', which should be after memset(), otherwise it

2016-01-04 Thread arigo
Author: Armin Rigo Branch: ec-keepalive Changeset: r81565:c9440e002f09 Date: 2016-01-05 01:58 +0100 http://bitbucket.org/pypy/pypy/changeset/c9440e002f09/ Log:- fix the 'ready = 0', which should be after memset(), otherwise it is overridden - fix a rare case of concurrent cha

[pypy-commit] pypy ec-keepalive: Maybe it's a better idea to use critical sections here

2016-01-04 Thread arigo
Author: Armin Rigo Branch: ec-keepalive Changeset: r81564:5c17e7e2b811 Date: 2016-01-05 01:41 +0100 http://bitbucket.org/pypy/pypy/changeset/5c17e7e2b811/ Log:Maybe it's a better idea to use critical sections here diff --git a/rpython/translator/c/src/thread_nt.c b/rpython/translator/c/src/

[pypy-commit] pypy ec-keepalive: Potential fix: need to use __sync_lock_release() here

2016-01-04 Thread arigo
Author: Armin Rigo Branch: ec-keepalive Changeset: r81563:2f853825ff8f Date: 2016-01-05 01:21 +0100 http://bitbucket.org/pypy/pypy/changeset/2f853825ff8f/ Log:Potential fix: need to use __sync_lock_release() here diff --git a/rpython/translator/c/src/thread.h b/rpython/translator/c/src/thre

[pypy-commit] pypy ec-keepalive: Missing includes

2016-01-04 Thread arigo
Author: Armin Rigo Branch: ec-keepalive Changeset: r81566:4b5a99284649 Date: 2016-01-05 01:08 + http://bitbucket.org/pypy/pypy/changeset/4b5a99284649/ Log:Missing includes diff --git a/rpython/translator/c/src/threadlocal.c b/rpython/translator/c/src/threadlocal.c --- a/rpython/translat