| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-02-14 | Remove all final references to die! | Nick Desaulniers | -3/+3 | |
| 2013-02-14 | Remove DVec from workcache | Seo Sanghyeon | -5/+3 | |
| 2013-02-14 | Remove DVec from json | Seo Sanghyeon | -3/+3 | |
| 2013-02-13 | Remove die!, raplace invocations with fail! Issue #4524 pt 3 | Nick Desaulniers | -176/+176 | |
| 2013-02-13 | auto merge of #4908 : bstrie/rust/rimov3, r=pcwalton | bors | -44/+44 | |
| This patch finishes removing inner vector mutability from the vast majority of the compiler. Exceptions: * core::dvec: ideally this entire type will be able to be replaced by `~[]`, but Niko asked me to hold off on removing Dvecs until he makes some fixes to borrowed pointers. * liveness: liveness.rs is an impenetrable neutron star of deprecated semantics. * compile-fail: I'm not sure if a lot of these tests are testing inner mutability or mutability in general. I figure that RIMOVing this folder should wait until this syntax is removed from the parser. I also took this chance to remove many of the inner-mutability-related functions from core::vec, or as many uses of those functions as possible where still necessary. consume_mut and append_mut have been axed. cast_to_mut and cast_from_mut are still needed in a few places. | ||||
| 2013-02-13 | auto merge of #4840 : jbclements/rust/add-json-enum-encoding, r=catamorphism | bors | -8/+107 | |
| r? I added code to the JSON encoder to support the serialization of enums. Before this, the JSON serializer only handled Option, and encoded None as 'null'. Following this change, all enums are encoded as arrays containing the enum name followed by the encoded fields. This appears consistent with the unstated invariant that the resulting output can be mapped back to the input *if* there's a decoder around that knows the types that were in existence when the serialization occurred. Also, added test cases. | ||||
| 2013-02-13 | rustc and std: teach about #[bench], modernize to use quote_expr! some. | Graydon Hoare | -79/+437 | |
| 2013-02-13 | std: add stats. | Graydon Hoare | -0/+97 | |
| 2013-02-13 | RIMOV core::vec | Ben Striegel | -44/+44 | |
| Also remove as many uses as possible of vec::cast_to_mut and cast_from_mut | ||||
| 2013-02-12 | Adjust borrow checker algorithm to address #4856 unsoundness, | Niko Matsakis | -69/+87 | |
| and then adjust code to match. rs=unsound (will review post-landing) | ||||
| 2013-02-12 | auto merge of #4874 : thestinger/rust/option, r=catamorphism | bors | -4/+4 | |
| 2013-02-11 | std: Fix uv_tcp_t size on i686-apple-darwin | Brian Anderson | -19/+66 | |
| 2013-02-11 | Merge remote-tracking branch 'thestinger/treemap' | Brian Anderson | -39/+53 | |
| 2013-02-10 | treemap: cut down on swap_unwrap in remove | Daniel Micay | -15/+21 | |
| Performance before: std::treemap::TreeMap sequential_ints 0.083971 s random_ints 0.095861 s delete_ints 0.083931 s sequential_strings 0.278272 s random_strings 0.240286 s delete_strings 0.173581 s Performance after: std::treemap::TreeMap sequential_ints 0.083297 s random_ints 0.097644 s delete_ints 0.052602 s sequential_strings 0.287326 s random_strings 0.242372 s delete_strings 0.142269 s | ||||
| 2013-02-10 | avoid explicit reborrow in heir_swap | Daniel Micay | -1/+1 | |
| 2013-02-10 | treemap: avoid swap_unwrap in insert | Daniel Micay | -12/+11 | |
| Performance before: std::treemap::TreeMap sequential_ints 0.151877 s random_ints 0.160926 s delete_ints 0.08694 s sequential_strings 0.316458 s random_strings 0.290778 s delete_strings 0.169892 s Performance after: std::treemap::TreeMap sequential_ints 0.083971 s random_ints 0.095861 s delete_ints 0.083931 s sequential_strings 0.278272 s random_strings 0.240286 s delete_strings 0.173581 s | ||||
| 2013-02-10 | treemap: use an &mut parameter for skew and split | Daniel Micay | -19/+28 | |
| results in a small performance improvement and reduces the compiled code size | ||||
| 2013-02-10 | std: fix libuv structs on macos | Jeff Olson | -2/+35 | |
| 2013-02-10 | make Option's iter method use a lifetime | Daniel Micay | -4/+4 | |
| 2013-02-10 | std: strip sillyness from debug comment in iotask teardown | Jeff Olson | -1/+1 | |
| 2013-02-10 | rt/std: update of libuv API glue for libuv submodule update | Jeff Olson | -125/+104 | |
| 2013-02-10 | added issue for reference in FIXME | John Clements | -1/+1 | |
| 2013-02-09 | auto merge of #4827 : mcpherrinm/rust/master, r=catamorphism | bors | -37/+39 | |
| It seems to me the library needs more work to be done, but having a non-compilable sample program seems like bad news. | ||||
| 2013-02-09 | auto merge of #4854 : thestinger/rust/oldmap, r=catamorphism | bors | -64/+58 | |
| 2013-02-09 | json tidy | John Clements | -4/+6 | |
| 2013-02-09 | re-special-case Option in JSON encoding | John Clements | -9/+64 | |
| 2013-02-09 | json add enum encoder test case | John Clements | -1/+41 | |
| 2013-02-09 | json bugfix | John Clements | -2/+1 | |
| 2013-02-09 | tidy | John Clements | -6/+6 | |
| 2013-02-09 | json bugfixes | John Clements | -10/+7 | |
| 2013-02-09 | fix typos in sample code, add enum to json encoder, add test case | John Clements | -2/+8 | |
| 2013-02-09 | auto merge of #4848 : nikomatsakis/rust/issue-4821-bad-kind-computation, ↵ | bors | -1/+1 | |
| r=catamorphism ...ear values to be copied. Rewrite kind computation so that instead of directly computing the kind it computes what kinds of values are present in the type, and then derive kinds based on that. I find this easier to think about. Fixes #4821. r? @catamorphism | ||||
| 2013-02-08 | Remove trailing whitespace | Matthew McPherrin | -5/+5 | |
| 2013-02-08 | oldmap: rm unneeded unsafe | Daniel Micay | -26/+18 | |
| 2013-02-08 | oldmap: separate out the methods that need Copy | Daniel Micay | -32/+34 | |
| 2013-02-08 | oldmap: get rid of legacy _ref suffixes | Daniel Micay | -11/+11 | |
| 2013-02-08 | Merge branch 'master' of https://github.com/mozilla/rust | Matthew McPherrin | -430/+361 | |
| 2013-02-08 | Fix subtle error in caching during kind computation that could cause linear | Niko Matsakis | -1/+1 | |
| values to be copied. Rewrite kind computation so that instead of directly computing the kind it computes what kinds of values are present in the type, and then derive kinds based on that. I find this easier to think about. Fixes #4821. | ||||
| 2013-02-07 | fix map tests | Daniel Micay | -3/+3 | |
| 2013-02-07 | implement BaseIter for LinearMap | Daniel Micay | -10/+10 | |
| 2013-02-07 | implement ReverseIter for SmallIntMap | Daniel Micay | -1/+13 | |
| 2013-02-07 | implement ReverseIter for TreeMap and TreeSet | Daniel Micay | -12/+17 | |
| 2013-02-07 | implement BaseIter for SmallIntMap | Daniel Micay | -14/+19 | |
| 2013-02-07 | make Option's map and map_default use a lifetime | Daniel Micay | -10/+4 | |
| 2013-02-07 | implement BaseIter for TreeMap | Daniel Micay | -18/+29 | |
| 2013-02-07 | rm each method from the Map trait | Daniel Micay | -13/+13 | |
| the map types should implement BaseIter instead | ||||
| 2013-02-07 | add a BaseIter implementation for PriorityQueue | Daniel Micay | -0/+9 | |
| 2013-02-07 | librustc: Lots of de-muting. rs=demuting | Patrick Walton | -5/+5 | |
| 2013-02-07 | auto merge of #4831 : bjz/rust/incoming, r=pcwalton | bors | -9/+46 | |
| This is useful for comparing more complex types that include floats. | ||||
| 2013-02-07 | Make ~fn non-copyable, make &fn copyable, split barefn/closure types, | Niko Matsakis | -192/+146 | |
| correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719. | ||||
