Tim Chevalier
c73e3320f8
Remove crud
2012-10-03 14:28:47 -07:00
Tim Chevalier
b6692500ff
Register snapshots
2012-10-03 14:26:50 -07:00
Tim Chevalier
9516e7b4b3
Revert "rustc: Don't error out early when constructing a boxed trait."
...
This reverts commit 5e7ff924b5
.
2012-10-03 14:05:51 -07:00
Tim Chevalier
f33539e446
Remove uses of + mode from libstd
...
More or less the same as my analogous commit for libcore. Had
to remove the forbid(deprecated_modes) pragma from some files -- will
restore it after the snapshot.
2012-10-03 14:05:51 -07:00
Graydon Hoare
654b4d6987
De-export std::{json, getopts}. Part of #3583 .
2012-10-03 13:38:00 -07:00
Graydon Hoare
fb83b40174
De-export std::{ebml, ebml2}. Part of #3583 .
2012-10-03 13:36:39 -07:00
Brian Anderson
009a38044c
Add Luca Bruno to AUTHORS.txt
2012-10-03 12:17:33 -07:00
Brian Anderson
60c3f713b9
Merge pull request #3644 from lucab/lucab/to-upstream/pull-1
...
Use both DESTDIR and prefix
2012-10-03 12:15:48 -07:00
Brian Anderson
73b2a932b7
doc: Minor tutorial improvements
2012-10-02 20:29:00 -07:00
Patrick Walton
2f451a7bd7
rustc: Only allow imports marked with "pub" to be imported from other modules
2012-10-02 18:15:19 -07:00
Graydon Hoare
8a5545e9cd
Fix long line.
2012-10-02 16:32:45 -07:00
Graydon Hoare
c31a88c7f4
De-export the submodules of task. Part of #3583 .
2012-10-02 16:32:00 -07:00
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