Commit Graph

19415 Commits

Author SHA1 Message Date
Patrick Walton
89eb995195 librustc: Fix merge fallout. 2013-06-28 10:44:16 -04:00
Patrick Walton
03ab6351cc librustc: Rewrite reachability and forbid duplicate methods in type implementations.
This should allow fewer symbols to be exported.
2013-06-28 10:44:16 -04:00
Patrick Walton
a1531ed946 librustc: Remove the broken overloaded assign-ops from the language.
They evaluated the receiver twice. They should be added back with
`AddAssign`, `SubAssign`, etc., traits.
2013-06-28 10:44:16 -04:00
Patrick Walton
3fcd4dca30 libsyntax: Remove "copy" pattern bindings from the language 2013-06-28 10:44:16 -04:00
Patrick Walton
8cd40f9032 libstd: Fix merge fallout. 2013-06-28 10:44:15 -04:00
Patrick Walton
f463e69d20 librustc: Add a small vector optimization for GEPi. Shaves a second off trans, I think? 2013-06-28 10:44:15 -04:00
Patrick Walton
90ad444287 libsyntax: Fix merge fallout 2013-06-28 10:44:15 -04:00
Patrick Walton
f9b54541ee librustc: Disallow "mut" from distributing over bindings.
This is the backwards-incompatible part of per-binding-site "mut".
2013-06-28 10:44:15 -04:00
Patrick Walton
1c0aa78481 librustc: Change "Owned" to "Send" everywhere 2013-06-28 10:44:15 -04:00
Patrick Walton
1eec3bba13 librustc: Rename Const to Freeze 2013-06-28 10:44:15 -04:00
Patrick Walton
d350981c0e librustc: Change Const to Freeze in the compiler 2013-06-28 10:44:15 -04:00
Patrick Walton
607b91d5f9 librustc: Rename Owned to Send in the compiler 2013-06-28 10:44:07 -04:00
bors
811e045c60 auto merge of #7426 : thestinger/rust/zero-size-noncopyable, r=catamorphism
4885918 r=huonw
42a63fc r=thestinger
7ec5a08 r=catamorphism
fb1e5f1 r=thestinger
659cd55 r=cmr
2013-06-28 05:28:32 -07:00
bors
887ae82382 auto merge of #7397 : catamorphism/rust/rustpkg_path, r=catamorphism
r? @brson Unfortunately, the main test for this is ignored due to #7071.

Closes #5682
2013-06-28 02:58:34 -07:00
bors
8600c18812 auto merge of #7272 : Aatch/rust/namegen_thunk, r=thestinger
This removes the `namegen` thunk that was in `common.rs`. I also take the opportunity to refactor a few uses where we had a `str -> ident -> str` chain that seemed somewhat redundant to me.

Also cleans up some warnings that made their way in already.
2013-06-28 01:01:52 -07:00
James Miller
a897a9ab9f Remove useless namegen thunk 2013-06-28 18:00:20 +12:00
Tim Chevalier
ea62fd1090 rustpkg: Implement RUST_PATH
Unfortunately, the main test for this is ignored due to #7071.

