]> git.lizzy.rs Git - rust.git/log
rust.git
6 years agorecover suppressed comma
csmoe [Mon, 4 Jun 2018 11:10:09 +0000 (19:10 +0800)]
recover suppressed comma

6 years agofix tests
csmoe [Thu, 31 May 2018 10:34:06 +0000 (18:34 +0800)]
fix tests

6 years agosnuggle where
csmoe [Thu, 31 May 2018 10:33:45 +0000 (18:33 +0800)]
snuggle where

6 years agosuppress and compress
csmoe [Thu, 31 May 2018 09:58:48 +0000 (17:58 +0800)]
suppress and compress

6 years agoUpdate rustc-ap-* -> 149 (#2748)
Alex Butler [Tue, 29 May 2018 23:22:49 +0000 (00:22 +0100)]
Update rustc-ap-* -> 149 (#2748)

6 years agoMerge pull request #2745 from alexheretic/master
Seiichi Uchida [Tue, 29 May 2018 00:05:33 +0000 (09:05 +0900)]
Merge pull request #2745 from alexheretic/master

Update rustc-ap-* -> 148.0.0

6 years agoAdd mercy for devs that run `cargo test` without building
Alex Butler [Mon, 28 May 2018 23:38:47 +0000 (00:38 +0100)]
Add mercy for devs that run `cargo test` without building

6 years agoUpdate rustc-ap-* -> 148
Alex Butler [Mon, 28 May 2018 22:41:08 +0000 (23:41 +0100)]
Update rustc-ap-* -> 148

6 years ago0.8.2
Nick Cameron [Sun, 27 May 2018 23:47:21 +0000 (11:47 +1200)]
0.8.2

6 years agoMake Range public
Nick Cameron [Sun, 27 May 2018 23:30:58 +0000 (11:30 +1200)]
Make Range public

0.8.1

6 years ago0.8.0
Nick Cameron [Sun, 27 May 2018 23:23:14 +0000 (11:23 +1200)]
0.8.0

6 years agoFIXME for <-
Nick Cameron [Sun, 27 May 2018 23:15:15 +0000 (11:15 +1200)]
FIXME for <-

6 years agoUpgrade again
Nick Cameron [Sun, 27 May 2018 23:08:38 +0000 (11:08 +1200)]
Upgrade again

6 years agoUpgrade rustc-ap-syntax
Nick Cameron [Sun, 27 May 2018 22:57:13 +0000 (10:57 +1200)]
Upgrade rustc-ap-syntax

6 years agoMerge pull request #2742 from topecongiro/travis-remove-stdsimd-from-allow-failure
Nick Cameron [Sun, 27 May 2018 22:19:20 +0000 (10:19 +1200)]
Merge pull request #2742 from topecongiro/travis-remove-stdsimd-from-allow-failure

Remove stdsimd from allow-failure crates

6 years agoMerge pull request #2739 from thibaultdelor/fixWindowsTest
Nick Cameron [Sun, 27 May 2018 22:13:09 +0000 (10:13 +1200)]
Merge pull request #2739 from thibaultdelor/fixWindowsTest

Fix test failing on windows due to crlf

6 years agoRemove stdsimd from allow-failure crates
topecongiro [Sun, 27 May 2018 22:12:32 +0000 (07:12 +0900)]
Remove stdsimd from allow-failure crates

6 years agoMerge pull request #2733 from topecongiro/issue-2727
Nick Cameron [Sun, 27 May 2018 22:12:23 +0000 (10:12 +1200)]
Merge pull request #2733 from topecongiro/issue-2727

Trim unnecessary whitespaces between a macro call and a semicolon

6 years agoCargo update
topecongiro [Sun, 27 May 2018 22:07:46 +0000 (07:07 +0900)]
Cargo update

6 years agoMerge pull request #2735 from Pazzaz/string-changes
Seiichi Uchida [Sun, 27 May 2018 21:53:11 +0000 (06:53 +0900)]
Merge pull request #2735 from Pazzaz/string-changes

Some changes to rewrite_string

6 years agoAdd a comment to describe hack
topecongiro [Sun, 27 May 2018 21:44:52 +0000 (06:44 +0900)]
Add a comment to describe hack

6 years agoFix test failing on windows due to crlf
Tibo [Sat, 26 May 2018 17:15:26 +0000 (03:15 +1000)]
Fix test failing on windows due to crlf

6 years agoSeperate and optimize grapheme conditions
Pazzaz [Thu, 24 May 2018 18:08:29 +0000 (20:08 +0200)]
Seperate and optimize grapheme conditions

6 years agoAvoid unnecessary comparisons with cur_end
Pazzaz [Thu, 24 May 2018 17:50:34 +0000 (19:50 +0200)]
Avoid unnecessary comparisons with cur_end

6 years agoMerge pull request #2734 from andjo403/isatty
Nick Cameron [Thu, 24 May 2018 02:07:57 +0000 (14:07 +1200)]
Merge pull request #2734 from andjo403/isatty

update isatty to remove 3 dependencies

6 years agoMerge pull request #2732 from topecongiro/issue-2691
Nick Cameron [Thu, 24 May 2018 01:31:08 +0000 (13:31 +1200)]
Merge pull request #2732 from topecongiro/issue-2691

Format code block with sharp prefix

6 years agoupdate isatty to remove 3 dependencies
Andreas Jonson [Wed, 23 May 2018 20:09:25 +0000 (22:09 +0200)]
update isatty to remove 3 dependencies

6 years agoDo not call format_missing_inner in a common case
topecongiro [Wed, 23 May 2018 15:14:05 +0000 (00:14 +0900)]
Do not call format_missing_inner in a common case

We use `format_missing()` to extract a missing comment between a macro
(or alike) and a trailing semicolon. This commit just tries to avoid calling
`format_missing_inner` in the common case where there is no such comment.

This is a hack, ideally we should fix a possible bug in `format_missing_inner`
or refactor `visit_mac` and `rewrite_macro`, but this should suffice to fix the
issue.

6 years agoAdd a test for #2727
topecongiro [Wed, 23 May 2018 15:13:56 +0000 (00:13 +0900)]
Add a test for #2727

6 years agoFormat code block with sharp prefix
topecongiro [Wed, 23 May 2018 14:30:07 +0000 (23:30 +0900)]
Format code block with sharp prefix

by hiding lines with a leading `#` behind a custom comment.

6 years agoHandle code block in doc comment without rust prefix
topecongiro [Wed, 23 May 2018 14:29:28 +0000 (23:29 +0900)]
Handle code block in doc comment without rust prefix

6 years agoAdd a test for #2691
topecongiro [Wed, 23 May 2018 14:29:18 +0000 (23:29 +0900)]
Add a test for #2691

6 years agoMerge pull request #2730 from topecongiro/issue-2704
Nick Cameron [Wed, 23 May 2018 08:10:49 +0000 (20:10 +1200)]
Merge pull request #2730 from topecongiro/issue-2704

Disallow combining a method call with prefix or suffix

6 years agoFix integration tests
Nick Cameron [Wed, 23 May 2018 01:11:12 +0000 (13:11 +1200)]
Fix integration tests

6 years agoMerge pull request #2731 from topecongiro/rustc-ap-syntax
Nick Cameron [Tue, 22 May 2018 23:24:56 +0000 (11:24 +1200)]
Merge pull request #2731 from topecongiro/rustc-ap-syntax

Update rustc-ap-syntax

6 years agoCargo fmt
topecongiro [Tue, 22 May 2018 22:22:59 +0000 (07:22 +0900)]
Cargo fmt

6 years agoDisallow combining a method call with prefix or suffix
topecongiro [Tue, 22 May 2018 22:22:42 +0000 (07:22 +0900)]
Disallow combining a method call with prefix or suffix

6 years agoAdd tests for #2704.
topecongiro [Tue, 22 May 2018 22:22:30 +0000 (07:22 +0900)]
Add tests for #2704.

6 years agoFix breaking changes from introducing AnonConst
topecongiro [Tue, 22 May 2018 21:04:14 +0000 (06:04 +0900)]
Fix breaking changes from introducing AnonConst

6 years agoCargo update
Seiichi Uchida [Sun, 20 May 2018 10:21:28 +0000 (19:21 +0900)]
Cargo update

6 years agoMerge pull request #2726 from csmoe/label_break
Seiichi Uchida [Mon, 21 May 2018 22:16:05 +0000 (07:16 +0900)]
Merge pull request #2726 from csmoe/label_break

Format label break

6 years agofix label prefix
csmoe [Mon, 21 May 2018 14:19:26 +0000 (22:19 +0800)]
fix label prefix

6 years agoformat label break
csmoe [Mon, 21 May 2018 04:18:06 +0000 (12:18 +0800)]
format label break

6 years agodocumentation
Nick Cameron [Mon, 21 May 2018 03:54:56 +0000 (15:54 +1200)]
documentation

6 years agoReplace `use_colored_tty` with iatty crate
Nick Cameron [Mon, 21 May 2018 03:32:27 +0000 (15:32 +1200)]
Replace `use_colored_tty` with iatty crate

6 years agoRemove `format_and_emit_report` from the API
Nick Cameron [Mon, 21 May 2018 03:09:17 +0000 (15:09 +1200)]
Remove `format_and_emit_report` from the API

Also changes the header/footer stuff

6 years agoReplace WriteMode with EmitMode and backup bool
Nick Cameron [Mon, 21 May 2018 02:11:15 +0000 (14:11 +1200)]
Replace WriteMode with EmitMode and backup bool

6 years agoUse our own `FileName` struct rather than exporting libsyntax's
Nick Cameron [Mon, 21 May 2018 00:01:31 +0000 (12:01 +1200)]
Use our own `FileName` struct rather than exporting libsyntax's

6 years agoRefactor CliOptions
Nick Cameron [Sun, 20 May 2018 23:16:05 +0000 (11:16 +1200)]
Refactor CliOptions

6 years agoMerge pull request #2715 from nrc/integr
Nick Cameron [Sun, 20 May 2018 21:04:23 +0000 (09:04 +1200)]
Merge pull request #2715 from nrc/integr

Fix and tweak integration tests

6 years agoRationalise result and error types
Nick Cameron [Sat, 19 May 2018 04:44:48 +0000 (16:44 +1200)]
Rationalise result and error types

6 years agoRationalise error types
Nick Cameron [Sat, 19 May 2018 04:11:30 +0000 (16:11 +1200)]
Rationalise error types

cc #2639

6 years agoMake `format_snippet` and `format_code_block` private
Nick Cameron [Sat, 19 May 2018 03:43:29 +0000 (15:43 +1200)]
Make `format_snippet` and `format_code_block` private

cc #2639

6 years agoFix and tweak integration tests
Nick Cameron [Fri, 18 May 2018 05:38:30 +0000 (17:38 +1200)]
Fix and tweak integration tests

6 years agoMerge pull request #2725 from davidalber/nightly-travis-snippet
Nick Cameron [Sun, 20 May 2018 20:04:10 +0000 (08:04 +1200)]
Merge pull request #2725 from davidalber/nightly-travis-snippet

Use nightly Rust in Travis CI config snippet

6 years agoUse nightly Rust in Travis CI config snippet
David Alber [Sat, 19 May 2018 04:18:49 +0000 (21:18 -0700)]
Use nightly Rust in Travis CI config snippet

The current stable rustfmt (rustfmt 0.4.1-stable) does not contain
the `--check` flag, which is used in the Travis config snippet.
Once a new stable version is released, the snippet can be switched
back to stable Rust.

6 years agoFix and tweak integration tests
Nick Cameron [Fri, 18 May 2018 05:38:30 +0000 (17:38 +1200)]
Fix and tweak integration tests

6 years agoMerge pull request #2723 from topecongiro/rustc-ap-syntax
Nick Cameron [Fri, 18 May 2018 23:47:36 +0000 (11:47 +1200)]
Merge pull request #2723 from topecongiro/rustc-ap-syntax

Update rustc-ap-syntax

6 years agoFix breaking changes from rustc-ap-syntax
topecongiro [Fri, 18 May 2018 23:38:50 +0000 (08:38 +0900)]
Fix breaking changes from rustc-ap-syntax

cc https://github.com/rust-lang/rust/pull/50045.

6 years agoCargo update
topecongiro [Sun, 13 May 2018 08:34:52 +0000 (17:34 +0900)]
Cargo update

6 years agoMerge pull request #2720 from tlively/pub-auto-trait
Nick Cameron [Fri, 18 May 2018 23:31:59 +0000 (11:31 +1200)]
Merge pull request #2720 from tlively/pub-auto-trait

Fix position of auto in auto trait declaration

6 years agoMerge pull request #2718 from pbougue/doc_remove_write-mode
Nick Cameron [Fri, 18 May 2018 23:29:25 +0000 (11:29 +1200)]
Merge pull request #2718 from pbougue/doc_remove_write-mode

Remove "write-mode" from doc

6 years agoFix position of auto in auto trait declaration
Thomas Lively [Fri, 18 May 2018 21:25:33 +0000 (17:25 -0400)]
Fix position of auto in auto trait declaration

6 years agoRemove "write-mode" from doc
Pierre-Etienne Bougue [Fri, 18 May 2018 14:40:58 +0000 (16:40 +0200)]
Remove "write-mode" from doc

"write-mode" param is now deleted
and mentioning it in doc was misleading

6 years agoMerge pull request #2717 from gnzlbg/more_io
Nick Cameron [Fri, 18 May 2018 09:13:17 +0000 (21:13 +1200)]
Merge pull request #2717 from gnzlbg/more_io

try harder to print output

6 years agotry harder to print output
gnzlbg [Fri, 18 May 2018 08:46:14 +0000 (10:46 +0200)]
try harder to print output

6 years agoFixup integration tests
Nick Cameron [Fri, 18 May 2018 05:11:02 +0000 (17:11 +1200)]
Fixup integration tests

6 years agoRemove `remove_blank_lines_at_start_or_end_of_block`
Nick Cameron [Fri, 18 May 2018 04:56:55 +0000 (16:56 +1200)]
Remove `remove_blank_lines_at_start_or_end_of_block`

cc #1974

6 years agoUnstabilise `unstable_features`
Nick Cameron [Fri, 18 May 2018 04:53:08 +0000 (16:53 +1200)]
Unstabilise `unstable_features`

cc #1974

6 years agostabilise `remove_nested_parens` and set default to true
Nick Cameron [Fri, 18 May 2018 04:41:21 +0000 (16:41 +1200)]
stabilise `remove_nested_parens` and set default to true

6 years agostabilise shorthand options
Nick Cameron [Fri, 18 May 2018 04:37:55 +0000 (16:37 +1200)]
stabilise shorthand options

cc #1974

6 years agoRemove spaces_within_parens_and_brackets
Nick Cameron [Fri, 18 May 2018 04:35:09 +0000 (16:35 +1200)]
Remove spaces_within_parens_and_brackets

cc #1974

6 years agoStabilise reorder_imports and reorder_modules
Nick Cameron [Fri, 18 May 2018 04:04:09 +0000 (16:04 +1200)]
Stabilise reorder_imports and reorder_modules

6 years agoUnstabilise comments options
Nick Cameron [Fri, 18 May 2018 04:02:05 +0000 (16:02 +1200)]
Unstabilise comments options

cc #1974

6 years agoFix example travis config
Nick Cameron [Fri, 18 May 2018 03:43:20 +0000 (15:43 +1200)]
Fix example travis config

Closes #2688

6 years agoExit with 1 for license check in `--check` mode
Nick Cameron [Fri, 18 May 2018 03:30:32 +0000 (15:30 +1200)]
Exit with 1 for license check in `--check` mode

Closes #2707

6 years agoMerge pull request #2712 from phansch/shallow_clone_in_integration_tests
Nick Cameron [Thu, 17 May 2018 08:41:13 +0000 (20:41 +1200)]
Merge pull request #2712 from phansch/shallow_clone_in_integration_tests

Shallow clone in integration tests

6 years agoShallow clone in integration tests
Philipp Hansch [Wed, 16 May 2018 17:15:51 +0000 (19:15 +0200)]
Shallow clone in integration tests

This should make cloning a bit faster for all the integration tests.

6 years agoMerge pull request #2708 from sinkuu/saturating_sub
Nick Cameron [Tue, 15 May 2018 21:02:41 +0000 (09:02 +1200)]
Merge pull request #2708 from sinkuu/saturating_sub

Use `saturating_sub` instead of `checked_sub.unwrap_or`

6 years agoMerge pull request #2709 from gnzlbg/cio
Nick Cameron [Tue, 15 May 2018 21:00:10 +0000 (09:00 +1200)]
Merge pull request #2709 from gnzlbg/cio

output the result of rustfmt on ci

6 years agooutput the result of rustfmt on ci
gnzlbg [Tue, 15 May 2018 17:55:56 +0000 (19:55 +0200)]
output the result of rustfmt on ci

6 years agoUse saturating_sub
Shotaro Yamada [Mon, 14 May 2018 12:58:57 +0000 (21:58 +0900)]
Use saturating_sub

6 years agoMerge pull request #2703 from nrc/attrs
Nick Cameron [Tue, 15 May 2018 09:42:43 +0000 (21:42 +1200)]
Merge pull request #2703 from nrc/attrs

Use scoped attributes for skip attribute

6 years agoFixup failing integration tests
Nick Cameron [Tue, 15 May 2018 08:38:04 +0000 (20:38 +1200)]
Fixup failing integration tests

6 years agoGive a deprecation warning on `rustfmt_skip` and an error on `rustfmt::` other than...
Nick Cameron [Mon, 14 May 2018 06:01:53 +0000 (18:01 +1200)]
Give a deprecation warning on `rustfmt_skip` and an error on `rustfmt::` other than `skip`

6 years agoUpdate uses of `rustfmt_skip` to `rustfmt::skip`
Nick Cameron [Mon, 14 May 2018 04:25:10 +0000 (16:25 +1200)]
Update uses of `rustfmt_skip` to `rustfmt::skip`

6 years agoSkip on `rustfmt::skip` as well as `rustfmt_skip`
Nick Cameron [Mon, 14 May 2018 04:11:55 +0000 (16:11 +1200)]
Skip on `rustfmt::skip` as well as `rustfmt_skip`

6 years agoFormat attributes with paths
Nick Cameron [Mon, 14 May 2018 04:04:15 +0000 (16:04 +1200)]
Format attributes with paths

6 years ago0.7.0
Nick Cameron [Sun, 13 May 2018 23:09:40 +0000 (11:09 +1200)]
0.7.0

6 years agoReorder the --help message
Nick Cameron [Sun, 13 May 2018 23:07:54 +0000 (11:07 +1200)]
Reorder the --help message

6 years agoMake some write modes unstable
Nick Cameron [Sun, 13 May 2018 22:41:15 +0000 (10:41 +1200)]
Make some write modes unstable

6 years agoSupport unstable options
Nick Cameron [Sun, 13 May 2018 22:20:51 +0000 (10:20 +1200)]
Support unstable options

cc #1976

6 years agoReplace `--write-mode` with `--emit`
Nick Cameron [Sun, 13 May 2018 02:13:24 +0000 (14:13 +1200)]
Replace `--write-mode` with `--emit`

cc #1976

6 years agoAdd `--backup` flag
Nick Cameron [Sun, 13 May 2018 01:18:08 +0000 (13:18 +1200)]
Add `--backup` flag

6 years agoMerge pull request #2700 from Pazzaz/master
Nick Cameron [Sat, 12 May 2018 22:04:38 +0000 (10:04 +1200)]
Merge pull request #2700 from Pazzaz/master

Remove unnecessary use of Box in `format_function_type`

6 years agoMerge pull request #2702 from andjo403/bump
Nick Cameron [Sat, 12 May 2018 22:03:19 +0000 (10:03 +1200)]
Merge pull request #2702 from andjo403/bump

Update regex, assert_cli, env_logger, rustc-ap-{rustc_target, syntax}

6 years agoUpdate regex, assert_cli, env_logger, rustc-ap-{rustc_target, syntax}
Andreas Jonson [Sat, 12 May 2018 16:58:27 +0000 (18:58 +0200)]
Update regex, assert_cli, env_logger, rustc-ap-{rustc_target, syntax}

this update removes 15 dependencies

6 years agoRemove unnecessary use of Box in `format_function_type`
Pazzaz [Sat, 12 May 2018 08:53:06 +0000 (10:53 +0200)]
Remove unnecessary use of Box in `format_function_type`

6 years agoFix build failure (#2699)
Seiichi Uchida [Sat, 12 May 2018 01:36:34 +0000 (10:36 +0900)]
Fix build failure (#2699)

6 years agoMerge pull request #2693 from gnzlbg/integration
Seiichi Uchida [Fri, 11 May 2018 13:12:37 +0000 (22:12 +0900)]
Merge pull request #2693 from gnzlbg/integration

Add integration tests against crates in the rust-lang-nursery