[pypy-commit] cffi default: Complete the tests

2012-06-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r512:785d80b94cfe Date: 2012-06-25 21:08 +0200 http://bitbucket.org/cffi/cffi/changeset/785d80b94cfe/ Log:Complete the tests diff --git a/c/_ffi_backend.c b/c/_ffi_backend.c --- a/c/_ffi_backend.c +++ b/c/_ffi_backend.c @@ -2909,11 +2909,11 @@ PyOb

[pypy-commit] cffi default: Tweak the API with respect to None: it no longer means "NULL".

2012-06-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r514:9824c8551f0d Date: 2012-06-25 23:35 +0200 http://bitbucket.org/cffi/cffi/changeset/9824c8551f0d/ Log:Tweak the API with respect to None: it no longer means "NULL". diff --git a/c/_ffi_backend.c b/c/_ffi_backend.c --- a/c/_ffi_backend.c +++ b/c/_ffi

[pypy-commit] cffi default: Test and fix.

2012-06-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r513:ad29c07c0119 Date: 2012-06-25 21:27 +0200 http://bitbucket.org/cffi/cffi/changeset/ad29c07c0119/ Log:Test and fix. diff --git a/c/_ffi_backend.c b/c/_ffi_backend.c --- a/c/_ffi_backend.c +++ b/c/_ffi_backend.c @@ -764,6 +764,8 @@ if (!

[pypy-commit] cffi default: Test and fix.

2012-06-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r515:2f8dba6f83aa Date: 2012-06-25 23:37 +0200 http://bitbucket.org/cffi/cffi/changeset/2f8dba6f83aa/ Log:Test and fix. diff --git a/c/_ffi_backend.c b/c/_ffi_backend.c --- a/c/_ffi_backend.c +++ b/c/_ffi_backend.c @@ -760,7 +760,8 @@ if (!(cti

[pypy-commit] cffi default: Convert the front-end. Missing backend_ctypes.

2012-06-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r516:25c66b232182 Date: 2012-06-25 23:57 +0200 http://bitbucket.org/cffi/cffi/changeset/25c66b232182/ Log:Convert the front-end. Missing backend_ctypes. diff --git a/c/_ffi_backend.c b/c/_ffi_backend.c --- a/c/_ffi_backend.c +++ b/c/_ffi_backend.c @@ -1

[pypy-commit] cffi default: Fix(?) the ctypes backend, as far as the tests are concerned.

2012-06-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r517:087f701abe69 Date: 2012-06-26 10:02 +0200 http://bitbucket.org/cffi/cffi/changeset/087f701abe69/ Log:Fix(?) the ctypes backend, as far as the tests are concerned. diff --git a/cffi/backend_ctypes.py b/cffi/backend_ctypes.py --- a/cffi/backend_ctype

[pypy-commit] cffi default: Allow the syntax "a[...]; ", for now only on struct fields.

2012-06-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r518:8e459b477b6b Date: 2012-06-26 10:52 +0200 http://bitbucket.org/cffi/cffi/changeset/8e459b477b6b/ Log:Allow the syntax "a[...];", for now only on struct fields. diff --git a/cffi/cparser.py b/cffi/cparser.py --- a/cffi/cparser.py +++ b/cffi/cparser.

[pypy-commit] cffi default: Add a passing test.

2012-06-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r519:c6f652a8310e Date: 2012-06-26 11:00 +0200 http://bitbucket.org/cffi/cffi/changeset/c6f652a8310e/ Log:Add a passing test. diff --git a/testing/test_verify.py b/testing/test_verify.py --- a/testing/test_verify.py +++ b/testing/test_verify.py @@ -518,

[pypy-commit] cffi default: partial unions: not supported

2012-06-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r520:59540f119bdd Date: 2012-06-26 11:03 +0200 http://bitbucket.org/cffi/cffi/changeset/59540f119bdd/ Log:partial unions: not supported diff --git a/cffi/cparser.py b/cffi/cparser.py --- a/cffi/cparser.py +++ b/cffi/cparser.py @@ -320,7 +320,7 @@

[pypy-commit] cffi default: Test and fix: it's inconvenient that str(x) crashes with a segfault

2012-06-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r521:68ad27bb619c Date: 2012-06-26 11:12 +0200 http://bitbucket.org/cffi/cffi/changeset/68ad27bb619c/ Log:Test and fix: it's inconvenient that str(x) crashes with a segfault if x is . Detect this case and raise RuntimeError. diff --git a

