Re: [PATCH] Three pushaction bugs

2006-01-05 Thread Leopold Toetsch
On Jan 5, 2006, at 3:26, Bob Rogers wrote: This patch fixes two find_exception_handler bugs, and identifies a third, all related to executing pushaction subs: Applied - r10902 1. It is necessary to wait until after popping the action before calling it, lest the signalling of another

Revisiting parrot_get_config_string

2006-01-05 Thread Nick Glencross
Guys, I shall shortly update the relevant calls, but I'd just like to check a few things first. These patches update the patches in #37303 and #36836, relating to parrot_get_config_string and cygwin dynclasses. The first patch modifies the parrot VM so as not to call parrot_get_config_string on

Re: Revisiting parrot_get_config_string

2006-01-05 Thread Leopold Toetsch
Nick Glencross wrote: Guys, I shall shortly update the relevant calls, but I'd just like to check a few things first. These patches update the patches in #37303 and #36836, relating to parrot_get_config_string and cygwin dynclasses. The first patch modifies the parrot VM so as not to call

Re: Revisiting parrot_get_config_string

2006-01-05 Thread Nick Glencross
On 1/5/06, Leopold Toetsch [EMAIL PROTECTED] wrote: Nick Glencross wrote: The first patch modifies the parrot VM so as not to call parrot_get_config_string on startup, which currently resides in the calling executable. Instead, the executable (optionally) calls Parrot_set_config_hash to

