about summary refs log tree commit diff
path: root/src/librustdoc/astsrv.rs
AgeCommit message (Collapse)AuthorLines
2013-09-22rustdoc: Out with the old, in with the newAlex Crichton-186/+0
Removes old rustdoc, moves rustdoc_ng into its place instead (plus drops the _ng suffix). Also shreds all reference to rustdoc_ng from the Makefile rules.
2013-09-10Delay assignment of node ids until after expansion. Ensures that each AST nodeNiko Matsakis-0/+12
has a unique id. Fixes numerous bugs in macro expansion and deriving. Add two representative tests. Fixes #7971 Fixes #6304 Fixes #8367 Fixes #8754 Fixes #8852 Fixes #2543 Fixes #7654
2013-07-22Ast spanned<T> refactoring, renaming: crate, local, blk, crate_num, crate_cfg.Michael Woerister-4/+4
`crate => Crate` `local => Local` `blk => Block` `crate_num => CrateNum` `crate_cfg => CrateConfig` Also, Crate and Local are not wrapped in spanned<T> anymore.
2013-07-17librustc: Remove all uses of the `Copy` bound.Patrick Walton-1/+2
2013-07-17librustc: Remove all uses of "copy".Patrick Walton-3/+4
2013-07-17Clean-up tests after debug!/std-macros change.Huon Wilson-1/+2
The entire testsuite is converted to using info! rather than debug! because some depend on the code within the debug! being trans'd.
2013-07-16syntax: make a macros-injection pass; conditionally define debug! to a noop ↵Huon Wilson-0/+2
based on cfg(debug). Macros can be conditionally defined because stripping occurs before macro expansion, but, the built-in macros were only added as part of the actual expansion process and so couldn't be stripped to have definitions conditional on cfg flags. debug! is defined conditionally in terms of the debug config, expanding to nothing unless the --cfg debug flag is passed (to be precise it expands to `if false { normal_debug!(...) }` so that they are still type checked, and to avoid unused variable lints).
2013-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-4/+3
2013-06-28librustc: Change "Owned" to "Send" everywherePatrick Walton-1/+1
2013-06-16std: test-fixes, remove warnings, syntax highlighting for code examples.Huon Wilson-2/+0
2013-06-13Use @str instead of @~str in libsyntax and librustc. Fixes #5048.Huon Wilson-4/+4
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-08remove deprecated vec::{is_empty, len} functionsDaniel Micay-1/+1
2013-06-04std::cell: Modernize constructorsPhilipp Brüschweiler-2/+2
Part of #3853
2013-05-30Remove unnecessary 'use' formsDaniel Farina-2/+3
Fix a laundry list of warnings involving unused imports that glutted up compilation output. There are more, but there seems to be some false positives (where 'remedy' appears to break the build), but this particular set of fixes seems safe.
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-0/+2
2013-05-22libextra: Rename the actual metadata names of libcore to libstd and libstd ↵Patrick Walton-0/+2
to libextra
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-1/+1
2013-04-27only use #[no_core] in libcoreDaniel Micay-2/+0
2013-04-19Assorted fixes from de-modeing rustc/syntax (rusti, rustdoc, fuzzer, rustpkg)Alex Crichton-1/+1
2013-04-18core::comm: Modernize constructors to use `new`Brian Anderson-1/+1
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-3/+3
2013-03-28Removing unused importsAlex Crichton-1/+1
2013-03-27derive Eq and Clone impls where applicableAndrew Paseltiner-8/+1
2013-03-26librustc: Modify all code to use new lifetime binder syntaxPatrick Walton-1/+1
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-3/+3
2013-03-06Add manual &self/ and &static/ and /&self declarations thatNiko Matsakis-1/+1
are currently inferred. New rules are coming that will require them to be explicit. All add some explicit self declarations.
2013-03-04Remove unused imports throughout src/Alex Crichton-10/+0
2013-03-02librustdoc: Remove `fn@`, `fn~`, and `fn&` from compiletest, fuzzer, ↵Patrick Walton-8/+6
rustdoc, and rt. rs=defun
2013-02-26libcore: Move Cell to core and de-~mut core and stdPatrick Walton-1/+1
2013-02-21core: Extract comm from pipes. #4742Brian Anderson-1/+1
2013-02-15librustdoc: Get rid of `move`.Luqman Aden-3/+3
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-1/+1
rs=implflipping
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-1/+4
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-02-03oldmap: implement core::container::ContainerDaniel Micay-1/+1
2013-02-03rename map -> oldmap and mark it as deprecatedDaniel Micay-1/+1
LinearMap is quite a bit faster, and is fully owned/sendable without requiring copies. The older std::map also doesn't use explicit self and relies on mutable fields.
2013-02-01rustdoc: Convert to pipesBrian Anderson-1/+0
2013-02-01rustdoc: Convert astsrv to pipesBrian Anderson-11/+20
2013-01-30rustdoc: Remove structural recordsBrian Anderson-7/+7
2013-01-30rustdoc: De-modeBrian Anderson-6/+6
2013-01-30rustdoc: Stop using a custom error handler. Closes #4698Brian Anderson-55/+2
2013-01-30rustdoc: deny(deprecated_mode)Brian Anderson-5/+5
2013-01-30rustdoc: Various bits of modernizationBrian Anderson-10/+10
2013-01-29libstd: Remove "dual impls" from the language and enforce coherence rules. ↵Patrick Walton-3/+3
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-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+2
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-2/+0
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+2
module scope. r=tjc
2012-12-29librustdoc: Fix a bunch of rustdoc tests. rs=bustagePatrick Walton-0/+1
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-0/+5
contain at least two components. r=graydon
2012-12-14Rename core::comm to core::oldcommBrian Anderson-9/+9
2012-12-14Remove spawn_listener, spawn_conversationBrian Anderson-1/+1
These are not needed in a pipe-based Rustiverse