| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-03-31 | Fix warnings | Brian Anderson | -1/+0 | |
| 2013-03-29 | Add AbiSet and integrate it into the AST. | Niko Matsakis | -7/+4 | |
| 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 | -1/+1 | |
| 2013-03-26 | Move ast_map::map to LinearMap | Alex Crichton | -19/+19 | |
| 2013-03-22 | librustc: Remove `pure` from libsyntax and librustc. | Patrick Walton | -2/+2 | |
| 2013-03-19 | librustc: Enforce privacy for static methods. | Patrick Walton | -3/+13 | |
| This starts moving a bunch of privacy checks into the privacy checking phase and out of resolve. | ||||
| 2013-03-13 | librustc: Don't accept `as Trait` anymore; fix all occurrences of it. | Patrick Walton | -3/+3 | |
| 2013-03-13 | Remove `++` mode from the compiler (it is parsed as `+` mode) | Niko Matsakis | -3/+3 | |
| and obsolete `-` mode altogether (it *was* parsed as `+` mode). | ||||
| 2013-03-11 | librustc: Replace all uses of `fn()` with `&fn()`. rs=defun | Patrick Walton | -1/+1 | |
| 2013-03-04 | Remove unused imports throughout src/ | Alex Crichton | -3/+0 | |
| 2013-03-01 | Merge remote-tracking branch 'remotes/origin/incoming' into incoming | Erick Tryzelaar | -0/+1 | |
| 2013-02-28 | Fix implicit leaks of imports throughout libraries | Alex Crichton | -0/+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 | -3/+3 | |
| 2013-02-27 | auto merge of #5141 : nikomatsakis/rust/region-syntax-expl-lifetimes, ↵ | bors | -1/+1 | |
| 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 | -1/+1 | |
| 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 | -1/+1 | |
| 2013-02-27 | librustc: Forbid `pub` or `priv` before trait implementations | Patrick Walton | -1/+1 | |
| 2013-02-25 | libsyntax: add some explicit copies | Erick Tryzelaar | -6/+9 | |
| 2013-02-25 | libsyntax: progress on making syntax::visit vecs_implicitly_copyable-free | Erick Tryzelaar | -10/+10 | |
| 2013-02-25 | libsyntax: convert visit to pass ty_params by reference | Erick Tryzelaar | -70/+92 | |
| 2013-02-19 | libsyntax: make enum variants take refs | Erick Tryzelaar | -3/+3 | |
| 2013-02-15 | librustc: Stop parsing `impl Type : Trait` and fix several declarations that ↵ | Patrick Walton | -1/+1 | |
| slipped through. r=tjc | ||||
| 2013-02-13 | Remove die!, raplace invocations with fail! Issue #4524 pt 3 | Nick Desaulniers | -2/+2 | |
| 2013-02-07 | librustc: Lots of de-muting. rs=demuting | Patrick Walton | -26/+30 | |
| 2013-02-05 | oldmap: use &K instead of K in find and get | Patrick Walton | -2/+2 | |
| 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 | -2/+2 | |
| This reverts commit 8e643525d4e5bca993dada43615916c382a0645b. | ||||
| 2013-02-03 | oldmap: use &K instead of K in find and get | Daniel Micay | -2/+2 | |
| 2013-02-03 | rename map -> oldmap and mark it as deprecated | Daniel Micay | -4/+4 | |
| 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-01-31 | Replace most invocations of fail keyword with die! macro | Nick Desaulniers | -2/+2 | |
| 2013-01-30 | librustc: Remove legacy exports from the language. r=brson | Patrick Walton | -24/+0 | |
| 2013-01-29 | libsyntax: De-export a lot of libsyntax. rs=deëxporting | Patrick Walton | -33/+33 | |
| 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-24 | syntax/rustc: Less copy | Tim Chevalier | -3/+3 | |
| 2013-01-22 | syntax/rustc: Make some metadata-related functions take slices, kill bad copies | Tim Chevalier | -4/+4 | |
| Too small to review. | ||||
| 2013-01-20 | Convert many libsyntax records into structs | Erick Tryzelaar | -11/+19 | |
| 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-14 | convert ast::struct_dtor_ into a struct | Erick Tryzelaar | -2/+6 | |
| 2013-01-10 | librustc: Implement a #[no_mangle] attribute to suppress name mangling. r=brson | Patrick Walton | -0/+7 | |
| This is very helpful for SDL, as SDL wants you to define a function named `SDL_main`. | ||||
| 2013-01-09 | A collection of refactorings that I found it hard/tiresome to divide: | Niko Matsakis | -1/+1 | |
| - 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 | -6/+9 | |
| 2013-01-08 | librustc: Make unqualified identifier searches terminate at the nearest ↵ | Patrick Walton | -0/+2 | |
| module scope. r=tjc | ||||
| 2013-01-08 | Revert "librustc: Make unqualified identifier searches terminate at the ↵ | Patrick Walton | -2/+0 | |
| nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6. | ||||
| 2013-01-08 | librustc: Make unqualified identifier searches terminate at the nearest ↵ | Patrick Walton | -0/+2 | |
| module scope. r=tjc | ||||
| 2012-12-27 | librustc: Terminate name searches at the nearest module scope for paths that ↵ | Patrick Walton | -3/+14 | |
| contain at least two components. r=graydon | ||||
| 2012-12-10 | Remove un-needed code for obsolete classes | Tim Chevalier | -18/+6 | |
| and rename "class" to "struct" everywhere possible (except local vars, I was too lazy for that) -- that is why this commit is so big. No review, just dead code removal and renaming. Closes #3515 | ||||
| 2012-12-07 | Remove impl_id from trait_ref. Unused | Brian Anderson | -6/+0 | |
| 2012-12-04 | librustc: Remove all legacy pattern bindings from libsyntax and librustc. ↵ | Patrick Walton | -9/+9 | |
| rs=refactoring | ||||
| 2012-12-03 | Update license, add license boilerplate to most files. Remainder will follow. | Graydon Hoare | -0/+10 | |
| 2012-11-30 | Disallow dereferencing enum types when the variant is private | Tim Chevalier | -0/+10 | |
| If an enum type's only variant is private, disallow dereferencing values of its type. Due to #4082, this only applies to enums that are in the same crate. r=pcwalton Closes #818 | ||||
| 2012-11-28 | Register snapshots | Brian Anderson | -23/+0 | |
| 2012-11-19 | rustc: Implement explicit self for Eq and Ord. r=graydon | Patrick Walton | -0/+23 | |
