| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-03-29 | librustc: Remove `fail_unless!` | Patrick Walton | -2/+2 | |
| 2013-03-22 | librustc: Remove `pure` from libsyntax and librustc. | Patrick Walton | -5/+5 | |
| 2013-03-22 | syntax: replace uses of old deriving attribute with new one | Andrew Paseltiner | -1/+1 | |
| 2013-03-21 | auto merge of #5407 : jbclements/rust/add-assert-eq-macro, r=jbclements | bors | -10/+9 | |
| Adds an assert_eq! macro that asserts that its two arguments are equal. Error messages can therefore be somewhat more informative than a simple assert, because the error message includes "expected" and "given" values. | ||||
| 2013-03-21 | back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> ↵ | Marvin Löbel | -1/+1 | |
| slice_unique | ||||
| 2013-03-21 | renamed str::view -> slice_DBG_BRWD | Marvin Löbel | -2/+2 | |
| renamed str::slice -> slice_DBG_UNIQ changed vec slice method -> to_owned() renamed vec view method -> slice_V_DBG_BRWD | ||||
| 2013-03-20 | change some uses of fail_unless to assert_eq | John Clements | -10/+9 | |
| 2013-03-18 | librustc: Make the compiler ignore purity. | Patrick Walton | -2/+2 | |
| 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-13 | librustc: Don't accept `as Trait` anymore; fix all occurrences of it. | Patrick Walton | -9/+9 | |
| 2013-03-07 | librustc: Convert all uses of `assert` over to `fail_unless!` | Patrick Walton | -6/+6 | |
| 2013-03-04 | Adding missing imports for tests, and gate off others | Alex Crichton | -1/+0 | |
| 2013-03-04 | Remove unused imports throughout src/ | Alex Crichton | -1/+0 | |
| 2013-03-01 | Merge remote-tracking branch 'remotes/origin/incoming' into incoming | Erick Tryzelaar | -2/+6 | |
| 2013-02-28 | Fix implicit leaks of imports throughout libraries | Alex Crichton | -2/+6 | |
| Also touch up use of 'pub' and move some tests around so the tested functions don't have to be 'pub' | ||||
| 2013-02-27 | Merge remote-tracking branch 'remotes/origin/incoming' into incoming | Erick Tryzelaar | -1/+49 | |
| 2013-02-27 | librustc: Forbid `pub` or `priv` before trait implementations | Patrick Walton | -1/+1 | |
| 2013-02-26 | Macros now leave scope | John Clements | -0/+48 | |
| Macro scope is now delimited by function, block, and module boundaries, except for modules that are marked with #[macro_escape], which allows macros to escape. | ||||
| 2013-02-25 | libsyntax: make lexer vecs_implicitly_copyable-free | Erick Tryzelaar | -8/+17 | |
| 2013-02-15 | librustc: Stop parsing `impl Type : Trait` and fix several declarations that ↵ | Patrick Walton | -1/+1 | |
| slipped through. r=tjc | ||||
| 2013-02-14 | auto merge of #4911 : lifthrasiir/rust/comment-exemptions, r=catamorphism | bors | -11/+26 | |
| This is a natural extension of #4887, and handles the following three cases: ~~~~ a line with only /s //////////////////////////////////////////// a line with only /s followed by whitespace //////////////////////////////////////////// a block comment with only *s between two /s /********************************/ ~~~~ | ||||
| 2013-02-14 | librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵ | Patrick Walton | -1/+1 | |
| rs=implflipping | ||||
| 2013-02-13 | Remove die!, raplace invocations with fail! Issue #4524 pt 3 | Nick Desaulniers | -1/+1 | |
| 2013-02-13 | libsyntax: don't parse ////, /***/ as doc comments | Kang Seonghoon | -11/+26 | |
| 2013-02-08 | Add and lex LIFETIME tokens | Niko Matsakis | -16/+81 | |
| cc #4846 | ||||
| 2013-02-07 | librustc: Lots of de-muting. rs=demuting | Patrick Walton | -79/+78 | |
| 2013-02-07 | auto merge of #4791 : jbclements/rust/demodeing-and-deGCing, r=jbclements,brson | bors | -44/+45 | |
| r? It looks to me like the string_reader and tt_reader structs are GC pointers only because they predate the modern borrow system. This commit leaves the type names string_reader and tt_reader alone (they still refer to GC-ed pointers), but internally the functions now use borrowed pointers to refer to these structures. My guess would be that it's possible to move this change outward and not use the GCed pointers at all, but that change looks like it could be a larger one. Actually, I'm delighted at how quick this change was. | ||||
| 2013-02-06 | libsyntax: no binary/hex float literals | Kang Seonghoon | -0/+7 | |
| 2013-02-04 | demodeing, un-gc-ing | John Clements | -44/+45 | |
| It looks to me like the string_reader and tt_reader structs are GC pointers only because they predate the modern borrow system. This commit leaves the type names string_reader and tt_reader alone (they still refer to GC-ed pointers), but internally the functions now use borrowed pointers to refer to these structures. My guess would be that it's possible to move this change outward and not use the GCed pointers at all, but that change looks like it could be a larger one. Actually, I'm delighted at how quick this change was. | ||||
| 2013-02-03 | Converted libcore/uint-template.rs to the new string functions. | Marvin Löbel | -2/+2 | |
| - Moved ToStr implementation of unsigned integers to uint-template.rs. - Marked the `str()` function as deprecated. - Forwarded all conversion functions to `core::num::to_str_common()` and `core::num::from_str_common()`. - Fixed most places in the codebase where `to_str()` is being used. - Added uint-template to_str and from_str overflow tests. | ||||
| 2013-01-31 | test cases, cleanup | John Clements | -32/+81 | |
| 2013-01-31 | Replace most invocations of fail keyword with die! macro | Nick Desaulniers | -1/+1 | |
| 2013-01-29 | libsyntax: De-export a lot of libsyntax. rs=deëxporting | Patrick Walton | -20/+17 | |
| 2013-01-29 | libstd: Remove "dual impls" from the language and enforce coherence rules. ↵ | Patrick Walton | -1/+1 | |
| r=brson "Dual impls" are impls that are both type implementations and trait implementations. They can lead to ambiguity and so this patch removes them from the language. This also enforces coherence rules. Without this patch, records can implement traits not defined in the current crate. This patch fixes this, and updates all of rustc to adhere to the new enforcement. Most of this patch is fixing rustc to obey the coherence rules, which involves converting a bunch of records to structs. | ||||
| 2013-01-23 | libsyntax: Remove `fn() unsafe { ... }`. r=graydon | Patrick Walton | -5/+7 | |
| 2013-01-08 | librustc: Make unqualified identifier searches terminate at the nearest ↵ | Patrick Walton | -1/+3 | |
| module scope. r=tjc | ||||
| 2013-01-08 | Revert "librustc: Make unqualified identifier searches terminate at the ↵ | Patrick Walton | -3/+1 | |
| nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6. | ||||
| 2013-01-08 | librustc: Make unqualified identifier searches terminate at the nearest ↵ | Patrick Walton | -1/+3 | |
| module scope. r=tjc | ||||
| 2012-12-27 | librustc: Terminate name searches at the nearest module scope for paths that ↵ | Patrick Walton | -3/+14 | |
| contain at least two components. r=graydon | ||||
| 2012-12-12 | syntax: remove most code handling old-style syntax extensions. | Graydon Hoare | -5/+0 | |
| 2012-12-04 | librustc: Remove all legacy pattern bindings from libsyntax and librustc. ↵ | Patrick Walton | -2/+2 | |
| rs=refactoring | ||||
| 2012-12-03 | Update license, add license boilerplate to most files. Remainder will follow. | Graydon Hoare | -0/+10 | |
| 2012-11-18 | Remove some unused code from lexer | Brian Anderson | -6/+2 | |
| 2012-11-17 | Merge remote-tracking branch 'brson/codemap' | Brian Anderson | -41/+62 | |
| Conflicts: src/libsyntax/ext/source_util.rs | ||||
| 2012-11-16 | Remove unused types from codemap | Brian Anderson | -1/+1 | |
| 2012-11-16 | Stop storing char positions in CodeMap | Brian Anderson | -18/+12 | |
| 2012-11-16 | Change spans to use byte offsets instead of char offsets | Brian Anderson | -8/+13 | |
| 2012-11-15 | Add some comments to codemap and lexer | Brian Anderson | -0/+4 | |
| 2012-11-15 | Refactor the lexer to use FilePos types | Brian Anderson | -25/+43 | |
| 2012-11-14 | Factor out some position management code in the lexer | Brian Anderson | -7/+7 | |
| 2012-11-14 | Add types for character position and byte position in the codemap | Brian Anderson | -25/+25 | |
