Generic callback mechanism in NCI

2007-10-19 Thread Paul Seamons
I started to write an OpenGL library and was only a couple of dozen lines into the pir when I remembered the documentation about callbacks in docs/pdds/draft/pdd16_native_call.pod . Currently there are only two signatures supported on callbacks: one with user_data and extern_data and the other wit

Re: [perl #46541] [BUG] t/pmc/objects.t test failures

2007-10-19 Thread chromatic
On Friday 19 October 2007 09:30:31 Bernhard Schmalhofer wrote: > Why should it be a TODO test? For one, there's no ticket for it. For two, allowing known failing bugs is the Broken Windows anti-pattern. Not only does it undermine confidence in the software (oh, still broken!) but it adds nois

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

2007-10-19 Thread kjs
Author: kjs Date: Fri Oct 19 12:40:49 2007 New Revision: 22276 Modified: trunk/docs/pdds/draft/pdd06_pasm.pod Log: and yet another line too long in pdd06_pasm.pod Modified: trunk/docs/pdds/draft/pdd06_pasm.pod == ---

[perl #46503] [TODO] Remove individual runcore command line flags...

2007-10-19 Thread Jerry Gay via RT
i've added -R, --runcore options to parrot in r22284, with documentation and tests. see C and C for details. next we need to decide what to do about the old options. when do we deprecate them? how do we migrate to the new syntax? etc. if you have ideas, let them be known by replying here. i sugge

Re: [perl #46481] [PATCH] Add a GC-Debugging Core

2007-10-19 Thread jerry gay
On 10/16/07, via RT chromatic <[EMAIL PROTECTED]> wrote: > # New Ticket Created by chromatic > # Please include the string: [perl #46481] > # in the subject line of all future correspondence about this issue. > # http://rt.perl.org/rt3/Ticket/Display.html?id=46481 > > > > Here's a nifty little pa

Re: Generic callback mechanism in NCI

2007-10-19 Thread Allison Randal
[EMAIL PROTECTED] wrote: I started to write an OpenGL library and was only a couple of dozen lines into the pir when I remembered the documentation about callbacks in docs/pdds/draft/pdd16_native_call.pod . [...] My questions are: - Does anybody else want a generic callback function mechani

[perl #46515] [BUG] t/pmc/threads.t test failures

2007-10-19 Thread Allison Randal via RT
The problem is specifically with vtable overrides in classes that are cloned into a thread (which is a cloned interpreter object). The sub object for the vtable override loses its 'seg' member, as demonstrated in the gdb output below. The particular vtable override in tests 13 and 14 of t/pmc/threa

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

2007-10-19 Thread kjs
Author: kjs Date: Fri Oct 19 12:39:10 2007 New Revision: 22275 Modified: trunk/docs/pdds/draft/pdd06_pasm.pod Log: make line length test pass for pdd06_pasm.pod Modified: trunk/docs/pdds/draft/pdd06_pasm.pod == --- tr

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

2007-10-19 Thread kjs
Author: kjs Date: Fri Oct 19 13:06:18 2007 New Revision: 22279 Modified: trunk/docs/pdds/draft/pdd06_pasm.pod Log: and yet another line too long in pdd06; fixing. Modified: trunk/docs/pdds/draft/pdd06_pasm.pod == ---

Re: [perl #46541] [BUG] t/pmc/objects.t test failures

2007-10-19 Thread Allison Randal
chromatic wrote: On Friday 19 October 2007 09:30:31 Bernhard Schmalhofer wrote: Why should it be a TODO test? For one, there's no ticket for it. I saw the failing test, but didn't know where it came from or why it was there. (And until I dug into it the commit logs, I didn't even know if

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

2007-10-19 Thread Joshua Isom
It seems as though the first line seems to have caught my eye. In most languages, ~ is used for bitwise not, and not bitwise xor which is given ^. Parrot seems to do things a tad differently. An analysis of the generated pir shows how parrot treats it now. .sub main $I0 = 5

Re: [perl #46541] [BUG] t/pmc/objects.t test failures

2007-10-19 Thread Bernhard Schmalhofer
chromatic schrieb: On Thursday 18 October 2007 18:04:15 James Keenan wrote: Linux. r22261 [li11-226:parrot] 559 $ prove -v t/pmc/objects.t t/pmc/objects1..74 ok 1 - find_type (base class) [snip] not ok 57 - equality of subclassed Integer # Failed test (t/pmc/objects.t at line 16

Re: [perl #43481] t/examples/shootout.t (shootout_16.pir) fails on gentoo/x86

2007-10-19 Thread ajr
> I'm not sure about the current status of t/examples/shootout.t on Linux, > but it is still failing on Darwin. See attached. > It just passed on my Mandriva. -- Email and shopping with the feelgood factor! 55% of income to good causes. http://www.ippimail.com

Re: [perl #46541] [BUG] t/pmc/objects.t test failures

2007-10-19 Thread chromatic
On Friday 19 October 2007 11:37:08 Bernhard Schmalhofer wrote: > chromatic schrieb: > > For two, allowing known failing bugs is the Broken Windows anti-pattern. > > Not only does it undermine confidence in the software (oh, still broken!) > > but it adds noise that makes it far more difficult to

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

2007-10-19 Thread ambs
Author: ambs Date: Fri Oct 19 06:21:28 2007 New Revision: 22268 Modified: trunk/docs/pdds/draft/pdd19_pir.pod Log: Added proposal for simple change on binary operators Modified: trunk/docs/pdds/draft/pdd19_pir.pod ==