summary refs log tree commit diff
path: root/src/librustdoc
AgeCommit message (Collapse)AuthorLines
2013-06-30auto merge of #7487 : huonw/rust/vec-kill, r=cmrbors-35/+31
Continuation of #7430. I haven't removed the `map` method, since the replacement `v.iter().transform(f).collect::<~[SomeType]>()` is a little ridiculous at the moment.
2013-06-30Bump version from 0.7-pre to 0.7Brian Anderson-1/+1
2013-06-30Remove vec::{map, mapi, zip_map} and the methods, except for .map, since thisHuon Wilson-35/+31
is very common, and the replacement (.iter().transform().collect()) is very ugly.
2013-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-88/+42
2013-06-28librustc: Remove the broken overloaded assign-ops from the language.Patrick Walton-6/+6
They evaluated the receiver twice. They should be added back with `AddAssign`, `SubAssign`, etc., traits.
2013-06-28librustc: Change "Owned" to "Send" everywherePatrick Walton-2/+2
2013-06-28librustc: Rename Const to FreezePatrick Walton-2/+2
2013-06-25Change finalize -> drop.Luqman Aden-1/+1
2013-06-25Rename all files with the 'rc' extensionAlex Crichton-0/+0
2013-06-23Support foreign 'static mut' variables as wellAlex Crichton-1/+1
2013-06-23Add 'static mut' items to the languageAlex Crichton-2/+2
2013-06-23vec: remove BaseIter implementationDaniel Micay-8/+9
I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway.
2013-06-22Merge pull request #7270 from thestinger/docDaniel Micay-6/+6
accumulated doc pull requests from the queue
2013-06-21replace vec::find with the IteratorUtil methodDaniel Micay-10/+9
2013-06-21vec: rm old_iter implementations, except BaseIterDaniel Micay-5/+6
The removed test for issue #2611 is well covered by the `std::iterator` module itself. This adds the `count` method to `IteratorUtil` to replace `EqIter`.
2013-06-21Show defaults in rustdoc usage messageRalph Bodenner-6/+6
2013-06-16Do not strip leading whitespace when parsing doc comments.SiegeLord-2/+2
This change prevents the indentation in code blocks inside the /// doc comments from being eaten. The indentation that is the same across the consecutive doc comments is removed by the uindent_pass in librustdoc.
2013-06-16remove unused importsHuon Wilson-4/+0
2013-06-16std: test-fixes, remove warnings, syntax highlighting for code examples.Huon Wilson-18/+3
2013-06-16std: convert str::{map,levdistance,subslice_offset} to methods.Huon Wilson-38/+31
The first two become map_chars and lev_distance. Also, remove a few allocations in rustdoc.
2013-06-15auto merge of #7130 : huonw/rust/rustdoc-highlight, r=thestingerbors-15/+13
This means that type definitions and function signatures have pretty colours.
2013-06-14add IteratorUtil to the preludeDaniel Micay-4/+0
2013-06-15rustdoc: add syntax highlighting to item signatures.Huon Wilson-15/+13
This means that type definitions and function signatures have pretty colours. It uses the following template: ~~~ {.rust} <code> ~~~
2013-06-13Revert "std: convert {vec,str}::to_owned to methods."Brian Anderson-3/+3
This fixes the strange random crashes in compile-fail tests. This reverts commit 96cd61ad034cc9e88ab6a7845c3480dbc1ea62f3. Conflicts: src/librustc/driver/driver.rs src/libstd/str.rs src/libsyntax/ext/quote.rs
2013-06-13rustdoc: fix tests for @~str -> @str change.Huon Wilson-33/+33
2013-06-13Use @str instead of @~str in libsyntax and librustc. Fixes #5048.Huon Wilson-12/+12
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-12Silence some warnings.Huon Wilson-5/+0
2013-06-12std: convert str::replace to a method.Huon Wilson-21/+21
2013-06-12std: unify the str -> [u8] functions as 3 methods: .as_bytes() and ↵Huon Wilson-1/+1
.as_bytes_with_null[_consume](). The first acts on &str and is not nul-terminated, the last two act on strings that are always null terminated (&'static str, ~str and @str).
2013-06-12std: convert {vec,str}::to_owned to methods.Huon Wilson-3/+3
2013-06-11std: replace str::is_{alphanumeric,whitespace} with the methods.Huon Wilson-4/+4
2013-06-11std: replace str::{starts,ends}_with with the method.Huon Wilson-2/+2
2013-06-10std: remove str::{connect,concat}*.Huon Wilson-7/+7
2013-06-10std: convert str::trim* to methods.Huon Wilson-2/+2
2013-06-10std: remove str::contains in favour of the methodHuon Wilson-58/+44
2013-06-10std: replace str::find_str* with a methodHuon Wilson-4/+4
2013-06-10std: convert character-based str::find_* to methods. Add .slice_{to,from} ↵Huon Wilson-8/+6
methods.
2013-06-10std: remove str::{len, slice, is_empty} in favour of methods.Huon Wilson-6/+6
2013-06-10std: replace str::all/any fns and methods with iteratorsHuon Wilson-1/+1
2013-06-08remove deprecated vec::{is_empty, len} functionsDaniel Micay-9/+9
2013-06-09remove unused import warningsHuon Wilson-3/+0
2013-06-09std: remove fold[lr] in favour of iteratorsHuon Wilson-4/+8
2013-06-05remove unused get_ident_interner'sJohn Clements-2/+2
2013-06-05token_to_ident takes argument by referenceJohn Clements-1/+3
2013-06-05interner just uses uints, not idents with syntax contextJohn Clements-3/+3
2013-06-04std::cell: Modernize constructorsPhilipp Brüschweiler-5/+5
Part of #3853
2013-06-01Remove all uses of `pub impl`. rs=stylePatrick Walton-19/+19
2013-05-30Remove unnecessary 'use' formsDaniel Farina-9/+6
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-3/+57
2013-05-28Move checking for moves and initialization of local variables and patterns intoNiko Matsakis-38/+38
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).