Graydon Hoare
a2ba952ff4
Mention NFKC, reformat lines to reflect 'semantic clause' structure.
2012-09-26 16:30:33 -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
Brian Anderson
24153eb30f
tutorial: Typo
2012-09-26 16:19:21 -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
Graydon Hoare
e7b8388cb4
Pass stage1 for relevant portion of "stage0" cross compile
2012-09-26 14:57:43 -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
Brian Anderson
349ef79ce7
docs: Only display one level of hierarchy in the TOC
2012-09-25 15:03:32 -07:00