summary refs log tree commit diff
path: root/src/librustc/metadata/decoder.rs
AgeCommit message (Collapse)AuthorLines
2013-06-30auto merge of #7468 : cmr/rust/great_renaming, r=pcwaltonbors-9/+8
2013-06-29Remove mutability from unique boxes in the ASTAlex Crichton-1/+1
2013-06-29Warning cleanupCorey Richardson-1/+1
2013-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-8/+7
2013-06-28librustc: Fix even *more* merge fallout!Patrick Walton-4/+4
2013-06-28librustc: Fix more merge fallout.Patrick Walton-4/+4
2013-06-28Rewrite each_path to allow performance improvements in the future.Patrick Walton-93/+230
Instead of determining paths from the path tag, we iterate through modules' children recursively in the metadata. This will allow for lazy external module resolution.
2013-06-27auto merge of #7430 : huonw/rust/vec-kill, r=thestingerbors-4/+3
2013-06-28Convert vec::{push, push_all, push_all_move} to methods.Huon Wilson-2/+1
2013-06-27Convert vec::[mut_]slice to methods, remove vec::const_slice.Huon Wilson-2/+2
2013-06-27auto merge of #7361 : brson/rust/incoming, r=brsonbors-13/+1
2013-06-25Merge remote-tracking branch 'mozilla/master' into incomingBrian Anderson-7/+10
Conflicts: src/librustc/middle/astencode.rs src/librustc/middle/check_const.rs
2013-06-25Get rid of terrible way for iterating over provided methods.Michael Sullivan-9/+4
2013-06-25auto merge of #7291 : alexcrichton/rust/static-mut, r=huonwbors-6/+10
This adds both `static mut` items and `static mut` foreign items. This involved changing far less code than I thought it was going to, but the tests seem to pass and the variables seem functional. I'm more than willing to write more tests, so suggestions are welcome! Closes #553
2013-06-25Warning policeJames Miller-1/+0
2013-06-24Merge remote-tracking branch 'cmr/various-cleanup' into incomingBrian Anderson-13/+1
2013-06-23Add 'static mut' items to the languageAlex Crichton-6/+10
2013-06-23vec: remove BaseIter implementationDaniel Micay-5/+8
I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway.
2013-06-21Remove `ast::pure_fn` and all concept of `pure` from the compilerCorey Richardson-13/+1
2013-06-20Get cross crate default methods working.Michael Sullivan-34/+7
This fixes the large number of problems that prevented cross crate methods from ever working. It also fixes a couple lingering bugs with polymorphic default methods and cleans up some of the code paths. Closes #4102. Closes #4103.
2013-06-13Revert "std: convert {vec,str}::to_owned to methods."Brian Anderson-1/+1
This fixes the strange random crashes in compile-fail tests. This reverts commit 96cd61ad034cc9e88ab6a7845c3480dbc1ea62f3. Conflicts: src/librustc/driver/driver.rs src/libstd/str.rs src/libsyntax/ext/quote.rs
2013-06-13Use @str instead of @~str in libsyntax and librustc. Fixes #5048.Huon Wilson-21/+22
This almost removes the StringRef wrapper, since all strings are Equiv-alent now. Removes a lot of `/* bad */ copy *`'s, and converts several things to be &'static str (the lint table and the intrinsics table). There are many instances of .to_managed(), unfortunately.
2013-06-12std: convert {vec,str}::to_owned to methods.Huon Wilson-1/+1
2013-06-11decoder: better error message when failing to look up an idPhilipp Brüschweiler-5/+5
2013-06-08Avoid unnecessary allocations in the metadata decoderBjörn Steinbrink-32/+28
2013-06-08Remove some unnecessary closuresBjörn Steinbrink-7/+6
2013-06-08tydecode: Accept a plain borrowed pointer to the dataBjörn Steinbrink-14/+8
2013-06-07rustc::metadata::decoder: cleanup and slightly speed up each_pathPhilipp Brüschweiler-82/+70
2013-06-06Clean up a handful of build warnings.Michael Sullivan-12/+11
2013-06-05token_to_ident takes argument by referenceJohn Clements-1/+1
2013-06-05interner just uses uints, not idents with syntax contextJohn Clements-7/+8
2013-05-28Remove unnecessary allocations flagged by lintSeo Sanghyeon-1/+1
2013-05-22libstd: Fix merge fallout.Patrick Walton-8/+0
2013-05-22librustc: Change `std` to `extra` throughout libsyntax and librustcPatrick Walton-3/+3
2013-05-22libextra: Rename the actual metadata names of libcore to libstd and libstd ↵Patrick Walton-0/+2
to libextra
2013-05-22librustc: Fix privacy checking for cross-crate variantsPatrick Walton-9/+22
2013-05-20Remove all unnecessary allocations (as flagged by lint)Alex Crichton-7/+7
2013-05-19Register snapshotsBrian Anderson-34/+0
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-1/+1
2013-05-16rustc: Change ty::get_impl_traits to return an option instead of a vecTim Chevalier-5/+6
Impls can implement either zero or one traits; this has been true more or less since we removed classes. So I got rid of the comments saying "we should support multiple traits" and changed the code to make it clear that we don't. This is just cleanup, and doesn't break any existing tests.
2013-05-15auto merge of #6487 : recrack/rust/vec_len, r=thestingerbors-1/+1
Rename vec::len(var) to var.len() ``` libcore, libfuzzer, librustc, librustdoc, libstd, libsyntax test/auxiliary test/bench test/run-pass ```
2013-05-14rustc: rename ty::method to ty::Method and add ctorErick Tryzelaar-19/+21
2013-05-14rustc: rename ast::self_ty and related fields to explicit_selfErick Tryzelaar-16/+16
2013-05-14rustc: Remove ty::argErick Tryzelaar-1/+1
2013-05-15Rename vec::len(var) to var.len()Youngmin Yoo-1/+1
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-9/+9
fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself.
2013-05-11auto merge of #6389 : sonwow/rust/issue-3356, r=bstriebors-1/+1
Fix for #3356
2013-05-10auto merge of #6223 : alexcrichton/rust/issue-6183, r=pcwaltonbors-7/+46
Closes #6183. The first commit changes the compiler's method of treating a `for` loop, and all the remaining commits are just dealing with the fallout. The biggest fallout was the `IterBytes` trait, although it's really a whole lot nicer now because all of the `iter_bytes_XX` methods are just and-ed together. Sadly there was a huge amount of stuff that's `cfg(stage0)` gated, but whoever lands the next snapshot is going to have a lot of fun deleting all this code!
2013-05-10renamed vec::from_slice to vec::to_ownedYoungsoo Son-1/+1
2013-05-10rustc: Use the new `for` protocolAlex Crichton-7/+46