[pypy-commit] cffi default: Issue #214: parse function declarations like "int foo(void_t); " where

2015-07-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r2228:7dcd3c2ef47f Date: 2015-07-30 10:33 +0200 http://bitbucket.org/cffi/cffi/changeset/7dcd3c2ef47f/ Log:Issue #214: parse function declarations like "int foo(void_t);" where void_t is typedefed to void. diff --git a/cffi/cparser.py b/cffi/cpa

[pypy-commit] cffi default: clean up

2015-07-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r2227:7224ecb03870 Date: 2015-07-17 19:20 +0200 http://bitbucket.org/cffi/cffi/changeset/7224ecb03870/ Log:clean up diff --git a/cffi/recompiler.py b/cffi/recompiler.py --- a/cffi/recompiler.py +++ b/cffi/recompiler.py @@ -4,11 +4,6 @@ VERSION = "0x2

[pypy-commit] pypy default: (fijal, arigo)

2015-07-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r78716:ea3543fd65b8 Date: 2015-07-30 10:40 +0200 http://bitbucket.org/pypy/pypy/changeset/ea3543fd65b8/ Log:(fijal, arigo) Don't use TypeError in RPython please (grafted from b2013723e0ecaefaf2f35f063c74c873bfd57667) diff --git a/pypy/i

[pypy-commit] pypy default: Add another test, which I'm unable to fix either

2015-07-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r78717:dfe31a786086 Date: 2015-07-30 11:57 +0200 http://bitbucket.org/pypy/pypy/changeset/dfe31a786086/ Log:Add another test, which I'm unable to fix either diff --git a/rpython/annotator/test/test_annrpython.py b/rpython/annotator/test/test_annrpython

[pypy-commit] pypy stmgc-c8-gcc: enable 'perf' to display loop names for jit-trace profiling

2015-07-30 Thread Raemi
Author: Remi Meier Branch: stmgc-c8-gcc Changeset: r78718:df6612cd98c5 Date: 2015-07-30 12:12 +0200 http://bitbucket.org/pypy/pypy/changeset/df6612cd98c5/ Log:enable 'perf' to display loop names for jit-trace profiling Add a script that extracts a perf-PID.map file from a pypylog. Th

[pypy-commit] pypy stmgc-c8-gcc: improve information supplied to 'perf'

2015-07-30 Thread Raemi
Author: Remi Meier Branch: stmgc-c8-gcc Changeset: r78719:6820a6ef6d83 Date: 2015-07-30 14:00 +0200 http://bitbucket.org/pypy/pypy/changeset/6820a6ef6d83/ Log:improve information supplied to 'perf' diff --git a/pypy/stm/make_perf_map_from_pypylog.py b/pypy/stm/make_perf_map_from_pypylog.py

[pypy-commit] pypy stmgc-c8-gcc: fix

2015-07-30 Thread Raemi
Author: Remi Meier Branch: stmgc-c8-gcc Changeset: r78720:f43e39e2ebad Date: 2015-07-30 14:48 +0200 http://bitbucket.org/pypy/pypy/changeset/f43e39e2ebad/ Log:fix diff --git a/pypy/stm/make_perf_map_from_pypylog.py b/pypy/stm/make_perf_map_from_pypylog.py --- a/pypy/stm/make_perf_map_from_p

[pypy-commit] cffi default: Handle line continuations in the "//" comments

2015-07-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r2229:024d67a5aa74 Date: 2015-07-30 16:49 +0200 http://bitbucket.org/cffi/cffi/changeset/024d67a5aa74/ Log:Handle line continuations in the "//" comments diff --git a/cffi/cparser.py b/cffi/cparser.py --- a/cffi/cparser.py +++ b/cffi/cparser.py @@ -15,7

[pypy-commit] cffi default: Support "\" escapes in a #define

2015-07-30 Thread arigo
Author: Armin Rigo Branch: Changeset: r2230:d5d809e7081b Date: 2015-07-30 17:05 +0200 http://bitbucket.org/cffi/cffi/changeset/d5d809e7081b/ Log:Support "\" escapes in a #define diff --git a/cffi/cparser.py b/cffi/cparser.py --- a/cffi/cparser.py +++ b/cffi/cparser.py @@ -17,8 +17,9 @@ _

[pypy-commit] cffi cmacros: #if defined() now works for unprotected functions too

2015-07-30 Thread Alex Stapleton
Author: Alex Stapleton Branch: cmacros Changeset: r2233:a9930603a424 Date: 2015-07-25 14:50 +0100 http://bitbucket.org/cffi/cffi/changeset/a9930603a424/ Log:#if defined() now works for unprotected functions too diff --git a/cffi/recompiler.py b/cffi/recompiler.py --- a/cffi/recompiler.py +++

