about summary refs log tree commit diff
path: root/src/librustdoc/pass.rs
AgeCommit message (Collapse)AuthorLines
2013-09-22rustdoc: Out with the old, in with the newAlex Crichton-96/+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-07-20syntax: modernise attribute handling in syntax::attr.Huon Wilson-3/+3
This does a number of things, but especially dramatically reduce the number of allocations performed for operations involving attributes/ meta items: - Converts ast::meta_item & ast::attribute and other associated enums to CamelCase. - Converts several standalone functions in syntax::attr into methods, defined on two traits AttrMetaMethods & AttributeMethods. The former is common to both MetaItem and Attribute since the latter is a thin wrapper around the former. - Deletes functions that are unnecessary due to iterators. - Converts other standalone functions to use iterators and the generic AttrMetaMethods rather than allocating a lot of new vectors (e.g. the old code would have to allocate a new vector to use functions that operated on &[meta_item] on &[attribute].) - Moves the core algorithm of the #[cfg] matching to syntax::attr, similar to find_inline_attr and find_linkage_metas. This doesn't have much of an effect on the speed of #[cfg] stripping, despite hugely reducing the number of allocations performed; presumably most of the time is spent in the ast folder rather than doing attribute checks. Also fixes the Eq instance of MetaItem_ to correctly ignore spaces, so that `rustc --cfg 'foo(bar)'` now works.
2013-07-17librustc: Remove all uses of "copy".Patrick Walton-4/+4
2013-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-1/+0
2013-06-14add IteratorUtil to the preludeDaniel Micay-1/+0
2013-06-09remove unused import warningsHuon Wilson-1/+0
2013-06-09std: remove fold[lr] in favour of iteratorsHuon Wilson-1/+2
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-0/+2
2013-05-28Silence various warnings throughout test modulesAlex Crichton-2/+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-05-08librustc: Stop parsing modes and remove them entirely from the languagePatrick Walton-1/+1
2013-04-27only use #[no_core] in libcoreDaniel Micay-4/+0
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-1/+1
2013-03-11Remove uses of logBrian Anderson-1/+1
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-1/+1
2013-03-04Adding missing imports for tests, and gate off othersAlex Crichton-0/+2
2013-03-04Remove unused imports throughout src/Alex Crichton-1/+0
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-1/+1
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-02-01rustdoc: Convert astsrv to pipesBrian Anderson-2/+2
2013-01-30rustdoc: De-modeBrian Anderson-4/+4
2013-01-30rustdoc: Various bits of modernizationBrian Anderson-5/+4
2013-01-29rustdoc: Remove structural records from tests. Fixes build breakageTim Chevalier-12/+12
2013-01-09A collection of refactorings that I found it hard/tiresome to divide:Niko Matsakis-4/+4
- Make `extern fn()` assignable to any closure type, rather than a subtype. - Remove unused int_ty_set and float_ty_set - Refactor variable unification and make it more DRY - Do fn sub/lub/glb on the level of fn_sig - Rename infer::to_str::ToStr to infer::to_str::InferStr - Capitalize names of various types - Correct hashing of FnMeta - Convert various records-of-fns into structs-of-fns. This is both eliminating use of deprecated features and more forwards compatible with fn reform. r=pcwalton
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+3
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-3/+0
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+3
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-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-29librustc: Eliminate most expressions of the form `a.b()` that are not method ↵Patrick Walton-1/+1
calls. rs=refactoring
2012-11-20rustdoc: Begin removing legacy modesBrian Anderson-5/+5
2012-11-03library-ifying of tools - turning cargo, rustdoc, fuzzer, into libraries, as ↵Daniel Patterson-0/+79
per #3543