| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-02-11 | Update copyright years | Mikko Perttunen | -1/+1 | |
| 2013-02-11 | Use topmost span for macro expansion location. Fixes behaviour of file!, ↵ | Mikko Perttunen | -7/+28 | |
| line! and col! | ||||
| 2013-02-09 | tidy | John Clements | -5/+7 | |
| 2013-02-09 | fix typos in sample code, add enum to json encoder, add test case | John Clements | -11/+50 | |
| 2013-02-08 | oldmap: get rid of legacy _ref suffixes | Daniel Micay | -1/+1 | |
| 2013-02-07 | librustc: Lots of de-muting. rs=demuting | Patrick Walton | -123/+140 | |
| 2013-02-07 | auto merge of #4791 : jbclements/rust/demodeing-and-deGCing, r=jbclements,brson | bors | -23/+25 | |
| r? It looks to me like the string_reader and tt_reader structs are GC pointers only because they predate the modern borrow system. This commit leaves the type names string_reader and tt_reader alone (they still refer to GC-ed pointers), but internally the functions now use borrowed pointers to refer to these structures. My guess would be that it's possible to move this change outward and not use the GCed pointers at all, but that change looks like it could be a larger one. Actually, I'm delighted at how quick this change was. | ||||
| 2013-02-07 | Make ~fn non-copyable, make &fn copyable, split barefn/closure types, | Niko Matsakis | -2/+2 | |
| correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719. | ||||
| 2013-02-05 | oldmap: use &K instead of K in find and get | Patrick Walton | -7/+7 | |
| This reverts commit a4250a96fdf61142a9c8dbb6d37ae8435c99e396. This is not the cause of the nonexhaustive-match failure. | ||||
| 2013-02-05 | Revert "oldmap: use &K instead of K in find and get" | Graydon Hoare | -7/+7 | |
| This reverts commit 8e643525d4e5bca993dada43615916c382a0645b. | ||||
| 2013-02-05 | Merge branch 'incoming' into removing | Tim Chevalier | -7/+7 | |
| 2013-02-04 | lines too long | John Clements | -11/+12 | |
| 2013-02-04 | demodeing, un-gc-ing | John Clements | -26/+27 | |
| It looks to me like the string_reader and tt_reader structs are GC pointers only because they predate the modern borrow system. This commit leaves the type names string_reader and tt_reader alone (they still refer to GC-ed pointers), but internally the functions now use borrowed pointers to refer to these structures. My guess would be that it's possible to move this change outward and not use the GCed pointers at all, but that change looks like it could be a larger one. Actually, I'm delighted at how quick this change was. | ||||
| 2013-02-04 | core/syntax: Staging fixes | Tim Chevalier | -28/+0 | |
| 2013-02-04 | auto merge of pull req #4777 from thestinger/rust, r=graydon | bors | -7/+7 | |
| 2013-02-04 | syntax: Make the pipe compiler stop generating set_buffer_ calls | Tim Chevalier | -2/+2 | |
| 2013-02-04 | core/syntax: Add transitional code for pipes | Tim Chevalier | -0/+28 | |
| 2013-02-03 | core: convert ToStr::to_str to take explicit &self | Erick Tryzelaar | -2/+2 | |
| 2013-02-03 | oldmap: use &K instead of K in find and get | Daniel Micay | -7/+7 | |
| 2013-02-03 | oldmap: get rid of the legacy contains_key method | Daniel Micay | -1/+1 | |
| 2013-02-03 | rename map -> oldmap and mark it as deprecated | Daniel Micay | -10/+10 | |
| LinearMap is quite a bit faster, and is fully owned/sendable without requiring copies. The older std::map also doesn't use explicit self and relies on mutable fields. | ||||
| 2013-02-01 | Merge remote-tracking branch 'nickdesaulniers/issue4524' into nocomm1 | Brian Anderson | -28/+42 | |
| 2013-02-01 | Remove fail keyword from lexer & parser and clean up remaining calls to | Nick Desaulniers | -28/+42 | |
| fail Fix merge conflicts - Issue 4524 | ||||
| 2013-01-31 | test cases, cleanup | John Clements | -46/+46 | |
| 2013-01-31 | Replace most invocations of fail keyword with die! macro | Nick Desaulniers | -15/+15 | |
| 2013-01-31 | Finalize moves-based-on-type implementation. | Niko Matsakis | -20/+8 | |
| Changes: - Refactor move mode computation - Removes move mode arguments, unary move, capture clauses (though they still parse for backwards compatibility) - Simplify how moves are handled in trans - Fix a number of illegal copies that cropped up - Workaround for bug involving def-ids in params (see details below) Future work (I'll open bugs for these...): - Improve error messages for moves that are due to bindings - Add support for moving owned content like a.b.c to borrow check, test in trans (but I think it'll "just work") - Proper fix for def-ids in params Def ids in params: Move captures into a map instead of recomputing. This is a workaround for a larger bug having to do with the def-ids associated with ty_params, which are not always properly preserved when inlining. I am not sure of my preferred fix for the larger bug yet. This current fix removes the only code in trans that I know of which relies on ty_param def-ids, but feels fragile. | ||||
| 2013-01-29 | De-capitalize "note" to get rid of spurious tidy warnings | Tim Chevalier | -1/+1 | |
| 2013-01-29 | libsyntax: De-export libsyntax. rs=deexporting | Patrick Walton | -231/+229 | |
| 2013-01-29 | libsyntax: De-export a lot of libsyntax. rs=deëxporting | Patrick Walton | -42/+40 | |
| 2013-01-29 | librustc: Disallow trait bounds in types, enumerations, and structure ↵ | Patrick Walton | -4/+11 | |
| definitions. r=tjc | ||||
| 2013-01-29 | libstd: Remove "dual impls" from the language and enforce coherence rules. ↵ | Patrick Walton | -6/+8 | |
| r=brson "Dual impls" are impls that are both type implementations and trait implementations. They can lead to ambiguity and so this patch removes them from the language. This also enforces coherence rules. Without this patch, records can implement traits not defined in the current crate. This patch fixes this, and updates all of rustc to adhere to the new enforcement. Most of this patch is fixing rustc to obey the coherence rules, which involves converting a bunch of records to structs. | ||||
| 2013-01-28 | Link the lifetimes of regions resulting from borrows of the | Niko Matsakis | -3/+10 | |
| contents of other borrowed pointers to the lifetimes of the borrowed value. Fixes #3148. r=catamorphism | ||||
| 2013-01-24 | Convert pipes::Buffer into a struct | Erick Tryzelaar | -4/+4 | |
| 2013-01-24 | Convert extfmt::rt::Conv into a struct | Erick Tryzelaar | -11/+25 | |
| 2013-01-24 | remove support for records from auto_encode | Erick Tryzelaar | -182/+75 | |
| 2013-01-23 | libsyntax: Implement `assert` as a macro (called `fail_unless!` on a ↵ | Patrick Walton | -0/+8 | |
| transitionary basis to avoid conflicting with the keyword right now). r=brson | ||||
| 2013-01-23 | Long lines | Tim Chevalier | -1/+2 | |
| 2013-01-23 | renaming to adhere to conventions | John Clements | -108/+102 | |
| 2013-01-22 | Add is_mutbl field to arg | Seo Sanghyeon | -0/+5 | |
| 2013-01-20 | Convert many libsyntax records into structs | Erick Tryzelaar | -26/+50 | |
| Specifically: ast_map::ctx ast_util::id_range diagnostic::{handler_t,codemap_t} auto_encode::field ext::base::{macro_def,syntax_expander_tt,syntax_expander_tt_item} ext::pipes::proto::next_state | ||||
| 2013-01-20 | convert the remaining ast record types into structs | Erick Tryzelaar | -42/+57 | |
| These are: region,arg,fn_decl,method,_mod,foreign_mod, variant_arg,enum_def_,variant_,trait_ref. | ||||
| 2013-01-20 | convert ast::{ty_field_,ty_method} into a struct | Erick Tryzelaar | -1/+1 | |
| 2013-01-20 | convert ast::ty into a struct | Erick Tryzelaar | -35/+56 | |
| 2013-01-20 | convert ast::expr into a struct | Erick Tryzelaar | -27/+50 | |
| 2013-01-15 | librustc: Make the default sigil for block lambdas `&` instead of `@`. | Graydon Hoare | -2/+2 | |
| 2013-01-14 | convert ast::{field_,capture_item_,mt} and middle::ty::mt into structs | Erick Tryzelaar | -10/+26 | |
| 2013-01-14 | Convert ast::{pat,field_pat,local_,arm} into structs | Erick Tryzelaar | -74/+89 | |
| 2013-01-14 | convert ast::blk_ into a struct | Erick Tryzelaar | -39/+55 | |
| 2013-01-14 | convert ast::attribute_ and ast::view_item to a struct | Erick Tryzelaar | -6/+6 | |
| 2013-01-14 | convert ast::struct_def to a struct | Erick Tryzelaar | -2/+2 | |
