Patrick Walton
c6605168a1
libcore: De-export logging and pipes
2012-09-26 16:46:54 -07:00
Erick Tryzelaar
49d00b2f22
libstd: port json over to serialization2
2012-09-26 16:29:41 -07:00
Erick Tryzelaar
a1ab7d3cba
libstd: Add serialization2 versions of prettyprint and ebml
2012-09-26 16:20:25 -07:00
Erick Tryzelaar
79131ecfd3
replace resolve::Atom with ast::ident.
2012-09-26 16:20:25 -07:00
Erick Tryzelaar
b96af73159
turn ast::ident into a struct
...
This will help with the auto_serialize2 migration. We have to change
ident from a type alias to uint into a unique type. We need to use
a struct instead of a "enum ident = token::str_num" because structs
support constants, but newtypes do not.
2012-09-26 16:20:24 -07:00
Erick Tryzelaar
c0b9986c8f
libstd: change serialization2 to take &self argument methods
...
Unfortunately this trips over issue (#3585 ), where auto-ref isn't
playing nicely with @T implementations. Most serializers don't
care, but prettyprint2 won't properly display "@" until #3585 is
fixed.
2012-09-26 16:20:24 -07:00
Erick Tryzelaar
cd93441705
auto_serialize2 should fully qualify std::serialization2::deserialize
2012-09-26 16:20:24 -07:00
Erick Tryzelaar
99d84bacc8
libsyntax: remove quasiquoter from auto_serialize2
2012-09-26 16:20:24 -07:00
Erick Tryzelaar
d2506a1787
test: Add a test for auto_serialize2
2012-09-26 16:20:24 -07:00
Erick Tryzelaar
2ba9d2a888
libsyntax: implement auto_serialize2 for enums, records, and structs
2012-09-26 16:20:24 -07:00
Erick Tryzelaar
780b23af73
libstd: add the new trait-based serialization
...
This will need a snapshot before we can convert ebml and rustc
to use the new-style serialization.
2012-09-26 16:20:24 -07:00
Erick Tryzelaar
75935cea7f
cargo: capcase types
2012-09-26 16:20:24 -07:00
Erick Tryzelaar
dd502fc6e4
Allow hashmaps to infer their types
2012-09-26 16:20:24 -07:00
Patrick Walton
18bce94a5a
libcore: De-export dvec, rand, run, and sys
2012-09-26 16:04:23 -07:00
Brian Anderson
4f15b0d975
std: Fix mode warnings in fun_treemap and list
2012-09-26 15:59:52 -07:00
Eric Holk
135ebca8aa
Refactoring ReaderUtil trait, combining it with the traitless impl on Reader.
2012-09-26 15:55:42 -07:00
Patrick Walton
f41cf208b7
libcore: De-export box, cast, and dlist
2012-09-26 15:25:17 -07:00
Patrick Walton
e956edeb55
libcore: De-export bool
2012-09-26 14:55:08 -07:00
Niko Matsakis
8b13912a83
Make impl of Add for @[] public
...
It's not clear that impls should have to be public to be used
from outside the crate; in particular, I don't know whether
they have to be public to be used from other modules within
the same crate.
2012-09-26 14:26:09 -07:00
Patrick Walton
264e1b2edb
libcore: De-mode at_vec
2012-09-26 12:29:27 -07:00
Patrick Walton
a7db161eed
Revert "Revert "libcore: De-mode at_vec""
...
This reverts commit fe09451a5a
.
2012-09-26 12:29:27 -07:00
Tim Chevalier
101bc62ad9
Revert "fix modes on dtors"
...
This reverts commit d38b97a170
.
(Accidentally checked this in, oops)
2012-09-26 10:43:11 -07:00
Tim Chevalier
540934980a
Demode some of core::io
2012-09-26 10:42:23 -07:00
Tim Chevalier
d38b97a170
fix modes on dtors
2012-09-26 10:42:11 -07:00
Tim Chevalier
e0d5d03451
Demode tuple
2012-09-26 10:41:19 -07:00
Vincent Belliard
ef23d77633
fix issue #3535 and add colon between mode and type when dumping funcion prototype
2012-09-26 07:48:19 -07:00
Tim Chevalier
95bc32dc4f
Fix borked tests
2012-09-25 22:13:05 -07:00
Tim Chevalier
e19e628b19
Demode iter-trait
2012-09-25 22:13:05 -07:00
Tim Chevalier
473a866733
Fix long lines
2012-09-25 22:13:05 -07:00
Tim Chevalier
7acf89c022
Fix long line
2012-09-25 22:13:05 -07:00
Tim Chevalier
00ffb15aac
Demode pipes::set_buffer
2012-09-25 22:01:05 -07:00
Tim Chevalier
d8ef6bfebf
Comment out at_vec test that fails
2012-09-25 22:00:53 -07:00
Tim Chevalier
fe09451a5a
Revert "libcore: De-mode at_vec"
...
This reverts commit ab6318803e
.
2012-09-25 20:59:14 -07:00
Tim Chevalier
3023bd8729
Demode dvec
2012-09-25 18:27:55 -07:00
Patrick Walton
ab6318803e
libcore: De-mode at_vec
2012-09-25 18:06:26 -07:00
Patrick Walton
cac5a9f916
libcore: De-export core::at_vec
2012-09-25 17:53:23 -07:00
Brian Anderson
d05e2ad66c
Demode core::result
2012-09-25 17:48:22 -07:00
Brian Anderson
62649f0412
Check more things with deprecated_modes
2012-09-25 17:41:29 -07:00
Patrick Walton
e500659eb5
rustc: Reduce shape.rs to the bare minimum needed to not trigger bugs
2012-09-25 17:39:23 -07:00
Patrick Walton
954eee5310
test: Remove various box annihilator tests
2012-09-25 17:06:01 -07:00
Patrick Walton
42b6037297
rustc: Remove most of the code that generates shapes
2012-09-25 16:53:23 -07:00
Patrick Walton
a66e23d236
rustc: Stop generating shape tables
2012-09-25 16:40:37 -07:00
Tim Chevalier
e85a3d8247
Demode Num trait and impls
2012-09-25 15:52:41 -07:00
Graydon Hoare
2d91567892
Fix combine-tests.py to emit #[legacy_exports];
2012-09-25 15:31:02 -07:00
Graydon Hoare
fdd48dd903
Respect privacy qualifiers on view items, add to import resolutions.
2012-09-25 15:31:02 -07:00
Niko Matsakis
12a0401d84
Change method res to try autoref more often. Fixes #3585 .
2012-09-25 15:22:38 -07:00
Patrick Walton
a770d86201
rustc: Move generally useful functions out of shape.rs in preparation for its destruction
2012-09-25 15:22:08 -07:00
Patrick Walton
f41c53667e
rustc: Fix calls to the logging function when the must_cast flag is true; stop using shape code for logging
2012-09-25 14:56:17 -07:00
Niko Matsakis
267ab11cca
use + mode for (almost) everything when not using legacy modes
2012-09-25 12:47:35 -07:00
Brian Anderson
37aee97e4b
core: Mark more mods as demoded
2012-09-25 12:18:52 -07:00
Patrick Walton
ee7fa194fa
Revert "rustc: Stop using shape code for logging" due to ICEs
...
This reverts commit ac822a52be
.
2012-09-25 12:17:05 -07:00
Patrick Walton
f813f519a5
rt: Remove the cycle collector
2012-09-25 12:13:20 -07:00
Patrick Walton
ac822a52be
rustc: Stop using shape code for logging
2012-09-25 11:44:23 -07:00
Patrick Walton
dbc00ced3a
rt: Add a logging function for strings (only).
...
This will be the shape-free replacement for upcall_log_type.
2012-09-24 20:26:06 -07:00
Patrick Walton
00e3492511
rt: Call the Rust box annihilator; stop calling the cycle collector
...
This reverts commit 991cbfe42c
.
2012-09-24 20:25:56 -07:00
Patrick Walton
530540025c
libcore: Fix 32 bit Rust task structure offsets for unwinding
2012-09-24 20:25:51 -07:00
Graydon Hoare
546f3dbbf5
Build the export_map2 from visibility markers, unless #[legacy_exports];
2012-09-24 17:29:32 -07:00
Graydon Hoare
9c6ae65865
Support visibility qualifiers in crate directives properly.
2012-09-24 17:29:32 -07:00
Brian Anderson
c675cd396d
rustdoc: Fix for generations of anchors. #3570
2012-09-24 14:15:49 -07:00
Patrick Walton
991cbfe42c
Revert "rt: Call the Rust box annihilator; stop calling the cycle collector" due to crashes
...
This reverts commit bb0ad11252
.
2012-09-24 14:14:03 -07:00
Patrick Walton
bb0ad11252
rt: Call the Rust box annihilator; stop calling the cycle collector
2012-09-24 13:57:48 -07:00
Brian Anderson
afd91f8a56
Register snapshots. Remove redundant Eq impls, Makefile hacks
2012-09-23 23:01:49 -07:00
Ben Blum
8baed1f25f
vim - Update bblum's email address and highlight trait names
2012-09-23 23:24:25 -04:00
Brian Anderson
acab1cd2ce
Fix more windows breakage
2012-09-23 19:53:42 -07:00
Brian Anderson
0e14fd6e13
core: Fix some option-demode fallout on windows
2012-09-23 18:32:57 -07:00
Brian Anderson
4a78f9b166
core: Demode option
2012-09-23 17:15:00 -07:00
Brian Anderson
92752a462a
xfail-test run-fail/out-of-stack-managed-box
2012-09-23 17:12:59 -07:00
Brian Anderson
32032491ed
core: Un-legacy-export stackwalk, cmath
2012-09-23 16:42:05 -07:00
Niko Matsakis
0a26edca75
Fix trans for region patterns (&P)
2012-09-23 13:30:20 -05:00
Niko Matsakis
ba3eebd41d
Make it illegal to use modes in a fn signature with providing
...
an explicit variable name. (Step one to changing the defaults)
First step to #3535
2012-09-23 13:30:13 -05:00
Brian Anderson
655f7f844c
Remove bogus comment
2012-09-21 21:55:56 -07:00
Brian Anderson
b10e575217
Add tests for out-of-stack box leak #2555
2012-09-21 21:50:02 -07:00
Brian Anderson
60a1497ebb
rustc: Make x-ray resolution work with non-legacy-exports
...
Code generated for the test runner needs to break visibility rules
2012-09-21 19:26:31 -07:00
Niko Matsakis
3d59ac3a19
De-mode vec::map, vec::eachi, vec::rev_each, vec::rev_eachi
2012-09-21 19:13:55 -07:00
Brian Anderson
f3c31a07d7
rustdoc: Fix exports for new regime
2012-09-21 19:09:59 -07:00
Brian Anderson
298ab6f459
Revert "core: De-export at_vec and extfmt"
...
This reverts commit 6267d8a94a
.
2012-09-21 19:04:06 -07:00
Brian Anderson
6267d8a94a
core: De-export at_vec and extfmt
2012-09-21 18:49:22 -07:00
Patrick Walton
f3d6c506a4
libsyntax: Fix botched merge
2012-09-21 18:44:00 -07:00
Patrick Walton
d48396c986
libcore: De-mode str
2012-09-21 18:37:06 -07:00
Brian Anderson
49af969e2c
rust-mode: Add pub and priv
2012-09-21 18:25:51 -07:00
Graydon Hoare
dffe188991
Install new pub/priv/export rules as defaults, old rules accessible under #[legacy_exports];
2012-09-21 18:11:43 -07:00
Brian Anderson
60443d4888
rustdoc: Add prune_private_pass. Off for now
2012-09-21 18:07:17 -07:00
Brian Anderson
c32cde16ab
rustdoc: Cleanup
2012-09-21 17:11:29 -07:00
Patrick Walton
3c2b6110dd
rustc: Shove the address of the box annihilator into the crate map
2012-09-21 11:42:57 -07:00
Brian Anderson
a51a561852
rustc: Remove middle/tstate
...
I feel like I've done this before
2012-09-21 00:45:25 -07:00
Brian Anderson
f5be40384f
Revert "syntax: Make attributes sendable for rustdoc's benefit"
...
This reverts commit 90e3665fa7
.
2012-09-20 18:15:39 -07:00
Brian Anderson
90e3665fa7
syntax: Make attributes sendable for rustdoc's benefit
2012-09-20 17:37:21 -07:00
Brian Anderson
19ad88c2b8
core: Mark gc and stackwalk as demoded
2012-09-20 17:29:20 -07:00
Brian Anderson
ee426f177b
core: Mark three more trivial mods as demoded
2012-09-20 17:18:18 -07:00
Brian Anderson
1b5efaac27
syntax: Pass the correct crate_cfg to the syntax expander
2012-09-20 16:41:53 -07:00
Brian Anderson
e14a0eec23
core: Indicate that flate is demoded
2012-09-20 16:40:18 -07:00
Brian Anderson
89bbbd612a
rustdoc: Use doc comments for rustdoc's rustdocs
2012-09-20 16:10:27 -07:00
Brian Anderson
d3f0ede198
rustdoc: Support the --help option
2012-09-20 15:39:33 -07:00
Brian Anderson
3e9284d128
core: Demode sys
2012-09-20 15:37:55 -07:00
Brian Anderson
3480986408
core: Minor doc tweakage
2012-09-20 15:33:52 -07:00
Brian Anderson
0bd02b113c
rustdoc: Also don't print struct attributes
2012-09-20 15:14:32 -07:00
Patrick Walton
5558ebb6b7
libcore: Fix level-of-indirection problem in str::buf_as_slice
2012-09-20 15:05:20 -07:00
Brian Anderson
e0f5f25911
rustdoc: Don't print struct drop blocks
2012-09-20 14:41:09 -07:00
Niko Matsakis
38595e6664
remove cfg(stage0) version of Eq, not needed for tests
2012-09-20 14:34:22 -07:00
Brian Anderson
7abf55736c
core: Move 'unreachable' to util. Improve docs
2012-09-20 14:27:37 -07:00