Commit graph

12347 commits

Author SHA1 Message Date
Patrick Walton
b808cfbb74 rustc: Don't translate the expression twice when adapting a borrowed method receiver. Closes #3357.
Adds a test case. I had to stare at this one for a bit.
2012-09-02 16:51:05 -07:00
Brian Anderson
49c9ac175f Silence non-implicitly-copyable-typarams in coretest 2012-09-02 16:34:36 -07:00
Brian Anderson
ffa5d76a78 core: Only warn about implicitly copying vecs 2012-09-02 16:21:57 -07:00
Brian Anderson
117aa8cfee core: warn(non_camel_case_types) everywhere, with few exceptions 2012-09-02 16:14:26 -07:00
Brian Anderson
a80b7dc709 Fix use of reinterpret_cast in to_mut_unsafe_ptr 2012-09-02 16:03:37 -07:00
Brian Anderson
512a769f6f std: Allow camel case for list type 2012-09-02 15:57:49 -07:00
Patrick Walton
f03ed73c5e libcore: Add ptr::to_mut_unsafe_ptr 2012-09-02 15:54:24 -07:00
Brian Anderson
1397c83f11 std: warn(non_camel_case_types) everywhere. still some exceptions 2012-09-02 15:49:36 -07:00
Brian Anderson
087c5032a8 core: deny(vecs_implicity_copyable) 2012-09-02 15:38:18 -07:00
Brian Anderson
7fb1a4e2d1 Camel case core::intrinsic 2012-09-02 15:19:52 -07:00
Brian Anderson
80c4f74c29 Remove the 'to' keyword 2012-09-01 18:38:18 -07:00
Brian Anderson
d777e51333 Demode reinterpret_cast 2012-09-01 18:18:29 -07:00
Brian Anderson
6bfc80f8fb Try to work around check-fast breakage 2012-09-01 18:08:15 -07:00
Brian Anderson
0505fc6750 Merge pull request #3343 from killerswan/modes9
More deprecated mode removal (sort.rs, fun_treemap.rs)
2012-09-01 15:50:37 -07:00
Brian Anderson
aea422014b Add test for #2989 2012-09-01 14:09:57 -07:00
Kevin Cantu
134e5c85a2 Demode sort.rs 2012-09-01 13:08:20 -07:00
Kevin Cantu
b06599a7a8 Demode fun_treemap.rs 2012-09-01 13:08:20 -07:00
Kevin Cantu
bf430b7032 Confirm demode of map.rs and prettyprint.rs 2012-09-01 13:08:20 -07:00
Kevin Cantu
2d8b3471e7 Confirm demode of base64.rs 2012-09-01 13:08:20 -07:00
Kevin Cantu
36a04bdd85 Confirm demode of cell.rs 2012-09-01 13:08:20 -07:00
Kevin Cantu
2095aee71d Confirm demode of unicode.rs 2012-09-01 13:08:20 -07:00
Patrick Walton
ce4e09b709 doc: Remove some unneeded sections on type inference and generic modes 2012-08-31 17:36:40 -07:00
Patrick Walton
4fc164a549 doc: Remove the section on modes from the tutorial 2012-08-31 17:27:00 -07:00
Patrick Walton
df34fe917a doc: Trim down the tutorial a little more 2012-08-31 17:20:36 -07:00
Patrick Walton
9eaaceb9f0 doc: Update the tutorial 2012-08-31 16:58:23 -07:00
Tim Chevalier
329281ebcc Remove type annotation that is no longer necessary
Closes #2617
2012-08-31 16:29:30 -07:00
Tim Chevalier
4128cc4cb4 Make utility funs in core::int, core::uint, etc. not by-reference
Closes #3302
2012-08-31 16:21:47 -07:00
Zack Corr
638db28c47 jit: Correct formatting and argv[0] for JITted programs 2012-08-31 16:20:36 -07:00
Zack Corr
efb576a60d jit: Clean rustllvm code, let rustc expose __morestack instead of linking in libmorestack and return _rust_main and call it from rustc 2012-08-31 16:20:36 -07:00
Brian Anderson
e27b8f7f02 Add JIT testing to compiletest with --jit 2012-08-31 16:20:36 -07:00
Brian Anderson
b999973c0f Add a morestack_addr (temporary) intrinsic 2012-08-31 16:20:36 -07:00
Zack Corr
a02ab41b65 jit: correct formatting 2012-08-31 16:20:36 -07:00
Zack Corr
6723a5a0ea jit: Forgot header for inlining pass 2012-08-31 16:20:36 -07:00
Zack Corr
19ea3ab480 jit: Add passes and cleanup code 2012-08-31 16:20:36 -07:00
Zack Corr
795acb7395 jit: Link in __morestack and make it resolvable by JIT 2012-08-31 16:20:36 -07:00
Zack Corr
7993f48209 jit: Add custom memory manager (still segfaulting) 2012-08-31 16:20:35 -07:00
Zack Corr
d7aa9918ef Add experimental JIT compiler 2012-08-31 16:20:35 -07:00
Brian Anderson
97bb812238 Add rust_annihilate_box to rustrt.def.in 2012-08-31 16:19:02 -07:00
Brian Anderson
e4a7c88450 Fix test case 2012-08-31 16:14:22 -07:00
Brian Anderson
a0de6b6d5f Merge remote-tracking branch 'erickt/incoming' 2012-08-31 16:14:18 -07:00
Lindsey Kuper
6d8d258f35 Tag things that have to do with default methods with issue #2794. 2012-08-31 19:09:01 -04:00
Graydon Hoare
5236a304c4 Fix check-fast. 2012-08-31 15:58:36 -07:00
Patrick Walton
5b4d5cee03 rustc: Make entire crates privileged scopes for the purposes of coherence 2012-08-31 15:14:15 -07:00
Elliott Slaughter
3b554c1e0c rt: Add tests for box annihilator. 2012-08-31 15:10:52 -07:00
Elliott Slaughter
f022f566a4 rt: Fix box annihilator to deallocate exchange heap boxes properly. 2012-08-31 15:10:52 -07:00
Elliott Slaughter
f8323ac615 rt: Add interface to box annihilator. 2012-08-31 15:10:52 -07:00
Brian Anderson
dbf6abf6bf std: Camel case net modules 2012-08-31 15:01:48 -07:00
Brian Anderson
afc1ccd282 Merge pull request #3308 from killerswan/modes7
Remove deprecated modes
2012-08-31 14:51:48 -07:00
Elliott Slaughter
3cd54ab1f2 Register snapshots. 2012-08-31 13:24:10 -07:00
Kevin Cantu
7d57b4864a Remove deprecated modes from list.rs (and temporarily delete list::push) 2012-08-31 12:55:39 -07:00