about summary refs log tree commit diff
path: root/src/librustdoc/sectionalize_pass.rs
AgeCommit message (Collapse)AuthorLines
2013-09-22rustdoc: Out with the old, in with the newAlex Crichton-257/+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-05Updated std::Option, std::Either and std::ResultMarvin Löbel-2/+2
- 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-08-03remove obsolete `foreach` keywordDaniel Micay-1/+1
this has been replaced by `for`
2013-08-01migrate many `for` loops to `foreach`Daniel Micay-3/+1
2013-07-17librustc: Remove all uses of "copy".Patrick Walton-10/+10
2013-07-17Clean-up tests after debug!/std-macros change.Huon Wilson-0/+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-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-3/+1
2013-06-16std: test-fixes, remove warnings, syntax highlighting for code examples.Huon Wilson-3/+0
2013-06-16std: convert str::{map,levdistance,subslice_offset} to methods.Huon Wilson-13/+11
The first two become map_chars and lev_distance. Also, remove a few allocations in rustdoc.
2013-06-11std: replace str::{starts,ends}_with with the method.Huon Wilson-1/+1
2013-06-10std: remove str::contains in favour of the methodHuon Wilson-12/+4
2013-06-10std: remove str::{len, slice, is_empty} in favour of methods.Huon Wilson-1/+1
2013-06-08remove deprecated vec::{is_empty, len} functionsDaniel Micay-1/+1
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-0/+5
2013-05-28Move checking for moves and initialization of local variables and patterns intoNiko Matsakis-1/+1
borrow checker and generalize what moves are allowed. Fixes a nasty bug or two in the pattern move checking code. Unifies dataflow code used for initialization and other things. First step towards once fns. Everybody wins. Fixes #4384. Fixes #4715. cc once fns (#2202), optimizing local moves (#5016).
2013-05-28Silence various warnings throughout test modulesAlex Crichton-4/+4
2013-05-23cleanup warnings from librustdocErick Tryzelaar-4/+4
2013-05-22librustc: Add some missing `use core::prelude::*;` in the test casesPatrick 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-21Remove unnecessary allocations flagged by lint from rustdocSeo Sanghyeon-1/+1
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-3/+3
2013-04-27only use #[no_core] in libcoreDaniel Micay-5/+0
2013-04-16librustdoc: move tests into dedicated tests module.Huon Wilson-87/+90
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-8/+8
2013-03-26Fixed all use sites and testsMarvin Löbel-2/+2
2013-03-21back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> ↵Marvin Löbel-1/+1
slice_unique
2013-03-21renamed str::view -> slice_DBG_BRWDMarvin Löbel-1/+1
renamed str::slice -> slice_DBG_UNIQ changed vec slice method -> to_owned() renamed vec view method -> slice_V_DBG_BRWD
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-12/+12
2013-03-04Remove unused imports throughout src/Alex Crichton-4/+0
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-2/+2
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-02-01rustdoc: Convert astsrv to pipesBrian Anderson-3/+3
2013-01-30rustdoc: De-modeBrian Anderson-7/+7
2013-01-30rustdoc: deny(deprecated_mode)Brian Anderson-6/+6
2013-01-30rustdoc: Various bits of modernizationBrian Anderson-8/+8
2013-01-30librustdoc: De-export compiletest, combine-tests, libcargo, libfuzzer, and ↵Patrick Walton-5/+5
librustdoc. rs=deexporting
2013-01-29libstd: Remove "dual impls" from the language and enforce coherence rules. ↵Patrick Walton-7/+7
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-5/+7
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-7/+5
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-5/+7
module scope. r=tjc
2012-12-29librustdoc: More text fixes. rs=bustedPatrick Walton-0/+6
2012-12-29librustdoc: Fix a bunch of rustdoc tests. rs=bustagePatrick Walton-0/+3
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-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-12-03librustdoc: Parenthesize closure calls in tests to attempt to put out ↵Patrick Walton-1/+1
burning tinderbox. rs=rustbot
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-20rustdoc: Remove legacy exportsBrian Anderson-3/+1
2012-11-03library-ifying of tools - turning cargo, rustdoc, fuzzer, into libraries, as ↵Daniel Patterson-0/+243
per #3543