Commit Graph

14178 Commits

Author SHA1 Message Date
Patrick Walton 57e4ed479e librustc: Add missing case in mem_categorization. rs=bugfix 2012-12-13 18:03:48 -08:00
Brian Anderson 55c9cf72e3 Merge pull request #4181 from andrew-d/andrew-doc-fix1
Fix example in docs
2012-12-13 17:28:23 -08:00
Andrew Dunham 08b1c841da Rename "to_str" to "make_string" in the docs
There's already a "to_str" impl for string, so it fails here.
2012-12-13 20:07:58 -05:00
Graydon Hoare 885bdf7179 clean.mk: remove snapshot binaries as well. 2012-12-13 16:42:27 -08:00
Patrick Walton cf02c2badf etc: Update RELEASES.txt with some new features 2012-12-13 16:25:24 -08:00
Patrick Walton 036b26a197 librustc: Remove merge markers. rs=oops 2012-12-13 16:17:57 -08:00
Brian Anderson 77982112d3 Long lines 2012-12-13 16:17:32 -08:00
Brian Anderson e7ef82dd70 Change some uses of static methods to use the trait path 2012-12-13 16:15:08 -08:00
Patrick Walton 732c39c183 librustc: Have coherence check Copy kind bounds when determining whether parameter substitutions could possibly unify. r=nmatsakis 2012-12-13 16:14:54 -08:00
Brian Anderson d809e89c26 Replace some Eq impls with deriving_eq 2012-12-13 16:14:28 -08:00
Brian Anderson 742f354ffb std: Convert records to structs in getopts 2012-12-13 16:14:28 -08:00
Brian Anderson fa4fbd51f6 Update docs for kind name changes 2012-12-13 15:52:50 -08:00
Brian Anderson ed4fac01b5 Rename Send trait to Owned 2012-12-13 15:52:50 -08:00
Brian Anderson a277081ee4 Rename Owned trait to Durable 2012-12-13 15:52:50 -08:00
Patrick Walton cd120736cb librustc: Allow moves out of `self`. r=nmatsakis 2012-12-13 15:49:07 -08:00
Patrick Walton 45848b2040 librustc: Automatically move non-implicitly-copyable types into unique closures. r=nmatsakis 2012-12-13 15:33:33 -08:00
Brian Anderson 7ca94369da Fix encoding of trait static method paths. Closes #4097. r=pcwalton 2012-12-13 15:02:42 -08:00
Patrick Walton e71ec06118 librustdoc: Try to unbreak the test. rs=burning 2012-12-13 15:01:57 -08:00
Patrick Walton 9d23029648 libsyntax: Implement `deriving` for struct-like enum variants. r=brson 2012-12-13 14:55:11 -08:00
Patrick Walton efb9b74718 librustc: Fix explicit self for objects in more cases. r=nmatsakis 2012-12-13 13:29:08 -08:00
Patrick Walton 4c2e4c37ce librustc: Make `use` statements crate-relative by default. r=brson 2012-12-13 13:05:22 -08:00
Graydon Hoare 3c8dca429a syntax: normalize paths when parsing, close #4173. 2012-12-13 12:04:27 -08:00
Brian Anderson 0d59e86d80 core: Remove some uses of 'move' 2012-12-12 19:15:18 -08:00
Brian Anderson 948754b572 Fix the test for transmute 2012-12-12 18:41:30 -08:00
Brian Anderson 6047dd35bb Fix vtable calculations when translating static methods. Closes #4165 2012-12-12 17:14:39 -08:00
Brian Anderson 0494b078a9 Merge pull request #4172 from graydon/remove-old-syntax-ext
Remove old syntax ext
2012-12-12 17:13:41 -08:00
Graydon Hoare 9a4c669867 syntax: remove remaining #syntaxext machinery. Close #3516. 2012-12-12 17:08:09 -08:00
Tim Chevalier 0138d87f8f Document pub use foo::* in the reference manual
r=brson

Closes #3788
2012-12-12 16:38:36 -08:00
Graydon Hoare e24ae85025 syntax: remove most code handling old-style syntax extensions. 2012-12-12 15:02:47 -08:00
Graydon Hoare 9cced55b93 syntax: remove all remaining uses of #ast, and #ast / qquote itself. 2012-12-12 15:02:47 -08:00
Graydon Hoare 80d6bc899b Add Huon Wilson to AUTHORS.txt 2012-12-12 14:47:03 -08:00
Tim Chevalier 213773ccb2 Fix tasks tutorial tests 2012-12-12 13:38:19 -08:00
Tim Chevalier 4ec658eb69 Merge pull request #4167 from catamorphism/issue-3637
Reverse the order of the results of pipes::stream
2012-12-12 12:06:30 -08:00
Tim Chevalier 38bd694df1 Reverse the order of the results of pipes::stream
As per #3637.
2012-12-11 19:23:28 -08:00
Tim Chevalier b0a01f2563 re-fix typo 2012-12-11 19:22:45 -08:00
Tim Chevalier d42bdf1997 Auto-deref when checking field and method privacy
This disallows using pointers to sneak around priv qualifiers.

Deeming this too small for review as well. Closes #3763
2012-12-11 19:17:31 -08:00
Brian Anderson a7159be24a Remove old deriving 2012-12-11 18:11:14 -08:00
Tim Chevalier 6439f2d546 Avoid extra error for type mismatches in patterns
When a type error has already occurred, don't call ty::subst,
which may ICE due to the mismatch in the number of type params
involved.

I'm deeming this too small to review.

Closes #3680
2012-12-11 17:38:57 -08:00
Graydon Hoare 35209cb9ec fix long line, r=tidypolice. 2012-12-11 16:04:58 -08:00
Huon Wilson 76dc7818ea libstd: Implement read_managed_str for the JSON deserialiser.
The FIXME is an underlying issue (a core::at_str library) that this
doesn't address.
2012-12-11 16:04:58 -08:00
Graydon Hoare a55ea48d2b libstd: refactor future, remove with(), remove ~ indirection.
Conflicts:

	src/libstd/future.rs
2012-12-11 15:56:47 -08:00
Graydon Hoare 3ee1adb7ec libstd: teach workcache to check freshness. 2012-12-11 15:55:08 -08:00
Brian Anderson bfb09ee80d Merge pull request #4164 from brson/deriving
Fix deriving for single-variant enums
2012-12-11 15:43:23 -08:00
Brian Anderson 7d556e18b0 Fix deriving for single-variant enums 2012-12-11 15:41:16 -08:00
Brian Anderson 6e38e334de Relate the module hierarchy to directory paths in the parser
Introduces a temporary 'path2' attribute that will replace 'path' after
a snapshot
2012-12-11 15:00:23 -08:00
Brian Anderson 364f9afb64 Remove duplicate bound_to_str code 2012-12-11 13:59:21 -08:00
Erick Tryzelaar 3657d5606d core: add Eq impl to LinearMap. 2012-12-11 13:57:57 -08:00
Graydon Hoare 645bd98b60 doc: add missing decls to example, r=burningtree. 2012-12-11 13:43:14 -08:00
Graydon Hoare fb498ff59f Switch snapshots to static.rust-lang.org. 2012-12-11 12:55:51 -08:00
Tim Chevalier 94a76843f4 Revert "Merge pull request #4144 from luqmana/deprecated-attribute"
This reverts commit f675b97ddc, reversing
changes made to e7dd3af970.
2012-12-11 12:28:30 -08:00