Skip to content

Commit 3b00895

Browse files
committed
---
yaml --- r: 139402 b: refs/heads/try2 c: bb14ea9 h: refs/heads/master v: v3
1 parent 0e2ec21 commit 3b00895

File tree

1,196 files changed

+26299
-19011
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,196 files changed

+26299
-19011
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 07f8ce706334fcf199edb0182beeff8de0da3c3a
8+
refs/heads/try2: bb14ea922b236b5c152c2770221b0f9181c2cc7f
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/AUTHORS.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Aydin Kim <[email protected]>
2121
2222
Ben Alpert <[email protected]>
2323
24+
Ben Kelly <[email protected]>
2425
Ben Striegel <[email protected]>
2526
Benjamin Herr <[email protected]>
2627
Benjamin Jackman <[email protected]>
@@ -44,9 +45,12 @@ Daniel Brooks <[email protected]>
4445
Daniel Luz <[email protected]>
4546
Daniel Micay <[email protected]>
4647
Daniel Patterson <[email protected]>
48+
Daniel Ursache Dogariu <[email protected]>
4749
Dave Herman <[email protected]>
4850
David Forsythe <[email protected]>
51+
David Klein <[email protected]>
4952
David Rajchenbach-Teller <[email protected]>
53+
Dimitri Krassovski <[email protected]>
5054
Donovan Preston <[email protected]>
5155
Drew Willcoxon <[email protected]>
5256
Elliott Slaughter <[email protected]>
@@ -66,6 +70,7 @@ Gonçalo Cabrita <[email protected]>
6670
Graham Fawcett <[email protected]>
6771
Grahame Bowland <[email protected]>
6872
Haitao Li <[email protected]>
73+
6974
Huon Wilson <[email protected]>
7075
Ian D. Bollinger <[email protected]>
7176
Ilyong Cho <[email protected]>
@@ -80,11 +85,14 @@ Jeff Balogh <[email protected]>
8085
Jeff Muizelaar <[email protected]>
8186
Jeff Olson <[email protected]>
8287
Jeffrey Yasskin <[email protected]>
88+
Jeong YunWon <[email protected]>
8389
Jens Nockert <[email protected]>
8490
Jesse Jones <[email protected]>
8591
Jesse Ruderman <[email protected]>
92+
Jihyun Yu <[email protected]>
8693
Jim Blandy <[email protected]>
8794
95+
J. J. Weber <[email protected]>
8896
Joe Pletcher <[email protected]>
8997
John Clements <[email protected]>
9098
Jon Morton <[email protected]>
@@ -99,6 +107,7 @@ Kevin Atkinson <[email protected]>
99107
Kevin Cantu <[email protected]>
100108
Kyeongwoon Lee <[email protected]>
101109
Laurent Bonnans <[email protected]>
110+
Lawrence Velázquez <[email protected]>
102111
Lennart Kudling <[email protected]>
103112
Lindsey Kuper <[email protected]>
104113
Luca Bruno <[email protected]>
@@ -112,7 +121,9 @@ Mark Vian <[email protected]>
112121
Martin DeMello <[email protected]>
113122
Marvin Löbel <[email protected]>
114123
Matt Brubeck <[email protected]>
124+
Matthew McPherrin <[email protected]>
115125
Matthew O'Connor <[email protected]>
126+
Matthijs Hofstra <[email protected]>
116127
Max Penet <[email protected]>
117128
Michael Arntzenius <[email protected]>
118129
Michael Bebenita <[email protected]>
@@ -121,6 +132,7 @@ Michael Sullivan <[email protected]>
121132
Mikko Perttunen <[email protected]>
122133
Nick Desaulniers <[email protected]>
123134
Niko Matsakis <[email protected]>
135+
Olivier Saut <[email protected]>
124136
Or Brostovski <[email protected]>
125137
Orphée Lafond-Lummis <[email protected]>
126138
Patrick Walton <[email protected]>
@@ -140,14 +152,17 @@ Roy Frostig <[email protected]>
140152
Ryan Scheel <[email protected]>
141153
Sean Stangl <[email protected]>
142154
Sebastian N. Fernandez <[email protected]>
155+
Seth Pink <[email protected]>
143156
Seo Sanghyeon <[email protected]>
157+
144158
Simon Barber-Dueck <[email protected]>
145159
Simon Sapin <[email protected]>
146160
startling <[email protected]>
147161
Stefan Plantikow <[email protected]>
148162
Steve Klabnik <[email protected]>
149163
Taras Shpot <[email protected]>
150164
Ted Horst <[email protected]>
165+
Thad Guidry <[email protected]>
151166
Tim Chevalier <[email protected]>
152167
Tim Taubert <[email protected]>
153168
@@ -161,5 +176,6 @@ Vincent Belliard <[email protected]>
161176
Wade Mealing <[email protected]>
162177
William Ting <[email protected]>
163178
Yasuhiro Fujii <[email protected]>
179+
Young-il Choi <[email protected]>
164180
Youngsoo Son <[email protected]>
165181
Zack Corr <[email protected]>

