rust/src/libstd
bors 19e0cbe420 auto merge of #11682 : thestinger/rust/vector, r=brson
This is just an initial implementation and does not yet fully replace `~[T]`. A generic initialization syntax for containers is missing, and the slice functionality needs to be reworked to make auto-slicing unnecessary.

Traits for supporting indexing properly are also required. This also needs to be fixed to make ring buffers as easy to use as vectors.

The tests and documentation for `~[T]` can be ported over to this type when it is removed. I don't really expect DST to happen for vectors as having both `~[T]` and `Vec<T>` is overcomplicated and changing the slice representation to 3 words is not at all appealing. Unlike with traits, it's possible (and easy) to implement `RcSlice<T>` and `GcSlice<T>` without compiler help.
2014-01-22 23:26:33 -08:00
..
comm Rename iterators for consistency 2014-01-18 01:15:15 -05:00
fmt Add LowerExp 'e' and UpperExp 'E' format traits/specifiers 2014-01-22 20:32:40 -05:00
io Implement native timers 2014-01-22 19:31:39 -08:00
num Remove the initial and trailing blank doc-comment lines 2014-01-22 20:32:40 -05:00
path [std::str] Remove the now unused not_utf8 condition. 2014-01-21 15:48:48 -08:00
rand auto merge of #11503 : FlaPer87/rust/master, r=huonw 2014-01-17 20:36:47 -08:00
rt auto merge of #11682 : thestinger/rust/vector, r=brson 2014-01-22 23:26:33 -08:00
sync libc: switch free to the proper signature 2014-01-22 23:13:53 -05:00
unstable libc: switch free to the proper signature 2014-01-22 23:13:53 -05:00
any.rs std: uniform modules titles for doc 2013-12-27 09:49:11 +01:00
ascii.rs Issue #3511 - Rationalize temporary lifetimes. 2014-01-15 18:34:38 -05:00
at_vec.rs libstd: Added more #[inline] annotations and replaced uses of libc::abort with the intrinsic. 2014-01-15 11:45:12 +02:00
bool.rs Add operator trait constraints to std::num::{Zero, One} and document their appropriate use 2014-01-20 18:09:46 +11:00
borrow.rs 'borrowed pointer' -> 'reference' 2014-01-07 18:49:13 -08:00
c_str.rs libc: switch free to the proper signature 2014-01-22 23:13:53 -05:00
cast.rs 'borrowed pointer' -> 'reference' 2014-01-07 18:49:13 -08:00
cell.rs Register new snapshots 2014-01-06 09:26:47 -08:00
char.rs Add operator trait constraints to std::num::{Zero, One} and document their appropriate use 2014-01-20 18:09:46 +11:00
cleanup.rs Replace C types with Rust types in libstd, closes #7313 2014-01-22 19:20:47 +01:00
clone.rs 'borrowed pointer' -> 'reference' 2014-01-07 18:49:13 -08:00
cmp.rs Remove ApproxEq and assert_approx_eq! 2014-01-09 15:41:46 +11:00
condition.rs Remove re-exports of std::io::stdio::{print, println} in the prelude. 2014-01-11 10:46:00 +11:00
container.rs std: uniform modules titles for doc 2013-12-27 09:49:11 +01:00
default.rs libstd: Remove all support code related to @mut 2014-01-03 14:02:00 -08:00
from_str.rs std: uniform modules titles for doc 2013-12-27 09:49:11 +01:00
gc.rs add an experimental tag for Gc<T> due to cycles 2014-01-14 17:13:22 -05:00
hash.rs Remove unnecessary parentheses. 2014-01-21 22:00:18 +11:00
hashmap.rs hashmap: port to Vec<T> 2014-01-22 23:13:57 -05:00
iter.rs Add operator trait constraints to std::num::{Zero, One} and document their appropriate use 2014-01-20 18:09:46 +11:00
kinds.rs std: uniform modules titles for doc 2013-12-27 09:49:11 +01:00
lib.rs add new vector representation as a library 2014-01-22 23:13:57 -05:00
libc.rs auto merge of #11682 : thestinger/rust/vector, r=brson 2014-01-22 23:26:33 -08:00
local_data.rs Replace C types with Rust types in libstd, closes #7313 2014-01-22 19:20:47 +01:00
logging.rs Tweak the interface of std::io 2014-01-17 10:00:47 -08:00
managed.rs remove the concept of managed-unique from libstd 2014-01-15 08:22:59 -05:00
mem.rs Cleaned, documented, wrote tests for up std::bool 2013-10-24 17:21:39 +02:00
ops.rs Remove re-exports of std::io::stdio::{print, println} in the prelude. 2014-01-11 10:46:00 +11:00
option.rs Remove unnecessary parentheses. 2014-01-21 22:00:18 +11:00
os.rs Replace C types with Rust types in libstd, closes #7313 2014-01-22 19:20:47 +01:00
owned.rs librustc: Implement placement box for GC and unique pointers. 2014-01-09 16:05:34 -08:00
prelude.rs Merge Bitwise and BitCount traits and remove from prelude, along with Bounded 2014-01-16 11:51:33 +11:00
ptr.rs Remove unnecessary parentheses. 2014-01-21 22:00:18 +11:00
rc.rs Replace C types with Rust types in libstd, closes #7313 2014-01-22 19:20:47 +01:00
reflect.rs Replace C types with Rust types in libstd, closes #7313 2014-01-22 19:20:47 +01:00
repr.rs Replace C types with Rust types in libstd, closes #7313 2014-01-22 19:20:47 +01:00
result.rs stdtest: Fix all leaked trait imports 2014-01-07 23:51:38 -08:00
rtdeps.rs Convert some C functions to rust functions 2013-12-30 14:35:55 -08:00
run.rs Replace C types with Rust types in libstd, closes #7313 2014-01-22 19:20:47 +01:00
send_str.rs stdtest: Fix all leaked trait imports 2014-01-07 23:51:38 -08:00
str.rs [std::str] Remove the now unused not_utf8 condition. 2014-01-21 15:48:48 -08:00
task.rs Remove unnecessary parentheses. 2014-01-21 22:00:18 +11:00
to_bytes.rs Tweak the interface of std::io 2014-01-17 10:00:47 -08:00
to_str.rs Rename To{Str,Bytes}Consume traits to Into*. 2013-12-15 01:04:22 +11:00
trie.rs Remove unnecessary parentheses. 2014-01-21 22:00:18 +11:00
tuple.rs Add operator trait constraints to std::num::{Zero, One} and document their appropriate use 2014-01-20 18:09:46 +11:00
unicode.rs Remove dead codes 2013-12-08 02:55:28 -05:00
unit.rs Add operator trait constraints to std::num::{Zero, One} and document their appropriate use 2014-01-20 18:09:46 +11:00
util.rs Remove typo 2014-01-16 05:56:56 -05:00
vec.rs vec: make unsafe indexing functions higher-level 2014-01-22 23:13:57 -05:00
vec_ng.rs add new vector representation as a library 2014-01-22 23:13:57 -05:00