about summary refs log tree commit diff
path: root/src/lib/io.rs
AgeCommit message (Collapse)AuthorLines
2011-12-06Establish 'core' library separate from 'std'.Graydon Hoare-582/+0
2011-12-02Added cross-platform fsync api to io; win32 impl needs to be refinedStefan Plantikow-1/+93
No tests, need mktmpfile first
2011-11-17remove compile-command from local variable blocksNiko Matsakis-1/+0
2011-11-16missed mergesNiko Matsakis-5/+0
2011-11-16refactor all unix typesNiko Matsakis-12/+22
2011-11-16Replace 'mutable?' with 'const'Brian Anderson-1/+1
2011-11-16Use attributes for native module ABI and link nameHaitao Li-1/+2
This patch changes how to specify ABI and link name of a native module. Before: native "cdecl" mod llvm = "rustllvm" {...} After: #[abi = "cdecl"] #[link_name = "rustllvm"] native mod llvm {...} The old optional syntax for ABI and link name is no longer supported. Fixes issue #547
2011-11-15Replaced constant functions with actual constants in std and updated testsStefan Plantikow-6/+7
Fixes issue #1165
2011-11-10Cleanup unused importsHaitao Li-1/+0
2011-11-09Rename "c-stack-cdecl" ABI to "cdecl"Brian Anderson-1/+1
2011-11-03Disallow writing to function arguments againMarijn Haverbeke-12/+12
Remove implicit copying hack. Closes #1118
2011-10-29stdlib: Make io failures recoverable by returning a resultBrian Anderson-17/+26
2011-10-25Begin documenting std and add doc generation using naturaldocsBrian Anderson-1/+0
Naturaldocs isn't really that great but it seems easier to get something working than with doxygen, for which we would need to convert rust code to something C++ish. We probably want to just write a rustdoc utility at some point.
2011-10-24move io.rs natives from "rust" to "c-stack-stdlib"Niko Matsakis-1/+1
2011-10-18Add a print and println to std::ioMarijn Haverbeke-0/+3
2011-10-12reimplement some of the unsafe stuff which got lostNiko Matsakis-3/+3
- blocks inherit unsafety - remove the --check-unsafe flag - add unsafe annotations where needed to get things to compile
2011-10-12Extend the unchecked block stuff to allow unsafe blocks as well.Niko Matsakis-2/+2
2011-10-07Parse and typecheck by-value and by-ref arg specsMarijn Haverbeke-8/+5
Add sprinkle && throughout the compiler to make it typecheck again. Issue #1008
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-18/+18
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-09-02Reformat. Issue #855Brian Anderson-41/+47
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-17/+17
2011-09-01Remove last users of str::sbuf. Issue #855Brian Anderson-12/+16
2011-08-31Expose STDERR to rust.Erick Tryzelaar-0/+2
2011-08-31Start paring down std::str. Issue #855Brian Anderson-1/+1
2011-08-29Implement non-internal ivecsMarijn Haverbeke-3/+4
Vectors are now similar to our old, pre-internal vectors, except that they are uniquely owned, not refcounted. Their name should probably change too, then. I've renamed them to vec in the runtime, will do so throughout the compiler later.
2011-08-27Convert std::io to istrs. Issue #855Brian Anderson-30/+35
2011-08-27Convert std::int to istrs. Issue #855Brian Anderson-1/+2
2011-08-27Convert std::uint to istrs. Issue #855Brian Anderson-1/+2
2011-08-23Resolve a number of FIXMEsBrian Anderson-8/+0
2011-08-20ReformatBrian Anderson-73/+60
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-18Remove or _-prefix all unused function argumentsMarijn Haverbeke-2/+2
This should make the compilation process a bit less noisy.
2011-08-16Port the stdlib to the expr foo::<T> syntax.Erick Tryzelaar-14/+14
2011-08-16Port the stdlib to the typaram foo<T> syntax.Erick Tryzelaar-3/+3
2011-08-16Rename std::ivec to std::vecBrian Anderson-18/+18
2011-08-15The wonky for...in... whitespace was bothering me. Sorry!Lindsey Kuper-2/+2
2011-08-12Remove all usages of std::vec::vbufBrian Anderson-3/+3
2011-08-12Rename std::ioivec to std::ioBrian Anderson-0/+478
2011-08-12Remove std::ioBrian Anderson-473/+0
2011-08-12Rename std::str::unsafe_from_bytes_ivec to unsafe_from_bytesBrian Anderson-3/+3
2011-08-12Convert all uses of unsafe_from_bytes to unsafe_from_bytes_ivecBrian Anderson-3/+5
2011-08-12Remove vec version of str::bytes, rename bytes_ivec to str::bytesBrian Anderson-6/+10
2011-07-29Replace obj dtors with resources in stdlib and rustcMarijn Haverbeke-5/+8
2011-07-29Beginning of replacing drop with resourcesMarijn Haverbeke-7/+9
2011-07-27Add std::io::stderrBrian Anderson-0/+2
2011-07-27Re-format some obj dtors that were messed up by the pretty-printerMarijn Haverbeke-3/+6
2011-07-27Reformat for new syntaxMarijn Haverbeke-161/+160
2011-07-25Remove some rustboot-ismsMarijn Haverbeke-2/+1
Closes #464
2011-06-15Fix a bunch of compile-command lines to use RBUILDGraydon Hoare-1/+1
2011-06-15Reformat source tree (minus a couple tests that are still grumpy).Graydon Hoare-225/+148
2011-05-22stdlib: Use if/alt expressions in std::ioBrian Anderson-5/+5