Skip to content

Commit 1003ff5

Browse files
author
kud1ing
committed
---
yaml --- r: 42991 b: refs/heads/try c: 48df2f4 h: refs/heads/master i: 42989: 7657ccd 42987: 573722d 42983: 4130185 42975: 2e7b416 v: v3
1 parent 29ea244 commit 1003ff5

Some content is hidden

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

105 files changed

+1647
-644
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 19dfec2aaf746535de1521f68421f9980dbf25de
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 2f46b763da2c098913884f101b6d71d69af41b49
5-
refs/heads/try: 2600bcc05dcd51a5f6fe3404c60a5c1891a22dfe
5+
refs/heads/try: 48df2f4aafec32f75141d57a99982643ce04ec85
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278

branches/try/RELEASES.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Version 0.6 (?)
2+
---------------------------
3+
4+
* Libraries
5+
* `core::send_map` renamed to `core::hashmap`
6+
17
Version 0.5 (December 2012)
28
---------------------------
39

branches/try/configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ then
515515
| cut -d ' ' -f 2)
516516

517517
case $CFG_CLANG_VERSION in
518-
(3.0svn | 3.0 | 3.1* | 3.2* | 4.0* | 4.1* | 4.2*)
518+
(3.0svn | 3.0 | 3.1* | 3.2* | 4.0* | 4.1*)
519519
step_msg "found ok version of CLANG: $CFG_CLANG_VERSION"
520520
CFG_C_COMPILER="clang"
521521
;;

