| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-02-21 | Get rid of structural records in libsyntax and the last bit in librustc. | Luqman Aden | -16/+42 | |
| 2013-02-20 | librustc: Separate most trait bounds with '+'. rs=plussing | Patrick Walton | -1/+1 | |
| 2013-02-19 | auto merge of #4999 : erickt/rust/incoming, r=brson | bors | -22/+40 | |
| This patch series is doing a couple things with the ultimate goal of removing `#[allow(vecs_implicitly_copyable)]`, although I'm not quite there yet. The main change is passing around `@~str`s in most places, and using `ref`s in others. As far as I could tell, there are no performance changes with these patches, and all the tests pass on my mac. | ||||
| 2013-02-19 | convert ast::meta_items to take @~strs | Erick Tryzelaar | -3/+3 | |
| 2013-02-19 | convert syntax::attr to use @~strs | Erick Tryzelaar | -4/+4 | |
| 2013-02-19 | libsyntax: make enum variants take refs | Erick Tryzelaar | -17/+35 | |
| 2013-02-19 | auto merge of #5002 : catamorphism/rust/one-tuples, r=graydon | bors | -0/+9 | |
| r? @graydon - This is for greater uniformity (for example, macros that generate tuples). rustc already supported 1-tuple patterns, but there was no way to construct a 1-tuple term. @graydon , as far as your comment on #4898 - it did turn out to be solvable inside the macro (since @luqmana already fixed it using structs instead), but I still think it's a good idea to allow 1-tuples, for uniformity. I don't think anyone is likely to trip over it, and I'm not too worried that it changes the amount of ambiguity. | ||||
| 2013-02-18 | rustc: For one-tuples, make parsing and printing the type work | Tim Chevalier | -0/+3 | |
| and add a test to reflect-visit-data | ||||
| 2013-02-17 | libsyntax: Update view_item_use/import to reflect actual usage | Luqman Aden | -2/+2 | |
| 2013-02-17 | syntax: Allow 1-tuple expressions | Tim Chevalier | -0/+6 | |
| This is for greater uniformity (for example, macros that generate tuples). rustc already supported 1-tuple patterns, but there was no way to construct a 1-tuple term. | ||||
| 2013-02-15 | libsyntax: Get rid of uses of `move` and don't parse it. | Luqman Aden | -3/+3 | |
| 2013-02-13 | Remove die!, raplace invocations with fail! Issue #4524 pt 3 | Nick Desaulniers | -9/+9 | |
| 2013-02-13 | libsyntax: Pretty print using the new impl syntax. r=brson | Patrick Walton | -2/+4 | |
| 2013-02-07 | librustc: Lots of de-muting. rs=demuting | Patrick Walton | -247/+251 | |
| 2013-02-07 | Make ~fn non-copyable, make &fn copyable, split barefn/closure types, | Niko Matsakis | -54/+56 | |
| correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719. | ||||
| 2013-02-04 | Merge remote-tracking branch 'bstrie/rimov' into incoming | Brian Anderson | -9/+9 | |
| Conflicts: src/libsyntax/parse/parser.rs src/test/bench/graph500-bfs.rs src/test/bench/sudoku.rs src/test/run-pass/borrowck-mut-vec-as-imm-slice.rs src/test/run-pass/empty-mutable-vec.rs src/test/run-pass/foreach-nested.rs src/test/run-pass/swap-2.rs | ||||
| 2013-02-03 | Converted libcore/uint-template.rs to the new string functions. | Marvin Löbel | -5/+5 | |
| - Moved ToStr implementation of unsigned integers to uint-template.rs. - Marked the `str()` function as deprecated. - Forwarded all conversion functions to `core::num::to_str_common()` and `core::num::from_str_common()`. - Fixed most places in the codebase where `to_str()` is being used. - Added uint-template to_str and from_str overflow tests. | ||||
| 2013-02-01 | Merge remote-tracking branch 'nickdesaulniers/issue4524' into nocomm1 | Brian Anderson | -7/+0 | |
| 2013-02-01 | Remove fail keyword from lexer & parser and clean up remaining calls to | Nick Desaulniers | -7/+0 | |
| fail Fix merge conflicts - Issue 4524 | ||||
| 2013-01-31 | test cases, cleanup | John Clements | -6/+7 | |
| 2013-01-31 | Replace most invocations of fail keyword with die! macro | Nick Desaulniers | -9/+9 | |
| 2013-01-31 | Workaround for #4717: pad contents of ast. rs=breakage | Niko Matsakis | -1/+1 | |
| 2013-01-31 | Finalize moves-based-on-type implementation. | Niko Matsakis | -33/+14 | |
| 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-30 | Fix RIMOV damage to libsyntax | Ben Striegel | -5/+5 | |
| 2013-01-30 | RIMOV, round 10 | Ben Striegel | -1/+1 | |
| find ./ -type f -name "*.rs" -exec sed -i "s/~\[mut /~\[/g" {} \; | ||||
| 2013-01-30 | RIMOV, round 8 | Ben Striegel | -2/+2 | |
| find ./ -type f -name "*.rs" -exec sed -i "s/ \([a-zA-Z_]\+\): ~\[mut / mut \1: ~\[/g" {} \; | ||||
| 2013-01-30 | RIMOV, round 7 | Ben Striegel | -1/+1 | |
| find ./ -type f -name "*.rs" -exec sed -i "s/ mut \([a-zA-Z_]\+\): ~\[mut / mut \1: ~\[/g" {} \; | ||||
| 2013-01-30 | RIMOV, round 3 | Ben Striegel | -3/+3 | |
| find ./ -type f -name "*.rs" -exec sed -i "s/let \(.*\)\[mut[ ]\?/let mut \1\[/g" {} \; | ||||
| 2013-01-30 | librustc: Remove legacy exports from the language. r=brson | Patrick Walton | -17/+12 | |
| 2013-01-29 | libsyntax: De-export libsyntax. rs=deexporting | Patrick Walton | -210/+229 | |
| 2013-01-29 | libsyntax: De-export a lot of libsyntax. rs=deëxporting | Patrick Walton | -3/+3 | |
| 2013-01-28 | syntax: Don't add an extra space before the last comma... | Tim Chevalier | -1/+0 | |
| ...when printing struct update expressions. | ||||
| 2013-01-24 | replace ConstVector trait with the Container trait | Daniel Micay | -8/+8 | |
| 2013-01-24 | unit test cases now pass, added a few to the interner | John Clements | -27/+50 | |
| 2013-01-23 | cleaning up, adding tests | John Clements | -5/+5 | |
| 2013-01-23 | libsyntax: Implement the `+` syntax for multiple trait bounds. r=tjc | Patrick Walton | -0/+7 | |
| 2013-01-23 | Merge pull request #4596 from Trinick/tomutrename | Tim Chevalier | -3/+3 | |
| core: Rename to_mut and from_mut to cast_to_mut and cast_from_mut | ||||
| 2013-01-23 | core: Rename to_mut and from_mut to cast_to_mut and cast_from_mut | Trinick | -3/+3 | |
| 2013-01-22 | syntax: Pretty-print `mut` qualifiers on args | Tim Chevalier | -1/+4 | |
| 2013-01-10 | librustc: Implement `&static` as the replacement for `Durable`. r=nmatsakis | Patrick Walton | -3/+6 | |
| 2013-01-09 | A collection of refactorings that I found it hard/tiresome to divide: | Niko Matsakis | -2/+5 | |
| - Make `extern fn()` assignable to any closure type, rather than a subtype. - Remove unused int_ty_set and float_ty_set - Refactor variable unification and make it more DRY - Do fn sub/lub/glb on the level of fn_sig - Rename infer::to_str::ToStr to infer::to_str::InferStr - Capitalize names of various types - Correct hashing of FnMeta - Convert various records-of-fns into structs-of-fns. This is both eliminating use of deprecated features and more forwards compatible with fn reform. r=pcwalton | ||||
| 2013-01-09 | syntax: convert ast::spanned into a struct | Erick Tryzelaar | -1/+2 | |
| 2013-01-08 | librustc: Make unqualified identifier searches terminate at the nearest ↵ | Patrick Walton | -2/+6 | |
| module scope. r=tjc | ||||
| 2013-01-08 | Revert "librustc: Make unqualified identifier searches terminate at the ↵ | Patrick Walton | -6/+2 | |
| nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6. | ||||
| 2013-01-08 | librustc: Make unqualified identifier searches terminate at the nearest ↵ | Patrick Walton | -2/+6 | |
| module scope. r=tjc | ||||
| 2013-01-08 | Rename identifiers that still use 'alt' to use 'match' | Lindsey Kuper | -6/+6 | |
| This'll be less confusing for anyone who works on match in future. | ||||
| 2012-12-27 | librustc: Terminate name searches at the nearest module scope for paths that ↵ | Patrick Walton | -8/+28 | |
| contain at least two components. r=graydon | ||||
| 2012-12-17 | Add support for destructuring vectors in match expressions | Jakub Wieczorek | -0/+10 | |
| 2012-12-13 | librustc: Make `use` statements crate-relative by default. r=brson | Patrick Walton | -2/+2 | |
| 2012-12-12 | syntax: remove remaining #syntaxext machinery. Close #3516. | Graydon Hoare | -19/+20 | |