[pypy-commit] cffi default: Fix the demos (None => ffi.NULL)

2012-06-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r522:4606e24045b3 Date: 2012-06-26 11:14 +0200 http://bitbucket.org/cffi/cffi/changeset/4606e24045b3/ Log:Fix the demos (None => ffi.NULL) diff --git a/demo/_curses.py b/demo/_curses.py --- a/demo/_curses.py +++ b/demo/_curses.py @@ -120,7 +120,7 @@

[pypy-commit] cffi default: Add a passing test.

2012-06-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r523:f98fe6c9ad1e Date: 2012-06-26 11:25 +0200 http://bitbucket.org/cffi/cffi/changeset/f98fe6c9ad1e/ Log:Add a passing test. diff --git a/c/test_c.py b/c/test_c.py --- a/c/test_c.py +++ b/c/test_c.py @@ -1083,3 +1083,18 @@ BDouble = new_primitive_

[pypy-commit] pypy ffi-backend: Progress

2012-06-26 Thread arigo
Author: Armin Rigo Branch: ffi-backend Changeset: r55827:7f7e16925c27 Date: 2012-06-25 21:45 +0200 http://bitbucket.org/pypy/pypy/changeset/7f7e16925c27/ Log:Progress diff --git a/pypy/module/_ffi_backend/ctypeobj.py b/pypy/module/_ffi_backend/ctypeobj.py --- a/pypy/module/_ffi_backend/ctyp

[pypy-commit] pypy ffi-backend: Support weakref. Split the into two app-level classes like in

2012-06-26 Thread arigo
Author: Armin Rigo Branch: ffi-backend Changeset: r55828:af108d2aceb0 Date: 2012-06-25 21:54 +0200 http://bitbucket.org/pypy/pypy/changeset/af108d2aceb0/ Log:Support weakref. Split the into two app-level classes like in CPython. diff --git a/pypy/module/_ffi_backend/cdataobj.py b/p

