| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2015-11-25 | Apply Clippy | Seo Sanghyeon | -2/+2 | |
| 2015-11-23 | Handle multiply-referenced files | Nick Cameron | -2/+2 | |
| Fixes #645 | ||||
| 2015-11-20 | Unwrap match arms that are simple blocks | Marcus Klaas | -9/+3 | |
| 2015-11-15 | Add verbose mode | Seo Sanghyeon | -0/+3 | |
| 2015-11-14 | Don't print an unnecessary newline after printing format report | Mika Attila | -1/+1 | |
| The Display implementation for FormatReport already prints a newline after every error. However, if the format report does not contain errors, we don't want to print an empty newline. This behavior clutters up the console output with empty lines when rustfmt is invoked multiple times (from .e.g a script or cargo-fmt). So instead of using println! to print the report, we just use print!. | ||||
| 2015-11-02 | Stdin support | Johann | -0/+42 | |
| Adds support for receiving input from stdin in case no file was specified. This is useful for editor/IDE integrations and other tooling. To achieve clean output a new write-mode option called plain was added, this option is mandatory when using stdin. | ||||
| 2015-10-27 | Fix crash speculatively parsing macro arguments as expressions. | Eli Friedman | -6/+16 | |
| The problem is essentially that if we try to parse a token tree using a CodeMap different from the one the tree was originally parsed with, spans become nonsense. Since CodeMaps can't be cloned, we're basically forced to use the original ParseSess for additional parsing. Ideally, rustfmt would be a bit more clever and figure out how to parse macro arguments based on the definition of the macro itself, rather than just guessing that a particular token sequence looks like an expression, but this is good enough for now. Fixes #538. | ||||
| 2015-10-24 | Address some issues with multiline patterns in let statements | Marcus Klaas | -0/+8 | |
| 2015-10-24 | show rustfmt coverage! | Ravi Shankar | -5/+8 | |
| 2015-10-23 | Remove dependence on rustc/rustc_driver, use syntex | Alex Crichton | -64/+13 | |
| Instead just parse manually with the `syntex_syntax` crate which is a clone of libsyntax on crates.io which builds on stable Rust. | ||||
| 2015-10-23 | Remove usage of many unstable features | Alex Crichton | -7/+0 | |
| This removes usage of: * PathExt * split_last * split_last_mut * catch_panic The catch_panic one was a little tricky as the ident interner needed to be cloned across threads (a little unsafely), but it should otherwise be good to go. | ||||
| 2015-10-19 | Format some patterns | Marcus Klaas | -1/+24 | |
| 2015-10-06 | Increase default function call width limit | Marcus Klaas | -1/+0 | |
| 2015-10-04 | Split ListTactic decision logic from write_list | Marcus Klaas | -2/+1 | |
| 2015-10-01 | Fix 1-tuple regression. | Tim Kuehn | -0/+1 | |
| Add test to prevent future regressions. | ||||
| 2015-09-27 | Merge pull request #370 from marcusklaas/match-arm-delining | Marcus Klaas de Vries | -2/+2 | |
| Improve heuristics for match arm body placement | ||||
| 2015-09-26 | Fix match arm indentation bug | Marcus Klaas | -2/+2 | |
| 2015-09-26 | Changes to rustfmt source | Nick Cameron | -5/+20 | |
| 2015-09-26 | Changes to source formatting | Nick Cameron | -2/+4 | |
| 2015-09-19 | Add Indent::none(), remove make_indent. | Pavel Sountsov | -9/+13 | |
| 2015-09-19 | Initial implementation of hard tab indentation. | Pavel Sountsov | -0/+74 | |
| 2015-09-18 | Refactor test code | Marcus Klaas | -73/+27 | |
| No longer use callbacks or thread::catch_panic; reduce stdout spew; guard against rustfmt breaking the column limit. | ||||
| 2015-09-18 | Split formatting function from side effects | Marcus Klaas | -16/+33 | |
| This makes rustfmt more usable as a library. | ||||
| 2015-09-16 | Format macro invocations | Marcus Klaas | -4/+4 | |
| 2015-09-15 | Remove a few unnecessary `rustfmt_skip`s | Nick Cameron | -14/+3 | |
| 2015-09-11 | Refine chain breaking heuristics | Marcus Klaas | -0/+1 | |
| Don't make a single line chain when it is was multi line in the source; allow overflow of the last chain element onto the next lines without breaking the chain. | ||||
| 2015-09-11 | Implement basic chain formatting | Marcus Klaas | -0/+1 | |
| 2015-09-10 | Add diff write mode https://github.com/nrc/rustfmt/issues/261 | Sinh Pham | -0/+6 | |
| 2015-09-07 | Merge pull request #248 from sinhpham/unicode_string_lit | Nick Cameron | -2/+3 | |
| Unicode string lit | ||||
| 2015-09-04 | code improvements suggested by clippy | Andre Bogus | -2/+2 | |
| 2015-09-03 | Support unicode in string literals. | Sinh Pham | -2/+3 | |
| 2015-09-02 | Support struct-like layouts for fn args | Nick Cameron | -3/+3 | |
| 2015-08-25 | Format assignment | Marcus Klaas | -0/+2 | |
| 2015-08-20 | Re-jig binop formatting | Nick Cameron | -1/+1 | |
| and misc other fixes from the reviews. | ||||
| 2015-08-20 | Handle span error with `continue` | Nick Cameron | -1/+4 | |
| This should be properly addressed by #184, but requires a change to the rustc parser, so this patch just works around the issue. | ||||
| 2015-08-20 | Formatting | Nick Cameron | -2/+2 | |
| 2015-08-19 | Add option to override single configuration lines for tests | Marcus Klaas | -1/+1 | |
| 2015-08-19 | Add an option to forgo backups | Marcus Klaas | -5/+20 | |
| 2015-08-02 | Kill ChangeSet and replace remaining part by FileMap | Gaëtan Cassiers | -15/+15 | |
| Also fix style issues Cargo update to get fixes of strings.rs (was cause of a misformatted function call). | ||||
| 2015-08-02 | Remove ChangeSet of FmtVisitor | Gaëtan Cassiers | -4/+7 | |
| 2015-08-02 | Separate modules and files listing of reformatting | Gaëtan Cassiers | -2/+4 | |
| As suggested in #141 Closes #156 | ||||
| 2015-07-25 | Merge pull request #147 from marcusklaas/even-more-expr | Nick Cameron | -5/+5 | |
| Format if expressions & loops | ||||
| 2015-07-24 | Refactor some things; add extra tests. | Marcus Klaas | -2/+1 | |
| 2015-07-23 | Simplify CompilerCalls impl | Nick Cameron | -33/+1 | |
| 2015-07-19 | Format all the loops! | Marcus Klaas | -3/+4 | |
| 2015-07-17 | Resolve some warnings | Nick Cameron | -1/+1 | |
| 2015-07-17 | Merge pull request #137 from nrc/struct-lit-opt | Nick Cameron | -0/+13 | |
| Options for formatting struct literals | ||||
| 2015-07-16 | Don't apologise if its not our fault in warnings | Nick Cameron | -5/+25 | |
| 2015-07-16 | Add an option to format struct lits with either block or visual indent | Nick Cameron | -0/+13 | |
| 2015-07-03 | Format modules into separate files | Gaëtan Cassiers | -5/+0 | |
