| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2014-02-08 | auto merge of #12086 : huonw/rust/safe-json, r=kballard | bors | -116/+157 | |
| The lexer and json were using `transmute(-1): char` as a sentinel value for EOF, which is invalid since `char` is strictly a unicode codepoint. Fixing this allows for range asserts on chars since they always lie between 0 and 0x10FFFF. | ||||
| 2014-02-07 | Rewrite path::Display to reduce unnecessary allocation | Kevin Ballard | -2/+2 | |
| 2014-02-08 | std::fmt: convert the formatting traits to a proper self. | Huon Wilson | -2/+2 | |
| Poly and String have polymorphic `impl`s and so require different method names. | ||||
| 2014-02-08 | syntax: convert the lexer to use Option<char> over transmute(-1). | Huon Wilson | -116/+157 | |
| The transmute was unsound. There are many instances of .unwrap_or('\x00') for "ignoring" EOF which either do not make the situation worse than it was (well, actually make it better, since it's easy to grep for places that don't handle EOF) or can never ever be read. Fixes #8971. | ||||
| 2014-02-07 | Correct span for ExprFnBlock, ExprMethodCall, ExprParen | Seo Sanghyeon | -3/+3 | |
| 2014-02-07 | Removed @self and @Trait. | Eduard Burtescu | -94/+83 | |
| 2014-02-06 | auto merge of #12048 : sanxiyn/rust/crate-config, r=alexcrichton | bors | -3/+3 | |
| 2014-02-05 | pull extra::{serialize, ebml} into a separate libserialize crate | Jeff Olson | -2/+2 | |
| - `extra::json` didn't make the cut, because of `extra::json` required dep on `extra::TreeMap`. If/when `extra::TreeMap` moves out of `extra`, then `extra::json` could move into `serialize` - `libextra`, `libsyntax` and `librustc` depend on the newly created `libserialize` - The extensions to various `extra` types like `DList`, `RingBuf`, `TreeMap` and `TreeSet` for `Encodable`/`Decodable` were moved into the respective modules in `extra` - There is some trickery, evident in `src/libextra/lib.rs` where a stub of `extra::serialize` is set up (in `src/libextra/serialize.rs`) for use in the stage0 build, where the snapshot rustc is still making deriving for `Encodable` and `Decodable` point at extra. Big props to @huonw for help working out the re-export solution for this extra: inline extra::serialize stub fix stuff clobbered in rebase + don't reexport serialize::serialize no more globs in libserialize syntax: fix import of libserialize traits librustc: fix bad imports in encoder/decoder add serialize dep to librustdoc fix failing run-pass tests w/ serialize dep adjust uuid dep more rebase de-clobbering for libserialize fixing tests, pushing libextra dep into cfg(test) fix doc code in extra::json adjust index.md links to serialize and uuid library | ||||
| 2014-02-06 | Avoid cloning ast::CrateConfig | Seo Sanghyeon | -3/+3 | |
| 2014-02-04 | Replace NonCopyable usage with NoPod | Flavio Percoco | -2/+3 | |
| cc #10834 | ||||
| 2014-02-03 | Fixing remaining warnings and errors throughout | Alex Crichton | -2/+2 | |
| 2014-02-03 | syntax: Remove io_error usage | Alex Crichton | -4/+4 | |
| 2014-02-02 | std: rename fmt::Default to `Show`. | Huon Wilson | -1/+1 | |
| This is a better name with which to have a #[deriving] mode. Decision in: https://github.com/mozilla/rust/wiki/Meeting-weekly-2014-01-28 | ||||
| 2014-02-02 | rustc: update docs & propagate @[]/@str removal more. | Huon Wilson | -1/+1 | |
| Various functions can now be made specific to ~[], or just non-managed vectors. | ||||
| 2014-02-02 | rustc: Remove the vstore handling of @str and @[]. | Huon Wilson | -1/+1 | |
| 2014-02-02 | syntax: remove the handling of @str and @[] from the parser completely. | Huon Wilson | -30/+9 | |
| 2014-02-02 | syntax: add an obsolete syntax warning for @[]. | Huon Wilson | -1/+9 | |
| 2014-02-02 | Changes from the review of the @str PR. | Huon Wilson | -7/+0 | |
| 2014-02-02 | Fix `@str` removal tests. | Huon Wilson | -1/+0 | |
| 2014-02-02 | librustc: Remove `@str` from the language | Patrick Walton | -5/+14 | |
| 2014-02-02 | libsyntax: Remove `@str` from the interner | Patrick Walton | -11/+14 | |
| 2014-02-02 | libsyntax: Remove the `interner_get` function and all uses | Patrick Walton | -28/+2 | |
| 2014-02-02 | libsyntax: Remove uses of `token::ident_to_str()` | Patrick Walton | -29/+14 | |
| 2014-02-02 | libsyntax: Remove many uses of `token::ident_to_str` | Patrick Walton | -4/+4 | |
| 2014-02-02 | libsyntax: Fix tests. | Patrick Walton | -25/+25 | |
| 2014-02-02 | libsyntax: Remove `ident_to_str` from the parser, which was returning | Patrick Walton | -10/+8 | |
| `@str` values | ||||
| 2014-02-02 | libsyntax: Remove all `@str` from the AST | Patrick Walton | -5/+8 | |
| 2014-02-02 | libsyntax: Make float literals not use `@str` | Patrick Walton | -3/+6 | |
| 2014-02-02 | libsyntax: De-`@str` pathnames | Patrick Walton | -17/+13 | |
| 2014-02-02 | librustc: Stop using `@str` for source. | Patrick Walton | -48/+42 | |
| 2014-02-02 | libsyntax: Remove the unnecessary `src` field from the lexer | Patrick Walton | -9/+6 | |
| 2014-02-02 | libsyntax: De-`@str` literal strings in the AST | Patrick Walton | -9/+24 | |
| 2014-02-02 | libsyntax: Introduce an `InternedString` type to reduce `@str` in the | Patrick Walton | -5/+96 | |
| compiler and use it for attributes | ||||
| 2014-01-31 | Remove the obsolete handler for `impl A;`. | Huon Wilson | -19/+8 | |
| This is has been obsolete for quite a while now (including a release), so removing the special handling seems fine. (The error message is quite good still anyway.) Fixes #9580. | ||||
| 2014-01-30 | Implement default type parameters in generics. | Eduard Burtescu | -5/+25 | |
| 2014-01-30 | auto merge of #11911 : kballard/rust/empty-functional-update, r=pcwalton | bors | -11/+6 | |
| Fixes #8972 | ||||
| 2014-01-29 | Allow empty functional updating of structs | Kevin Ballard | -11/+6 | |
| Fixes #8972 | ||||
| 2014-01-29 | Removing support for the do syntax from libsyntax and librustc. | Scott Lawrence | -116/+41 | |
| Fixes #10815. | ||||
| 2014-01-27 | Demote self to an (almost) regular argument and remove the env param. | Eduard Burtescu | -39/+35 | |
| Fixes #10667 and closes #10259. | ||||
| 2014-01-26 | auto merge of #11817 : salemtalha/rust/master, r=brson | bors | -4/+4 | |
| Fixes Issue #11815 | ||||
| 2014-01-26 | Removed all instances of XXX in preparation for relaxing of FIXME rule | Salem Talha | -4/+4 | |
| 2014-01-26 | Fix privacy fallout from previous change | Alex Crichton | -1/+1 | |
| 2014-01-25 | Uppercase numeric constants | Chris Wong | -2/+2 | |
| The following are renamed: * `min_value` => `MIN` * `max_value` => `MAX` * `bits` => `BITS` * `bytes` => `BYTES` Fixes #10010. | ||||
| 2014-01-24 | auto merge of #11720 : sfackler/rust/macro-export-source, r=alexcrichton | bors | -1/+1 | |
| The old method of serializing the AST gives totally bogus spans if the expansion of an imported macro causes compilation errors. The best solution seems to be to serialize the actual textual macro definition and load it the same way the std-macros are. I'm not totally confident that getting the source from the CodeMap will always do the right thing, but it seems to work in simple cases. | ||||
| 2014-01-23 | Redo exported macro serialization | Steven Fackler | -1/+1 | |
| The old method of serializing the AST gives totally bogus spans if the expansion of an imported macro causes compilation errors. The best solution seems to be to serialize the actual textual macro definition and load it the same way the std-macros are. I'm not totally confident that getting the source from the CodeMap will always do the right thing, but it seems to work in simple cases. | ||||
| 2014-01-23 | Allow trailing commas in argument lists and tuple patterns | Seo Sanghyeon | -2/+3 | |
| 2014-01-21 | [std::str] Rename from_utf8_owned_opt() to from_utf8_owned(), drop the old ↵ | Simon Sapin | -3/+3 | |
| from_utf8_owned() behavior | ||||
| 2014-01-21 | [std::vec] Rename .pop_opt() to .pop(), drop the old .pop() behavior | Simon Sapin | -3/+3 | |
| 2014-01-21 | [std::vec] Rename .last_opt() to .last(), drop the old .last() behavior | Simon Sapin | -6/+7 | |
| 2014-01-21 | Remove unnecessary parentheses. | Huon Wilson | -5/+5 | |
