| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-07-08 | auto merge of #7262 : nikomatsakis/rust/ref-bindings-in-irrefut-patterns, ↵ | bors | -51/+49 | |
| r=catamorphism Correct treatment of irrefutable patterns. The old code was wrong in many, many ways. `ref` bindings didn't work, it sometimes copied when it should have moved, the borrow checker didn't even look at such patterns at all, we weren't consistent about preventing values with destructors from being pulled apart, etc. Fixes #3224. Fixes #3225. Fixes #3255. Fixes #6225. Fixes #6386. r? @catamorphism | ||||
| 2013-07-08 | Correct merge errors | Niko Matsakis | -7/+7 | |
| 2013-07-08 | Correct merge failures | Niko Matsakis | -1/+6 | |
| 2013-07-08 | Fix pretty printer, which was ignoring `ref` in irrefutable patterns | Niko Matsakis | -38/+23 | |
| 2013-07-08 | syntax: Patch up code that was using irrefutable patterns incorrectly | Niko Matsakis | -12/+20 | |
| 2013-07-08 | Bump version numbers to 0.8-pre | Brian Anderson | -1/+1 | |
| 2013-07-07 | remove some method resolve workarounds | Daniel Micay | -3/+3 | |
| 2013-07-07 | auto merge of #7615 : Aatch/rust/syntax-deshare, r=graydon | bors | -526/+532 | |
| In an ideal world, the AST would be completely sendable, this gets us a step closer. It removes the local heap allocations for `view_item`, `Path`, `Lifetime` `trait_ref` `OptVec<TyParamBounds>` and `Ty`. There are also a few other smaller changes I made as things went along. | ||||
| 2013-07-07 | Fix broken tests | James Miller | -9/+9 | |
| 2013-07-07 | De-share ast::Ty | James Miller | -182/+181 | |
| 2013-07-07 | De-manage OptVec<TyParamBounds> | James Miller | -47/+49 | |
| 2013-07-07 | De-share trait_ref | James Miller | -97/+96 | |
| Also, makes the pretty-printer use & instead of @ as much as possible, which will help with later changes, though in the interim has produced some... interesting constructs. | ||||
| 2013-07-07 | De-manage Lifetime | James Miller | -35/+34 | |
| 2013-07-07 | De-managed ast::Path | James Miller | -140/+148 | |
| 2013-07-07 | Stop allocating view_items with @ | James Miller | -38/+37 | |
| 2013-07-07 | auto merge of #7585 : Blei/rust/fix-circular-modules, r=huonw | bors | -2/+23 | |
| Fixes #7276 | ||||
| 2013-07-06 | auto merge of #7570 : kballard/rust/iterator-size-hint, r=thestinger | bors | -0/+8 | |
| Change the signature of Iterator.size_hint() to always have a lower bound. Implement .size_hint() on all remaining iterators (if it differs from the default). | ||||
| 2013-07-06 | Implement size_hint() on all remaining Iterators | Kevin Ballard | -0/+8 | |
| Add size_hint() to the Iterators in libextra and the Iterator in libsyntax. Skip deque for the moment, as it's being worked on elsewhere. | ||||
| 2013-07-05 | Change spans for sugary call expressions | Seo Sanghyeon | -9/+8 | |
| 2013-07-05 | Do not rely on newtype enum dereference | Seo Sanghyeon | -33/+25 | |
| 2013-07-05 | Remove visit_struct_method | Seo Sanghyeon | -12/+0 | |
| 2013-07-04 | libsyntax: fix infinite loop when recursively including modules | Philipp Brüschweiler | -2/+23 | |
| Fixes #7276 | ||||
| 2013-07-04 | Remove vec::{filter, filtered, filter_map, filter_mapped}, replaced by ↵ | Huon Wilson | -15/+6 | |
| iterators. | ||||
| 2013-07-04 | Implement consuming iterators for ~[], remove vec::{consume, ↵ | Huon Wilson | -2/+1 | |
| consume_reverse, map_consume}. | ||||
| 2013-07-01 | rustc: add a lint to enforce uppercase statics. | Huon Wilson | -4/+7 | |
| 2013-06-30 | auto merge of #7487 : huonw/rust/vec-kill, r=cmr | bors | -31/+27 | |
| Continuation of #7430. I haven't removed the `map` method, since the replacement `v.iter().transform(f).collect::<~[SomeType]>()` is a little ridiculous at the moment. | ||||
| 2013-06-30 | Bump version from 0.7-pre to 0.7 | Brian Anderson | -1/+1 | |
| 2013-06-30 | Change char::escape_{default,unicode} to take callbacks instead of allocating | Alex Crichton | -4/+12 | |
| strings | ||||
| 2013-06-30 | Remove vec::{map, mapi, zip_map} and the methods, except for .map, since this | Huon Wilson | -31/+27 | |
| is very common, and the replacement (.iter().transform().collect()) is very ugly. | ||||
| 2013-06-30 | auto merge of #7468 : cmr/rust/great_renaming, r=pcwalton | bors | -8/+0 | |
| 2013-06-29 | Remove mutability from unique boxes in the AST | Alex Crichton | -11/+13 | |
| 2013-06-29 | Warning cleanup | Corey Richardson | -8/+0 | |
| 2013-06-29 | 'Borrow' stack closures rather than copying them (e.g., "|x|f(x)"), in prep ↵ | Ben Blum | -10/+16 | |
| for making them noncopyable. | ||||
| 2013-06-29 | Use more deriving(IterBytes) in libsyntax. | Ben Blum | -242/+93 | |
| 2013-06-29 | Change taskgroup key type to fn:Copy in prep for noncopyable stack closures. | Ben Blum | -2/+2 | |
| 2013-06-28 | librustc: Fix merge fallout and test cases. | Patrick Walton | -1/+1 | |
| 2013-06-28 | librustc: Fix merge fallout. | Patrick Walton | -2/+2 | |
| 2013-06-28 | librustc: Rewrite reachability and forbid duplicate methods in type ↵ | Patrick Walton | -254/+273 | |
| implementations. This should allow fewer symbols to be exported. | ||||
| 2013-06-28 | librustc: Remove the broken overloaded assign-ops from the language. | Patrick Walton | -66/+79 | |
| They evaluated the receiver twice. They should be added back with `AddAssign`, `SubAssign`, etc., traits. | ||||
| 2013-06-28 | libsyntax: Remove "copy" pattern bindings from the language | Patrick Walton | -2/+7 | |
| 2013-06-28 | libsyntax: Fix merge fallout | Patrick Walton | -2/+4 | |
| 2013-06-28 | librustc: Disallow "mut" from distributing over bindings. | Patrick Walton | -2/+29 | |
| This is the backwards-incompatible part of per-binding-site "mut". | ||||
| 2013-06-28 | librustc: Change "Owned" to "Send" everywhere | Patrick Walton | -5/+5 | |
| 2013-06-28 | librustc: Rename Const to Freeze | Patrick Walton | -3/+3 | |
| 2013-06-27 | auto merge of #7430 : huonw/rust/vec-kill, r=thestinger | bors | -2/+1 | |
| 2013-06-27 | Remove many shared pointers | Philipp Brüschweiler | -22/+20 | |
| Mostly just low-haning fruit, i.e. function arguments that were @ even though & would work just as well. Reduces librustc.so size by 200k when compiling without -O, by 100k when compiling with -O. | ||||
| 2013-06-27 | Convert vec::[mut_]slice to methods, remove vec::const_slice. | Huon Wilson | -2/+1 | |
| 2013-06-27 | auto merge of #7361 : brson/rust/incoming, r=brson | bors | -13/+14 | |
| 2013-06-26 | auto merge of #7420 : mozilla/rust/rollup, r=thestinger | bors | -13/+13 | |
| 2013-06-26 | Fix pretty-printing for bounded closures. Close #7333. | Ben Blum | -6/+11 | |
