Commit Graph

12997 Commits

Author SHA1 Message Date
Tim Chevalier
24fbf88230 In lint, don't complain about infer mode if legacy modes aren't enabled 2012-10-01 16:49:39 -07:00
Graydon Hoare
e480e19694 Attempt to fix option::test_unwrap_str breakage. 2012-10-01 16:14:30 -07:00
Graydon Hoare
9c8ff35727 De-export either. Part of #3583. 2012-10-01 16:11:37 -07:00
Graydon Hoare
c042e06908 De-export vec. Part of #3583. 2012-10-01 16:11:17 -07:00
Patrick Walton
4c3fede84f libcore: Fix tidy error 2012-10-01 16:02:17 -07:00
Patrick Walton
9fe40e8a7b libcore: Allow the command line arguments to be set on a per-task basis 2012-10-01 15:35:04 -07:00
Graydon Hoare
a4a7df0ccc Fix rope breakage from de-exporting. 2012-10-01 15:26:53 -07:00
Tim Chevalier
b18320446e Move over to calling ptr::addr_of
Everything should now call ptr::addr_of instead of
ptr::p2::addr_of. Only the pipes macro code when compiled
by stage0 will call ptr::p2::addr_of. Needs a snapshot to get
rid of that.
2012-10-01 15:12:09 -07:00
Tim Chevalier
72ae42627b Call 'new' instead of 'old' extfmt code, preparing for snapshot 2012-10-01 15:12:09 -07:00
Patrick Walton
9b4db17630 libcore: Implement a sys::args() on Mac 2012-10-01 14:36:55 -07:00
Graydon Hoare
1229d1c2ce De-export option and option_iter. Part of #3583. 2012-10-01 14:12:36 -07:00
Graydon Hoare
db44dc5cf2 De-export gc and io. Part of #3583. 2012-10-01 14:09:44 -07:00
Graydon Hoare
8cc61c816a De-export std::{rope,smallintmap}. Part of #3583. 2012-10-01 14:09:09 -07:00
Tim Chevalier
9ff95e29b3 Demode ebml, ebml2, json, par 2012-10-01 12:36:41 -07:00
Brian Anderson
314805d3ae Bump llvm again to pick up a compiler-rt fix for OS X 2012-10-01 11:48:46 -07:00
Brian Anderson
c3f9b7243b docs: Tweak style 2012-09-30 21:35:32 -07:00
Erick Tryzelaar
863c60eb8d Another llvm update, this time updating compiler-rt 2012-09-30 18:10:40 -07:00
Brian Anderson
3ffc9fca03 Add bbrittain's llvm python fixes 2012-09-30 18:10:40 -07:00
Erick Tryzelaar
fd6557ea11 rustc: llvm grew some new enum variants 2012-09-30 18:10:40 -07:00
Erick Tryzelaar
c71dc77dac rustc: uniquely mangle expr_fn names
two closures in the same function body can end up having
the same mangled name. This small patch uses gensym to
uniquely name each closure body so there won't be conflicts.
2012-09-30 18:10:40 -07:00
Erick Tryzelaar
c756ec0c5e rebase rust llvm patches onto llvm HEAD 2012-09-30 18:10:39 -07:00
Brian Anderson
9387340aab Register snapshots 2012-09-30 15:40:19 -07:00
Gareth Daniel Smith
1c76d189c0 When a vec/str bounds check fails, include the bad index and the length of the str/vec in the fail message. 2012-09-30 14:55:56 -07:00
Brian Anderson
2f95f7d8de doc: Mention std::par in task tutorial 2012-09-29 19:29:28 -07:00
Brian Anderson
c9e90de19f Fix a compilation error on windows 2012-09-29 19:25:04 -07:00
Brian Anderson
6d97c4177c docs: Begin rewriting the task tutorial 2012-09-29 19:21:12 -07:00
Brian Anderson
affa3880de core: Fix unsafe code in spawn_raw 2012-09-29 16:33:53 -07:00
Brian Anderson
6bb0399df2 rt: Check the results of pthread calls
The stage0 compiler is not working on an x86_64 debian wheezy instance and it
looks like maye pthread_create is failing
2012-09-29 16:29:47 -07:00
Brian Anderson
42c6265a8c Register snapshots 2012-09-29 15:52:36 -07:00
Tim Chevalier
4f323d05da Unbork Windows 2012-09-28 23:30:17 -07:00
Tim Chevalier
3639d38d5c Add a demoded version of ptr::addr_of
Currently, the new version is ptr::p2::addr_of and the old one is
ptr::addr_of. This is kind of cheesy, but I need a snapshot before I
can ditch the old version, since the pipe compiler generates calls to
addr_of.

core is converted over to use the new version, std is not.
2012-09-28 22:19:01 -07:00
Tim Chevalier
f1014c43fd Finish demoding iter: from_elem, copy_seq, map, append 2012-09-28 21:52:32 -07:00
Brian Anderson
d0333a8e41 std: Make the DuplexStream constructor public 2012-09-28 22:19:43 -06:00
Tim Chevalier
90f959aad4 Fix graph500-bfs 2012-09-28 19:26:24 -07:00
Brian Anderson
c9fb1b19aa Add allow(deprecated_\*) to syntax, rustc, rustdoc, et al 2012-09-28 18:38:59 -07:00
Graydon Hoare
f311bb38cd Fix benchmarks. 2012-09-28 18:26:36 -07:00
Tim Chevalier
84b0583064 Squash a couple pattern warnings that I missed 2012-09-28 17:59:01 -07:00
Tim Chevalier
a3a257cc3b Demode iter::foldl and friends 2012-09-28 17:57:02 -07:00
Tim Chevalier
fdc6062136 Demode dvec 2012-09-28 17:55:34 -07:00
Brian Anderson
e48429abae core: Demode the vec::foldr method 2012-09-28 17:48:14 -07:00
Graydon Hoare
9e6d3cf3c9 De-export std::c_vec. Part of Part of #3583. 2012-09-28 17:47:36 -07:00
Graydon Hoare
3654287826 De-export logging, to_str, to_bytes, from_str, util. Part of #3583. 2012-09-28 17:47:09 -07:00
Tim Chevalier
fec96b2ae0 Demoding in iter: any, all, map_to_vec, flat_map_to_vec, filter_to_vec 2012-09-28 17:44:15 -07:00
Brian Anderson
f7e90fca6e docs: Make external links in manual relative so they link to the correct versions 2012-09-28 17:32:01 -07:00
Brian Anderson
9a8d4adb7d Long lines 2012-09-28 17:30:40 -07:00
Graydon Hoare
eba5eeaef8 De-export std::deque. Part of #3583. 2012-09-28 17:21:35 -07:00
Brian Anderson
ed42f26a48 rustdoc: Fix build errors 2012-09-28 17:17:29 -07:00
Brian Anderson
8766c2e35b core: Demode patterns 2012-09-28 16:57:36 -07:00
Brian Anderson
517206fd08 Merge pull request #3621 from z0w0/jit-crates
Add support for crate loading to JIT
2012-09-28 16:55:28 -07:00
Brian Anderson
a6fe5ef1a9 core: Fix more windows bustage 2012-09-28 16:44:38 -07:00