branches/try2/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ $(foreach target,$(CFG_TARGET_TRIPLES),\
238238

239239
CORELIB_CRATE := $(S)src/libcore/core.rc
240240
CORELIB_INPUTS := $(wildcard $(addprefix $(S)src/libcore/, \
241-
core.rc *.rs */*.rs))
241+
core.rc *.rs */*.rs */*/*rs))
242242

243243
######################################################################
244244
# Standard library variables

branches/try2/RELEASES.txt

Lines changed: 94 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,100 @@
1-
Version 0.6 (?)
1+
Version 0.6 (March 2013)
22
---------------------------
33

4+
* ~2100 changes, numerous bugfixes
5+
6+
* Syntax changes
7+
* The self type parameter in traits is now spelled `Self`
8+
* The `self` parameter in trait and impl methods must now be explicitly
9+
named (for example: `fn f(&self) { }`). Implicit self is deprecated.
10+
* Static methods no longer require the `static` keyword and instead
11+
are distinguished by the lack of a `self` parameter
12+
* Replaced the `Durable` trait with the `'static` lifetime
13+
* The old closure type syntax with the trailing sigil has been
14+
removed in favor of the more consistent leading sigil
15+
* `super` is a keyword, and may be prefixed to paths
16+
* Trait bounds are separated with `+` instead of whitespace
17+
* Traits are implemented with `impl Trait for Type`
18+
instead of `impl Type: Trait`
19+
* Lifetime syntax is now `&'l foo` instead of `&l/foo`
20+
* The `export` keyword has finally been removed
21+
* The `move` keyword has been removed (see "Semantic changes")
22+
* The interior mutability qualifier on vectors, `[mut T]`, has been
23+
removed. Use `&mut [T]`, etc.
24+
* `mut` is no longer valid in `~mut T`. Use inherited mutability
25+
* `fail` is no longer a keyword. Use `fail!()`
26+
* `assert` is no longer a keyword. Use `assert!()`
27+
* `log` is no longer a keyword. use `debug!`, etc.
28+
* 1-tuples may be represented as `(T,)`
29+
* Struct fields may no longer be `mut`. Use inherited mutability,
30+
`@mut T`, `core::mut` or `core::cell`
31+
* `extern mod { ... }` is no longer valid syntax for foreign
32+
function modules. Use extern blocks: `extern { ... }`
33+
* Newtype enums removed. Used tuple-structs.
34+
* Trait implementations no longer support visibility modifiers
35+
* Pattern matching over vectors improved and expanded
36+
* `const` renamed to `static` to correspond to lifetime name,
37+
and make room for future `static mut` unsafe mutable globals.
38+
* Replaced `#[deriving_eq]` with `#[deriving(Eq)]`, etc.
39+
* `Clone` implementations can be automatically generated with
40+
`#[deriving(Clone)]`
41+
* Casts to traits must use a pointer sigil, e.g. `@foo as @Bar`
42+
instead of `foo as Bar`.
43+
44+
* Semantic changes
45+
* Types with owned pointers or custom destructors move by default,
46+
eliminating the `move` keyword
47+
* All foreign functions are considered unsafe
48+
* &mut is now unaliasable
49+
* Writes to borrowed @mut pointers are prevented dynamically
50+
* () has size 0
51+
* The name of the main function can be customized using #[main]
52+
* The default type of an inferred closure is &fn instead of @fn
53+
* `use` statements may no longer be "chained" - they cannot import
54+
identifiers imported by previous `use` statements
55+
* `use` statements are crate relative, importing from the "top"
56+
of the crate by default. Paths may be prefixed with `super::`
57+
or `self::` to change the search behavior.
58+
* Method visibility is inherited from the implementation declaration
59+
* Structural records have been removed
60+
* Many more types can be used in static items, including enums
61+
'static-lifetime pointers and vectors
62+
* Pattern matching over vectors improved and expanded
63+
* Typechecking of closure types has been overhauled to
64+
improve inference and eliminate unsoundness
65+
* Macros leave scope at the end of modules, unless that module is
66+
tagged with #[macro_escape]
67+
468
* Libraries
5-
* `core::send_map` renamed to `core::hashmap`
69+
* Added big integers to `std::bigint`
70+
* Removed `core::oldcomm` module
71+
* Added pipe-based `core::comm` module
72+
* Numeric traits have been reorganized under `core::num`
73+
* `vec::slice` finally returns a slice
74+
* `debug!` and friends don't require a format string, e.g. `debug!(Foo)`
75+
* Containers reorganized around traits in `core::container`
76+
* `core::dvec` removed, `~[T]` is a drop-in replacement
77+
* `core::send_map` renamed to `core::hashmap`
78+
* `std::map` removed; replaced with `core::hashmap`
79+
* `std::treemap` reimplemented as an owned balanced tree
80+
* `std::deque` and `std::smallintmap` reimplemented as owned containers
81+
* `core::trie` added as a fast ordered map for integer keys
82+
* Set types added to `core::hashmap`, `core::trie` and `std::treemap`
83+
* `Ord` split into `Ord` and `TotalOrd`. `Ord` is still used to
84+
overload the comparison operators, whereas `TotalOrd` is used
85+
by certain container types
86+
87+
* Other
88+
* Replaced the 'cargo' package manager with 'rustpkg'
89+
* Added all-purpose 'rust' tool
90+
* `rustc --test` now supports benchmarks with the `#[bench]` attribute
91+
* rustc now *attempts* to offer spelling suggestions
92+
* Improved support for ARM and Android
93+
* Preliminary MIPS backend
94+
* Improved foreign function ABI implementation for x86, x86_64
95+
* Various memory usage improvements
96+
* Rust code may be embedded in foreign code under limited circumstances
97+
* Inline assembler supported by new asm!() syntax extension.
698

799
Version 0.5 (December 2012)
8100
---------------------------

branches/try2/configure

Lines changed: 61 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,17 @@ validate_opt () {
136136
isArgValid=1
137137
fi
138138
done
139-
if test $isArgValid -eq 0
139+
if [ "$arg" = "--help" ]
140140
then
141-
err "Option '$arg' is not recognized"
141+
echo ""
142+
echo "No more help available for Configure options,"
143+
echo "check the Uncyclo or join our IRC channel"
144+
break
145+
else
146+
if test $isArgValid -eq 0
147+
then
148+
err "Option '$arg' is not recognized"
149+
fi
142150
fi
143151
done
144152
}
@@ -266,7 +274,34 @@ case $CFG_OSTYPE in
266274
MINGW32*)
267275
CFG_OSTYPE=pc-mingw32
268276
;;
277+
# Thad's Cygwin identifers below
278+
279+
# Vista 32 bit
280+
CYGWIN_NT-6.0)
281+
CFG_OSTYPE=pc-mingw32
282+
CFG_CPUTYPE=i686
283+
;;
284+
285+
# Vista 64 bit
286+
CYGWIN_NT-6.0-WOW64)
287+
CFG_OSTYPE=w64-mingw32
288+
CFG_CPUTYPE=x86_64
289+
;;
269290

291+
# Win 7 32 bit
292+
CYGWIN_NT-6.1)
293+
CFG_OSTYPE=pc-mingw32
294+
CFG_CPUTYPE=i686
295+
;;
296+
297+
# Win 7 64 bit
298+
CYGWIN_NT-6.1-WOW64)
299+
CFG_OSTYPE=w64-mingw32
300+
CFG_CPUTYPE=x86_64
301+
;;
302+
303+
# We do not detect other OS such as XP/2003 using 64 bit using uname.
304+
# If we want to in the future, we will need to use Cygwin - Chuck's csih helper in /usr/lib/csih/winProductName.exe or alternative.
270305
*)
271306
err "unknown OS type: $CFG_OSTYPE"
272307
;;
@@ -406,12 +441,13 @@ fi
406441

407442
if [ ! -z "$CFG_PANDOC" ]
408443
then
409-
PANDOC_VER_LINE=$(pandoc --version | grep '^pandoc ')
410-
PANDOC_VER=${PANDOC_VER_LINE#pandoc }
411-
PV_MAJOR_MINOR=${PANDOC_VER%.[0-9]*}
412-
PV_MAJOR=${PV_MAJOR_MINOR%%[.][0-9]*}
413-
PV_MINOR=${PV_MAJOR_MINOR#[0-9]*[.]}
414-
PV_MINOR=${PV_MINOR%%[.][0-9]*}
444+
PV_MAJOR_MINOR=$(pandoc --version | grep '^pandoc ' |
445+
# extract the first 2 version fields, ignore everything else
446+
sed 's/pandoc \([0-9]*\)\.\([0-9]*\).*/\1 \2/')
447+
448+
# these patterns are shell globs, *not* regexps
449+
PV_MAJOR=${PV_MAJOR_MINOR% *}
450+
PV_MINOR=${PV_MAJOR_MINOR#* }
415451
if [ "$PV_MAJOR" -lt "1" ] || [ "$PV_MINOR" -lt "8" ]
416452
then
417453
step_msg "pandoc $PV_MAJOR.$PV_MINOR is too old. disabling"
@@ -519,7 +555,7 @@ then
519555
| cut -d ' ' -f 2)
520556

521557
case $CFG_CLANG_VERSION in
522-
(3.0svn | 3.0 | 3.1* | 3.2* | 4.0* | 4.1* | 4.2*)
558+
(3.0svn | 3.0 | 3.1* | 3.2* | 3.3* | 4.0* | 4.1* | 4.2*)
523559
step_msg "found ok version of CLANG: $CFG_CLANG_VERSION"
524560
CFG_C_COMPILER="clang"
525561
;;
@@ -536,6 +572,7 @@ fi
536572
CFG_PREFIX=${CFG_PREFIX%/}
537573
CFG_HOST_TRIPLES="$(echo $CFG_HOST_TRIPLES | tr ',' ' ')"
538574
CFG_TARGET_TRIPLES="$(echo $CFG_TARGET_TRIPLES | tr ',' ' ')"
575+
CFG_SUPPORTED_TARGET_TRIPLES="$(grep ^CC_*=* $CFG_SRC_DIR/mk/platform.mk | sed -e 's/^CC_//' -e 's/\([^=]*\).*/\1/' | xargs)"
539576

540577
# copy host-triples to target-triples so that hosts are a subset of targets
541578
V_TEMP=""
@@ -548,8 +585,22 @@ CFG_TARGET_TRIPLES=$V_TEMP
548585
# check target-specific tool-chains
549586
for i in $CFG_TARGET_TRIPLES
550587
do
588+
L_CHECK=false
589+
for j in $CFG_SUPPORTED_TARGET_TRIPLES
590+
do
591+
if [ $i = $j ]
592+
then
593+
L_CHECK=true
594+
fi
595+
done
596+
597+
if [ $L_CHECK = false ]
598+
then
599+
err "unsupported target triples \"$i\" found"
600+
fi
601+
551602
case $i in
552-
arm-unknown-android)
603+
arm-linux-androideabi)
553604

554605
if [ ! -f $CFG_ANDROID_CROSS_PATH/bin/arm-linux-androideabi-gcc ]
555606
then

branches/try2/doc/rust.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,9 @@ td {
101101
#TOC ul {
102102
list-style: none;
103103
padding-left: 0px;
104+
}
105+
106+
/* Adjust list alignment so rustdoc indexes don't align with blockquotes */
107+
div.index ul {
108+
padding-left: 1em;
104109
}

0 commit comments

Comments
 (0)