[pypy-commit] pypy ffi-backend: push push push at the llmemory interface (with hacks that

2012-06-26 Thread arigo
Author: Armin Rigo Branch: ffi-backend Changeset: r55829:0e49dfb38a38 Date: 2012-06-25 22:00 +0200 http://bitbucket.org/pypy/pypy/changeset/0e49dfb38a38/ Log:push push push at the llmemory interface (with hacks that are all removed after translation) diff --git a/pypy/module/_ffi_bac

[pypy-commit] pypy ffi-backend: Reimport test_c.

2012-06-26 Thread arigo
Author: Armin Rigo Branch: ffi-backend Changeset: r55830:75f47e25f74a Date: 2012-06-26 11:26 +0200 http://bitbucket.org/pypy/pypy/changeset/75f47e25f74a/ Log:Reimport test_c. diff --git a/pypy/module/_ffi_backend/test/_backend_test_c.py b/pypy/module/_ffi_backend/test/_backend_test_c.py ---

[pypy-commit] cffi default: add demo/btrfs-snap.py

2012-06-26 Thread RonnyPfannschmidt
Author: Ronny Pfannschmidt Branch: Changeset: r524:14bb2dd80cf5 Date: 2012-06-26 11:39 +0200 http://bitbucket.org/cffi/cffi/changeset/14bb2dd80cf5/ Log:add demo/btrfs-snap.py this is a example for ioctrl structure usage diff --git a/demo/btrfs-snap.py b/demo/btrfs-snap.py new file

[pypy-commit] pypy ffi-backend: Port to the new API about None-vs-ffi.NULL.

2012-06-26 Thread arigo
Author: Armin Rigo Branch: ffi-backend Changeset: r55831:42f48f8254a0 Date: 2012-06-26 11:41 +0200 http://bitbucket.org/pypy/pypy/changeset/42f48f8254a0/ Log:Port to the new API about None-vs-ffi.NULL. diff --git a/pypy/module/_ffi_backend/cdataobj.py b/pypy/module/_ffi_backend/cdataobj.py

[pypy-commit] cffi default: Update: document what are now real (minor) differences

2012-06-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r525:b204e0b353cd Date: 2012-06-26 11:55 +0200 http://bitbucket.org/cffi/cffi/changeset/b204e0b353cd/ Log:Update: document what are now real (minor) differences diff --git a/doc/source/conf.py b/doc/source/conf.py --- a/doc/source/conf.py +++ b/doc/sour

[pypy-commit] cffi default: ReST.

2012-06-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r526:1153a34a8555 Date: 2012-06-26 14:26 +0200 http://bitbucket.org/cffi/cffi/changeset/1153a34a8555/ Log:ReST. diff --git a/doc/source/index.rst b/doc/source/index.rst --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -338,7 +338,7 @@ by the

[pypy-commit] cffi default: Update the repr in the doc.

2012-06-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r527:957ab211da8c Date: 2012-06-26 14:29 +0200 http://bitbucket.org/cffi/cffi/changeset/957ab211da8c/ Log:Update the repr in the doc. diff --git a/doc/source/index.rst b/doc/source/index.rst --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -367,

[pypy-commit] cffi default: Quotes.

2012-06-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r528:563d147386c7 Date: 2012-06-26 14:32 +0200 http://bitbucket.org/cffi/cffi/changeset/563d147386c7/ Log:Quotes. diff --git a/doc/source/index.rst b/doc/source/index.rst --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -192,7 +192,7 @@ The `

[pypy-commit] cffi default: Add "error=..." to ffi.callback().

2012-06-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r529:7cf76f8b03ba Date: 2012-06-26 15:21 +0200 http://bitbucket.org/cffi/cffi/changeset/7cf76f8b03ba/ Log:Add "error=..." to ffi.callback(). diff --git a/c/_ffi_backend.c b/c/_ffi_backend.c --- a/c/_ffi_backend.c +++ b/c/_ffi_backend.c @@ -2921,6 +2921,

[pypy-commit] pypy ffi-backend: Update from cffi.

2012-06-26 Thread arigo
Author: Armin Rigo Branch: ffi-backend Changeset: r55832:72a2477ea574 Date: 2012-06-26 15:32 +0200 http://bitbucket.org/pypy/pypy/changeset/72a2477ea574/ Log:Update from cffi. diff --git a/pypy/module/_ffi_backend/test/_backend_test_c.py b/pypy/module/_ffi_backend/test/_backend_test_c.py --

[pypy-commit] pypy ffi-backend: Missing imports.

2012-06-26 Thread arigo
Author: Armin Rigo Branch: ffi-backend Changeset: r55834:0d2d227d73ae Date: 2012-06-26 17:00 +0200 http://bitbucket.org/pypy/pypy/changeset/0d2d227d73ae/ Log:Missing imports. diff --git a/pypy/module/_ffi_backend/ctypeenum.py b/pypy/module/_ffi_backend/ctypeenum.py --- a/pypy/module/_ffi_ba

[pypy-commit] cffi default: Finally clean up the distinction between the C types "function" vs

2012-06-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r530:010bdb053d10 Date: 2012-06-26 18:06 +0200 http://bitbucket.org/cffi/cffi/changeset/010bdb053d10/ Log:Finally clean up the distinction between the C types "function" vs "pointer to function". Add a test about it to backend_tests. diff --git

[pypy-commit] cffi default: Test and fix

2012-06-26 Thread arigo
Author: Armin Rigo Branch: Changeset: r531:561037ef6db0 Date: 2012-06-26 18:47 +0200 http://bitbucket.org/cffi/cffi/changeset/561037ef6db0/ Log:Test and fix diff --git a/c/_ffi_backend.c b/c/_ffi_backend.c --- a/c/_ffi_backend.c +++ b/c/_ffi_backend.c @@ -757,12 +757,21 @@ if (!CDa

[pypy-commit] pypy ffi-backend: in-progress

2012-06-26 Thread arigo
Author: Armin Rigo Branch: ffi-backend Changeset: r55835:06fce9e5c310 Date: 2012-06-26 18:55 +0200 http://bitbucket.org/pypy/pypy/changeset/06fce9e5c310/ Log:in-progress diff --git a/pypy/module/_ffi_backend/__init__.py b/pypy/module/_ffi_backend/__init__.py --- a/pypy/module/_ffi_backend/_

[pypy-commit] pypy ffi-backend: Fixes

2012-06-26 Thread arigo
Author: Armin Rigo Branch: ffi-backend Changeset: r55836:3fb001ffefe5 Date: 2012-06-26 19:02 +0200 http://bitbucket.org/pypy/pypy/changeset/3fb001ffefe5/ Log:Fixes diff --git a/pypy/module/_ffi_backend/ctypefunc.py b/pypy/module/_ffi_backend/ctypefunc.py --- a/pypy/module/_ffi_backend/ctype

[pypy-commit] pypy reflex-support: remove forced updates of namespaces and rely on lazy discovery instead

2012-06-26 Thread wlav
Author: Wim Lavrijsen Branch: reflex-support Changeset: r55837:28538ba5446d Date: 2012-06-19 16:00 -0700 http://bitbucket.org/pypy/pypy/changeset/28538ba5446d/ Log:remove forced updates of namespaces and rely on lazy discovery instead diff --git a/pypy/module/cppyy/interp_cppyy.py b

[pypy-commit] pypy reflex-support: o) on demand lookup of global operator== (only for CINT backend for now)

