Re: Fatal/autodie exception hierarchies for Perl 5

2008-06-08 Thread Paul Fenwick
G'day Josh / p5p / p6l, given ($@) { # [snip] default{ say "Not an autodie exception." } } If you're going to write that into some documentation, I wish you'd make default say that it's exception suicide. The documentation clearly needs

[perl #36695] [CAGE] t/src failures after make shared

2008-06-08 Thread James Keenan via RT
On Sun Jun 08 19:12:06 2008, coke wrote: > > I take this to mean `perl Configure.pl --parrot_is_shared`. > Okay. I just ran that command, then ran 'make' and 'make test'. Everything passed. There were no significant differences in the output between this run and my last without that option.

[perl #52894] [CAGE] use more File::Temp to avoid permission issues

2008-06-08 Thread James Keenan via RT
On Sun Jun 08 17:57:56 2008, [EMAIL PROTECTED] wrote: > Patch applied in r28188. Will resolve ticket if no one complains within > 1-2 days. Thanks, Andy. I had no problems running the two existing step tests for this step via 'prove -v t/steps/auto_perldoc*.t. But I got this warning when runnin

Re: [perl #40059] [CAGE] Fix symbol table namespace pollution

2008-06-08 Thread Will Coleda
On Sun, Jun 8, 2008 at 9:47 PM, James Keenan via RT <[EMAIL PROTECTED]> wrote: > On Thu Aug 03 11:58:02 2006, chip wrote: >> Extern functions and variables must have names that begin with C. > > > Do we indeed have any extern functions or variables whose names do not > begin with C? How would one

Re: [perl #36695] [CAGE] t/src failures after make shared

2008-06-08 Thread Will Coleda
On Sun, Jun 8, 2008 at 9:28 PM, James Keenan via RT <[EMAIL PROTECTED]> wrote: > On Fri Jul 29 23:36:12 2005, [EMAIL PROTECTED] wrote: > >> --- >> After running make shared, make test fails nearly all of the t/src >> tests with errors like the following: >> # Failed test (t/src/exit.t at line 2

Re: [perl #46593] [PATCH] better documentation on parameter passing

2008-06-08 Thread chromatic
On Sunday 21 October 2007 08:24:40 Bram Geron wrote: > I think attached patch clarifies parameter passing a little. Agreed. I applied the comment-only portions as r28190. -- c

[perl #40059] [CAGE] Fix symbol table namespace pollution

2008-06-08 Thread James Keenan via RT
On Thu Aug 03 11:58:02 2006, chip wrote: > Extern functions and variables must have names that begin with C. Do we indeed have any extern functions or variables whose names do not begin with C? How would one determine this? Could this be converted into a coding standards test? kid51

[perl #41168] [CAGE] graceful "no compiler" error message?

2008-06-08 Thread James Keenan via RT
On Sun Feb 24 17:38:36 2008, [EMAIL PROTECTED] wrote: > Somewhat apropos the discussion in this old ticket, tonight I noticed > the following code in config/inter/progs.pm: > > > sub cc_run { Correction: cc_run() is defined in lib/Parrot/Configure/Compiler.pm.

[perl #36695] [CAGE] t/src failures after make shared

2008-06-08 Thread James Keenan via RT
On Fri Jul 29 23:36:12 2005, [EMAIL PROTECTED] wrote: > --- > After running make shared, make test fails nearly all of the t/src > tests with errors like the following: > # Failed test (t/src/exit.t at line 21) > # got: './t/src/exit_1: error while loading shared libraries: I don't s

[perl #41912] [CAGE] survey tools/ dir for unused, old, or broken code, and remove or fix as necessary

2008-06-08 Thread James Keenan via RT
On Fri Apr 27 19:39:01 2007, [EMAIL PROTECTED] wrote: > > Here's a bit of information about tools/dev/*.pl: last revision for > each script > Here are the results of the same search run today: svn status -v tools/dev/*.pl | tr -s ' ' | sort -t ' ' -k 7 -k 12 | cut -d ' ' -f 3,5 18810 tools/d

[perl #51718] [CAGE] Consolidate test infrastructure in t/codingstd and t/distro

2008-06-08 Thread James Keenan via RT
On Tue Mar 18 12:27:52 2008, [EMAIL PROTECTED] wrote: But I > think this ticket should stay open, as there are still more codingstd > tests to convert, and I haven't even looked at t/distro yet. > > Mark > Mark: What with our Parrot buildfest workshop at YAPC coming up within a fortnight, this

[perl #52894] [CAGE] use more File::Temp to avoid permission issues

2008-06-08 Thread James Keenan via RT
Patch applied in r28188. Will resolve ticket if no one complains within 1-2 days. Thanks, Andy.

[perl #55492] [PATCH] partial implementation of transliteration

2008-06-08 Thread via RT
# New Ticket Created by Chris Fields # Please include the string: [perl #55492] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=55492 > Attached is a partial PIR-based implementation of trans() for Str.pir (for translitera

Re: Fatal/autodie exception hierarchies for Perl 5

2008-06-08 Thread Joshua ben Jore
On Sun, Jun 1, 2008 at 7:31 PM, Paul Fenwick <[EMAIL PROTECTED]> wrote: > Currently, when testing exceptions from autodie, we can use: > >given ($@) { >when (undef) { say "No errors here" } >when ('open') { say "Open died" } >when (':file')

clarification on samecase() and samebase()

2008-06-08 Thread Moritz Lenz
Hi all, Auzon has written a few tests for the samecase() and samebase() (S29), which raised a question: For both the :samecase and there :samebase regex modifier (S05) there is a "dumb" and a "smart" version. S29 is silent about which it refers to. Should both have a second, optional argument wh

[perl #55482] [PATCH] Implementation of List.min and List.max

2008-06-08 Thread via RT
# New Ticket Created by Vasily Chekalkin # Please include the string: [perl #55482] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=55482 > Hello. There is implementation of List.min and List.max -- Bacek diff --git a/lan

Re: yada yada yada in regex

2008-06-08 Thread Daniel Ruoso
Sáb, 2008-06-07 às 16:01 +0200, Stéphane Payrard escreveu: > what is the equivalent convention for yadayadayada in regex. Cuz ... > is alread meaningful in regex. Should I use <...> or {...} ? > Should the first be predefined? If I understand correctly, {...} should already be parsed as a yada y

[perl #55484] [PATCH] Improved List.uniq

2008-06-08 Thread via RT
# New Ticket Created by Vasily Chekalkin # Please include the string: [perl #55484] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=55484 > Hello. Implements subroutine form of uniq and specifying own comparator. BTW, List

[PATCH] Implementation of List.min and List.max

2008-06-08 Thread Vasily Chekalkin
Hello. There is implementation of List.min and List.max attached. -- Bacek

Re: Parrot at YAPC::NA::2008 in Chicago June 16-18

2008-06-08 Thread James E Keenan
James E Keenan wrote: A couple of points about YAPC: I've started a page on the YAPC Conference Wiki to provide YAPC attendees with information about our Parrot/Rakudo Buildfest. http://conferences.mongueurs.net/yn2008/wiki?node=Parrot%20and%20Perl%206%20Workshop Those of us who are organ

[perl #55304] [PATCH] eval_(dies|lives)_ok methods for rakudo's Test.pm, and more tests

2008-06-08 Thread Vasily Chekalkin via RT
On Sat Jun 07 07:13:07 2008, ronaldxs wrote: Probably I don't understand correctly your question. This is output from my version of patched rakudo: $ ../../parrot perl6.pbc > eval 'my $x = 2; $x = $x / 0; say $x;'; say 'eval exception ', $!; eval exception Divide by zero Is it what you want? -

Foo.HOW.metamethod vs Foo.^metamethod

2008-06-08 Thread Daniel Ruoso
Hi, When implementing prototype OO, the HOW for objects with different behaviours will be shared. This issue is not new, but before we thought that it would be possible to solve that by forcing $foo.HOW to be a proxy object that would rewrite the call putting $foo as the invocant. Me and nothingm

Re: [perl #55332] [BUG] can't build parrot on win32 + strawberry perl

2008-06-08 Thread François Perrad
2008/6/5 chromatic <[EMAIL PROTECTED]>: > > Look at get_length() in tools/build/c2str.pl. If that's the problem (and > it > looks like it is), that's the place to fix it. > The length computation (in c2str.pl) is correct. There are no missing make dependence. But looks like a missing make depend

yada yada yada in regex

2008-06-08 Thread Stéphane Payrard
what is the equivalent convention for yadayadayada in regex. Cuz ... is alread meaningful in regex. Should I use <...> or {...} ? Should the first be predefined? I want something that is a placeholder that parses but fails if someone pastes it. In other words the equivalent of a sub yada yada ya

[perl #55446] [BUG] Bug in handling variables.

2008-06-08 Thread via RT
# New Ticket Created by Vasily Chekalkin # Please include the string: [perl #55446] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=55446 > Hello. rakudo r28164 OUTPUT[1␤␤] rakudo: say (0+(defined $!)) xor 1; rakudo r281

Re: [perl #46593] [PATCH] better documentation on parameter passing

2008-06-08 Thread chromatic
On Sunday 21 October 2007 08:24:40 Bram Geron wrote: > I think attached patch clarifies parameter passing a little. > > Non-comment changes: > * enum call_state_mode becomes typedef'd call_state_mode > * call_state_item.mode becomes type call_state_mode instead of int > * call_state_item.sig bec

Re: [perl #47153] [PATCH][Review] Proposed change from PMC_IS_NULL to PMC_is_null

2008-06-08 Thread chromatic
On Sunday 04 November 2007 06:00:01 Ronald Blaschke wrote: > Parrot currently uses indirect DLL linkage, which means that exported > data, including PMCNULL, used by PMC_IS_NULL, can not be accessed. > Attached patch introduces a function PMC_is_null which should be used > instead. > An alte

Re: [perl #55154] [BUG] [PATCH] readline not detected in c++ build

2008-06-08 Thread chromatic
On Sunday 01 June 2008 04:00:34 NotFound wrote: > readline is not detected when building with C++, because the detection > and the usage code declares directly the functions used without C > linkage specification. > > This patch fixes the problem, and also do a minor cleaning in the > set_readline