about summary refs log tree commit diff
path: root/src/libextra
AgeCommit message (Collapse)AuthorLines
2013-09-27auto merge of #9550 : alexcrichton/rust/remove-printf, r=thestingerbors-11/+11
The 0.8 release was cut, down with printf!
2013-09-26auto merge of #9523 : huonw/rust/kud1ing-docs, r=huonwbors-69/+69
Collation of @kud1ing's work in #9511, #9512, #9513 and #9518.
2013-09-26Update version numbers to 0.9-preBrian Anderson-1/+1
2013-09-26Update the compiler to not use printf/printflnAlex Crichton-11/+11
2013-09-26auto merge of #9520 : blake2-ppc/rust/ringbuf-swap, r=thestingerbors-0/+21
extra::ringbuf: Implement method `.swap(uint, uint)` just like vector RingBuf::swap(&mut self, i, j) swaps the element at indices `i` and `j` if both elements are in bounds, otherwise it fails.
2013-09-26auto merge of #9506 : sfackler/rust/visibility, r=alexcrichtonbors-2/+2
2013-09-26auto merge of #9503 : dcrewi/rust/fix-digest-visibility, r=alexcrichtonbors-7/+13
I really have no idea why the tests didn't fail. Maybe it's another cross-crate issue?
2013-09-26bitv: backticks for code in documentationkud1ing-24/+24
2013-09-26bigint: backticks for code in documentationkud1ing-35/+35
2013-09-26base64: backticks for code in documentationkud1ing-5/+5
2013-09-26Enclose code in documentation in backtickskud1ing-5/+5
2013-09-26auto merge of #9500 : fhahn/rust/rename-str_from_bytes-fix, r=alexcrichtonbors-4/+4
As @Dretch pointed out [here](https://github.com/fhahn/rust/commit/de39874801761197bf10bf8d04bde1aa2bd82e15#L2L526) , from_bytes was accidentally renamed to from_utf8.
2013-09-26extra::ringbuf: Implement method `.swap(uint, uint)` just like vectorblake2-ppc-0/+21
RingBuf::swap(&mut self, i, j) swaps the element at indices `i` and `j` if both elements are in bounds, otherwise it fails.
2013-09-25Some struct visibility fixesSteven Fackler-2/+2
2013-09-25Fix visibility of digest implementationsDavid Creswick-7/+13
2013-09-25auto merge of #9475 : alexcrichton/rust/rustdoc++, r=cmrbors-32/+31
The commit messages are a good technical summary, a good visual summary (contrib is this version): Pub use statements now rendered. Notice how almost all components are also clickable! * http://static.rust-lang.org/doc/master/std/prelude/index.html * http://www.contrib.andrew.cmu.edu/~acrichto/doc/std/prelude/index.html Private things hidden by default (for at least some approximation of privacy). I hope to improve this once privacy is totally ironed out. * http://static.rust-lang.org/doc/master/std/hashmap/struct.HashMap.html * http://www.contrib.andrew.cmu.edu/~acrichto/doc/std/hashmap/struct.HashMap.html Unindentation now works properly: * http://static.rust-lang.org/doc/master/extra/getopts/index.html * http://www.contrib.andrew.cmu.edu/~acrichto/doc/extra/getopts/index.html Also sundown has massively reduced compilation time (of docs, not the of the crates)
2013-09-25rustdoc: Strip hidden docs by default.Alex Crichton-2/+1
2013-09-25rustdoc: Improve comment strippingAlex Crichton-2/+2
There is less implicit removal of various comment styles, and it also removes extraneous stars occasionally found in docblock comments. It turns out that the bug for getops was just a differently formatted block. Closes #9425 Closes #9417
2013-09-25rustdoc: Change all code-blocks with a scriptAlex Crichton-28/+28
find src -name '*.rs' | xargs sed -i '' 's/~~~.*{\.rust}/```rust/g' find src -name '*.rs' | xargs sed -i '' 's/ ~~~$/ ```/g' find src -name '*.rs' | xargs sed -i '' 's/^~~~$/ ```/g'
2013-09-25auto merge of #9345 : Dretch/rust/digest-result-bytes, r=cmrbors-14/+16
I would find this function useful.
2013-09-25Rename from_utf8 to from_bytes againFlorian Hahn-4/+4
2013-09-25auto merge of #9432 : alexcrichton/rust/correct-item-visibility, r=pcwaltonbors-8/+8
This fixes private statics and functions from being usable cross-crates, along with some bad privacy error messages. This is a reopening of #8365 with all the privacy checks in privacy.rs instead of resolve.rs (where they should be anyway). These maps of exported items will hopefully get used for generating documentation by rustdoc Closes #8592
2013-09-24Don't use libc::exit. #9473Brian Anderson-12/+11
This can cause unexpected errors in the runtime when done while scheduler threads are still initializing. Required some restructuring of the main_args functions in our libraries.
2013-09-24Correctly encode item visibility in metadataAlex Crichton-8/+8
This fixes private statics and functions from being usable cross-crates, along with some bad privacy error messages. This is a reopening of #8365 with all the privacy checks in privacy.rs instead of resolve.rs (where they should be anyway). These maps of exported items will hopefully get used for generating documentation by rustdoc Closes #8592
2013-09-23librustc: Fix merge fallout.Patrick Walton-10/+23
2013-09-23test: Fix rustdoc and tests.Patrick Walton-1/+4
2013-09-23librustc: Remove `@fn` managed closures from the language.Patrick Walton-30/+24
2013-09-23libsyntax: Introduce routines and remove all `@fn`s from libsyntax save the ↵Patrick Walton-19/+31
old visitor
2013-09-22Add docs for extra::semverScott Lawrence-4/+30
2013-09-23std: merge rand::{Rng,RngUtil} with default methods.Huon Wilson-25/+24
Also, documentation & general clean-up: - remove `gen_char_from`: better served by `sample` or `choose`. - `gen_bytes` generalised to `gen_vec`. - `gen_int_range`/`gen_uint_range` merged into `gen_integer_range` and made to be properly uniformly distributed. Fixes #8644. Minor adjustments to other functions.
2013-09-21Update version numbers to 0.8Brian Anderson-1/+1
2013-09-21auto merge of #9380 : thestinger/rust/par, r=alexcrichtonbors-143/+0
This was a dead end experiment, and not a sensible way of implementing generic data parallelism. This also removes the `graph500-bfs.rs` benchmark because it relies on `extra::par`. Closes #5626
2013-09-21auto merge of #9360 : huonw/rust/4449, r=pnkfelixbors-6/+2
Fixes #4449. (Ran it through try-bsd: http://buildbot.rust-lang.org/builders/try-bsd/builds/451)
2013-09-20Implement a web backend for rustdoc_ngAlex Crichton-0/+4
This large commit implements and `html` output option for rustdoc_ng. The executable has been altered to be invoked as "rustdoc_ng html <crate>" and it will dump everything into the local "doc" directory. JSON can still be generated by changing 'html' to 'json'. This also fixes a number of bugs in rustdoc_ng relating to comment stripping, along with some other various issues that I found along the way. The `make doc` command has been altered to generate the new documentation into the `doc/ng/$(CRATE)` directories.
2013-09-21drop `extra::par`Daniel Micay-143/+0
This was a dead end experiment, and not a sensible way of implementing generic data parallelism. This also removes the `graph500-bfs.rs` benchmark because it relies on `extra::par`. Closes #5626
2013-09-20Uncomment a test. Fixes #4449.Huon Wilson-6/+2
2013-09-20auto merge of #9320 : ↵bors-5/+5
chris-morgan/rust/unreachable-macro-part-two-of-two-containing-the-destruction-of-the-unreachable-function, r=alexcrichton This is the second of two parts of #8991, now possible as a new snapshot has been made. (The first part implemented the unreachable!() macro; it was #8992, 6b7b8f2682.) ``std::util::unreachable()`` is removed summarily; any code which used it should now use the ``unreachable!()`` macro. Closes #9312. Closes #8991.
2013-09-20Add a new Digest.result_bytes convenience function.Gareth Smith-14/+16
2013-09-19Clean up unused importsSteven Fackler-6/+1
2013-09-19Add Future::spawn_withSteven Fackler-0/+23
2013-09-19Modernize extra::future APISteven Fackler-72/+64
2013-09-19Removed future's destructorSteven Fackler-9/+0
It was only there to prevent Future from being copyable, but it's noncopyable anyways since it contains a ~fn.
2013-09-19auto merge of #9267 : Kimundi/rust/master, r=huonwbors-506/+533
2013-09-19Turned extra::getopts functions into methodsMarvin Löbel-506/+533
Some minor api and doc adjustments
2013-09-19auto merge of #9291 : jzelinskie/rust/remove-cond, r=alexcrichtonbors-2/+2
This is my first contribution, so please point out anything that I may have missed. I consulted IRC and settled on `match () { ... }` for most of the replacements.
2013-09-19Replace unreachable() calls with unreachable!().Chris Morgan-5/+5
This is the second of two parts of #8991, now possible as a new snapshot has been made. (The first part implemented the unreachable!() macro; it was #8992, 6b7b8f2682.) ``std::util::unreachable()`` is removed summarily; any code which used it should now use the ``unreachable!()`` macro. Closes #9312. Closes #8991.
2013-09-18Register new snapshotsAlex Crichton-59/+1
2013-09-18Remove and replace cond! Closes #9282.Jimmy Zelinskie-2/+2
2013-09-17auto merge of #9133 : dcrewi/rust/bigint-random-range, r=huonwbors-2/+140
2013-09-17Generate random big integers within a rangeDavid Creswick-2/+140
Thanks to @huonw for feedback