| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2014-07-04 | comments only | John Clements | -3/+2 | |
| 2014-07-04 | hygiene for item fn args | John Clements | -7/+49 | |
| also, introduce fn_decl_arg_bindings and expand_and_rename abstractions | ||||
| 2014-07-04 | comments & test cases for IdentRenamers | John Clements | -11/+63 | |
| 2014-07-04 | use PatIdentRenamer for match bindings | John Clements | -10/+5 | |
| 2014-07-04 | comments only | John Clements | -3/+3 | |
| 2014-07-04 | new_mark -> apply_mark, new_rename -> apply_rename | John Clements | -28/+28 | |
| 2014-07-04 | add PatIdentRenamer | John Clements | -6/+37 | |
| 2014-07-04 | move RenameList to mtwt, add new_renames abstraction | John Clements | -23/+40 | |
| 2014-07-04 | comments, whitespace, rename NameFinderContext to PatIdentFinder | John Clements | -19/+15 | |
| 2014-07-03 | simplify and uncomment item-fn-arg hygiene unit test | John Clements | -9/+6 | |
| 2014-07-03 | Simplify creating a parser from a token tree | Piotr Jawniak | -31/+11 | |
| Closes #15306 | ||||
| 2014-07-03 | Fix spelling errors. | Joseph Crail | -3/+3 | |
| 2014-07-03 | Simplify PatIdent to contain an Ident rather than a Path | John Clements | -34/+12 | |
| Rationale: for what appear to be historical reasons only, the PatIdent contains a Path rather than an Ident. This means that there are many places in the code where an ident is artificially promoted to a path, and---much more problematically--- a bunch of elements from a path are simply thrown away, which seems like an invitation to some really nasty bugs. This commit replaces the Path in a PatIdent with a SpannedIdent, which just contains an ident and a span. | ||||
| 2014-06-29 | Implement RFC#28: Add PartialOrd::partial_cmp | Steven Fackler | -5/+99 | |
| I ended up altering the semantics of Json's PartialOrd implementation. It used to be the case that Null < Null, but I can't think of any reason for an ordering other than the default one so I just switched it over to using the derived implementation. This also fixes broken `PartialOrd` implementations for `Vec` and `TreeMap`. RFC: 0028-partial-cmp | ||||
| 2014-06-28 | auto merge of #15233 : jbclements/rust/match-var-hygiene-etc, r=cmr | bors | -98/+137 | |
| This PR includes two big things and a bunch of little ones. 1) It enables hygiene for variables bound by 'match' expressions. 2) It fixes a bug discovered indirectly (#15221), wherein fold traversal failed to visit nonterminal nodes. 3) It fixes a small bug in the macro tutorial. It also adds tests for the first two, and makes a bunch of small comment improvements and cleanup. | ||||
| 2014-06-27 | comments only | John Clements | -1/+2 | |
| 2014-06-27 | adjust fold to fold over interpolated items/exprs/etc. | John Clements | -2/+2 | |
| Closes #15221 | ||||
| 2014-06-27 | added unit and standalone test for 15221, extra debugging output | John Clements | -5/+26 | |
| 2014-06-27 | undo helpful attempt to spell-check | John Clements | -1/+1 | |
| Yes, that word is spelled \'memoization\' | ||||
| 2014-06-27 | remove trailing whitespace | John Clements | -1/+1 | |
| 2014-06-27 | hygiene for match-bound vars now implemented | John Clements | -24/+33 | |
| Closes #9384 | ||||
| 2014-06-27 | improve match test case to include guard | John Clements | -4/+4 | |
| 2014-06-27 | remove unnecessary abstraction | John Clements | -10/+5 | |
| 2014-06-27 | cleanup and shiny new more-functional interface | John Clements | -55/+36 | |
| 2014-06-27 | WIP match hygiene, compiles | John Clements | -12/+12 | |
| 2014-06-27 | get rid of needless wrapper function | John Clements | -14/+8 | |
| 2014-06-27 | working on hygiene | John Clements | -12/+50 | |
| 2014-06-26 | Remove unnecessary to_string calls | Piotr Jawniak | -1/+1 | |
| This commit removes superfluous to_string calls from various places | ||||
| 2014-06-25 | don't expand subexprs of for loop, just re-expand whole thing. | John Clements | -5/+6 | |
| Fixes #15167 | ||||
| 2014-06-25 | remove misleading and unnecessary underscores | John Clements | -2/+3 | |
| 2014-06-25 | remove unneccessary pubs, shorten names | John Clements | -9/+9 | |
| 2014-06-25 | remove unneeded visit_ty methods | John Clements | -9/+0 | |
| 2014-06-25 | add unit test for match var hygiene | John Clements | -0/+12 | |
| 2014-06-25 | enrich and rename crate_idents test case | John Clements | -6/+12 | |
| 2014-06-25 | comments only | John Clements | -4/+9 | |
| 2014-06-25 | revive old commented-out test cases as ignored test cases for hygiene | John Clements | -6/+58 | |
| 2014-06-25 | auto merge of #15160 : alexcrichton/rust/remove-f128, r=brson | bors | -1/+0 | |
| The f128 type has very little support in the compiler and the feature is basically unusable today. Supporting half-baked features in the compiler can be detrimental to the long-term development of the compiler, and hence this feature is being removed. | ||||
| 2014-06-24 | Allow splicing more things in quotes | Keegan McAllister | -0/+16 | |
| 2014-06-24 | Use macros to implement syntax::ext::quote::ToSource | Keegan McAllister | -125/+74 | |
| This code deserves a bigger refactor, but here's a local improvement. | ||||
| 2014-06-24 | Remove the quad_precision_float feature gate | Alex Crichton | -1/+0 | |
| The f128 type has very little support in the compiler and the feature is basically unusable today. Supporting half-baked features in the compiler can be detrimental to the long-term development of the compiler, and hence this feature is being removed. | ||||
| 2014-06-23 | Allow trailing comma in `concat!` | Stepan Koltsov | -2/+5 | |
| (And in other extensions implemented with `get_exprs_from_tts` function). | ||||
| 2014-06-18 | Revert bytes!() docstring change, and fix a typo. | Simon Sapin | -1/+1 | |
| 2014-06-18 | Deprecate the bytes!() macro. | Simon Sapin | -0/+8 | |
| Replace its usage with byte string literals, except in `bytes!()` tests. Also add a new snapshot, to be able to use the new b"foo" syntax. The src/etc/2014-06-rewrite-bytes-macros.py script automatically rewrites `bytes!()` invocations into byte string literals. Pass it filenames as arguments to generate a diff that you can inspect, or `--apply` followed by filenames to apply the changes in place. Diffs can be piped into `tip` or `pygmentize -l diff` for coloring. | ||||
| 2014-06-18 | auto merge of #14880 : SimonSapin/rust/byte-literals, r=alexcrichton | bors | -0/+7 | |
| See #14646 (tracking issue) and rust-lang/rfcs#69. This does not close the tracking issue, as the `bytes!()` macro still needs to be removed. It will be later, after a snapshot is made with the changes in this PR, so that the new syntax can be used when bootstrapping the compiler. | ||||
| 2014-06-17 | Add a b'x' byte literal of type u8. | Simon Sapin | -0/+7 | |
| 2014-06-17 | librustc: Make addresses of immutable statics insignificant unless | Patrick Walton | -9/+1 | |
| `#[inline(never)]` is used. Closes #8958. This can break some code that relied on the addresses of statics being distinct; add `#[inline(never)]` to the affected statics. [breaking-change] | ||||
| 2014-06-16 | rustc: Improve span for error about using a method as a field. | Kevin Butler | -2/+10 | |
| libsyntax: ExprField now contains a SpannedIdent rather than Ident. [breaking-change] | ||||
| 2014-06-15 | Register new snapshots | Alex Crichton | -25/+2 | |
| 2014-06-14 | rustc: Obsolete the `@` syntax entirely | Alex Crichton | -6/+11 | |
| This removes all remnants of `@` pointers from rustc. Additionally, this removes the `GC` structure from the prelude as it seems odd exporting an experimental type in the prelude by default. Closes #14193 [breaking-change] | ||||
| 2014-06-14 | Register new snapshots | Alex Crichton | -10/+0 | |
