Re: [svn:parrot] r21891 - branches/pdd15oo/src/pmc

2007-10-06 Thread chromatic
On Friday 05 October 2007 14:02:32 [EMAIL PROTECTED] wrote: Author: allison Date: Fri Oct 5 14:02:31 2007 New Revision: 21891 Modified: branches/pdd15oo/src/pmc/namespace.pmc Log: [pdd15oo] The namespace PMC adds methods and vtable overrides to the class if it's associated with a

Re: pdd15oo: load_bytecode and :method subs

2007-10-06 Thread Allison Randal
Allison Randal wrote: Patrick R. Michaud wrote: In pdd15oo, there seems to be an issue about using load_bytecode to load :method subs after a class has been created. Working now for both load_bytecode and the eval case. One problem: with this change, every named method is inserted into the

[perl #46137] [TODO] The text in an instruction after ':' is a label isn't it? (PDB_hasinstruction)

2007-10-06 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46137] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46137 In src/debug.c:PDB_hasinstruction() has the todo item: else if (*c == ':') { /*

[perl #46139] [TODO] Do more in the parrot debugger

2007-10-06 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46139] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46139 In src/debug.c:GDB_P() there is the todo item: * TODO more, more What exactly

[perl #46141] [TODO] Move gdb breakpoints to the debugger interpreter

2007-10-06 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46141] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46141 In src/debug.c there is the todo item: /* TODO move these to debugger interpreter

[perl #46143] [TODO] Handle removing breakpoints in debugger

2007-10-06 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46143] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46143 In src/debug.c:GDB_B() there is the todo item: * XXX We can't remove the

[perl #46145] [TODO] Perform bounds checking in GDB_B()

2007-10-06 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46145] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46145 In src/debug.c:GDB_B() there is the todo item: /* HACK alarm pb 45 is passed as

[perl #46147] [TODO] Print out more information about the macro in imcc

2007-10-06 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46147] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46147 In compilers/imcc/main.c:do_pre_process() there is the todo item: /* TODO: print

[perl #46149] [TODO] Parrot_runcode and/or imcc_run_pbc should return a value

2007-10-06 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46149] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46149 In compilers/imcc/main.c:imcc_run_pbc() there is the todo item: /* XXX no return

[perl #46153] [TODO] Check for regular file in Parrot_readbc()

2007-10-06 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46153] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46153 In src/embed.c:Parrot_readbc() there is the todo item: * TODO check for regular

[perl #46155] [TODO] Is usage of mem_sys_free() ok in Parrot_readbc()?

2007-10-06 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46155] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46155 In src/embec.c:Parrot_readbc() there is the todo item (with context): #ifdef

[perl #46157] [TODO] Stop depending upon typed namespaces in internal_ns_keyed()

2007-10-06 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46157] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46157 In src/global.c:internal_ns_keyed() there is the todo item: /* TODO - stop

[perl #46159] [TODO] Match HLL of enclosing namespace in internal_ns_keyed()?

2007-10-06 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46159] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46159 In src/global.c:internal_ns_keyed() there is the todo item: /* TODO - match HLL

[perl #46161] [TODO] Use the untyped interface in Parrot_find_global_n()

2007-10-06 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46161] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46161 In src/global.c:Parrot_find_global_n() there is the todo item: XXX - For now this

[perl #46163] [TODO] Parrot's default namespaces should be fully typed

2007-10-06 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46163] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46163 In src/global.c:Parrot_find_global_n() there is the todo item: * XXX - we should

[perl #46165] [TODO] Implement method cache invalidation in Parrot_store_global_cur()

2007-10-06 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46165] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46165 In src/global.c:Parrot_store_global_cur() there is the todo item: /* FIXME -

[perl #46167] [TODO] Replace temporary hack for method cache invalidation with decent implementation

2007-10-06 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46167] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46167 In src/global.c:Parrot_store_global_k() there is the todo item: * XXX - temporary

[perl #46169] [TODO] Method cache invalidation should be a namespace function

2007-10-06 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46169] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46169 In src/global.c:Parrot_store_global_s() there is the todo item: /* FIXME -

[perl #46171] [TODO] Parrot_find_name_op() should walk up the scopes

2007-10-06 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46171] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46171 In src/global.c:Parrot_find_name_op() there is the todo item: TODO - THIS IS

[perl #46177] [TODO] GC should lower CHUNKED_CTX_MEM threshold when collecting continuations

2007-10-06 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46177] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46177 In src/gc/regsiter.c there is the todo item: TODO GC has to lower this threshold

[perl #46179] [TODO] Remove GC code depending upon -D40 before parrot 1.0

2007-10-06 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46179] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46179 In src/gc/register.c:clear_regs() there is the todo item: /* depending on -D40 we

[perl #46181] [TODO] Who clears ctx-current_object created in init_context()?

2007-10-06 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46181] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46181 In src/gc/register.c:init_context() there is the todo item: ctx-current_object =

[perl #46183] [TODO] Move stacks into the interpreter?

2007-10-06 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46183] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46183 In src/gc/register.c:init_context() there is the todo item: ctx-reg_stack =

[perl #46185] [TODO] Create specialised context for contexts due to self-recursive calls

2007-10-06 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46185] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46185 In src/gc/register.c:Parrot_alloc_context() there is the todo item: * TODO (OPT)

[perl #46187] [TODO] Work out what todo item means in parrot_gc_context()

2007-10-06 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46187] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46187 In src/gc/register.c:parrot_gc_context() there is the todo item:

[perl #46191] [TODO] Process exceptions properly in init_context()

2007-10-06 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46191] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46191 In src/gc/register.c:init_context() there is the todo item: ctx-ref_count = 0;

Re: [perl #46099] [TODO] Check for existing parent classes in add_parent()

2007-10-06 Thread Klaas-Jan Stol
I think it should be something like this: /* RT46099 Check we don't already have this parent. */ /* If we have already added a method with this name... */ if (VTABLE_exists_keyed_str(interp, _class-all_parents, VTABLE_name(interp, parent))) {

Re: [perl #45935] [TODO][IMCC] syntax for assignment/creating objects

2007-10-06 Thread Klaas-Jan Stol
On 10/2/07, via RT Klaas-Jan Stol [EMAIL PROTECTED] wrote: # New Ticket Created by Klaas-Jan Stol # Please include the string: [perl #45935] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=45935 hi, a code

Re: [perl #45935] [TODO][IMCC] syntax for assignment/creating objects

2007-10-06 Thread Allison Randal
Klaas-Jan Stol (via RT) wrote: a code snippet like this: the_value = new 'Type' the_value = 42 is in my eyes not clear. It seems as if the first line creates an object, and it seems to be discarded on the second line, as some value is assigned to the_value. The key thing to keep in mind is

Re: Parallel GC for parrot - does it make sense?

2007-10-06 Thread Maria Fedotova
Thanks, Will! I succeeded to merge Harmony tree into my local copy: $ svn propget svn:externals src/gc gen http://svn.apache.org/repos/asf/harmony/enhanced/drlvm/trunk/vm/gc_gen/src Then I fixed Manifest.pm to process external entries correctly and started to understand that MANIFEST is used

Re: Parallel GC for parrot - does it make sense?

2007-10-06 Thread chromatic
On Saturday 06 October 2007 13:49:21 Maria Fedotova wrote: I succeeded to merge Harmony tree into my local copy: $ svn propget svn:externals src/gc gen http://svn.apache.org/repos/asf/harmony/enhanced/drlvm/trunk/vm/gc_gen/src Then I fixed Manifest.pm to process external entries correctly

use more $Id$: Was: Re: [svn:parrot] r21940

2007-10-06 Thread Will Coleda
Not to pick on James here. There are a LOT of files where we put the name of the file *in* the file; this becomes a maintenance burden, especially with duplication, refactoring, renaming... I noticed this when trying to do some cleanup in the t/ directory some months ago. For example, in

Re: [perl #44353] [BUG] Configure.pl: verbose-step option not workingwith named step

2007-10-06 Thread James E Keenan
Allison Randal wrote: Simplification is a good idea. I suspect most people would rather type some short unique value for the option than the text of the description anyway. In the reconfigure/ branch, I have figured out how to do this with the --fatal-step option

Re: Parallel GC for parrot - does it make sense?

2007-10-06 Thread Stefan Parvu
Hi, Allison Randal wrote: It's worth exploring, and may lead to other experiments in parallel GC.. Parrot allows multiple different GC systems, so you shouldn't encounter significant problems on the Parrot side, but if you do, let us know and we'll fix them. I don't know if Harmony's parallel

Re: Parallel GC for parrot - does it make sense?

2007-10-06 Thread Stefan Parvu
The three schemes currently implemented are generational, stop-the-world mark-and-sweep, and incremental mark-and-sweep. The generational GC implementation is not complete yet. The default GC scheme at the moment is stop-the-world mark-and-sweep. For the 1.0 release the default will likely