summary refs log tree commit diff
path: root/src/libstd/io.rs
AgeCommit message (Collapse)AuthorLines
2012-01-19lib: ";" to "," in enumsPatrick Walton-5/+5
2012-01-19stdlib: "tag" -> "enum"Patrick Walton-3/+3
2012-01-18Remove '.' after nullary tags in patternsTim Chevalier-11/+11
Does what it says on the tin. The next commit will remove support for this syntax.
2012-01-17libstd: Move std tests into libstdBrian Anderson-0/+99
2012-01-13deprecate fn exprs and the fn() type, preferring fn@ and native fnNiko Matsakis-4/+4
2012-01-11Major clean-up of std::ioMarijn Haverbeke-283/+204
Use ifaces instead of objs, stop wrapping everything in two (or three) layers of no-value-added indirection, and remove some of the more pointless/outdated idioms from the code.
2012-01-09add tests for io::readchars and io::readcharGrahame Bowland-7/+10
Additionally reformat so that 'make check' passes.
2012-01-09add new read_chars method, fix bug in read_charGrahame Bowland-20/+60
having a read_chars method is convenient and more efficient. the old read_char method had a bug due to re-use of the 'w' width variable as a loop counter and so was broken for wide characters, this patch fixes that.
2011-12-28libstd: add bytes_reader and bytes_writerErick Tryzelaar-5/+24
This parallels nicely with string_reader and string_writer, but working with raw byte strings. I'm not quite sure if the return type for bytes_writer.get_bytes should be [u8] or [mutable u8] though, so I'm arbitrarily picking mutable for now.
2011-12-28libstd: Allow io writer to write mutable arraysErick Tryzelaar-6/+6
2011-12-22Register new snapshots, purge log_err and log_full in favour of log(...).Graydon Hoare-2/+2
2011-12-22Register snapshots and switch logging over to use of log_full or #error / ↵Graydon Hoare-7/+7
#debug.
2011-12-19preparing for removing math from stdStefan Plantikow-2/+2
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-0/+2
2011-12-06libstd: Update docsBrian Anderson-0/+6
2011-12-06Establish 'core' library separate from 'std'.Graydon Hoare-0/+582