Brian Anderson
3d45e55c97
Update 0.4 release notes
2012-10-03 17:41:08 -07:00
Orphée Lafond-Lummis
ae4f8fb87a
rustc man page and usage text update.
...
* Mark --static as experimental;
* Remove --stats, as the option isn't implemented.
* Bold and surround by pointy brackets (<>) all the URLs of rustc man page, for
consistency.
2012-10-03 20:19:20 -04:00
Patrick Walton
f885205b1b
rustc: Unbreak old-style boxed traits
2012-10-03 17:18:24 -07:00
Patrick Walton
b34327be0d
rustc: Implement "@Foo as @Bar" for boxed traits
2012-10-03 17:03:29 -07:00
Patrick Walton
d936773e56
test: Add a test case for "pub use a::*"
2012-10-03 17:03:29 -07:00
Graydon Hoare
35598b4595
De-export net::*. Part of #3583 .
2012-10-03 17:01:32 -07:00
Tim Chevalier
53906bb4fb
Change default mode for fns to be by-copy, except for fn&
2012-10-03 16:34:36 -07:00
Graydon Hoare
a1ab0cd6a8
Sub-uses from libc should be pub.
2012-10-03 15:14:56 -07:00
Graydon Hoare
365f174838
Attempt to fix os::args errors on various platforms.
2012-10-03 15:02:22 -07:00
Brian Anderson
72b7a7707f
test: Use println instead of debug in hello.rs
2012-10-03 14:29:59 -07:00
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