Skip to content

Commit 49f6523

Browse files
committed
---
yaml --- r: 135127 b: refs/heads/auto c: b39921c h: refs/heads/master i: 135125: f1643a2 135123: 79265b8 135119: 7d24fbe v: v3
1 parent 163e37e commit 49f6523

Some content is hidden

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

89 files changed

+1312
-3312
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: 735d16b1b0221736f5d8cd9e754d759b59c5ca11
16+
refs/heads/auto: b39921c49eca9f9973992cd99f0d1aa1472c8632
1717
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1818
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1919
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/configure

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -453,12 +453,12 @@ valopt datadir "${CFG_PREFIX}/share" "install data"
453453
valopt infodir "${CFG_PREFIX}/share/info" "install additional info"
454454
valopt mandir "${CFG_PREFIX}/share/man" "install man pages in PATH"
455455

456-
valopt release-channel "dev" "the name of the release channel to build"
456+
valopt release-channel "source" "the name of the release channel to build"
457457

458458
# On windows we just store the libraries in the bin directory because
459459
# there's no rpath. This is where the build system itself puts libraries;
460460
# --libdir is used to configure the installation directory.
461-
# FIXME: This needs to parameterized over target triples. Do it in platform.mk
461+
# FIXME: Thise needs to parameterized over target triples. Do it in platform.mk
462462
CFG_LIBDIR_RELATIVE=lib
463463
if [ "$CFG_OSTYPE" = "pc-mingw32" ] || [ "$CFG_OSTYPE" = "w64-mingw32" ]
464464
then
@@ -479,16 +479,16 @@ validate_opt
479479

480480
# Validate the release channel
481481
case "$CFG_RELEASE_CHANNEL" in
482-
(dev | nightly | beta | stable)
482+
(source | nightly | beta | stable)
483483
;;
484484
(*)
485-
err "release channel must be 'dev', 'nightly', 'beta' or 'stable'"
485+
err "release channel must be 'source', 'nightly', 'beta' or 'stable'"
486486
;;
487487
esac
488488

489489
# Continue supporting the old --enable-nightly flag to transition the bots
490490
# XXX Remove me
491-
if [ ! -z "$CFG_ENABLE_NIGHTLY" ]
491+
if [ $CFG_ENABLE_NIGHTLY -eq 1 ]
492492
then
493493
CFG_RELEASE_CHANNEL=nightly
494494
putvar CFG_RELEASE_CHANNEL

branches/auto/mk/main.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ ifeq ($(CFG_RELEASE_CHANNEL),nightly)
3535
CFG_RELEASE=$(CFG_RELEASE_NUM)-nightly
3636
CFG_PACKAGE_VERS=nightly
3737
endif
38-
ifeq ($(CFG_RELEASE_CHANNEL),dev)
39-
CFG_RELEASE=$(CFG_RELEASE_NUM)-dev
40-
CFG_PACKAGE_VERS=$(CFG_RELEASE_NUM)-dev
38+
ifeq ($(CFG_RELEASE_CHANNEL),source)
39+
CFG_RELEASE=$(CFG_RELEASE_NUM)-pre
40+
CFG_PACKAGE_VERS=$(CFG_RELEASE_NUM)-pre
4141
endif
4242

4343
# The name of the package to use for creating tarballs, installers etc.

branches/auto/mk/stage0.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@
33
$(HBIN0_H_$(CFG_BUILD))/:
44
mkdir -p $@
55

6-
# On windows these two are the same, so cause a redifinition warning
7-
ifneq ($(HBIN0_H_$(CFG_BUILD)),$(HLIB0_H_$(CFG_BUILD)))
86
$(HLIB0_H_$(CFG_BUILD))/:
97
mkdir -p $@
10-
endif
118

129
$(SNAPSHOT_RUSTC_POST_CLEANUP): \
1310
$(S)src/snapshots.txt \

