Skip to content

Commit 22dbb10

Browse files
author
Eric Reed
committed
---
yaml --- r: 65867 b: refs/heads/master c: 5393e43 h: refs/heads/master i: 65865: 6509e63 65863: 77c85c8 v: v3
1 parent d4d1b57 commit 22dbb10

File tree

1,007 files changed

+16761
-64231
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,007 files changed

+16761
-64231
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 2ef8774ac5b56ae264224d46ffa0078f5d39ce6c
2+
refs/heads/master: 5393e43b5355284cf24f8afcc2088473fa5a318a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 18e3db7392d2d0697b7e27d6d986139960144d85
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9

trunk/.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@
77
src/rt/msvc/* -whitespace
88
src/rt/vg/* -whitespace
99
src/rt/linenoise/* -whitespace
10-
src/rt/jemalloc/**/* -whitespace

trunk/.mailmap

Lines changed: 0 additions & 12 deletions
This file was deleted.

trunk/CONTRIBUTING.md

Lines changed: 16 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,27 @@
11
## Pull request procedure
22

3-
Pull requests should be targeted at Rust's `incoming` branch (note
4-
that by default Github will aim them at the `master` branch) -- see
5-
"Changing The Commit Range and Destination Repository" in Github's
6-
documentation on [pull
7-
requests](https://help.github.com/articles/using-pull-requests).
8-
Before pushing to your Github repo and issuing the pull request,
9-
please do two things:
3+
Pull requests should be targeted at Rust's `incoming` branch (note that by default Github will aim them at the `master` branch) --
4+
see "Changing The Commit Range and Destination Repository" in Github's documentation on [pull requests](https://help.github.com/articles/using-pull-requests).
5+
Before pushing to your Github repo and issuing the pull request, please do two things:
106

11-
1. [Rebase](http://git-scm.com/book/en/Git-Branching-Rebasing) your
12-
local changes against the `incoming` branch. Resolve any conflicts
13-
that arise.
7+
1. [Rebase](http://git-scm.com/book/en/Git-Branching-Rebasing) your local changes against the `incoming` branch. Resolve any conflicts that arise.
8+
2. Run the full Rust test suite with the `make check` command.
9+
You're not off the hook even if you just stick to documentation; code examples in the docs are tested as well!
1410

15-
2. Run the full Rust test suite with the `make check` command. You're
16-
not off the hook even if you just stick to documentation; code
17-
examples in the docs are tested as well!
11+
Pull requests will be treated as "review requests",
12+
and we will give feedback we expect to see corrected on [style](https://github.com/mozilla/rust/wiki/Note-style-guide) and substance before pulling.
13+
Changes contributed via pull request should focus on a single issue at a time, like any other.
14+
We will not accept pull-requests that try to "sneak" unrelated changes in.
1815

19-
Pull requests will be treated as "review requests", and we will give
20-
feedback we expect to see corrected on
21-
[style](https://github.com/mozilla/rust/wiki/Note-style-guide) and
22-
substance before pulling. Changes contributed via pull request should
23-
focus on a single issue at a time, like any other. We will not accept
24-
pull-requests that try to "sneak" unrelated changes in.
16+
Normally, all pull requests must include regression tests (see [Note-testsuite](https://github.com/mozilla/rust/wiki/Note-testsuite)) that test your change.
17+
Occasionally, a change will be very difficult to test for.
18+
In those cases, please include a note in your commit message explaining why.
2519

26-
Normally, all pull requests must include regression tests (see
27-
[Note-testsuite](https://github.com/mozilla/rust/wiki/Note-testsuite))
28-
that test your change. Occasionally, a change will be very difficult
29-
to test for. In those cases, please include a note in your commit
30-
message explaining why.
31-
32-
In the licensing header at the beginning of any files you change,
33-
please make sure the listed date range includes the current year. For
34-
example, if it's 2013, and you change a Rust file that was created in
35-
2010, it should begin:
20+
In the licensing header at the beginning of any files you change, please make sure the listed date range includes the current year.
21+
For example, if it's 2013, and you change a Rust file that was created in 2010, it should begin:
3622

3723
```
3824
// Copyright 2010-2013 The Rust Project Developers.
3925
```
4026

41-
For more details, please refer to
42-
[Note-development-policy](https://github.com/mozilla/rust/wiki/Note-development-policy).
27+
For more details, please refer to [Note-development-policy](https://github.com/mozilla/rust/wiki/Note-development-policy).

trunk/Makefile.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ ifneq ($(wildcard $(CFG_GIT)),)
146146
ifneq ($(wildcard $(CFG_GIT_DIR)),)
147147
CFG_VERSION += $(shell git --git-dir=$(CFG_GIT_DIR) log -1 \
148148
--pretty=format:'(%h %ci)')
149-
CFG_VER_HASH = $(shell git --git-dir=$(CFG_GIT_DIR) rev-parse HEAD)
149+
CFG_VER_HASH = $(shell git --git-dir=$(CFG_GIT_DIR) log -1 \
150+
--pretty=format:'%H')
150151
endif
151152
endif
152153

trunk/configure

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ validate_opt () {
138138
done
139139
if [ "$arg" = "--help" ]
140140
then
141-
echo
141+
echo ""
142142
echo "No more help available for Configure options,"
143143
echo "check the Wiki or join our IRC channel"
144144
break
@@ -349,11 +349,11 @@ if [ "$1" = "--help" ]
349349
then
350350
HELP=1
351351
shift
352-
echo
352+
echo ""
353353
echo "Usage: $CFG_SELF [options]"
354-
echo
354+
echo ""
355355
echo "Options:"
356-
echo
356+
echo ""
357357
else
358358
msg "recreating config.tmp"
359359
echo '' >config.tmp
@@ -394,7 +394,7 @@ validate_opt
394394

395395
if [ $HELP -eq 1 ]
396396
then
397-
echo
397+
echo ""
398398
exit 0
399399
fi
400400

@@ -561,7 +561,7 @@ then
561561
| cut -d ' ' -f 2)
562562

563563
case $CFG_CLANG_VERSION in
564-
(3.0svn | 3.0 | 3.1* | 3.2* | 3.3* | 3.4* )
564+
(3.0svn | 3.0 | 3.1* | 3.2* | 3.3*)
565565
step_msg "found ok version of CLANG: $CFG_CLANG_VERSION"
566566
CFG_C_COMPILER="clang"
567567
;;
@@ -683,8 +683,7 @@ do
683683
for i in \
684684
isaac linenoise sync test \
685685
arch/i386 arch/x86_64 arch/arm arch/mips \
686-
libuv libuv/src/ares libuv/src/eio libuv/src/ev \
687-
jemalloc
686+
libuv libuv/src/ares libuv/src/eio libuv/src/ev
688687
do
689688
make_dir rt/$t/stage$s/$i
690689
done
@@ -971,13 +970,6 @@ then
971970
putvar CFG_CCACHE_CPP2
972971
fi
973972

974-
if [ ! -z "$CFG_ENABLE_CCACHE" ]
975-
then
976-
CFG_CCACHE_BASEDIR=${CFG_SRC_DIR}
977-
putvar CFG_CCACHE_BASEDIR
978-
fi
979-
980-
981973
if [ ! -z $BAD_PANDOC ]
982974
then
983975
CFG_PANDOC=

trunk/doc/rust.css

Lines changed: 23 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,39 @@
11
body {
2-
padding: 1em 6em;
3-
margin: 0;
4-
margin-bottom: 4em;
5-
font-family: "Helvetica Neue", Helvetica, sans-serif;
6-
font-size: 12pt;
7-
background-color: white;
8-
color: black;
9-
line-height: 1.6em;
10-
min-width: 45em;
11-
max-width: 60em;
2+
padding: 1em;
3+
margin: 0;
4+
margin-bottom: 4em;
5+
font-family: "Helvetica Neue", Helvetica, sans-serif;
6+
background-color: white;
7+
color: black;
8+
line-height: 1.6em;
129
}
1310

14-
h1 {
15-
font-size: 20pt;
16-
margin-top: 2em;
17-
padding-left: 0.4em;
18-
line-height: 1.6em;
19-
background-color:#FFF2CE;
20-
border-radius: 0.2em;
21-
border: 1px solid rgba(0, 0, 0, 0.15);
11+
body {
12+
padding: 1em 6em;
13+
max-width: 60em;
2214
}
2315

16+
h1 {
17+
font-size: 20pt;
18+
margin-top: 2em;
19+
border-bottom: 1px solid silver;
20+
line-height: 1.6em;
21+
}
2422
h2 {
2523
font-size: 15pt;
2624
margin-top: 2em;
27-
padding-left: 0.4em;
28-
background-color:#FFF2CE;
29-
border-radius: 0.4em;
30-
border: 1px solid rgba(0, 0, 0, 0.15);
31-
}
32-
33-
h2 code {
34-
color: #097334;
35-
font-size: 15pt;
36-
}
37-
38-
h3 {
39-
font-size: 13pt;
40-
color: black;
41-
background-color:#D9E7FF;
42-
border-radius: 0.4em;
43-
border: 1px solid rgba(0, 0, 0, 0.15);
44-
padding: 0 0.4em 0 0.4em;
45-
}
46-
47-
h3 code {
48-
color: #541800;
49-
font-size: 13pt;
50-
font-style: italic;
51-
}
52-
53-
h4 {
54-
font-size: 11pt;
55-
margin-top: 0em;
56-
margin-bottom: 0em;
57-
}
58-
59-
code {
60-
font-size: 11pt;
6125
}
26+
h3 { font-size: 13pt; }
6227

6328
pre {
64-
margin-left: 1.1em;
65-
padding: .4em .4em .4em .8em;
66-
font-size: 10pt;
67-
background-color: #F5F5F5;
68-
border-radius: 0.5em;
69-
border: 1px solid rgba(0, 0, 0, 0.15);
70-
}
71-
72-
pre.rust {
73-
background-color: #F3F6FF;
29+
margin: 1.1em 0;
30+
padding: .4em .4em .4em 2em;
31+
font-size: 120%;
7432
}
7533

7634
a, a:visited, a:link {
77-
text-decoration: none;
78-
color: rgb(0, 105, 214);
35+
text-decoration: none;
36+
color: rgb(0, 105, 214);
7937
}
8038

8139
h1 a:link, h1 a:visited, h2 a:link, h2 a:visited,
@@ -148,12 +106,4 @@ td {
148106
/* Adjust list alignment so rustdoc indexes don't align with blockquotes */
149107
div.index ul {
150108
padding-left: 1em;
151-
}
152-
153-
ul {
154-
margin-top: 0em
155-
}
156-
157-
div.section.level3 {
158-
margin-left: 1.0em;
159-
}
109+
}

0 commit comments

Comments
 (0)