| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-11-02 | Added octal literal support. | Matt Carberry | -0/+13 | |
| 2013-10-22 | Drop the '2' suffix from logging macros | Alex Crichton | -3/+3 | |
| Who doesn't like a massive renaming? | ||||
| 2013-10-21 | Add support for nested comments | Georges Dubus | -33/+41 | |
| Fixes #9468. | ||||
| 2013-10-08 | add token::LIT_STR_RAW(ident, num of # symbols) | Benjamin Herr | -2/+2 | |
| Treat it as a synonym for LIT_STR for now. | ||||
| 2013-10-08 | lex raw string literals, like r#"blah"# | Benjamin Herr | -2/+66 | |
| Raw string literals are lexed into regular string literals. This is okay for them to "work" and be usable/testable, but the pretty-printer does not know about them yet and will just emit regular string literals. | ||||
| 2013-10-02 | auto merge of #9665 : alexcrichton/rust/snapshot, r=brson | bors | -1/+1 | |
| Uses the new snapshots to kill the old `loop` and introduce the new `continue`. | ||||
| 2013-10-01 | Migrate users of 'loop' to 'continue' | Alex Crichton | -1/+1 | |
| Closes #9467 | ||||
| 2013-10-01 | remove the `float` type | Daniel Micay | -6/+1 | |
| It is simply defined as `f64` across every platform right now. A use case hasn't been presented for a `float` type defined as the highest precision floating point type implemented in hardware on the platform. Performance-wise, using the smallest precision correct for the use case greatly saves on cache space and allows for fitting more numbers into SSE/AVX registers. If there was a use case, this could be implemented as simply a type alias or a struct thanks to `#[cfg(...)]`. Closes #6592 The mailing list thread, for reference: https://mail.mozilla.org/pipermail/rust-dev/2013-July/004632.html | ||||
| 2013-09-30 | syntax: Remove usage of fmt! | Alex Crichton | -4/+3 | |
| 2013-09-25 | auto merge of #9481 : jbclements/rust/minor-cleanup, r=cmr | bors | -1/+0 | |
| Small stuff... might as well get it into the tree. One new test case, some issue # cleanup, remove some unused imports. | ||||
| 2013-09-24 | Disallow char literals which should be escaped | Alex Crichton | -21/+28 | |
| As documented in issue #7945, these literal identifiers are all accepted by rust today, but they should probably be disallowed (especially `'''`). This changes all escapable sequences to being *required* to be escaped. Closes #7945 | ||||
| 2013-09-24 | cleanup | John Clements | -1/+0 | |
| 2013-09-19 | lexer: further slight improvements to lexer errors | Benjamin Herr | -16/+30 | |
| 2013-09-19 | lexer: report problematic chars verbatim or as escape sequence | Benjamin Herr | -12/+23 | |
| ... instead of giving their numeric codepoint, following the lead of fdaae34. So the error message for, say, '\_' mentions _ instead of 95, and '\●' now mentions \u25cf. | ||||
| 2013-09-19 | lexer: show correct span on lexical errors | Benjamin Herr | -19/+59 | |
| Previously, the lexer calling `rdr.fatal(...)` would report the span of the last complete token, instead of a span within the erroneous token (besides one span fixed in 1ac90bb). This commit adds a wrapper around `rdr.fatal(...)` that sets the span explicilty, so that all fatal errors in `libsyntax/parse/lexer.rs` now report the offending code more precisely. A number of tests try to verify that, though the `compile-fail` testing setup can only check that the spans are on the right lines, and the "unterminated string/block comment" errors can't have the line marked at all, so that's incomplete. Closes #9149. | ||||
| 2013-09-17 | Added support for a `\0` escape sequence. | Daniel Rosenwasser | -0/+2 | |
| This commit adds support for `\0` escapes in character and string literals. Since `\0` is equivalent to `\x00`, this is a direct translation to the latter escape sequence. Future builds will be able to compile using `\0` directly. Also updated the grammar specification and added a test for NUL characters. | ||||
| 2013-09-15 | Remove {uint,int,u64,i64,...}::from_str,from_str_radix | blake2-ppc | -3/+3 | |
| Remove these in favor of the two traits themselves and the wrapper function std::from_str::from_str. Add the function std::num::from_str_radix in the corresponding role for the FromStrRadix trait. | ||||
| 2013-09-04 | stop treating char as an integer type | Daniel Micay | -9/+13 | |
| Closes #7609 | ||||
| 2013-09-01 | Modernized a few type names in rustc and syntax | Marvin Löbel | -6/+6 | |
| 2013-08-15 | Better error message for unknown start of token | Kevin Ballard | -1/+3 | |
| The span was fixed at some point to point to the correct character, but the error message is still bad. Update it to emit the actual character in question (potentially escaped). Fixes #3747. | ||||
| 2013-08-11 | libsyntax: Update from `@Object` to `@mut Object` as required | Niko Matsakis | -10/+11 | |
| 2013-08-08 | Allow attributes to appear as macro arguments | Niko Matsakis | -1/+5 | |
| Fixes #8393 | ||||
| 2013-08-03 | remove obsolete `foreach` keyword | Daniel Micay | -1/+1 | |
| this has been replaced by `for` | ||||
| 2013-08-01 | migrate many `for` loops to `foreach` | Daniel Micay | -1/+1 | |
| 2013-07-17 | librustc: Change repeated vector expressions to use implicit copyability. | Patrick Walton | -2/+5 | |
| 2013-07-17 | librustc: Remove all uses of "copy". | Patrick Walton | -7/+9 | |
| 2013-07-17 | librustc: Add a lint mode for unnecessary `copy` and remove a bunch of them. | Patrick Walton | -9/+9 | |
| 2013-06-28 | librustc: Remove the broken overloaded assign-ops from the language. | Patrick Walton | -4/+4 | |
| They evaluated the receiver twice. They should be added back with `AddAssign`, `SubAssign`, etc., traits. | ||||
| 2013-06-25 | great renaming propagation: syntax | Corey Richardson | -6/+3 | |
| 2013-06-23 | vec: remove BaseIter implementation | Daniel Micay | -1/+1 | |
| 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-14 | add IteratorUtil to the prelude | Daniel Micay | -1/+0 | |
| 2013-06-13 | Use @str instead of @~str in libsyntax and librustc. Fixes #5048. | Huon Wilson | -14/+14 | |
| 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-11 | lexer: show correct span on unrecognized token start | Philipp Brüschweiler | -1/+5 | |
| Fixes part of #7048. | ||||
| 2013-06-10 | clean-up unused import warnings | Huon Wilson | -2/+1 | |
| 2013-06-10 | std: convert str::char_at* to methods. | Huon Wilson | -2/+2 | |
| 2013-06-10 | std: convert str::reserve* to methods, and methodise str::push_*. | Huon Wilson | -16/+13 | |
| 2013-06-10 | std: replace str::{any,all}_between with the iterator equivalent. | Huon Wilson | -1/+1 | |
| 2013-06-10 | std: remove str::{len, slice, is_empty} in favour of methods. | Huon Wilson | -3/+3 | |
| 2013-06-10 | std: replace str::all/any fns and methods with iterators | Huon Wilson | -1/+2 | |
| 2013-06-08 | Lexer: Avoid unnecessary allocations | Björn Steinbrink | -38/+52 | |
| 2013-06-08 | Avoid unnecessary (re-)allocations in the lexer | Björn Steinbrink | -7/+8 | |
| 2013-06-08 | Lexer: Fix offset handling in get_str_from() | Björn Steinbrink | -9/+7 | |
| As the comment said, the subtraction is bogus for multibyte characters. Fortunately, we can just use last_pos instead of pos to get the correct position without any subtraction hackery. | ||||
| 2013-06-05 | removed unused imports (and one unused argument) | John Clements | -2/+2 | |
| 2013-06-05 | remove interner field from string_reader | John Clements | -22/+14 | |
| 2013-06-05 | interner just uses uints, not idents with syntax context | John Clements | -15/+15 | |
| 2013-06-05 | removed some interner fields | John Clements | -3/+0 | |
| 2013-06-05 | just use TLS interner | John Clements | -14/+16 | |
| 2013-06-04 | librustc: Disallow multiple patterns from appearing in a "let" declaration. | Patrick Walton | -2/+6 | |
| You can still initialize multiple variables at once with "let (x, y) = (1, 2)". | ||||
| 2013-05-30 | Remove a bunch of unnecessary allocations and copies | Björn Steinbrink | -1/+2 | |
| 2013-05-29 | librustc: Stop reexporting the standard modules from prelude. | Patrick Walton | -0/+5 | |
