]>
git.lizzy.rs Git - rust.git/log
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
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)
Sheng Hau [Tue, 18 Apr 2017 16:23:57 +0000 (00:23 +0800)]
Show exit codes' meanings with the rustfmt help message
Evgeny Duzhakov [Tue, 18 Apr 2017 11:31:53 +0000 (14:31 +0300)]
format_lines: fix line_len for config.max_width
topecongiro [Mon, 17 Apr 2017 13:57:07 +0000 (22:57 +0900)]
Prohibit long return val from 'rewrite_closure_block'
topecongiro [Sat, 15 Apr 2017 09:42:45 +0000 (18:42 +0900)]
Format source codes
topecongiro [Sat, 15 Apr 2017 09:40:39 +0000 (18:40 +0900)]
Add heuristic choosing block or visual indent for unary op based on span
topecongiro [Sat, 15 Apr 2017 07:23:38 +0000 (16:23 +0900)]
Check the length of the first line of the last method in the chain
topecongiro [Sat, 15 Apr 2017 07:22:54 +0000 (16:22 +0900)]
Format source codes
topecongiro [Sat, 15 Apr 2017 07:22:26 +0000 (16:22 +0900)]
Use offset instead of indent for match arm
Nick Cameron [Sun, 9 Apr 2017 21:32:09 +0000 (09:32 +1200)]
Merge pull request #1446 from BusyJay/fix-file-lines-check
fix path check
Jay Lee [Sun, 9 Apr 2017 21:25:12 +0000 (05:25 +0800)]
fix path check
Nick Cameron [Thu, 6 Apr 2017 09:29:26 +0000 (21:29 +1200)]
0.8.3
Because I forgot to merge a PR into 0.8.2 that I really wanted :-(
Nick Cameron [Thu, 6 Apr 2017 09:26:13 +0000 (21:26 +1200)]
Merge pull request #1438 from topecongiro/poor-formatting/method-chains
Lookup the last element of 'subexpr_list' instead of the first one
Nick Cameron [Thu, 6 Apr 2017 09:22:29 +0000 (21:22 +1200)]
v0.8.2
Nick Cameron [Thu, 6 Apr 2017 09:17:22 +0000 (21:17 +1200)]
Fix a bug with overlong function calls
Nick Cameron [Thu, 6 Apr 2017 01:06:11 +0000 (13:06 +1200)]
Test fallout
Nick Cameron [Thu, 6 Apr 2017 01:01:19 +0000 (13:01 +1200)]
Implement a max array width
Fixes #1421
topecongiro [Tue, 4 Apr 2017 21:28:47 +0000 (06:28 +0900)]
Lookup the last element of 'subexpr_list' instead of the first one
Closes #1217, #1236, #1389 and #1434.
Nick Cameron [Wed, 5 Apr 2017 23:30:33 +0000 (11:30 +1200)]
Merge pull request #1432 from topecongiro/parse-config
Print error and usage when decoding config file failed
Nick Cameron [Tue, 4 Apr 2017 20:32:21 +0000 (08:32 +1200)]
Merge pull request #1436 from Ryan1729/master
fix for #1419 and #1425
Ryan1729 [Tue, 4 Apr 2017 06:01:33 +0000 (00:01 -0600)]
eliminate nested match
Ryan1729 [Mon, 3 Apr 2017 23:39:14 +0000 (17:39 -0600)]
fix bug by adding boolean argument
Signed-off-by: Ryan1729 <Ryan1729@gmail.com>
Ryan1729 [Mon, 3 Apr 2017 22:15:11 +0000 (16:15 -0600)]
add tests that fail because of comma insertion
Signed-off-by: Ryan1729 <Ryan1729@gmail.com>
topecongiro [Fri, 31 Mar 2017 15:45:02 +0000 (00:45 +0900)]
Change return type of 'from_toml' from 'Config' to 'Result<Config>'
Closes #1426.
Nick Cameron [Sun, 2 Apr 2017 20:40:22 +0000 (08:40 +1200)]
Merge pull request #1435 from iliekturtles/line-length
Do not count `\r` as part of line width.
Nick Cameron [Sun, 2 Apr 2017 20:27:35 +0000 (08:27 +1200)]
Merge pull request #1430 from fintelia/stdin_lines
The --file_lines argument now supports "stdin"
Nick Cameron [Sun, 2 Apr 2017 19:53:18 +0000 (07:53 +1200)]
Merge pull request #1431 from topecongiro/fix-1428
Check existence of pre comment explicitly
Mike Boutin [Sun, 2 Apr 2017 15:05:21 +0000 (11:05 -0400)]
Do not count `\r` as part of line width.
Resolves #1335. Does not attempt to handle a `\r` not followed by a `\n` nor
attempt to handle Unicode intricacies (#6) including zero-width or multi-byte
characters.
Jonathan Behrens [Fri, 31 Mar 2017 17:34:53 +0000 (13:34 -0400)]
Warn about extra files listed in file_lines argument
topecongiro [Fri, 31 Mar 2017 12:57:29 +0000 (21:57 +0900)]
Check existence of pre comment explicitly
This commit fixes #1428.
Jonathan Behrens [Thu, 30 Mar 2017 23:16:06 +0000 (19:16 -0400)]
--file_lines argument now supports "stdin"
Nick Cameron [Thu, 30 Mar 2017 19:43:40 +0000 (08:43 +1300)]
Merge pull request #1413 from Emilgardis/master
Implemented support for workspaces
Nick Cameron [Thu, 30 Mar 2017 19:42:40 +0000 (08:42 +1300)]
Merge pull request #1424 from topecongiro/long-struct
Split long fields in structs
topecongiro [Wed, 29 Mar 2017 11:15:27 +0000 (20:15 +0900)]
Split long fields in structs
This commit splits long fields in structs.
Closes #1412.