| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2015-02-24 | Auto merge of #22749 - kballard:process-stdio-constructors, r=alexcrichton | bors | -2/+2 | |
| There are no tests for this because testing inherit/null is tricky. Probably why there weren't tests for it to begin with. | ||||
| 2015-02-24 | Fix integers in tests (fixup #22700) | Manish Goregaokar | -4/+4 | |
| 2015-02-24 | Rollup merge of #22594 - alexcrichton:issue-22577, r=aturon | Manish Goregaokar | -25/+47 | |
| The windows/unix modules were currently inconsistent about the traits being implemented for `DirEntry` and there isn't much particular reason why the traits *couldn't* be implemented for `ReadDir` and `DirEntry`, so this commit ensures that they are implemented. Closes #22577 | ||||
| 2015-02-24 | Rollup merge of #22428 - erickt:io-wrappers, r=aturon | Manish Goregaokar | -1/+36 | |
| Also includes some minor optimizations to the Vec and slice writers to remove the unnecessary loop. | ||||
| 2015-02-24 | Rollup merge of #22730 - ipetkov:lint-docs, r=alexcrichton | Manish Goregaokar | -0/+2 | |
| This is a breaking change if missing docs are forbidden in any module or crate. I had to add documentation to undocumented associated types in libstd and libcore, please let me know if the documentation is inadequate anywhere! Fixes #20648 | ||||
| 2015-02-24 | Rollup merge of #22728 - vojtechkral:int-audit-thread-local, r=alexcrichton | Manish Goregaokar | -15/+15 | |
| Integer audit in `libstd/thread_local/*`, part of #22240 | ||||
| 2015-02-24 | Rollup merge of #22700 - nick29581:ints_hash, r=alexcrichton | Manish Goregaokar | -177/+177 | |
| fmt and hash are pretty straightforward I think. sync is a bit more complex. I thought one or two of the `isize`s ought to be `i32`s, but that would require a bunch of casting (the root cause being the lack of atomics other than isize/usize). r? @alexcrichton | ||||
| 2015-02-24 | Rollup merge of #22687 - tshepang:prelude-nits, r=alexcrichton | Manish Goregaokar | -4/+1 | |
| 2015-02-24 | Rollup merge of #22604 - aochagavia:docs, r=alexcrichton | Manish Goregaokar | -5/+8 | |
| 2015-02-23 | Fix the std::process::Stdio constructors | Kevin Ballard | -2/+2 | |
| There are no tests for this because testing inherit/null is tricky. Probably why there weren't tests for it to begin with. | ||||
| 2015-02-24 | std::prelude: code consistency nits | Tshepang Lekhonkhobe | -4/+1 | |
| 2015-02-23 | Test fixes and rebase conflicts | Alex Crichton | -3/+2 | |
| 2015-02-23 | Fix windows failure (fixup #22538) | Manish Goregaokar | -2/+2 | |
| 2015-02-23 | Rollup merge of #22320 - petrochenkov:eq, r=alexcrichton | Manish Goregaokar | -1/+1 | |
| 2015-02-23 | Rollup merge of #22640 - sfackler:fix-take, r=alexcrichton | Manish Goregaokar | -0/+35 | |
| We can't call into the inner reader for a 0-byte read because that may end up blocking or returning an error. r? @alexcrichton | ||||
| 2015-02-23 | Add documentation to associated types in libcore, libstd | Ivan Petkov | -0/+2 | |
| 2015-02-23 | Rollup merge of #22696 - stepancheg:use-box, r=alexcrichton | Manish Goregaokar | -31/+42 | |
| e. g. ``` let b: Box<Foo> = Box::from_raw(p); ``` instead of ``` let b: Box<Foo> = mem::transmute(p); ``` Patch also changes closure release code in `src/libstd/sys/unix/thread.rs` when `pthread_create` failed. Raw pointer was transmuted to box of `FnOnce()` instead of `Thunk`. This code was probably never executed, because `pthread_create` rarely fails. (And there are two more patches in PR: fix typo in doc and mark `from_raw` and `into_raw` functions inline.) | ||||
| 2015-02-23 | Rollup merge of #22670 - shepmaster:c_str_typos, r=Manishearth | Manish Goregaokar | -2/+2 | |
| 2015-02-23 | Rollup merge of #22658 - glacjay:issue-22535, r=Gankro | Manish Goregaokar | -62/+66 | |
| fix issue #22535 | ||||
| 2015-02-23 | Rollup merge of #22643 - fhartwig:bitvec-doc-fix, r=alexcrichton | Manish Goregaokar | -4/+4 | |
| It looks like a few spots in the documentation were missed when renaming `Bitv` and `BitvSet`. This fixes the docs to use their current names. | ||||
| 2015-02-23 | Rollup merge of #22559 - kmcallister:borrowck-readme, r=nikomatsakis | Manish Goregaokar | -1/+1 | |
| And minor fixes to other docs. r? @nikomatsakis | ||||
| 2015-02-23 | Integer audit in `libstd/thread_local/*`, part of #22240 | Vojtech Kral | -15/+15 | |
| 2015-02-23 | int audit - std::sync | Nick Cameron | -177/+177 | |
| 2015-02-23 | Auto merge of #21769 - brooksbp:column-line-macro, r=nick29581 | bors | -2/+2 | |
| Please see discussion in #19284 . | ||||
| 2015-02-23 | Use boxed functions instead of transmute | Stepan Koltsov | -31/+42 | |
| ... to convert between Box and raw pointers. E. g. use ``` let b: Box<Foo> = Box::from_raw(p); ``` instead of ``` let b: Box<Foo> = mem::transmute(p); ``` Patch also changes closure release code in `src/libstd/sys/unix/thread.rs` when `pthread_create` failed. Raw pointer was transmuted to box of `FnOnce()` instead of `Thunk`. This code was probably never executed, because `pthread_create` rarely fails in practice. | ||||
| 2015-02-22 | Auto merge of #22466 - Kimundi:str_pattern_ai_safe, r=aturon | bors | -1/+1 | |
| This is not a complete implementation of the RFC: - only existing methods got updated, no new ones added - doc comments are not extensive enough yet - optimizations got lost and need to be reimplemented See https://github.com/rust-lang/rfcs/pull/528 Technically a [breaking-change] | ||||
| 2015-02-22 | Fix typos in CStr docs | Jake Goulding | -2/+2 | |
| 2015-02-22 | Auto merge of #22574 - huonw:remove-lame-statics, r=alexcirchton | bors | -45/+45 | |
| Add a basic test that checks that the types catch the most glaring errors that could occur. cc #22444 | ||||
| 2015-02-22 | shift int/uint tests around to avoid code repetition | GlacJAY | -62/+66 | |
| 2015-02-21 | Implement BufRead for Take | Steven Fackler | -0/+15 | |
| 2015-02-22 | Rollup merge of #22584 - alexcrichton:snapshots, r=Gankro | Manish Goregaokar | -4173/+1 | |
| 2015-02-22 | Rollup merge of #22568 - semarie:openbsd-rfc592, r=huonw | Manish Goregaokar | -1/+1 | |
| The commit 1860ee52 has break the openbsd build. Repair it. | ||||
| 2015-02-22 | Rollup merge of #22583 - vhbit:ios-cstr, r=alexcrichton | Manish Goregaokar | -2/+2 | |
| "body": null, | ||||
| 2015-02-22 | Rollup merge of #22567 - Gankro:unstable, r=alexcrichton | Manish Goregaokar | -180/+129 | |
| * Adds features and allows * Removes unused muts, unused imports, dead code * Migrates some deprecated code to new io/env * Changes std::num::uint/int to be re-exports of std::num::usize/isize libcollections, liballoc, and libcoretest no longer warn during testing. libstd warns much less, though there's some dangly bits that weren't obvious fixes. In particular, how to only supress deprecated warnings in specific submodules of std. | ||||
| 2015-02-22 | Rollup merge of #22634 - shepmaster:std-io-typo, r=Manishearth | Manish Goregaokar | -1/+1 | |
| 2015-02-22 | Rollup merge of #22545 - Ryman:fucntion, r=dotdash | Manish Goregaokar | -14/+14 | |
| 2015-02-21 | Remove last traces of BitV and BitVSet from documentation | Florian Hartwig | -4/+4 | |
| 2015-02-21 | Fix io::Take behavior with limit 0 | Steven Fackler | -0/+20 | |
| We can't call into the inner reader for a 0-byte read because that may end up blocking or returning an error. | ||||
| 2015-02-21 | Fix typo in std::io unstable reason | Jake Goulding | -1/+1 | |
| 2015-02-21 | Resolve includeme.fragment conflict. | Brian Brooks | -2/+2 | |
| 2015-02-21 | Fix thread documentation | Adolfo OchagavĂa | -5/+8 | |
| 2015-02-21 | Auto merge of #21959 - dhuseby:bitrig-support, r=brson | bors | -24/+227 | |
| This patch adds the necessary pieces to support rust on Bitrig https://bitrig.org | ||||
| 2015-02-20 | Register new snapshots | Alex Crichton | -4173/+1 | |
| 2015-02-21 | Remove `'static` bound from sync::mpsc, Mutex and RwLock. | Huon Wilson | -45/+45 | |
| Adds some basic tests to check that the types still catch the most glaring errors that could occur. cc #22444. | ||||
| 2015-02-20 | make int/uint modules just re-exports | Alexis | -151/+107 | |
| 2015-02-20 | try to reduce bajillion warnings | Alexis | -29/+22 | |
| 2015-02-20 | std: Ensure fs::{DirEntry, ReadDir} are Send/Sync | Alex Crichton | -25/+47 | |
| The windows/unix modules were currently inconsistent about the traits being implemented for `DirEntry` and there isn't much particular reason why the traits *couldn't* be implemented for `ReadDir` and `DirEntry`, so this commit ensures that they are implemented. Closes #22577 | ||||
| 2015-02-20 | Tweaks to equality comparisons for slices/arrays/vectors | Vadim Petrochenkov | -1/+1 | |
| 2015-02-20 | iOS: CStr fallout | Valerii Hiora | -2/+2 | |
| 2015-02-20 | unbreak openbsd build after 1860ee52 | Sébastien Marie | -1/+1 | |
| The commit 1860ee52 has break the openbsd build. Repair it. | ||||
