Skip to content

Commit 4698cf5

Browse files
committed
---
yaml --- r: 82600 b: refs/heads/auto c: f285506 h: refs/heads/master v: v3
1 parent 736a3c6 commit 4698cf5

File tree

8 files changed

+92
-74
lines changed

8 files changed

+92
-74
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1313
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1414
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1515
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16-
refs/heads/auto: 0269850cc22a9b09f08584d312001afd8887e89b
16+
refs/heads/auto: f285506b320f12d31dd75e759192e0252572471e
1717
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1818
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1919
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/AUTHORS.txt

Lines changed: 67 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
Initial author, project lead, target of blame:
2-
3-
Graydon Hoare <[email protected]>
4-
5-
Other authors:
6-
7-
1+
Aaron Laursen <[email protected]>
2+
Aaron Todd <[email protected]>
83
Adam Bozanich <[email protected]>
4+
Adrien Tétar <[email protected]>
95
Aleksander Balicki <[email protected]>
106
Alex Crichton <[email protected]>
117
Alex Rønne Petersen <[email protected]>
128
Alexander Stavonin <[email protected]>
139
Alexei Sholik <[email protected]>
10+
Aljaž "g5pw" Srebrnič <[email protected]>
11+
Anders Kaseorg <[email protected]>
1412
Andreas Gal <[email protected]>
13+
Andreas Martens <[email protected]>
1514
Andrew Dunham <[email protected]>
1615
Andrew Paseltiner <[email protected]>
1716
Anthony Juckel <[email protected]>
1817
Arkaitz Jimenez <[email protected]>
1918
Armin Ronacher <[email protected]>
2019
Ashok Gautham <[email protected]>
20+
Austin King <[email protected]>
2121
Austin Seipp <[email protected]>
2222
Aydin Kim <[email protected]>
2323
@@ -33,7 +33,12 @@ Bilal Husain <[email protected]>
3333
Bill Fallon <[email protected]>
3434
Bill Myers <[email protected]>
3535
Bill Wendling <[email protected]>
36+
Birunthan Mohanathas <[email protected]>
3637
Björn Steinbrink <[email protected]>
38+
blake2-ppc <[email protected]>
39+
Bouke van der Bijl <[email protected]>
40+
Brandon Sanderson <[email protected]>
41+
Brendan Cully <[email protected]>
3742
Brendan Eich <[email protected]>
3843
Brendan Zabarauskas <[email protected]>
3944
Brett Cannon <[email protected]>
@@ -42,7 +47,9 @@ Brian J. Burg <[email protected]>
4247
Brian Leibig <[email protected]>
4348
Bryan Dunsmore <[email protected]>
4449
Caitlin Potter <[email protected]>
50+
4551
Chris Double <[email protected]>
52+
Chris Morgan <[email protected]>
4653
Chris Peterson <[email protected]>
4754
Chris Pressey <[email protected]>
4855
Cody Schroeder <[email protected]>
@@ -52,39 +59,58 @@ Damien Grassart <[email protected]>
5259
Damien Schoof <[email protected]>
5360
Daniel Brooks <[email protected]>
5461
Daniel Farina <[email protected]>
62+
Dan Connolly <[email protected]>
5563
5664
Daniel Luz <[email protected]>
5765
Daniel Micay <[email protected]>
5866
Daniel Patterson <[email protected]>
5967
Daniel Ralston <[email protected]>
68+
Daniel Rosenwasser <[email protected]>
6069
Daniel Ursache Dogariu <[email protected]>
70+
6171
Dave Herman <[email protected]>
72+
David Creswick <[email protected]>
6273
David Forsythe <[email protected]>
74+
David Halperin <[email protected]>
6375
David Klein <[email protected]>
76+
David Manescu <[email protected]>
6477
David Rajchenbach-Teller <[email protected]>
6578
Diggory Hardy <[email protected]>
6679
Dimitri Krassovski <[email protected]>
80+
Dmitry Ermolov <[email protected]>
81+
Do Nhat Minh <[email protected]>
6782
Donovan Preston <[email protected]>
6883
Drew Willcoxon <[email protected]>
6984
Elliott Slaughter <[email protected]>
7085
Elly Fong-Jones <[email protected]>
7186
Eric Holk <[email protected]>
7287
Eric Holmes <[email protected]>
88+
Eric Martin <[email protected]>
89+
Eric Reed <[email protected]>
7390
Erick Tryzelaar <[email protected]>
7491
Erik Rose <[email protected]>
92+
Etienne Millon <[email protected]>
7593
Evan McClanahan <[email protected]>
7694
Fedor Indutny <[email protected]>
7795
Felix S. Klock II <[email protected]>
96+
Flaper Fesp <[email protected]>
97+
Flavio Percoco <[email protected]>
98+
Florian Hahn <[email protected]>
99+
Florian Zeitz <[email protected]>
78100
Francisco Souza <[email protected]>
79101
Franklin Chen <[email protected]>
80102
Gábor Horváth <[email protected]>
81103
82104
Gareth Daniel Smith <[email protected]>
105+
Gary Linscott <[email protected]>
106+
Georges Dubus <[email protected]>
83107
84108
Glenn Willen <[email protected]>
85109
Gonçalo Cabrita <[email protected]>
86110
Graham Fawcett <[email protected]>
87111
Grahame Bowland <[email protected]>
112+
Graydon Hoare <[email protected]>
113+
88114
Haitao Li <[email protected]>
89115
90116
Herman J. Radtke III <[email protected]>
@@ -96,9 +122,11 @@ Ivano Coppola <[email protected]>
96122
Jack Moffitt <[email protected]>
97123
Jacob Harris Cryer Kragh <[email protected]>
98124
Jacob Parker <[email protected]>
125+
99126
Jakub Wieczorek <[email protected]>
100127
James Miller <[email protected]>
101128
James Tranovich <[email protected]>
129+
Jan Kobler <[email protected]>
102130
Jason Orendorff <[email protected]>
103131
Jed Davis <[email protected]>
104132
Jeff Balogh <[email protected]>
@@ -113,35 +141,48 @@ Jesse Ruderman <[email protected]>
113141
Jihyun Yu <[email protected]>
114142
Jim Blandy <[email protected]>
115143
144+
Jimmy Zelinskie <[email protected]>
116145
J. J. Weber <[email protected]>
146+
117147
Joe Pletcher <[email protected]>
148+
John Barker <[email protected]>
118149
John Clements <[email protected]>
119150
Jon Morton <[email protected]>
120151
Jonathan Sternberg <[email protected]>
152+
Jordi Boggiano <[email protected]>
121153
Josh Matthews <[email protected]>
122154
Joshua Clark <[email protected]>
123155
Joshua Wise <[email protected]>
124156
Junyoung Cho <[email protected]>
125157
Jyun-Yan You <[email protected]>
126158
Kang Seonghoon <[email protected]>
159+
Keegan McAllister <[email protected]>
127160
Kelly Wilson <[email protected]>
128161
Kevin Atkinson <[email protected]>
129162
Kevin Ballard <[email protected]>
130163
Kevin Cantu <[email protected]>
164+
Kevin Mehall <[email protected]>
165+
Kevin Murphy <[email protected]>
131166
167+
korenchkin <[email protected]>
132168
Kyeongwoon Lee <[email protected]>
169+
Lars Bergstrom <[email protected]>
133170
Laurent Bonnans <[email protected]>
134171
Lawrence Velázquez <[email protected]>
135172
Leah Hanson <[email protected]>
136173
Lennart Kudling <[email protected]>
137174
Lindsey Kuper <[email protected]>
138175
Luca Bruno <[email protected]>
176+
Luis de Bethencourt <[email protected]>
139177
Luqman Aden <[email protected]>
140178
Magnus Auvinen <[email protected]>
141179
Mahmut Bulut <[email protected]>
180+
maikklein <[email protected]>
181+
Makoto Nakashima <[email protected]>
142182
Margaret Meyerhofer <[email protected]>
143183
Marijn Haverbeke <[email protected]>
144184
Mark Lacey <[email protected]>
185+
Mark Sinclair <[email protected]>
145186
Mark Vian <[email protected]>
146187
Marti Raudsepp <[email protected]>
147188
Martin DeMello <[email protected]>
@@ -151,18 +192,27 @@ Matthew McPherrin <[email protected]>
151192
Matthew O'Connor <[email protected]>
152193
Matthijs Hofstra <[email protected]>
153194
Max Penet <[email protected]>
195+
Maxim Kolganov <[email protected]>
196+
Micah Chalmer <[email protected]>
154197
Michael Arntzenius <[email protected]>
155198
Michael Bebenita <[email protected]>
156199
Michael Neumann <[email protected]>
157200
Michael Sullivan <[email protected]>
201+
Michael Woerister <michaelwoerister@gmail>
202+
Mihnea Dobrescu-Balaur <[email protected]>
158203
Mikko Perttunen <[email protected]>
204+
Mukilan Thiagarajan <[email protected]>
159205
Nick Desaulniers <[email protected]>
160206
Niko Matsakis <[email protected]>
207+
208+
Ogino Masanori <[email protected]>
161209
Olivier Saut <[email protected]>
162210
Or Brostovski <[email protected]>
163211
Orphée Lafond-Lummis <[email protected]>
212+
Palmer Cox <[email protected]>
164213
Patrick Walton <[email protected]>
165214
Patrik Kårlin <[email protected]>
215+
Paul Collins <[email protected]>
166216
Paul Stansifer <[email protected]>
167217
Paul Woolcock <[email protected]>
168218
Pavel Panchekha <[email protected]>
@@ -177,25 +227,32 @@ Reuben Morais <[email protected]>
177227
Rick Waldron <[email protected]>
178228
Rob Arnold <[email protected]>
179229
Rob Hoelz <[email protected]>
230+
Robert Knight <[email protected]>
231+
Robert Millar <[email protected]>
180232
Roland Tanglao <[email protected]>
181233
Ron Dahlgren <[email protected]>
182234
Roy Frostig <[email protected]>
183235
Ryan Scheel <[email protected]>
184236
Samuel Chase <[email protected]>
185237
Sander Mathijs van Veen <[email protected]>
186238
Sangeun Kim <[email protected]>
239+
Sankha Narayan Guria <[email protected]>
187240
Saurabh Anand <[email protected]>
241+
Scott Lawrence <[email protected]>
188242
Sean Moon <[email protected]>
189243
Sean Stangl <[email protected]>
190244
Sebastian N. Fernandez <[email protected]>
245+
Sébastien Crozet <[email protected]>
191246
Seth Pink <[email protected]>
192247
Seo Sanghyeon <[email protected]>
193248
194249
SiegeLord <[email protected]>
195250
Simon Barber-Dueck <[email protected]>
196251
Simon Sapin <[email protected]>
252+
sp3d <sp3d@github>
197253
startling <[email protected]>
198254
Stefan Plantikow <[email protected]>
255+
Stepan Koltsov <[email protected]>
199256
Steve Klabnik <[email protected]>
200257
Steven De Coeyer <[email protected]>
201258
Steven Fackler <[email protected]>
@@ -205,6 +262,7 @@ Ted Horst <[email protected]>
205262
Thad Guidry <[email protected]>
206263
Thomas Daede <[email protected]>
207264
Tim Chevalier <[email protected]>
265+
Tim Kuehn <[email protected]>
208266
Tim Taubert <[email protected]>
209267
210268
Tommy M. McGuire <[email protected]>
@@ -213,6 +271,7 @@ Tony Young <[email protected]>
213271
214272
Tycho Sci <[email protected]>
215273
Tyler Bindon <[email protected]>
274+
U-NOV2010\eugals
216275
Uwe Dauernheim <[email protected]>
217276
Vadim Chugunov <[email protected]>
218277
Viktor Dahl <[email protected]>
@@ -225,4 +284,5 @@ Young-il Choi <[email protected]>
225284
Youngmin Yoo <[email protected]>
226285
Youngsoo Son <[email protected]>
227286
Zack Corr <[email protected]>
287+
Zack Slayton <[email protected]>
228288

