| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-09-05 | Rename str::from_bytes to str::from_utf8, closes #8985 | Florian Hahn | -1/+1 | |
| 2013-09-04 | forbid cast as bool | Daniel Micay | -1/+1 | |
| This is currently unsound since `bool` is represented as `i8`. It will become sound when `bool` is stored as `i8` but always used as `i1`. However, the current behaviour will always be identical to `x & 1 != 0`, so there's no need for it. It's also surprising, since `x != 0` is the expected behaviour. Closes #7311 | ||||
| 2013-09-04 | stop treating char as an integer type | Daniel Micay | -2/+2 | |
| Closes #7609 | ||||
| 2013-08-25 | Revert "auto merge of #8745 : brson/rust/metadata, r=cmr" | Brian Anderson | -57/+20 | |
| This reverts commit 491bc3568c87dadaba4d342135bd308961c6e0ef, reversing changes made to 05f1bbba16912f63b562a7847801823872f89ec6. | ||||
| 2013-08-23 | Don't copy metadata after loading | Brian Anderson | -20/+57 | |
| 2013-07-30 | implement pointer arithmetic with GEP | Daniel Micay | -1/+1 | |
| Closes #8118, #7136 ~~~rust extern mod extra; use std::vec; use std::ptr; fn bench_from_elem(b: &mut extra::test::BenchHarness) { do b.iter { let v: ~[u8] = vec::from_elem(1024, 0u8); } } fn bench_set_memory(b: &mut extra::test::BenchHarness) { do b.iter { let mut v: ~[u8] = vec::with_capacity(1024); unsafe { let vp = vec::raw::to_mut_ptr(v); ptr::set_memory(vp, 0, 1024); vec::raw::set_len(&mut v, 1024); } } } fn bench_vec_repeat(b: &mut extra::test::BenchHarness) { do b.iter { let v: ~[u8] = ~[0u8, ..1024]; } } ~~~ Before: test bench_from_elem ... bench: 415 ns/iter (+/- 17) test bench_set_memory ... bench: 85 ns/iter (+/- 4) test bench_vec_repeat ... bench: 83 ns/iter (+/- 3) After: test bench_from_elem ... bench: 84 ns/iter (+/- 2) test bench_set_memory ... bench: 84 ns/iter (+/- 5) test bench_vec_repeat ... bench: 84 ns/iter (+/- 3) | ||||
| 2013-07-17 | librustc: Remove all uses of "copy". | Patrick Walton | -0/+11 | |
| 2013-07-17 | librustc: Add a lint mode for unnecessary `copy` and remove a bunch of them. | Patrick Walton | -2/+6 | |
| 2013-07-01 | rustc: add a lint to enforce uppercase statics. | Huon Wilson | -2/+2 | |
| 2013-06-29 | Great renaming: propagate throughout the rest of the codebase | Corey Richardson | -13/+12 | |
| 2013-06-29 | libextra: unused import fix for android AGAIN | Young-il Choi | -1/+4 | |
| 2013-06-28 | Fix merge fallout | Corey Richardson | -5/+0 | |
| 2013-06-28 | libextra: Fix even more merge fallout. | Patrick Walton | -1/+2 | |
| 2013-06-28 | librustc: Rewrite reachability and forbid duplicate methods in type ↵ | Patrick Walton | -14/+16 | |
| implementations. This should allow fewer symbols to be exported. | ||||
| 2013-06-27 | extra: unused import fix for android | Young-il Choi | -1/+7 | |
| 2013-06-27 | Convert vec::[mut_]slice to methods, remove vec::const_slice. | Huon Wilson | -2/+1 | |
| 2013-06-12 | std: unify the str -> [u8] functions as 3 methods: .as_bytes() and ↵ | Huon Wilson | -3/+2 | |
| .as_bytes_with_null[_consume](). The first acts on &str and is not nul-terminated, the last two act on strings that are always null terminated (&'static str, ~str and @str). | ||||
| 2013-06-08 | remove deprecated vec::{is_empty, len} functions | Daniel Micay | -1/+1 | |
| 2013-06-08 | Avoid unnecessary allocations in the metadata decoder | Björn Steinbrink | -7/+12 | |
| 2013-06-01 | Remove all uses of `pub impl`. rs=style | Patrick Walton | -24/+25 | |
| 2013-05-31 | Implement unimplemented methods in ebml | Alex Crichton | -71/+79 | |
| 2013-05-30 | libextra: Require documentation by default | Alex Crichton | -0/+2 | |
| 2013-05-22 | libextra: Rename the actual metadata names of libcore to libstd and libstd ↵ | Patrick Walton | -0/+4 | |
| to libextra | ||||
| 2013-05-22 | libstd: Rename libcore to libstd and libstd to libextra; update makefiles. | Patrick Walton | -0/+957 | |
| This only changes the directory names; it does not change the "real" metadata names. | ||||
