| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2014-01-07 | stdtest: Fix all leaked trait imports | Alex Crichton | -5/+2 | |
| 2014-01-07 | std: Fill in all missing imports | Alex Crichton | -4/+8 | |
| Fallout from the previous commits | ||||
| 2014-01-07 | auto merge of #11329 : fhahn/rust/unused-cast-lint2, r=alexcrichton | bors | -2/+2 | |
| Updates as mentioned in #11135 | ||||
| 2014-01-06 | auto merge of #10826 : SimonSapin/rust/str-insert, r=brson | bors | -0/+42 | |
| I could not run the tests because of unrelated building issue, sorry about that. | ||||
| 2014-01-06 | Remove some unnecessary type casts | Florian Hahn | -2/+2 | |
| Conflicts: src/librustc/middle/lint.rs | ||||
| 2014-01-04 | Don't allow newtype structs to be dereferenced. #6246 | Brian Anderson | -2/+6 | |
| 2013-12-31 | Add .insert() and .insert_char() methods to ~str. | Simon Sapin | -0/+42 | |
| 2013-12-31 | Fix tests | Alan Andrade | -5/+9 | |
| 2013-12-27 | std: uniform modules titles for doc | Luca Bruno | -1/+1 | |
| This commit uniforms the short title of modules provided by libstd, in order to make their roles more explicit when glancing at the index. Signed-off-by: Luca Bruno <lucab@debian.org> | ||||
| 2013-12-23 | std: Fix all code examples | Alex Crichton | -6/+8 | |
| 2013-12-20 | std: silence warnings when compiling test. | Huon Wilson | -1/+0 | |
| 2013-12-19 | auto merge of #11065 : huonw/rust/slice-chars-example, r=cmr | bors | -1/+1 | |
| 2013-12-19 | std::str: fix .slice_chars example. Fixes #11014. | Huon Wilson | -1/+1 | |
| 2013-12-19 | std::str: remove .as_mut_buf & rewrite/simplify `.push_char`. | Huon Wilson | -23/+6 | |
| `.as_mut_buf` was used exactly once, in `.push_char` which could be written in a simpler way, using the `&mut ~[u8]` that it already retrieved. In the rare situation when someone really needs `.as_mut_buf`-like functionality (getting a `*mut u8`), they can go via `str::raw::as_owned_vec`. | ||||
| 2013-12-19 | std::str: replace .as_imm_buf with .as_ptr. | Huon Wilson | -85/+55 | |
| 2013-12-19 | std::vec: remove .as_muf_buf, replaced by .as_mut_ptr & .len. | Huon Wilson | -3/+4 | |
| 2013-12-19 | std::vec: remove .as_imm_buf, replaced by .as_ptr & .len. | Huon Wilson | -1/+1 | |
| There's no need for the restrictions of a closure with the above methods. | ||||
| 2013-12-15 | auto merge of #10984 : huonw/rust/clean-raw, r=cmr | bors | -20/+22 | |
| See commits for details. | ||||
| 2013-12-15 | std::vec: convert to(_mut)_ptr to as_... methods on &[] and &mut []. | Huon Wilson | -2/+2 | |
| 2013-12-15 | Move std::{str,vec}::raw::set_len to an unsafe method on Owned{Vector,Str}. | Huon Wilson | -18/+20 | |
| 2013-12-15 | std: fix spelling in docs. | Huon Wilson | -6/+6 | |
| 2013-12-11 | Make 'self lifetime illegal. | Erik Price | -130/+130 | |
| Also remove all instances of 'self within the codebase. This fixes #10889. | ||||
| 2013-12-07 | std::str: Add examples to the StrSlice trait. | Huon Wilson | -42/+321 | |
| Fixes #10819. | ||||
| 2013-12-04 | std::str: s/from_utf8_slice/from_utf8/, to make the basic case shorter. | Huon Wilson | -15/+15 | |
| 2013-12-04 | std::str: remove from_utf8. | Huon Wilson | -107/+7 | |
| This function had type &[u8] -> ~str, i.e. it allocates a string internally, even though the non-allocating version that take &[u8] -> &str and ~[u8] -> ~str are all that is necessary in most circumstances. | ||||
| 2013-11-26 | test: Remove non-procedure uses of `do` from compiletest, libstd tests, | Patrick Walton | -3/+9 | |
| compile-fail tests, run-fail tests, and run-pass tests. | ||||
| 2013-11-26 | libstd: Remove all non-`proc` uses of `do` from libstd | Patrick Walton | -106/+62 | |
| 2013-11-26 | librustc: Remove remaining uses of `&fn()` in favor of `||`. | Patrick Walton | -1/+1 | |
| 2013-11-26 | Removed unneccessary `_iter` suffixes from various APIs | Marvin Löbel | -169/+169 | |
| 2013-11-19 | libstd: Change all uses of `&fn(A)->B` over to `|A|->B` in libstd | Patrick Walton | -5/+5 | |
| 2013-11-04 | docs: Replace std::iterator with std::iter. | Huon Wilson | -7/+7 | |
| 2013-10-24 | Remove IoFactoryObject for ~IoFactory | Alex Crichton | -1/+0 | |
| This involved changing a fair amount of code, rooted in how we access the local IoFactory instance. I added a helper method to the rtio module to access the optional local IoFactory. This is different than before in which it was assumed that a local IoFactory was *always* present. Now, a separate io_error is raised when an IoFactory is not present, yet I/O is requested. | ||||
| 2013-10-24 | Remove rt::io::support | Alex Crichton | -48/+0 | |
| This removes the PathLike trait associated with this "support module". This is yet another "container of bytes" trait, so I didn't want to duplicate what already exists throughout libstd. In actuality, we're going to pass of C strings to the libuv APIs, so instead the arguments are now bound with the 'ToCStr' trait instead. Additionally, a layer of complexity was removed by immediately converting these type-generic parameters into CStrings to get handed off to libuv apis. | ||||
| 2013-10-23 | Removed the unnecesary comments | reedlepee | -1/+0 | |
| 2013-10-23 | Removed Unnecessary comments and white spaces #4386 | reedlepee | -7/+0 | |
| 2013-10-23 | Making fields in std and extra : private #4386 | reedlepee | -2/+8 | |
| 2013-10-23 | Don't Make str field private | reedlepee | -0/+1 | |
| 2013-10-22 | Drop the '2' suffix from logging macros | Alex Crichton | -6/+6 | |
| Who doesn't like a massive renaming? | ||||
| 2013-10-17 | Fix starts_with() and ends_with(). | Jack Moffitt | -2/+6 | |
| d4a32386f3b6 broke these since slice_to() and slice_from() must get character boundaries, and arbitrary needle lengths don't necessarily map to character boundaries of the haystack. This also adds new tests that would have caught this bug. | ||||
| 2013-10-16 | Rewrite str.starts_with()/ends_with() to be simpler | Kevin Ballard | -19/+6 | |
| 2013-10-15 | Require module documentation with missing_doc | Alex Crichton | -0/+1 | |
| Closes #9824 | ||||
| 2013-10-09 | option: rewrite the API to use composition | Daniel Micay | -3/+3 | |
| 2013-10-04 | auto merge of #9727 : Valloric/rust/doc-fixes, r=catamorphism | bors | -1/+1 | |
| 2013-10-04 | Fixed another minor typo in std::str docs | Strahinja Val Markovic | -1/+1 | |
| 2013-10-04 | Fix minor typo in std::str module docs | Strahinja Val Markovic | -1/+1 | |
| 2013-10-02 | Add an implementation of FromStr for ~str and @str | Florian Gilcher | -1/+21 | |
| This fixes an issue for APIs that return FromStr. Before this change, they would have to offer a seperate function for returning the source string. | ||||
| 2013-09-30 | std: Remove usage of fmt! | Alex Crichton | -14/+14 | |
| 2013-09-27 | auto merge of #9550 : alexcrichton/rust/remove-printf, r=thestinger | bors | -1/+1 | |
| The 0.8 release was cut, down with printf! | ||||
| 2013-09-26 | std: removed some warnings in tests. | Erick Tryzelaar | -1/+1 | |
| 2013-09-26 | Update the compiler to not use printf/printfln | Alex Crichton | -1/+1 | |
