| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2016-02-11 | [breaking-change] don't pub export ast::Ty_ variants | Oliver Schneider | -1/+1 | |
| 2016-02-11 | [breaking-change] remove the sign from integer literals in the ast | Oliver Schneider | -18/+10 | |
| 2016-02-11 | [breaking-change] don't glob export ast::{UintTy, IntTy} variants | Oliver Schneider | -10/+10 | |
| 2016-02-11 | [breaking-change] don't glob export ast::FloatTy variants | Oliver Schneider | -2/+2 | |
| 2016-02-11 | [breaking-change] don't glob export ast::Expr_ variants | Oliver Schneider | -7/+7 | |
| 2016-02-11 | [breaking-change] don't glob import/export syntax::abi enum variants | Oliver Schneider | -2/+2 | |
| 2016-02-11 | [breaking-change] don't glob export ast::BlockCheckMode variants | Oliver Schneider | -1/+1 | |
| 2016-02-11 | [breaking-change] don't glob import ast::FunctionRetTy variants | Oliver Schneider | -1/+1 | |
| 2016-01-22 | The war on abort_if_errors | Nick Cameron | -13/+7 | |
| 2016-01-15 | Implement JSON error emission | Nick Cameron | -1/+1 | |
| [breaking-change] syntax::errors::Handler::new has been renamed to with_tty_emitter Many functions which used to take a syntax::errors::ColorConfig, now take a rustc::session::config::ErrorOutputType. If you previously used ColorConfig::Auto as a default, you should now use ErrorOutputType::default(). | ||||
| 2015-12-31 | Cut out a bunch of Result and panictry! boilerplate from libsyntax. | Nick Cameron | -1/+1 | |
| [breaking-change] if you use any of the changed functions, you'll need to remove a try! or panictry! | ||||
| 2015-12-30 | use structured errors | Nick Cameron | -16/+34 | |
| 2015-12-21 | Auto merge of #30460 - Ms2ger:BindingMode, r=alexcrichton | bors | -2/+2 | |
| 2015-12-20 | Stop re-exporting the ast::BindingMode variants. | Ms2ger | -2/+2 | |
| 2015-12-18 | Rollup merge of #30420 - petrochenkov:owned2, r=nrc | Manish Goregaokar | -2/+1 | |
| Part of https://github.com/rust-lang/rust/pull/30095 not causing mysterious segfaults. r? @nrc | ||||
| 2015-12-18 | Deprecate name `OwnedSlice` and don't use it | Vadim Petrochenkov | -2/+1 | |
| 2015-12-17 | Move a bunch of stuff from Session to syntax::errors | Nick Cameron | -1/+1 | |
| The intention here is that Session is a very thin wrapper over the error handling infra. | ||||
| 2015-12-17 | move error handling from libsyntax/diagnostics.rs to libsyntax/errors/* | Nick Cameron | -12/+15 | |
| Also split out emitters into their own module. | ||||
| 2015-11-26 | Add syntax support for attributes on expressions and all syntax | Marvin Löbel | -6/+12 | |
| nodes in statement position. Extended #[cfg] folder to allow removal of statements, and of expressions in optional positions like expression lists and trailing block expressions. Extended lint checker to recognize lint levels on expressions and locals. | ||||
| 2015-11-13 | Auto merge of #29761 - eefriedman:rename-nopanic, r=sanxiyn | bors | -4/+4 | |
| Just `sed s/_nopanic//g`. Hopefully makes libsyntax a bit more readable. | ||||
| 2015-11-10 | Rename _nopanic methods to remove the suffix. | Eli Friedman | -4/+4 | |
| Just `sed s/_nopanic//g`. Hopefully makes libsyntax a bit more readable. | ||||
| 2015-11-10 | Use deref coercions | Seo Sanghyeon | -5/+5 | |
| 2015-11-06 | remove `Tt` prefix from TokenType variants | Oliver Schneider | -21/+21 | |
| [breaking change] | ||||
| 2015-10-27 | Update libsyntax tests. | Eli Friedman | -2/+2 | |
| 2015-10-27 | Make fatal errors more consistent. | Eli Friedman | -1/+1 | |
| 2015-10-27 | Don't panic for fatal errors in attribute parsing. | Eli Friedman | -3/+4 | |
| 2015-10-27 | Delete unnecessary ParserAttr trait. | Eli Friedman | -1/+0 | |
| 2015-10-27 | Don't use panicking helpers in Parser. | Eli Friedman | -4/+4 | |
| 2015-09-24 | Cleanup interfaces of Name, SyntaxContext and Ident | Vadim Petrochenkov | -4/+4 | |
| Make sure Name, SyntaxContext and Ident are passed by value Make sure Idents don't serve as keys (or parts of keys) in maps, Ident comparison is not well defined | ||||
| 2015-09-20 | Replace `ast::Mac_` enum with struct | Andrew Paseltiner | -4/+1 | |
| Closes #28527. | ||||
| 2015-09-03 | Use consistent terminology for byte string literals | Vadim Petrochenkov | -2/+2 | |
| Avoid confusion with binary integer literals and binary operator expressions in libsyntax | ||||
| 2015-07-29 | Replace illegal with invalid in most diagnostics | Simonas Kazlauskas | -7/+7 | |
| 2015-07-28 | remove `get_ident` and `get_name`, make `as_str` sound | Oliver Schneider | -17/+22 | |
| 2015-07-21 | Use a span from the correct file for the inner span of a module | Nick Cameron | -2/+9 | |
| This basically only affects modules which are empty (or only contain comments). Closes #26755 | ||||
| 2015-05-22 | Two more small fixes. | Niko Matsakis | -0/+1 | |
| 2015-05-14 | syntax: abstract over the file loading mechanism. | Eduard Burtescu | -10/+10 | |
| 2015-05-14 | syntax::parse: optimize file_to_filemap to read a string directly. | Eduard Burtescu | -21/+7 | |
| 2015-05-14 | syntax: replace sess.span_diagnostic.cm with sess.codemap(). | Eduard Burtescu | -11/+7 | |
| 2015-05-14 | syntax: refactor (Span)Handler and ParseSess constructors to be methods. | Eduard Burtescu | -13/+13 | |
| 2015-05-14 | Move tracking of the next NodeId from syntax's ParseSess to rustc's Session. | Eduard Burtescu | -20/+1 | |
| 2015-04-25 | Interpolate AST nodes in quasiquote. | Geoffry Song | -72/+0 | |
| This changes the `ToTokens` implementations for expressions, statements, etc. with almost-trivial ones that produce `Interpolated(*Nt(...))` pseudo-tokens. In this way, quasiquote now works the same way as macros do: already-parsed AST fragments are used as-is, not reparsed. The `ToSource` trait is removed. Quasiquote no longer involves pretty-printing at all, which removes the need for the `encode_with_hygiene` hack. All associated machinery is removed. A new `Nonterminal` is added, NtArm, which the parser now interpolates. This is just for quasiquote, not macros (although it could be in the future). `ToTokens` is no longer implemented for `Arg` (although this could be added again) and `Generics` (which I don't think makes sense). This breaks any compiler extensions that relied on the ability of `ToTokens` to turn AST fragments back into inspectable token trees. For this reason, this closes #16987. As such, this is a [breaking-change]. Fixes #16472. Fixes #15962. Fixes #17397. Fixes #16617. | ||||
| 2015-04-24 | Change name of unit test sub-module to "tests". | Johannes Oertel | -1/+1 | |
| Changes the style guidelines regarding unit tests to recommend using a sub-module named "tests" instead of "test" for unit tests as "test" might clash with imports of libtest. | ||||
| 2015-04-21 | rollup merge of #24636: alexcrichton/remove-deprecated | Alex Crichton | -2/+0 | |
| Conflicts: src/libcore/result.rs | ||||
| 2015-04-21 | std: Remove deprecated/unstable num functionality | Alex Crichton | -2/+0 | |
| This commit removes all the old casting/generic traits from `std::num` that are no longer in use by the standard library. This additionally removes the old `strconv` module which has not seen much use in quite a long time. All generic functionality has been supplanted with traits in the `num` crate and the `strconv` module is supplanted with the [rust-strconv crate][rust-strconv]. [rust-strconv]: https://github.com/lifthrasiir/rust-strconv This is a breaking change due to the removal of these deprecated crates, and the alternative crates are listed above. [breaking-change] | ||||
| 2015-04-21 | syntax: Copy unstable str::char_at into libsyntax | Erick Tryzelaar | -4/+4 | |
| 2015-04-21 | syntax: Remove uses of #[feature(slice_patterns)] | Erick Tryzelaar | -15/+31 | |
| 2015-04-21 | syntax: remove #![feature(box_syntax, box_patterns)] | Erick Tryzelaar | -3/+3 | |
| 2015-04-15 | Forbid is/us suffixes. Fixes #22496 | Brian Anderson | -2/+0 | |
| It was an oversight that this was not done in the great int upheaval. [breaking-change] | ||||
| 2015-04-05 | Work towards a non-panicing parser (libsyntax) | Phil Dawes | -10/+13 | |
| - Functions in parser.rs return PResult<> rather than panicing - Other functions in libsyntax call panic! explicitly for now if they rely on panicing behaviour. - 'panictry!' macro added as scaffolding while converting panicing functions. (This does the same as 'unwrap()' but is easier to grep for and turn into try!()) - Leaves panicing wrappers for the following functions so that the quote_* macros behave the same: - parse_expr, parse_item, parse_pat, parse_arm, parse_ty, parse_stmt | ||||
| 2015-03-31 | rollup merge of #23872: huonw/eager-lexing | Alex Crichton | -1/+14 | |
| Conflicts: src/libsyntax/parse/lexer/mod.rs | ||||
