Re: [perl #39855] [CAGE] configuration: define MIN/MAX macros for all integral typedefs

2009-04-23 Thread NotFound
> It looks like those comments in platform_limits.h are out-of-place. > PARROT_INTVAL_MIN and PARROT_INTVAL_MAX are defined in > include/parrot/config.h, although the definition may not be as flexible > as the macros in perl.h that Nicholas mentioned.  It might be beneficial > to incorporate them i

Re: [perl #39855] [CAGE] configuration: define MIN/MAX macros for all integral typedefs

2009-04-18 Thread NotFound
>> It's great to have INTVAL and UINTVAL, but without MAX_INTVAL it's kind of >> hard to work with them in some respects.  All integral typedefs should > have >> min/max macros.  Syntax not a big deal, it can be fixed later, just don't >> break anything when introducing them. > > Nothing has happen

Re: [perl #44499] [TODO] Move cstrings to String Structure

2009-04-18 Thread NotFound
> I tried to apply this patch to svn head, but it's different enough that > much of it will need to be rewritten.  If this is something worth > pursuing, I'm willing to reimplement and apply the patch (if NotFound > isn't interested).  If not, this ticket should be reje

Re: [perl #43687] [TODO] combine abstract search with other search in lib/Parrot/Docs/File.pm

2009-04-17 Thread NotFound
> I propose rejecting this ticket as unnecessary.  The code may not be > optimal, but it works fine and isn't even particularly hacky or broken. +1 -- Salu2

Re: [perl #56262] [RFC] chr opcode

2009-02-05 Thread NotFound
> I'll apply this patch in two days if I hear no objection -- or sooner if > the other contributors to this thread approve. +1 -- Salu2

Re: [perl #37700] [TODO] Changing Default STDOUT/STDERR Filehandles for PIR Code

2009-02-02 Thread NotFound
Method added in r36305, created TT #264 about it. -- Salu2

Re: [perl #37700] [TODO] Changing Default STDOUT/STDERR Filehandles for PIR Code

2009-01-27 Thread NotFound
On Wed, Dec 17, 2008 at 12:52 AM, chromatic wrote: > On Tuesday 16 December 2008 15:40:32 Allison Randal via RT wrote: > >> The simple solution is to add opcodes for 'setstdin', 'setstdout', and >> 'setstderr' that change the interpreter's stored FileHandle PMCs to a >> PMC passed in as an argumen

Re: [perl #44845] [PATCH] C++ cleanups for Solaris CC

2008-12-16 Thread NotFound
> I just tried to build parrot with g++ on darwin/intel to see if I could > replicate the initial failure > reported in the ticket, but am unable to. (g++ is detected as gcc, and then > we pass it an option > that makes it explode.) What Configure options do you used? I usually do: --cc=g++ --c

Re: [perl #41788] [BUG] Real registers are limited to 2 digits

2008-12-01 Thread NotFound
> Currently, IMCC still has a 2-digit limit for PASM registers. > I think we can easily extend this to any number, as long as it fits in > an INTVAL. Last time I checked, register allocator and some other imcc parts used unsigned char for register numbers in several places. -- Salu2

Re: [perl #55504] [BUG] Failing test t/op/spawnw.t

2008-11-28 Thread NotFound
On Sun, Nov 23, 2008 at 10:41 PM, James Keenan via RT <[EMAIL PROTECTED]> wrote: > On Wed Sep 10 19:48:04 2008, [EMAIL PROTECTED] wrote: >> Can someone evaluate where we stand with respect to the issues in this RT? >> >> Thank you very much. >> >> kid51 > > Still hoping for feedback on these issues

Re: [perl #60166] [BUG] Exception handling in parrot doesn't unwind stack.

2008-10-29 Thread NotFound
>> I've noticed an anomaly: if you add .get_results($P0) after pop_eh >> nothing bag happens, but if you put it before, it starts leaking a lot >> of memory. > > Is that after r32226? Before it was leaking both ways, I think. -- Salu2

Re: [perl #60166] [BUG] Exception handling in parrot doesn't unwind stack.

2008-10-29 Thread NotFound
> With the following example (and the other patches to > Parrot_ex_throw_from_op_args added by NotFound++), I'm able > to run the following version and get to 250,000 without any > difficulty. > >$ cat x.pir >.sub 'main' > .local pmc i >

Re: [perl #60166] [BUG] Exception handling in parrot doesn't unwind stack.

2008-10-28 Thread NotFound
> I'm working on a patch that defines the helper function > Parrot_ex_throw_from_op_args to simplfy the throwing in cases like this. After discussion in #parrotsketch, added this function in r3 -- Salu2

[perl #60166] [BUG] Exception handling in parrot doesn't unwind stack.

2008-10-28 Thread NotFound via RT
This example fails because the op find_method uses Parrot_ex_throw_from_c_args, that handles the exception in an inner runloop. From an opcode is better to use Parrot_ex_throw_from_op, wich jumps to the handler in the current runloop. I'm working on a patch that defines the helper function Parrot_

Re: [perl #60060] [BUG] Parrot_readbc() does too many stat()s

2008-10-23 Thread NotFound
On Thu, Oct 23, 2008 at 1:43 AM, via RT Stephane Payrard <[EMAIL PROTECTED]> wrote: > This results in 4 stat()s per pbc. > opening the file and using Parrot_fstat_info_intval() instead of > Parrot_stat_info_intval() will be less costly. > this means retooling readbc() that now stats the file to ve

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

2008-10-23 Thread NotFound
On Wed, Oct 22, 2008 at 6:28 PM, Bernhard Schmalhofer via RT <[EMAIL PROTECTED]> wrote: >> Done in r30914: changed name to Parrot__attributes, fixed >> codingstd, changed also pmc in languages lua and perl6, and updated >> pdd17_pmc.pod > Does this mean that this ticket can be closed and the depre

Re: Parrot on mobile platforms?

2008-10-23 Thread NotFound
> Don't you think it would be important to start working in this direction? > Maybe to try to get someone work on this or to get sponsorship > in that direction? I think the easier step towards this goal may be to make cross compiling works with two well-known platforms. For example, targeting min

Re: [perl #57690] [BUG] make headerizer breaks build

2008-10-21 Thread NotFound
> As of r32075, 'make; make headerizer' still breaks the build. Fixed in r32079 -- Salu2

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

2008-10-20 Thread NotFound
> 'STRING *' is vastly preferable to 'char *' anywhere it can be used. > Mark the old one as deprecated, replace all calls to > 'Parrot_get_runtime_prefix' with calls to 'Parrot_get_runtime_path', and > after a standard one release deprecation cycle remove the old function. Replaced a remaining us

[perl #59544] open(null) kills parrot

2008-10-16 Thread NotFound via RT
Problem fixed and test added, closing ticket.

Re: [perl #59722] [TODO] implement rest of sysinfo_s code

2008-10-15 Thread NotFound
CPU_ARCH implemented in r31982 -- Salu2

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

2008-10-14 Thread NotFound
>> 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). Created and added open null tests in r31950

Re: [perl #59722] [TODO] implement rest of sysinfo_s code

2008-10-09 Thread NotFound
On Wed, Oct 8, 2008 at 6:34 PM, via RT Jerry Gay <[EMAIL PROTECTED]> wrote: > currently, the sysinfo_s op, implemented in src/inter_misc.c, is incomplete: (snip) > one effect of this partial implementation is that the $*OSVER variable > in rakudo always contains the empty string. Initial implemen

Re: [perl #59630] [BUG] Complex subtraction fails for subclasses of Complex

2008-10-08 Thread NotFound
On Wed, Oct 8, 2008 at 4:56 PM, Patrick R. Michaud <[EMAIL PROTECTED]> wrote: > The problem appears to be that src/pmc/complex.pmc makes use of > RE() and IM() macros that no longer work for subclasses of the Complex PMC > and try to poke float values directly into the PMC struct. Unfortunately,

[perl #59630] [BUG] Complex subtraction fails for subclasses of Complex

2008-10-06 Thread NotFound via RT
I've done some work in this problem. The attached patch is a way to make the examples work but I think this is not the way to go, or a lot of functions in a lot of pmc will need changes. Index: src/pmc/complex.pmc === --- src/pmc/comp

[perl #48108] [BUG] downcase opcode fails on unicode strings w/o icu

2008-10-05 Thread NotFound via RT
Updated information: we added recently a workaround to the utf8 downcase function, by moving code already present out of the ICU #if block. This workaround delegates to the ascii downcase when the string has only codepoints in the ascii range (the way used to do that check is debatable, must be re

[perl #46629] [TODO] [C] Implement multiplication of integers with complex numbers

2008-10-05 Thread NotFound via RT
Done in r31684 after MMD changes, adding the test from the previous patch.

Re: Should the Length of string_substr() Ever Be Negative?

2008-10-05 Thread NotFound
>> But a fake signature makes errors harder to find and can make >> optimized builds works different as normal ones. > > I'm not sure how the signature is "fake". An unsigned integer is a > subset of integer. Parrot doesn't have a set of $U registers for > unsigned ints, does it? I suppose the ro

Re: Should the Length of string_substr() Ever Be Negative?

2008-10-05 Thread NotFound
> I'd say the fact that it has to do checking within the routine anyway > is no reason not to add checks to catch errors earlier. Making the > signature programmer-friendlier is like adding javascript validation > to a web form - sure, the target of the submission still has to do its > own validat

Re: Should the Length of string_substr() Ever Be Negative?

2008-10-05 Thread NotFound
> (I'm making as many parameters and struct members unsigned as possible so that > the compiler can warn us if we ever use signed values with them. This is one > nice way to check some of our assumptions.) But sting_substr is called directly from opcodes, then the simpler way is that his argument

Re: [perl #59112] Failing test in t/examples/library.t

2008-10-04 Thread NotFound
>> Your point is very interesting. However, if you believe this issue >> merits more extended discussion, I would recommend you open up a new RT >> ticket, perhaps in the [RFC] category (or [RFP] or whatever it's called). >> >> I would like to keep the discussion in *this* RT focused on the issues

Re: [perl #59614] Wrong PC/line reported in handler arg-passing error

2008-10-04 Thread NotFound
> The problem is that pc 9/line 3 is the location of the invokecc > instruction that calls the erring test sub, not the location of the > get_results instruction where the problem is detected. I'm not sure how > to fix this, because it messes greatly with the modularity of how return > addresses a

Re: [perl #59590] Parse Error for 'make splint'

2008-10-04 Thread NotFound
> When fiddling with 'make splint' I ran into a Splint parse error: > > src/exceptions.c:500:25: Variable size initialized to type int, expects > size_t: backtrace(array, 32) > src/exceptions.c:503:36: Unrecognized format code: %zd stack frames (max > trace depth is %d).\n > src/exceptions.c:507:17

Re: [svn:parrot] r31570 - trunk/src/ops

2008-10-02 Thread NotFound
On Thu, Oct 2, 2008 at 11:00 PM, chromatic <[EMAIL PROTECTED]> wrote: > Can anything in the PIO_open() path throw an exception? If so, these strings > will leak. In a first look, it does not throw, but given that it calls layer functions, one never can be sure. But I don't see a better solution

Re: [perl #59542] null hash keys give segfault

2008-10-02 Thread NotFound
> maybe a duplicate of #43485 > > PIR code to reproduce: > > ..sub 'foo' :main > $S0 = null > $P0 = new 'Hash' > # no crash without next line > $P0['yum'] = 5 > $P1 = $P0[$S0] > ..end Fixed in r31566, together with a test adapted from this code. Don't know if is related to #43

Re: [perl #59546] [PATCH] Combine hash exists/get into a new opcode (5% performance gain)

2008-10-02 Thread NotFound
>> > I think will be better the other way, using the return value to flag >> > existence, and passing a pointer to store the result. This will allow >> > shorter and cleaner code. > > Another possibility might be to avoid the extra parameter altogether, > returning NULL (not PMCNULL) if the element

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

2008-10-02 Thread NotFound
> (I'd expect an exception to be raised instead.) > > > PIR code: > > ..sub 'foo' :main > $S0 = null > $P0 = open $S0, '<' > ..end > > output: > src/string.c:2106: failed assertion 's' Fixed in r31565 , but several questions opened: Where to put a test for this? There is no t/ops/io.t and

Re: [perl #59546] [PATCH] Combine hash exists/get into a new opcode (5% performance gain)

2008-10-02 Thread NotFound
I think will be better the other way, using the return value to flag existence, and passing a pointer to store the result. This will allow shorter and cleaner code. -- Salu2

Re: [perl #59538] [BUG] imcc freezes (compute_dominance_frontiers) -- Possible fix

2008-10-02 Thread NotFound
Looks correct. Tested on Linux i386, parrot test pass, perl6 test pass, test program in the RT does not hang and the generated pbc contains the expected opcodes. Good work! -- Salu2

[perl #59532] say typeof(namespace) gives a segfault

2008-10-02 Thread NotFound via RT
The problem is that the vtable function get_class return NULL. This is easily fixable, but the root of the problem is that the _class attribute is set in init as PMCNULL, but later it contains NULL.

Re: [perl #59112] Failing test in t/examples/library.t

2008-10-01 Thread NotFound
>> > The config test for pcre try to compile a test program. The pcre.pir >> > dynamically loads the pcre library. So if, for example, you have only >> > a static pcre lib, it will detect it but fails to use. >> >> That makes sense. Can we change the config test to link against a > dynamic >> pcre

Re: [perl #59112] Failing test in t/examples/library.t

2008-10-01 Thread NotFound
> auto::pcre - Does your platform support > pcreyes, 6.7. > > With this version installed, I could not reproduce the error you > reported. See: > http://smolder.plusthree.com/app/public_projects/tap_stream/5784/392 > > So could this be a problem with PCRE 7.7, or how it in

[perl #46083] [TODO] Fix memory leak in src/pmc/parrotio.pmc:open()

2008-09-30 Thread NotFound via RT
Fixed in r31508

[perl #57690] [BUG] make headerizer breaks build

2008-09-30 Thread NotFound via RT
On Mar. Ago. 12 15:05:57 2008, Whiteknight wrote: > This probably isn't headerizer's fault, it's more likely the fault of > IMCC for being so damn complicated. We could change all the function > definitions in the IMCC related files to use "struct _IMC_Unit" instead > of "IMC_Unit" which would res

[perl #46667] [TODO] [C] Do we need properties in the default object system?

2008-09-30 Thread NotFound via RT
> This check can be removed from default.pmc. Property values should not > be returned by get_attr_str. Done in r31509

[perl #54220] [BUG] Segfault when iterating with PMCs instead of strings

2008-09-29 Thread NotFound via RT
> It turns out that the namespace was a red herring. The real problem is > that when iterating over a hash, you cannot assign to a PMC register; it > must be a string register. So if the base collection is a hash, this > segfaults: > > $P0 = shift iterator > > But this works fine: > >

Re: [perl #59336] [BUG] Parrot fails integer comparisons when integers are > 2^31 apart

2008-09-25 Thread NotFound
> I suspect the problem is that the integer "greater than" operation > is performing a subtraction between the two (signed long) values > being compared, but the result of the subtraction is outside of > the range of signed longs. Correct. Fixed in r31419 -- Salu2

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

2008-09-24 Thread NotFound
> Thanks. There is little bit more patches. Applied in r31381, with some changes in the env.pmc part to avoid repeated calls. -- Salu2

Re: [perl #57728] [TODO] avoid 2038 bug if we haven't already.

2008-09-24 Thread NotFound
>> we definitely need date/time pmc(s?) not only to have a common epoch >> across platforms, but to deal with 2038. in particular, we should >> leverage schwern's work on perl to address the 2038 bug. >> ~jerry > > We definitely haven't already fixed this. Here's an easy test using > libfaketime:

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

2008-09-23 Thread NotFound
Patches to bigint, complex, float and string applied in r31370, thanks. -- Salu2

Re: [svn:parrot] r31324 - trunk/src/pmc

2008-09-23 Thread NotFound
>> Will be better to change FixedIntegerArray to implement elements by >> calling get_integer? And then use get_integer in all relevant places >> in ResizableIntegerArray? Looks more clear to me to get the value with >> get_integer and set it with set_integer_native. > > Yes, that's definitely bett

Re: [svn:parrot] r31324 - trunk/src/pmc

2008-09-22 Thread NotFound
On Mon, Sep 22, 2008 at 12:34 AM, NotFound <[EMAIL PROTECTED]> wrote: >>> +=item C >>> + >>> +Removes the element at C. >>> + >>> +=cut >>> + >>> +*/ >>> + >>> +VTABLE void delete_keyed_int(INTVAL key) { >

Re: [perl #57776] [BUG] PIO_buf_read segfault

2008-09-22 Thread NotFound
Applied with some changes in r31335 -- Salu2

Re: [svn:parrot] r31324 - trunk/src/pmc

2008-09-21 Thread NotFound
>> +=item C >> + >> +Removes the element at C. >> + >> +=cut >> + >> +*/ >> + >> +VTABLE void delete_keyed_int(INTVAL key) { >> +INTVAL size = PMC_int_val(SELF); > > With the use of the set_integer_native entry later, this should probably be: > >INTVAL size = SELF.get_integer();

Re: [perl #51262] [BUG] Segfault in pdump

2008-09-18 Thread NotFound
Changed in r31328: now string DATA use string_escape_string and delimit with double quotes, avoiding the need to a special case for empty strings and giving less problematic results with non ascii encodings and control characters. -- Salu2

Re: [svn:parrot] r31230 - in trunk: compilers/imcc src src/pmc

2008-09-18 Thread NotFound
On Thu, Sep 18, 2008 at 8:14 PM, chromatic <[EMAIL PROTECTED]> wrote: >> -char* buf = mem_allocate_n_typed(5*n+1, char *); >> +/* Assumptions: >> + * Flags has no more than 3 hex digits >> + * Plus 0x and , gives 6 char for arg >> + * 4 more for: "( , )", and >> +

Re: [perl #58726] [PATCH] add the option "encoding" to Configure.pl

2008-09-18 Thread NotFound
>> Can you explain a bit more about the rationale for adding this option to >> Configure.pl? >> > I think I is necessary to tell parrot to work on a computer with utf-8 > encoding > also with the same encoding, so that for example the following PASM-code > works: > > set S0, "Ö123\n" That code i

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

2008-09-18 Thread NotFound
I changed the fix in r31230 to allocate char instead of char *, adjusted the formula for buffer size and added a comment explaining it to lower the level of black magic, and added a check for each item, dropping the XXX comment that asked for it. I hope this is enough understanding of the error ;)

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

2008-09-16 Thread NotFound
> It certainly shouldn't segfault. But, the question is: why does it segfault > at 206 parameters? Throwing an exception to avoid an error we don't > understand isn't good for the long-term health of the VM. The problem is located inside compilers/imcc/pcc.c:pcc_get_args function. It has the comm

Re: [perl #43857] [TODO] Refactor config probes that are used only by language implementation

2008-09-12 Thread NotFound
>> Defining the hash entries for the subs in PIR syntax is awful. >> So I envision Makefile.pl, Makefile.nqp or Makefile.p6 for this syntax. >> For p6 we must ensure that every parrot package has a perl6 also then. Not >> good. >> So pl, pir or the simple nqp. > > The libs and scripts could be writ

Re: building parrot with clang + llvm

2008-09-10 Thread NotFound
On Wed, Sep 10, 2008 at 8:12 PM, chromatic <[EMAIL PROTECTED]> wrote: > The line numbers reported by clang seem sensible enough, but do they match > values in src/pmc/default.str? Mine contains: > > #define _CONST_STRING_45 80 > #define _CONST_STRING_103 534 > #define _CONST_STRING_144 _CONST_STR

Re: [perl #51262] [BUG] Segfault in pdump

2008-09-10 Thread NotFound
> I've recently commited a fix on null string constants. I think it was > the same problem described here. I compiled the pir file and pdumped > without a problem, it shows the DATA => NULL my fix introduced. > > Can you verify the problem is gone? > > I assume you are referring to r30756 o

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

2008-09-10 Thread NotFound
>> We have more: PIO_printf, PIO_eprintf, Parrot_printf, Parrot_eprintf >> and Parrot_fprintf. The Parrot_ ones are a wrapper around the PIO_s, >> with added check for extern usage, and that does not need #include io >> files. > > Yes, to be more accurate, we have a whole range of PIO functions. Bu

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

2008-09-10 Thread NotFound
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 once in

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

2008-09-09 Thread NotFound via RT
> 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: The print and say opcodes had already been changed some weeks ago, now both call PIO_printf on INT and NUM. By the way, now FLOATVAL_FMT is used instead of "%f"

[perl #51262] [BUG] Segfault in pdump

2008-09-09 Thread NotFound via RT
I've recently commited a fix on null string constants. I think it was the same problem described here. I compiled the pir file and pdumped without a problem, it shows the DATA => NULL my fix introduced. Can you verify the problem is gone?

[perl #54800] ignoring named arguments if there is an optional positional argument missing

2008-09-09 Thread NotFound via RT
> >rakudo: sub foo($x?, :$y = 2){ say "$x"~"|"~"$y"}; foo(:y(3)); > >exp_evalbot > >OUTPUT[|␤] > > This appears to be a bug in Parrot (now RT#54860). When that's fixed > this one should be fixed also. RT#54860 is fixed, verified: rakudo: sub foo($x?, :$y = 2){ say "$x"~"

Re: request for help (only a little :-): build pirc on linux

2008-09-09 Thread NotFound
> I put the commands that I'm using in the README file (but that's for MSVC on > windows), but I don't have any knowledge on how to do this on linux. There is no README file in compilers/pirc/new -- Salu2

Re: [perl #58704] [BUG] t/src/compiler.t failures with VC++ / Win32

2008-09-09 Thread NotFound
On Tue, Sep 9, 2008 at 5:23 AM, via RT Tim Heckman <[EMAIL PROTECTED]> wrote: > # New Ticket Created by "Tim Heckman" > # Please include the string: [perl #58704] > # in the subject line of all future correspondence about this issue. > # http://rt.perl.org/rt3/Ticket/Display.html?id=58704 > > li

Re: [perl #46635] [TODO] [C] Check overflow for -maxint in absolute()

2008-09-08 Thread NotFound
>> What would be the best way to handle this? We certainly don't need to do >> anything on systems where INT_MAX == -INT_MIN, but a simple compiler >> directive should help to detect that case. >> >> In the event that abs(INT_MIN) > abs(INT_MAX), should we silently >> saturate the result to INT_MAX

[perl #58680] [PATCH] new PLATFORM Linux S/390

2008-09-08 Thread NotFound via RT
Applied in r30907, thanks.

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

2008-09-08 Thread NotFound
>> The attached patch does it. There is a lot of changes, I suspect many >> of them are candidates for replacing with use of the SET_ATTR and >> GET_ATTR macros. Maybe defining a macro SELF_DATA_TYPE will be a >> convenient shortcut. > > Reading through the updated code, it seems that (using "Task"

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

2008-09-08 Thread NotFound
> Reading through the updated code, it seems that (using "Task" as an > example): > > Parrot_PMCdata_Task > > is not much clearer than the original "Parrot_Task" was. Let's go with: > > Parrot_Task_attributes A fast ack'ing of: Parrot_[_a-zA-Z]+_attributes for possible collisions shows only: Par

[perl #46457] [BUG][IMCC] long sub invocation with named parameters

2008-09-08 Thread NotFound via RT
The code in this ticket does not parse. Is using obsolete syntax? Can someone provide an updated version?

[perl #54860] [BUG] problem with optional named parameters

2008-09-08 Thread NotFound via RT
Added a test in r30902. Closing ticket.

[perl #53926] [BUG] :optional and :slurpy :named fails when called with :named :flat

2008-09-08 Thread NotFound via RT
Fixed in r30870, added a test in r30900. Closing ticket.

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

2008-09-08 Thread NotFound
On Mon, Sep 8, 2008 at 9:31 AM, Allison Randal via RT <[EMAIL PROTECTED]> wrote: > 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', > 's

Re: [PATCH][perl #58030] Bugfix of "Named parameter passing errors"

2008-09-07 Thread NotFound
On Sun, Aug 17, 2008 at 9:20 AM, mhelix <[EMAIL PROTECTED]> wrote: > The first named parameter isn't set if optional parameters are missing. The > function Parrot_process_args didn't > save the value of the argument. I used memcpy to copy the UnionVal. If > there's a neater way to do that please

[perl #58438] [PATCH] nci can't pass NULL string arguments

2008-09-07 Thread NotFound via RT
No objections and no problems, closing ticket.

Re: [perl #42693] [BUG] method overload in pir subclass of pmc pccmethod leaves object undefined

2008-09-07 Thread NotFound
coke says: > The PIR code in this ticket now causes a Bus error on osx/386 (r25175) Also segfaults in linux/386 for me. I added an assertion that catch the fault in r30859 -- Salu2

Re: [perl #58308] [PATCH] Implementation fo string_str_rindex and rindex op.

2008-09-07 Thread NotFound
Last revision of string.pmc patch, and of t/pmc/string.t patch, applied in r30853 See the ticket, several messages where not CCed to the list. -- Salu2

Re: [perl #48320] [BUG] Example in pdd23 doesn't work

2008-09-06 Thread NotFound
Sorry, the code I poste was bad. The valid form is: $P1 = new ['Exception'], $P0 # create new exception object -- Salu2

Re: [perl #48320] [BUG] Example in pdd23 doesn't work

2008-09-06 Thread NotFound
After some brief comment on irc, applied in r30833 -- Salu2

Re: [perl #48320] [BUG] Example in pdd23 doesn't work

2008-09-06 Thread NotFound
On Sat, Sep 6, 2008 at 3:34 AM, Christoph Otto via RT <[EMAIL PROTECTED]> wrote: > On Sat Feb 16 17:23:47 2008, coke wrote: >> The example in the PDD now reads: >> >> $P0 = new 'String' >> $P0 = "something bad happened" >> $P1 = new ['parrot';'exception'], $P0 # create new exception object >

Re: [perl #58438] [PATCH] nci can't pass NULL string arguments

2008-09-05 Thread NotFound
Hearing no objections, and because I needed it to be able to do tests with mysqlclient, applied in r30790 -- Salu2

[perl #46119] [TODO] Handle resume opcodes in PDB_next()

2008-08-29 Thread NotFound via RT
PDB_next no longer executes opcodes by himself, now is done in the debugger runloop. Closing ticket.

Re: struct and pointer to pointer in ATTR

2008-08-28 Thread NotFound
On Thu, Aug 28, 2008 at 11:33 AM, Allison Randal <[EMAIL PROTECTED]> wrote: > Approved for application. But, keep in mind that ATTRs other than INTVAL, > FLOATVAL, STRING *, and PMC * cannot have automatic GET_ATTR/SET_ATTR > accessor macros generated for them, and any C PMCs with these low-level

[perl #46125] [TODO] Verify that register is in range in PDB_check_condition()

2008-08-27 Thread NotFound via RT
Done in r30574

struct and pointer to pointer in ATTR

2008-08-27 Thread NotFound
Hello. The current grammar for ATTR in pmc2c allows declarations of the form: * varname In the perl6multisub pmc we have the attribute candidates_sorted whose intended type is candidate_info **, having two problems: The current grammar allows a single pointer, not a pointer to a pointer. This c

[perl #46115] [TODO] Avoid the verbose output in PDB_script_file() or add a -v flag?

2008-08-26 Thread NotFound via RT
Verbose output is now controlled by the 'echo' command. If more debugger output control is needed, create specific tickets.

[perl #46117] [TODO] Handle command error and print out script line in PDB_script_file()

2008-08-26 Thread NotFound via RT
Done in r30570

[perl #58358] parrot_debugger - Undefined com mand: "ñì¶ñì¶"

2008-08-26 Thread NotFound via RT
Fixed in r30537, closing ticket.

[perl #57474] [pdb] parrot debugger segfault

2008-08-26 Thread NotFound via RT
Closing ticket

[perl #46121] [TODO] Add while loop to increment through commands correctly in PDB_cond()

2008-08-26 Thread NotFound via RT
Fixed in r30533

Re: [perl #58358] parrot_debugger - Undefined command: "ñì¶ñì¶"

2008-08-25 Thread NotFound
On Mon, Aug 25, 2008 at 10:38 PM, chromatic <[EMAIL PROTECTED]> wrote: > I can't reproduce that, but does this patch fix it? Done in r30558, that way is cleaner. -- Salu2

Re: [perl #58358] parrot_debugger - Undefined command: "ñì¶ñì¶"

2008-08-25 Thread NotFound
On Mon, Aug 25, 2008 at 4:16 PM, via RT Will Coleda <[EMAIL PROTECTED]> wrote: > Hitting enter immediately after successfully starting the debugger > throws an error. Fixed in r30537 -- Salu2

Re: [perl #57474] [pdb] parrot debugger segfault

2008-08-25 Thread NotFound
On Thu, Jul 31, 2008 at 8:19 PM, via RT Will Coleda <[EMAIL PROTECTED]> wrote: > Running `parrot_debugger` over the tcl library code generates either a > segfault or a crash, depending. It does not fail for me in r30535 Currently parrot_debugger does not disasseble automatically a pbc, but execu

Re: gsoc_nci merge

2008-08-22 Thread NotFound
On Fri, Aug 22, 2008 at 9:51 PM, Kevin Tew <[EMAIL PROTECTED]> wrote: > 0015a810 t Parrot_store_arg > little t means its not exported. > > set_nci_* functions should probably be moved elsewhere. > as well as the Parrot_jit_build_call_func > I found Parrot_jit_build_call_func in src/jit/i386/ji

Re: [PATCH] Help catching gc errors in HLL

2008-08-20 Thread NotFound
On Mon, Jun 2, 2008 at 7:18 PM, chromatic <[EMAIL PROTECTED]> wrote: > I like the general idea, but I wonder if there's something cleaner than an > environment variable. Nothing really comes to mind at the moment besides > making argument processing even uglier in IMCC's main.c. > > Let's think a

Re: [perl #58054] t/op/exceptions.t:30 segfaults in switched core

2008-08-19 Thread NotFound
On Mon, Aug 18, 2008 at 1:33 AM, via RT Bob Rogers <[EMAIL PROTECTED]> wrote: > Running t/op/exceptions.t:30 segfaults using the switched core > ("parrot -S"). The same test fails in the CGP core [see RT#58044], but > in a different place. The assertion I added for RT#58044 also catches this.

  1   2   3   >