]>
git.lizzy.rs Git - rust.git/log
Seiichi Uchida [Wed, 22 May 2019 01:49:12 +0000 (10:49 +0900)]
Merge pull request #3577 from topecongiro/issue-3575
Insert an empty line when normalizing `#[doc = ""]`
Seiichi Uchida [Tue, 21 May 2019 22:00:07 +0000 (07:00 +0900)]
Merge pull request #3576 from rchaser53/issue-3567
add the handling for vec! with paren inside macro
Seiichi Uchida [Tue, 21 May 2019 21:58:39 +0000 (06:58 +0900)]
Merge pull request #3569 from sphynx/master
Use structopt for command line arguments parsing in cargo-fmt
Ivan Veselov [Tue, 21 May 2019 15:33:51 +0000 (16:33 +0100)]
Drop only the first occurrence of `fmt` while preparing CLI arguments
Ivan Veselov [Mon, 20 May 2019 12:17:32 +0000 (13:17 +0100)]
Drop extra `fmt` command line argument provided by cargo
Ivan Veselov [Mon, 20 May 2019 09:23:03 +0000 (10:23 +0100)]
Use structopt for command line arguments parsing in cargo-fmt
topecongiro [Tue, 21 May 2019 15:10:46 +0000 (00:10 +0900)]
Insert an empty line when normalizing `#[doc = ""]`
topecongiro [Tue, 21 May 2019 15:10:35 +0000 (00:10 +0900)]
Add a test for #3575
rchaser53 [Tue, 21 May 2019 15:06:15 +0000 (00:06 +0900)]
add the handling for vec! with paren inside macro
rChaser53 [Tue, 21 May 2019 02:43:28 +0000 (11:43 +0900)]
not to avoid self (#3570)
Seiichi Uchida [Tue, 21 May 2019 02:42:55 +0000 (11:42 +0900)]
Merge pull request #3573 from scampi/issue-3525
Update changelogs
Stéphane Campinas [Mon, 20 May 2019 21:46:00 +0000 (23:46 +0200)]
changelog for 1.2.2
Stéphane Campinas [Mon, 20 May 2019 21:39:40 +0000 (23:39 +0200)]
changelog for 1.2.1
Stéphane Campinas [Mon, 20 May 2019 21:30:15 +0000 (23:30 +0200)]
changelog for 1.2.0
Stéphane Campinas [Mon, 20 May 2019 21:26:50 +0000 (23:26 +0200)]
changelog for 1.1.1
Stéphane Campinas [Mon, 20 May 2019 21:20:03 +0000 (23:20 +0200)]
changelog for 1.1.0
Stéphane Campinas [Mon, 20 May 2019 20:50:15 +0000 (22:50 +0200)]
changelog for 1.0.3
Stéphane Campinas [Mon, 20 May 2019 20:48:29 +0000 (22:48 +0200)]
changelog for 1.0.2
Stéphane Campinas [Mon, 20 May 2019 20:15:58 +0000 (22:15 +0200)]
changelog for 1.0.1
Stéphane Campinas [Mon, 20 May 2019 20:06:44 +0000 (22:06 +0200)]
changelog for 1.0.0
Stéphane Campinas [Mon, 20 May 2019 19:10:34 +0000 (21:10 +0200)]
changelog for 0.99.9
Stéphane Campinas [Mon, 20 May 2019 19:07:56 +0000 (21:07 +0200)]
changelog for 0.99.8
Stéphane Campinas [Mon, 20 May 2019 18:58:16 +0000 (20:58 +0200)]
changelog for 0.99.7
Stéphane Campinas [Mon, 20 May 2019 18:41:16 +0000 (20:41 +0200)]
changelog for 0.99.6
Stéphane Campinas [Mon, 20 May 2019 08:19:57 +0000 (10:19 +0200)]
changelog for 0.99.5
Stéphane Campinas [Mon, 20 May 2019 07:48:44 +0000 (09:48 +0200)]
changelog for 0.99.4
Seiichi Uchida [Mon, 20 May 2019 07:46:52 +0000 (16:46 +0900)]
Merge pull request #3548 from bash/normalize-multiline-doc-attributes
Fix normalisation of multiline doc attributes
Stéphane Campinas [Mon, 20 May 2019 07:41:02 +0000 (09:41 +0200)]
changelog for 0.99.3
Stéphane Campinas [Sun, 19 May 2019 21:02:30 +0000 (23:02 +0200)]
changelog for 0.99.2
Stéphane Campinas [Sun, 19 May 2019 20:58:18 +0000 (22:58 +0200)]
changelog for 0.99.1
Stéphane Campinas [Sun, 19 May 2019 20:55:36 +0000 (22:55 +0200)]
changelog for 0.99.0
Stéphane Campinas [Sun, 19 May 2019 20:53:13 +0000 (22:53 +0200)]
changelog for 0.9.0
Stéphane Campinas [Sun, 19 May 2019 10:17:47 +0000 (12:17 +0200)]
changelog for 0.8.2
Stéphane Campinas [Sun, 19 May 2019 10:05:10 +0000 (12:05 +0200)]
changelog for 0.7.0
Stéphane Campinas [Sun, 19 May 2019 09:03:02 +0000 (11:03 +0200)]
changelog for 0.6.1
Stéphane Campinas [Sat, 18 May 2019 18:30:52 +0000 (20:30 +0200)]
changelog for 0.6.0
Stéphane Campinas [Sat, 18 May 2019 18:29:09 +0000 (20:29 +0200)]
changelog for 0.5.0
Stéphane Campinas [Sat, 18 May 2019 18:20:52 +0000 (20:20 +0200)]
changelog for 0.4.2
Ruben Schmidmeister [Sat, 18 May 2019 09:50:09 +0000 (11:50 +0200)]
Document DocCommentFormatter
Ruben Schmidmeister [Sat, 18 May 2019 09:47:54 +0000 (11:47 +0200)]
Pass string instead of Symbol to DocCommentFormatter
Ruben Schmidmeister [Sat, 18 May 2019 09:42:49 +0000 (11:42 +0200)]
Use peek() instead of checking indexes
Ruben Schmidmeister [Sat, 18 May 2019 09:26:03 +0000 (11:26 +0200)]
Merge branch 'master' into normalize-multiline-doc-attributes
Seiichi Uchida [Sat, 18 May 2019 08:51:25 +0000 (17:51 +0900)]
Merge pull request #3558 from bash/unstable-tests
Add option to run a test only on nightly
Seiichi Uchida [Sat, 18 May 2019 07:13:34 +0000 (16:13 +0900)]
Update .travis.yml
Ruben Schmidmeister [Fri, 17 May 2019 14:13:46 +0000 (16:13 +0200)]
Move macro to separate module
Ruben Schmidmeister [Fri, 17 May 2019 14:07:49 +0000 (16:07 +0200)]
Re-use nightly channel macro
Ruben Schmidmeister [Fri, 17 May 2019 13:58:01 +0000 (15:58 +0200)]
Allow tests to be run on nightly only
Stéphane Campinas [Thu, 16 May 2019 22:23:37 +0000 (00:23 +0200)]
Merge pull request #3555 from rchaser53/issue-3554
fix `Const generics are handled incorrectly`
rchaser53 [Thu, 16 May 2019 12:27:34 +0000 (21:27 +0900)]
use the span between the self_ty and left brace
rchaser53 [Thu, 16 May 2019 04:22:25 +0000 (13:22 +0900)]
fix `Const generics are handled incorrectly`
Seiichi Uchida [Thu, 16 May 2019 02:12:56 +0000 (11:12 +0900)]
Merge pull request #3535 from xiongmao86/issue3417
Try to solve issue 3417.
Seiichi Uchida [Thu, 16 May 2019 02:10:33 +0000 (11:10 +0900)]
Merge pull request #3553 from bash/minor-refactorings
Minor refactorings
Ruben Schmidmeister [Wed, 15 May 2019 16:29:04 +0000 (18:29 +0200)]
Remove unnecessary comma
Ruben Schmidmeister [Wed, 15 May 2019 16:17:48 +0000 (18:17 +0200)]
Use raw strings
Ruben Schmidmeister [Wed, 15 May 2019 15:37:55 +0000 (17:37 +0200)]
Avoid unnecessary allocation
Ruben Schmidmeister [Tue, 14 May 2019 18:38:28 +0000 (20:38 +0200)]
Return iterator instead of collecting early
Ruben Schmidmeister [Tue, 14 May 2019 18:23:55 +0000 (20:23 +0200)]
Name field more verbosely
This makes the comment above it obsolete
Ruben Schmidmeister [Mon, 13 May 2019 07:40:16 +0000 (09:40 +0200)]
Ignore unstable key when overriding config
Ruben Schmidmeister [Sun, 12 May 2019 21:03:48 +0000 (23:03 +0200)]
Only run test on nightly
Ruben Schmidmeister [Sat, 11 May 2019 13:05:08 +0000 (15:05 +0200)]
Fix normalisation of multi-line doc attributes
Ruben Schmidmeister [Sat, 11 May 2019 13:03:59 +0000 (15:03 +0200)]
Add regression test
xiongmao86 [Fri, 10 May 2019 13:29:08 +0000 (21:29 +0800)]
update CHANGELOG.
xiongmao86 [Fri, 10 May 2019 13:22:52 +0000 (21:22 +0800)]
Revert "Revert "Change config option from format_doc_comments to format_code_in_doc_comments.""
This reverts commit
97d7216cd4ebce511d5707ec5dd8b7b8fe771cba.
Stéphane Campinas [Fri, 10 May 2019 07:59:07 +0000 (09:59 +0200)]
Merge pull request #3546 from bash/unreachable-pub
Enable unreachable_pub lint
Stéphane Campinas [Fri, 10 May 2019 07:48:01 +0000 (09:48 +0200)]
Merge pull request #3526 from bash/refactor-apply-newline-style
Refactor apply newline style
Seiichi Uchida [Fri, 10 May 2019 04:56:25 +0000 (13:56 +0900)]
Merge pull request #3545 from euclio/serde-derive
use `derive` feature over `serde_derive` crate
Ruben Schmidmeister [Thu, 9 May 2019 19:13:32 +0000 (21:13 +0200)]
Run rustfmt
Ruben Schmidmeister [Thu, 9 May 2019 18:37:51 +0000 (20:37 +0200)]
Enable unreachable_pub lint
Andy Russell [Thu, 9 May 2019 17:22:44 +0000 (13:22 -0400)]
use `derive` feature over `serde_derive` crate
Ruben Schmidmeister [Thu, 9 May 2019 15:51:02 +0000 (17:51 +0200)]
Add tests to cover more edge cases
Ruben Schmidmeister [Thu, 9 May 2019 15:44:52 +0000 (17:44 +0200)]
Make sure windows newlines don't gain an extra carriage return
Ruben Schmidmeister [Thu, 9 May 2019 15:22:16 +0000 (17:22 +0200)]
Implement conversion to unix newlines
Seiichi Uchida [Thu, 9 May 2019 04:37:34 +0000 (13:37 +0900)]
Merge pull request #3486 from scampi/issue-3197
add document describing rustfmt's stabilisation process
Stéphane Campinas [Wed, 8 May 2019 22:05:53 +0000 (00:05 +0200)]
add a condition to the stabilisation process of a option on its design being sound
xiongmao86 [Wed, 8 May 2019 08:56:53 +0000 (16:56 +0800)]
Fix docs in Configurations.md.
xiongmao86 [Wed, 8 May 2019 08:51:32 +0000 (16:51 +0800)]
Revert "Change config option from format_doc_comments to format_code_in_doc_comments."
This reverts commit
6a6924c12b2ad9a99686df9b3d65fd2dd8647665.
Stéphane Campinas [Mon, 6 May 2019 20:31:38 +0000 (22:31 +0200)]
Merge pull request #3540 from rchaser53/issue-3539
correct to get wrong BytePos
Stéphane Campinas [Mon, 6 May 2019 20:25:10 +0000 (22:25 +0200)]
Merge pull request #3541 from davidalber/fix-condition-typo
Fix condition typo
xiongmao86 [Mon, 6 May 2019 11:45:34 +0000 (19:45 +0800)]
Change config option from format_doc_comments to format_code_in_doc_comments.
David Alber [Sun, 5 May 2019 18:55:11 +0000 (11:55 -0700)]
Fix condition typo
rchaser53 [Sun, 5 May 2019 15:01:13 +0000 (00:01 +0900)]
correct to get wrong BytePos
xiongmao86 [Thu, 2 May 2019 13:11:13 +0000 (21:11 +0800)]
Isolate format_doc_comment with normalize_comments and wrap_comments.
Ruben Schmidmeister [Thu, 2 May 2019 04:47:41 +0000 (06:47 +0200)]
Merge remote-tracking branch 'origin/master' into refactor-apply-newline-style
xiongmao86 [Wed, 1 May 2019 08:27:34 +0000 (16:27 +0800)]
Add tests for #3417.
Stéphane Campinas [Wed, 1 May 2019 07:48:27 +0000 (09:48 +0200)]
Merge pull request #3533 from rchaser53/issue-3532
fix Comma in comment causes no formatting
rchaser53 [Mon, 29 Apr 2019 12:38:38 +0000 (21:38 +0900)]
fix Comma in comment causes no formatting
Seiichi Uchida [Mon, 29 Apr 2019 02:04:28 +0000 (11:04 +0900)]
Merge pull request #3484 from topecongiro/config_derive
Add config_proc_macro
topecongiro [Sun, 31 Mar 2019 10:13:15 +0000 (19:13 +0900)]
Add doc comment
topecongiro [Sun, 31 Mar 2019 09:44:35 +0000 (18:44 +0900)]
Use config_type proc macro
topecongiro [Sun, 31 Mar 2019 09:42:49 +0000 (18:42 +0900)]
Add config_proc_macro
Seiichi Uchida [Fri, 26 Apr 2019 10:58:12 +0000 (19:58 +0900)]
Merge pull request #3530 from xiongmao86/issue2941
Add a test for #2941.
xiongmao86 [Fri, 26 Apr 2019 08:04:49 +0000 (16:04 +0800)]
Add a test for #2941.
Ruben Schmidmeister [Wed, 24 Apr 2019 19:58:50 +0000 (21:58 +0200)]
Use more descriptive names
Ruben Schmidmeister [Wed, 24 Apr 2019 18:52:43 +0000 (20:52 +0200)]
Preserve standalone carriage returns on windows also
Ruben Schmidmeister [Wed, 24 Apr 2019 18:28:14 +0000 (20:28 +0200)]
Split apply with auto detection tests into separate fns
Ruben Schmidmeister [Wed, 24 Apr 2019 18:14:29 +0000 (20:14 +0200)]
Fix auto detection of windows newlines for inputs with multibyte chars
Ruben Schmidmeister [Wed, 24 Apr 2019 18:01:06 +0000 (20:01 +0200)]
Split auto_detect tests into seperate fns
Ruben Schmidmeister [Wed, 24 Apr 2019 17:54:37 +0000 (19:54 +0200)]
Extract conversion to windows newlines into fn
Ruben Schmidmeister [Wed, 24 Apr 2019 17:34:10 +0000 (19:34 +0200)]
Extract literals into constants
Ruben Schmidmeister [Wed, 24 Apr 2019 17:47:05 +0000 (19:47 +0200)]
Introduce effective newline style