about summary refs log tree commit diff
path: root/src/lib/linux_os.rs
AgeCommit message (Collapse)AuthorLines
2011-12-06Establish 'core' library separate from 'std'.Graydon Hoare-145/+0
2011-12-02Added cross-platform fsync api to io; win32 impl needs to be refinedStefan Plantikow-0/+12
No tests, need mktmpfile first
2011-12-01libstd: add fs::change_dir()Elly Jones-0/+1
2011-11-22stdlib: Use c_ints instead of ints for nativesBrian Anderson-2/+2
2011-11-22Add fs::rmdir() and tempfile/gen_str() tests.Elly Jones-0/+1
2011-11-22std: add fs::mkdir(), rng.gen_str(), tempfile::mkdtemp()Elly Jones-0/+1
Signed-off-by: Elly Jones <elly@leptoquark.net>
2011-11-17remove compile-command from local variable blocksNiko Matsakis-1/+0
2011-11-16fix win32 types, make close() use i32 as return typeNiko Matsakis-14/+14
2011-11-16Various fixes for x86_64 on linuxBrian Anderson-0/+1
Configure LLVM correctly, use the right data layout, add the readlink function back, fix C constants, etc.
2011-11-16refactor all unix typesNiko Matsakis-45/+59
2011-11-16Use attributes for native module ABI and link nameHaitao Li-2/+5
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-18/+13
Fixes issue #1165
2011-11-09Rename "c-stack-cdecl" ABI to "cdecl"Brian Anderson-2/+2
2011-11-08Remove all uses of native cdecl except for those that yieldBrian Anderson-1/+9
2011-11-02Make ptr::addr_of return an immutable vec, add mut_addr_ofMarijn Haverbeke-1/+1
2011-10-26Add more std documentationBrian Anderson-0/+6
2011-10-24move more native "rust" to native "c-stack-cdecl"Niko Matsakis-1/+1
2011-10-04Add std::os::get_exe_pathBrian Anderson-2/+17
Need this to correctly determine sysroot in rustc
2011-09-12Pretty-print for new arg-mode syntaxMarijn Haverbeke-1/+1
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-1/+1
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-10/+6
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-8/+8
2011-09-01Convert rust_getcwd to istrs. Issue #855Brian Anderson-2/+2
2011-09-01Remove last users of str::sbuf. Issue #855Brian Anderson-10/+12
2011-08-27Convert std::os to istrs. Issue #855Brian Anderson-4/+6
2011-08-12Remove all usages of std::vec::vbufBrian Anderson-12/+4
2011-07-27Reformat for new syntaxMarijn Haverbeke-33/+33
2011-07-26Remove all uses of tuples from the compiler and stdlibMarijn Haverbeke-4/+4
2011-07-12stdlib: Fix vector index in linux_os::waitpid. Put out burning tinderbox.Patrick Walton-1/+1
2011-07-12stdlib: Make pipe and waitpid use interior vectorsPatrick Walton-7/+7
2011-07-10stdlib: Implement an interior-vector version of the io modulePatrick Walton-0/+7
2011-06-28Use "" in the native_name as an indication that no extra options have toRafael Ávila de Espíndola-1/+1
be passed to the "linker". Use that for libc.
2011-06-27Record and link with used native libraries.Rafael Ávila de Espíndola-1/+1
2011-06-17stdlib: added getcwd and a convenience function to make relative paths ↵Eric Holk-0/+8
absolute. This will be helpful for #441.
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-32/+24
2011-05-17Finally rename std::_xxx to std::xxxMarijn Haverbeke-5/+5
Except for _task, which is still a keyword.
2011-05-16Rewrite everything to use [] instead of vec() in value position.Graydon Hoare-2/+2
2011-05-13Fix naming of libc that was mangled by recent module changesBrian Anderson-1/+1
It doesn't appear that rustc makes use of these strings so it didn't actually break anything yet.
2011-05-12Downcase std modules again, move to :: for module dereferencingMarijn Haverbeke-0/+90
This should be a snapshot transition.
2011-05-06Rename std modules to be camelcasedMarijn Haverbeke-90/+0
(Have fun mergining your stuff with this.)
2011-05-05Remove 'deprecated mutable...' from our codeMarijn Haverbeke-2/+2
This should make compilation a bit less noisy.
2011-05-02Un-revert "Use different syntax for checks that matter to typestate", fixing ↵Patrick Walton-2/+2
the problem. This reverts commit d08b443fffb1181d8d45ae5d061412f202dd4118.
2011-05-02Revert "Use different syntax for checks that matter to typestate"Graydon Hoare-2/+2
This reverts commit aa25f22f197682de3b18fc4c8ba068d1feda220f. It broke stage2, not sure why yet.
2011-05-02Use different syntax for checks that matter to typestateTim Chevalier-2/+2
This giant commit changes the syntax of Rust to use "assert" for "check" expressions that didn't mean anything to the typestate system, and continue using "check" for checks that are used as part of typestate checking. Most of the changes are just replacing "check" with "assert" in test cases and rustc.
2011-03-25stdlib: Separate basic I/O reading functionality into a separate buf_reader ↵Patrick Walton-0/+1
object, like writing
2011-03-22stdlib: Make writers seekable; switch file writers to the C FILE interface ↵Patrick Walton-0/+1
to make this work
2011-03-21Add a binding to ftell()Patrick Walton-0/+1
2011-03-15Typo: FIXE -> FIXMEPatrick Walton-1/+1
2011-03-15Add an OS-specific dylib_filename() function to the standard libraryPatrick Walton-0/+4