pre-merge testing on I/O branch
Will Coleda
will at coleda.com
Mon Dec 8 13:15:09 UTC 2008
On 12/7/08, Allison Randal <allison at parrot.org> wrote:
> As of r33639, all core tests are passing in the pdd22io_part2 branch on
> the platforms I have access to (Intel Mac 10.5.5, Ubuntu 8.04 32-bit).
> This branch takes the new I/O system that was merged into trunk a few
> weeks ago, and makes it the default, replacing the old I/O system.
>
> I would appreciate any platform or language testing, and will merge in
> the branch tomorrow if I hear no reports, hear all positive reports, or
> manage to fix any reported problems. I see some failures in Rakudo's
> 'make spectest', will check to see if they're related.
>
> A few notes for language developers:
>
> - Anywhere your PIR code manually created a 'ParrotIO' object, it will
> now need to create a 'FileHandle' object instead. If you used the 'open'
> opcode, then no change will be needed.
>
> - Anwhere your PIR code called a 'slurp' method on the filehandle, it
> will need to call a 'readall' method instead.
In tcl, we were calling (don't remember why) .'slurp'('') ; using
.'readall'() worked.
> - In C code, if you were calling a 'PIO_*' function, the name has
> changed to 'Parrot_io_*'.
>
> Allison
I was able to to get tcl to work fairly easily with the modifications;
trunk still has a GC error which prevents me from using "latest" so I
won't commit these changes to tcl trunk, but perhaps I can start a
partcl branch to track these changes.
Thanks.
--
Will "Coke" Coleda
More information about the parrot-dev
mailing list