| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2015-11-14 | Pass in whether an ast::Path is in an expression context. | Eli Friedman | -2/+2 | |
| This gets rid of a slightly nasty hack involving scanning the source expression for a ":". | ||||
| 2015-10-27 | Fix crash speculatively parsing macro arguments as expressions. | Eli Friedman | -2/+4 | |
| 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 | -4/+12 | |
| 2015-10-24 | show rustfmt coverage! | Ravi Shankar | -2/+2 | |
| 2015-10-23 | Bump match inner block indent a level | Marcus Klaas | -5/+4 | |
| 2015-10-21 | Improve handling of commas after match arms. | Eli Friedman | -5/+14 | |
| Fixes #507. Fixes #508. | ||||
| 2015-10-19 | Fix large block comments | Marcus Klaas | -6/+2 | |
| 2015-10-19 | Remove overflow indentation | Marcus Klaas | -6/+5 | |
| 2015-10-19 | Format some patterns | Marcus Klaas | -25/+16 | |
| 2015-10-18 | Merge pull request #479 from marcusklaas/moar-types | Nick Cameron | -21/+21 | |
| Format more type variants | ||||
| 2015-10-18 | Merge pull request #474 from marcusklaas/fn-indent | Nick Cameron | -1/+1 | |
| Properly indent pub fns in extern blocks | ||||
| 2015-10-17 | Format more type variants | Marcus Klaas | -21/+21 | |
| 2015-10-16 | Properly indent pub fns in extern blocks | Marcus Klaas | -1/+1 | |
| 2015-10-16 | Format vec! macro using brackets | Marcus Klaas | -2/+2 | |
| 2015-10-16 | Remove unsafe push and pop variants | Marcus Klaas | -2/+0 | |
| 2015-10-15 | Force semicolons after break/continue/return. Remove after blocks. | Marcus Klaas | -1/+1 | |
| 2015-10-13 | added semicolons for return statements | Gaurav Saxena | -1/+1 | |
| 2015-10-12 | Use visual block indentation for array literals | Marcus Klaas | -2/+4 | |
| 2015-10-10 | Fix Build to Compile with 1.5.0-nightly (87cd2c082) | Will Speak | -1/+1 | |
| There was an extra, unused, paramter int he match arm which causes an error when compiling with the latest nightly. | ||||
| 2015-10-08 | Try "overflowing" the final function argument when it's a closure | Marcus Klaas | -26/+83 | |
| This means that we try formatting the last argument of a function call with block indentation instead of visual indentation when it is a closure and its first line fits on the same line as the first arguments. | ||||
| 2015-10-06 | Merge pull request #404 from marcusklaas/rewrite-list-fmt | Marcus Klaas de Vries | -72/+53 | |
| List formatting refactoring | ||||
| 2015-10-06 | Increase default function call width limit | Marcus Klaas | -40/+14 | |
| 2015-10-04 | Make listItem contain option | Marcus Klaas | -32/+12 | |
| 2015-10-04 | Split ListTactic decision logic from write_list | Marcus Klaas | -29/+56 | |
| 2015-10-02 | Unify pair formatting code | Marcus Klaas | -115/+43 | |
| 2015-10-02 | Format repeated element array literals | Marcus Klaas | -2/+36 | |
| 2015-10-02 | Format rustfmt's own indices | Marcus Klaas | -2/+2 | |
| 2015-10-02 | Format indices | Marcus Klaas | -4/+36 | |
| 2015-10-02 | Format type casts | Marcus Klaas | -2/+36 | |
| 2015-09-27 | Prevent arithmetic overflow handling match arm comments | Marcus Klaas | -6/+4 | |
| 2015-09-27 | Merge pull request #370 from marcusklaas/match-arm-delining | Marcus Klaas de Vries | -31/+56 | |
| Improve heuristics for match arm body placement | ||||
| 2015-09-27 | Add extra tests for match arm placement | Marcus Klaas | -17/+11 | |
| 2015-09-26 | Fix match arm indentation bug | Marcus Klaas | -18/+21 | |
| 2015-09-26 | Improve heuristics for match arm body placement | Marcus Klaas | -20/+48 | |
| 2015-09-26 | Use a width heuristic for struct lits. | Nick Cameron | -1/+5 | |
| Closes #123 | ||||
| 2015-09-26 | rebasing changes and address review comment | Nick Cameron | -2/+8 | |
| 2015-09-26 | Changes to source formatting | Nick Cameron | -12/+41 | |
| 2015-09-26 | Merge pull request #362 from marcusklaas/rewrite-string | Nick Cameron | -15/+27 | |
| Make rewrite_string return `Option<String>` | ||||
| 2015-09-25 | Use the maximum available width in struct formatting | Marcus Klaas | -3/+4 | |
| Previously, we'd use an approximation for the maximum width since the configuration wasn't available in `write_list`. | ||||
| 2015-09-25 | Adjust for changed representation of box expressions in AST | Marcus Klaas | -2/+4 | |
| 2015-09-25 | Make rewrite_string return `Option<String>` | Marcus Klaas | -15/+27 | |
| 2015-09-24 | Add support for formatting AddrOf (unary "&"). | Eli Friedman | -7/+19 | |
| 2015-09-24 | Merge pull request #358 from eefriedman/rewrite-return | Nick Cameron | -5/+25 | |
| Add support for formatting "return" expressions. | ||||
| 2015-09-23 | Add support for formatting "return" expressions. | Eli Friedman | -5/+17 | |
| Fixes #303. | ||||
| 2015-09-23 | Exhaustively enumerate expressions in expression rewriting. | Eli Friedman | -1/+9 | |
| 2015-09-24 | fix for #355 and test cases | Scyptnex | -1/+5 | |
| 2015-09-24 | Fixes #339 and #272 | Scyptnex | -44/+72 | |
| 2015-09-22 | Add tests, reformat expr | Manish Goregaokar | -3/+10 | |
| 2015-09-21 | Handle comments in match better (fixes #344) | Manish Goregaokar | -6/+20 | |
| 2015-09-20 | Fix struct overflows | Marcus Klaas | -10/+13 | |
