| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-06-20 | auto merge of #7203 : msullivan/rust/default-methods, r=graydon | bors | -35/+8 | |
| 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. r? nikomatsakis | ||||
| 2013-06-20 | Get cross crate default methods working. | Michael Sullivan | -35/+8 | |
| 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-21 | librust: cleanup warnings (except 1) | James Miller | -23/+21 | |
| 2013-06-16 | Add copies to type params with Copy bound | Niko Matsakis | -1/+1 | |
| 2013-06-16 | Remove @-fields from CrateContext | James Miller | -66/+84 | |
| Remove all the explicit @mut-fields from CrateContext, though many fields are still @-ptrs. This required changing every single function call that explicitly took a @CrateContext, so I took advantage and changed as many as I could get away with to &-ptrs or &mut ptrs. | ||||
| 2013-06-14 | add IteratorUtil to the prelude | Daniel Micay | -2/+0 | |
| 2013-06-13 | Revert "std: convert {vec,str}::to_owned to methods." | Brian Anderson | -5/+6 | |
| 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-13 | Use @str instead of @~str in libsyntax and librustc. Fixes #5048. | Huon Wilson | -97/+100 | |
| 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-12 | Visitor refactoring: Step 1, couple (Env, vt<Env>) together in a tuple. | Felix S. Klock II | -8/+8 | |
| 2013-06-12 | std: unify the str -> [u8] functions as 3 methods: .as_bytes() and ↵ | Huon Wilson | -15/+19 | |
| .as_bytes_with_null[_consume](). The first acts on &str and is not nul-terminated, the last two act on strings that are always null terminated (&'static str, ~str and @str). | ||||
| 2013-06-12 | std: convert {vec,str}::to_owned to methods. | Huon Wilson | -5/+5 | |
| 2013-06-11 | option: remove redundant old_iter impls | Daniel Micay | -3/+4 | |
| 2013-06-11 | decoder: better error message when failing to look up an id | Philipp Brüschweiler | -5/+5 | |
| 2013-06-10 | std: remove str::{len, slice, is_empty} in favour of methods. | Huon Wilson | -1/+1 | |
| 2013-06-10 | std: replace str::each_split* with an iterator | Huon Wilson | -1/+2 | |
| 2013-06-08 | remove deprecated vec::{is_empty, len} functions | Daniel Micay | -1/+1 | |
| 2013-06-08 | Avoid unnecessary allocations in the metadata decoder | Björn Steinbrink | -32/+28 | |
| 2013-06-08 | Remove some unnecessary closures | Björn Steinbrink | -7/+6 | |
| 2013-06-08 | tydecode: Accept a plain borrowed pointer to the data | Björn Steinbrink | -22/+16 | |
| 2013-06-08 | Avoid unnecessary heap allocations in the metadata ty decoder | Björn Steinbrink | -46/+43 | |
| 2013-06-07 | rustc::metadata::decoder: cleanup and slightly speed up each_path | Philipp Brüschweiler | -82/+70 | |
| 2013-06-06 | Clean up a handful of build warnings. | Michael Sullivan | -18/+16 | |
| 2013-06-05 | removed unused imports (and one unused argument) | John Clements | -2/+1 | |
| 2013-06-05 | token_to_ident takes argument by reference | John Clements | -7/+7 | |
| 2013-06-05 | interner just uses uints, not idents with syntax context | John Clements | -14/+18 | |
| 2013-06-05 | removed some interner fields | John Clements | -3/+3 | |
| 2013-06-04 | std::io: Modernize some constructors | Philipp Brüschweiler | -1/+1 | |
| Part of #3853 | ||||
| 2013-06-01 | auto merge of #6807 : catamorphism/rust/rustpkg-extern-mod, r=catamorphism | bors | -3/+4 | |
| r? @graydon Addresses #5681 | ||||
| 2013-06-01 | rustc/rusti/rustpkg: Infer packages from `extern mod` directives | Tim Chevalier | -3/+4 | |
| This commit won't be quite as useful until I implement RUST_PATH and until we change `extern mod` to take a general string instead of an identifier (#5682 and #6407). With that said, now if you're using rustpkg and a program contains: extern mod foo; rustpkg will attempt to search for `foo`, so that you don't have to provide a -L directory explicitly. In addition, rustpkg will actually try to build and install `foo`, unless it's already installed (specifically, I tested that `extern mod extra;` would not cause it to try to find source for `extra` and compile it again). This is as per #5681. Incidentally, I changed some driver code to infer the link name from the crate link_meta attributes. If that change isn't ok, say something. Also, I changed the addl_lib_search_paths field in the session options to be an @mut ~[Path] so that it can be modified after expansion but before later phases. | ||||
| 2013-06-01 | Fix a small typo in a comment. | Tom Lee | -1/+1 | |
| 2013-06-01 | Reexport static methods on structs & enums. | Tom Lee | -30/+70 | |
| 2013-05-31 | auto merge of #6853 : bblum/rust/sized, r=pcwalton | bors | -0/+4 | |
| r? @nikomatsakis @pcwalton | ||||
| 2013-05-30 | Add 'Sized' builtin kind; doesn't do anything yet | Ben Blum | -0/+4 | |
| 2013-05-30 | Remove copy bindings from patterns. | Niko Matsakis | -3/+3 | |
| 2013-05-30 | Remove a bunch of unnecessary allocations and copies | Björn Steinbrink | -4/+2 | |
| 2013-05-29 | librustc: Stop reexporting the standard modules from prelude. | Patrick Walton | -4/+27 | |
| 2013-05-27 | auto merge of #6703 : sanxiyn/rust/allocation-lint, r=sanxiyn | bors | -9/+9 | |
| Fix #6145. In particular, handle operator overloading. | ||||
| 2013-05-28 | Remove unnecessary allocations flagged by lint | Seo Sanghyeon | -9/+9 | |
| 2013-05-27 | auto merge of #6688 : graydon/rust/issue-3396-mystery-bug-in-metadata, r=Aatch | bors | -11/+2 | |
| Whatever it was, it is no longer a problem here. | ||||
| 2013-05-22 | libstd: Fix merge fallout. | Patrick Walton | -20/+0 | |
| 2013-05-22 | librustc: Change `std` to `extra` throughout libsyntax and librustc | Patrick Walton | -12/+12 | |
| 2013-05-22 | libextra: Rename the actual metadata names of libcore to libstd and libstd ↵ | Patrick Walton | -2/+18 | |
| to libextra | ||||
| 2013-05-22 | librustc: Fix privacy checking for cross-crate variants | Patrick Walton | -10/+37 | |
| 2013-05-22 | revert no-longer-required workaround for mystery bug, close #3396 | Graydon Hoare | -11/+2 | |
| 2013-05-20 | Remove all unnecessary allocations (as flagged by lint) | Alex Crichton | -24/+24 | |
| 2013-05-19 | Register snapshots | Brian Anderson | -83/+0 | |
| 2013-05-19 | Explain an odd conditional check. | Tom Lee | -0/+11 | |
| 2013-05-19 | Remove unused variable. | Tom Lee | -1/+0 | |
| 2013-05-19 | Reexport static trait methods on traits in the same module. | Tom Lee | -2/+4 | |
| 2013-05-19 | Use assert_eq! rather than assert! where possible | Corey Richardson | -24/+24 | |
