| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-05-09 | Use a specialized string interner to reduce the need for owned strings | Björn Steinbrink | -7/+7 | |
| &str can be turned into @~str on demand, using to_owned(), so for strings, we can create a specialized interner that accepts &str for intern() and find() but stores and returns @~str. | ||||
| 2013-04-29 | librustc: Remove the concept of modes from the compiler. | Patrick Walton | -1/+0 | |
| This commit does not remove `ty::arg`, although that should be possible to do now. | ||||
| 2013-04-27 | only use #[no_core] in libcore | Daniel Micay | -4/+0 | |
| 2013-04-22 | librustc: Remove `use mod` from the language | Patrick Walton | -1/+0 | |
| 2013-04-19 | syntax: de-mode and prepare for de-modeing rustc | Alex Crichton | -42/+42 | |
| 2013-04-10 | path -> Path | John Clements | -15/+15 | |
| 2013-03-31 | Fix warnings | Brian Anderson | -1/+1 | |
| 2013-03-29 | Add AbiSet and integrate it into the AST. | Niko Matsakis | -1/+3 | |
| I believe this patch incorporates all expected syntax changes from extern function reform (#3678). You can now write things like: extern "<abi>" fn foo(s: S) -> T { ... } extern "<abi>" mod { ... } extern "<abi>" fn(S) -> T The ABI for foreign functions is taken from this syntax (rather than from an annotation). We support the full ABI specification I described on the mailing list. The correct ABI is chosen based on the target architecture. Calls by pointer to C functions are not yet supported, and the Rust type of crust fns is still *u8. | ||||
| 2013-03-28 | Removing unused imports | Alex Crichton | -2/+2 | |
| 2013-03-13 | librustc: Don't accept `as Trait` anymore; fix all occurrences of it. | Patrick Walton | -1/+1 | |
| 2013-03-04 | Remove unused imports throughout src/ | Alex Crichton | -2/+0 | |
| 2013-03-01 | Merge remote-tracking branch 'remotes/origin/incoming' into incoming | Erick Tryzelaar | -4/+6 | |
| 2013-03-01 | Avoid calling to_vec() unnecessarily in parser. | Niko Matsakis | -4/+6 | |
| Also, rename the OptVec-to-vector conversion method to opt_vec::take_vec() and convert from a method into a fn because I fear strange bugs. | ||||
| 2013-03-01 | Merge remote-tracking branch 'remotes/origin/incoming' into incoming | Erick Tryzelaar | -1/+1 | |
| 2013-02-28 | Fix implicit leaks of imports throughout libraries | Alex Crichton | -1/+1 | |
| Also touch up use of 'pub' and move some tests around so the tested functions don't have to be 'pub' | ||||
| 2013-02-28 | Merge remote-tracking branch 'remotes/origin/incoming' into incoming | Erick Tryzelaar | -56/+96 | |
| 2013-02-27 | auto merge of #5141 : nikomatsakis/rust/region-syntax-expl-lifetimes, ↵ | bors | -32/+40 | |
| r=nikomatsakis Major changes are: - replace ~[ty_param] with Generics structure, which includes both OptVec<TyParam> and OptVec<Lifetime>; - the use of syntax::opt_vec to avoid allocation for empty lists; cc #4846 r? @graydon | ||||
| 2013-02-27 | Introduce lifetime declarations into the lists of type parameters. | Niko Matsakis | -32/+40 | |
| Major changes are: - replace ~[ty_param] with Generics structure, which includes both OptVec<TyParam> and OptVec<Lifetime>; - the use of syntax::opt_vec to avoid allocation for empty lists; cc #4846 | ||||
| 2013-02-27 | Merge remote-tracking branch 'remotes/origin/incoming' into incoming | Erick Tryzelaar | -2/+2 | |
| 2013-02-27 | librustc: Forbid `pub` or `priv` before trait implementations | Patrick Walton | -2/+2 | |
| 2013-02-26 | libsyntax: remove vecs_implicitly_copyable from the syntax extensions | Erick Tryzelaar | -8/+8 | |
| 2013-02-25 | libsyntax: add explicit modes where required to copy strs/vecs | Erick Tryzelaar | -33/+41 | |
| 2013-02-25 | libsyntax: Convert ast::attribute_ to store a @meta_item | Erick Tryzelaar | -1/+1 | |
| 2013-02-20 | librustc: Separate most trait bounds with '+'. rs=plussing | Patrick Walton | -1/+1 | |
| 2013-02-19 | convert ast::meta_items to take @~strs | Erick Tryzelaar | -2/+3 | |
| 2013-02-18 | auto merge of #5004 : luqmana/rust/rename-use-import, r=catamorphism | bors | -1/+1 | |
| Seems like my previous pull request got lost along the way somehow. So here it is updated. | ||||
| 2013-02-17 | libsyntax: Update view_item_use/import to reflect actual usage | Luqman Aden | -1/+1 | |
| 2013-02-17 | libsyntax: Long lines. | Luqman Aden | -4/+8 | |
| 2013-02-17 | libsyntax: Explicit-self-ify pipes compiler. | Luqman Aden | -65/+60 | |
| 2013-02-17 | libsyntax: Remove last use of structural records in pipes compiler. | Luqman Aden | -20/+28 | |
| 2013-02-15 | librustc: Stop parsing `impl Type : Trait` and fix several declarations that ↵ | Patrick Walton | -2/+2 | |
| slipped through. r=tjc | ||||
| 2013-01-31 | test cases, cleanup | John Clements | -6/+7 | |
| 2013-01-31 | Finalize moves-based-on-type implementation. | Niko Matsakis | -11/+1 | |
| 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 | libsyntax: De-export a lot of libsyntax. rs=deëxporting | Patrick Walton | -6/+5 | |
| 2013-01-29 | librustc: Disallow trait bounds in types, enumerations, and structure ↵ | Patrick Walton | -0/+7 | |
| definitions. r=tjc | ||||
| 2013-01-29 | libstd: Remove "dual impls" from the language and enforce coherence rules. ↵ | Patrick Walton | -1/+1 | |
| 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-22 | Add is_mutbl field to arg | Seo Sanghyeon | -0/+1 | |
| 2013-01-20 | convert the remaining ast record types into structs | Erick Tryzelaar | -18/+28 | |
| 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 | -12/+20 | |
| 2013-01-20 | convert ast::expr into a struct | Erick Tryzelaar | -12/+18 | |
| 2013-01-14 | convert ast::{field_,capture_item_,mt} and middle::ty::mt into structs | Erick Tryzelaar | -4/+11 | |
| 2013-01-14 | Convert ast::{pat,field_pat,local_,arm} into structs | Erick Tryzelaar | -5/+9 | |
| 2013-01-14 | convert ast::blk_ into a struct | Erick Tryzelaar | -5/+7 | |
| 2013-01-14 | convert ast::attribute_ and ast::view_item to a struct | Erick Tryzelaar | -2/+2 | |
| 2013-01-14 | convert ast::item into a struct | Erick Tryzelaar | -6/+6 | |
| 2013-01-14 | change ast::ty_param into a struct. | Erick Tryzelaar | -1/+1 | |
| 2013-01-14 | Change ast::path into a struct. | Erick Tryzelaar | -14/+14 | |
| 2013-01-09 | syntax: convert ast::spanned into a struct | Erick Tryzelaar | -16/+15 | |
| 2013-01-08 | librustc: Make unqualified identifier searches terminate at the nearest ↵ | Patrick Walton | -5/+36 | |
| module scope. r=tjc | ||||