branches/try/src/libcargo/cargo.rc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ pub fn configure(opts: Options) -> Cargo {
731731
need_dir(&c.bindir);
732732

733733
for sources.each_key_ref |&k| {
734-
let mut s = sources.get(&k);
734+
let mut s = sources.get(k);
735735
load_source_packages(&c, s);
736736
sources.insert(k, s);
737737
}
@@ -981,7 +981,7 @@ pub fn install_named(c: &mut Cargo, wd: &Path, name: ~str) {
981981

982982
pub fn install_uuid_specific(c: &mut Cargo, wd: &Path, src: ~str,
983983
uuid: ~str) {
984-
match c.sources.find(&src) {
984+
match c.sources.find(src) {
985985
Some(s) => {
986986
for s.packages.each |p| {
987987
if p.uuid == uuid {
@@ -997,7 +997,7 @@ pub fn install_uuid_specific(c: &mut Cargo, wd: &Path, src: ~str,
997997

998998
pub fn install_named_specific(c: &mut Cargo, wd: &Path, src: ~str,
999999
name: ~str) {
1000-
match c.sources.find(&src) {
1000+
match c.sources.find(src) {
10011001
Some(s) => {
10021002
for s.packages.each |p| {
10031003
if p.name == name {
@@ -1064,7 +1064,7 @@ pub fn cmd_uninstall(c: &Cargo) {
10641064
}
10651065

10661066
pub fn install_query(c: &mut Cargo, wd: &Path, target: ~str) {
1067-
match c.dep_cache.find(&target) {
1067+
match c.dep_cache.find(target) {
10681068
Some(inst) => {
10691069
if inst {
10701070
return;
@@ -1156,7 +1156,7 @@ pub fn cmd_install(c: &mut Cargo) {
11561156

11571157
pub fn sync(c: &Cargo) {
11581158
for c.sources.each_key_ref |&k| {
1159-
let mut s = c.sources.get(&k);
1159+
let mut s = c.sources.get(k);
11601160
sync_one(c, s);
11611161
c.sources.insert(k, s);
11621162
}
@@ -1558,7 +1558,7 @@ pub fn cmd_list(c: &Cargo) {
15581558
if !valid_pkg_name(*name) {
15591559
error(fmt!("'%s' is an invalid source name", *name));
15601560
} else {
1561-
match c.sources.find(name) {
1561+
match c.sources.find(*name) {
15621562
Some(source) => {
15631563
print_source(source);
15641564
}
@@ -1754,7 +1754,7 @@ pub fn cmd_sources(c: &Cargo) {
17541754
return;
17551755
}
17561756

1757-
match c.sources.find(&name) {
1757+
match c.sources.find(name) {
17581758
Some(source) => {
17591759
let old = copy source.url;
17601760
let method = assume_source_method(url);
@@ -1785,7 +1785,7 @@ pub fn cmd_sources(c: &Cargo) {
17851785
return;
17861786
}
17871787

1788-
match c.sources.find(&name) {
1788+
match c.sources.find(name) {
17891789
Some(source) => {
17901790
let old = copy source.method;
17911791

@@ -1823,7 +1823,7 @@ pub fn cmd_sources(c: &Cargo) {
18231823
return;
18241824
}
18251825

1826-
match c.sources.find(&name) {
1826+
match c.sources.find(name) {
18271827
Some(source) => {
18281828
c.sources.remove(&name);
18291829
c.sources.insert(newn, source);

branches/try/src/libcore/extfmt.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,12 @@ pub mod rt {
499499

500500
pub enum Ty { TyDefault, TyBits, TyHexUpper, TyHexLower, TyOctal, }
501501

502+
#[cfg(stage0)]
503+
pub type Conv = {flags: u32, width: Count, precision: Count, ty: Ty};
504+
505+
#[cfg(stage1)]
506+
#[cfg(stage2)]
507+
#[cfg(stage3)]
502508
pub struct Conv {
503509
flags: u32,
504510
width: Count,

branches/try/src/libcore/io.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -490,25 +490,25 @@ pub fn FILERes(f: *libc::FILE) -> FILERes {
490490
}
491491
}
492492

493-
pub fn FILE_reader(f: *libc::FILE, cleanup: bool) -> @Reader {
493+
pub fn FILE_reader(f: *libc::FILE, cleanup: bool) -> Reader {
494494
if cleanup {
495-
@Wrapper { base: f, cleanup: FILERes(f) } as @Reader
495+
Wrapper { base: f, cleanup: FILERes(f) } as Reader
496496
} else {
497-
@f as @Reader
497+
f as Reader
498498
}
499499
}
500500

501501
// FIXME (#2004): this should either be an trait-less impl, a set of
502502
// top-level functions that take a reader, or a set of default methods on
503503
// reader (which can then be called reader)
504504

505-
pub fn stdin() -> @Reader {
505+
pub fn stdin() -> Reader {
506506
unsafe {
507-
rustrt::rust_get_stdin() as @Reader
507+
rustrt::rust_get_stdin() as Reader
508508
}
509509
}
510510

511-
pub fn file_reader(path: &Path) -> Result<@Reader, ~str> {
511+
pub fn file_reader(path: &Path) -> Result<Reader, ~str> {
512512
unsafe {
513513
let f = os::as_c_charp(path.to_str(), |pathbuf| {
514514
os::as_c_charp("r", |modebuf|
@@ -555,11 +555,11 @@ impl BytesReader: Reader {
555555
fn tell(&self) -> uint { self.pos }
556556
}
557557
558-
pub pure fn with_bytes_reader<t>(bytes: &[u8], f: fn(@Reader) -> t) -> t {
559-
f(@BytesReader { bytes: bytes, pos: 0u } as @Reader)
558+
pub pure fn with_bytes_reader<t>(bytes: &[u8], f: fn(Reader) -> t) -> t {
559+
f(BytesReader { bytes: bytes, pos: 0u } as Reader)
560560
}
561561
562-
pub pure fn with_str_reader<T>(s: &str, f: fn(@Reader) -> T) -> T {
562+
pub pure fn with_str_reader<T>(s: &str, f: fn(Reader) -> T) -> T {
563563
str::byte_slice(s, |bytes| with_bytes_reader(bytes, f))
564564
}
565565

0 commit comments

Comments
 (0)