| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2014-03-20 | Removing imports of std::vec_ng::Vec | Alex Crichton | -1/+0 | |
| It's now in the prelude. | ||||
| 2014-03-20 | rename std::vec_ng -> std::vec | Daniel Micay | -1/+1 | |
| Closes #12771 | ||||
| 2014-03-12 | Changed lists of lifetimes in ast and ty to use Vec instead of OptVec. | Felix S. Klock II | -2/+2 | |
| There is a broader revision (that does this across the board) pending in #12675, but that is awaiting the arrival of more data (to decide whether to keep OptVec alive by using a non-Vec internally). For this code, the representation of lifetime lists needs to be the same in both ScopeChain and in the ast and ty structures. So it seemed cleanest to just use `vec_ng::Vec`, now that it has a cheaper empty representation than the current `vec` code. | ||||
| 2014-03-01 | libsyntax: Fix errors arising from the automated `~[T]` conversion | Patrick Walton | -4/+29 | |
| 2014-02-19 | librustc: Remove unique vector patterns from the language. | Patrick Walton | -1/+1 | |
| Preparatory work for removing unique vectors from the language, which is itself preparatory work for dynamically sized types. | ||||
| 2014-02-18 | Avoid returning original macro if expansion fails. | Douglas Young | -6/+6 | |
| Closes #11692. Instead of returning the original expression, a dummy expression (with identical span) is returned. This prevents infinite loops of failed expansions as well as odd double error messages in certain situations. | ||||
| 2014-02-02 | libsyntax: De-`@str` literal strings in the AST | Patrick Walton | -4/+9 | |
| 2014-01-18 | syntax::ext: replace span_fatal with span_err in many places. | Huon Wilson | -11/+28 | |
| This means that compilation continues for longer, and so we can see more errors per compile. This is mildly more user-friendly because it stops users having to run rustc n times to see n macro errors: just run it once to see all of them. | ||||
| 2014-01-10 | rustc: Fix formatting of env! error message | Brian Anderson | -1/+1 | |
| Death to caps. | ||||
| 2014-01-09 | libsyntax: Renamed types, traits and enum variants to CamelCase. | Eduard Burtescu | -2/+2 | |
| 2013-12-29 | Start passing around &mut ExtCtxt | Steven Fackler | -2/+2 | |
| 2013-12-28 | Stop using @ExtCtxt | Steven Fackler | -2/+2 | |
| 2013-10-08 | add new enum ast::StrStyle as field to ast::lit_str | Benjamin Herr | -2/+5 | |
| For the benefit of the pretty printer we want to keep track of how string literals in the ast were originally represented in the source code. This commit changes parser functions so they don't extract strings from the token stream without at least also returning what style of string literal it was. This is stored in the resulting ast node for string literals, obviously, for the package id in `extern mod = r"package id"` view items, for the inline asm in `asm!()` invocations. For `asm!()`'s other arguments or for `extern "Rust" fn()` items, I just the style of string, because it seemed disproportionally cumbersome to thread that information through the string processing that happens with those string literals, given the limited advantage raw string literals would provide in these positions. The other syntax extensions don't seem to store passed string literals in the ast, so they also discard the style of strings they parse. | ||||
| 2013-09-30 | syntax: Remove usage of fmt! | Alex Crichton | -1/+1 | |
| 2013-09-18 | Register new snapshots | Alex Crichton | -12/+0 | |
| 2013-09-01 | Modernized a few type names in rustc and syntax | Marvin Löbel | -4/+4 | |
| 2013-08-18 | quote_*! macros take an ExtCtx | Steven Fackler | -8/+20 | |
| They previously required one called "ext_cx" to be in scope. Fixes part of #7727 | ||||
| 2013-08-11 | Fixed option_env! type | Steven Fackler | -1/+1 | |
| The type of the result of option_env! was not fully specified in the None case, leading to type check failures in the case where the variable was not defined (e.g. option_env!("FOO").is_none()). | ||||
| 2013-08-08 | env! syntax extension changes | Steven Fackler | -7/+25 | |
| env! aborts compilation of the specified environment variable is not defined and takes an optional second argument containing a custom error message. option_env! creates an Option<&'static str> containing the value of the environment variable. There are no run-pass tests that check the behavior when the environment variable is defined since the test framework doesn't support setting environment variables at compile time as opposed to runtime. However, both env! and option_env! are used inside of rustc itself, which should act as a sufficient test. Close #2248 | ||||
| 2013-06-25 | great renaming propagation: syntax | Corey Richardson | -3/+1 | |
| 2013-06-13 | Use @str instead of @~str in libsyntax and librustc. Fixes #5048. | Huon Wilson | -2/+2 | |
| 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-05-29 | librustc: Stop reexporting the standard modules from prelude. | Patrick Walton | -0/+2 | |
| 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 | -2/+2 | |
| 2013-05-22 | syntax/ext: migrate build.rs functions to AstBuilder methods. | Huon Wilson | -3/+3 | |
| 2013-05-22 | syntax/ext: modernise ext_ctxt to be CamelCase and use new. | Huon Wilson | -1/+1 | |
| 2013-05-20 | Implement a lint mode to detect unnecessary allocations | Alex Crichton | -3/+3 | |
| 2013-05-02 | Remove 'Local Variable' comments | Brendan Zabarauskas | -10/+0 | |
| 2013-04-27 | only use #[no_core] in libcore | Daniel Micay | -3/+0 | |
| 2013-03-13 | librustc: Don't accept `as Trait` anymore; fix all occurrences of it. | Patrick Walton | -1/+1 | |
| 2013-03-02 | librustc: Stop parsing `fn@`, `fn~`, and `fn&` | Patrick Walton | -1/+1 | |
| 2013-03-01 | Merge remote-tracking branch 'remotes/origin/incoming' into incoming | Erick Tryzelaar | -3/+4 | |
| 2013-02-28 | Fix implicit leaks of imports throughout libraries | Alex Crichton | -0/+2 | |
| Also touch up use of 'pub' and move some tests around so the tested functions don't have to be 'pub' | ||||
| 2013-02-26 | libsyntax: remove vecs_implicitly_copyable from the syntax extensions | Erick Tryzelaar | -2/+2 | |
| 2013-02-25 | libsyntax: convert visit to pass ty_params by reference | Erick Tryzelaar | -1/+1 | |
| 2013-01-29 | libsyntax: De-export libsyntax. rs=deexporting | Patrick Walton | -3/+1 | |
| 2013-01-23 | renaming to adhere to conventions | John Clements | -2/+2 | |
| 2012-12-27 | librustc: Terminate name searches at the nearest module scope for paths that ↵ | Patrick Walton | -0/+6 | |
| contain at least two components. r=graydon | ||||
| 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 | -8/+9 | |
| 2012-12-04 | librustc: Remove all legacy pattern bindings from libsyntax and librustc. ↵ | Patrick Walton | -1/+1 | |
| rs=refactoring | ||||
| 2012-12-03 | Update license, add license boilerplate to most files. Remainder will follow. | Graydon Hoare | -0/+10 | |
| 2012-10-12 | Replace several common macros of the form #m[...] with m!(...) | Kevin Cantu | -2/+2 | |
| This commit replaces nearly all remaining uses of #fmt, #debug, #error, and #info, and fixes some error messages... | ||||
| 2012-09-04 | libsyntax: "import" -> "use" | Patrick Walton | -2/+2 | |
| 2012-08-26 | Camel case the option type | Brian Anderson | -4/+4 | |
| 2012-08-06 | Convert alt to match. Stop parsing alt | Brian Anderson | -1/+1 | |
| 2012-08-05 | Switch alts to use arrows | Brian Anderson | -2/+2 | |
| 2012-08-01 | Convert ret to return | Brian Anderson | -2/+2 | |
| 2012-07-14 | Move the world over to using the new style string literals and types. Closes ↵ | Michael Sullivan | -3/+3 | |
| #2907. | ||||
| 2012-07-13 | Change (hopefully) all of the code that generates strs asts to produce ~strs. | Michael Sullivan | -6/+3 | |
