summary refs log tree commit diff
path: root/src/libcore/io.rs
AgeCommit message (Collapse)AuthorLines
2012-07-09Switch 'cont' to 'again' everywhere. Close #2229.Graydon Hoare-1/+1
2012-07-05Mostly change TODOs to FIXMEs and annotate themTim Chevalier-3/+3
But, one change in io to implement a TODO suggestion (using a const u8)
2012-07-03Switch 'native' to 'extern' (or 'foreign' in some descriptions)Graydon Hoare-3/+3
2012-07-01Convert to new closure syntaxBrian Anderson-34/+34
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-26/+26
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-63/+63
2012-06-26More perf tweaks (issue #2719)Eric Holk-9/+9
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-46/+46
2012-06-25MergeTim Chevalier-4/+4
2012-06-25core: Convert declarations to not use the trailing 'unsafe' notationBrian Anderson-4/+4
2012-06-21Port resources to classes in libcoreTim Chevalier-11/+23
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-18/+17
2012-06-07Use #[cfg(unix)] and #[cfg(windows)] everywhereBrian Anderson-4/+2
2012-06-06misc. copies in core/syntax to please borrowckNiko Matsakis-1/+1
2012-06-04Machine types are different from int/uint, etc (Issue #2187)Eric Holk-8/+9
2012-06-04Implement stack-only variants of int/uint str conversion and output.Graydon Hoare-4/+7
2012-06-02make vec fns/methods take imm slices.Niko Matsakis-3/+3
this also repairs the unsoundness in typing of unpack_slice, which was silently converting a const ptr to an imm one.
2012-05-19core: Add iterable functions to io::reader_utils.Erick Tryzelaar-0/+18
2012-05-18move io over to dvecNiko Matsakis-19/+34
2012-04-30Revert "Eliminate a copy in syntax::parse::new_parser_from_file"Tim Chevalier-18/+0
This reverts commit 2bb3b63ec4379b812aeceb690d78763ec55d3cbb. (I was confused.)
2012-04-30Eliminate a copy in syntax::parse::new_parser_from_fileTim Chevalier-0/+18
Fixing a FIXME turned out to be pretty involved. I added an io function that returns a unique boxed string (for the contents of a file) rather than a string, and went from there. Also made the src field of codemap a unique boxed string. This doesn't seem to make that much difference in amount of allocation according to valgrind (disappointingly), but I also had to introduce a copy somewhere else pending a new snapshot, so maybe that's it.
2012-04-25More slice use in vec, io, str, ebml, metadata encoder and decoder.Graydon Hoare-51/+111
2012-04-19Add a lint pass to check for while true { ... } loopsTim Chevalier-2/+2
And suggest changing them to loop { ... }. Had to fix the few remaining while true loops (in core::io). Closes #1962.
2012-04-19core: Move last_os_error from sys to osBrian Anderson-3/+3
2012-03-27Move some code over to iterator-for to see how it performs.Marijn Haverbeke-2/+2
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-9/+9
2012-03-22make --enforce-mut-vars always on, add mut annotations to remaining filesNiko Matsakis-1/+1
2012-03-20Minor io fixlet to account for racing against last_os_error.Graydon Hoare-1/+1
2012-03-16core: Store reexporting result and either. Closes #1997Brian Anderson-0/+2
2012-03-15Comments only: issue numbers for FIXMEsTim Chevalier-9/+13
2012-03-15Put the OS error in the error string in io::mk_file_writer()Tim Chevalier-4/+2
2012-03-13implement deserialization, rename mk_mem_buffer() to mem_buffer()Niko Matsakis-3/+3
2012-03-13Name types after their modules instead of 't'Brian Anderson-6/+6
2012-03-12Libc/os/run/rand/io reorganization. Close #1373. Close #1638.Graydon Hoare-0/+776
- Move io, run and rand to core. - Remove incorrect ctypes module (use libc). - Remove os-specific modules for os and fs. - Split fs between core::path and core::os.