| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-06-25 | great renaming propagation: syntax | Corey Richardson | -2/+0 | |
| 2013-06-16 | auto merge of #7142 : alexcrichton/rust/deriving-zero, r=pcwalton | bors | -0/+2 | |
| This allows mass-initialization of large structs without having to specify all the fields. I'm a bit hesitant, but I wanted to get this out there. I don't really like using the `Zero` trait, because it doesn't really make sense for a type like `HashMap` to use `Zero` as the 'blank allocation' trait. In theory there'd be a new trait, but then that's adding cruft to the language which may not necessarily need to be there. I do think that this can be useful, but I only implemented `Zero` on the basic types where I thought it made sense, so it may not be all that usable yet. (opinions?) | ||||
| 2013-06-14 | add IteratorUtil to the prelude | Daniel Micay | -1/+0 | |
| 2013-06-14 | Implement a deriving(Zero) attribute | Alex Crichton | -0/+2 | |
| 2013-06-13 | Use @str instead of @~str in libsyntax and librustc. Fixes #5048. | Huon Wilson | -12/+12 | |
| This almost removes the StringRef wrapper, since all strings are Equiv-alent now. Removes a lot of `/* bad */ copy *`'s, and converts several things to be &'static str (the lint table and the intrinsics table). There are many instances of .to_managed(), unfortunately. | ||||
| 2013-06-09 | std: remove foldr and alli methods in vec | Huon Wilson | -1/+2 | |
| 2013-06-07 | syntax: move functions from deriving/mod to deriving/generic. | Huon Wilson | -254/+1 | |
| These are now only called in generic and can be private. This includes manually inlining/merging some that are called once. | ||||
| 2013-06-04 | librustc: Disallow multiple patterns from appearing in a "let" declaration. | Patrick Walton | -3/+4 | |
| You can still initialize multiple variables at once with "let (x, y) = (1, 2)". | ||||
| 2013-05-29 | librustc: Stop reexporting the standard modules from prelude. | Patrick Walton | -0/+3 | |
| 2013-05-22 | syntax: Change syntax extensions to expand to `std::foo` instead of `core::foo` | Patrick Walton | -1/+1 | |
| 2013-05-22 | librustc: Change `std` to `extra` throughout libsyntax and librustc | Patrick Walton | -1/+1 | |
| 2013-05-22 | libextra: Rename the actual metadata names of libcore to libstd and libstd ↵ | Patrick Walton | -0/+2 | |
| to libextra | ||||
| 2013-05-22 | syntax/ext: convert all AstBuilder methods to a uniform syntax. | Huon Wilson | -63/+39 | |
| 2013-05-22 | syntax/ext: migrate build.rs functions to AstBuilder methods. | Huon Wilson | -26/+26 | |
| 2013-05-22 | syntax/ext: modernise ext_ctxt to be CamelCase and use new. | Huon Wilson | -13/+13 | |
| 2013-05-20 | Remove all unnecessary allocations (as flagged by lint) | Alex Crichton | -2/+2 | |
| 2013-05-16 | syntax: implement #[deriving(DeepClone)]. Fixes #6514. | Huon Wilson | -0/+1 | |
| 2013-05-16 | syntax: deprecate #[auto_{en,de}code] in favour of #[deriving({En,De}codable)]. | Huon Wilson | -4/+9 | |
| Replace all instances of #[auto_*code] with the appropriate #[deriving] attribute and remove the majority of the actual code, leaving stubs to refer the user to the new syntax. | ||||
| 2013-05-14 | syntax: Remove #[allow(vecs_implicitly_copyable)] | Alex Crichton | -4/+4 | |
| 2013-05-12 | librustc: Make `self` and `static` into keywords | Patrick Walton | -2/+1 | |
| 2013-05-09 | Use a specialized string interner to reduce the need for owned strings | Björn Steinbrink | -3/+3 | |
| &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-05-08 | librustc: Fix merge fallout. | Patrick Walton | -2/+2 | |
| 2013-05-07 | libsyntax: add #[deriving(Rand, ToStr)]. | Huon Wilson | -0/+6 | |
| The former fills each field of a struct or enum variant with a random value (and picks a random enum variant). The latter makes the .to_str method have the same output as fmt!("%?", ..). | ||||
| 2013-05-07 | libsyntax: extend generic deriving code to handle almost all possible traits. | Huon Wilson | -122/+142 | |
| This adds support for static methods, and arguments of most types, traits with type parameters, methods with type parameters (and lifetimes for both), as well as making the code more robust to support deriving on types with lifetimes (i.e. 'self). | ||||
| 2013-04-27 | only use #[no_core] in libcore | Daniel Micay | -4/+0 | |
| 2013-04-19 | syntax: de-mode and prepare for de-modeing rustc | Alex Crichton | -1/+1 | |
| 2013-04-12 | libsyntax: derive Clone, Eq, TotalEq, Ord, TotalOrd with the new generic ↵ | Huon Wilson | -3/+18 | |
| deriving code. Closes #4269, #5588 and #5589. | ||||
| 2013-04-12 | libsyntax: abstract most of the deriving boilerplate into a simpler(r) ↵ | Huon Wilson | -29/+72 | |
| interface. Pulls out many of the common patterns from the Eq and Clone deriving code (and invents a few of its own), so that deriving instances are very easy to write for a certain class of traits. (Basically, those which don't have parameters and where all methods only take arguments of type `&Self` and return either `Self` or types with no parameters.) | ||||
| 2013-04-10 | syntax: add support for #[deriving(Decodable)] | Erick Tryzelaar | -0/+3 | |
| 2013-04-10 | syntax: add support for #[deriving(Encodable)] | Erick Tryzelaar | -0/+3 | |
| 2013-04-10 | syntax: Simplify deriving to handle classes that take generics, like Encodable | Erick Tryzelaar | -28/+16 | |
| 2013-04-10 | path -> Path | John Clements | -1/+1 | |
| 2013-04-05 | Refactor so that references to traits are not represented using a type with a | Niko Matsakis | -3/+3 | |
| bare function store (which is not in fact a kind of value) but rather ty::TraitRef. Removes many uses of fail!() and other telltale signs of type-semantic mismatch. cc #4183 (not a fix, but related) | ||||
| 2013-03-31 | Fix warnings | Brian Anderson | -1/+1 | |
| 2013-03-28 | Removing unused imports | Alex Crichton | -7/+7 | |
| 2013-03-28 | librustc: Remove common fields and nested enums from the language | Patrick Walton | -7/+1 | |
| 2013-03-27 | remove sty_by_ref, though traces still remain due to dtors | Niko Matsakis | -1/+1 | |
| 2013-03-26 | librustc: Modify all code to use new lifetime binder syntax | Patrick Walton | -10/+12 | |
| 2013-03-22 | syntax: replace uses of old deriving attribute with new one | Andrew Paseltiner | -2/+2 | |
| 2013-03-19 | syntax: split deriving module into submodules for each trait | Andrew Paseltiner | -973/+15 | |
| 2013-03-19 | syntax: move ext/deriving.rs to ext/deriving/mod.rs | Andrew Paseltiner | -0/+1267 | |
