Commit graph

3422 commits

Author SHA1 Message Date
Oliver Schneider
1d6adf2105 Don't cache builds on travis 2017-08-07 13:34:36 +02:00
Pascal Hertleif
02f2035389 Docs index: Sort versions in a nice way
This introduces a very sophisticated algorithm to determine the ordering
of versions on the rendered docs' start page.

(Spoiler alert: It maps "master" and "current" to the largest possible
float values and converts a version like "1.2.3" to "1002003".)
2017-08-07 13:00:43 +02:00
Oliver Schneider
cc5d1065fb Merge pull request #1923 from killercup/feature/1917-docs-versions-index
Generate version index for docs domain index
2017-08-07 08:39:43 +02:00
Andre Bogus
f515d7bb67 Change all links to reflect the move to rust-lang-nursery 2017-08-06 23:10:55 +02:00
Andre Bogus
878333fd6c Bump the version 2017-08-06 22:50:19 +02:00
Andre Bogus
0670d0b59b fixing dogfood 2017-08-06 11:09:53 +02:00
llogiq
4bb2d61b4a Merge pull request #1929 from Frederick888/fix-1928
Try to fix #1928
2017-08-06 08:57:32 +02:00
Frederick Zhang
4de37160bb fix ConstFloat usage 2017-08-06 15:06:21 +10:00
Oliver Schneider
21a46c21c6 Merge pull request #1913 from rust-lang-nursery/while_let_loop
Find binding or assignment within outer loop
2017-08-04 10:16:52 +02:00
Andre Bogus
76ca4dca85 unify checks into single visitor, fix block walk 2017-08-04 07:48:43 +02:00
Andre Bogus
3b7f3dc8e7 WIP: Find binding or assignment within outer loop 2017-08-03 22:11:58 +02:00
Pascal Hertleif
b3c90efcb4 Generate version index for docs domain index
Uses basically the same code as the lint docs page as I didn't want to
reinvent anything: A simple python script (inline in deploy script)
writes an array of versions to a JSON file, which gets turned into a
list of links using a bit of angular.js code.

Fixes #1917
2017-08-03 21:21:59 +02:00
Pascal Hertleif
0527dbaddf Update URL in rendered docs Github ribbon
[ci skip]
2017-08-03 21:21:59 +02:00
Martin Carton
75faed13b4 Merge pull request #1922 from rust-lang-nursery/compiletest_update
Update to latest compiletest version
2017-08-02 19:51:59 +02:00
Oliver Schneider
9b3ea4264f Update to latest compiletest version 2017-08-02 18:07:05 +02:00
Oliver Schneider
49b00ec440 Merge pull request #1919 from rust-lang-nursery/ui
Move all our tests back to ui tests
2017-08-02 18:03:35 +02:00
Oliver Schneider
b1eec6b402 Remove all references to clippy_tests 2017-08-02 17:24:07 +02:00
Oliver Schneider
70cc9509c1
Revert "Update contribution instructions to the new system"
This reverts commit 5ed2066dca.
2017-08-02 12:46:06 +02:00
Oliver Schneider
74c776585c Move all our tests back to ui tests 2017-08-01 17:54:21 +02:00
Oliver Schneider
5595027018 Merge pull request #1869 from rust-lang-nursery/new_lint
Lint authoring tool
2017-08-01 16:05:11 +02:00
Oliver Schneider
45bb3ec072 Produce backtrace on travis 2017-08-01 15:40:57 +02:00
Oliver Schneider
19a9441f85 Update to latest rustc diagnostic output 2017-08-01 13:11:48 +02:00
Oliver Schneider
6bdb597a9f Fix some more dogfood issues 2017-08-01 13:05:57 +02:00
Oliver Schneider
a5fe4bed0e
The lint doesn't improve perf (yet) 2017-08-01 12:55:53 +02:00
Oliver Schneider
7102442a4b
Use the authoring tool to create a new lint 2017-08-01 12:55:52 +02:00
Oliver Schneider
3a61b452a2
Create a lint authoring helper (generates matching code) 2017-08-01 12:55:52 +02:00
Oliver Schneider
86d6cec138 Fix the config regex for the wiki generator 2017-08-01 10:33:16 +02:00
Oliver Schneider
5864072eca Run rustfmt 2017-08-01 10:19:49 +02:00
Oliver Schneider
deed00a0a4
Bump the version 2017-08-01 10:19:18 +02:00
Oliver Schneider
c9d9619eed update_lints.sh has a different opinion on ordering things 2017-08-01 10:18:56 +02:00
Oliver Schneider
b4d70c9420 Merge pull request #1900 from jayhardee9/luckily_literals_love_lints
Add lints for digit grouping.
2017-08-01 10:15:29 +02:00
Oliver Schneider
9d8d2d87c3 More autoclippyification 2017-08-01 09:55:17 +02:00
Oliver Schneider
4fa6f83708 Clippy fixes itself 2017-08-01 09:45:36 +02:00
Oliver Schneider
a1c3870c4e Merge pull request #1915 from Frederick888/fix-1914
Try to fix #1914
2017-08-01 09:35:59 +02:00
Frederick Zhang
9539df06c6 use BindingAnnotation instead of BindingMode 2017-08-01 17:17:38 +10:00
Jay Hardee
9b78086ab3 Fix hints from misc_early 2017-07-31 20:20:27 -04:00
Jay Hardee
5dbdfc1836 Update stderr files. 2017-07-31 20:02:53 -04:00
Jay Hardee
500857c944 Merge remote-tracking branch 'upstream/master' into luckily_literals_love_lints 2017-07-31 19:17:42 -04:00
Jay Hardee
06fd8784d7 Loose ends and factor out consistency logic. 2017-07-31 19:06:51 -04:00
Jay Hardee
3b56965242 Use DigitInfo instead of get_digits(). 2017-07-31 19:06:51 -04:00
Jay Hardee
a6cb1189dd do_lint() shouldn't format warnings. 2017-07-31 19:06:51 -04:00
Jay Hardee
471b6811d8 Implement method for digit grouping suggestions 2017-07-31 19:06:51 -04:00
Jay Hardee
fbbd788799 Add some structs for cleaning up lint logic later.
DigitInfo for storing radix, type, digits of a literal.
WarningType for making warning messages consistent.
2017-07-31 19:06:50 -04:00
Jay Hardee
017b77ae05 rustfmt 2017-07-31 19:06:50 -04:00
Matt Kraai
937a0aa20a Update from upstream. 2017-07-31 19:06:23 -04:00
Oliver Schneider
f1fa1768a2 Merge pull request #1909 from Arnavion/fix-manifest-path
Canonicalize --manifest-path argument before comparing it to cargo metadata.
2017-07-31 22:42:17 +02:00
Oliver Schneider
dfbc8990eb Update .travis.yml 2017-07-31 13:10:04 +02:00
Oliver Schneider
41c96908cc
Bump the version 2017-07-31 12:38:29 +02:00
Oliver Schneider
9967e9aacc Update to latest master 2017-07-31 12:37:38 +02:00
Oliver Schneider
c518847c8a
Merge remote-tracking branch 'origin/master' 2017-07-31 09:19:25 +02:00