Closes #5682
2013-06-27 21:41:03 -07:00
Brian Anderson
3fbea16107 Update man page 2013-06-28 00:31:58 -04:00
Daniel Micay
659cd55e75 add a tutorial on containers and iterators 2013-06-28 00:24:09 -04:00
Daniel Micay
c45af01351 fix stage0 build 2013-06-28 00:23:38 -04:00
Daniel Micay
5fccce4051 rc: add missing #[unsafe_no_drop_flag]
The destructors were updated in d9f6dd263c
but this was accidentally left out.
2013-06-27 23:21:40 -04:00
Young-il Choi
6b2297d118 std: unused import fix for android 2013-06-27 23:21:40 -04:00
Young-il Choi
aabeba3d63 extra: unused import fix for android 2013-06-27 23:21:40 -04:00
Tim Chevalier
d805859ff5 rustpkg: Update manual 2013-06-27 23:20:43 -04:00
Tim Chevalier
b854d6ea1c docs: Mention rustpkg in release notes 2013-06-27 23:20:42 -04:00
Birunthan Mohanathas
dcf1dc060a Rename #[no_drop_flag] to #[unsafe_no_drop_flag] 2013-06-27 23:20:42 -04:00
Daniel Micay
779ee2a2dd util: make NonCopyable 0 size (instead of 1 byte)
this also adds a derived Eq, TotalEq, Ord and TotalOrd along with
removing the useless constructor
2013-06-27 23:20:42 -04:00
bors
61dc7760d0 auto merge of #7410 : luqmana/rust/bare-self, r=catamorphism
Finally sorted this out. Fixes #5321, #4439, and #4850.
2013-06-27 20:19:38 -07:00
Luqman Aden
0aa94ff3c3 Add test for #5321. 2013-06-27 21:36:30 -04:00
Luqman Aden
767374976b librustc: Always pass self ByRef. 2013-06-27 21:36:30 -04:00
bors
927f454ac1 auto merge of #7432 : michaelwoerister/rust/WP3, r=jdm 2013-06-27 17:22:42 -07:00
bors
63afb8ccc8 auto merge of #7430 : huonw/rust/vec-kill, r=thestinger 2013-06-27 15:01:58 -07:00
bors
4c86a0431b auto merge of #7418 : brson/rust/0.7-pre, r=cmr
There's a reason we didn't update this after 0.6 but I don't know
what it is. Let's see what breaks.
2013-06-27 12:52:43 -07:00
bors
9b6dfb8578 auto merge of #7414 : gifnksm/rust/max_by, r=catamorphism
`max_by` method returns the element that gives the maximum value from the specfied function.
`max_by`/`min_by` are convenient when you want to get the value which has greatest/smallest scores.

Inspired by [ruby's Enumerable module](http://ruby-doc.org/core-2.0/Enumerable.html).
2013-06-27 10:37:36 -07:00
Michael Woerister
2f5e33d02f debuginfo: Some corrections after review. 2013-06-27 19:28:37 +02:00
Michael Woerister
42dbae7f2a debuginfo: Formatting cleanup. 2013-06-27 19:28:37 +02:00
Michael Woerister
4fb471ab78 debuginfo: Added test case for function arguments. 2013-06-27 19:28:37 +02:00
Michael Woerister
074e0fa2a9 debuginfo: Added test case for local variables declared with destructuring. 2013-06-27 19:28:37 +02:00
Michael Woerister
9102ad035c debuginfo: Added more tests for region pointers (tuples, structs). 2013-06-27 19:28:37 +02:00
Michael Woerister
6a3094159f debuginfo: Fixed some instances of gdb wrongly printing u8/i8 values as chars. 2013-06-27 19:28:37 +02:00
Michael Woerister
fb3e17b93a debuginfo: Added test cases for region pointers into heap boxes for basic types. 2013-06-27 19:28:37 +02:00
Michael Woerister
751f0fba6f debuginfo: Added test case for region pointers pointing to stack values with basic type. 2013-06-27 19:28:37 +02:00
Michael Woerister
6af78610e7 debuginfo: Added support for region pointers. 2013-06-27 19:28:37 +02:00
Michael Woerister
46d28c874c debuginfo: Replaced many instances of @ with &. 2013-06-27 19:28:17 +02:00
Michael Woerister
168eba9201 debuginfo: Added test case for structs with destructor. 2013-06-27 19:28:17 +02:00
Michael Woerister
0b5fef3b26 debuginfo: Added test case for local variable scopes. 2013-06-27 19:28:17 +02:00
Michael Woerister
1dc8e76d3a debuginfo: Made test cases use correct naming convention for variables. 2013-06-27 19:28:17 +02:00
Michael Woerister
4d8f2fd871 debuginfo: Many little formatting improvements. 2013-06-27 19:28:17 +02:00
Michael Woerister
5f97a6e951 debuginfo: Added test cases for tuples contained in structs. 2013-06-27 19:28:17 +02:00
Michael Woerister
36aa04b9ab debuginfo: Added test cases for tuples. 2013-06-27 19:28:17 +02:00