Zack Corr
ca4455666e
jit: Initialize native parser so rust-repl works
2012-09-27 16:07:33 +10:00
Brian Anderson
1b3086aada
Revert "Register snapshots"
...
This reverts commit ccaaad1912
.
2012-09-26 22:24:30 -07:00
Brian Anderson
ccaaad1912
Register snapshots
2012-09-26 22:23:31 -07:00
Niko Matsakis
e844e1db6e
change vec::view sig to be sound (good catch @bblum)
2012-09-26 21:29:22 -07:00
Brian Anderson
2340ef96d5
Merge pull request #3526 from Dretch/viewmethod
...
Make vec::view a method too.
2012-09-26 21:08:26 -07:00
Brian Anderson
7f7af5f2ce
Merge pull request #3605 from dbp/tutorial
...
tutorial: changing `again` to `loop`
2012-09-26 20:56:50 -07:00
Daniel Patterson
55ab0435e7
tutorial: changing again
to loop
2012-09-26 23:28:39 -04:00
Brian Anderson
e8fe718bfd
core: Replace map/map_default with map_ref/map_default_ref
2012-09-26 20:15:23 -07:00
Brian Anderson
64de6d638d
core: Fix mode warnings in str
2012-09-26 20:04:20 -07: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