about summary refs log tree commit diff
path: root/src/libstd/tempfile.rs
AgeCommit message (Collapse)AuthorLines
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-116/+0
This only changes the directory names; it does not change the "real" metadata names.
2013-05-08libcore: Remove mutable fields from rand.Patrick Walton-1/+1
2013-05-03tidyTim Chevalier-1/+1
2013-05-03rustpkg: Implement install commandTim Chevalier-1/+25
The install command should work now, though it only installs in-place (anything else has to wait until I implement RUST_PATH). Also including: core: Add remove_directory_recursive, change copy_file Make copy_file preserve permissions, and add a remove_directory_recursive function.
2013-04-30core/std: Fix race condition in os::mkdir_recursive testsTim Chevalier-21/+29
Added a change_dir_locked function to os, and use it in the mkdir_recursive tests so that the tests don't clobber each other's directory changes.
2013-04-28core: Use a better termination condition in os::mkdir_recursiveTim Chevalier-6/+59
Instead of checking whether the parent is "." or "/", check the number of components. Also, more tests.
2013-04-27only use #[no_core] in libcoreDaniel Micay-1/+0
2013-04-24libcore: unify `gen_<type>` methods on `rand::RngUtil` into the generic `gen`.Huon Wilson-2/+0
This moves all the basic random value generation into the Rand instances for each type and then removes the `gen_int`, `gen_char` (etc) methods on RngUtil, leaving only the generic `gen` and the more specialised methods. Also, removes some imports that are redundant due to a `use core::prelude::*` statement.
2013-04-24libcore: remove @Rng from rand, and use traits instead.Huon Wilson-1/+1
Also, rename RandRes -> IsaacRng, and make the constructors static methods.
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-1/+1
2013-03-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-0/+1
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-1/+1
2013-03-04Remove unused imports throughout src/Alex Crichton-1/+0
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-2/+0
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-01-16clean up tempfile module and rm FIXMEDaniel Micay-16/+8
This removes the FIXME suggesting that mkdtemp should rely on the default umask, because that would make it unusable for making a secure work area in a world writable directory (have to assume that other users have created files, directories, hard links, etc. in your directory). The POSIX mkdtemp function creates a directory with 700 permissions to avoid this problem.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+1
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-1/+0
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+1
module scope. r=tjc
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-2/+3
contain at least two components. r=graydon
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-09-28Long linesBrian Anderson-2/+2
2012-09-28std: Eliminate deprecated patternsBrian Anderson-1/+0
2012-09-27De-export std::{dbg,sha1,md4,tempfile,term}. Part of #3583.Graydon Hoare-1/+1
2012-09-04libstd: "import" -> "use"Patrick Walton-3/+2
2012-08-31Remove deprecated modes from rope.rsKevin Cantu-0/+3
2012-08-27Camel case various core constructorsBrian Anderson-1/+1
2012-08-26Camel case the option typeBrian Anderson-5/+5
2012-08-24Start using core::path2::Path in a lot of places.Graydon Hoare-7/+8
2012-08-08Convert impls to new syntaxBrian Anderson-1/+0
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-1/+1
2012-08-05Switch alts to use arrowsBrian Anderson-2/+2
2012-08-01Convert ret to returnBrian Anderson-2/+2
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-3/+3
#2907.
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-1/+1
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-02rustc: Implement a new resolve pass behind a compile flagPatrick Walton-0/+1
2012-05-03Comments only: annotate more FIXMEs in libstdTim Chevalier-1/+1
2012-03-14annotate libstd and start enforcing mutabilityNiko Matsakis-1/+1
2012-03-13Overhaul constructor naming in libsBrian Anderson-1/+1
2012-03-12Libc/os/run/rand/io reorganization. Close #1373. Close #1638.Graydon Hoare-3/+2
- 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.
2012-03-09std: Convert to rustdocBrian Anderson-8/+1
2012-01-31Change option::t to optionTim Chevalier-1/+1
Now that core exports "option" as a synonym for option::t, search-and- replace option::t with option. The only place that still refers to option::t are the modules in libcore that use option, because fixing this requires a new snapshot (forthcoming).
2012-01-17libstd: Move std tests into libstdBrian Anderson-0/+12
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-1/+1
2011-12-06libstd: Update docsBrian Anderson-0/+3
2011-12-06Establish 'core' library separate from 'std'.Graydon Hoare-0/+23