Commit Graph

13315 Commits

Author SHA1 Message Date
Erick Tryzelaar
2569adc5ea Split auto_serialize2 into two macros 2012-10-01 20:44:30 -07:00
Erick Tryzelaar
372c7de201 Add struct to auto_serialize2 test 2012-10-01 20:44:30 -07:00
Erick Tryzelaar
4f4160ee3b Factor out auto_serialize2's impls from each other. 2012-10-01 20:44:30 -07:00
Erick Tryzelaar
c46b6f9efb auto_serialize2 should deserialize structs using read_struct 2012-10-01 20:44:30 -07:00
Erick Tryzelaar
8fc3088b2a rename vec::raw::form_slice to buf_as_slice
This matches the str::raw function.
2012-10-01 20:44:30 -07:00
Erick Tryzelaar
81423a3866 Add deserializable and more types to serialization2 2012-10-01 20:43:59 -07:00
Erick Tryzelaar
0a950f394d test: un-xfail the auto_serialize for boxes test 2012-10-01 20:43:59 -07:00
Erick Tryzelaar
0159fe7ce9 libstd: remove unused imports from json 2012-10-01 20:43:59 -07:00
Brian Anderson
8b094c36aa Merge pull request #3638 from dbp/typo
core::task - typo in comment
2012-10-01 19:36:58 -07:00
Brian Anderson
7b7c2a49b9 docs: Begin integrating bblum's linked failure blog post 2012-10-01 19:24:48 -07:00
Brian Anderson
84d10c68fb docs: Task tutorial cleanup 2012-10-01 19:24:48 -07:00
Daniel Patterson
ebdb4b7ef7 core::task - typo in comment 2012-10-01 22:21:41 -04:00
Graydon Hoare
fa010a6ee4 De-export std::{uv, uv_ll, uv_iotask, uv_global_loop}. Part of #3583. 2012-10-01 18:21:41 -07:00
Graydon Hoare
13979eb7e2 De-export std::test. Part of #3583. 2012-10-01 18:00:14 -07:00
Graydon Hoare
7ead3c0411 De-export dlist, dvec. Part of #3583. 2012-10-01 17:50:44 -07:00
Brian Anderson
5d8b694e14 docs: More task tutorial 2012-10-01 17:45:33 -07:00
Graydon Hoare
39f114d171 De-export iter and result. Part of #3583. 2012-10-01 17:27:56 -07:00
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
Luca Bruno
27a984e254 Use both DESTDIR and prefix
The DESTDIR variable is not intended as a prefix substitute, but
as an additonal staging pre-path. Concatenate the two when available.

Signed-off-by: Luca Bruno <lucab@debian.org>
2012-10-01 23:11:44 +02: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