rust/src/libstd
bors e26f992d5e auto merge of #6036 : huonw/rust/core-less-at, r=nikomatsakis
From a cursory `git grep` this removes the last part of `core` that requires on `@` (other than `io` and the task local data section).

It renames `RandRes` to ~~StdRng~~ `IsaacRng` and `XorShiftState` to `XorShiftRng` as well as moving their constructors to static methods. To go with this, it adds `rng()` which is designed to be used when the programmer just wants a random number generator, without caring about which exact algorithm is being used.

It also removes all the `gen_int`, `gen_uint`, `gen_char` (etc) methods on `RngUtil` (by moving the defintions to the actual `Rand` instances). The replacement is using `RngUtil::gen`, either type-inferred or with an annotation (`rng.gen::<uint>()`).

I tried to have the `Rng` and `RngUtil` traits exported by `core::prelude` (since `core::rand` (except for `random()`) is useless without them), but this caused [an explosion of (seemingly unrelated) `error: unresolved import`'s](https://gist.github.com/5451839).
2013-04-24 06:48:50 -07:00
..
num Implement Signed and Unsigned traits and remove related predicate functions 2013-04-24 12:46:26 +10:00
arc.rs Removing more unnecessary unsafe blocks throughout 2013-04-23 19:59:13 -04:00
arena.rs Replaced many instances of reinterpret_cast with transmute 2013-04-20 22:05:50 +02:00
base64.rs Rename Div operator trait to Quot and Modulo operator trait to Rem 2013-04-22 01:58:53 +10:00
bitv.rs libcore: unify gen_<type> methods on rand::RngUtil into the generic gen. 2013-04-24 22:34:19 +10:00
c_vec.rs std: clean up tests (mostly unused unsafe blocks) 2013-04-19 23:23:23 -04:00
cmp.rs librustc: Remove fail_unless! 2013-03-29 16:39:08 -07:00
comm.rs librustc: Remove fail_unless! 2013-03-29 16:39:08 -07:00
dbg.rs Replaced many instances of reinterpret_cast with transmute 2013-04-20 22:05:50 +02:00
deque.rs std: remove unused 'mut' variables 2013-04-20 21:03:24 -04:00
dlist.rs std: remove unused 'mut' variables 2013-04-20 21:03:24 -04:00
ebml.rs libstd: Micro-optimize vuint_at 2013-04-19 11:53:34 -07:00
fileinput.rs Fix fileinput test fail 2013-04-04 11:16:26 +09:00
flatpipes.rs Merge remote-tracking branch 'remotes/origin/incoming' into serial 2013-03-29 17:48:44 -07:00
fun_treemap.rs
future.rs libcore,std,syntax,rustc: move tests into mod tests, make them private (no pub mod or pub fn). 2013-04-16 09:57:47 +10:00
getopts.rs libcore,std,syntax,rustc: move tests into mod tests, make them private (no pub mod or pub fn). 2013-04-16 09:57:47 +10:00
io_util.rs
json.rs syntax: add {read,emit}_enum_struct_variant{,_field} 2013-04-10 16:32:09 -07:00
list.rs libcore,std,syntax,rustc: move tests into mod tests, make them private (no pub mod or pub fn). 2013-04-16 09:57:47 +10:00
md4.rs Removing no longer needed unsafe blocks 2013-04-08 17:50:25 -04:00
net_ip.rs core::comm: Modernize constructors to use new 2013-04-18 14:07:35 -07:00
net_tcp.rs librustc: WIP patch for using the return value. 2013-04-19 12:00:08 -07:00
net_url.rs libcore,std,syntax,rustc: move tests into mod tests, make them private (no pub mod or pub fn). 2013-04-16 09:57:47 +10:00
net.rs
par.rs Replaced many instances of reinterpret_cast with transmute 2013-04-20 22:05:50 +02:00
priority_queue.rs libstd: changes to in response to #5656 2013-04-10 17:32:03 -07:00
rl.rs std: remove unused unsafe blocks/functions 2013-04-14 01:15:46 -04:00
rope.rs std: remove unused 'mut' variables 2013-04-20 21:03:24 -04:00
semver.rs librustc: Remove fail_unless! 2013-03-29 16:39:08 -07:00
serialize.rs initial iterator object library 2013-04-13 05:51:14 -04:00
sha1.rs std: remove unused 'mut' variables 2013-04-20 21:03:24 -04:00
smallintmap.rs libstd: changes to in response to #5656 2013-04-10 17:32:03 -07:00
sort.rs libcore: unify gen_<type> methods on rand::RngUtil into the generic gen. 2013-04-24 22:34:19 +10:00
stats.rs librustc: Remove fail_unless! 2013-03-29 16:39:08 -07:00
std.rc Rename Div operator trait to Quot and Modulo operator trait to Rem 2013-04-22 01:58:53 +10:00
sync.rs Replaced many instances of reinterpret_cast with transmute 2013-04-20 22:05:50 +02:00
task_pool.rs Removing some mutable fields in libstd 2013-04-08 17:50:14 -04:00
tempfile.rs libcore: unify gen_<type> methods on rand::RngUtil into the generic gen. 2013-04-24 22:34:19 +10:00
term.rs librustc: Remove fail_unless! 2013-03-29 16:39:08 -07:00
test.rs libcore: unify gen_<type> methods on rand::RngUtil into the generic gen. 2013-04-24 22:34:19 +10:00
time.rs std: remove unused 'mut' variables 2013-04-20 21:03:24 -04:00
timer.rs libcore: unify gen_<type> methods on rand::RngUtil into the generic gen. 2013-04-24 22:34:19 +10:00
treemap.rs libcore: unify gen_<type> methods on rand::RngUtil into the generic gen. 2013-04-24 22:34:19 +10:00
unicode.rs librustc: Remove fail_unless! 2013-03-29 16:39:08 -07:00
uv_global_loop.rs core::comm: Modernize constructors to use new 2013-04-18 14:07:35 -07:00
uv_iotask.rs std: clean up tests (mostly unused unsafe blocks) 2013-04-19 23:23:23 -04:00
uv_ll.rs std: clean up tests (mostly unused unsafe blocks) 2013-04-19 23:23:23 -04:00
uv.rs
workcache.rs Small typos, year date and URL of the fbuild system for reference. 2013-04-18 11:51:12 +02:00