| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-06-04 | librustc: Disallow multiple patterns from appearing in a "let" declaration. | Patrick Walton | -11/+27 | |
| You can still initialize multiple variables at once with "let (x, y) = (1, 2)". | ||||
| 2013-06-04 | libsyntax: Remove `pub impl` from the language | Patrick Walton | -11/+9 | |
| 2013-06-01 | syntax: move callee_id into the expr_ variants | Erick Tryzelaar | -38/+60 | |
| 2013-06-01 | Remove all uses of `pub impl`. rs=style | Patrick Walton | -184/+177 | |
| 2013-05-31 | auto merge of #6833 : fdr/rust/fix-warnings, r=Aatch | bors | -4/+1 | |
| Fix a laundry list of warnings involving unused imports that glutted up compilation output. There are more, but there seems to be some false positives (where 'remedy' appears to break the build), but this particular set of fixes seems safe. | ||||
| 2013-05-30 | Fix parser test | Niko Matsakis | -1/+1 | |
| 2013-05-30 | Remove unnecessary 'use' forms | Daniel Farina | -4/+1 | |
| Fix a laundry list of warnings involving unused imports that glutted up compilation output. There are more, but there seems to be some false positives (where 'remedy' appears to break the build), but this particular set of fixes seems safe. | ||||
| 2013-05-30 | Remove copy bindings from patterns. | Niko Matsakis | -59/+54 | |
| 2013-05-30 | Remove a bunch of unnecessary allocations and copies | Björn Steinbrink | -1/+2 | |
| 2013-05-29 | librustc: Stop reexporting the standard modules from prelude. | Patrick Walton | -0/+18 | |
| 2013-05-29 | libsyntax: Stop parsing mutable fields | Patrick Walton | -6/+4 | |
| 2013-05-29 | libsyntax: Make `drop` no longer a keyword | Patrick Walton | -2/+0 | |
| 2013-05-28 | Remove unnecessary allocations flagged by lint | Seo Sanghyeon | -20/+20 | |
| 2013-05-25 | auto merge of #6722 : alexcrichton/rust/issue-4219-no-merge-hack, r=brson | bors | -34/+1 | |
| Changes the int/uint modules to all use macros instead of using the `merge` attribute. It would be nice to have #4375 resolved as well for this, but that can probably come at a later date. Closes #4219. | ||||
| 2013-05-25 | Use an enum for keywords and intern them to improve parser performance | Björn Steinbrink | -243/+277 | |
| Currently, keywords are stored in hashsets that are recreated for every Parser instance, which is quite expensive since macro expansion creates lots of them. Additionally, the parser functions that look for a keyword currently accept a string and have a runtime check to validate that they actually received a keyword. By creating an enum for the keywords and inserting them into the ident interner, we can avoid the creation of the hashsets and get static checks for the keywords. For libstd, this cuts the parse+expansion part from ~2.6s to ~1.6s. | ||||
| 2013-05-24 | Remove the #[merge] hack from the parser | Alex Crichton | -34/+1 | |
| 2013-05-24 | auto merge of #6680 : ben0x539/rust/slashslashslash, r=graydon | bors | -2/+9 | |
| There's currently a function in the lexer that rejects a line comment that is all slashes from being a doc comment. I think the intention was that you could draw boxes, ///////////// // like so // ///////////// Since a line doc comment split up over multiple paragraphs will have a "blank" line that is just /// between the paragraphs, that would get mistaken for a box segment, lexed as a regular comment, and go missing from the sequence of doc comment attributes before they were reassembled by rustdoc into markdown input. I figure the best plan here is to just declare that a comment that is exactly `///` is a doc comment after all, and to only omit comments with four slashes or more, which is what this commit implements. Can't really draw boxes that narrow, anyway. | ||||
| 2013-05-23 | cleanup warnings from libsyntax | Erick Tryzelaar | -3/+3 | |
| 2013-05-22 | librustc: Change `std` to `extra` throughout libsyntax and librustc | Patrick Walton | -6/+4 | |
| 2013-05-22 | libextra: Rename the actual metadata names of libcore to libstd and libstd ↵ | Patrick Walton | -0/+11 | |
| to libextra | ||||
| 2013-05-22 | declare that "///" is still a doc comment, just not "////+" (fixes #5838) | Benjamin Herr | -2/+9 | |
| 2013-05-22 | Fix #6342 | Jihyun Yu | -4/+9 | |
| 2013-05-21 | Correct span for expr_vec | Seo Sanghyeon | -1/+1 | |
| 2013-05-20 | Remove all unnecessary allocations (as flagged by lint) | Alex Crichton | -39/+37 | |
| 2013-05-20 | getting rid of interner_key! macro | John Clements | -32/+42 | |
| 2013-05-20 | hygiene infrastructure. | John Clements | -19/+14 | |
| - added a hash table to memoize rename and mark operations. - added rename, mark, and resolve fold fns | ||||
| 2013-05-20 | detect unused attrs in one more place, allow parsing to continue for all | John Clements | -24/+53 | |
| changed a bunch of fatal()'s into err()'s, to allow parsing to proceed. | ||||
| 2013-05-20 | parser comment | John Clements | -0/+1 | |
| 2013-05-20 | refactoring test functions | John Clements | -70/+7 | |
| 2013-05-20 | auto merge of #6635 : brson/rust/snapshot, r=brson | bors | -16/+0 | |
| 2013-05-19 | Register snapshots | Brian Anderson | -16/+0 | |
| 2013-05-19 | Fix many warnings. | Steve Klabnik | -2/+2 | |
| 2013-05-19 | Use assert_eq! rather than assert! where possible | Corey Richardson | -1/+1 | |
| 2013-05-16 | Add BuiltinBounds to closure type: parse and handle subtyping, | Niko Matsakis | -10/+13 | |
| but do not integrate with kindck etc (requires a snapshot first) | ||||
| 2013-05-15 | auto merge of #6502 : huonw/rust/no-auto-code, r=graydon | bors | -9/+3 | |
| Replace all instances of #[auto_*code] with the appropriate #[deriving] attribute and remove the majority of the actual auto_* code, leaving stubs to refer the user to the new syntax. Also, moves the useful contents of auto_encode.rs to more appropriate spots: tests and comments to deriving/encodable.rs, and the ExtCtxtMethods trait to build.rs (unused so far, but the method syntax might be nicer than using the mk_* fns in many instances). | ||||
| 2013-05-16 | syntax: deprecate #[auto_{en,de}code] in favour of #[deriving({En,De}codable)]. | Huon Wilson | -9/+3 | |
| 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-15 | auto merge of #6499 : dotdash/rust/static_keywords, r=thestinger | bors | -125/+125 | |
| 2013-05-15 | auto merge of #6487 : recrack/rust/vec_len, r=thestinger | bors | -3/+3 | |
| Rename vec::len(var) to var.len() ``` libcore, libfuzzer, librustc, librustdoc, libstd, libsyntax test/auxiliary test/bench test/run-pass ``` | ||||
| 2013-05-15 | Allow static strings to be used with keyword checks | Björn Steinbrink | -125/+125 | |
| 2013-05-14 | auto merge of #6224 : erickt/rust/rustc-cleanup, r=erickt | bors | -18/+18 | |
| Just a couple minor cleanups and renames of librustc | ||||
| 2013-05-14 | rustc: rename ast::self_ty and related fields to explicit_self | Erick Tryzelaar | -18/+18 | |
| 2013-05-15 | Rename vec::len(var) to var.len() | Youngmin Yoo | -3/+3 | |
| 2013-05-14 | Add inlining for iter_bytes for types used as hashmap keys | Björn Steinbrink | -0/+2 | |
| Not inlining these affects the hash table performance quite badly. | ||||
| 2013-05-14 | Fix test fallout from removing vecs_implicitly_copyable | Alex Crichton | -8/+7 | |
| 2013-05-14 | syntax: Remove #[allow(vecs_implicitly_copyable)] | Alex Crichton | -26/+29 | |
| 2013-05-14 | Use static string with fail!() and remove fail!(fmt!()) | Björn Steinbrink | -2/+2 | |
| fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself. | ||||
| 2013-05-12 | libsyntax: Tighten up expressions in patterns to only allow identifiers or ↵ | Patrick Walton | -3/+30 | |
| literals (possibly with a minus). This had very minimal fallout. | ||||
| 2013-05-12 | librustc: Make `self` and `static` into keywords | Patrick Walton | -55/+46 | |
| 2013-05-12 | libsyntax: Remove `extern mod foo { ... }` from the language. | Patrick Walton | -6/+17 | |
| 2013-05-11 | Warning police | Tim Chevalier | -6/+5 | |
