about summary refs log tree commit diff
path: root/src/libstd/str
AgeCommit message (Collapse)AuthorLines
2013-08-18std::to_bytes: Delimit sequences &[A] and ~str when hashingblake2-ppc-2/+0
Address issue #5257, for example these values all had the same hash value: ("aaa", "bbb", "ccc") ("aaab", "bb", "ccc") ("aaabbb", "", "ccc") IterBytes for &[A] now includes the length, before calling iter_bytes on each element. IterBytes for &str is now terminated by a byte that does not appear in UTF-8. This way only one more byte is processed when hashing strings.
2013-08-14Methodyfied the string ascii extionsion functionsMarvin Löbel-37/+46
Added into_owned() method for vectors Added DoubleEnded Iterator impl to Option Renamed nil.rs to unit.rs
2013-08-12fix build with the new snapshot compilerDaniel Micay-37/+0
2013-08-10std: merge Iterator and IteratorUtilErick Tryzelaar-1/+1
2013-08-08Merge remote-tracking branch 'remotes/origin/master' into ↵Erick Tryzelaar-3/+3
remove-str-trailing-nulls
2013-08-07Forbid `priv` where it has no effectAlex Crichton-3/+3
This is everywhere except struct fields and enum variants.
2013-08-07Merge remote-tracking branch 'remotes/origin/master' into ↵Erick Tryzelaar-11/+169
remove-str-trailing-nulls
2013-08-06Add to_ascii_upper, to_ascii_lower and eq_ignore_ascii_case in std::asciiSimon Sapin-11/+169
2013-08-04Merge remote-tracking branch 'remotes/origin/master' into str-remove-nullErick Tryzelaar-1/+1
2013-08-04Remove trailing null from stringsErick Tryzelaar-8/+39
2013-08-03remove obsolete `foreach` keywordDaniel Micay-1/+1
this has been replaced by `for`
2013-08-01migrate many `for` loops to `foreach`Daniel Micay-2/+3
2013-07-30Added str::char_offset_iter() and str::rev_char_offset_iter()Marvin Löbel-1/+1
Renamed bytes_iter to byte_iter to match other iterators Refactored str Iterators to use DoubleEnded Iterators and typedefs instead of wrapper structs Reordered the Iterator section Whitespace fixup Moved clunky `each_split_within` function to the one place in the tree where it's actually needed Replaced all block doccomments in str with line doccomments
2013-06-23vec: remove BaseIter implementationDaniel Micay-2/+1
I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway.
2013-06-18replace #[inline(always)] with #[inline]. r=burningtree.Graydon Hoare-28/+28
2013-06-17Improved std::asciiMarvin Löbel-23/+89
- Fixed tests - Added methods - Renamed casting methods to be shorter closes #7150
2013-06-11fix tests, remove some warningsHuon Wilson-1/+0
2013-06-10std: replace str::all/any fns and methods with iteratorsHuon Wilson-2/+2
2013-06-09std: replace the str::each* fns/methods with byte iteratorsHuon Wilson-4/+2
2013-06-01Remove all uses of `pub impl`. rs=stylePatrick Walton-7/+7
2013-05-23cleanup warnings from libstdErick Tryzelaar-2/+2
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-0/+287
This only changes the directory names; it does not change the "real" metadata names.