| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-09-09 | auto merge of #9065 : thestinger/rust/iter, r=alexcrichton | bors | -1/+1 | |
| The trait will keep the `Iterator` naming, but a more concise module name makes using the free functions less verbose. The module will define iterables in addition to iterators, as it deals with iteration in general. | ||||
| 2013-09-09 | rename `std::iterator` to `std::iter` | Daniel Micay | -1/+1 | |
| The trait will keep the `Iterator` naming, but a more concise module name makes using the free functions less verbose. The module will define iterables in addition to iterators, as it deals with iteration in general. | ||||
| 2013-09-08 | repr: update for removal of const | Daniel Micay | -2/+1 | |
| 2013-09-08 | repr: write the mutability qualifier for slices | Daniel Micay | -0/+4 | |
| 2013-09-07 | fix repr of strings/chars with quotes | Daniel Micay | -5/+22 | |
| Closes #8743 | ||||
| 2013-09-05 | Rename str::from_bytes to str::from_utf8, closes #8985 | Florian Hahn | -1/+1 | |
| 2013-09-03 | repr: add very basic support for functions | Daniel Micay | -5/+17 | |
| Closes #8917 | ||||
| 2013-09-02 | auto merge of #8927 : thestinger/rust/repr, r=huonw | bors | -11/+37 | |
| 2013-09-02 | repr: handle tuple structs sanely | Daniel Micay | -9/+21 | |
| Closes #8919 | ||||
| 2013-09-02 | repr: add support for trait objects | Daniel Micay | -1/+6 | |
| Closes #8916 | ||||
| 2013-09-02 | repr: print functions as `fn()` | Daniel Micay | -1/+10 | |
| 2013-09-01 | Fix #8898 | novalis | -2/+3 | |
| 2013-08-31 | repr: remove trailing {} from unit-like structs | Daniel Micay | -5/+9 | |
| 2013-08-31 | repr: print the name of structs | Daniel Micay | -7/+14 | |
| 2013-08-30 | auto merge of #8820 : alexcrichton/rust/no-io-writer, r=brson | bors | -224/+217 | |
| At the same time, this updates the TyVisitor to use a mutable self because it's probably going to be mutating state as it goes along anyway. | ||||
| 2013-08-28 | Remove @io::Writer from sys/repr/reflect | Alex Crichton | -224/+217 | |
| At the same time, this updates the TyVisitor to use a mutable self because it's probably going to be mutating state as it goes along anyway. | ||||
| 2013-08-27 | Remove offset_inbounds for an unsafe offset function | Alex Crichton | -1/+1 | |
| 2013-08-27 | reflect: rm unused visit_{var,var_integral,constr} | Daniel Micay | -5/+0 | |
| 2013-08-27 | repr: include mutability qualifier in visit_ptr | Daniel Micay | -0/+15 | |
| 2013-08-27 | repr: print integer/float suffixes | Daniel Micay | -25/+40 | |
| 2013-08-23 | fix performance regression from invalid IR | Daniel Micay | -1/+1 | |
| Monomorphize's normalization results in a 2% decrease in non-optimized code size for libstd, so there's a negligible cost to removing it. This also fixes several visit glue bugs because normalize wasn't considering the differences in visit glue between types. Closes #8720 | ||||
| 2013-08-12 | fix build with the new snapshot compiler | Daniel Micay | -24/+0 | |
| 2013-08-11 | Update type visitor to use &Visitor and not @Visitor | Niko Matsakis | -0/+24 | |
| 2013-08-03 | remove obsolete `foreach` keyword | Daniel Micay | -1/+1 | |
| this has been replaced by `for` | ||||
| 2013-08-01 | migrate many `for` loops to `foreach` | Daniel Micay | -2/+3 | |
| 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-26 | Consolidate raw representations of rust values | Alex Crichton | -21/+17 | |
| This moves the raw struct layout of closures, vectors, boxes, and strings into a new `unstable::raw` module. This is meant to be a centralized location to find information for the layout of these values. As safe method, `repr`, is provided to convert a rust value to its raw representation. Unsafe methods to convert back are not provided because they are rarely used and too numerous to write an implementation for each (not much of a common pattern). | ||||
| 2013-07-22 | new snapshot | Daniel Micay | -29/+0 | |
| 2013-07-18 | repr: add a test case for @mut inside another type | Daniel Micay | -2/+2 | |
| 2013-07-18 | fix repr of @mut vectors | Daniel Micay | -6/+5 | |
| 2013-07-17 | fix repr of unique vectors with stage0 libstd | Daniel Micay | -0/+9 | |
| Closes #7860 | ||||
| 2013-07-17 | rm unused visit_str method from TyVisitor | Daniel Micay | -0/+1 | |
| 2013-07-15 | remove headers from unique vectors | Daniel Micay | -0/+8 | |
| 2013-07-10 | Don't loop infinitely on 0-size structs in repr | Alex Crichton | -2/+8 | |
| Closes #7625 | ||||
| 2013-07-08 | remove headers from exchange allocations | Daniel Micay | -0/+9 | |
| 2013-06-30 | Specialize to_str_common for floats/integers in strconv | Alex Crichton | -54/+24 | |
| This allows the integral paths to avoid allocations on the heap Closes #4424, #4423 | ||||
| 2013-06-30 | Change char::escape_{default,unicode} to take callbacks instead of allocating | Alex Crichton | -3/+3 | |
| strings | ||||
| 2013-06-23 | Remove intrinsic module | Philipp Brüschweiler | -4/+16 | |
| To achieve this, the following changes were made: * Move TyDesc, TyVisitor and Opaque to std::unstable::intrinsics * Convert TyDesc, TyVisitor and Opaque to lang items instead of specially handling the intrinsics module * Removed TypeDesc, FreeGlue and get_type_desc() from sys Fixes #3475. | ||||
| 2013-06-18 | replace #[inline(always)] with #[inline]. r=burningtree. | Graydon Hoare | -5/+5 | |
| 2013-06-15 | rm vec::uniq_len | Daniel Micay | -2/+3 | |
| 2013-06-09 | std: remove each_char* fns and methods from str, replaced by iterators. | Huon Wilson | -1/+2 | |
| 2013-06-01 | Remove all uses of `pub impl`. rs=style | Patrick Walton | -14/+18 | |
| 2013-05-30 | Require documentation by default for libstd | Alex Crichton | -0/+2 | |
| Adds documentation for various things that I understand. Adds #[allow(missing_doc)] for lots of things that I don't understand. | ||||
| 2013-05-22 | libstd: Rename libcore to libstd and libstd to libextra; update makefiles. | Patrick Walton | -0/+639 | |
| This only changes the directory names; it does not change the "real" metadata names. | ||||
