Re: Extending Parrot NCI callback functionality

2008-01-20 Thread Allison Randal
chromatic wrote: On Friday 18 January 2008 20:25:16 Allison Randal wrote: It's true that the generalized solution for varying callback signatures doesn't exist yet, but it's easy enough to create your own C callback layer, with a separate C function for each callback you need. (Note, not one-pe

Re: Crazy NCI Callback Solution Idea

2008-01-20 Thread Allison Randal
chromatic wrote: Here's my crazy idea. When you register a callback into PIR from C, you need to pass a few arguments: the interpreter into which to call, the PMC Sub to call, and the C signature of the C function which gets called from C. I presume that the PIR function will get called thro

[perl #50018] [BUG] rakudo segfaults after "No scope found for PAST::Var" error

2008-01-20 Thread via RT
binuwGK8zseFj.bin Description:

[svn:parrot-pdd] r25030 - in trunk: . docs/pdds/draft

2008-01-20 Thread simon
Author: simon Date: Sat Jan 19 21:55:18 2008 New Revision: 25030 Added: trunk/docs/pdds/draft/pdd28_character_sets.pod (contents, props changed) Changes in other areas also in this revision: Modified: trunk/MANIFEST trunk/MANIFEST.SKIP Log: [docs] A start on the charsets PDD. Will wri

[perl #50010] [BUG]: make failure: conflicting types for 'Parrot_set_executable_name'

2008-01-20 Thread James Keenan via RT
On Sat Jan 19 21:05:32 2008, petdance wrote: > > On Jan 19, 2008, at 10:59 PM, James Keenan via RT wrote: > > > Occurs on Darwin as well: r25026. > > This should be OK now. I fixed the prototype. > Yes, make is now passing on both Linux and Darwin. Thanks.

[perl #50004] README refers to missing Reporting Problems section in intro.pod

2008-01-20 Thread Will Coleda via RT
Thanks for the ticket. Updated README (r25035) to point to a section in submissions.pod which serves a similar purpose to the missing documention.

[perl #48142] [DEPRECATED] class_type vtable

2008-01-20 Thread Paul Cochrane via RT
On Tue Dec 04 20:12:24 2007, coke wrote: > From PDD17: > > =item class_type > >INTVAL class_type(INTERP, PMC* self) > > Return the integer type of the PMC. [NOTE: will be deprecated when type > IDs are deprecated.] The attached patch removes this vtable entry. The only thing still which s

[perl #42375] [TODO] deprecate pmcinfo op

2008-01-20 Thread Paul Cochrane via RT
On Sat Jan 12 04:42:26 2008, allison wrote: > This opcode has been superseded by 'inspect'. The pmcinfo opcode is removed by the attached patch. I would have committed this directly however, I'm not 100% sure that removing the: 'Class PMCs also have the "I am a class" flag set on them.' test was

[perl #48024] [DEPRECATED] type ids

2008-01-20 Thread Paul Cochrane via RT
Completed as per r25053.

Re: [perl #48260][PATCH] - compilers/imcc/main.c

2008-01-20 Thread ajr
The attached patch should quieten some of the grumbling. It's entirely comments, so should not have any functional impact. -- Email and shopping with the feelgood factor! 55% of income to good causes. http://www.ippimail.com

Re: [perl #48260][PATCH] - compilers/imcc/main.c

2008-01-20 Thread Paul Cochrane
Alan, > The attached patch should quieten some of the grumbling. It's entirely > comments, so should not have any functional impact. The patch wasn't attached. Could you try again? Thanks, Paul

Instance and Class disambiguation?

2008-01-20 Thread Ovid
If I call this: if $class.^can('wibble') { ... } Does Perl 6 return false if that's only an instance method? Will the WALK iterator returned by .^can return references to instance methods? Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Perl and CGI - http://users.ea

Re: [perl #49836] [BUG] segfault in ascii_compare

2008-01-20 Thread Will Coleda
On Jan 19, 2008 10:27 PM, chromatic <[EMAIL PROTECTED]> wrote: > On Saturday 19 January 2008 19:20:22 Will Coleda via RT wrote: > > > Original command line has a slight red herring: the duplicated file name is > > irrelevant: > > > > ./tclsh t/cmd_after.t > > > > causes the same issue. (chromatic++

[svn:parrot-pdd] r25067 - trunk/docs/pdds/draft

2008-01-20 Thread allison
Author: allison Date: Sun Jan 20 12:43:51 2008 New Revision: 25067 Modified: trunk/docs/pdds/draft/pdd09_gc.pod Log: [pdd] A full rehash of the GC PDD. Modified: trunk/docs/pdds/draft/pdd09_gc.pod == --- trunk/docs/p

[svn:parrot-pdd] r25069 - in trunk: . docs/pdds docs/pdds/draft

2008-01-20 Thread allison
Author: allison Date: Sun Jan 20 12:52:42 2008 New Revision: 25069 Added: trunk/docs/pdds/pdd09_gc.pod - copied unchanged from r25067, /trunk/docs/pdds/draft/pdd09_gc.pod Removed: trunk/docs/pdds/draft/pdd09_gc.pod Changes in other areas also in this revision: Modified: trunk/MANIF

Re: [perl #48260][PATCH] - compilers/imcc/main.c

2008-01-20 Thread ajr
Sorry, finger trouble with the mailer lost the attachment. I will try again later. -- Email and shopping with the feelgood factor! 55% of income to good causes. http://www.ippimail.com

mod_parrot 0.4

2008-01-20 Thread Jeff Horwitz
From my journal: I'm pleased to announce that after 2 years of hiatus and 6 months of coding, mod_parrot 0.4 has been released. It's been worth the wait, as we now have working mod_perl6 and PHP proof-of-concepts, per-vhost interpreter pools, the framework for a more comprehensive test suite,

[perl #50032] rakudo's "make spectest" complains about missing util/fudgeall

2008-01-20 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #50032] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=50032 > in languages/perl6/ the command "make spectest" complains about util/fudgeall which can't

GC PDD launched

2008-01-20 Thread Allison Randal
I've launched the GC PDD out of draft. Comments and suggestions welcome. Allison

Re: [perl #50032] rakudo's "make spectest" complains about missing util/fudgeall

2008-01-20 Thread jerry gay
On Jan 20, 2008 1:23 PM, via RT Moritz Lenz <[EMAIL PROTECTED]> wrote: > # New Ticket Created by Moritz Lenz > # Please include the string: [perl #50032] > # in the subject line of all future correspondence about this issue. > # http://rt.perl.org/rt3/Ticket/Display.html?id=50032 > > > > in langu

Perl 6 wiki: (new) "Perl 6 Marketplace" and "Perl 6 Books and Media"

2008-01-20 Thread Conrad Schneiker
Latest changes below. As always, your contributions are solicited. (You can send me info if you don't have time to add it yourself.) >> New: "Perl 6 Marketplace" (for products, services, training, off-wiki job info) http://www.perlfoundation.org/perl6/index.cgi?perl_6_marketplace "Perl 6 Books a

Re: [perl #42375] [TODO] deprecate pmcinfo op

2008-01-20 Thread Allison Randal
Paul Cochrane via RT wrote: On Sat Jan 12 04:42:26 2008, allison wrote: This opcode has been superseded by 'inspect'. The pmcinfo opcode is removed by the attached patch. I would have committed this directly however, I'm not 100% sure that removing the: 'Class PMCs also have the "I am a class

Re: [perl #50010] [BUG]: make failure: conflicting types for 'Parrot_set_executable_name'

2008-01-20 Thread Matisse Enzer
On Jan 20, 2008, at 5:48 AM, James Keenan via RT wrote: On Sat Jan 19 21:05:32 2008, petdance wrote: On Jan 19, 2008, at 10:59 PM, James Keenan via RT wrote: Occurs on Darwin as well: r25026. This should be OK now. I fixed the prototype. Yes, make is now passing on both Linux and Darwi

Re: [perl #50038] [BUG] t/src/extend.t failing

2008-01-20 Thread chromatic
On Sunday 20 January 2008 19:04:12 James Keenan wrote: > Failed at r25076. Here's the output of 'prove -v' on i386-inux. I > got similar failures on ppc-darwin. AFAICT, these developed in last > 24 hours. It'll fail everywhere; the culprit is r25029. These headers and declarations are messy.

[perl #50038] [BUG] t/src/extend.t failing

2008-01-20 Thread via RT
# New Ticket Created by James Keenan # Please include the string: [perl #50038] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=50038 > Failed at r25076. Here's the output of 'prove -v' on i386-inux. I got similar failur

Re: [perl #50032] rakudo's "make spectest" complains about missing util/fudgeall

2008-01-20 Thread Patrick R. Michaud
On Sun, Jan 20, 2008 at 03:06:34PM -0800, jerry gay wrote: > > looks to me like the 'clean' target in the makefile should delete the > t/spec directory (it doesn't currently.) I don't think that 'make clean' should remove t/spec. Because we now grab t/spec via 'svn co', someone might have local

[perl #48024] [DEPRECATED] type ids

2008-01-20 Thread Will Coleda via RT
On Sun Jan 20 08:57:52 2008, ptc wrote: > Completed as per r25053. The ticket is for removing the ability to do this, not merely removing the instances where it is done. Re-opening ticket; Thanks for all the cleanup work, however, that should make it easier to rip out the actual code.

[perl #49836] [BUG] segfault in ascii_compare

2008-01-20 Thread Will Coleda via RT
On Sun Jan 20 13:17:03 2008, coke wrote: > On Jan 19, 2008 10:27 PM, chromatic <[EMAIL PROTECTED]> wrote: > > On Saturday 19 January 2008 19:20:22 Will Coleda via RT wrote: > > > > > Original command line has a slight red herring: the duplicated > file name is > > > irrelevant: > > > > > > ./tclsh

[perl #50038] [BUG] t/src/extend.t failing

2008-01-20 Thread James Keenan via RT
On Sun Jan 20 19:15:49 2008, [EMAIL PROTECTED] wrote: > > It'll fail everywhere; the culprit is r25029. > ... and that revision was the fix proposed for RT 50010.

Re: [svn:parrot] r25075 - in trunk/languages/perl6/src: builtins classes

2008-01-20 Thread Patrick R. Michaud
On Sun, Jan 20, 2008 at 04:36:37PM -0800, [EMAIL PROTECTED] wrote: > Modified: trunk/languages/perl6/src/builtins/list.pir > [...] > Modified: trunk/languages/perl6/src/classes/List.pir FWIW, I think that the both the method version and the global subroutine wrapper should be placed in classes/Lis

Re: [svn:parrot] r25072 - trunk/languages/perl6/src/classes

2008-01-20 Thread Patrick R. Michaud
On Sun, Jan 20, 2008 at 03:34:33PM -0800, [EMAIL PROTECTED] wrote: > test = exists self[ind] > if test == 0 goto false >true: > res = get_hll_global ['Bool'], 'True' > goto done >false: > res = get_hll_global ['Bool'], 'False' > goto done >done: > .ret

Re: [svn:parrot] r25070 - in trunk/languages/perl6/src: builtins classes

2008-01-20 Thread Patrick R. Michaud
[Oops, I meant this to go to perl6-compiler. --Pm] On Sun, Jan 20, 2008 at 01:33:30PM -0800, [EMAIL PROTECTED] wrote: > +.sub keys :multi('List') > + .param pmc list > + .local pmc res > + > + res = list.'keys'() > + > + .return(res) > +.end Better is to use a tailcall: .sub 'keys' :mul

Re: [perl #48142] [DEPRECATED] class_type vtable

2008-01-20 Thread Will Coleda
On Jan 20, 2008 10:33 AM, Paul Cochrane via RT <[EMAIL PROTECTED]> wrote: > If this patch is ok, please say so, otherwise I'll apply it in three days. Mission Control: Buckaroo, The White House wants to know is everything OK with the alien space craft from Planet 10 or should we just go ahead and

Re: [perl #50002] [PATCH] Merge src/objects.c Into src/oo.c

2008-01-20 Thread Will Coleda
On Jan 19, 2008 10:28 PM, via RT chromatic <[EMAIL PROTECTED]> wrote: > Because this patch is large and in charge, I'd like to hear some success > reports from a couple of non-x86 and non-Linux platforms before I commit it. > > -- c osx/x86 has no new failures with this patch applied. -- Will "C

[perl #39196] [TODO] tests - need to test addmethod

2008-01-20 Thread Will Coleda via RT
On Fri Jan 11 13:25:21 2008, [EMAIL PROTECTED] wrote: > On Wed Feb 21 05:47:29 2007, kjs wrote: > > On Wed May 24 05:26:22 2006, coke wrote: > > > New addmethod opcode needs tests. > > > > > > -- > > > Will "Coke" Coleda > > > [EMAIL PROTECTED] > > > > > > > > Attached a patch that adds a test f

Re: Instance and Class disambiguation?

2008-01-20 Thread Jonathan Lang
Ovid wrote: > If I call this: > > if $class.^can('wibble') { ... } > > Does Perl 6 return false if that's only an instance method? Will the > WALK iterator returned by .^can return references to instance methods? As I understand it, Perl 6 generally doesn't bother with the class-vs-instance dis

[svn:perl6-synopsis] r14492 - doc/trunk/design/syn

2008-01-20 Thread pmichaud
Author: pmichaud Date: Sun Jan 20 21:23:36 2008 New Revision: 14492 Modified: doc/trunk/design/syn/S29.pod Log: Update location of S29 to point to new repositories (the old openfoundry.org address is way out of date). Reported by diakopter++ . Modified: doc/trunk/design/syn/S29.pod =

[perl #50046] [BUG] Parrot::Distribution ignores PIR files in t/

2008-01-20 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #50046] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=50046 > pir_source_files in Parrot::Distribution is only looking for *.pir files: this skips all

[perl #49836] [BUG] segfault in ascii_compare

2008-01-20 Thread Will Coleda via RT
Spent some more time trying to track this down. On OSX/86, I was able to reproduce the segfault with much less tcl code: %cat foo.tcl after 10 %./tclsh foo.tcl if I ran: %../../parrot -G tcl.pbc foo.tcl The segfault goes away, which smells like a GC issue. However, I can't duplicate it with