Re: uninitialized pointer in scheduler.c

2008-01-01 Thread Allison Randal
Andy Lester wrote: It says that time_struct below is not initialized before use, and I sure don't see that it isn't. Was an incorrect change, now reverted. Allison

[perl #49276] [BUG] http://smoke.parrotcode.org/smoke/ failing to display submitted smoke report

2008-01-01 Thread via RT
# New Ticket Created by James Keenan # Please include the string: [perl #49276] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=49276 > On Dec 30, I succeeded in running 'make smoke' on my iBook for the first time. At fir

S03 - Str autodecrement

2008-01-01 Thread Patrick R. Michaud
I'm working on S03 tests, and S03 says: Perl 6 also supports Str decrement with similar semantics, simply by running the cycles the other direction. However, leftmost characters are never removed, and the decrement fails when you reach a string like "aaa" or "000". Is this "fail

[perl #49274] [CAGE] script to generate ports/debian/parrot-doc.docs

2008-01-01 Thread via RT
# New Ticket Created by Allison Randal # Please include the string: [perl #49274] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=49274 > A quick cage cleaner task. Create a script to generate the file ports/debian/parrot-d

Re: expected test failures in t/pmc, t/run, and t/stm

2008-01-01 Thread James E Keenan
Here's where we stand after r24412 on Linux. t/dynoplibs/myops..1..10 ok 1 - fortytwo ok 2 - what_do_you_get_if_you_multiply_six_by_nine ok 3 - hcf ok 4 - a short cheating quine ok 5 - one alarm ok 6 - three alarm ok 7 - repeating alarm ok 8 - bxand - A AND B, but not BOTH ok 9 - conv_u2_i ok

Re: calling parrot from perl6

2008-01-01 Thread Patrick R. Michaud
On Mon, Dec 31, 2007 at 11:17:53PM +0300, Richard Hainsworth wrote: > Not sure whether this should be p6-lan or p6-users. Posted to p6l only. Since the question is specific to perl6 and Parrot, it probably belongs on perl6-compiler. But I'll answer it here for now, as it may spark a language rela

[perl #46869] [BUG] t/tools/ops2pmutils/: Failures in 4 test files

2008-01-01 Thread James Keenan via RT
The one remaining questionable test (concerning warning of experimental.ops) has been passing for > 1 month. So today I commented out the TODO block surrounding it. I'm resolving the ticket, but please start new RT if you experience any problems running 'perl Configure.pl --test' or 'perl Configu

[perl #42040] [TODO] test tools/dev/mk_manifest_and_skip.pl

2008-01-01 Thread James Keenan via RT
The code in tools/dev/mk_manifest_and_skip.pl is mostly calls to Parrot::Manifest methods. These are reasonably well tested in t/manifest.t, which may be invoked after configuration as: make manifest_tests These tests will generate a failure if either MANIFEST or MANIFEST.SKIP is in a state wh

[perl #43321] [TODO] config/init/defaults.pm: Write unit tests

2008-01-01 Thread James Keenan via RT
With some additional refactoring of an OS-specific 'if' block and tests to match, code coverage is extremely high, so I'm resolving this ticket. kid51

[perl #44451] [TODO] Write a SKIP block to test OS-specific branch in init::defaults

2008-01-01 Thread James Keenan via RT
ptc's original spec for this ticket was: "Write a SKIP block which will test the one OS-specific branch in init::defaults." What I have done is to isolate the OS-specific code into an internal subroutine, _64_bit_adjustments(), and then set up mock values with which to test that subroutine in new

[perl #49242] [CAGE] MANIFEST shouldn't skip every file containing the word 'debian'

2008-01-01 Thread Allison Randal via RT
Now correctly adds debian_packaging_guide.pod to the MANIFEST. New directory structure good. Resolving. Allison

Re: expected test failures in t/pmc, t/run, and t/stm

2008-01-01 Thread Allison Randal
Thanks all for the reports. I see two common trouble spots in hellgrind and the test output. One is a possible race condition if two threads add tasks to the concurrency scheduler at exactly the same moment. The other is the fact that PCC uses globals in the interpreter to store invocation info

Re: uninitialized pointer in scheduler.c

2008-01-01 Thread Andy Lester
On Jan 1, 2008, at 8:38 AM, Leopold Toetsch wrote: struct timespec *time_struct; This is a pointer to an unallocated structure, which was filled thereafter. Of course. I understand the C. It was the intent I couldn't get into. -- Andy Lester => [EMAIL PROTECTED] => www.petdance.co

Re: uninitialized pointer in scheduler.c

2008-01-01 Thread Leopold Toetsch
Am Dienstag, 1. Januar 2008 08:39 schrieb Andy Lester: > Just reporting what GCC tells me, and I don't see that it's wrong. It > says that time_struct below is not initialized before use, and I sure > don't see that it isn't. Fixed in 24405. > struct timespec *time_struct; This is a pointe

uninitialized pointer in scheduler.c

2008-01-01 Thread Andy Lester
Just reporting what GCC tells me, and I don't see that it's wrong. It says that time_struct below is not initialized before use, and I sure don't see that it isn't. I'd investigate further, but I'm off to bed... xoxo, Andy Parrot_cx_schedule_sleep(PARROT_INTERP, FLOATVAL time, ARGIN_NULL

Re: calling parrot from perl6

2008-01-01 Thread Jonathan Worthington
Richard Hainsworth wrote: Given a function implemented in parrot, how can it be called from a perl6 program? To use functions from a class or module in a different language, you will be able to use "use" to include the module, but with the language name out the front. So: use parrot:SomeModul

[svn:perl6-synopsis] r14476 - doc/trunk/design/syn

2008-01-01 Thread larry
Author: larry Date: Tue Jan 1 00:22:25 2008 New Revision: 14476 Modified: doc/trunk/design/syn/S02.pod Log: Infelicities noticed by Limbic_Region++ Modified: doc/trunk/design/syn/S02.pod == --- doc/trunk/design/syn/

Re: Testing asynchronous code

2008-01-01 Thread mAsterdam
chromatic schreef: On Monday 31 December 2007 05:50:47 Allison Randal wrote: In the concurrency work I'm about to check in, I have some tests that fail intermittently because they test for something like: 1 alarm1 2 alarm2 3 alarm3 alarm1 alarm3 4 alarm3 alarm3 alarm3 5 done. When the actual

Re: Perl6::Doc # Hail to the new pharao

2008-01-01 Thread herbert breunung
hello c i have now permisson from you, mjd, phil crow and jonathan and perl.com is also mentioned in the head as you see here: http://search.cpan.org/dist/Perl6-Doc/lib/Perl6/Doc/Magazine/perl.com/EverydayPerl6.pod its all moving along. and special thanks to allison and patrick for helping

Re: [perl #49236] Segfault generating config.fpmc durring build

2008-01-01 Thread chromatic
On Monday 31 December 2007 16:08:09 Joseph Sadusk wrote: > Actually, yeah, I was using -j4, and I just tried without and it works > fine. Didn't even think of that. Strange how consistently it repros > with it though. Sorry about that. It looks to me like there's a problem in generating the .s

[perl #49262] [CAGE]: Rename Parrot::Configure::Step and Parrot::Configure::Step::Base

2008-01-01 Thread James Keenan via RT
On Mon Dec 31 17:47:04 2007, [EMAIL PROTECTED] wrote: > Revisions were developed and tested in a 'stepbase' branch, then > committed to trunk in r24378. > > kid51 Testing on two different OSes revealed some loose ends. These were cleaned up in r24381-24385.

calling parrot from perl6

2008-01-01 Thread Richard Hainsworth
Not sure whether this should be p6-lan or p6-users. Posted to p6l only. Given a function implemented in parrot, how can it be called from a perl6 program? Suppose I have a file (in current path) myfun.pir which contains .sub myfun .param pmc passed_variable .local int an_int an_int