Patrick Walton
4101d8c22d
rustc: Add a side table for legacy boxed traits, not filled in.
...
This is part of the transition to "@int as @Trait".
2012-10-02 16:19:03 -07:00
Patrick Walton
2df168812d
libcore: Implement os::args() on Windows
2012-10-02 15:33:44 -07:00
Patrick Walton
5e7ff924b5
rustc: Don't error out early when constructing a boxed trait.
...
This improves error messages a bit and helps pave the way for "@int as @Trait"
(as opposed to "int as @Trait").
2012-10-02 15:31:10 -07:00
Tim Chevalier
f78cdcb636
Removing explicit uses of + mode
...
This removes most explicit uses of the + argument mode. Pending a
snapshot, I had to remove the forbid(deprecated_modes) pragma from
a bunch of files. I'll put it back!
+ mode still has to be used in a few places for functions that get
moved (see task.rs)
The changes outside core and std are due to the to_bytes trait and
making the compiler (with legacy modes on) agree with the libraries
(with legacy modes off) about modes.
2012-10-02 14:31:39 -07:00
Brian Anderson
a5042d58ee
Merge pull request #3642 from dbp/random
...
core::rand - adding rand::random(), a shortcut to generate a uint
2012-10-02 14:23:14 -07:00
Daniel Patterson
0b9a47a189
core::rand - adding rand::random(), a shortcut to generate a uint with task-local rng
2012-10-02 17:15:14 -04:00
Patrick Walton
9284179311
libstd: Switch off legacy modes in both core and std.
2012-10-02 12:20:06 -07:00
Graydon Hoare
b787a26534
De-export comm, task. Part of #3583 .
2012-10-02 12:05:08 -07:00
Graydon Hoare
201513e859
De-export std::{fun_treemap, list, map}. Part of #3583 .
2012-10-02 12:04:49 -07:00
Niko Matsakis
092de78fab
Update to current rules, make (more) examples build
2012-10-02 12:02:48 -07:00
Daniel Patterson
6c7459de99
core::rand - adding test for task_rng()
2012-10-02 11:23:32 -07:00
Daniel Patterson
c7354e6c10
core::rand - adding task local lazily initialized rng, as per #3439
2012-10-02 11:23:32 -07:00
Brian Anderson
4d30b34673
core: Add implementation of real_args for FreeBSD
2012-10-02 10:31:37 -07:00
Brian Anderson
6365adaa61
Don't warn about non-camel-case types by default
2012-10-02 09:36:50 -07:00
Brian Anderson
14a2448d03
docs: Typo
2012-10-01 22:39:24 -06:00
Niko Matsakis
b1506c3150
silence warning
2012-10-01 20:44:30 -07:00
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