]>
git.lizzy.rs Git - rust.git/log
Guanqun Lu [Sun, 14 May 2017 05:19:06 +0000 (13:19 +0800)]
add more specific reason why it fails to parse
Jonathan Behrens [Sat, 13 May 2017 17:15:17 +0000 (13:15 -0400)]
Add and improve tests of file_lines
Jonathan Behrens [Sat, 13 May 2017 17:14:24 +0000 (13:14 -0400)]
Refactor file range checking
Seiichi Uchida [Sat, 13 May 2017 12:08:10 +0000 (21:08 +0900)]
Format source code
Seiichi Uchida [Sat, 13 May 2017 12:07:36 +0000 (21:07 +0900)]
Use precise width when rewriting else if
Seiichi Uchida [Sat, 13 May 2017 09:20:18 +0000 (18:20 +0900)]
Prevent rewriting closure block to expr inside macro
Seiichi Uchida [Sat, 13 May 2017 08:40:47 +0000 (17:40 +0900)]
Merge pull request #1546 from topecongiro/bug/range-full
Add a missing trailing comma before elipses
topecongiro [Fri, 12 May 2017 21:44:57 +0000 (06:44 +0900)]
Add a missing trailing comma before elipses
Nick Cameron [Fri, 12 May 2017 21:54:09 +0000 (09:54 +1200)]
Merge pull request #1530 from azyobuzin/vscodeextlink
Change the link of Visual Studio Code extension
Seiichi Uchida [Fri, 12 May 2017 11:08:36 +0000 (20:08 +0900)]
Merge pull request #1543 from topecongiro/field-attr
Support struct_field_attributes
azyobuzin [Fri, 12 May 2017 11:06:28 +0000 (20:06 +0900)]
Add a link of rls_vscode
topecongiro [Fri, 12 May 2017 08:58:38 +0000 (17:58 +0900)]
Support struct_field_attributes
Nick Cameron [Fri, 12 May 2017 08:49:58 +0000 (20:49 +1200)]
Merge pull request #1540 from topecongiro/fn_call_width
Use vertical layout when args len is larger than fn_call_width
topecongiro [Fri, 12 May 2017 07:30:26 +0000 (16:30 +0900)]
Use vertical layout when args len is larger than fn_call_width
Nick Cameron [Fri, 12 May 2017 03:04:01 +0000 (15:04 +1200)]
Merge pull request #1529 from topecongiro/issue-1528
Use newline only when fn_call_style is Block
topecongiro [Thu, 11 May 2017 04:38:26 +0000 (13:38 +0900)]
Try multi-line only when fn_call_style is Block and rewriting function call
azyobuzin [Thu, 11 May 2017 09:48:27 +0000 (18:48 +0900)]
Change the link of Visual Studio Code extension
RustyCode is no longer maintained.
Nick Cameron [Tue, 9 May 2017 22:38:35 +0000 (10:38 +1200)]
bump version (0.8.4) and cargo update
Nick Cameron [Tue, 9 May 2017 20:27:24 +0000 (08:27 +1200)]
Merge pull request #1523 from topecongiro/poor-formatting/fn_call_style
Use multiline when args exceeds max_width in fn_call_style = "block"
Nick Cameron [Tue, 9 May 2017 20:20:24 +0000 (08:20 +1200)]
Merge pull request #1522 from topecongiro/poor-formatting/if-else
Inherit alignment to 'else'
topecongiro [Tue, 9 May 2017 15:27:57 +0000 (00:27 +0900)]
Use multiline when args exceeds max_width in fn_call_style = "block"
topecongiro [Tue, 9 May 2017 08:33:45 +0000 (17:33 +0900)]
Inherit alignment to last else
topecongiro [Tue, 9 May 2017 08:33:28 +0000 (17:33 +0900)]
Refactor rewrite_pat_expr
Nick Cameron [Tue, 9 May 2017 03:21:29 +0000 (15:21 +1200)]
Merge pull request #1519 from topecongiro/poor-formatting/if-else
Remove visual_indent when rewriting else block
Nick Cameron [Tue, 9 May 2017 03:21:06 +0000 (15:21 +1200)]
Merge pull request #1520 from topecongiro/allow-match
Apply closure exception to match in args
topecongiro [Mon, 8 May 2017 23:28:05 +0000 (08:28 +0900)]
Apply closure exception to match in args
topecongiro [Mon, 8 May 2017 23:11:05 +0000 (08:11 +0900)]
Remove visual_indent when rewriting else block
Nick Cameron [Mon, 8 May 2017 04:32:05 +0000 (16:32 +1200)]
Merge pull request #1516 from topecongiro/remove-try
Replace 'try!' with '?'
topecongiro [Mon, 8 May 2017 04:13:49 +0000 (13:13 +0900)]
Replace 'try!' with '?'
Nick Cameron [Mon, 8 May 2017 01:37:01 +0000 (13:37 +1200)]
Merge pull request #1506 from topecongiro/issue-1351
Use block indent if visual indent exceeds max_width when rewriting block
topecongiro [Sun, 7 May 2017 23:07:18 +0000 (08:07 +0900)]
Use block indent when visual indent failed
Nick Cameron [Sun, 7 May 2017 22:45:03 +0000 (10:45 +1200)]
Merge pull request #1442 from topecongiro/poor-formatting/trailing-comma
Remove comma from function definition with a single argument
Nick Cameron [Sun, 7 May 2017 22:30:50 +0000 (10:30 +1200)]
Merge pull request #1511 from topecongiro/bug/closure-fallback
Add fallback path inside rewrite_closure
Nick Cameron [Sun, 7 May 2017 22:29:02 +0000 (10:29 +1200)]
Merge pull request #1513 from topecongiro/refactoring
Add methods to Shape
topecongiro [Sun, 7 May 2017 22:24:32 +0000 (07:24 +0900)]
Refactor Shape
topecongiro [Sun, 7 May 2017 22:24:12 +0000 (07:24 +0900)]
Add indented and with_max_width
Nick Cameron [Sun, 7 May 2017 22:15:41 +0000 (10:15 +1200)]
Merge pull request #1512 from topecongiro/config-path
Allow config-path to point to a file
topecongiro [Sun, 7 May 2017 07:44:03 +0000 (16:44 +0900)]
Allow config-path to point to a file
topecongiro [Sun, 7 May 2017 04:06:54 +0000 (13:06 +0900)]
Add fallback path
Jonathan Behrens [Sat, 6 May 2017 21:59:51 +0000 (17:59 -0400)]
Respect file_lines within write_snippet() function
Jonathan Behrens [Sat, 6 May 2017 19:14:44 +0000 (15:14 -0400)]
Respect file_lines within format_lines() function
Nick Cameron [Fri, 5 May 2017 02:29:18 +0000 (14:29 +1200)]
Block format control flow discriminant expressions and binops
Fixes #1450
Adds control_style option
topecongiro [Thu, 4 May 2017 06:17:57 +0000 (15:17 +0900)]
Update tests
Nick Cameron [Thu, 4 May 2017 23:04:26 +0000 (11:04 +1200)]
Merge pull request #1502 from topecongiro/tests
Add tests for issues which can be closed on master
topecongiro [Fri, 7 Apr 2017 07:53:49 +0000 (16:53 +0900)]
Use SeperatorTactic::Never for a single argument
topecongiro [Thu, 4 May 2017 04:52:35 +0000 (13:52 +0900)]
Add tests for issues which can be closed on master
Nick Cameron [Thu, 4 May 2017 05:15:58 +0000 (17:15 +1200)]
Merge pull request #1495 from topecongiro/poor-formatting/closure
Fix weird indentation inside closures
Nick Cameron [Wed, 3 May 2017 22:00:03 +0000 (10:00 +1200)]
Merge pull request #1500 from shioju/master
Format macros in trait item position
Nick Cameron [Wed, 3 May 2017 21:12:21 +0000 (09:12 +1200)]
Merge pull request #1496 from est31/master
Drop rustc-serialize, use serde, update toml dependency
Sheng Hau [Wed, 3 May 2017 16:10:03 +0000 (00:10 +0800)]
Format macros in trait item position
topecongiro [Wed, 3 May 2017 15:21:51 +0000 (00:21 +0900)]
Check format failures explicitly in visit_block
est31 [Wed, 3 May 2017 15:16:58 +0000 (17:16 +0200)]
Format fix
est31 [Wed, 3 May 2017 15:11:34 +0000 (17:11 +0200)]
Simplifications
est31 [Wed, 3 May 2017 08:23:50 +0000 (10:23 +0200)]
Drop rustc-serialize, use serde, update toml dependency
Nick Cameron [Wed, 3 May 2017 06:02:48 +0000 (18:02 +1200)]
cargo update
topecongiro [Wed, 3 May 2017 02:26:31 +0000 (11:26 +0900)]
Update tests
topecongiro [Wed, 3 May 2017 02:26:25 +0000 (11:26 +0900)]
Format source codes
topecongiro [Wed, 3 May 2017 02:24:08 +0000 (11:24 +0900)]
Keep a chain with length chain_one_line_max in a single line
topecongiro [Wed, 3 May 2017 02:22:36 +0000 (11:22 +0900)]
Split a long chain with a single child
topecongiro [Wed, 3 May 2017 02:21:31 +0000 (11:21 +0900)]
Use block indent when visual indent failed inside closure block
Nick Cameron [Tue, 2 May 2017 01:49:15 +0000 (13:49 +1200)]
Merge pull request #1453 from topecongiro/bug/empty-struct-with-comment
Handle empty tuple struct def with comment properly
Nick Cameron [Tue, 2 May 2017 01:49:02 +0000 (13:49 +1200)]
Merge pull request #1488 from topecongiro/long-match-arm
Use block when arm exceeds max_width
topecongiro [Fri, 14 Apr 2017 13:39:20 +0000 (22:39 +0900)]
Add test for empty tuple struct with comment
topecongiro [Fri, 14 Apr 2017 11:25:47 +0000 (20:25 +0900)]
Handle empty tuple struct def properly
Seiichi Uchida [Mon, 1 May 2017 11:00:21 +0000 (20:00 +0900)]
Use block when arm exceeds max_width
Nick Cameron [Mon, 1 May 2017 23:42:38 +0000 (11:42 +1200)]
Fixup tests
Nick Cameron [Mon, 1 May 2017 23:33:53 +0000 (11:33 +1200)]
Merge pull request #1474 from regexident/configs-guide
Added visual configurations guide.
Nick Cameron [Mon, 1 May 2017 23:17:48 +0000 (11:17 +1200)]
Merge pull request #1481 from regexident/system-error
Improve error message for missing source/target test file
Nick Cameron [Mon, 1 May 2017 23:17:35 +0000 (11:17 +1200)]
Merge pull request #1471 from regexident/type_punctuation_density
Made `type_punctuation_density` apply too all `+` in types
Vincent Esche [Mon, 24 Apr 2017 17:59:21 +0000 (19:59 +0200)]
Made `type_punctuation_density` apply too all `+` in types
Nick Cameron [Mon, 1 May 2017 23:00:09 +0000 (11:00 +1200)]
Merge pull request #1482 from regexident/configs-tests
Add source/target tests for each config option
Nick Cameron [Mon, 1 May 2017 22:50:32 +0000 (10:50 +1200)]
Merge pull request #1491 from regexident/where_density
Add todo on equal output for `where_density = Tall` or `Vertical`
Nick Cameron [Mon, 1 May 2017 22:50:03 +0000 (10:50 +1200)]
Merge pull request #1489 from regexident/gitignore
Improve gitignore, adding ‘.DS_Store’
Nick Cameron [Mon, 1 May 2017 22:45:23 +0000 (10:45 +1200)]
Merge pull request #1487 from topecongiro/issue1470
Use block indent when visual indent exceeds max_width
Nick Cameron [Mon, 1 May 2017 22:40:31 +0000 (10:40 +1200)]
Merge pull request #1454 from topecongiro/match
Format nested mathces properly.
Nick Cameron [Mon, 1 May 2017 22:30:11 +0000 (10:30 +1200)]
Merge pull request #1486 from topecongiro/refactoring
Refactor source codes
Vincent Esche [Wed, 26 Apr 2017 15:36:10 +0000 (17:36 +0200)]
Add visual configurations guide.
Vincent Esche [Sun, 30 Apr 2017 21:44:12 +0000 (23:44 +0200)]
Improve error message for missing source/target test file
Vincent Esche [Mon, 1 May 2017 20:01:19 +0000 (22:01 +0200)]
Add todo on equal output for `where_density = Tall` or `Vertical`
Nick Cameron [Mon, 1 May 2017 19:56:46 +0000 (07:56 +1200)]
Remove generics_style option
Vincent Esche [Sun, 30 Apr 2017 21:49:39 +0000 (23:49 +0200)]
Add source/target tests for each config option
Vincent Esche [Mon, 1 May 2017 13:50:08 +0000 (15:50 +0200)]
Improve gitignore, adding ‘.DS_Store’
Seiichi Uchida [Mon, 1 May 2017 09:52:43 +0000 (18:52 +0900)]
Use block indent when visual indent exceeds max_width
topecongiro [Wed, 19 Apr 2017 14:34:45 +0000 (23:34 +0900)]
Add tests for visual indent struct tuple
topecongiro [Wed, 19 Apr 2017 14:33:03 +0000 (23:33 +0900)]
Remove TODO from 'format_tuple_struct'
topecongiro [Wed, 19 Apr 2017 13:48:45 +0000 (22:48 +0900)]
Remove TODO from 'rewrite_generics'
topecongiro [Wed, 19 Apr 2017 09:52:56 +0000 (18:52 +0900)]
Refactor Shape
topecongiro [Fri, 14 Apr 2017 10:27:05 +0000 (19:27 +0900)]
Remove duplicates
topecongiro [Wed, 19 Apr 2017 01:14:27 +0000 (10:14 +0900)]
Use 'first_line_width'
Nick Cameron [Mon, 1 May 2017 04:38:43 +0000 (16:38 +1200)]
Merge pull request #1473 from topecongiro/bug/no-such-file-or-directory
Prevent panicking against directories or non-existent files
Nick Cameron [Mon, 1 May 2017 04:05:38 +0000 (16:05 +1200)]
Remove where_indent option
Nick Cameron [Mon, 1 May 2017 03:48:53 +0000 (15:48 +1200)]
Merge pull request #1469 from topecongiro/bug/chains
Remove a bug when calculating the length of the chain
Nick Cameron [Mon, 1 May 2017 03:15:30 +0000 (15:15 +1200)]
Merge pull request #1459 from shioju/master
Show exit codes' meanings with the rustfmt help message
Nick Cameron [Mon, 1 May 2017 03:13:19 +0000 (15:13 +1200)]
Merge pull request #1457 from diaevd/master
format_lines: fix line_len for config.max_width
Nick Cameron [Mon, 1 May 2017 01:15:28 +0000 (13:15 +1200)]
Merge pull request #1461 from DarkEld3r/1447-line-length-in-chars
Fix line length calculation (should be in chars, not bytes)
Nick Cameron [Mon, 1 May 2017 00:31:51 +0000 (12:31 +1200)]
Merge pull request #1455 from topecongiro/unary-op
Add heuristic choosing block or visual indent for unary op based on span
Seiichi Uchida [Wed, 26 Apr 2017 08:29:56 +0000 (17:29 +0900)]
Prevent panicking against directories or non-existent files
topecongiro [Mon, 24 Apr 2017 07:50:11 +0000 (16:50 +0900)]
Format source codes
topecongiro [Mon, 24 Apr 2017 07:48:05 +0000 (16:48 +0900)]
Remove '+ 1' when counting the length of chains
Stanislav Tkach [Wed, 19 Apr 2017 14:49:03 +0000 (17:49 +0300)]
Fix line length calculation (should be in chars, not bytes)