| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2014-03-20 | rename std::vec_ng -> std::vec | Daniel Micay | -1353/+0 | |
| Closes #12771 | ||||
| 2014-03-20 | rename std::vec -> std::slice | Daniel Micay | -2/+2 | |
| Closes #12702 | ||||
| 2014-03-18 | Docify std::vec_ng | Steven Fackler | -30/+608 | |
| I also removed a couple of methods that were silly and added sort. | ||||
| 2014-03-18 | Make method Vec::remove() public | Jorge Aparicio | -1/+1 | |
| 2014-03-16 | Add method Vec<T>::as_mut_ptr() | Cadence Marseille | -4/+7 | |
| 2014-03-14 | std: render the vec_ng docs. | Huon Wilson | -2/+4 | |
| These are wildly incomplete, but having something there is better than nothing, e.g. so that people know it exists, and many of the functions behaviour can be guessed from the name or by checking the source: it's knowing they exist at all that's the hard part. | ||||
| 2014-03-13 | auto merge of #12238 : ktt3ja/rust/lifetime-error-msg, r=nikomatsakis | bors | -0/+29 | |
| For the following code snippet: ```rust struct Foo { bar: int } fn foo1(x: &Foo) -> &int { &x.bar } ``` This PR generates the following error message: ```rust test.rs:2:1: 4:2 note: consider using an explicit lifetime parameter as shown: fn foo1<'a>(x: &'a Foo) -> &'a int test.rs:2 fn foo1(x: &Foo) -> &int { test.rs:3 &x.bar test.rs:4 } test.rs:3:5: 3:11 error: cannot infer an appropriate lifetime for borrow expression due to conflicting requirements test.rs:3 &x.bar ^~~~~~ ``` Currently it does not support methods. | ||||
| 2014-03-13 | auto merge of #12845 : eddyb/rust/vec-no-drop-flag, r=thestinger | bors | -0/+50 | |
| 2014-03-12 | Vec: remove the drop flag to make it no larger than (*T, uint, uint). | Eduard Burtescu | -0/+50 | |
| 2014-03-12 | Add shift and remove methods for Vec | Kiet Tran | -0/+29 | |
| 2014-03-12 | Port partition method from ~[T] to Vec<T>, for use early-late lifetime code. | Felix S. Klock II | -0/+20 | |
| 2014-03-11 | Add an ItemModifier syntax extension type | Steven Fackler | -0/+15 | |
| Where ItemDecorator creates new items given a single item, ItemModifier alters the tagged item in place. The expansion rules for this are a bit weird, but I think are the most reasonable option available. When an item is expanded, all ItemModifier attributes are stripped from it and the item is folded through all ItemModifiers. At that point, the process repeats until there are no ItemModifiers in the new item. | ||||
| 2014-03-08 | Incorporated review feedback atop pcwalton's original patches. | Felix S. Klock II | -11/+9 | |
| (Original PR was #12716; feedback was provided by thestinger and me.) | ||||
| 2014-03-08 | libstd: Add some more functionality to Vec<T> | Patrick Walton | -0/+131 | |
| 2014-03-07 | create a sensible comparison trait hierarchy | Daniel Micay | -4/+11 | |
| * `Ord` inherits from `Eq` * `TotalOrd` inherits from `TotalEq` * `TotalOrd` inherits from `Ord` * `TotalEq` inherits from `Eq` This is a partial implementation of #12517. | ||||
| 2014-03-04 | auto merge of #12697 : thestinger/rust/vec, r=huonw | bors | -0/+1 | |
| This exists for the sake of compatibility during the ~[T] -> Vec<T> transition. It will be removed in the future. | ||||
| 2014-03-04 | mark the `map` method on Vec<T> as deprecated | Daniel Micay | -0/+1 | |
| This exists for the sake of compatibility during the ~[T] -> Vec<T> transition. It will be removed in the future. | ||||
| 2014-03-04 | std: add reserve_additional and an Extendable impl to Vec. | Huon Wilson | -2/+66 | |
| 2014-03-01 | libsyntax: Fix errors arising from the automated `~[T]` conversion | Patrick Walton | -0/+27 | |
| 2014-03-01 | libstd: Add some functionality to `Vec<T>` | Patrick Walton | -1/+29 | |
| 2014-02-24 | std: Add Vec.reserve for rounding-up reservation. | Huon Wilson | -1/+8 | |
| `.reserve_exact` can cause pathological O(n^2) behaviour, so providing a `.reserve` that ensures that capacity doubles (if you step 1, 2, ..., n) is more efficient. cc #11949 | ||||
| 2014-02-24 | std: make .swap_remove return Option<T>. | Huon Wilson | -6/+4 | |
| This is one of the last raw "indexing" method on vectors that returns `T` instead of the Option. | ||||
| 2014-02-23 | std: Move raw to std::raw | Brian Anderson | -1/+1 | |
| Issue #1457 | ||||
| 2014-02-21 | libstd: Implement some convenience methods on vectors | Patrick Walton | -9/+169 | |
| 2014-02-15 | std: clean up ptr a bit | Corey Richardson | -6/+6 | |
| 2014-02-13 | remove duplicate function from std::ptr (is_null, is_not_null, offset, ↵ | JeremyLetang | -2/+3 | |
| mut_offset) | ||||
| 2014-02-09 | std: Add move_val_init to mem. Replace direct intrinsic usage | Brian Anderson | -2/+1 | |
| 2014-02-07 | Removed prelude::* from libstd files. | chromatic | -2/+6 | |
| This replaces the imports from the prelude with the re-exported symbols. | ||||
| 2014-01-22 | add new vector representation as a library | Daniel Micay | -0/+231 | |
