Branch: refs/heads/whiteknight/io_cleanup1
Home: https://github.com/parrot/parrot
Commit: 294f056011054686a0b3cfade2427bcae5d45c5b
https://github.com/parrot/parrot/commit/294f056011054686a0b3cfade2427bcae5d45c5b
Author: Whiteknight <[email protected]>
Date: 2012-05-27 (Sun, 27 May 2012)
Changed paths:
M include/parrot/io.h
M src/io/api.c
M src/io/buffer.c
M src/io/filehandle.c
M src/io/io_private.h
M src/io/pipe.c
M src/io/utilities.c
Log Message:
-----------
Finally get the read-STRING logic under control.
Add some buffer-related helpers to read characters out of the buffer, and
refuse to return incomplete codepoints. This simplifies read logic at the
higher levels substantially. Use these and some other new features to
(re-)implement Parrot_io_read_s and Parrot_io_readline_s. As always, a few
other miscellaneous cleanups peppered throughout
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-commits