about summary refs log tree commit diff
path: root/src/libstd/timer.rs
AgeCommit message (Collapse)AuthorLines
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-292/+0
This only changes the directory names; it does not change the "real" metadata names.
2013-05-19auto merge of #6106 : thestinger/rust/iter, r=bstriebors-7/+6
I don't have a strong opinion on the function vs. method, but there's no point in having both. I'd like to make a `repeat` adaptor like Python/Haskell for turning a value into an infinite stream of the value, so this has to at least be renamed.
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-1/+1
2013-05-18replace old_iter::repeat with the Times traitDaniel Micay-7/+6
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-5/+3
fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself.
2013-05-09remove vecs_implicitly_copyable from libstd/libcoreDaniel Micay-3/+3
2013-05-08libcore: Fix tests.Patrick Walton-2/+3
2013-05-08libcore: Remove mutable fields from pipesPatrick Walton-14/+21
2013-04-29librustc: Remove `ptr::addr_of`.Patrick Walton-1/+1
2013-04-28make way for a new iter moduleDaniel Micay-6/+6
2013-04-27only use #[no_core] in libcoreDaniel Micay-4/+0
2013-04-24libcore: unify `gen_<type>` methods on `rand::RngUtil` into the generic `gen`.Huon Wilson-4/+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-2/+2
Also, rename RandRes -> IsaacRng, and make the constructors static methods.
2013-04-18core::comm: Modernize constructors to use `new`Brian Anderson-2/+2
2013-04-16libcore,std,syntax,rustc: move tests into `mod tests`, make them private (no ↵Huon Wilson-5/+5
pub mod or pub fn).
2013-04-14std: remove unused unsafe blocks/functionsAlex Crichton-38/+36
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-3/+3
2013-03-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-0/+1
2013-03-11Remove uses of logBrian Anderson-3/+3
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-3/+3
2013-03-04Remove unused imports throughout src/Alex Crichton-1/+0
2013-03-02librustc: Forbid chained imports and fix the logic for one-level renaming ↵Patrick Walton-1/+1
imports
2013-02-21core: Extract comm from pipes. #4742Brian Anderson-1/+1
2013-02-20librustc: Separate most trait bounds with '+'. rs=plussingPatrick Walton-2/+2
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-3/+3
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-31Replace most invocations of fail keyword with die! macroNick Desaulniers-5/+5
2013-01-29std: Stop using oldcommBrian Anderson-42/+49
2013-01-29libstd: De-export libstd. rs=deexportPatrick Walton-7/+5
2013-01-26Merge remote-tracking branch 'brson/nocommupstream2'Brian Anderson-10/+11
2013-01-25Fix Option camel case in xfailed/ignored testsTyler Bindon-1/+1
2013-01-25Fix Option camel case in commentsTyler Bindon-4/+4
2013-01-25Merge remote-tracking branch 'brson/nocommupstream'Brian Anderson-10/+11
Conflicts: src/libcore/private.rs src/libcore/task/mod.rs src/libcore/task/spawn.rs src/libstd/net_tcp.rs src/libstd/uv_global_loop.rs src/libstd/uv_iotask.rs
2013-01-23std: Convert uv_global_loop to use pipesBrian Anderson-10/+11
2013-01-23libsyntax: Remove `fn() unsafe { ... }`. r=graydonPatrick Walton-34/+40
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+4
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-4/+0
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+4
module scope. r=tjc
2012-12-27libstd: Fix a bunch of resolve errors in tests. rs=firePatrick Walton-0/+8
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-3/+13
contain at least two components. r=graydon
2012-12-14Rename core::comm to core::oldcommBrian Anderson-24/+23
2012-12-13Rename Send trait to OwnedBrian Anderson-2/+2
2012-12-13librustc: Make `use` statements crate-relative by default. r=brsonPatrick Walton-2/+1
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-10-12Make moves explicit in std testsTim Chevalier-1/+1
2012-10-11Remove Copy bound from std::timer::delayed_sendTim Chevalier-1/+1
Closes #3717
2012-10-04Remove by-copy mode from std, mostlyTim Chevalier-1/+1
One instance remains in net_tcp due to a foreign fn. Lots of instances remain in serialization.rs, but IIRC that is being removed. I had to do unholy things to task-perf-word-count-generic to get it to compile after demoding pipes. I may well have messed up its performance, but it passes.
2012-10-04De-mode comm::ChanTim Chevalier-5/+5
2012-10-03Remove uses of + mode from libstdTim Chevalier-2/+2
More or less the same as my analogous commit for libcore. Had to remove the forbid(deprecated_modes) pragma from some files -- will restore it after the snapshot.
2012-10-01Move over to calling ptr::addr_ofTim Chevalier-2/+2
Everything should now call ptr::addr_of instead of ptr::p2::addr_of. Only the pipes macro code when compiled by stage0 will call ptr::p2::addr_of. Needs a snapshot to get rid of that.