| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-04-20 | core: remove unused 'mut' variables | Alex Crichton | -3/+3 | |
| 2013-04-20 | Added Ascii type | Marvin Löbel | -2/+15 | |
| 2013-04-20 | Made unsafely safe functions unsafe again, for safety | Marvin Löbel | -4/+4 | |
| 2013-04-20 | Cleaned up case related functions a bit | Marvin Löbel | -22/+19 | |
| 2013-04-20 | Replaced many instances of reinterpret_cast with transmute | Matthijs Hofstra | -9/+9 | |
| 2013-04-19 | core: clean up tests (mostly unused unsafe blocks) | Alex Crichton | -2/+2 | |
| 2013-04-19 | librustc: WIP patch for using the return value. | Patrick Walton | -0/+9 | |
| 2013-04-19 | librustc: Optimize metadata::decoder::item_name. | Patrick Walton | -0/+9 | |
| 2013-04-19 | libcore: clarify documentation for char_at(_reverse) | Huon Wilson | -4/+4 | |
| 2013-04-18 | core: add a str iterator | Huon Wilson | -0/+56 | |
| 2013-04-14 | core: remove unnecessary unsafe blocks/functions | Alex Crichton | -25/+19 | |
| 2013-04-12 | auto merge of #5827 : ↵ | bors | -1/+5 | |
| nikomatsakis/rust/issue-5656-change-meaning-of-borrowed-self, r=pcwalton See #5656 for details. r? @pcwalton | ||||
| 2013-04-11 | Add example for str::subslice_offset | Marvin Löbel | -0/+19 | |
| 2013-04-11 | Added str::from_slice_with_null() to cast a &[u8] to &str | Marvin Löbel | -8/+128 | |
| Added str::subslice_offset() Renamed slice_bytes_uniqe to slice_bytes_owned | ||||
| 2013-04-10 | Reason about nested free variables that appear in a function | Niko Matsakis | -1/+5 | |
| signature. In a nutshell, the idea is to (1) report an error if, for a region pointer `'a T`, the lifetime `'a` is longer than any lifetimes that appear in `T` (in other words, if a borrowed pointer outlives any portion of its contents) and then (2) use this to assume that in a function like `fn(self: &'a &'b T)`, the relationship `'a <= 'b` holds. This is needed for #5656. Fixes #5728. | ||||
| 2013-04-08 | Removing no longer needed unsafe blocks | Alex Crichton | -34/+24 | |
| 2013-04-03 | Removing mut fields from vec.rs, at_vec.rs, str.rs, unstable.rs, and cell.rs. | Matthijs Hofstra | -2/+2 | |
| 2013-03-31 | Fix underflow in char_range_at_reverse | Marvin Löbel | -2/+15 | |
| Added char_range_at_reverse underflow test | ||||
| 2013-03-29 | librustc: Remove `fail_unless!` | Patrick Walton | -307/+307 | |
| 2013-03-28 | Removing unused imports | Alex Crichton | -2/+2 | |
| 2013-03-28 | Unbreak 'rustc --help' | Marvin Löbel | -1/+2 | |
| 2013-03-27 | add a TotalEq trait | Daniel Micay | -1/+25 | |
| 2013-03-26 | librustc: Remove obsolete syntax | Patrick Walton | -16/+42 | |
| 2013-03-26 | librustc: Modify all code to use new lifetime binder syntax | Patrick Walton | -37/+49 | |
| 2013-03-26 | libcore: Change `[const T]` to `const [T]` everywhere | Patrick Walton | -3/+3 | |
| 2013-03-26 | Added more missing lifetime annotations | Marvin Löbel | -8/+8 | |
| 2013-03-26 | Added missing lifetime annotations, doc and whitespace cleanups | Marvin Löbel | -66/+66 | |
| 2013-03-26 | Fixed all use sites and tests | Marvin Löbel | -137/+141 | |
| 2013-03-26 | Isolated bug, static vector seems to behave differently than fixed sized one | Marvin Löbel | -30/+0 | |
| 2013-03-26 | Switched over a bunch of splitting funktions to non-allocating iterators | Marvin Löbel | -53/+61 | |
| 2013-03-26 | pre-rebase commit | Marvin Löbel | -99/+102 | |
| 2013-03-26 | Moved float str buffer constants to the strconv module | Marvin Löbel | -8/+0 | |
| 2013-03-25 | libcore: implement `str::each_char_reverse` correctly. | Huon Wilson | -10/+9 | |
| Previously, `each_char_reverse` was not iterating at all, so the testcase never ran properly. | ||||
| 2013-03-22 | librustc: Remove the `const` declaration form everywhere | Patrick Walton | -18/+18 | |
| 2013-03-22 | librustdoc: Remove `pure` from fuzzer and rustdoc. | Patrick Walton | -1/+1 | |
| 2013-03-22 | libcore: Remove `pure` from libcore. rs=depure | Patrick Walton | -216/+216 | |
| 2013-03-22 | auto merge of #5398 : dbaupp/rust/core-readlines, r=graydon | bors | -26/+92 | |
| The `each_line` function in `ReaderUtil` acts very differently to equivalent functions in Python, Ruby, Clojure etc. E.g. given a file `t` with contents `trailing\nnew line\n` and `n` containing `no trailing\nnew line`: Rust: ```Rust t: ~[~"trailing", ~"new line", ~""] n: ~[~"no trailing", ~"new line"] ``` Python: ```Python >>> open('t').readlines() ['trailing\n', 'new line\n'] >>> open('n').readlines() ['no trailing\n', 'new line'] ``` Ruby: ```Ruby irb(main):001:0> File.readlines('t') => ["trailing\n", "new line\n"] irb(main):002:0> File.readlines('n') => ["no trailing\n", "new line"] ``` Clojure ```Clojure user=> (read-lines "t") ("trailing" "new line") user=> (read-lines "n") ("no trailing" "new line") ``` The extra string that rust includes at the end is inconsistent, and means that it is impossible to distinguish between the "real" empty line a file that ends `...\n\n`, and the "fake" one after the last `\n`. The code attached makes Rust's `each_line` act like Clojure (and PHP, i.e. not including the `\n`), as well as adjusting `str::lines` to fix the trailing empty line problem. Also, add a convenience `read_lines` method to read all the lines in a file into a vector. | ||||
| 2013-03-23 | libcore: handle trailing newlines more like other languages. | Huon Wilson | -26/+92 | |
| Specifically, `lines` and `each_line` will not emit a trailing empty string when given "...\n". Also, add `read_lines`, which just collects all of `each_line` into a vector, and `split_*_no_trailing` which will is the generalised version of `lines`. | ||||
| 2013-03-21 | core: fix a typo in levdistance | Erick Tryzelaar | -2/+2 | |
| 2013-03-21 | Un-renamed trim and substr functions. | Marvin Löbel | -58/+58 | |
| 2013-03-21 | Switched over substr and trim functions in str to be non-allocating, ↵ | Marvin Löbel | -87/+99 | |
| temporary renamed them to better track use-sites | ||||
| 2013-03-21 | back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> ↵ | Marvin Löbel | -48/+48 | |
| slice_unique | ||||
| 2013-03-21 | removed str::slice_DBG_UNIQ | Marvin Löbel | -66/+42 | |
| 2013-03-21 | renamed str::view -> slice_DBG_BRWD | Marvin Löbel | -54/+66 | |
| renamed str::slice -> slice_DBG_UNIQ changed vec slice method -> to_owned() renamed vec view method -> slice_V_DBG_BRWD | ||||
| 2013-03-20 | core: add str::each{,i}_reverse | Erick Tryzelaar | -76/+214 | |
| 2013-03-20 | core: add char_len method | Erick Tryzelaar | -1/+5 | |
| 2013-03-20 | core: add char_at_reverse | Erick Tryzelaar | -1/+34 | |
| 2013-03-18 | librustc: Convert all uses of old lifetime notation to new lifetime ↵ | Patrick Walton | -35/+35 | |
| notation. rs=delifetiming | ||||
| 2013-03-15 | auto merge of #5404 : bstrie/rust/decopy, r=pcwalton | bors | -0/+8 | |
| Also turn `copy` into `.clone()` in much of run-pass. | ||||
| 2013-03-15 | impl Clone for ~T, ~[T], ~str | Ben Striegel | -0/+8 | |
