Commit Graph

317 Commits

Author SHA1 Message Date
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
Nick Cameron
3d7d04d3e2 0.99.0 (1.0 RC) 2018-08-03 20:42:00 +12:00
Nick Cameron
4be12fa5d6 Update rustc-ap-syntax 2018-08-01 10:39:45 +12:00
kennytm
1e55de10f2
Update rustc-ap-syntax to 209.0.0.
This should fix the breakage caused by rust-lang/rust#51587.
2018-07-27 05:49:44 +08:00
Seiichi Uchida
0131110c97 Cargo update
Update `rustc-ap-*` to "206.0.0".
2018-07-25 00:22:27 +09:00
Nick Cameron
71d3d04270 factor out a Session object 2018-07-23 15:37:34 +12:00
Seiichi Uchida
52f9f7bbe2 Cargo update 2018-07-20 16:05:18 +09:00
Seiichi Uchida
e110d95f53 0.8.3 2018-07-14 22:18:12 +09:00
Seiichi Uchida
12775ed978
Cargo update (#2845) 2018-07-14 22:16:23 +09:00
Seiichi Uchida
276a768eb2 Cargo update
Add `rustc-ap-syntax_pos` to dependencies.
2018-07-09 23:09:14 +09:00
Nick Cameron
5e5992517d Update rustc-ap-syntax 2018-07-02 09:34:55 +12:00
Nick Cameron
f578e4f0c1 Update rustc-ap-syntax to 181 2018-07-02 08:45:09 +12:00
topecongiro
359c31d422 Cargo update
Update `rustc-ap-*` to 180.0.0.
2018-06-30 21:36:38 +09:00
topecongiro
eb1819d71e Cargo update 2018-06-30 15:53:22 +09:00
Seiichi Uchida
dd3e1d751f Cargo update
Update `rustc-ap-*` to 177.0.0.
2018-06-28 16:10:49 +09:00
topecongiro
ceda3679cc Cargo update
Update rustc-ap-* to 174.0.0.
2018-06-25 13:58:00 +09:00
Seiichi Uchida
68a6e696f2 Cargo update 2018-06-13 20:36:55 +09:00
csmoe
08da30d72c update rustc_ap_*-v156 (#2772) 2018-06-06 17:08:07 +09:00
Alex Butler
f390626778 Update rustc-ap-* -> 149 (#2748) 2018-05-30 08:22:49 +09:00