]>
git.lizzy.rs Git - rust.git/log
Joost Hopmans [Wed, 3 Jan 2018 13:15:45 +0000 (14:15 +0100)]
Rename git-fmt to git-rustfmt
Nick Cameron [Mon, 1 Jan 2018 06:38:11 +0000 (19:38 +1300)]
Merge pull request #2326 from davidalber/indent-bullet-text
Aligning text with its bullet
David Alber [Mon, 1 Jan 2018 02:41:46 +0000 (18:41 -0800)]
Aligning text with its bullet
Seiichi Uchida [Sun, 31 Dec 2017 13:22:34 +0000 (22:22 +0900)]
Merge pull request #2318 from davidalber/config-option-subdirectories
Moving config option tests to a dedicated subdirectory
David Alber [Thu, 28 Dec 2017 18:20:48 +0000 (10:20 -0800)]
Updating error message
David Alber [Thu, 28 Dec 2017 18:19:02 +0000 (10:19 -0800)]
Moving test files to satisfy `verify_config_test_names` test
David Alber [Thu, 28 Dec 2017 09:02:59 +0000 (01:02 -0800)]
Testing that config option tests use the expected config option
David Alber [Thu, 28 Dec 2017 06:44:30 +0000 (22:44 -0800)]
Moving config option tests to subdirectory
This was done by running the following.
```sh
for f in `find . -name "configs-*.rs"`; do
topdir=`echo $f | cut -d/ -f2`;
configname=`echo $f | cut -d/ -f3 | cut -d- -f2`;
testname=`echo $f | cut -d/ -f3 | cut -d- -f3`;
mkdir -p $topdir/configs/$configname;
git mv $f $topdir/configs/$configname/$testname;
done
```
David Alber [Thu, 28 Dec 2017 06:41:23 +0000 (22:41 -0800)]
Renaming tests to match existing convention
David Alber [Thu, 28 Dec 2017 06:19:40 +0000 (22:19 -0800)]
Renaming test to match existing convention
Seiichi Uchida [Thu, 28 Dec 2017 16:08:21 +0000 (01:08 +0900)]
Merge pull request #2317 from vishalsodani/master
Fix sentence structure
Vishal Sodani [Thu, 28 Dec 2017 14:43:33 +0000 (20:13 +0530)]
Fix sentence structure
Nick Cameron [Wed, 27 Dec 2017 21:14:22 +0000 (10:14 +1300)]
Merge pull request #2314 from hcpl/fix-readme-ci-instructions
Fix version replacement notes for CI in README.md
Nick Cameron [Wed, 27 Dec 2017 21:08:27 +0000 (10:08 +1300)]
Make the import of Config pub
hcpl [Wed, 27 Dec 2017 17:41:42 +0000 (19:41 +0200)]
Fix version replacement notes for CI in README.md
Seiichi Uchida [Wed, 27 Dec 2017 10:16:01 +0000 (19:16 +0900)]
Merge pull request #2308 from davidalber/recursive-test-files
Adding ability to recursively find test files
Marcus Klaas [Fri, 17 Nov 2017 13:21:46 +0000 (14:21 +0100)]
Use std time
Marcus Klaas [Tue, 14 Nov 2017 13:42:48 +0000 (14:42 +0100)]
Add rudimentary timing of parsing and formatting phases
Nick Cameron [Wed, 27 Dec 2017 01:12:45 +0000 (14:12 +1300)]
Merge pull request #2310 from topecongiro/issue-2309
Do not give up rewriting struct field when attribute is long
Nick Cameron [Wed, 27 Dec 2017 00:32:14 +0000 (13:32 +1300)]
Merge pull request #2311 from topecongiro/format-code-block
Format code block in comment
David Alber [Sun, 24 Dec 2017 21:31:46 +0000 (13:31 -0800)]
Updating error message
Seiichi Uchida [Sun, 24 Dec 2017 15:13:59 +0000 (00:13 +0900)]
Refactoring
1. Cargo clippy
2. Run 'cargo fmt' with import reordering options set to `true`.
3. Factor out `rewrite_lifetime_param()`.
Seiichi Uchida [Sun, 24 Dec 2017 14:40:53 +0000 (23:40 +0900)]
Format code block in comment
Closes #554.
Closes #1695.
Seiichi Uchida [Sun, 24 Dec 2017 04:57:29 +0000 (13:57 +0900)]
Do not give up rewriting struct field when attribute is long
David Alber [Sat, 23 Dec 2017 19:01:00 +0000 (11:01 -0800)]
Adding ability to recursively find test files
Part of #1492.
Seiichi Uchida [Sat, 23 Dec 2017 15:29:59 +0000 (00:29 +0900)]
Get rid of GenericsArg wrapper type
`GenericsArg` is basically identical to `ast::GenericParam`.
Just use the latter.
Seiichi Uchida [Sat, 23 Dec 2017 15:28:58 +0000 (00:28 +0900)]
Cargo fmt
Run 'cargo fmt' with the following setting:
```
reorder_imports = true
reorder_imports_in_group = true
```
Seiichi Uchida [Sat, 23 Dec 2017 03:25:42 +0000 (12:25 +0900)]
0.3.4
Seiichi Uchida [Sat, 23 Dec 2017 03:24:58 +0000 (12:24 +0900)]
Remove workspace membership check
Seiichi Uchida [Sat, 23 Dec 2017 02:58:19 +0000 (11:58 +0900)]
Rustup to rustc 1.24.0-nightly (
5165ee9e2 2017-12-22)
Nick Cameron [Fri, 22 Dec 2017 08:55:07 +0000 (21:55 +1300)]
Merge pull request #2298 from davidalber/fix-2269
Adding --version to cargo-fmt
topecongiro [Fri, 22 Dec 2017 08:20:15 +0000 (17:20 +0900)]
Update CHANGELOG
Nick Cameron [Fri, 22 Dec 2017 04:46:10 +0000 (17:46 +1300)]
Merge pull request #2303 from topecongiro/issue-2296
Fix indent width bug when recovering comments
Nick Cameron [Fri, 22 Dec 2017 03:06:23 +0000 (16:06 +1300)]
0.3.3
topecongiro [Fri, 22 Dec 2017 03:00:24 +0000 (12:00 +0900)]
Fix indent width bug when recovering comments
Using last_line_width() ignores the width of tab character ('\t').
Nick Cameron [Fri, 22 Dec 2017 02:44:19 +0000 (15:44 +1300)]
Merge pull request #2288 from davidalber/fix-2078
Reporting test parse errors as test failures
Nick Cameron [Fri, 22 Dec 2017 02:30:45 +0000 (15:30 +1300)]
fix tests
Nick Cameron [Fri, 22 Dec 2017 02:24:57 +0000 (15:24 +1300)]
Merge pull request #2302 from bkchr/rust_nightly_21_22_2017
Fixes compilation with rust version 2017-12-21
Bastian Köcher [Fri, 22 Dec 2017 01:52:22 +0000 (02:52 +0100)]
Fixes compilation with rust version 2017-12-21
Nick Cameron [Thu, 21 Dec 2017 23:58:02 +0000 (12:58 +1300)]
Merge pull request #2291 from topecongiro/issue-2289
Take the width of block's prefix into account only once
Nick Cameron [Thu, 21 Dec 2017 23:56:53 +0000 (12:56 +1300)]
Merge pull request #2295 from topecongiro/issue-2280
Make 'cargo fmt' formats every workspace member
Nick Cameron [Thu, 21 Dec 2017 22:12:11 +0000 (11:12 +1300)]
fix libsyntax fallout
Nick Cameron [Thu, 21 Dec 2017 22:05:02 +0000 (11:05 +1300)]
Merge pull request #2297 from topecongiro/type-alias-wrong-indent
Fix wrong indentation on type alias
David Alber [Thu, 21 Dec 2017 07:15:14 +0000 (23:15 -0800)]
Using common execute rustfmt function
David Alber [Thu, 21 Dec 2017 06:36:36 +0000 (22:36 -0800)]
Reusing status-handling function
David Alber [Thu, 21 Dec 2017 05:53:33 +0000 (21:53 -0800)]
Factoring out status code values
David Alber [Thu, 21 Dec 2017 05:48:59 +0000 (21:48 -0800)]
Adding --version option to cargo-fmt
topecongiro [Thu, 21 Dec 2017 00:58:13 +0000 (09:58 +0900)]
Fix wrong indentation on type alias
Use rewrite_assign_rhs() when rewriting type alias.
Seiichi Uchida [Wed, 20 Dec 2017 13:46:24 +0000 (22:46 +0900)]
Make 'cargo fmt' formats every workspace member
topecongiro [Tue, 19 Dec 2017 00:41:05 +0000 (09:41 +0900)]
Take the width of block's prefix into account only once
David Alber [Mon, 18 Dec 2017 09:02:48 +0000 (01:02 -0800)]
Using `if let` to be more concise
David Alber [Mon, 18 Dec 2017 00:50:09 +0000 (16:50 -0800)]
Reporting test parse errors as test failures
Fixes 2078.
Nick Cameron [Sun, 17 Dec 2017 06:42:19 +0000 (19:42 +1300)]
Merge pull request #2286 from topecongiro/issue-2123
Respect leading whitespace when wrapping comment
Seiichi Uchida [Sun, 17 Dec 2017 06:25:24 +0000 (15:25 +0900)]
Do not put comment's line start and closer on the same line
Seiichi Uchida [Sun, 17 Dec 2017 06:24:49 +0000 (15:24 +0900)]
Respect leading whitespace in original comment when wrapping comment
Seiichi Uchida [Sun, 17 Dec 2017 06:23:17 +0000 (15:23 +0900)]
Add a test for #2123 and update tests
Nick Cameron [Sun, 17 Dec 2017 06:14:20 +0000 (19:14 +1300)]
Merge pull request #2228 from CAD97/patch-1
Add configuration stability information
Christopher Durham [Wed, 6 Dec 2017 23:13:31 +0000 (18:13 -0500)]
Remove reference to env var
The check was moved to compile time and was not intended to be user-facing
Christopher Durham [Mon, 4 Dec 2017 07:10:36 +0000 (02:10 -0500)]
Mention un/stable configuration in README
Christopher Durham [Mon, 4 Dec 2017 07:00:09 +0000 (02:00 -0500)]
Remove `chain_indent`
Christopher Durham [Sun, 3 Dec 2017 01:52:48 +0000 (20:52 -0500)]
Add configuration stability information
Nick Cameron [Fri, 15 Dec 2017 10:59:06 +0000 (23:59 +1300)]
Fix CI instructions in README.md
Closes #2285
Nick Cameron [Fri, 15 Dec 2017 05:11:28 +0000 (18:11 +1300)]
Merge pull request #2284 from topecongiro/trait-aliases
Format trait aliases
topecongiro [Fri, 15 Dec 2017 04:47:52 +0000 (13:47 +0900)]
Format trait aliases
topecongiro [Fri, 15 Dec 2017 04:47:32 +0000 (13:47 +0900)]
Add tests for trait aliases
topecongiro [Fri, 15 Dec 2017 01:39:33 +0000 (10:39 +0900)]
0.3.2
topecongiro [Fri, 15 Dec 2017 01:35:07 +0000 (10:35 +0900)]
Add an initial support for trait aliases
Oliver Schneider [Fri, 8 Dec 2017 13:16:47 +0000 (14:16 +0100)]
Move from String to PathBuf where applicable
Nick Cameron [Thu, 14 Dec 2017 19:53:48 +0000 (08:53 +1300)]
Merge pull request #2271 from topecongiro/refactorings
Refactorings from cargo clippy etc.
Nick Cameron [Wed, 13 Dec 2017 07:54:56 +0000 (20:54 +1300)]
Merge pull request #2276 from topecongiro/changelog
Update CHANGELOG
Seiichi Uchida [Tue, 12 Dec 2017 04:39:43 +0000 (13:39 +0900)]
Update CHANGELOG
1. Update CHANGELOG from 0.2.17 to 0.3.1.
2. Add Unreleased section to ease the management of CHANGELOG.
Seiichi Uchida [Tue, 12 Dec 2017 05:10:31 +0000 (14:10 +0900)]
Do not print to stderr when parsing the toml file succeeded
Seiichi Uchida [Tue, 12 Dec 2017 04:48:24 +0000 (13:48 +0900)]
Refactor write_snippet_inner()
Seiichi Uchida [Tue, 12 Dec 2017 04:48:12 +0000 (13:48 +0900)]
Cargo clippy
Nick Cameron [Tue, 12 Dec 2017 03:55:55 +0000 (16:55 +1300)]
Merge pull request #2274 from topecongiro/better-error-msg
Attempt to improve error meassage from rustfmt
topecongiro [Mon, 11 Dec 2017 15:54:55 +0000 (00:54 +0900)]
Warn when there are unknown config options
topecongiro [Mon, 11 Dec 2017 15:54:37 +0000 (00:54 +0900)]
Do not print usage when rustfmt failed
Seiichi Uchida [Mon, 11 Dec 2017 13:09:48 +0000 (22:09 +0900)]
0.3.1
Nick Cameron [Mon, 11 Dec 2017 04:04:41 +0000 (17:04 +1300)]
Merge pull request #2173 from topecongiro/assignment-with-100-chars
Assignment whose lhs has 100 chars
Nick Cameron [Mon, 11 Dec 2017 03:41:15 +0000 (16:41 +1300)]
Merge pull request #2257 from topecongiro/error-on-line-overflow-strings
Add error_on_line_overflow_strings config option
Nick Cameron [Mon, 11 Dec 2017 03:40:12 +0000 (16:40 +1300)]
Merge pull request #2270 from topecongiro/issue-2260
Trim a trailing whitespace on empty line inside code block comment
Seiichi Uchida [Mon, 11 Dec 2017 02:50:11 +0000 (11:50 +0900)]
Use enumerate()
Seiichi Uchida [Mon, 11 Dec 2017 02:46:04 +0000 (11:46 +0900)]
Rename error_on_unformatted_comments_or_strings to error_on_unformatted
Seiichi Uchida [Mon, 11 Dec 2017 01:15:31 +0000 (10:15 +0900)]
Set error_on_unformatted_comments_or_strings to true when --error-on-unformatted
option is passed
Seiichi Uchida [Mon, 11 Dec 2017 01:01:00 +0000 (10:01 +0900)]
Print command line options in alphabetical order
Seiichi Uchida [Mon, 11 Dec 2017 01:00:49 +0000 (10:00 +0900)]
Fix a typo
Seiichi Uchida [Mon, 11 Dec 2017 00:55:15 +0000 (09:55 +0900)]
Organize command line options and start with upper case
Seiichi Uchida [Mon, 11 Dec 2017 00:54:44 +0000 (09:54 +0900)]
Add error-on-unformatted command line option
Seiichi Uchida [Mon, 11 Dec 2017 00:39:06 +0000 (09:39 +0900)]
Combine error_on_line_overflow_comments/strings
1. Rename to error_on_unformatted_comments_or_strings
2. Set the option to false by default.
Seiichi Uchida [Sun, 10 Dec 2017 09:14:17 +0000 (18:14 +0900)]
Fix a typo
Seiichi Uchida [Sat, 9 Dec 2017 14:37:42 +0000 (23:37 +0900)]
Make RichChar public
Seiichi Uchida [Sat, 9 Dec 2017 11:24:14 +0000 (20:24 +0900)]
Add a config option to suppress error message on string literal
Seiichi Uchida [Sat, 9 Dec 2017 11:23:48 +0000 (20:23 +0900)]
Make CharClasses and FullCodeCharKind public
Seiichi Uchida [Sat, 9 Dec 2017 11:21:34 +0000 (20:21 +0900)]
Add a test for error_on_line_overflow_strings
Seiichi Uchida [Mon, 11 Dec 2017 02:40:59 +0000 (11:40 +0900)]
Add a test fot #2260
Nick Cameron [Mon, 11 Dec 2017 02:39:55 +0000 (15:39 +1300)]
Merge pull request #2261 from topecongiro/replace-string-buffer
Replace `StringBuffer` with `String`
Seiichi Uchida [Mon, 11 Dec 2017 02:37:13 +0000 (11:37 +0900)]
Trim a trailing whitespace on empty line inside code block comment
Seiichi Uchida [Sun, 10 Dec 2017 08:41:02 +0000 (17:41 +0900)]
Fix indent issue when recovering comments
Closes #1989
Seiichi Uchida [Sun, 10 Dec 2017 08:40:51 +0000 (17:40 +0900)]
Replace StringBuffer with String
Nick Cameron [Sun, 10 Dec 2017 20:35:30 +0000 (09:35 +1300)]
0.3.0