branches/auto/src/doc/guide-pointers.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,6 @@ As being similar to this C code:
505505
{
506506
int *x;
507507
x = (int *)malloc(sizeof(int));
508-
*x = 5;
509508
510509
// stuff happens
511510

branches/auto/src/doc/guide.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1507,7 +1507,6 @@ You can create an array with just square brackets:
15071507

15081508
```{rust}
15091509
let nums = [1i, 2i, 3i];
1510-
let nums = [1i, ..20]; // Shorthand for an array of 20 elements all initialized to 1
15111510
```
15121511

15131512
So what's the difference? An array has a fixed size, so you can't add or
@@ -4325,6 +4324,8 @@ and so we tell it that we want a vector of integers.
43254324
is one:
43264325

43274326
```{rust}
4327+
let one_to_one_hundred = range(0i, 100i);
4328+
43284329
let greater_than_forty_two = range(0i, 100i)
43294330
.find(|x| *x >= 42);
43304331
@@ -4488,8 +4489,8 @@ This will print
44884489
```
44894490

44904491
`filter()` is an adapter that takes a closure as an argument. This closure
4491-
returns `true` or `false`. The new iterator `filter()` produces
4492-
only the elements that that closure returns `true` for:
4492+
returns `true` or `false`. The new iterator `filter()` produces returns
4493+
only the elements that that closure returned `true` for:
44934494

44944495
```{rust}
44954496
for i in range(1i, 100i).filter(|x| x % 2 == 0) {

branches/auto/src/etc/licenseck.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
"test/bench/shootout-chameneos-redux.rs", # BSD
4747
"test/bench/shootout-fannkuch-redux.rs", # BSD
4848
"test/bench/shootout-fasta.rs", # BSD
49-
"test/bench/shootout-fasta-redux.rs", # BSD
5049
"test/bench/shootout-k-nucleotide.rs", # BSD
5150
"test/bench/shootout-mandelbrot.rs", # BSD
5251
"test/bench/shootout-meteor.rs", # BSD

branches/auto/src/etc/pkg/rust.iss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
SetupIconFile=rust-logo.ico
99
AppName=Rust
1010
AppVersion={#CFG_RELEASE}
11-
AppCopyright=Copyright (C) 2006-2014 Mozilla Foundation, MIT license
11+
AppCopyright=Copyright (C) 2006-2013 Mozilla Foundation, MIT license
1212
AppPublisher=Mozilla Foundation
1313
AppPublisherURL=http://www.rust-lang.org
1414
VersionInfoVersion={#CFG_VERSION_WIN}
@@ -43,7 +43,7 @@ Source: "tmp/dist/win/*.*" ; DestDir: "{app}"; Flags: ignoreversion recursesubdi
4343
[Code]
4444
const
4545
ModPathName = 'modifypath';
46-
ModPathType = 'system';
46+
ModPathType = 'user';
4747
4848
function ModPathDir(): TArrayOfString;
4949
begin

branches/auto/src/liballoc/boxed.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,12 @@ pub trait BoxAny {
9696
/// `Err(Self)` if it isn't.
9797
#[unstable = "naming conventions around accessing innards may change"]
9898
fn downcast<T: 'static>(self) -> Result<Box<T>, Self>;
99+
100+
/// Deprecated; this method has been renamed to `downcast`.
101+
#[deprecated = "use downcast instead"]
102+
fn move<T: 'static>(self) -> Result<Box<T>, Self> {
103+
self.downcast::<T>()
104+
}
99105
}
100106

101107
#[stable]

branches/auto/src/liballoc/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use core::raw;
1616
#[inline]
1717
#[deprecated]
1818
pub fn get_box_size(body_size: uint, body_align: uint) -> uint {
19-
let header_size = mem::size_of::<raw::GcBox<()>>();
19+
let header_size = mem::size_of::<raw::Box<()>>();
2020
let total_size = align_to(header_size, body_align) + body_size;
2121
total_size
2222
}

0 commit comments

Comments
 (0)