2012-06-26 Thread wlav
Author: Wim Lavrijsen Branch: reflex-support Changeset: r55838:3b63338d1a80 Date: 2012-06-25 15:19 -0700 http://bitbucket.org/pypy/pypy/changeset/3b63338d1a80/ Log:o) on demand lookup of global operator== (only for CINT backend for now) o) reworking of method indexing to give more fle

[pypy-commit] pypy reflex-support: o) fix memory overwrite in test

2012-06-26 Thread wlav
Author: Wim Lavrijsen Branch: reflex-support Changeset: r55839:0211a574720a Date: 2012-06-25 17:21 -0700 http://bitbucket.org/pypy/pypy/changeset/0211a574720a/ Log:o) fix memory overwrite in test o) remove spurious include of iostream o) add tests and arg passing for arrays diff --gi

[pypy-commit] pypy reflex-support: merge default into branch

2012-06-26 Thread wlav
Author: Wim Lavrijsen Branch: reflex-support Changeset: r55841:782ac49bb966 Date: 2012-06-25 17:47 -0700 http://bitbucket.org/pypy/pypy/changeset/782ac49bb966/ Log:merge default into branch diff --git a/pypy/doc/cppyy.rst b/pypy/doc/cppyy.rst --- a/pypy/doc/cppyy.rst +++ b/pypy/doc/cppyy.rst

[pypy-commit] pypy reflex-support: test number 100!

2012-06-26 Thread wlav
Author: Wim Lavrijsen Branch: reflex-support Changeset: r55840:a93cffca1bdd Date: 2012-06-25 17:40 -0700 http://bitbucket.org/pypy/pypy/changeset/a93cffca1bdd/ Log:test number 100! diff --git a/pypy/module/cppyy/test/std_streams.xml b/pypy/module/cppyy/test/std_streams.xml --- a/pypy/module

[pypy-commit] pypy reflex-support: rtyper fix

2012-06-26 Thread wlav
Author: Wim Lavrijsen Branch: reflex-support Changeset: r55843:a1791f1d61fb Date: 2012-06-25 18:31 -0700 http://bitbucket.org/pypy/pypy/changeset/a1791f1d61fb/ Log:rtyper fix diff --git a/pypy/module/cppyy/interp_cppyy.py b/pypy/module/cppyy/interp_cppyy.py --- a/pypy/module/cppyy/interp_cp

[pypy-commit] pypy reflex-support: indentation fixes

2012-06-26 Thread wlav
Author: Wim Lavrijsen Branch: reflex-support Changeset: r55842:290ad095b78e Date: 2012-06-25 17:54 -0700 http://bitbucket.org/pypy/pypy/changeset/290ad095b78e/ Log:indentation fixes diff --git a/pypy/module/cppyy/converter.py b/pypy/module/cppyy/converter.py --- a/pypy/module/cppyy/converter

[pypy-commit] pypy reflex-support: make jit/codewriter/jtransform.py happy

2012-06-26 Thread wlav
Author: Wim Lavrijsen Branch: reflex-support Changeset: r55844:d02e109130f5 Date: 2012-06-26 11:11 -0700 http://bitbucket.org/pypy/pypy/changeset/d02e109130f5/ Log:make jit/codewriter/jtransform.py happy diff --git a/pypy/module/cppyy/capi/__init__.py b/pypy/module/cppyy/capi/__init__.py --

[pypy-commit] pypy reflex-support: allow passing of arrays through void*

2012-06-26 Thread wlav
Author: Wim Lavrijsen Branch: reflex-support Changeset: r55845:42827fbd6b63 Date: 2012-06-26 12:16 -0700 http://bitbucket.org/pypy/pypy/changeset/42827fbd6b63/ Log:allow passing of arrays through void* diff --git a/pypy/module/cppyy/converter.py b/pypy/module/cppyy/converter.py --- a/pypy/mo

