about summary refs log tree commit diff
path: root/src/librustdoc/path_pass.rs
AgeCommit message (Collapse)AuthorLines
2013-09-22rustdoc: Out with the old, in with the newAlex Crichton-115/+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-29New naming convention for ast::{node_id, local_crate, crate_node_id, ↵Michael Woerister-1/+1
blk_check_mode, ty_field, ty_method}
2013-07-20syntax: modernise attribute handling in syntax::attr.Huon Wilson-2/+2
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-18Silence various warnings in bootstrap build.Felix S. Klock II-2/+0
2013-07-17librustc: Remove all uses of "copy".Patrick Walton-4/+4
2013-07-17Clean-up tests after debug!/std-macros change.Huon Wilson-5/+7
The entire testsuite is converted to using info! rather than debug! because some depend on the code within the debug! being trans'd.
2013-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-1/+0
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-03add gitattributes and fix whitespace issuesDaniel Micay-1/+0
2013-04-27only use #[no_core] in libcoreDaniel Micay-2/+0
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-3/+3
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-5/+5
2013-03-07librustc: Remove "extern mod { ... }" from librustc, librustdoc, and tests. ↵Patrick Walton-19/+0
rs=deexterning
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-22librustpkg: De-mut librustdoc and librustpkg. rs=demutingPatrick Walton-4/+4
2013-02-15librustdoc: Get rid of `move`.Luqman Aden-1/+1
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-1/+1
rs=implflipping
2013-02-01rustdoc: Convert astsrv to pipesBrian Anderson-9/+15
2013-01-30rustdoc: De-modeBrian Anderson-4/+4
2013-01-30rustdoc: Various bits of modernizationBrian Anderson-3/+3
2013-01-29rustdoc: Remove structural records from tests. Fixes build breakageTim Chevalier-3/+3
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-09A collection of refactorings that I found it hard/tiresome to divide:Niko Matsakis-1/+1
- 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/+4
contain at least two components. r=graydon
2012-12-05librustc: Hook borrow check loan checking up to the moves-based-on-type ↵Patrick Walton-3/+4
infrastructure. rs=helps-unbreak-the-build
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-3/+3
calls. rs=refactoring
2012-11-27rustdoc: Make fold require Clone instead of CopyBrian Anderson-3/+7
2012-11-20rustdoc: More demodingBrian Anderson-1/+1
2012-11-20rustdoc: Begin removing legacy modesBrian Anderson-5/+5
2012-11-20rustdoc: Remove legacy exportsBrian Anderson-3/+1
2012-11-03library-ifying of tools - turning cargo, rustdoc, fuzzer, into libraries, as ↵Daniel Patterson-0/+108
per #3543