about summary refs log tree commit diff
path: root/src/librustc/front
AgeCommit message (Collapse)AuthorLines
2014-02-20move extra::test to libtestLiigo Zhuang-23/+22
2014-02-14extern mod => extern crateAlex Crichton-1/+1
This was previously implemented, and it just needed a snapshot to go through
2014-02-14Refactored ast_map and friends, mainly to have Paths without storing them.Eduard Burtescu-19/+15
2014-02-13Replace `crate` usage with `krate`Flavio Percoco-52/+52
This patch replaces all `crate` usage with `krate` before introducing the new keyword. This ensures that after introducing the keyword, there won't be any compilation errors. krate might not be the most expressive substitution for crate but it's a very close abbreviation for it. `module` was already used in several places already.
2014-02-11front -- collapse iterator actions that require access to the same &mut stateNiko Matsakis-22/+28
2014-02-08Converted fourcc! to loadable syntax extensionDerek Guenther-1/+4
2014-02-07Add comments to span debuggerSeo Sanghyeon-0/+5
2014-02-07Span debuggerSeo Sanghyeon-0/+31
2014-02-04Replaced with a single "quote" feature gate.James Deng-7/+2
2014-02-04Feature gate all quasi-quoting macros.James Deng-4/+21
2014-02-02syntax: remove the handling of @str and @[] from the parser completely.Huon Wilson-2/+1
2014-02-02librustc: Remove uses of `token::ident_to_str()` from librustcPatrick Walton-1/+2
2014-02-02libsyntax: Fix tests.Patrick Walton-1/+1
2014-02-02librustc: De-`@str` `NameAndSpan`Patrick Walton-1/+1
2014-02-02librustc: Fix merge fallout.Patrick Walton-6/+13
2014-02-02libsyntax: De-`@str` literal strings in the ASTPatrick Walton-1/+3
2014-02-02libsyntax: Introduce an `InternedString` type to reduce `@str` in thePatrick Walton-9/+15
compiler and use it for attributes
2014-01-30Implement default type parameters in generics.Eduard Burtescu-0/+15
2014-01-28Feature gate #[simd]David Manescu-0/+8
Fixes #11721
2014-01-27Feature gate trace_macros.xales-0/+5
Fixes #11631
2014-01-24Move macro_rules! macros to libstdSteven Fackler-20/+46
They all have to go into a single module at the moment unfortunately. Ideally, the logging macros would live in std::logging, condition! would live in std::condition, format! in std::fmt, etc. However, this introduces cyclic dependencies between those modules and the macros they use which the current expansion system can't deal with. We may be able to get around this by changing the expansion phase to a two-pass system but that's for a later PR. Closes #2247 cc #11763
2014-01-21[std::vec] Rename .last_opt() to .last(), drop the old .last() behaviorSimon Sapin-3/+3
2014-01-20Register new snapshotsAlex Crichton-2/+1
Upgrade the version to 0.10-pre
2014-01-18auto merge of #11632 : brson/rust/issue-11602, r=huonwbors-0/+6
2014-01-18auto merge of #11607 : alexcrichton/rust/issue-9957, r=cmrbors-5/+5
For `use` statements, this means disallowing qualifiers when in functions and disallowing `priv` outside of functions. For `extern mod` statements, this means disallowing everything everywhere. It may have been envisioned for `pub extern mod foo` to be a thing, but it currently doesn't do anything (resolve doesn't pick it up), so better to err on the side of forwards-compatibility and forbid it entirely for now. Closes #9957
2014-01-18Forbid unnecessary visibility on view itemsAlex Crichton-5/+5
For `use` statements, this means disallowing qualifiers when in functions and disallowing `priv` outside of functions. For `extern mod` statements, this means disallowing everything everywhere. It may have been envisioned for `pub extern mod foo` to be a thing, but it currently doesn't do anything (resolve doesn't pick it up), so better to err on the side of forwards-compatibility and forbid it entirely for now. Closes #9957
2014-01-17rustc: Feature gate `log_syntax!`. Closes #11602Brian Anderson-0/+6
2014-01-16Load macros from external modulesSteven Fackler-7/+27
2014-01-15Add a configure to disable libstd version injectionAlex Crichton-4/+18
We'll use this when building snapshots so we can upgrade freely, but all compilers will inject a version by default.
2014-01-13librustc: Remove `@` pointer patterns from the languagePatrick Walton-1/+1
2014-01-12Bump version to 0.10-preBrian Anderson-11/+4
2014-01-09rustc: Fix style of Lint enumBrian Anderson-1/+1
2014-01-09libsyntax: Renamed types, traits and enum variants to CamelCase.Eduard Burtescu-118/+116
2014-01-06Disowned the Visitor.Eduard Burtescu-12/+9
2014-01-03librustc: Remove `@mut` support from the parserPatrick Walton-3/+2
2014-01-03auto merge of #11276 : brson/rust/0.9, r=pcwaltonbors-1/+1
2014-01-02auto merge of #11093 : alexcrichton/rust/issue-11085, r=pcwaltonbors-1/+37
Closes #11085
2014-01-02Bump version to 0.9Brian Anderson-1/+1
2014-01-02auto merge of #10696 : fhahn/rust/issue9543-remove-extern-mod-foo, r=pcwaltonbors-11/+12
This patch for #9543 throws an `obsolete syntax` error for `extern mod foo (name="bar")` . I was wondering if [this](https://github.com/fhahn/rust/compare/mozilla:master...fhahn:issue9543-remove-extern-mod-foo?expand=1#diff-da9d34ca1d0f6beee2838cf02e07345cR4444) is the correct place to do this? I think the wording of the error message could probably be improved as well. If this approach is OK, I'm going to run the whole test suite tomorrow and update the old syntax to the new one.
2014-01-02Inject std libs with versionsFlorian Hahn-4/+13
2014-01-01Remove `extern mod foo (name="bar")` syntax, closes #9543Florian Hahn-9/+1
2014-01-01syntax::codemap: Add static DUMMY_SPklutzy-16/+16
It replaces `dummy_sp()`.
2013-12-30auto merge of #11182 : luisbg/rust/crateid, r=cmrbors-1/+1
Issue #11048
2013-12-29Remove @muts from ExtCtxtSteven Fackler-10/+10
2013-12-29Make ast_fold take &mut selfSteven Fackler-19/+19
2013-12-29Rename pkgid variablesLuis de Bethencourt-1/+1
2013-12-28Stop using @ExtCtxtSteven Fackler-13/+12
2013-12-26librustc: De-`@mut` `building_library` in the sessionPatrick Walton-2/+2
2013-12-26librustc: De-`@mut` the test contextPatrick Walton-5/+5
2013-12-26librustc: De-`@mut` `TestCtxt::testfns`Patrick Walton-6/+12