Re: Why IMCC Leaks Memory and How You Can Help Fix It

2008-02-03 Thread Andy Lester
While we're at it, how about the horror of delete_ins() being told whether it should be freeing its argument? -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: Why IMCC Leaks Memory and How You Can Help Fix It

2008-02-03 Thread Andy Lester
On Feb 4, 2008, at 12:44 AM, chromatic wrote: SymReg * r = _get_sym_typed(hsh, name, t); if (r) { free(name); return r; } It's really saying "If I don't need a copy, then free what I assume is a copy", rather than "If I need a copy,

Why IMCC Leaks Memory and How You Can Help Fix It

2008-02-03 Thread chromatic
IMCC has a fair few memory leaks, and most of them come (eventually) from calls to str_dup(). Why are there so many calls to str_dup()? Look in compilers/imcc/symreg.c at _mk_symreg(). This function takes a parameter, char *name. Here's the funny part: SymReg * r = _get_sym_typed(hs

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

2008-02-03 Thread kjs
Author: kjs Date: Sun Feb 3 10:49:02 2008 New Revision: 25478 Modified: trunk/docs/pdds/pdd26_ast.pod Log: [pdd26] add description of :scope('attribute') Modified: trunk/docs/pdds/pdd26_ast.pod == --- trunk/docs/pdds

Re: [svn:parrot] r25208 - trunk/src

2008-02-03 Thread Bob Rogers
From: chromatic <[EMAIL PROTECTED]> Date: Sun, 3 Feb 2008 13:51:05 -0800 On Sunday 03 February 2008 11:15:38 Bob Rogers wrote: > The first 3/4 of this should get fleshed out and added to the docs, > which I'd be happy to do. Is docs/running.pod a good place? A few bits may be

[perl #50520] [PATCH][NQP] method call and =:= tests

2008-02-03 Thread via RT
# New Ticket Created by Zev Benjamin # Please include the string: [perl #50520] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=50520 > See attached. Zev Index: t/26-method_ops.t ===

[perl #50518] Is the "rpms" target dead?

2008-02-03 Thread via RT
# New Ticket Created by Bob Rogers # Please include the string: [perl #50518] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=50518 > I notice that config/gen/makefiles/root.in has the following target: rpms : re

[perl #50508] [PATCH] evaluate the first child of a PAST::Var :scope('attribute') as the object

2008-02-03 Thread via RT
# New Ticket Created by Klaas-Jan Stol # Please include the string: [perl #50508] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=50508 > hi, earlier today I sent a proposal to add a :scope type ('attribute') to PAST::Var n

[perl #50500] [PROPOSAL][PAST] add PAST::Var :scope('attribute')

2008-02-03 Thread via RT
# New Ticket Created by Klaas-Jan Stol # Please include the string: [perl #50500] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=50500 > PAST::Var nodes have a required attribute :scope, which can take one of the following

Re: [svn:parrot] r25208 - trunk/src

2008-02-03 Thread chromatic
On Sunday 03 February 2008 11:15:38 Bob Rogers wrote: > The first 3/4 of this should get fleshed out and added to the docs, > which I'd be happy to do. Is docs/running.pod a good place? A few bits may be technical enough to belong under docs/dev/ somewhere, but docs/running.pod is definitely a

Re: [svn:parrot] r25208 - trunk/src

2008-02-03 Thread Bob Rogers
From: chromatic <[EMAIL PROTECTED]> Date: Fri, 25 Jan 2008 11:03:12 -0800 On Friday 25 January 2008 07:46:32 Andy Lester wrote: > On Jan 25, 2008, at 2:16 AM, chromatic wrote: > > Did you test this with make testC and make testj? > I'm unaware of testC and testj. So no. Ok

Re: [perl #50472] [RFE][PAST] register/result node referencing (or something)

2008-02-03 Thread Klaas-Jan Stol
I just popped in my mind that this really looks like some kind of "with" statement semantics, which some languages have. Maybe it's worthwhile to have a PAST::Op( :pasttype('with') ) node, where the first child evaluates to some object, on which the 2nd..nth children are operating. Not sure if th

Re: How to Remove PARROT_API from PMC Vtable Entries

2008-02-03 Thread chromatic
On Saturday 02 February 2008 22:41:03 chromatic wrote: > Second, we need a way to know the proper initialization order of PMC > vtables such that we handle all parents before all children. Making this > work for core PMCs is fairly easy. Making it work for dynpmcs is a little > more difficult, b

[perl #50492] [PATCH][lolcode] Allow arguments to functions. Pass parameters to the appropriate functions at runtime.

2008-02-03 Thread via RT
# New Ticket Created by Stephen Weeks # Please include the string: [perl #50492] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=50492 > Add support for parameters to functions, as in: HOW DO I dostuff YR bar AN YR baz

Re: [perl #50492] AutoReply: [PATCH][lolcode] Allow arguments to functions. Pass parameters to the appropriate functions at runtime.

2008-02-03 Thread Stephen Weeks
This patch causes test failures due to its lack of support for varargs functions and special handling of VISIBLE. It's probably best not to apply this patch yet.