branches/auto/src/librust/rust.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ extern mod rustc;
2828
use std::io;
2929
use std::os;
3030
use std::run;
31-
use std::libc::exit;
3231

3332
enum ValidUsage {
3433
Valid(int), Invalid
@@ -235,7 +234,7 @@ pub fn main() {
235234

236235
if (os_args.len() > 1 && (os_args[1] == ~"-v" || os_args[1] == ~"--version")) {
237236
rustc::version(os_args[0]);
238-
unsafe { exit(0); }
237+
return;
239238
}
240239

241240
let args = os_args.tail();
@@ -245,8 +244,11 @@ pub fn main() {
245244
for command in r.iter() {
246245
let result = do_command(command, args.tail());
247246
match result {
248-
Valid(exit_code) => unsafe { exit(exit_code.to_i32()) },
249-
_ => loop
247+
Valid(exit_code) => {
248+
os::set_exit_status(exit_code);
249+
return;
250+
}
251+
_ => loop
250252
}
251253
}
252254
}

branches/auto/src/libsyntax/ast_util.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ pub fn new_mark(m:Mrk, tail:SyntaxContext) -> SyntaxContext {
740740
}
741741

742742
// Extend a syntax context with a given mark and table
743-
// FIXME #8215 : currently pub to allow testing
743+
// FIXME #4536 : currently pub to allow testing
744744
pub fn new_mark_internal(m:Mrk, tail:SyntaxContext,table:&mut SCTable)
745745
-> SyntaxContext {
746746
let key = (tail,m);
@@ -769,7 +769,7 @@ pub fn new_rename(id:Ident, to:Name, tail:SyntaxContext) -> SyntaxContext {
769769
}
770770
771771
// Extend a syntax context with a given rename and sctable
772-
// FIXME #8215 : currently pub to allow testing
772+
// FIXME #4536 : currently pub to allow testing
773773
pub fn new_rename_internal(id:Ident, to:Name, tail:SyntaxContext, table: &mut SCTable)
774774
-> SyntaxContext {
775775
let key = (tail,id,to);
@@ -792,7 +792,7 @@ pub fn new_rename_internal(id:Ident, to:Name, tail:SyntaxContext, table: &mut SC
792792
793793
/// Make a fresh syntax context table with EmptyCtxt in slot zero
794794
/// and IllegalCtxt in slot one.
795-
// FIXME #8215 : currently pub to allow testing
795+
// FIXME #4536 : currently pub to allow testing
796796
pub fn new_sctable_internal() -> SCTable {
797797
SCTable {
798798
table: ~[EmptyCtxt,IllegalCtxt],
@@ -834,7 +834,7 @@ pub fn mtwt_resolve(id : Ident) -> Name {
834834
resolve_internal(id, get_sctable(), get_resolve_table())
835835
}
836836
837-
// FIXME #8215: must be pub for testing
837+
// FIXME #4536: must be pub for testing
838838
pub type ResolveTable = HashMap<(Name,SyntaxContext),Name>;
839839
840840
// okay, I admit, putting this in TLS is not so nice:
@@ -853,7 +853,7 @@ pub fn get_resolve_table() -> @mut ResolveTable {
853853
854854
// Resolve a syntax object to a name, per MTWT.
855855
// adding memoization to possibly resolve 500+ seconds in resolve for librustc (!)
856-
// FIXME #8215 : currently pub to allow testing
856+
// FIXME #4536 : currently pub to allow testing
857857
pub fn resolve_internal(id : Ident,
858858
table : &mut SCTable,
859859
resolve_table : &mut ResolveTable) -> Name {

branches/auto/src/libsyntax/ext/expand.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1640,10 +1640,9 @@ mod test {
16401640
macro_rules! user(($x:ident) => ({letty!($x); $x}))
16411641
fn main() -> int {user!(z)}",
16421642
~[~[0]], false),
1643-
// no longer a fixme #8062: this test exposes a *potential* bug; our system does
1644-
// not behave exactly like MTWT, but a conversation with Matthew Flatt
1645-
// suggests that this can only occur in the presence of local-expand, which
1646-
// we have no plans to support.
1643+
// FIXME #8062: this test exposes a *potential* bug; our system does
1644+
// not behave exactly like MTWT, but I haven't thought of a way that
1645+
// this could cause a bug in Rust, yet.
16471646
// ("fn main() {let hrcoo = 19; macro_rules! getx(()=>(hrcoo)); getx!();}",
16481647
// ~[~[0]], true)
16491648
// FIXME #6994: the next string exposes the bug referred to in issue 6994, so I'm
@@ -1656,7 +1655,6 @@ mod test {
16561655
// fn a(){g!(z)}"
16571656
// create a really evil test case where a $x appears inside a binding of $x
16581657
// but *shouldnt* bind because it was inserted by a different macro....
1659-
// can't write this test case until we have macro-generating macros.
16601658
];
16611659
for (idx,s) in tests.iter().enumerate() {
16621660
run_renaming_test(s,idx);

branches/auto/src/libsyntax/parse/lexer.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -868,6 +868,7 @@ fn consume_whitespace(rdr: @mut StringReader) {
868868
mod test {
869869
use super::*;
870870

871+
use ast;
871872
use codemap::{BytePos, CodeMap, Span};
872873
use diagnostic;
873874
use parse::token;

0 commit comments

Comments
 (0)