Jeff Olson
8d997fba1a
std: put FileMode/Access->whence-mask in uvio, open/unlink as fns in file::
2013-08-22 16:31:58 -07:00
Jeff Olson
6311856bf4
std: slight refactor on UvFilestream seek behavior, pre-seek-refactor
2013-08-22 16:31:58 -07:00
Jeff Olson
429b5f88f9
std: rename tmp file paths to go into ./tmp folder in builddir
2013-08-22 16:31:58 -07:00
Jeff Olson
ece709f172
std: more seek tests
2013-08-22 16:31:58 -07:00
Jeff Olson
0e9964189d
std: lint appeasement for unused param in condition handler
2013-08-22 16:31:58 -07:00
Jeff Olson
05c8cc70c9
std: rework file io.. support [p]read,[p]write, impl seek/tell + more tests
2013-08-22 16:31:57 -07:00
Jeff Olson
4015b4a9b4
std: add FileStream::unlink + more tests
2013-08-22 16:31:57 -07:00
Jeff Olson
f6d897d7d9
std: rt::io::file::FileStream fleshed out.. needs more work.. see extended
...
- change all uses of Path in fn args to &P
- FileStream.read assumptions were wrong (libuv file io is non-positional)
- the above will mean that we "own" Seek impl info .. should probably
push it in UvFileDescriptor..
- needs more tests
2013-08-22 16:31:57 -07:00
Tim Chevalier
5da4b4d928
std/extra: changing XXX to FIXME; cleanup
...
* Get rid of by-value-self workarounds; it works now
* Remove type annotations, they're not needed anymore
2013-08-21 17:17:41 -07:00
Huon Wilson
efc71a8bdb
std: unify the str -> [u8] functions as 3 methods: .as_bytes() and .as_bytes_with_null[_consume]().
...
The first acts on &str and is not nul-terminated, the last two act on strings
that are always null terminated (&'static str, ~str and @str).
2013-06-12 12:21:04 +10: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