about summary refs log tree commit diff
path: root/src/lib/posix_fs.rs
AgeCommit message (Collapse)AuthorLines
2011-12-06Establish 'core' library separate from 'std'.Graydon Hoare-45/+0
2011-11-17remove compile-command from local variable blocksNiko Matsakis-1/+0
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-09Rename "c-stack-cdecl" ABI to "cdecl"Brian Anderson-1/+1
2011-10-26Add more std documentationBrian Anderson-1/+0
2011-10-24remove unnecessary && from various file routinesNiko Matsakis-1/+1
2011-10-24move fs routines to c-stack-stdlibNiko Matsakis-1/+1
2011-10-10Make vectors and strings immediates againMarijn Haverbeke-1/+1
There's no good reason to force them to be spilled anymore. Some pieces of trans become more elegant this way, and less stack allocs and load/stores are needed. Issue #1021
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-3/+3
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-3/+3
2011-09-02Remove estrs and evecs from runtime. Issue #855Brian Anderson-1/+0
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-1/+1
2011-09-01Convert rust_list_files to istrs. Issue #855Brian Anderson-4/+3
2011-09-01Convert fs::path_is_absolute internals to istrs. Issue #855Brian Anderson-1/+1
2011-08-16Port the stdlib to the expr foo::<T> syntax.Erick Tryzelaar-1/+1
2011-08-16Port the stdlib to the typaram foo<T> syntax.Erick Tryzelaar-1/+1
2011-08-16Rename std::ivec to std::vecBrian Anderson-1/+1
2011-08-12Rename rust_list_files_ivec to rust_list_filesBrian Anderson-2/+2
2011-08-12Remove rust_list_files from std and rtBrian Anderson-1/+0
2011-08-12Remove more vectors from stdBrian Anderson-1/+1
2011-08-09Port the stdlib to the ivec type [T] syntax.Erick Tryzelaar-2/+2
2011-07-27Reformat for new syntaxMarijn Haverbeke-9/+7
2011-07-12stdlib: Move fs over to interior vectors by introducing a ↵Patrick Walton-2/+3
rust_list_files_ivec builtin
2011-06-17Made sure getcwd and friends work well on Windows.unknown-0/+4
2011-06-17stdlib: added getcwd and a convenience function to make relative paths ↵Eric Holk-1/+1
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-27/+30
2011-06-10Encode meta tags in the crate and start sketching enhanced logic for ↵Graydon Hoare-6/+17
resolving crate "use" directives. Now with extra "works on OSX" kludging.
2011-05-17Finally rename std::_xxx to std::xxxMarijn Haverbeke-2/+2
Except for _task, which is still a keyword.
2011-05-16Rewrite everything to use [] instead of vec() in value position.Graydon Hoare-1/+1
2011-05-12Downcase std modules again, move to :: for module dereferencingMarijn Haverbeke-0/+32
This should be a snapshot transition.
2011-05-06Rename std modules to be camelcasedMarijn Haverbeke-32/+0
(Have fun mergining your stuff with this.)
2011-05-05Attempt to fix fs.dirname harder.Graydon Hoare-0/+1
2011-05-02Un-revert "Use different syntax for checks that matter to typestate", fixing ↵Patrick Walton-1/+1
the problem. This reverts commit d08b443fffb1181d8d45ae5d061412f202dd4118.
2011-05-02Revert "Use different syntax for checks that matter to typestate"Graydon Hoare-1/+1
This reverts commit aa25f22f197682de3b18fc4c8ba068d1feda220f. It broke stage2, not sure why yet.
2011-05-02Use different syntax for checks that matter to typestateTim Chevalier-1/+1
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-04-19Remove effect system from src.Graydon Hoare-1/+1
2011-03-16Remove uses of 'break' in std lib; rustc doesn't support it yet, this is ↵Graydon Hoare-1/+4
easier for now.
2011-03-16Switch all vases of vec += elt to vec += vec. Prohibit former in rustboot. ↵Graydon Hoare-1/+10
Tweak std lib vec fns in process.
2011-03-14Add basic file-system functionalityMarijn Haverbeke-0/+19
std.fs.list_dir will list the files in a directory, std.fs.file_is_dir will, given a pathname, determine whether it is a directory or not.