Re: [perl #48014] [DEPRECATED] PMC union struct

2009-01-23 Thread Allison Randal
Christoph Otto wrote: So you're saying that multiple inheritance in its current state should be allowed to continue, and that there's only a problem with ATTRs if a PMC tries to extend two PMCs, both of which have their own ATTRs? I'm saying that multiple inheritance between two C-level

Re: [perl #48014] [DEPRECATED] PMC union struct

2009-01-21 Thread Allison Randal
Christoph Otto wrote: The PMC UnionVal deprecation can't be completed until Parrot has improved ATTR reuse between extending PMCs. I'm rewriting code to minimize dependence on the PMC_x_val macros, but I can't eliminate them completely without better inheritance support. I'd like to

Re: [perl #48014] [DEPRECATED] PMC union struct

2009-01-18 Thread Allison Randal
Christoph Otto wrote: Allison Randal wrote: (Actually, at the moment you're required to declare all parent attributes in the ATTR list before the child attributes, so inherited attributes *are* child attributes.) When I say attributes, I mean the things that are declared in .pmc files right

Re: [perl #41825] [BUG] morph vtable override not working in PIR

2009-01-18 Thread Allison Randal
Jonathan Worthington wrote: I'm curious - is anyone else doing a HLL on Parrot that uses morph? If nobody is, is it worth spending time on, or even worth keeping? 'morph' was added specifically for the Perl 5 behavior of changing types when assigned to. But really, a more accurate

Re: [perl #41825] [BUG] morph vtable override not working in PIR

2009-01-17 Thread Allison Randal
Patrick R. Michaud wrote: Just for the record, AFAICT none of PGE/PCT/Rakudo make use of morph any longer. We now have the 'copy' opcode to do what the morph workaround was doing (and I don't think copy is using VTABLE_morph). We've been ripping out morph in all the core PMCs too. So, I'm

Re: [perl #48014] [DEPRECATED] PMC union struct

2009-01-16 Thread Allison Randal
Christoph Otto via RT wrote: I'm running into a snag trying to implement this. It turns out that many lines which use the PMC_x_val macros use them on different types of PMCs, especially parents and children (e.g. FixedPMCArray and ResizablePMCArray). There are also some instances where the

Re: [perl #41825] [BUG] morph vtable override not working in PIR

2009-01-16 Thread Allison Randal
Andrew Whitworth via RT wrote: Okay, I did some work on this last night, and here's the current status. 1) Modified the behavior of the morph PIR override so that it takes a string in trunk. We previously weren't able to override this method at all, so nobody is used to the old way at the PIR

Re: [perl #61870] [BUG] [META] Trac system borks authenticated user's privileges

2009-01-13 Thread Allison Randal
Bob Rogers wrote: I can't log in, though that may just be because I've forgotten the password. But the odd thing is that the Reset Password page says The email and username do not match a known account, even though I know my ID is rgrjr and there are only a few possible email addresses I would

Re: [perl #61870] [BUG] [META] Trac system borks authenticated user's privileges

2009-01-11 Thread Allison Randal
Bob Rogers wrote: What about those of us who can't log in? I can't even reset my password, let alone update anything . . . It won't let you log in at all? Or, once you log in it won't let you do anything? I just reset your password, let me know if you don't get an automated email about

Re: [perl #61870] [BUG] [META] Trac system borks authenticated user's privileges

2009-01-10 Thread Allison Randal
Our trac admins report that this is caused by users who don't have their email authenticated (that is, Trac sends you a test email, and you confirm that you got it, so Trac knows the address is valid). When we upgraded, existing users needed to re-authenticate their email addresses, but the

Re: [perl #61870] [BUG] [META] Trac system borks authenticated user's privileges

2009-01-10 Thread Allison Randal
Allison Randal wrote: Our trac admins report that this is caused by users who don't have their email authenticated (that is, Trac sends you a test email, and you confirm that you got it, so Trac knows the address is valid). When we upgraded, existing users needed to re-authenticate their email

Re: [perl #58410] [TODO] Deprecate n_* variants of the math opcodes

2008-12-30 Thread Allison Randal
Will Coleda via RT wrote: On Thu Aug 28 00:03:51 2008, alli...@perl.org wrote: The plan is to make the regular variants (like 'add') create a new destination PMC, and then deprecate the old n_* variants (like 'n_add'). Does this include n_not , n_bnot, and n_bnots ? Yes. The 'not', 'abs',

Re: [perl #60048] [BUG] [MMD] CGP Does Not Work with PCC Runcore Reentry

2008-12-26 Thread Allison Randal
Will Coleda via RT wrote: Apparently remove the files isn't exactly what was meant here. This probably removes the need for the remove_pic branch, which is in the process of taking this to its literal extreme. We do need to remove the files, and the remove_pic branch is on the right track.

Re: [perl #60048] [BUG] [MMD] CGP Does Not Work with PCC Runcore Reentry

2008-12-25 Thread Allison Randal
Will Coleda via RT wrote: I created a branch (remove_pic) to remove src/pic.c; This led to the removal of pic.ops, and changes in imc, packfile... lots of references to PIC. chromatic mentioned on #parrot that if we remove PIC, we're going to break all the predereferenced runcores. After

Re: Optimizing PMC-based MMD

2008-12-24 Thread Allison Randal
chromatic wrote: Within the cmp op bodies, we *know* the arity and most of the types of MMD- participant arguments at compile time. We can get the types of PMC participants within the body of the op itself. Thus we could avoid most of the argument marshalling and counting and analysis if we

Re: [perl #60046] [META] November 2008 release

2008-12-23 Thread Allison Randal
James Keenan via RT wrote: On Wed Dec 17 13:29:59 2008, kjs wrote: I thought I closed it last time. Trying again :-) kjs The ticket has 3 dependencies which are still open. Is it possible that the ticket cannot be resolved until these dependencies are resolved? Yes, but you can just remove

Re: [perl #60626] [DEPRECATED] Old-style MMD functions

2008-11-23 Thread Allison Randal
Will Coleda via RT wrote: * Parrot_mmd_add_function - src/inter_create.c //make_interpreter Delete that line from src/inter_create.c. Also delete the line before which initializes 'interp-binop_mmd_funcs' to NULL. These two lines are initializing the storage for the old MMD subsystem,

Re: [perl #60564] [TODO] Refactor contexts to be PMCs

2008-11-17 Thread Allison Randal
Patrick R. Michaud via RT wrote: Can (should) we do one or more of the following...? 1. Mark GC as a dependency for this ticket 2. Mark this ticket as stalled waiting for GC issues 3. Move this ticket to the new Trac ticket queue This would help remove this from our active ticket queue,

Re: [perl #60564] [TODO] Refactor contexts to be PMCs

2008-11-16 Thread Allison Randal
Andrew Whitworth via RT wrote: Since I'm monkeying around in the relevant code anyway, this might be a good task for the next calling_conventions branch. Or, if you prefer, we could create a second branch for this conversion and do the work there. The general consensus on this one is to wait

Re: [perl #49276] [TODO] Refactor tools/util/smokeserv-server.pl

2008-11-15 Thread Allison Randal
Will Coleda wrote: Is the smoke server still used? Can support for the smoke server be dropped? +1 from me; I vote for smolder. +1, on not maintaining two independent solutions for the same problem. Allison

Re: [perl #57438] [DEPRECATED] [PDD19] .pragma n_operators

2008-11-13 Thread Allison Randal
Will Coleda via RT wrote: This appears to be the only .pragma; should we leave a placeholder or just remove .pragma entirely when we remove this particular one? Nuke it. Allison

Re: [perl #60044] [BUG?] rethrow just throwing?

2008-11-13 Thread Allison Randal
Martin D Kealey wrote: What about keeping track of where the exception was originally created? If we have lazy exceptions, then knowing where the fault they represent was detected is probably more important than were (exactly) it was triggered. Or does this all amount to the same thing? Is an

Re: [perl #53210] [TODO] change new_from_string to init_str

2008-11-13 Thread Allison Randal
Andrew Whitworth via RT wrote: On Tue Apr 22 10:05:57 2008, [EMAIL PROTECTED] wrote: We've been kicking around the idea of removing new_from_string for a while, but the pushback is always that it's useful to be able to create a new PMC with some initialization data, without first creating a

Re: [perl #43831] [CAGE] Document how we do function decoration

2008-11-13 Thread Allison Randal
Andrew Whitworth via RT wrote: 1) Rename this ticket to something more descriptive 2) Rename seatbelts.pod to something more descriptive, like /docs/dev/C_Functions.pod or something. 3) Expand that documentation to include more cases (ARGIN, ARGMOD, ARGOUT, all the *_NULLOK variants of those,

[perl #31143] [TODO] Interpreter - share MMD tables

2008-10-30 Thread Allison Randal via RT
On Wed Oct 15 17:48:28 2008, Whiteknight wrote: With the pdd27mmd branch merged in now, what's the status of this request? The MMD table is now just a namespace, and namespaces are shareable between interpreters. So, resolved. Allison

Re: [perl #60044] [BUG?] rethrow just throwing?

2008-10-27 Thread Allison Randal
Patrick R. Michaud wrote: On Fri, Oct 24, 2008 at 12:18:40PM -0700, Allison Randal wrote: (I suppose technically we should stop calling this a stack trace since it's not a stack. But return continuation chain trace is just too verbose.) backtrace Exactly the word I was looking

Re: [perl #60044] [BUG?] rethrow just throwing?

2008-10-24 Thread Allison Randal
Will Coleda wrote: Allison Randal wrote: ...you expect 'rethrow' to keep the stack trace of the original 'die'? Yes. The way to do this is to add stack trace information to the Exception's 'stacktrace' attribute when the exception is first thrown, and print that out for an unhandled

Re: [perl #60044] [BUG?] rethrow just throwing?

2008-10-23 Thread Allison Randal
Will Coleda (via RT) wrote: I would expect both of these programs to output the same thing, but it looks like rethrow is generating the same output that throw would here. What is the difference supposed to be between these two ops? The two ops are intentionally almost entirely the same. The

Re: Parrot on mobile platforms?

2008-10-23 Thread Allison Randal
Ovid wrote: I can't speak for Android, but I know one of the constraints on the iPhone is memory. This, as I recall, is part of the reason why they don't have garbage collection available and force people to manage memory directly (this, I might add, is a pain). Since I generally don't worry

Re: [perl #60048] CGP Does Not Work with PCC Runcore Reentry

2008-10-23 Thread Allison Randal
chromatic (via RT) wrote: Several tests fail with the CGP runcore (parrot -C) when multidispatch re-enters bytecode -- in specific, anything that calls into src/pic.c from Parrot_pcc_invoke_sub_from_sig_object causes failures. The problem appears to be that CGP's PIC tries to poke into the

[perl #46677] [TODO] [C] Merge fixedbooleanarray.pmc with functions from BigInt PMC

2008-10-20 Thread Allison Randal via RT
On Tue Sep 23 22:34:38 2008, cotto wrote: I propose to reject this ticket. Reducing code duplication is a good idea, but it's not at all clear to me what this ticket is referring to. If someone cares to point out what code should be merged, great. Otherwise this ticket is too vague to be

[perl #40392] [CAGE] convert Cexit_fatal to a catchable exception

2008-10-20 Thread Allison Randal via RT
On Mon Sep 22 06:37:24 2008, Whiteknight wrote: Sept 08 milestone came and went. Any updates on this ticket? Maybe this ticket should be closed out (since it's vague) and replaced with another ticket or tickets for individual places where exit_fatal should be replaced with real_exception,

Re: [perl #59636] [BUG] t/op/bitwise.t fails on Darwin

2008-10-19 Thread Allison Randal
James Keenan via RT wrote: On Sat Oct 18 16:28:22 2008, coke wrote: I'm submitting some every night at midnight on my osx/x86 box; if it's obviously a temp directory and the right time frame, it's probably me. Coke, can you confirm that the test is failing for you now? And, what version of

Re: [perl #45965] [RFC] Should slot names still have __ in front?

2008-10-19 Thread Allison Randal
chromatic wrote: On Wednesday 15 October 2008 17:33:58 Will Coleda via RT wrote: With the attached patch, parrot builds and tests with no errors[0]. A re-configure is necessary to regenerate a file. [0] well, no additional or unexpected errors. Works for me. +1 to apply. +1 Allison

Re: [perl #36249] [TODO] Document policy on breakage, er, backward compatibility.

2008-10-19 Thread Allison Randal
jerry gay wrote: On Thu, Oct 16, 2008 at 10:12 AM, Andrew Whitworth via RT [EMAIL PROTECTED] wrote: On Sat Jun 11 13:08:49 2005, chip wrote: Short version: Up through version 0.8 or so, we promise to break everything constantly (but not until we have a good reason). After that, we will

Re: [perl #58988] [RFC] Parrot_get_runtime_prefix function

2008-10-19 Thread Allison Randal
NotFound (via RT) wrote: The Parrot_get_runtime_prefix in src/library.c return a char *, forcing the places that currently uses it to be more complicated than desired for no real gain. I added and used a STRING * variant named Parrot_get_runtime_path (that name makes more sense to me) in r31216

Re: [perl #59240] Automate publishing of docs/*

2008-10-19 Thread Allison Randal
Chris Davaz wrote: Ahh, cool I didn't even know we had parrot.org. Publishing docs/book/* would be nice. On Tue, Sep 23, 2008 at 10:27 PM, Will Coleda: On Tue, Sep 23, 2008 at 9:04 AM, via RT Chris Davaz: I suggest we automate the publishing of everything under docs/* and putting it under

Re: [perl #46295] [CAGE] [pdd15oo] Review the docs w.r.t. the new OO implementation

2008-10-18 Thread Allison Randal
Andrew Whitworth via RT wrote: The pdd15oo branch was merged in and conversation on this ticket stopped almost a year ago now. Is there still outstanding documentation work to do on this topic, besides the general all documentation should be improved work that always needs to be done? Are there

Re: [perl #57438] [DEPRECATED] [PDD19] .pragma n_operators

2008-10-18 Thread Allison Randal
Andrew Whitworth via RT wrote: After the pdd27mmd merge, all the n_* opcodes are gone now. I assume the .pragma n_operators can disappear with them? Yes. (The n_* opcodes aren't quite all gone yet, but nearly and soon.) Allison

Re: [perl #59636] [BUG] t/op/bitwise.t fails on Darwin

2008-10-18 Thread Allison Randal
James Keenan via RT wrote: Still failing on Darwin/PPC as of r32014: http://smolder.plusthree.com/app/public_projects/tap_stream/6320/163 Looking at the specific test in question, this may be an integer size problem. And I should note that it's also been failing on Darwin/i386:

[perl #38432] [BUG] Exception thrown from constructor leads to oddness

2008-10-16 Thread Allison Randal via RT
On Wed Oct 15 12:42:23 2008, coke wrote: Here's yet another updated version (this time for the exception handler) of the test that doesn't segfault, but still generates incorrect output (generates both an OK line and a NOK line) It looks like the exception handler is resuming after the

Re: [perl #59544] open(null) kills parrot

2008-10-14 Thread Allison Randal
NotFound wrote: Where to put a test for this? There is no t/ops/io.t and creating a file for each io opcode seems excessive Create a t/ops/io.t. We'll add to it in the I/O milestone (the next one on the list, which I'll create a branch for later this week). Allison

Re: [perl #59658] Build failure in src/pmc/float.c -- non-constant intiializer

2008-10-11 Thread Allison Randal
jerry gay wrote: .\src\pmc\float.c(3340) : warning C4204: nonstandard extension used : non-constant aggregate initializer there are now hundreds of these warnings in that build. we do have warnings ratcheted up pretty high, but i don't think it's worth relaxing them for this construct unless

Re: [perl #59782] [PATCH] add pmc_cmp VTABLE function

2008-10-11 Thread Allison Randal
Christoph Otto (via RT) wrote: In response to a question about comparison operators in Pipp*, Allison suggested that I add a variant cmp VTABLE function which returns a PMC instead of an INTVAL. This patch adds such a function, named pmc_cmp. It's named pmc_cmp rather than cmp_pmc to try

Re: [svn:parrot] r31385 - trunk/docs/book

2008-09-26 Thread Allison Randal
jerry gay wrote: i believe (without looking) that the pmc pdd calls them vtable functions. i really wish the vtable methods meme would die. they're not methods. they are a collection functions which define the api to access the pmc, parrot's abstract data type. Yup. vtable functions is what

Re: [svn:parrot] r31385 - trunk/docs/book

2008-09-26 Thread Allison Randal
Patrick R. Michaud wrote: I'm not at all arguing that this automatically means we should call them methods, but at a conceptual level they certainly seem a lot like methods, and the vtable implementations contain references to things like SELF and STATICSELF that make them look awfully

Re: throw oddities in pdd23

2008-09-22 Thread Allison Randal
Stephen Weeks wrote: Commit 31294 implements this behavior. Can I get confirmation that it's correct? Just looked over the diff. Perfect. Thanks! Allison

Re: [svn:parrot] r31305 - in branches/pdd27mmd: include/parrot src

2008-09-22 Thread Allison Randal
chromatic wrote: On Sunday 21 September 2008 03:17:18 [EMAIL PROTECTED] wrote: +dod_unregister_pmc(interp, sig_object); [...] That's far away from registering the PMC; is there a way to move them closer together? We could register it after it's returned from

Re: [svn:parrot] r31049 - in trunk: include/parrot languages/perl6/src/builtins languages/perl6/src/parser languages/perl6/t

2008-09-20 Thread Allison Randal
jerry gay wrote: Patrick R. Michaud wrote: Other languages have adopted the Perl shortname of hash as well, including Ruby and this odd little creature known as Parrot. Perhaps we should rename Parrot's Hash class to AssociativePMCArray? 1/2 ;-) I wouldn't mind. I mean, various languages

Re: [svn:parrot] r31049 - in trunk: include/parrot languages/perl6/src/builtins languages/perl6/src/parser languages/perl6/t

2008-09-20 Thread Allison Randal
Patrick R. Michaud wrote: It's also a little unique that the take/yield can happen from called subs deep within the coroutine, and doesn't have to occur within the coroutine itself. That's a general characteristic of all the control exceptions: they can be caught by any outer dynamic scope,

Re: Parrot 0.7.1 Manu Aloha released

2008-09-19 Thread Allison Randal
Patrick R. Michaud wrote: I sent the appropriate patch to the webmaster, but it hasn't been applied yet (and I lack a commit bit for the parrotcode.org site). Once that's applied, the url should be fixed. Thanks, applied. I also updated parrot.org. Allison

Re: New Parrot mailing list

2008-09-19 Thread Allison Randal
Patrick R. Michaud wrote: On Thu, Sep 18, 2008 at 11:00:31AM +0200, Allison Randal wrote: We'll likely end up with messages scattered between both lists for a little while, but the perl6-internals/parrot-porters addresses are deprecated and will be disabled after a sensible deprecation cycle

Re: New Parrot mailing list

2008-09-19 Thread Allison Randal
James E Keenan wrote: I set up the Google Group, because I know a number of people are using it. Can I see a show of hands of people who are only using NNTP and would have difficulty switching to a regular email subscription or Google Group? (I can't send to a newsgroup from my email

Re: New Parrot mailing list

2008-09-19 Thread Allison Randal
James E Keenan wrote: That's false. I replied to the newsgroup, which is mirrored by the mailing list. Whenever I've posted to the list (independent of posts to RT), the posts have been mirrored by the mailing list. You asked we to forward this on, so I did exactly what I've done for

Re: New Parrot mailing list

2008-09-19 Thread Allison Randal
Andy Dougherty wrote: I use NNTP. I much prefer the command-line news interface to Google Groups, but I guess I wouldn't go so far as to say I would have difficulty switching to a regular email subscription. Or, to put it another way: If there were an NNTP interface, I would definitely use

Re: [svn:parrot] r31049 - in trunk: include/parrot languages/perl6/src/builtins languages/perl6/src/parser languages/perl6/t

2008-09-18 Thread Allison Randal
Patrick R. Michaud wrote: What's the language-agnostic term for this, then? Well, 'gather' is basically a clever use of a coroutine, and 'take' is basically a 'yield'. But, what's unique about the construct is that it aggregates the results. So, 'gather' is an aggregating coroutine and

Re: throw oddities in pdd23

2008-09-18 Thread Allison Randal
Stephen Weeks wrote: This has now been committed to trunk. I'm pretty sure that I updated every exception handler in the tree. Apologies if my comments on this thread and update to the exceptions PDD weren't clear. The resume continuation should continue to live within the exception

New Parrot mailing list

2008-09-18 Thread Allison Randal
The new Parrot mailing list (replacing perl6-internals/parrot-porters) is [EMAIL PROTECTED]. If you were subscribed to the old list, you're now subscribed to the new list. If you were a digest subscriber to the old list, you're now a digest subscriber to the new list. More information about

Re: [svn:parrot] r31049 - in trunk: include/parrot languages/perl6/src/builtins languages/perl6/src/parser languages/perl6/t

2008-09-17 Thread Allison Randal
Patrick R. Michaud wrote: I'm not sure about this last comment -- I think I can imagine that other language implementations (including new ones we haven't thought of yet but suddenly becomes possible with Parrot) might want to make use of gather/take semantics if they're readily available --

Re: ExceptionHandler enhancement proposal

2008-09-17 Thread Allison Randal
Bob Rogers wrote: Yes, once we have the ability to have exception handlers only handle specific types of exceptions, then they'll allow all other types of exceptions to pass through. (Which means we won't end up with the infinite exception handler loops we currently get if

Re: throw oddities in pdd23

2008-09-16 Thread Allison Randal
Patrick R. Michaud wrote: PDD23:67 has: : =item Bthrow IEXCEPTION : : Throw an exception consisting of the given IEXCEPTION PMC. Active exception : handlers (if any) will be invoked with IEXCEPTION as the only parameter. : : : =item Bthrow IEXCEPTION [ , ICONTINUATION ] : : Throw an

Re: [perl #58886] [BUG] :named argument handling in PIR

2008-09-16 Thread Allison Randal
Will Coleda (via RT) wrote: [...] I would expect one of the following things to happen here, either: - an error is generated when test2 is parsed because there is no name for the named parameter, or - test2's blarg .param should default to being named 'blarg', so both calls should work

Re: [perl #58866] calling a PIR sub with 206 params segfaults parrot

2008-09-16 Thread Allison Randal
Christoph Otto (via RT) wrote: I was looking at #45357 ([TODO] Which exception should be thrown with register overflow?) and found that Parrot doesn't like subs with more than 205 params. This seems like a perfectly reasonable limit, but perhaps the behavior could be more user-friendly.*

Re: ExceptionHandler enhancement proposal

2008-09-16 Thread Allison Randal
Stephen Weeks wrote: ExceptionHandler currently has a can_handle method that checks whether the EH has been disabled or not. I propose adding some attributes to store the minimum severity the EH will handle and the list of exception types the EH will handle, methods to set and get these

Re: [perl #39313] [TODO] or [BUG] improve PMC compiler

2008-09-16 Thread Allison Randal
Klaas-Jan Stol wrote: This ticket doesn't seem to be closeable as is.Would it be good enough if pmc2c.pl spit out an error on the above definition, or is this even something that pmc2c.pl should be concerned about? The goal of the ticket should be for pmc2c.pl to entirely parse the input PMC

Re: [perl #58236] [TODO][PDD19] make decision on open issue on .return directive in pdd19

2008-09-16 Thread Allison Randal
Klaas-Jan Stol wrote: Allison: I made the following changes in pirc/new: .arg - .set_arg .result - .get_result .return - .tailcall (in context of .return foo() , which thus is now: .tailcall foo() ) .return - .set_return (in long-style returning : .begin/end_return .yield - .set_yield ( in

Re: [svn:parrot] r30941 - branches/pdd27mmd/src

2008-09-16 Thread Allison Randal
NotFound wrote: By the way, as mentioned in other thread there is a problem with plain %s in parrot printf-alike functions. It does not handle well a NULL c string. This must be fixed. And before, given the current implementation, the behavior of string_make and his successor in the strings

Re: [perl #58794] [PATCH] remove the obsolete .past search in try_bytecode_extensions

2008-09-16 Thread Allison Randal
Reini Urban (via RT) wrote: Old: Guess extensions, so that the user can drop the extensions leaving it up to the build process/install whether or not a .pbc, .pasm, .past or a .pir file is used. New: Search only for .pbc, .pasm, and .pir in that order. The .past file-extension is *long*

Re: [svn:parrot] r31049 - in trunk: include/parrot languages/perl6/src/builtins languages/perl6/src/parser languages/perl6/t

2008-09-16 Thread Allison Randal
Patrick R. Michaud wrote: On Sat, Sep 13, 2008 at 01:55:05PM -0400, Will Coleda wrote: +CONTROL_TAKE } exception_type_enum; Tcl can currently deal with OK, CONTINUE, BREAK, ERROR, and RETURN. What's TAKE? TAKE is like CONTROL_RETURN except that it signals that we expect execution to

Re: [perl #56468] [TODO] use more VTABLE to avoid subclassing errors.

2008-09-16 Thread Allison Randal
Vasily Chekalkin wrote: And another question. Should all lvalue occurences of PMC_*_val(SELF) be replaced with VTABLE_set_*_native? (Except for VTABLE method implementation of cause) In general, yes. You'll have to check each PMC to see if they have the appropriate VTABLE_set_*(_native)

Re: [perl #46651] [TODO] [C] Make a better interface for hash creation

2008-09-16 Thread Allison Randal
Christoph Otto via RT wrote: On Mon Oct 22 07:01:59 2007, pcoch wrote: In src/pmc/hash.pmc:thaw() there is the todo item: /* TODO make a better interface for hash creation ... do this. Where do we want to go with this? Ax the ticket. Vague plans for future change aren't useful. Allison

Re: [svn:parrot] r30941 - branches/pdd27mmd/src

2008-09-10 Thread Allison Randal
chromatic wrote: That C string leaks. We should have a diagnostic printf which supports the %Ss format we use in exception formatting strings. We have one, it's called PIO_fprintf. But, it's only used once in the repository, in an STM macro. Added to the I/O milestone tasklist. Allison

Re: [svn:parrot] r30941 - branches/pdd27mmd/src

2008-09-10 Thread Allison Randal
NotFound wrote: On Wed, Sep 10, 2008 at 9:21 AM, Allison Randal [EMAIL PROTECTED] wrote: chromatic wrote: That C string leaks. We should have a diagnostic printf which supports the %Ss format we use in exception formatting strings. We have one, it's called PIO_fprintf. But, it's only used

Re: Why Some MMD Tests Fail

2008-09-09 Thread Allison Randal
jerry gay wrote: On Mon, Sep 8, 2008 at 1:09 AM, Allison Randal [EMAIL PROTECTED] wrote: a) Do abstract base classes as currently implemented in Parrot serve any useful purpose? If not, eliminate them. can they be replaced by roles? Potentially, yes. In the case of the scalar PMC it would

Save the date: Parrot Developer Summit, November 15-16, 2008

2008-09-09 Thread Allison Randal
Google has graciously agreed to host the first ever Parrot Developer Summit. November 15th and 16th, 2008 on Google's Mountain View campus. You can find directions to the campus at: http://code.google.com/events/visitors More details to follow. Hope to see you there! Allison

Re: More MMD Branch Diagnosis

2008-09-09 Thread Allison Randal
chromatic wrote: t/op/calling_61.pir crashes because Parrot's trying to treat the number -1 as a PMC. Why? The desired MMD sub should take two PMCs and returns an INTVAL (frame #5, signature PP-I), but the invoked MMD sub takes two PMCs and returns a PMC. The crash comes in convert_arg,

Re: [perl #54110] [BUG] segfault in infix/n_infix with string arguments

2008-09-09 Thread Allison Randal
Patrick R. Michaud wrote: Just for clarification: IIUC, the n_* opcodes and their semantics aren't really going away -- they're simply being renamed to not have the leading n_ prefix. It's the existing add, sub, mul, div, etc. opcodes that are being eliminated. Yes. That is, calling

Re: [perl #57920] [PATCH] Suggestion for Parrot Configure test of AIO

2008-09-09 Thread Allison Randal
Will Coleda wrote: Instead of spending time fixing a probe that isn't being used, we should rip it out. If we eventually need it again, we can start from here, but there's no point in probing for features that we never use. It's wasting developer (and less importantly, CPU) time better spent

Re: [perl #52054] [CAGE]: Make all PDDs conform to coding standards

2008-09-08 Thread Allison Randal
Christoph Otto wrote: If those are your thoughts on the subject, then it seems to make sense to add the pdd format test to make test. The attached patch does this. I'll apply it and mark this ticket as resolved before the next #parrotsketch unless there are any objections. Excellent idea.

Re: [perl #58374] [TODO][PDD19] Decide on maximum identifier length and implement this.

2008-09-08 Thread Allison Randal
Christoph Otto via RT wrote: If there isn't a technical reason why this is necessary, there's no reason to create such a limitation. If there is such a reason, just pick something big and make the code enforce it. The PDD should of course be kept in sync with reality, but that simply entails a

Re: Why Some MMD Tests Fail

2008-09-08 Thread Allison Randal
chromatic wrote: The scalar PMC is abstract, but it contains multis that need registration with the MMD system at initialization time. PMCs containing multis register those multis in their Parrot_PMC name_class_init() functions. At least, non-abstract PMCs do. I ran into a similar problem

Re: [perl #51464] [TODO] [PDD] add date stamps to PDD's

2008-09-08 Thread Allison Randal
Christoph Otto via RT wrote: Is this something we want to go ahead with or should this ticket be rejected? I've had it on my hiveminder todo list for over a month now. The problem is, it's not only a matter of annoying fiddly bookkeeping work now, it's also annoying fiddly bookkeeping work

Re: [perl #55196] [BUG] print/say opcodes have different float precision

2008-09-08 Thread Allison Randal
Christoph Otto via RT wrote: I'll sign up to do the grunt work to fix the failing tests if someone makes a decision on what the consistent behavior should be. This falls under the I/O PDD, the next milestone. Hold for a couple of days. I've added it to the tasklist for the milestone:

Re: [perl #48014] [DEPRECATED] PMC union struct

2008-09-08 Thread Allison Randal
NotFound wrote: Given that the name will be mainly used via macros, a long and meaningful name can be used, such as Parrot_PMCdata_PMCname That's a good refinement, we can make the change after the next release. The attached patch does it. There is a lot of changes, I suspect many of them are

[perl #39117] [TODO] Using v?snprintf/strlcpy/strlcat when useful

2008-09-08 Thread Allison Randal via RT
Agreed that this particular ticket is not useful. Resolve it and replace it with a [CAGE] ticket with explicit instructions on converting all existing 'sprintf', 'strcat', etc calls with calls to 'snprintf', 'strlcat', etc. (Also include a list of all calls that should be converted.) This can

Re: pdd30_install

2008-09-08 Thread Allison Randal
I've just committed an initial pass on the Installation PDD. It's looking good, definitely a good start. I've included some comments to seed further discussion and development of the draft. Also, we'll need to include more details on the installation of Parrot itself (the draft leans pretty

Re: [ PATCH ] Broken link on parrotcode.org dev page - list item Parrot Testing Status

2008-09-06 Thread Allison Randal
Ronald Schmidt wrote: I applied for an account and built what seems to me to be an appropriate Parrot Testing Status page. My proposed link target is http://www.parrot.org/wiki/some-testing-status-tools . If someone wants to set me up as a site editor I will fix the link myself otherwise the

Re: [perl #52054] [CAGE]: Make all PDDs conform to coding standards

2008-09-06 Thread Allison Randal
Christoph Otto wrote: The non-draft PDDs are all passing t/codingstd/pdd_format.t as of r30810, but two of the draft PDDs aren't. Since they're still drafts and as such are very likely to change, it doesn't seem worthwhile to bring them into compliance or to have a test depend on them. I

Re: [svn:parrot-pdd] r30569 - trunk/docs/pdds

2008-09-06 Thread Allison Randal
jerry gay wrote: the sugar for what can be on the left side of an equals sign needs to be changed. simply having a first parameter with OUT isn't enough. the same thing happens for $P0 = push $S1 which is legal pir syntax, but obscure at best. ops must have some means of specifying (perhaps

Re: How may I help maintain parrot.org?

2008-09-06 Thread Allison Randal
Alejandro Gómez de Argüello y de Laburu wrote: Following the instructions I found in How to Get Involved at the parrot.org website, I hereby volunteer to help maintain said website by updating existing pages or adding new content, or in other ways such as my skills and time allow. Thanks for

new Parrot website

2008-09-04 Thread Allison Randal
The new Parrot website http://www.parrot.org/ is now live. Please take a look, create an account for yourself, and report any broken links you find. Just creating an account will allow you to create wiki pages. If you'd like to help out with content on other parts of the site, let me know and

Re: new Parrot website

2008-09-04 Thread Allison Randal
Moritz Lenz wrote: Creating an account leads directly to the front page again, without any indication if it was successful or not. There should be a message just below the mission statement box and just above the first story on the main page. Possibly we should make the text red or put it

Re: new Parrot website

2008-09-04 Thread Allison Randal
Alejandro Gómez de Argüello y de Laburu wrote: The How to Get Involved page at https://www.parrot.org/dev/get-involved has a broken link: clicking on Report or fix a bug in this website takes me to https://www.parrot.org/dev/site.html -- which says Page not found. The page at

Re: [svn:parrot-pdd] r30569 - trunk/docs/pdds

2008-09-03 Thread Allison Randal
Klaas-Jan Stol wrote: On Tue, Sep 2, 2008 at 2:28 PM, Allison Randal [EMAIL PROTECTED] wrote: I'm not clear on why we need to reserve 'if', 'unless' and 'null' either, since they never appear in locations that could be confused with variables. there's not a strict reason, no. In fact

Re: [svn:parrot-pdd] r30569 - trunk/docs/pdds

2008-09-02 Thread Allison Randal
Klaas-Jan Stol wrote: This must make the following syntax rule illegal: target = null because if null is declared as a .local, you can't know whether you want to nullify target, or want to set target's value to that of the .local variable null. I take it this is no problem; just stick to

Re: [svn:parrot-pdd] r30569 - trunk/docs/pdds

2008-09-02 Thread Allison Randal
Klaas-Jan Stol wrote: So, preferably, the special words in PIR will be allowed as identifiers ('if','unless', 'null') and PIR will DWIM. What about the type identifiers: int, num, pmc, string; should these be allowed as identifiers? The currently special PIR words such as if, unless, null are

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

2008-09-01 Thread Allison Randal
Bob Rogers wrote: Allison Randal wrote: +Monkeypatching is certainly possible, but not encouraged. Cool; a new term in Allison-speak! ;-} As much as linguists love creating new words, I can't claim credit for this one: http://en.wikipedia.org/wiki/Monkey_patch More later, Allison

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

2008-09-01 Thread Allison Randal
Bob Rogers wrote: +{{ There seems to be an implied basic assumption here that language +interoperability is the responsibility of the language +implementor. It is not. We cannot require that language +implementors design and implement their languages according to some +global

[perl #47992] [RFE] 'parrot foo' automatically finds and invokes foo.pbc

2008-08-31 Thread Allison Randal via RT
As mentioned in RT #49168, I'm in favor of a --language flag, that selects the default PBC/PIR file to run, and passes all other arguments to the ':main' sub in that file. It can also select default paths based on the options set the the configuration file for that language. Then, using the

Re: [perl #58236] [TODO][PDD19] make decision on open issue on .return directive in pdd19

2008-08-30 Thread Allison Randal
Klaas-Jan Stol (via RT) wrote: The parentheses surrounding the arguments are mandatory. Besides making sequence break more conspicuous, this is necessary to distinguish this syntax from other uses of the C.return directive that will be probably deprecated. The open issue of the 'probably

  1   2   3   4   5   6   7   8   9   >