Commit Graph

278 Commits

Author SHA1 Message Date
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
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
topecongiro
154ccf6a02 Do not force trailing comma when using mixed layout 2019-01-31 23:44:58 +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
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
Otavio Salvador
38e7f249d2 Cargo.lock: update cargo_metadata to 0.6.1 release
The update is especially important as it adds support for the
`edition` field handling, when parsing `cargo` metadata.

Refs: #3104.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-10-23 02:33:30 -03: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
Shotaro Yamada
e64a6d371b Cargo.lock 2018-10-15 23:59:24 +09: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
Seiichi Uchida
22602045ab Cargo update 2018-05-30 08:44:57 +09:00
Alex Butler
f390626778 Update rustc-ap-* -> 149 (#2748) 2018-05-30 08:22:49 +09:00
Alex Butler
5473c3fd92 Update rustc-ap-* -> 148 2018-05-28 23:41:08 +01:00
Nick Cameron
173ae0d7b9 0.8.2 2018-05-28 11:47:21 +12:00
Nick Cameron
d930617cbe Make Range public
0.8.1
2018-05-28 11:30:58 +12:00
Nick Cameron
ee5fda8f25 0.8.0 2018-05-28 11:23:14 +12:00
Nick Cameron
50dfd064eb Upgrade again 2018-05-28 11:08:38 +12:00
Nick Cameron
2c275a2f68 Upgrade rustc-ap-syntax 2018-05-28 10:57:13 +12:00
topecongiro
926d47db4d Cargo update 2018-05-28 07:07:46 +09:00
Andreas Jonson
619bb0cd9a update isatty to remove 3 dependencies 2018-05-23 22:09:25 +02:00
Seiichi Uchida
6c7c770c80 Cargo update 2018-05-23 06:04:32 +09:00
Nick Cameron
6541be3c6f Replace use_colored_tty with iatty crate 2018-05-21 15:32:27 +12:00
topecongiro
82e81d7ed1 Cargo update 2018-05-19 08:39:40 +09:00
Nick Cameron
634ca02fd8 0.7.0 2018-05-14 11:09:40 +12:00
Andreas Jonson
195395f166 Update regex, assert_cli, env_logger, rustc-ap-{rustc_target, syntax}
this update removes 15 dependencies
2018-05-12 18:58:27 +02:00
Nick Cameron
0cc4a8d848 Update rustc_ap_syntax 2018-05-06 09:57:26 +12:00
Nick Cameron
43af1ba77a 0.6.1 2018-05-02 09:49:47 +12:00
Ryan Leung
fb9a5add9b add rustc_target to dependencies (#2660) 2018-04-28 16:08:58 +09:00
Tibo
efb8069cfc
Replace std::Error with failure for FormatDiff 2018-04-26 12:18:20 +10:00
Seiichi Uchida
ac8ae00625
Cargo update and clippy (#2643) 2018-04-25 07:21:23 +09:00
Nick Cameron
866900449a Make some more stuff private
0.6
2018-04-20 22:10:48 +12:00
Nick Cameron
ca610d35b3 Refactor to make a sensible public API
0.5 - lots of breaking changes

cc #2639
2018-04-20 21:52:02 +12:00
David Barsky
f9532ba8d7 Implemented rough draft of check write mode. (#2539)
* Add rough draft of `check` mode. Not unit tested.

* Added assert-cli; simple test case for `--write-mode=check`

* Lightly documented `check` WriteMode

* wrote clearer phrasing for config::options::WriteMode::Check

* Implemented default for WriteMode where default is Overwrite

* Simplified exit code handling

* updated README.md as per @nrc' comment

* collapsed exit-code handling

* Removed write_mode from Summary, introduced partial option parsing earlier

* Handle write-mode parsing in a slightly better way.
2018-04-20 11:14:11 +12:00
Nick Cameron
dd807e2465 Update rustc_ap_syntax 2018-04-18 08:19:57 +12:00
csmoe
cef31b2841 update rustc-ap-syntax (#2622)
* update rustc-ap-syntax-100.0.0
2018-04-15 18:49:47 +09:00
Nick Cameron
aa7fc4cdc5 Update rustc-ap-syntax 2018-04-14 09:47:13 +12:00
Nick Cameron
84598bd990 Update rustc_ap_syntax 2018-04-13 10:34:23 +12:00
Nick Cameron
febbb36937 nightly-0.4.2 2018-04-12 17:06:30 +12:00
Seiichi Uchida
0a2f01483b Cargo update 2018-04-12 12:48:27 +09:00
csmoe
84d3659767 update rustc syntax 91.0.0 2018-04-08 22:22:11 +08:00
Seiichi Uchida
edcc7b69eb
Cargo update (#2602)
Update `rustc-ap-syntax` to 89.0.0 and fix up breaking changes.
2018-04-06 23:09:45 +09:00
Seiichi Uchida
73e7235317
Cargo update (#2575)
Update `rustc-ap-syntax` to 82.0.0.
2018-03-30 17:52:09 +09:00
topecongiro
32ab7f4967 Cargo update
Update rustc-ap-syntax to 73.0.0.
2018-03-22 15:53:08 +09:00
topecongiro
87180d9065 0.4.1 2018-03-16 08:58:25 +09:00
topecongiro
a03b3b7d6f Cargo update
Remove `rustc-ap-rustc_errors` from dependencies since it
is re-exported from `rustc-ap-syntax`.
2018-03-16 08:52:36 +09:00
Seiichi Uchida
a353294fe4 Cargo update
Update `rustc-ap-syntax` to `67.0.0`.
2018-03-15 18:55:31 +09:00
Nick Cameron
bcaeab7a5e
Merge pull request #2527 from topecongiro/issue-2526
Check whether '\\'' is char literal or lifetime
2018-03-12 11:25:40 +13:00
Seiichi Uchida
86a427fe32 Check whether '\\'' is char literal or lifetime 2018-03-10 01:19:38 +09:00
Bastien Orivel
a1dd6bd930 Dedupe syn/quote 2018-03-09 16:12:22 +01:00
Seiichi Uchida
a6b574bfa7 Cargo update and cargo clippy 2018-03-08 18:10:23 +09:00
Seiichi Uchida
64d838490a Cargo update
Bump `rustc-ap-syntax` and `rustc-ap-rustc_errors` to `57.0.0`.
2018-03-06 19:45:17 +09:00
Bastien Orivel
64f6372f32 Bump winapi to 0.3 2018-03-02 15:20:26 +01:00
Bastien Orivel
5f4eb0f17e Bump log to 0.4 and env_logger to 0.5 2018-03-02 13:08:23 +01:00
Nick Cameron
39301ae5f2 Go back to a non-workspace structure
Kinda reverts https://github.com/rust-lang-nursery/rustfmt/pull/2419
2018-03-02 14:58:23 +13:00
Nick Cameron
6154f2b3e5 Fix build 2018-03-02 14:25:26 +13:00