[perl #58830] [BUG] && or defined and && bug

2008-09-13 Thread Vasily Chekalkin via RT
Hello. This is parsing bug. "say defined $a and defined %b{$a}" parsed as "(say defined $a) and defined %b{$a}" -- Bacek.

[perl #58812] Tcl Segfaults parrot

2008-09-13 Thread François PERRAD via RT
On Sat Sep 13 06:01:58 2008, coke wrote: > On Fri, Sep 12, 2008 at 10:54 PM, chromatic <[EMAIL PROTECTED]> wrote: > > On Friday 12 September 2008 19:48:30 Will Coleda wrote: > > > > > > Rough guess: you have a HLL type map before you load Tcl's dynpmcs. > If so, > > change the order of operations a

Re: [perl #58812] Tcl Segfaults parrot

2008-09-13 Thread chromatic
On Friday 12 September 2008 19:48:30 Will Coleda wrote: > After many weeks away from tcl, I tried to do a make test today > (r31046) and found a segfault. > > I can't easily generate PIR to narrow it down, because even the --pir > option is segfaulting. > > doing a build and just running "../../pa

Re: [svn:parrot] r31094 - branches/cygwin070patches/runtime/parrot/include

2008-09-13 Thread chromatic
On Saturday 13 September 2008 15:58:20 [EMAIL PROTECTED] wrote: > Author: rurban > Date: Sat Sep 13 15:58:20 2008 > New Revision: 31094 > > Modified: >branches/cygwin070patches/runtime/parrot/include/test_more.pir > > Log: > adopt pdd30 > > --- branches/cygwin070patches/runtime/parrot/include/

Re: [perl #56468] [TODO] use more VTABLE to avoid subclassing errors.

2008-09-13 Thread Vasily Chekalkin
chromatic wrote: On Saturday 13 September 2008 04:51:04 Vasily Chekalkin wrote: Another question: there is a lot of PMC_\S+_val accesses to Key pmc. Should they be replaced with VTABLE analogues as well? Or Key isn't supposed to be inherited by some other class and it will only sacrifice perfor

[perl #58840] [BUG] Parrot::Test Check for filehandle before comparing with eq to '/dev/null'

2008-09-13 Thread via RT
# New Ticket Created by Reini Urban # Please include the string: [perl #58840] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=58840 > --- osname= cygwin osvers= 1.5.25(0.15642) arch= cygwin-thread-multi-64int cc= gcc

Re: [svn:parrot] r31049 - in trunk: include/parrot languages/perl6/src/builtins languages/perl6/src/parser languages/perl6/t

2008-09-13 Thread Patrick R. Michaud
On Sat, Sep 13, 2008 at 01:55:05PM -0400, Will Coleda wrote: > >> > +CONTROL_TAKE > >> > } exception_type_enum; > >> > >> Tcl can currently deal with OK, CONTINUE, BREAK, ERROR, and RETURN. > >> > >> What's TAKE? > > > > TAKE is like CONTROL_RETURN except that it signals that we expect > >

Re: [svn:parrot] r31049 - in trunk: include/parrot languages/perl6/src/builtins languages/perl6/src/parser languages/perl6/t

2008-09-13 Thread Will Coleda
On Sat, Sep 13, 2008 at 10:52 AM, Patrick R. Michaud <[EMAIL PROTECTED]> wrote: > On Sat, Sep 13, 2008 at 09:09:58AM -0400, Will Coleda wrote: >> > --- trunk/include/parrot/exceptions.h (original) >> > +++ trunk/include/parrot/exceptions.h Fri Sep 12 21:05:37 2008 >> > @@ -87,7 +87,8 @@ >> >

Re: [perl #56468] [TODO] use more VTABLE to avoid subclassing errors.

2008-09-13 Thread chromatic
On Saturday 13 September 2008 04:51:04 Vasily Chekalkin wrote: > Another question: there is a lot of PMC_\S+_val accesses to Key pmc. > Should they be replaced with VTABLE analogues as well? Or Key isn't > supposed to be inherited by some other class and it will only sacrifice > performance? The

[perl #58726] [PATCH] add the option "encoding" to Configure.pl

2008-09-13 Thread James Keenan via RT
On Sat Sep 13 09:17:22 2008, [EMAIL PROTECTED] wrote: > > > Also, your patch causes two tests in t/steps/auto_icu-01.t to fail. > > You are right. I forget to change the tests according. > If the change to "config/auto/icu.pm" should be applied the tests > should > also be changed. > > for exam

[perl #58660] [PATCH] pbc_merge messes up line numbers

2008-09-13 Thread Bob Rogers
Fixed in r31070. -- Bob 2008-09-13 12:15:48: revision: 31070; author: rgrjr * src/pbc_merge.c: + (pbc_merge_debugs): Fix off-by-one error in mapping update (RT#586

Re: [perl #58726] [PATCH] add the option "encoding" to Configure.pl

2008-09-13 Thread Gerd Pokorra
Am Samstag, den 13.09.2008, 15:02 +0200 schrieb James Keenan via RT: > > Can you explain a bit more about the rationale for adding this option to > Configure.pl? > I think I is necessary to tell parrot to work on a computer with utf-8 encoding also with the same encoding, so that for example the

Re: [svn:parrot] r31049 - in trunk: include/parrot languages/perl6/src/builtins languages/perl6/src/parser languages/perl6/t

2008-09-13 Thread Patrick R. Michaud
On Sat, Sep 13, 2008 at 09:09:58AM -0400, Will Coleda wrote: > > --- trunk/include/parrot/exceptions.h (original) > > +++ trunk/include/parrot/exceptions.h Fri Sep 12 21:05:37 2008 > > @@ -87,7 +87,8 @@ > > CONTROL_OK, > > CONTROL_BREAK, > > CONTROL_CONTINUE, > > -

Re: [perl #58812] Tcl Segfaults parrot

2008-09-13 Thread Will Coleda
On Sat, Sep 13, 2008 at 9:33 AM, François PERRAD via RT <[EMAIL PROTECTED]> wrote: > On Sat Sep 13 06:01:58 2008, coke wrote: >> On Fri, Sep 12, 2008 at 10:54 PM, chromatic <[EMAIL PROTECTED]> wrote: >> > On Friday 12 September 2008 19:48:30 Will Coleda wrote: >> > >> > >> > Rough guess: you have a

[perl #58636] Must Instantiate Class PMCs Before Using Them in HLL Mappings

2008-09-13 Thread Will Coleda via RT
On Sat Sep 13 06:37:12 2008, coke wrote: > Merged the two relevant tickets. -- Will "Coke" Coleda

Re: [svn:parrot] r31049 - in trunk: include/parrot languages/perl6/src/builtins languages/perl6/src/parser languages/perl6/t

2008-09-13 Thread Will Coleda
On Sat, Sep 13, 2008 at 12:05 AM, <[EMAIL PROTECTED]> wrote: > Author: tene > Date: Fri Sep 12 21:05:37 2008 > New Revision: 31049 > > Modified: > trunk/include/parrot/exceptions.h > trunk/languages/perl6/src/builtins/control.pir > trunk/languages/perl6/src/parser/actions.pm > trunk/langua

[perl #58726] [PATCH] add the option "encoding" to Configure.pl

2008-09-13 Thread James Keenan via RT
On Sat Sep 13 05:13:50 2008, [EMAIL PROTECTED] wrote: > Hello, > > I am sorry for the late response. I was some days offline. The patch is > now in a single patch file (generated with svn diff) and extended a > little bit. > Gerd: Thanks for your patch. For future reference: There's no need

Re: [perl #58812] Tcl Segfaults parrot

2008-09-13 Thread Will Coleda
On Fri, Sep 12, 2008 at 10:54 PM, chromatic <[EMAIL PROTECTED]> wrote: > On Friday 12 September 2008 19:48:30 Will Coleda wrote: > >> After many weeks away from tcl, I tried to do a make test today >> (r31046) and found a segfault. >> >> I can't easily generate PIR to narrow it down, because even t

Re: [perl #58726] [PATCH] add the option "encoding" to Configure.pl

2008-09-13 Thread Mark J. Reed
If it's a single patch file, why did you still attach it as a tar? On 9/13/08, Gerd Pokorra <[EMAIL PROTECTED]> wrote: > Hello, > > I am sorry for the late response. I was some days offline. The patch is > now in a single patch file (generated with svn diff) and extended a > little bit. > > Gerd

[perl #58726] [PATCH] add the option "encoding" to Configure.pl

2008-09-13 Thread Gerd Pokorra
Hello, I am sorry for the late response. I was some days offline. The patch is now in a single patch file (generated with svn diff) and extended a little bit. Gerd Pokorra patch.tar Description: Unix tar archive

Re: [perl #56468] [TODO] use more VTABLE to avoid subclassing errors.

2008-09-13 Thread Vasily Chekalkin
Hello. Another question: there is a lot of PMC_\S+_val accesses to Key pmc. Should they be replaced with VTABLE analogues as well? Or Key isn't supposed to be inherited by some other class and it will only sacrifice performance? -- Bacek.

Re: throw oddities in pdd23

2008-09-13 Thread Stephen Weeks
Not long ago, Patrick R. Michaud proclaimed... > Personally I like the idea that "any PMC can be thrown as an > exception", which would seem to argue against forcing resume > continuations into the thrown PMC (which might not have a slot > for them). So, rather than saying that anything thrown as

Re: [perl #46681] [TODO] [C] Use strerror_r instead of strerror

2008-09-13 Thread Christoph Otto
After looking around Parrot and realizing that there were several other places where strerror is used, I'm trying a different approach. The attached patch adds config/gen/platform/generic/strerror.c, which contains a new function Parrot_strerror. This is just a wrapper to abstract away the non