summary refs log tree commit diff
path: root/src/libstd
AgeCommit message (Collapse)AuthorLines
2013-09-25rustdoc: Strip hidden docs by default.Alex Crichton-2/+1
2013-09-25rustdoc: Change all code-blocks with a scriptAlex Crichton-299/+299
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 #9498 : catamorphism/rust/rust-path-hack-fix, r=cmr,metajackbors-0/+54
r? @metajack
2013-09-25auto merge of #9493 : huonw/rust/move-tuples, r=thestingerbors-102/+104
The old behaviour of `foo.n0()` is replaced by `foo.n0_ref().clone()`.
2013-09-25rustpkg: Search for packages correctly when using the rust_path_hackTim Chevalier-22/+31
Previously, any package would match any other package ID when searching using the rust_path_hack, so long as the directory had one or more crate files in it. Now, rustpkg checks that the parent directory matches the package ID. Closes #9273
2013-09-25std: Add an is_parent_of method to PathTim Chevalier-0/+45
2013-09-25auto merge of #9455 : jesseray/rust/master, r=pnkfelixbors-0/+24
In "/src/libstd/char.rs", there are function and method definitions for `is_lowercase()`, `is_uppercase()`, `is_whitespace()`, etc. However, there was no function or method for control characters, so I added the `is_control()` function and method definitions along with documentation and tests. Running `./configure && make check` shows that all tests for `is_control()` pass.
2013-09-25std: Replace CloneableTuple with Tuple, which takes self by-val.Huon Wilson-102/+104
The old behaviour of `foo.n0()` is replaced by `foo.n0_ref().clone()`.
2013-09-24auto merge of #9470 : luqmana/rust/bba, r=brsonbors-17/+14
#8431 ~~@brson: do we need to bump up the cratemap version for this change?~~ Tis a no.
2013-09-24Remove the annihilate function from the crate map. Fixes #8431Luqman Aden-17/+14
2013-09-24auto merge of #9336 : alexcrichton/rust/issue-7981, r=catamorphismbors-2/+2
Progress on #7981 This doesn't completely close the issue because `struct A;` is still allowed, and it's a much larger change to disallow that. I'm also not entirely sure that we want to disallow that. Regardless, punting that discussion to the issue instead.
2013-09-24Stop accepting 'impl ...;', require {} insteadAlex Crichton-2/+2
Progress on #7981
2013-09-24Do not imply that str is sometimes null-terminated.Simon Sapin-2/+2
2013-09-24auto merge of #9457 : klutzy/rust/doc-fix, r=alexcrichtonbors-2/+2
2013-09-23auto merge of #9449 : dckc/rust/patch-1, r=alexcrichtonbors-1/+1
2013-09-24std::local_data: Fix document codeklutzy-2/+2
2013-09-23auto merge of #9454 : alexcrichton/rust/snapshot, r=thestingerbors-65/+4
2013-09-23Register new snapshotsAlex Crichton-65/+4
2013-09-23remove apostrophe where it's is not used as a contractionDan Connolly-1/+1
2013-09-23test: Fix rustdoc and tests.Patrick Walton-11/+0
2013-09-23librustc: Remove `@fn` managed closures from the language.Patrick Walton-12/+29
2013-09-23libsyntax: Introduce routines and remove all `@fn`s from libsyntax save the ↵Patrick Walton-9/+43
old visitor
2013-09-23auto merge of #9301 : luqmana/rust/ncm, r=brsonbors-4/+103
Get rid of the crate_map arg! r? @brson
2013-09-23Find the cratemap at runtime on windows.Luqman Aden-4/+23
2013-09-23Added is_control function, method, and tests.Jesse Ray-0/+24
2013-09-22disable starvation test completely for nowDaniel Micay-13/+10
this is still broken on the bsd builder, perhaps because it has 1 core
2013-09-22disable scheduler starvation test on valgrindDaniel Micay-9/+13
2013-09-23Remove the C(++) ISAAC Rng from the old rt.Huon Wilson-43/+2
This has to leave rust_gen_seed and rng_gen_seed around since they're used to initialise the std::rand RNGs.
2013-09-23std: merge rand::{Rng,RngUtil} with default methods.Huon Wilson-357/+280
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-22std: move rand.rs to rand/mod.rs.Huon Wilson-1/+0
2013-09-22auto merge of #9395 : brson/rust/0.8, r=alexcrichtonbors-2/+2
2013-09-21auto merge of #9353 : brson/rust/sched, r=alexcrichton,cmrbors-10/+27
This guarantees that if there is work to do it will be found
2013-09-21Update version numbers to 0.8Brian Anderson-2/+2
2013-09-21std: add file::io::test module and ensure correct buildJeff Olson-243/+251
2013-09-21std: cleanup file::io rustdoc_ng outputJeff Olson-67/+49
2013-09-21auto merge of #9381 : luisbg/rust/master, r=cmrbors-0/+6
Closes #9379
2013-09-21auto merge of #9369 : sebcrozet/rust/f64_inline, r=thestingerbors-0/+1
This was, somehow, missed by #8332.
2013-09-21auto merge of #9368 : StrLght/rust/master, r=thestingerbors-1/+1
2013-09-21auto merge of #9354 : thestinger/rust/cleanup, r=alexcrichtonbors-19/+0
I don't see the point of this function, and there are no users.
2013-09-20Implement a web backend for rustdoc_ngAlex Crichton-1/+9
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-21Document a few undocumented methos in VectorLuis de Bethencourt-0/+6
Closes #9379
2013-09-21std: add missing #[inline] annotation to the f64 neg method.Sébastien Crozet-0/+1
This was, somehow, missed by #8332.
2013-09-21Fix example in std::OptionGrigoriy-1/+1
2013-09-20auto merge of #9276 : alexcrichton/rust/dox, r=brsonbors-51/+336
Hopefull this will make our libstd docs appear a little more "full".
2013-09-20auto merge of #9321 : chris-morgan/rust/lowercase-nan-methods, r=brsonbors-115/+115
This is for consistency in naming conventions. - ``std::num::Float::NaN()`` is changed to ``nan()``; - ``std::num::Float.is_NaN()`` is changed to ``is_nan()``; and - ``std::num::strconv::NumStrConv::NaN()`` is changed to ``nan()``. Fixes #9319.
2013-09-20auto merge of #9320 : ↵bors-34/+4
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-20util: remove unused `with` functionDaniel Micay-19/+0
2013-09-19std::rt: Try stealing from all schedulersBrian Anderson-10/+27
This guarantees that if there is work to do it will be found
2013-09-19Fix unresolved symbol error for the crate_map in libstd on os x.Luqman Aden-0/+7
2013-09-19Ignore io::process testsAlex Crichton-0/+6
They're causing syscalls to get interrupted, and std::io doesn't correctly handle EINTR