Commit Graph

335 Commits

Author SHA1 Message Date
Caleb Cartwright
01f2eadccc bump rustfmt version to v1.4.21 2020-09-04 19:01:18 -05:00
Caleb Cartwright
d00849e226 deps: bump rustc-ap to v677 2020-09-04 19:01:18 -05:00
Caleb Cartwright
637ddfb6da deps: bump rustc-ap to v673 2020-09-04 19:01:18 -05:00
Caleb Cartwright
e4617e0e61 deps: bump rustc-ap to v672 2020-09-04 19:01:18 -05:00
Caleb Cartwright
a88f0288b3
deps: bump rustc-ap to v671 (#4356) 2020-08-06 19:22:20 -05:00
Caleb Cartwright
391cd3e324 deps: bump rustc-ap to v669 2020-07-14 21:36:24 -05:00
Caleb Cartwright
b243075d75 deps: bump rustc-ap-* to v668 2020-07-09 23:15:08 -05:00
Caleb Cartwright
da18032ba4 deps: bump rustc-ap* to v666 2020-06-27 13:15:54 -05:00
topecongiro
c1e9b7b874
Release v1.4.18 2020-06-13 09:46:28 +09:00
David Tolnay
bc9a0b2974 Switch to std::error::Error for errors (#3948) 2020-06-11 20:23:24 -05:00
Caleb Cartwright
de4ff814b0 deps: bump rustc-ap* to v664 2020-06-11 13:21:55 -05:00
topecongiro
de8238c618
Release v1.4.17 2020-06-08 10:48:46 +09:00
topecongiro
aedff61f7a
Release v1.4.15 2020-05-19 17:35:56 +09:00
Seiichi Uchida
577ef8136f
Update rustc-ap-* crates to 659.0.0 for rustfmt-1.4.15 (#4184) 2020-05-19 17:31:28 +09:00
topecongiro
a5cb5d2683
Release v1.4.14 2020-04-14 18:11:22 +09:00
Seiichi Uchida
ca4eba5872
Bump rustc-ap* crates to 654.0.0 (#4121) 2020-04-14 18:13:30 +09:00
Caleb Cartwright
c1267303bc
fix: formatting arbitrary extern abi (#4089) 2020-03-31 15:30:26 +09:00
Caleb Cartwright
ac2d5b85a5 deps: bump rustc-ap* to v651 2020-03-30 12:02:39 -05:00
Caleb Cartwright
b173b42354 refactor: rename libsyntax --> rustc_ast 2020-03-27 22:29:12 -05:00
Caleb Cartwright
9b0ed57af6 refactor: parse & mod resolver for rustc-ap v650 2020-03-27 21:33:34 -05:00
Caleb Cartwright
bd5dff4012 refactor: backport syntux mod 2020-03-26 21:25:34 -05:00
Caleb Cartwright
9699c96cf1 deps: bump to rustc v647 2020-03-26 17:20:24 -05:00
Caleb Cartwright
7a76ec062d deps: bump to rustc v644 2020-03-26 15:26:58 -05:00
Caleb Cartwright
c60416ed21 deps: update rustc-ap to v642.0.0 2020-02-08 22:21:37 -06:00
topecongiro
1838235248
Release v1.4.11 2019-12-03 08:49:39 +09:00
topecongiro
e47aae769e
Release v1.4.10 2019-10-25 15:21:44 +09:00
Ralf Jung
0497a7d609 bump rustc-ap crates (#3870) 2019-10-19 15:19:23 +09:00
topecongiro
33e3667085
Release v1.4.9 2019-10-07 10:35:59 +09:00
Seiichi Uchida
383306e5fe
Update rustc-ap-* crates to 606.0.0 (#3835) 2019-10-05 23:40:24 +09:00
topecongiro
afb1ee1c14
Release v1.4.8 2019-09-08 23:34:46 +09:00
Seiichi Uchida
ceca01465a
Update deps (#3788) 2019-09-08 23:33:21 +09:00
topecongiro
6fec3a69ec
Release v1.4.7 2019-09-06 22:51:13 +09:00
Seiichi Uchida
5baba86fe5
Update rustc-ap-* crates to 581.0.0 (#3783) 2019-09-06 22:41:03 +09:00
topecongiro
f800ce47d1
Release v1.4.6 2019-08-28 20:59:32 +09:00
topecongiro
1de58ce46d
Release v1.4.5 2019-08-13 23:26:54 +09:00
topecongiro
0462008de8
Release 1.4.4 2019-08-06 11:14:12 +09:00
topecongiro
3adfb08afe
Release 1.4.3 2019-08-03 00:01:59 +09:00
Igor Matuszewski
62a32e7b83 Fix most recenty nightly breakage due to removed await! support (#3722) 2019-08-02 23:54:39 +09:00
topecongiro
aeb3496f31
Release v1.4.2 2019-07-31 11:10:49 +09:00
Igor Matuszewski
175f228e95 Bump rustfmt-config_proc_macro to min v0.1.2 (#3715) 2019-07-31 11:05:08 +09:00
topecongiro
9e960e7d6a Release v1.4.1 2019-07-30 14:39:07 +09:00
rChaser53
fe05e88831 fix to build with rustc 1.38.0-nightly (4560cb830 2019-07-28) (#3712) 2019-07-30 14:32:38 +09:00
topecongiro
365461349d
Release 1.4.0 2019-07-29 05:58:18 +09:00
Seiichi Uchida
983a92c872
Update rustc-ap-* crates to 541.0.0 (#3707) 2019-07-29 05:52:45 +09:00
topecongiro
65931cd09d
Release 1.3.3 2019-07-15 22:47:10 +09:00
topecongiro
679c8d5f10
Release 1.3.2 2019-07-06 14:22:30 +09:00
topecongiro
44149d6ba4
Release 1.3.1 2019-06-30 13:20:32 +09:00
topecongiro
d33450247b
Rename config_proc_macro to rustfmt-config_proc_macro 2019-06-09 22:29:36 +09:00
Seiichi Uchida
0e3cf08ff1
Release 1.3.0 (#3611) 2019-06-09 21:28:57 +09:00
Seiichi Uchida
2244f326e6
Cargo update (#3559)
Update `rustc-ap-*` crates to 486.0.0.
2019-06-03 23:57:02 +09:00
Ivan Veselov
ed073a9b7c Use structopt for command line arguments parsing in cargo-fmt 2019-05-21 16:36:53 +01:00
Andy Russell
ee6f686cc9
use derive feature over serde_derive crate 2019-05-09 13:22:44 -04:00
topecongiro
ee02cdfb0b Add config_proc_macro 2019-04-27 18:55:13 +09:00
topecongiro
5274b49caa Release 1.2.2 2019-04-24 23:25:35 +09:00
topecongiro
b860feaffc Release 1.2.1 2019-04-18 07:26:52 +09:00
topecongiro
ebd9ef5c51 Cargo update 2019-04-18 07:26:22 +09:00
Ruben Schmidmeister
3dc625c661 Use annotate-snippets for emitting errors (#3507) 2019-04-17 05:33:36 -07:00
rChaser53
34bf13718a Allow specifying glob pattern to ignore config option (#3488) 2019-04-14 03:30:44 -07:00
topecongiro
09940a70d0 Release 1.2.0 2019-03-27 10:29:28 +09:00
topecongiro
b6dac248ec Release 1.1.1 2019-03-21 20:33:47 +09:00
topecongiro
1427e4c20b Release 1.1.0 2019-03-17 14:06:23 +09:00
Seiichi Uchida
ce5cccc32c
Update rustc-ap-* crates to 407.0.0 (#3447) 2019-03-14 22:50:53 +09:00
topecongiro
d6829d62dc 1.0.3 2019-02-14 11:27:55 +09:00
Seiichi Uchida
b58ba97780
Merge pull request #3401 from topecongiro/rustcap
Cargo update
2019-02-14 11:26:05 +09:00
topecongiro
9df1ed6ab4 Cargo update
Update `rustc-ap-*` crates to 373.0.0.
2019-02-14 11:08:05 +09:00
topecongiro
b700cde6b9 1.0.2 2019-02-14 10:54:22 +09:00
Stéphane Campinas
e28fae9974
Merge pull request #3328 from topecongiro/edition-2018
Use edition 2018
2019-02-08 09:35:27 +01:00
topecongiro
d956980de4 Use edition 2018 2019-02-08 00:22:34 +09:00
topecongiro
f4f9502ea7 Cargo update
- Update `rustc-ap-*` crates to 366.0.0
- Update the other crates to the latest stable
2019-02-06 23:06:15 +09:00
Mara Bos
24daa174ca Look for a global rustfmt.toml.
If no rustfmt.toml is found in the usual way, the directory 'rustfmt' in
the user's config directory is checked.

 - $XDG_CONFIG_HOME/rustfmt/ (or $HOME/.config/rustfmt/), or
 - $HOME/Library/Preferences/rustfmt/ on Mac, or
 - %AppData%\rustfmt\ on Windows.
2019-01-27 13:22:25 +01:00
Matthias Krüger
d44ee75438 update dependencies
update itertools from 0.7 to 0.8
update env_logger from 0.5 to 0.6
update cargo_metadata from 0.6 to 0.7
update bytecount from 0.4 to 0.5
2019-01-27 00:58:46 +01:00
wada314
a01990c4d0 Use Unicode-standard char width to wrap comments or strings. (#3275) 2019-01-15 08:41:09 +09:00
Andreas Jonson
836562baf4 remove deprecated dependency assert_cli 2018-12-14 23:32:08 +01:00
Nick Cameron
be135599ef 1.0.1 2018-12-10 10:51:26 +13:00
kngwyu
fd27eabbb7 Update rustc-ap-syntax to 306.0 2018-12-08 14:39:52 +09:00
Seiichi Uchida
9e7cfdb897 Cargo update
Update bytecount to 0.4, and use its generic feature.

Closes #3216.
2018-11-27 18:27:57 +09:00
Nick Cameron
378994b858 Add a version option 2018-11-27 14:18:14 +13:00
Nick Cameron
1cc61cfc2b 1.0.0 2018-11-19 16:45:11 +13:00
Nick Cameron
fa9fd5cd2e 0.99.9 2018-11-15 22:37:31 +13:00
Nick Cameron
f7ff0f8c89 Update rustc_ap_syntax 2018-11-15 21:44:30 +13:00
Seiichi Uchida
97fb3f8dc1 0.99.8 2018-11-14 20:26:18 +09:00
Seiichi Uchida
9534dfc062
Cargo update (#3186)
Update `rustc-ap-*` crates to 290.0.0.
2018-11-08 23:16:13 +09:00
Nick Cameron
e4652fb271 0.99.7 2018-11-08 09:24:46 +13:00
Nick Cameron
750b252613 Update rustc-ap-syntax 2018-10-18 15:44:31 +13:00
Alex Crichton
3d07646858 Add rustc-workspace-hack workaround like RLS/Cargo 2018-10-17 12:47:21 -07:00
Otavio Salvador
e203057db0 utils: rewrite count_newlines using bytecount::count
This uses a optimized byte count and also makes use of SIMD
instructions to optimize the processing of the byte arrays.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-10-14 18:27:35 -03:00
Otavio Salvador
0abc02fbfa Update rustc-ap-* to 272.0.0
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-10-10 21:53:25 -03:00
Otavio Salvador
0f3cc703fd Bump rustc-ap-* to 270.0.0
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-10-08 14:42:54 -03:00
Otavio Salvador
0279b7d02c Replace isatty crate with atty
The `isatty` crate has been deprecated and a replacement has been
released for it called `atty`. It offers a nicer API and the code
change to adapt is trivial.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-10-08 14:39:16 -03:00
Seiichi Uchida
5a6822c326 Cargo update 2018-10-07 00:39:49 +09:00
Nick Cameron
90692a5917 Update rustc_ap_syntax 2018-09-26 08:55:15 +12:00
Seiichi Uchida
e06f16a0a5 Cargo update 2018-09-11 13:52:46 +09:00
topecongiro
1704e24956 Cargo update 2018-09-04 00:17:26 +09:00
Nick Cameron
1c408818c8 nightly-0.99.4 2018-08-27 11:19:18 +12:00
Zach Lute
ca19c9a35a Fix build with rust nightly by updating try block syntax. (#2965) 2018-08-26 13:02:24 +09:00
cad97
04d804c365 Rename CodeMap/FileMap to SourceMap/SourceFile
#2946
2018-08-23 17:10:46 -04:00
Nick Cameron
693c7d69f9 nightly-0.99.3 2018-08-23 15:34:45 +12:00
Seiichi Uchida
9d9f2b18e4 Cargo update
Update `rustc-ap-*` to 230.0.0.
2018-08-19 00:26:11 +09:00
Nick Cameron
5c9a2b6c13 Update rustc-ap-syntax 2018-08-07 11:30:44 +12:00
Nick Cameron
da17b68959 0.99.1 2018-08-04 11:41:48 +12:00