about summary refs log tree commit diff
path: root/src/librustdoc/doc.rs
AgeCommit message (Collapse)AuthorLines
2013-09-22rustdoc: Out with the old, in with the newAlex Crichton-393/+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-08-07Change const to staticSangeun Kim-8/+8
2013-08-05Updated std::Option, std::Either and std::ResultMarvin Löbel-1/+1
- Made naming schemes consistent between Option, Result and Either - Changed Options Add implementation to work like the maybe monad (return None if any of the inputs is None) - Removed duplicate Option::get and renamed all related functions to use the term `unwrap` instead
2013-07-20syntax: modernise attribute handling in syntax::attr.Huon Wilson-2/+6
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-42/+56
2013-07-04Remove vec::{filter, filtered, filter_map, filter_mapped}, replaced by ↵Huon Wilson-104/+39
iterators.
2013-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-2/+1
2013-06-14add IteratorUtil to the preludeDaniel Micay-1/+0
2013-06-09std: remove fold[lr] in favour of iteratorsHuon Wilson-1/+2
2013-06-01Remove all uses of `pub impl`. rs=stylePatrick Walton-13/+13
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-04-27only use #[no_core] in libcoreDaniel Micay-4/+0
2013-03-26option: rm functions that duplicate methodsDaniel Micay-3/+2
2013-03-26rustdoc: Add type bounds to implsBrian Anderson-0/+1
2013-03-22librustdoc: Remove `pure` from fuzzer and rustdoc.Patrick Walton-21/+21
2013-03-22rustdoc: replace uses of old deriving attribute with new oneAndrew Paseltiner-18/+18
2013-03-04Remove unused imports throughout src/Alex Crichton-2/+0
2013-02-28librustc: Mark all type implementations public. rs=impl-publicityPatrick Walton-2/+2
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-10/+10
rs=implflipping
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-17/+17
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-01-30rustdoc: deny(deprecated_self)Brian Anderson-11/+11
2013-01-30rustdoc: Various bits of modernizationBrian Anderson-41/+41
2013-01-29rustdoc: Remove structural records from tests. Fixes build breakageTim Chevalier-12/+2
2013-01-29libstd: Remove "dual impls" from the language and enforce coherence rules. ↵Patrick Walton-247/+36
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/+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-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-0/+6
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-28Register snapshotsBrian Anderson-289/+0
2012-11-20rustdoc: Use more explicit selfBrian Anderson-46/+46
2012-11-20rustdoc: Remove legacy exportsBrian Anderson-27/+27
2012-11-19rustc: Implement explicit self for Eq and Ord. r=graydonPatrick Walton-0/+289
2012-11-03library-ifying of tools - turning cargo, rustdoc, fuzzer, into libraries, as ↵Daniel Patterson-0/+645
per #3543