summary refs log tree commit diff
path: root/src/libstd
AgeCommit message (Collapse)AuthorLines
2013-06-10std: convert str::trim* to methods.Huon Wilson-110/+90
2013-06-10std: convert str::reserve* to methods, and methodise str::push_*.Huon Wilson-168/+170
2013-06-10std: remove str::contains in favour of the methodHuon Wilson-39/+27
2013-06-10std: replace str::find_str* with a methodHuon Wilson-115/+44
2013-06-10std: replace str::{any,all}_between with the iterator equivalent.Huon Wilson-60/+0
2013-06-10std: convert character-based str::find_* to methods. Add .slice_{to,from} ↵Huon Wilson-371/+142
methods.
2013-06-10std: convert each_split_str to an iteratorHuon Wilson-114/+112
2013-06-10std: fix compile & testHuon Wilson-0/+1
2013-06-10std: remove str::{len, slice, is_empty} in favour of methods.Huon Wilson-115/+98
2013-06-10std: replace str::all/any fns and methods with iteratorsHuon Wilson-55/+7
2013-06-10std: replace str::each_split* with an iteratorHuon Wilson-437/+215
2013-06-09auto merge of #7028 : thestinger/rust/cmp, r=brsonbors-30/+0
2013-06-09cmp: remove duplicate free functionsDaniel Micay-30/+0
2013-06-09auto merge of #6904 : catamorphism/rust/rustpkg_version_vcs, r=catamorphismbors-1/+1
r? @brson
2013-06-08remove deprecated vec::{is_empty, len} functionsDaniel Micay-43/+39
2013-06-08rm some uses of to_mut_unsafe_ptrDaniel Micay-3/+3
2013-06-08std: Fix search-and-replace typosTim Chevalier-1/+1
2013-06-09remove unused import warningsHuon Wilson-10/+2
2013-06-09std: replace the str::each* fns/methods with byte iteratorsHuon Wilson-155/+71
2013-06-09std: remove each_char* fns and methods from str, replaced by iterators.Huon Wilson-138/+61
2013-06-09std: remove foldr and alli methods in vecHuon Wilson-16/+0
2013-06-09std: remove fold[lr] in favour of iteratorsHuon Wilson-124/+1
2013-06-09std: remove {all*,any*,count} in favour of iteratorsHuon Wilson-195/+26
2013-06-09std: add reverse vec iterators, replace vec::each*_reverse.Huon Wilson-116/+99
2013-06-08auto merge of #7008 : thestinger/rust/iterator, r=catamorphismbors-0/+1
The `IteratorUtil` trait hits a bug in method resolve, but the basic trait has no issue.
2013-06-07add the Iterator trait to the preludeDaniel Micay-0/+1
2013-06-07std: Change str::from_bytes to raise a condition on invalid inputTim Chevalier-6/+31
As per #4765
2013-06-07iterator: work around method resolve bug (#5898)Daniel Micay-4/+5
2013-06-08std: remove each[i]_mut functions, in favour of iterators.Huon Wilson-56/+13
2013-06-07std::rt: Reduce task stack size to 1MBBrian Anderson-1/+1
2013-06-08std: remove vec::each2 and vec::each2_mut in favour of iteratorsHuon Wilson-38/+0
2013-06-08std: more dummy type parameters on iterators to work around #6967.Huon Wilson-18/+21
2013-06-06auto merge of #6979 : thestinger/rust/libc, r=brsonbors-36/+5
LLVM provides these functions as intrinsics, and will generate calls to libc when appropriate. They are exposed in the `ptr` module as `copy_nonoverlapping_memory`, `copy_memory` and `set_memory`. @graydon: r?
2013-06-06std::rt: Fix a race in the UvRemoteCallback dtorBrian Anderson-11/+15
2013-06-06std::rt: Fix stream test to be parallelBrian Anderson-4/+4
2013-06-06std::rt: Configure test threads with RUST_TEST_THREADS. Default is ncores x2Brian Anderson-2/+17
2013-06-06std: Fix stage0 buildBrian Anderson-0/+12
Conflicts: src/libstd/rt/comm.rs
2013-06-06FixupsMarvin Löbel-19/+23
2013-06-06Removed IteratorUtil::to_vec and iter::to_vecMarvin Löbel-52/+11
2013-06-06Added IteratorUtil::collectMarvin Löbel-0/+27
2013-06-06Added iter::FromIterMarvin Löbel-3/+31
2013-06-06libc: omit memcpy, memmove and memsetDaniel Micay-36/+5
LLVM provides these functions as intrinsics, and will generate calls to libc when appropriate. They are exposed in the `ptr` module as `copy_nonoverlapping_memory`, `copy_memory` and `set_memory`.
2013-06-06auto merge of #6968 : huonw/rust/takeskip-iter, r=thestingerbors-11/+13
@thestinger r? Adding the dummy parameter stops the inference from having to work so hard.
2013-06-06libstd: use fmt! in to_str impl for (one|two)-tupleRamkumar Ramachandra-2/+2
The three-tuple uses fmt!, and there's no reason to hand-concatenate strings. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2013-06-06libstd: fix comment in to_str impl of tupleRamkumar Ramachandra-2/+2
There is a pointer to #4760, which is a closed issue. The real issue is the more general problem described in #4653. Correct the comment. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2013-06-06Deduplicate words in code commentsAlexei Sholik-2/+2
2013-06-06std: work-around for take/skip type inference (#6967)Huon Wilson-11/+13
2013-06-06std: add an external iterator for mutating vec elementsHuon Wilson-0/+44
2013-06-05core::rt: Add `MegaPipe`, an unbounded, multiple producer/consumer, ↵Brian Anderson-0/+71
lock-free queue
2013-06-05core::rt: Add SharedPortBrian Anderson-0/+132