| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-05-10 | auto merge of #6223 : alexcrichton/rust/issue-6183, r=pcwalton | bors | -0/+16 | |
| 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-10 | syntax: Use the new `for` protocol | Alex Crichton | -0/+16 | |
| 2013-05-09 | Use a specialized string interner to reduce the need for owned strings | Björn Steinbrink | -26/+26 | |
| &str can be turned into @~str on demand, using to_owned(), so for strings, we can create a specialized interner that accepts &str for intern() and find() but stores and returns @~str. | ||||
| 2013-05-08 | test: Fix tests and the pipe compiler | Patrick Walton | -4/+5 | |
| 2013-05-08 | librustc: Remove mutable fields from the language. | Patrick Walton | -4/+2 | |
| They're still parsed though, to get through bootstrapping. | ||||
| 2013-05-05 | Fix two more write guard failures | Niko Matsakis | -1/+1 | |
| 2013-05-05 | Merge remote-tracking branch 'mozilla/incoming' into issue-5910-dyna-freeze | Niko Matsakis | -6/+2 | |
| Conflicts: src/libcore/core.rc src/libcore/hashmap.rs src/libcore/num/f32.rs src/libcore/num/f64.rs src/libcore/num/float.rs src/libcore/num/int-template.rs src/libcore/num/num.rs src/libcore/num/strconv.rs src/libcore/num/uint-template.rs src/libcore/ops.rs src/libcore/os.rs src/libcore/prelude.rs src/libcore/rt/mod.rs src/libcore/unstable/lang.rs src/librustc/driver/session.rs src/librustc/middle/astencode.rs src/librustc/middle/borrowck/check_loans.rs src/librustc/middle/borrowck/gather_loans.rs src/librustc/middle/borrowck/loan.rs src/librustc/middle/borrowck/preserve.rs src/librustc/middle/liveness.rs src/librustc/middle/mem_categorization.rs src/librustc/middle/region.rs src/librustc/middle/trans/base.rs src/librustc/middle/trans/inline.rs src/librustc/middle/trans/reachable.rs src/librustc/middle/typeck/check/_match.rs src/librustc/middle/typeck/check/regionck.rs src/librustc/util/ppaux.rs src/libstd/arena.rs src/libstd/ebml.rs src/libstd/json.rs src/libstd/serialize.rs src/libstd/std.rc src/libsyntax/ast_map.rs src/libsyntax/parse/parser.rs src/test/compile-fail/borrowck-uniq-via-box.rs src/test/compile-fail/regions-infer-borrow-scope-within-loop.rs src/test/run-pass/borrowck-nested-calls.rs | ||||
| 2013-05-03 | add gitattributes and fix whitespace issues | Daniel Micay | -4/+0 | |
| 2013-05-01 | allow parsing attributes on struct fields | Erick Tryzelaar | -1/+2 | |
| 2013-05-01 | rustc: remove the rest of drop | Erick Tryzelaar | -1/+0 | |
| Removes: ast::struct_def::dtor syntax::ast::ii_dtor syntax::visit::fk_dtor syntax::ast_map::node_dtor syntax:struct_dtor | ||||
| 2013-04-30 | new borrow checker (mass squash) | Niko Matsakis | -11/+11 | |
| 2013-04-29 | test: Fix tests. | Patrick Walton | -1/+3 | |
| 2013-04-29 | librustc: Remove the concept of modes from the compiler. | Patrick Walton | -1/+0 | |
| This commit does not remove `ty::arg`, although that should be possible to do now. | ||||
| 2013-04-29 | librustc: Remove `ptr::addr_of`. | Patrick Walton | -5/+3 | |
| 2013-04-27 | only use #[no_core] in libcore | Daniel Micay | -20/+0 | |
| 2013-04-25 | Rename vec::mod2 to vec::mod_zip | Corey Richardson | -2/+2 | |
| 2013-04-22 | librustc: Remove `use mod` from the language | Patrick Walton | -1/+0 | |
| 2013-04-19 | syntax: de-mode and prepare for de-modeing rustc | Alex Crichton | -50/+50 | |
| 2013-04-10 | path -> Path | John Clements | -15/+15 | |
| 2013-03-31 | Fix warnings | Brian Anderson | -1/+1 | |
| 2013-03-29 | Add AbiSet and integrate it into the AST. | Niko Matsakis | -1/+3 | |
| I believe this patch incorporates all expected syntax changes from extern function reform (#3678). You can now write things like: extern "<abi>" fn foo(s: S) -> T { ... } extern "<abi>" mod { ... } extern "<abi>" fn(S) -> T The ABI for foreign functions is taken from this syntax (rather than from an annotation). We support the full ABI specification I described on the mailing list. The correct ABI is chosen based on the target architecture. Calls by pointer to C functions are not yet supported, and the Rust type of crust fns is still *u8. | ||||
| 2013-03-29 | librustc: Remove `fail_unless!` | Patrick Walton | -1/+1 | |
| 2013-03-28 | Removing unused imports | Alex Crichton | -3/+3 | |
| 2013-03-28 | librustc: Remove common fields and nested enums from the language | Patrick Walton | -1/+1 | |
| 2013-03-22 | librustc: Remove `pure` from libsyntax and librustc. | Patrick Walton | -1/+1 | |
| 2013-03-22 | syntax: replace uses of old deriving attribute with new one | Andrew Paseltiner | -1/+1 | |
| 2013-03-18 | librustc: Make the compiler ignore purity. | Patrick Walton | -5/+10 | |
| For bootstrapping purposes, this commit does not remove all uses of the keyword "pure" -- doing so would cause the compiler to no longer bootstrap due to some syntax extensions ("deriving" in particular). Instead, it makes the compiler ignore "pure". Post-snapshot, we can remove "pure" from the language. There are quite a few (~100) borrow check errors that were essentially all the result of mutable fields or partial borrows of `@mut`. Per discussions with Niko I think we want to allow partial borrows of `@mut` but detect obvious footguns. We should also improve the error message when `@mut` is erroneously reborrowed. | ||||
| 2013-03-15 | impl Clone for ~T, ~[T], ~str | Ben Striegel | -1/+1 | |
| 2013-03-13 | librustc: Remove "base types" from the language. | Patrick Walton | -4/+8 | |
| 2013-03-13 | librustc: Don't accept `as Trait` anymore; fix all occurrences of it. | Patrick Walton | -29/+30 | |
| 2013-03-11 | libsyntax: Remove newtype enums from libsyntax. rs=deenum | Patrick Walton | -3/+1 | |
| 2013-03-11 | librustc: Replace all uses of `fn()` with `&fn()`. rs=defun | Patrick Walton | -1/+1 | |
| 2013-03-07 | test: Fix tests. | Patrick Walton | -1/+2 | |
| 2013-03-07 | librustc: Convert all uses of `assert` over to `fail_unless!` | Patrick Walton | -1/+1 | |
| 2013-03-04 | Remove unused imports throughout src/ | Alex Crichton | -10/+1 | |
| 2013-03-01 | Merge remote-tracking branch 'remotes/origin/incoming' into incoming | Erick Tryzelaar | -4/+6 | |
| 2013-03-01 | Avoid calling to_vec() unnecessarily in parser. | Niko Matsakis | -4/+6 | |
| Also, rename the OptVec-to-vector conversion method to opt_vec::take_vec() and convert from a method into a fn because I fear strange bugs. | ||||
| 2013-03-01 | Merge remote-tracking branch 'remotes/origin/incoming' into incoming | Erick Tryzelaar | -2/+5 | |
| 2013-02-28 | Fix implicit leaks of imports throughout libraries | Alex Crichton | -2/+5 | |
| Also touch up use of 'pub' and move some tests around so the tested functions don't have to be 'pub' | ||||
| 2013-02-28 | Merge remote-tracking branch 'remotes/origin/incoming' into incoming | Erick Tryzelaar | -91/+140 | |
| 2013-02-27 | auto merge of #5141 : nikomatsakis/rust/region-syntax-expl-lifetimes, ↵ | bors | -67/+84 | |
| r=nikomatsakis Major changes are: - replace ~[ty_param] with Generics structure, which includes both OptVec<TyParam> and OptVec<Lifetime>; - the use of syntax::opt_vec to avoid allocation for empty lists; cc #4846 r? @graydon | ||||
| 2013-02-27 | Introduce lifetime declarations into the lists of type parameters. | Niko Matsakis | -67/+84 | |
| Major changes are: - replace ~[ty_param] with Generics structure, which includes both OptVec<TyParam> and OptVec<Lifetime>; - the use of syntax::opt_vec to avoid allocation for empty lists; cc #4846 | ||||
| 2013-02-27 | Merge remote-tracking branch 'remotes/origin/incoming' into incoming | Erick Tryzelaar | -8/+8 | |
| 2013-02-27 | librustc: Forbid `pub` or `priv` before trait implementations | Patrick Walton | -8/+8 | |
| 2013-02-26 | libsyntax: remove vecs_implicitly_copyable from the syntax extensions | Erick Tryzelaar | -24/+24 | |
| 2013-02-26 | libsyntax: change attr::parse_seq_* to take &Token | Erick Tryzelaar | -7/+7 | |
| 2013-02-25 | libsyntax: add some explicit copies | Erick Tryzelaar | -20/+36 | |
| 2013-02-25 | libsyntax: change expect to take &token::Token | Erick Tryzelaar | -2/+2 | |
| 2013-02-25 | libsyntax: add explicit modes where required to copy strs/vecs | Erick Tryzelaar | -39/+46 | |
| 2013-02-25 | libsyntax: Convert ast::attribute_ to store a @meta_item | Erick Tryzelaar | -1/+1 | |
