Re: r8118: MSWin32 Test Results

2005-05-19 Thread Leopold Toetsch
Ron Blaschke wrote: Ron Blaschke wrote: t\pmc\bigint.t1 256221 4.55% 22 The problem seems to be caused by the C in F. Well, not the actual cause, but that's where we fail. mpz_get_str() returned a string that was very likely allocated by a different "default allocation

Re: Parrot as an extension language

2005-05-19 Thread Colin Paul Adams
> "Leopold" == Leopold Toetsch <[EMAIL PROTECTED]> writes: Leopold> Yeah. I'm sorry to say that: you are just hitting a part Leopold> of Parrot labeled "under (re)construction" and the docs Leopold> aren't all up to date. >> So does that mean I'm limited to singlebyte string

Re: r8118: MSWin32 Test Results

2005-05-19 Thread Ron Blaschke
Ron Blaschke wrote: > Leopold Toetsch wrote: >> Ron Blaschke <[EMAIL PROTECTED]> wrote: >>> t\pmc\bigint.t1 256221 4.55% 22 >> What's up with that one? > Maybe my fault. The program segfaults at C in > C. Memory gets allocated by a non-debug version of GMP, > and deall

Re: [perl #35305] [PATCH] skip threads 'detatch' test on win32

2005-05-19 Thread Leopold Toetsch
Vladimir Lipsky <[EMAIL PROTECTED]> wrote: >> "D:\usr\local\parrot-HEAD\trunk\t\pmc\threads_4.pasm"' failed with >> exit code 255 > Parrot_really_destroy needs to be fixed $verbose++ please, thanks leo

Re: Parrot as an extension language

2005-05-19 Thread Leopold Toetsch
Colin Paul Adams wrote: Parrot_new_string and I'm passing "UTF-8" as the encoding name. I get back: Can't make 'UTF-8' charset strings ^^^ Despite what the documentation says: encoding Yeah. I'm sorry to say that: you are just hitting a part of Parrot labeled "under (re)co

Re: [PATCH] More t/p6rules tests

2005-05-19 Thread Patrick R. Michaud
On Wed, May 18, 2005 at 03:50:07PM -0400, Dino Morelli wrote: > I moved the \N test out of t/p6rules/cclass.t and made a new file for > escape tests: escape.t, currently containing tests for \s \S \w \W \d \D > \n \N > > Patch file for MANIFEST and cclass.t, and new file escape.t attached. I've b

Re: r8118: MSWin32 Test Results

2005-05-19 Thread Ron Blaschke
Leopold Toetsch wrote: > Ron Blaschke <[EMAIL PROTECTED]> wrote: >> t\op\spawnw.t 5 1280 65 83.33% 2-6 > exit status? Quite likely, yes. I'd gladly provide a patch, if someone would decide The Right Thing To Do. That is, what should Parrot_Run_OS_Command return? Somethi

[perl #35888] [PATCH] r8122: internal_ to real_exceptions for bigint

2005-05-19 Thread via RT
# New Ticket Created by jerry gay # Please include the string: [perl #35888] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=35888 > the attached patch converts internal_exceptions to real_exceptions in bigint.pmc. also, th

Re: Parrot as an extension language

2005-05-19 Thread Colin Paul Adams
> "Colin" == Colin Paul Adams <[EMAIL PROTECTED]> writes: > "Jeff" == Jeff Horwitz <[EMAIL PROTECTED]> writes: Colin> Can't make 'UTF-8' charset strings Colin> Despite what the documentation says: Colin> encoding Colin> This specifies the encoding used to encode the cha

Re: Parrot as an extension language

2005-05-19 Thread Colin Paul Adams
> "Jeff" == Jeff Horwitz <[EMAIL PROTECTED]> writes: Jeff> all you should need to include is embed.h, extend.h and for Jeff> now, resources.h. i'm actually working on fleshing these Jeff> files out to be more consistent wrt the public API. I'm getting real close now. But I'm hav

Re: [perl #35305] [PATCH] skip threads 'detatch' test on win32

2005-05-19 Thread Leopold Toetsch
Jerry Gay <[EMAIL PROTECTED]> wrote: > here's the patch to unskip test 6: Thanks, applied. leo

Re: [perl #35305] [PATCH] skip threads 'detatch' test on win32

2005-05-19 Thread Vladimir Lipsky
jerry gay <[EMAIL PROTECTED]> wrote: much better! one failing test now... D:\usr\local\parrot-HEAD\trunk>perl t/harness t/pmc/threads.t t/pmc/threadsok 3/11# Failed test (t/pmc/threads.t at line 163) # got: 'start 1 # in thread # done # Can't spawn ".\parrot.exe "D:\usr\local\pa

Re: Parrot as an extension language

2005-05-19 Thread Colin Paul Adams
> "Jeff" == Jeff Horwitz <[EMAIL PROTECTED]> writes: >> What headers do I need to read for the parrot_find_global call? Jeff> Parrot_PMC is the public type, and behind the scenes it's Jeff> defined as PMC *. Jeff> all you should need to include is embed.h, extend.h and for

Re: Parrot as an extension language

2005-05-19 Thread Jeff Horwitz
On 19 May 2005, Colin Paul Adams wrote: [snip] > I'm having a problem with this. > For Parrot_find_global, I'm specifying global.h as one of the header > files which must be read to generate definitions from. > But this is failing, apparently because PMC isn't defined. > > So I tried to find wher

Re: Parrot as an extension language

2005-05-19 Thread Colin Paul Adams
> "Autrijus" == Autrijus Tang <[EMAIL PROTECTED]> writes: Autrijus> You may wish to use Parrot_call_sub's "SS" form, where Autrijus> you pass in a string and get back a string. Something Autrijus> like this: Autrijus> my $interp = Parrot_new(undef); Autrijus> # .

Re: [perl #35305] [PATCH] skip threads 'detatch' test on win32

2005-05-19 Thread jerry gay
much better! one failing test now... with my inline patch to remove the skip block around test 6. On 5/19/05, Leopold Toetsch <[EMAIL PROTECTED]> wrote: > Vladimir Lipsky <[EMAIL PROTECTED]> wrote: > > > 1) Why the heck > > Easy: it's not in the MANIFEST. Why: patches scattered between inline >

Re: r8118: MSWin32 Test Results

2005-05-19 Thread Leopold Toetsch
Ron Blaschke <[EMAIL PROTECTED]> wrote: > Below are the test results of > Windows XP SP2 > Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 > for 80x86 > Activestate Python 2.4.1 Build 245 > Activestate Perl 5.8.6 Build 811 [ all dynclasses - ok linker problem ]

Re: [perl #35305] [PATCH] skip threads 'detatch' test on win32

2005-05-19 Thread Leopold Toetsch
Vladimir Lipsky <[EMAIL PROTECTED]> wrote: > 1) Why the heck Easy: it's not in the MANIFEST. Why: patches scattered between inline and attached and the MANIFEST part missing ... it's easy to overlook. > -# ifdef _MCS_VER1 > +# ifdef _MCS_VER Thanks, applied - hope that's really the whole thin

Re: [perl #35855] Problem with Perl 5.6.1

2005-05-19 Thread Leopold Toetsch
François" PERRAD <[EMAIL PROTECTED]> wrote: > I notice that building with Perl 5.6.1 (on Win32 with Perl 5.6.1 > ActiveState-build 635 and MinGW) causes problem. A different Perl works? > $ parrot > Assertion failed: (int)io->image->bufused >= 0, file src/pmc_freeze.c, line > 478 > abnormal pr