Re: [perl #42430] [PATCH] make :vtable imply :method

2007-04-14 Thread Alek Storm
On 4/11/07, chromatic <[EMAIL PROTECTED]> wrote: Allison's right about method visibility outside of the vtable, and throwing :anon on there seems a little hacky. Is this a behavior problem or a syntax problem? IIUC, putting :anon on a sub makes it inaccessible only through the namespace - th

[svn:parrot-pdd] r18216 - in trunk: docs docs/pdds/draft lib/Parrot src src/jit/i386 src/jit/sun4 t/tools

2007-04-14 Thread chromatic
Author: chromatic Date: Sat Apr 14 20:31:19 2007 New Revision: 18216 Modified: trunk/docs/pdds/draft/pddXX_pmc.pod Changes in other areas also in this revision: Modified: trunk/docs/vtables.pod trunk/lib/Parrot/Pmc2c.pm trunk/lib/Parrot/Vtable.pm trunk/src/hll.c trunk/src/jit/i3

[perl #39851] [BUG] .HLL doesn't reset the .namespace

2007-04-14 Thread Allison Randal via RT
Fixed in r18215.

Re: Configure.pl: Question about block calling arrot::Configure::runstep()

2007-04-14 Thread James Keenan
On Apr 14, 2007, at 7:18 PM, Patrick R. Michaud wrote: On Sat, Apr 14, 2007 at 06:41:19PM -0400, James Keenan wrote: I am trying to determine the purpose of a certain block of code in Configure.pl. In the most recent version in trunk, we find: ... My questions are: 1. If you've already conf

Re: [perl #42509] [PATCH] Quiet some warnings under -ansi -pedantic

2007-04-14 Thread Steve Peters
On Sat, Apr 14, 2007 at 11:05:27PM +0100, Jonathan Worthington wrote: > Hi, > > I just backed out one small part of this patch because it broke the > build using MS VC++ on Win32. > > Steve Peters (via RT) wrote: > >ndex: src/exec_save.c > >===

[svn:parrot-pdd] r18213 - trunk/docs/pdds

2007-04-14 Thread allison
Author: allison Date: Sat Apr 14 17:06:35 2007 New Revision: 18213 Modified: trunk/docs/pdds/pdd15_objects.pod Log: [pdd]: Add clarification of get_class behavior with various different types of arguments. Modified: trunk/docs/pdds/pdd15_objects.pod ==

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

2007-04-14 Thread allison
Author: allison Date: Sat Apr 14 17:00:11 2007 New Revision: 18212 Modified: trunk/docs/pdds/draft/pdd17_basic_types.pod Log: [pdd]: Adding some questions about PMC role composition from IRC. Modified: trunk/docs/pdds/draft/pdd17_basic_types.pod ==

Re: Configure.pl: Question about block calling arrot::Configure::runstep()

2007-04-14 Thread Patrick R. Michaud
On Sat, Apr 14, 2007 at 06:41:19PM -0400, James Keenan wrote: > I am trying to determine the purpose of a certain block of code in > Configure.pl. In the most recent version in trunk, we find: > ... > My questions are: > > 1. If you've already configured, why would you want to add another >

Re: modifying classes after they're instantiated

2007-04-14 Thread Bob Rogers
From: "Alek Storm" <[EMAIL PROTECTED]> Date: Thu, 12 Apr 2007 21:55:34 -0500 On 4/11/07, Allison Randal <[EMAIL PROTECTED]> wrote: > They might not clone their classes from the user perspective, but > internally it's the only truly safe way to modify a class that already > has o

Re: Limiting Exported Symbols on GCC

2007-04-14 Thread Joshua Hoblitt
On Thu, Apr 12, 2007 at 04:56:15PM +0200, [EMAIL PROTECTED] wrote: > On Thu, Apr 12, 2007 at 09:13:14AM -0500, Steve Peters wrote: > > On Thu, Apr 12, 2007 at 01:37:24PM +0200, Ron Blaschke wrote: > > > While poking the GCC documentation I found that there's a feature > > > available to limit the

Configure.pl: Question about block calling arrot::Configure::runstep()

2007-04-14 Thread James Keenan
I am trying to determine the purpose of a certain block of code in Configure.pl. In the most recent version in trunk, we find: if ( exists $args{step} ) { $conf->data()->slurp(); $conf->runstep( $args{step} ); print "\n"; exit(0); } else { # Run

Re: [perl #42509] [PATCH] Quiet some warnings under -ansi -pedantic

2007-04-14 Thread Jonathan Worthington
Hi, I just backed out one small part of this patch because it broke the build using MS VC++ on Win32. Steve Peters (via RT) wrote: ndex: src/exec_save.c === --- src/exec_save.c (revision 18179) +++ src/exec_save.c (workin

Re: [perl #42510] Move main() Out of compilers/imcc/main.c

2007-04-14 Thread chromatic
On Saturday 14 April 2007 12:44, chromatic wrote: > The attached patch moves only the main() function out of > compilers/imcc/main.c into src/main.c. There's a lot more work to do to > clean up this mess, including RT #37248. If you want a patch that compiles, try instead this one. Note that it

[perl #42510] Move main() Out of compilers/imcc/main.c

2007-04-14 Thread via RT
# New Ticket Created by chromatic # Please include the string: [perl #42510] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=42510 > The attached patch moves only the main() function out of compilers/imcc/main.c into src/ma

Re: [perl #41894] segfault happens when invoking poll op

2007-04-14 Thread Joshua Isom
On Apr 14, 2007, at 7:44 AM, Jonathan Worthington wrote: Hi, This patch broke the build on some platforms (Win32 with MSVC++ included). INTVAL PIO_poll(Interp *interp, PMC *pmc, INTVAL which, INTVAL sec, INTVAL usec) { +if (pmc == PMCNULL) { + real_exception(interp, NULL, E_Valu

[perl #39784] Make Parrot's default namespace be untyped

2007-04-14 Thread Allison Randal via RT
On Mon Jul 10 17:25:13 2006, chip wrote: > Parrot's default namespace implementation should be 100% untyped -- > basically just a hash with some additional methods. > > Making this happen requires solving the problem of Parrot's currently > requiring classes and class method namespaces to have the

Re: [perl #42509] [PATCH] Quiet some warnings under -ansi -pedantic

2007-04-14 Thread chromatic
On Saturday 14 April 2007 09:17, Steve Peters wrote: > # New Ticket Created by Steve Peters > # Please include the string: [perl #42509] > # in the subject line of all future correspondence about this issue. > # http://rt.perl.org/rt3/Ticket/Display.html?id=42509 > Thanks, applied as r18204. -

[perl #42509] [PATCH] Quiet some warnings under -ansi -pedantic

2007-04-14 Thread via RT
# New Ticket Created by Steve Peters # Please include the string: [perl #42509] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=42509 > ndex: src/exec_save.c ==

[perl #42508] [CAGE] cleanup pmc null tests

2007-04-14 Thread via RT
# New Ticket Created by Jerry Gay # Please include the string: [perl #42508] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=42508 > in #41894, a patch was applied with a test like: pmc == PMCNULL the preferred way of tes

Re: [perl #41894] segfault happens when invoking poll op

2007-04-14 Thread Jonathan Worthington
Hi, This patch broke the build on some platforms (Win32 with MSVC++ included). INTVAL PIO_poll(Interp *interp, PMC *pmc, INTVAL which, INTVAL sec, INTVAL usec) { +if (pmc == PMCNULL) { + real_exception(interp, NULL, E_ValueError, "Can't poll NULL pmc"); +} ParrotIOLayer * co