Commit Graph

12886 Commits

Author SHA1 Message Date
Zack Corr
ca4455666e jit: Initialize native parser so rust-repl works 2012-09-27 16:07:33 +10:00
Zack Corr
ebe6b2d15c jit: Enable exception handling 2012-09-27 12:57:58 +10:00
Zack Corr
887b59b7be jit: Separate JIT execution into two functions and load crates before main lookup 2012-09-27 12:57:58 +10:00
Tim Chevalier
996ec62cbf Remove spurious by-ref argument to destructors
Destructors were internally declared with an extra (hidden) nil-typed
argument that was passed in by-ref mode. This was causing spurious
mode warnings. Deleted it. Also some misc. cleanup because I
couldn't help myself.
2012-09-26 19:42:02 -07:00
Brian Anderson
656cbead49 tutorial: Convert a list to prose 2012-09-26 19:34:48 -07:00
Brian Anderson
010f805a7b Unbreak test/bench/task-perf-word-count-generic 2012-09-26 19:30:09 -07:00
Brian Anderson
0ec267b276 std: Demode more of list and treemap 2012-09-26 19:12:32 -07:00
Brian Anderson
5424f21d5d docs: Give all tutorials consistent titles and intro sections 2012-09-26 19:00:13 -07:00
Brian Anderson
ae1a73029c tutorial: Minor tweaks 2012-09-26 18:54:47 -07:00
Patrick Walton
1880d783b7 libcore: Partially de-export int-template and uint-template 2012-09-26 18:46:48 -07:00
Brian Anderson
52c3cf296b Fix fuzzer/cargo breakage 2012-09-26 18:45:35 -07:00
Brian Anderson
87a72567f0 Unbreak run-pass/issue-2904 more 2012-09-26 18:41:02 -07:00
Brian Anderson
3232e75995 tutorial: Delete 'what to be aware of'
This section associates borrowed pointers purely with stack allocation, which
is confusing. The following sections explain pointers in detail.
2012-09-26 18:36:38 -07:00
Brian Anderson
8f0e9ff029 Long lines 2012-09-26 18:23:05 -07:00
Patrick Walton
a08919a522 libcore: Partially de-export char, f32, f64, and float 2012-09-26 18:17:33 -07:00
Brian Anderson
dd80cb22e3 Fix test/run-fail/issue-2156 2012-09-26 18:10:35 -07:00
Brian Anderson
c244147c50 tutorial: Swap order of pointers for emphasis on & 2012-09-26 18:10:35 -07:00
Niko Matsakis
67a8e7128a Demode vec::push (and convert to method) 2012-09-26 18:02:07 -07:00
Patrick Walton
cd79e1d1b2 libcore: De-export ptr, send_map, and task::local_data 2012-09-26 17:47:29 -07:00
Patrick Walton
c91821d356 libcore: De-export cleanup, cmath, future, gc, hash, iter-trait, mutable, and private 2012-09-26 17:21:09 -07:00
Graydon Hoare
25715bd59e Fix check-fast for the change to main's signature. 2012-09-26 17:20:49 -07:00
Brian Anderson
26a8fe3553 Fix test/run-pass/issue-2904 2012-09-26 17:03:02 -07:00
Patrick Walton
c6605168a1 libcore: De-export logging and pipes 2012-09-26 16:46:54 -07:00
Brian Anderson
2891f5abe3 tutorial: Remove all references to 'records'. Misc 2012-09-26 16:41:35 -07:00
Graydon Hoare
e4148932fc Remove para on named impls. 2012-09-26 16:30:41 -07:00
Graydon Hoare
bf82d689ce Remove more references to 'export', fix crate keyword list. 2012-09-26 16:30:40 -07:00
Graydon Hoare
d26e2a9ce6 Switch a use of unchecked to unsafe. 2012-09-26 16:30:38 -07:00
Graydon Hoare
fbf362809b Remove description of export, briefly describe pub use. 2012-09-26 16:30:36 -07:00
Graydon Hoare
385c4dfba0 Adjust keyword list in refman to reflect present. 2012-09-26 16:30:35 -07:00
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