[perl #38156] [PATCH] Shared libraries on MacOS

2006-01-05 Thread via RT
# New Ticket Created by Nick Glencross # Please include the string: [perl #38156] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38156 Thanks to everyone, particularly rafl, for getting shared libraries in. I hope

libparrot improvements

2006-01-05 Thread Florian Ragwitz
Hello Guys, Yesterday I commited some changes to the libparrot handling. Those introduced the behavior to only build a static XOR a shared library. This may break other related software that relies upon blib/lib/libparrot.a. Also it's an advantage to have both static and shared libraries

[perl #38158] [PATCH] A small update to CREDITS

2006-01-05 Thread via RT
# New Ticket Created by Nick Glencross # Please include the string: [perl #38158] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38158 Index: CREDITS

Re: Junctions again (was Re: binding arguments)

2006-01-05 Thread Rob Kinyon
On 1/4/06, Luke Palmer [EMAIL PROTECTED] wrote: Of course, this was introduced for a reason: sub min($x,$y) { $x = $y ?? $x !! $y } sub min2($x, $y) { if $x = $y { return $x } if $x $y { return $y } } In the presence of junctions, these two

Re: libparrot improvements

2006-01-05 Thread Nick Glencross
On 1/5/06, Florian Ragwitz [EMAIL PROTECTED] wrote: Hello Guys, Yesterday I commited some changes to the libparrot handling. Those introduced the behavior to only build a static XOR a shared library. This may break other related software that relies upon blib/lib/libparrot.a. Also it's an

Re: pkgsrc build

2006-01-05 Thread Florian Ragwitz
On Tue, Jan 03, 2006 at 03:33:36PM -0800, jerry gay wrote: On 1/3/06, Leopold Toetsch [EMAIL PROTECTED] wrote: Recently on IRC: Debolaz leo: You can see the patches I made at http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/lang/parrot/patches/ Debolaz The only one that's really needed to

Re: Junctions again (was Re: binding arguments)

2006-01-05 Thread Jonathan Lang
Rob Kinyon wrote: To me, this implies that junctions don't have a complete definition. Either they're ordered or they're not. Either I can put them in a = expression and it makes sense or I can't. If it makes sense, then that implies that if $x = $y is true, then $x $y is false. Otherwise,

Re: binding arguments

2006-01-05 Thread Juerd
Ingo Blechschmidt skribis 2005-12-25 17:37 (+0100): I disagree about binding only being a language thing: I fail to see how your example code illustrates your disagreement. return 42 if (my $short := $long_parameter_name) == $specialcase; That's terribly horrible style!

Problem with string operations

2006-01-05 Thread Roger Browne
I wonder if anyone has any ideas how I can track down the source of a problem that I am having. I have a pir file that runs fine under 0.4.0, but under the latest svn fails with this message: parrot: src/string.c:448: string_append: Assertion `b-encoding b-charset !(((b)-obj.flags)

Re: [PATCH] Shared libraries on MacOS

2006-01-05 Thread Leopold Toetsch
On Jan 5, 2006, at 3:45, Nick Glencross wrote: Thanks to everyone, particularly rafl, for getting shared libraries in. I hope that it hasn't been too painful, and that we get support for most platforms. Fighting with Win32 still ... Here's a patch which provides initial support for Darwin.

[perl #38164] Re: [PATCH] Shared libraries on MacOS

2006-01-05 Thread via RT
# New Ticket Created by Leopold Toetsch # Please include the string: [perl #38164] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38164 On Jan 5, 2006, at 3:45, Nick Glencross wrote: Thanks to everyone,

Re: binding arguments

2006-01-05 Thread Ingo Blechschmidt
Hi, Juerd wrote: Ingo Blechschmidt skribis 2005-12-25 17:37 (+0100): I disagree about binding only being a language thing: I fail to see how your example code illustrates your disagreement. return 42 if (my $short := $long_parameter_name) == $specialcase; I inferred

Re: binding arguments

2006-01-05 Thread Juerd
Ingo Blechschmidt skribis 2006-01-05 18:32 (+0100): Juerd wrote: Ingo Blechschmidt skribis 2005-12-25 17:37 (+0100): I disagree about binding only being a language thing: I fail to see how your example code illustrates your disagreement. return 42 if (my $short :=

[perl #38167] [TODO] Tests - Calling Conventions/HLL Mappings

2006-01-05 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #38167] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38167 Tests need to be written to verify that HLL mappings are properly used for

[perl #38168] [TODO] - Tcl - :slurpy HLL mappings

2006-01-05 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #38168] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38168 Make TclList properly map to a ResizablePMCArray so that lib/commands/list.pir can

Re: Problem with string operations

2006-01-05 Thread Leopold Toetsch
On Jan 5, 2006, at 17:04, Roger Browne wrote: I wonder if anyone has any ideas how I can track down the source of a problem that I am having. I have a pir file that runs fine under 0.4.0, but under the latest svn fails with this message: parrot: src/string.c:448: string_append: Assertion

Re: [perl #38168] [TODO] - Tcl - :slurpy HLL mappings

2006-01-05 Thread Leopold Toetsch
On Jan 5, 2006, at 18:50, Will Coleda (via RT) wrote: At this point, PMCs can only map one HLL: this is probably just a limitation of the pmc2c.pl script that can be resolved with some perl. (pmc2c doesn't err, but silently omits additional maps directives from the generated C) Err, what

Re: Junctions again (was Re: binding arguments)

2006-01-05 Thread David Green
On 1/4/06, Luke Palmer wrote: The other thing that is deeply disturbing to me, but apparently not to many other people, is that I could have a working, well-typed program with explicit annotations. I don't think it disturbs me... but that might just be because I don't really understand it.

Re: Problem with string operations

2006-01-05 Thread Leopold Toetsch
On Jan 5, 2006, at 19:32, Leopold Toetsch wrote: There is another issue though 'make all' inside amber currently needs a statically linked parrot. I don't know, if this is amber- or parrot-related though. Works with tcl - so it's probably an amber Makefile issue. leo

[perl #38168] [TODO] - Tcl - :slurpy HLL mappings

2006-01-05 Thread Will Coleda via RT
I have TclList. I want it to map to ResizablePMCArray, maybe Array, and possibly others of the remaining 14 parrot array variants. Right now, the pmc syntax only lets you pick ONE parrot type for hll PMC. So if I want TclList to map to more than one builtin type, I have to fix pmc2c.pl to

Re: Junctions again (was Re: binding arguments)

2006-01-05 Thread TSa
HaloO, Jonathan Lang wrote: Rob Kinyon wrote: To me, this implies that junctions don't have a complete definition. Either they're ordered or they're not. So, is there a number between 0 and 1? Shades between black and white? When is a 360 degree turn not returning a system into its initial

Re: Problem with string operations

2006-01-05 Thread Roger Browne
On Thu, 2006-01-05 at 20:00 +0100, Leopold Toetsch wrote: There is another issue though 'make all' inside amber currently needs a statically linked parrot. I don't know, if this is amber- or parrot-related though. Works with tcl - so it's probably an amber Makefile issue. Thanks for

Re: Problem with string operations

2006-01-05 Thread Leopold Toetsch
On Jan 5, 2006, at 21:37, Roger Browne wrote: What is a non-statically-linked parrot? Is it what I get by giving the --parrot_is_shared argument to Configure.pl? I did $ ./doit $ cd languages/amber $ make clean all and got an error (Makefile related) - then: $ ./doit --parrot_is_shared=0

Re: [perl #37303] [PATCH] Relaxing parrot dependency on parrot_config

2006-01-05 Thread Nick Glencross
Guys, I've been wanting to relax the dependency that parrot's core has on parrot_config. As things stand at the moment, src/global_setup.c makes a call to parrot_get_config which is linked into the executable itself by selecting either null_config.o, parrot_config.o or install_config.o.

Re: [PATCH] Three pushaction bugs

2006-01-05 Thread Bob Rogers
From: Leopold Toetsch [EMAIL PROTECTED] Date: Thu, 5 Jan 2006 11:38:04 +0100 On Jan 5, 2006, at 3:26, Bob Rogers wrote: 2. Even without an error, it seems that actions could sometimes be run twice because stack_pop compared entry-cleanup to 0 instead of

[svn ci] svn metadata cleanup

2006-01-05 Thread jerry gay
for those of you who might be updating your working copies from svn (post r10933) and wondering why so many files are changing, i did some svn metadata cleanup today. ~ the set svn:mime-type property should now be set appropriately based on file extension. i paid close attention to .t, .xml, .png

Re: Junctions again (was Re: binding arguments)

2006-01-05 Thread Jonathan Lang
Me no follow. Please use smaller words? -- Jonathan Dataweaver Lang