Commit Graph

12560 Commits

Author SHA1 Message Date
Tim Chevalier
02b41097e4 Make the 'move mode but datum will not store' error fatal 2012-09-11 20:02:34 -07:00
Tim Chevalier
8f34752975 Remove dead code 2012-09-11 20:02:34 -07:00
Tim Chevalier
c087886e93 Make moves explicit in arguments 2012-09-11 20:02:34 -07:00
Brian Anderson
2c6c963f61 Convert core::extfmt to camel case 2012-09-11 19:41:07 -07:00
Brian Anderson
ec225166cd rustdoc: Fix formatting of -h 2012-09-11 19:40:20 -07:00
Brian Anderson
be1fdf983f Promote 'impl' from restricted keyword to strict 2012-09-11 19:28:44 -07:00
Brian Anderson
3d2a74a160 Reserve 'be' as a keyword 2012-09-11 19:26:48 -07:00
Brian Anderson
ea01ee2e9e Convert 'use' to 'extern mod'. Remove old 'use' syntax 2012-09-11 19:25:43 -07:00
Brian Anderson
fb851242b7 Promote 'pub' and 'priv' from restricted to strict keywords 2012-09-11 18:17:26 -07:00
Brian Anderson
8672b9003f Merge pull request #3440 from jld/vec-dedup
Add vec::dedup for in-place consecutive duplicate element removal.
2012-09-11 17:25:21 -07:00
Brian Anderson
85768d18ee Add Drew Willcoxon to AUTHORS.txt 2012-09-11 17:23:43 -07:00
Drew Willcoxon
98bd4a992c Improve unexpected error scanner for compile-fail tests (Closes #1476) 2012-09-11 17:22:24 -07:00
Brian Anderson
dc11e87b84 Fix combine-tests.py for new syntax 2012-09-11 17:17:16 -07:00
Brian Anderson
27cc0a36b6 Promote 'struct' from a restricted keyword to a strict keyword 2012-09-11 17:15:33 -07:00
Brian Anderson
1203da3b9d Remove priv sections from classes. Obsolete the syntax 2012-09-11 15:29:37 -07:00
Tim Chevalier
3aa5b0cb44 Make moves explicit in rustc 2012-09-11 13:59:57 -07:00
Patrick Walton
4a865401f5 rustc: Remove a bunch of unused upcalls 2012-09-11 12:17:48 -07:00
Patrick Walton
23880daef2 rustc: Remove the cmp type upcall 2012-09-11 12:12:13 -07:00
Brian Anderson
cd8ec6d923 Fix ebml tests 2012-09-10 19:36:11 -07:00
Brian Anderson
298eb8c726 Convert 'import' to 'use'. Remove 'import' keyword. 2012-09-10 19:04:26 -07:00
Brian Anderson
1a8a0a77b1 Camel case std::serialization 2012-09-10 19:02:57 -07:00
Tim Chevalier
f8b3eaae82 Make all moves explicit in libsyntax 2012-09-10 18:28:47 -07:00
Brian Anderson
6957af770b Report obsolete trait lists on structs 2012-09-10 18:12:35 -07:00
Tim Chevalier
9869d071d1 Make remaining moves explicit in libstd 2012-09-10 17:51:24 -07:00
Brian Anderson
73eb894305 Report obsolete class method syntax 2012-09-10 17:48:33 -07:00
Brian Anderson
df79026169 Promote 'return' from a restricted keyword to a strict keyword 2012-09-10 17:27:10 -07:00
Patrick Walton
2aa67e9aa9 rustc: Stop calling cmp shape glue in trans.
XFAIL's alt-borrowed_str for now. Will need to fix this up in the future.
2012-09-10 17:26:17 -07:00
Brian Anderson
cb7a5395dd Convert std::map to camel case 2012-09-10 17:08:36 -07:00
Niko Matsakis
29003c799f Rename the poorly named Managed<T> type to Mut<T>.
The Mut<T> type is intended to allow freezable data stuctures to be stored in
`@mut` boxes. Currently this causes borrowck to be very conserivative since it
cannot prove that you are not modifying such a structure while iterating over
it, for example.  But if you do `@Mut<T>` instead of `@mut T`, you will
effectively convert borrowck's static checks into dynamic ones.  This lets
you use the e.g. send_map just like a Java Map or something else.
2012-09-10 16:50:07 -07:00
Niko Matsakis
2026359518 fix a implicitly copyable warning 2012-09-10 16:50:07 -07:00
Tim Chevalier
f2d9d0ba41 Make all remaining moves explicit in libcore 2012-09-10 16:31:39 -07:00
Brian Anderson
93d3b8aa6b Convert class methods to impl methods. Stop parsing class methods 2012-09-10 16:13:08 -07:00
Patrick Walton
bea6fe0ec1 rustc: Trim down and rename trans_compare. Now only eq shape glue remains. 2012-09-10 15:48:05 -07:00
Brian Anderson
10aa849d28 Fix broken tests 2012-09-10 15:36:04 -07:00
Patrick Walton
7e9f98a8c9 rustc: Make range literals use compare_scalar_types instead of trans_compare 2012-09-10 15:27:12 -07:00
Tim Chevalier
5eccf84919 Capitalize Copy trait in test 2012-09-10 15:24:42 -07:00
Tim Chevalier
1a33c25d6f Make moves explicit in pipes and pipe compiler 2012-09-10 15:15:10 -07:00
Patrick Walton
3c7cc9a1b8 rustc: Long lines 2012-09-10 15:12:37 -07:00
Patrick Walton
d6ceef95ba rustc: Move trans_compare into alt.rs 2012-09-10 15:10:28 -07:00
Brian Anderson
a93de20148 Add Brian Burg to AUTHORS.txt 2012-09-10 15:02:14 -07:00
Brian Anderson
27080386ae Merge pull request #3451 from burg/url-eq-iterbytes
Provide naive implementations of Eq and IterBytes for net::Url
2012-09-10 15:01:07 -07:00
Brian J. Burg
10a7865428 Provide naive implementations of cmp::Eq and to_bytes::IterBytes for net::url::Url 2012-09-10 14:20:39 -07:00
Tim Chevalier
a07ea73bdb Make moves explicit in task; also make option::unwrap take its argument by move 2012-09-10 13:36:54 -07:00
Niko Matsakis
04f1763409 Combine the vtable_origins from impl + method.
Not as clean as it could be, but fixes #3314.
2012-09-10 12:59:17 -07:00
Patrick Walton
22b8757705 rustc: Make shape-based compare glue never called for comparison operators.
Only called for string patterns.
2012-09-10 12:48:42 -07:00
Tim Chevalier
9a15c50f6c Uppercase Send bound and make test for #2834 work 2012-09-10 12:38:52 -07:00
Tim Chevalier
e666fe89dd Make more moves explicit in libcore 2012-09-10 12:38:52 -07:00
Tim Chevalier
1ff268e2d5 doc: Don't refer to the non-existent attributes section in the tutorial
Closes #3382
2012-09-10 12:27:23 -07:00
Brian Anderson
ef9aa80438 Promote most restricted keywords to strict keywords 2012-09-10 12:07:19 -07:00
Tim Chevalier
233e595b61 Un-xfail test for #2834
Since it seems to work now.

Closes #2834
2012-09-10 12:06:27 -07:00