[pypy-commit] cffi cmacros: Add Parser._extract_macros and _clean_macros

2015-07-30 Thread Alex Stapleton
Author: Alex Stapleton Branch: cmacros Changeset: r2231:254fab3123e3 Date: 2015-07-25 12:04 +0100 http://bitbucket.org/cffi/cffi/changeset/254fab3123e3/ Log:Add Parser._extract_macros and _clean_macros Will be used for adding #if support diff --git a/cffi/cparser.py b/cffi/cparser.p

[pypy-commit] cffi cmacros: #if defined() now might work for functions if you dont look too hard

2015-07-30 Thread Alex Stapleton
Author: Alex Stapleton Branch: cmacros Changeset: r2232:fb67276a8bd2 Date: 2015-07-25 14:48 +0100 http://bitbucket.org/cffi/cffi/changeset/fb67276a8bd2/ Log:#if defined() now might work for functions if you dont look too hard diff --git a/cffi/cparser.py b/cffi/cparser.py --- a/cffi/cparser.

[pypy-commit] cffi cmacros: One more passing test

2015-07-30 Thread arigo
Author: Armin Rigo Branch: cmacros Changeset: r2238:b8ce44d5c791 Date: 2015-07-30 18:32 +0200 http://bitbucket.org/cffi/cffi/changeset/b8ce44d5c791/ Log:One more passing test diff --git a/testing/cffi0/test_parsing.py b/testing/cffi0/test_parsing.py --- a/testing/cffi0/test_parsing.py +++ b/

[pypy-commit] cffi cmacros: Fixes

2015-07-30 Thread arigo
Author: Armin Rigo Branch: cmacros Changeset: r2240:5cae421affd9 Date: 2015-07-30 22:17 +0200 http://bitbucket.org/cffi/cffi/changeset/5cae421affd9/ Log:Fixes diff --git a/cffi/api.py b/cffi/api.py --- a/cffi/api.py +++ b/cffi/api.py @@ -607,7 +607,7 @@ copied_enums = [] # def

[pypy-commit] cffi cmacros: hg merge default

2015-07-30 Thread arigo
Author: Armin Rigo Branch: cmacros Changeset: r2235:e40456e91447 Date: 2015-07-30 17:06 +0200 http://bitbucket.org/cffi/cffi/changeset/e40456e91447/ Log:hg merge default diff --git a/cffi/cparser.py b/cffi/cparser.py --- a/cffi/cparser.py +++ b/cffi/cparser.py @@ -17,8 +17,9 @@ _r_comment

[pypy-commit] cffi cmacros: Reintroduce condition-controlled "#define"

2015-07-30 Thread arigo
Author: Armin Rigo Branch: cmacros Changeset: r2239:b9af889b244a Date: 2015-07-30 22:13 +0200 http://bitbucket.org/cffi/cffi/changeset/b9af889b244a/ Log:Reintroduce condition-controlled "#define" diff --git a/cffi/cparser.py b/cffi/cparser.py --- a/cffi/cparser.py +++ b/cffi/cparser.py @@ -1

[pypy-commit] cffi cmacros: Partial rewrite of the core logic for extracting and interpreting #if

2015-07-30 Thread arigo
Author: Armin Rigo Branch: cmacros Changeset: r2236:5126820f564f Date: 2015-07-30 18:25 +0200 http://bitbucket.org/cffi/cffi/changeset/5126820f564f/ Log:Partial rewrite of the core logic for extracting and interpreting #if macros, including #else, #elif, and so on (incl. continuation

[pypy-commit] cffi cmacros: hg merge default

2015-07-30 Thread arigo
Author: Armin Rigo Branch: cmacros Changeset: r2234:55774b4c3293 Date: 2015-07-30 16:50 +0200 http://bitbucket.org/cffi/cffi/changeset/55774b4c3293/ Log:hg merge default diff --git a/cffi/cparser.py b/cffi/cparser.py --- a/cffi/cparser.py +++ b/cffi/cparser.py @@ -15,7 +15,8 @@ except Impor

[pypy-commit] cffi cmacros: Replace long sequences of spaces with a single space

2015-07-30 Thread arigo
Author: Armin Rigo Branch: cmacros Changeset: r2237:247fc2ae6f64 Date: 2015-07-30 18:28 +0200 http://bitbucket.org/cffi/cffi/changeset/247fc2ae6f64/ Log:Replace long sequences of spaces with a single space diff --git a/cffi/cparser.py b/cffi/cparser.py --- a/cffi/cparser.py +++ b/cffi/cparse