| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2015-12-02 | Don't remove where clauses in type aliases | Markus Westerlind | -0/+14 | |
| 2015-12-02 | Fix formatting of type aliases where '=' is at or close to the max width | Markus Westerlind | -5/+21 | |
| 2015-12-02 | Merge pull request #659 from Marwes/where_clause | Marcus Klaas de Vries | -6/+32 | |
| Fix where clauses not taking the width of the line into account | ||||
| 2015-12-02 | Update block checking code | Bryce Van Dyk | -4/+5 | |
| 2015-12-01 | Add a BraceStyle parameter to rewrite_where_clause | Markus Westerlind | -1/+6 | |
| This allow it to exactly calculate if it needs to break the where clause into multiple lines | ||||
| 2015-12-01 | Update trailing comma match logic, add tests | Bryce Van Dyk | -8/+15 | |
| Updates the traling comma code to attempt to handle multiline non-block bodies when adding traling commas to blocks. Also add and update tests to cover better the interactions between trailing commas and wrapping match arms. | ||||
| 2015-11-30 | Trailing commas for match block arms | Bryce Van Dyk | -5/+10 | |
| Attempt to implement an option for trailing commas for block based match arms (issue 173). Put in place test files to verify this behaviour. | ||||
| 2015-11-28 | Use the BraceStyle config to calculate the width for braces in where clasues | Markus Westerlind | -5/+9 | |
| 2015-11-27 | Remove unused imports | Seo Sanghyeon | -1/+1 | |
| 2015-11-27 | Fix where clauses not taking the width of the line into account | Markus Westerlind | -6/+23 | |
| Fixes #630 | ||||
| 2015-11-26 | Use utils::last_line_width in rewrite_type_alias | Markus Westerlind | -8/+4 | |
| 2015-11-26 | Format type aliases | Markus Westerlind | -3/+65 | |
| Fixes #486 | ||||
| 2015-11-26 | Merge pull request #655 from kyeah/impl-comments | Nick Cameron | -13/+21 | |
| Keep comments in empty impl body | ||||
| 2015-11-25 | Reformat trim_newlines | Kevin Yeh | -6/+6 | |
| 2015-11-25 | Apply Clippy | Seo Sanghyeon | -13/+14 | |
| 2015-11-24 | Fix empty trim_newline panic, add impl macro test | Kevin Yeh | -1/+5 | |
| 2015-11-24 | Keep comments in empty impl bodies | Kevin Yeh | -10/+14 | |
| 2015-11-24 | Fix a bug with nested impls | Nick Cameron | -4/+3 | |
| 2015-11-23 | Merge pull request #646 from rust-lang-nursery/mulit-file | Marcus Klaas de Vries | -34/+144 | |
| Handle multiply-referenced files | ||||
| 2015-11-23 | update dependencies and fix compile errors | Jakko Sikkar | -4/+4 | |
| 2015-11-23 | Handle multiply-referenced files | Nick Cameron | -4/+4 | |
| Fixes #645 | ||||
| 2015-11-23 | Merge pull request #641 from marcusklaas/fix-doc-commentz | Nick Cameron | -11/+4 | |
| Correct doc comment indentation for struct fields | ||||
| 2015-11-23 | Types which can be return types for function types | Nick Cameron | -12/+11 | |
| Fixes #643 | ||||
| 2015-11-23 | Reformatting due to changes | Nick Cameron | -2/+8 | |
| 2015-11-23 | Implement formatting for impls | Nick Cameron | -16/+121 | |
| Fixes #614 | ||||
| 2015-11-22 | Correct doc comment indentation for struct fields | Marcus Klaas | -11/+4 | |
| Fix https://github.com/rust-lang-nursery/rustfmt/issues/572. | ||||
| 2015-11-23 | Take rustfmt_skip attribute into account on modules | Nick Cameron | -10/+11 | |
| Closes #632 | ||||
| 2015-11-23 | Merge pull request #638 from marcusklaas/visual-struct-last-comment | Nick Cameron | -5/+4 | |
| Fix last comment for visually formatted struct lits | ||||
| 2015-11-22 | Fix last comment for visually formatted struct lits | Marcus Klaas | -5/+4 | |
| 2015-11-22 | Format bare function types | Marcus Klaas | -53/+107 | |
| Fix https://github.com/rust-lang-nursery/rustfmt/issues/616. Fix https://github.com/rust-lang-nursery/rustfmt/issues/276. Close https://github.com/rust-lang-nursery/rustfmt/issues/350. | ||||
| 2015-11-22 | Fix up indentation of function style paths | Marcus Klaas | -19/+25 | |
| Fixes https://github.com/rust-lang-nursery/rustfmt/issues/105. | ||||
| 2015-11-22 | Extract fn rewrite methods from RewriteVisitor | Marcus Klaas | -807/+820 | |
| 2015-11-21 | Merge pull request #633 from marcusklaas/mod-comment | Marcus Klaas de Vries | -13/+20 | |
| Rewrite module declarations | ||||
| 2015-11-21 | Rewrite module declarations | Marcus Klaas | -13/+20 | |
| 2015-11-21 | Merge pull request #635 from Marwes/long_field_access | Marcus Klaas de Vries | -2/+16 | |
| Fix long field accesses not being broken onto separate lines | ||||
| 2015-11-21 | Fix long field accesses not being broken onto separate lines | Markus Westerlind | -2/+16 | |
| Fixes #512 | ||||
| 2015-11-21 | Merge pull request #634 from Marwes/block_comment_crlf | Nick Cameron | -3/+4 | |
| Avoid adding an extra newline after block comments | ||||
| 2015-11-20 | Avoid adding an extra newline after block comments | Markus Westerlind | -3/+4 | |
| When block comments were rewritten to line comments they check if a new line needs to be added and adds one if needed. It only checked for '\n' however which would cause a newline to be added even if the comment was ended by "\r\n" | ||||
| 2015-11-20 | Add option to disable (un)wrapping of match arms | Marcus Klaas | -8/+18 | |
| 2015-11-20 | Force chains to adhere to restrictions | Marcus Klaas | -17/+18 | |
| 2015-11-20 | Unwrap match arms that are simple blocks | Marcus Klaas | -119/+59 | |
| 2015-11-20 | Blockify multiline match arms | Marcus Klaas | -69/+104 | |
| 2015-11-20 | Merge pull request #618 from zyphrus/master | Nick Cameron | -1/+5 | |
| Comments in structs use appropriate style | ||||
| 2015-11-20 | Merge pull request #628 from kyeah/single-line-fn | Nick Cameron | -59/+150 | |
| Single-line Functions | ||||
| 2015-11-19 | Combine rewrite_single_line_fn and rewrite_fn | Kevin Yeh | -14/+14 | |
| 2015-11-19 | Fix empty body format, add fn_empty_single_line option, refactor block tests | Kevin Yeh | -37/+25 | |
| 2015-11-19 | Use argv[0] for usage output | Steven Fackler | -1/+1 | |
| Usage messages traditionally use this as it contains the path that the user provided to run the executable (e.g. `rustfmt` instead of `/usr/local/bin/rustfmt`). | ||||
| 2015-11-20 | Use tactic instead of config | David Barnett | -3/+4 | |
| Add mixed test Mixed is unreachable as there is no input combination that could get to this value | ||||
| 2015-11-19 | Implement Rewrite for ast::Stmt | Kevin Yeh | -31/+41 | |
| 2015-11-19 | Combine block utilities | Kevin Yeh | -23/+24 | |
