Alex Crichton
620ab3853a
Test fixes and merge conflicts
2013-10-24 14:21:58 -07:00
Alex Crichton
4eb5336054
Move as much I/O as possible off of native::io
...
When uv's TTY I/O is used for the stdio streams, the file descriptors are put
into a non-blocking mode. This means that other concurrent writes to the same
stream can fail with EAGAIN or EWOULDBLOCK. By all I/O to event-loop I/O, we
avoid this error.
There is one location which cannot move, which is the runtime's dumb_println
function. This was implemented to handle the EAGAIN and EWOULDBLOCK errors and
simply retry again and again.
2013-10-24 14:21:57 -07:00
Alex Crichton
daf5f5a4d1
Drop the '2' suffix from logging macros
...
Who doesn't like a massive renaming?
2013-10-22 08:09:56 -07:00
Brian Anderson
34d376f3cf
std: Move size/align functions to std::mem. #2240
2013-10-17 17:31:35 -07:00
Alex Crichton
facefa7c8d
Implement rt::io::stdio
...
Additionally, this moves the prelude imports of print/println from std::io to
std::rt::io.
Closes #6846
2013-10-10 03:38:51 -07:00
Alex Crichton
a0d2f71e8e
Implement io::native::process
2013-10-09 11:24:15 -07:00
Alex Crichton
edf4c16997
Implement io::native::stdio
2013-10-09 11:21:47 -07:00
Alex Crichton
b509f7905a
Implement io::native::file
2013-10-09 11:21:47 -07:00
Steven Fackler
019b131e12
Stop using newtype wrappers in std::rt::io
...
UnboundedPipeStream is still a newtype since process::set_stdio needs to
look into its internals.
Closes #9667
2013-10-02 20:37:17 -07:00
Alex Crichton
a8ba31dbf3
std: Remove usage of fmt!
2013-09-30 23:21:18 -07:00
Patrick Walton
0c820d4123
libstd: Rename libcore to libstd and libstd to libextra; update makefiles.
...
This only changes the directory names; it does not change the "real"
metadata names.
2013-05-22 21:57:05 -07:00