[pypy-commit] pypy ffi-backend: a missing str

2012-06-26 Thread fijal
Author: Maciej Fijalkowski Branch: ffi-backend Changeset: r55846:7a41ab3a8ba7 Date: 2012-06-26 15:47 +0200 http://bitbucket.org/pypy/pypy/changeset/7a41ab3a8ba7/ Log:a missing str diff --git a/lib_pypy/disassembler.py b/lib_pypy/disassembler.py --- a/lib_pypy/disassembler.py +++ b/lib_pypy/d

[pypy-commit] pypy default: refactor a bit so the interface is easier to use. still incredibly obscure if you ask me

2012-06-26 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r55848:c44ac551a6e8 Date: 2012-06-26 16:01 +0200 http://bitbucket.org/pypy/pypy/changeset/c44ac551a6e8/ Log:refactor a bit so the interface is easier to use. still incredibly obscure if you ask me diff --git a/pypy/tool/jitlogparser/pars

[pypy-commit] pypy default: if we don't know it's -1

2012-06-26 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r55849:49b1e77bc6a5 Date: 2012-06-26 16:02 +0200 http://bitbucket.org/pypy/pypy/changeset/49b1e77bc6a5/ Log:if we don't know it's -1 diff --git a/pypy/tool/jitlogparser/parser.py b/pypy/tool/jitlogparser/parser.py --- a/pypy/tool/jitlogparser/pa

[pypy-commit] pypy default: revert last change, it cannot be 0

2012-06-26 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r55850:ed92f26be263 Date: 2012-06-26 16:03 +0200 http://bitbucket.org/pypy/pypy/changeset/ed92f26be263/ Log:revert last change, it cannot be 0 diff --git a/pypy/tool/jitlogparser/parser.py b/pypy/tool/jitlogparser/parser.py --- a/pypy/tool/jitlo

[pypy-commit] pypy even-more-jit-hooks: progress

2012-06-26 Thread fijal
Author: Maciej Fijalkowski Branch: even-more-jit-hooks Changeset: r55852:06d6e8c909b5 Date: 2012-06-26 22:13 +0200 http://bitbucket.org/pypy/pypy/changeset/06d6e8c909b5/ Log:progress diff --git a/pypy/module/pypyjit/interp_resop.py b/pypy/module/pypyjit/interp_resop.py --- a/pypy/module/pyp

[pypy-commit] pypy ffi-backend: merge

2012-06-26 Thread fijal
Author: Maciej Fijalkowski Branch: ffi-backend Changeset: r55854:96660443a663 Date: 2012-06-26 22:15 +0200 http://bitbucket.org/pypy/pypy/changeset/96660443a663/ Log:merge diff --git a/lib_pypy/disassembler.py b/lib_pypy/disassembler.py --- a/lib_pypy/disassembler.py +++ b/lib_pypy/disassemb

[pypy-commit] pypy default: a missing str

2012-06-26 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r55847:285403cbb8e4 Date: 2012-06-26 15:47 +0200 http://bitbucket.org/pypy/pypy/changeset/285403cbb8e4/ Log:a missing str diff --git a/lib_pypy/disassembler.py b/lib_pypy/disassembler.py --- a/lib_pypy/disassembler.py +++ b/lib_pypy/disassembler

[pypy-commit] pypy even-more-jit-hooks: a bit of refactoring but now one can get to details about counters from the interpreter if he really feels like it

2012-06-26 Thread fijal
Author: Maciej Fijalkowski Branch: even-more-jit-hooks Changeset: r55851:f09f03b9e5ff Date: 2012-06-26 20:46 +0200 http://bitbucket.org/pypy/pypy/changeset/f09f03b9e5ff/ Log:a bit of refactoring but now one can get to details about counters from the interpreter if he really feels like

[pypy-commit] pypy default: merge

2012-06-26 Thread fijal
Author: Maciej Fijalkowski Branch: Changeset: r55853:b8d892c9fddd Date: 2012-06-26 22:14 +0200 http://bitbucket.org/pypy/pypy/changeset/b8d892c9fddd/ Log:merge diff --git a/pypy/doc/cppyy.rst b/pypy/doc/cppyy.rst --- a/pypy/doc/cppyy.rst +++ b/pypy/doc/cppyy.rst @@ -87,14 +87,19 @@ $ c