about summary refs log tree commit diff
path: root/src/libextra
AgeCommit message (Collapse)AuthorLines
2013-06-10std: replace str::all/any fns and methods with iteratorsHuon Wilson-2/+3
2013-06-10std: replace str::each_split* with an iteratorHuon Wilson-37/+21
2013-06-09cmp: remove duplicate free functionsDaniel Micay-25/+23
2013-06-09Fix all issues with sample codeRon Dahlgren-12/+13
The getopts sample program now compiles and runs. Additionally I made all of the indentation uniformly four spaces.
2013-06-09Updated documentation to refer to extra moduleRon Dahlgren-3/+3
The documentation was still refering to getopts as though it was in the std module - I've changed this to refer to extra instead.
2013-06-08remove deprecated vec::{is_empty, len} functionsDaniel Micay-19/+19
2013-06-08auto merge of #7016 : thestinger/rust/ptr, r=luqmanabors-1/+1
2013-06-08auto merge of #7004 : dotdash/rust/allocs, r=thestingerbors-7/+12
This removes some unnecessary allocations in the lexer, the typechecker and the metadata decoder. Reduces the time spent in the parsing and typechecking passes by about 10% for me.
2013-06-08rm some uses of to_mut_unsafe_ptrDaniel Micay-1/+1
2013-06-09remove unused import warningsHuon Wilson-12/+1
2013-06-09std: replace the str::each* fns/methods with byte iteratorsHuon Wilson-1/+2
2013-06-09std: remove each_char* fns and methods from str, replaced by iterators.Huon Wilson-6/+10
2013-06-09std: remove fold[lr] in favour of iteratorsHuon Wilson-6/+8
2013-06-09std: remove {all*,any*,count} in favour of iteratorsHuon Wilson-9/+9
2013-06-09std: add reverse vec iterators, replace vec::each*_reverse.Huon Wilson-9/+6
2013-06-08Avoid unnecessary allocations in the metadata decoderBjörn Steinbrink-7/+12
2013-06-08std: remove each[i]_mut functions, in favour of iterators.Huon Wilson-1/+2
2013-06-06Clean up a handful of build warnings.Michael Sullivan-1/+0
2013-06-06Deduplicate words in code commentsAlexei Sholik-2/+2
2013-06-04librustc: Disallow multiple patterns from appearing in a "let" declaration.Patrick Walton-21/+25
You can still initialize multiple variables at once with "let (x, y) = (1, 2)".
2013-06-04libsyntax: Remove `pub impl` from the languagePatrick Walton-8/+8
2013-06-04std::io: Modernize some constructorsPhilipp Brüschweiler-2/+2
Part of #3853
2013-06-04std::cell: Modernize constructorsPhilipp Brüschweiler-15/+15
Part of #3853
2013-06-03auto merge of #6826 : cmr/rust/terminfo, r=thestingerbors-40/+757
This will let *everyone* (non-windows, at least) who can see colors see the glorious colors rustc produces.
2013-06-03Ignore tests that cannot pass on buildbotCorey Richardson-0/+3
2013-06-02ptr: split out borrowed pointer utilitiesDaniel Micay-2/+4
The ptr module is intended to be for raw pointers. Closes #3111
2013-06-01test fixesCorey Richardson-2/+2
2013-06-01Remove all uses of `pub impl`. rs=stylePatrick Walton-396/+417
2013-05-31Fix formatting for tidyCorey Richardson-7/+20
2013-05-31extra::term: better error handling and win32 compatCorey Richardson-32/+89
2013-05-31Only output colors if colors are supported (removes burden from caller)Corey Richardson-5/+11
2013-05-31Use find_equiv in termCorey Richardson-4/+4
2013-05-31extra::term overhaulCorey Richardson-41/+679
2013-05-31auto merge of #6862 : thestinger/rust/swap, r=bstriebors-3/+2
I don't like the `util` module in general, and `ptr` is a much better place for these.
2013-05-31auto merge of #6857 : alexcrichton/rust/ebml-fixes, r=pcwaltonbors-71/+91
Also provides a method of serializing `char`.
2013-05-31mv the raw pointer {swap,replace}_ptr to std::ptrDaniel Micay-3/+2
2013-05-31auto merge of #6833 : fdr/rust/fix-warnings, r=Aatchbors-8/+3
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-31Implement unimplemented methods in ebmlAlex Crichton-71/+91
2013-05-30Remove unnecessary 'use' formsDaniel Farina-8/+3
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-30Remove copy bindings from patterns.Niko Matsakis-48/+49
2013-05-30Remove a bunch of unnecessary allocations and copiesBjörn Steinbrink-24/+22
2013-05-30libextra: Require documentation by defaultAlex Crichton-7/+111
2013-05-29Remove all of the `#[inline(always)]` attributes from bigintJames Miller-112/+112
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-61/+257
2013-05-29librustc: Redo the unsafe checker and make unsafe methods not callable from ↵Patrick Walton-51/+61
safe code
2013-05-28Generalized implementation of FromBase64Steven Fackler-16/+16
Previously, FromBase64 was only implemented on ~[u8] and ~str when any pointer would do. The implementations of FromBase64 are now consistent with the implementations of ToBase64.
2013-05-28auto merge of #6775 : yjh0502/rust/issue_6696, r=catamorphismbors-2/+16
2013-05-28Silence various warnings throughout test modulesAlex Crichton-23/+15
2013-05-28auto merge of #6771 : thestinger/rust/highlight, r=luqmanabors-19/+25
This works with pandoc linked against highlighting-kate >= 0.5.3.8. It seems to just be a no-op with earlier versions, because I successfully ran this through `try`. This also fixes some consistency issues (like making `Example`/`Examples` always a header and always using three tildes).
2013-05-28auto merge of #6769 : catamorphism/rust/issue-4994, r=thestingerbors-0/+51
r? @thestinger As called for in #4994