Commit graph

13030 commits

Author SHA1 Message Date
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
Brian Anderson 4e2899ba88 docs: Note that the manual is out of date 2012-09-28 16:36:11 -07:00
Graydon Hoare 9b64d71848 Fix windows breakage. 2012-09-28 16:35:33 -07:00
Graydon Hoare ad951b5976 De-export ptr, hash. Part of #3583. 2012-09-28 16:27:28 -07:00
Graydon Hoare baa08d5a95 Fix long line. 2012-09-28 16:27:28 -07:00
Graydon Hoare 1d51cfa1e8 Finish de-exporting send_map, future, pipes. Part of #3583. 2012-09-28 16:27:09 -07:00
Graydon Hoare e17d998e95 De-export std::{time, prettyprint{,2}, arena}. Part of #3583. 2012-09-28 16:26:33 -07:00
Graydon Hoare 1948ddf583 De-mode std::unicode. Part of #3583. 2012-09-28 16:26:18 -07:00
Brian Anderson 37ff152851 docs: Fix links to libs in manual 2012-09-28 16:23:08 -07:00
Brian Anderson 74a46ea74c std: More demoding 2012-09-28 16:19:38 -07:00
Niko Matsakis 565b39b302 rename iter2 to each2, make it follow iterator protocol 2012-09-28 16:13:03 -07:00
Graydon Hoare fd8e7aab71 De-export bool, tuple, unit, uniq. Part of #3583. 2012-09-28 16:05:53 -07:00
Graydon Hoare 43a9d90b48 De-export std::{arc,comm,sync}. Part of #3583. 2012-09-28 16:05:45 -07:00
Graydon Hoare 4b7d4cd0cf De-export str. Part of #3583. 2012-09-28 15:41:15 -07:00
Brian Anderson 9e0a43c932 Pretty-print item visibility modifiers 2012-09-28 15:04:23 -07:00
Tim Chevalier 2fe451c6ba Fix patterns in either 2012-09-28 14:59:23 -07:00
Tim Chevalier d9a06be224 Fix patterns in tuple 2012-09-28 14:59:22 -07:00
Graydon Hoare 70ae3e7bf2 De-export std::{bitv, cell, timer}. Part of #3583. 2012-09-28 14:55:43 -07:00