| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-04-18 | Add str/& component accessor and test. | Graydon Hoare | -0/+27 | |
| 2012-04-14 | core: Use tilde-fences in docs | Brian Anderson | -2/+2 | |
| Backtick fences don't work for some reason | ||||
| 2012-04-12 | Remove or annotate FIXMEs in core::str | Tim Chevalier | -16/+12 | |
| Trimmed exports in core::str::unsafe. Annotated other FIXMEs. Also moved the test for str::unsafe::from_buf_len inside str_unsafe since it's no longer exported. If it's not good to do that, let me know. | ||||
| 2012-04-09 | core: Make str::as_bytes handle failure. Closes #2156 | Brian Anderson | -4/+10 | |
| 2012-04-05 | Merge pull request #2139 from Jonanin/add_str_len | Brian Anderson | -0/+3 | |
| Add len to str extensions | ||||
| 2012-04-06 | Add len to str extensions | Jon Morton | -0/+3 | |
| 2012-04-05 | simplify typing rule for vector addition: use mutability of LHS | Niko Matsakis | -1/+1 | |
| 2012-03-29 | core: Add each, each_char to str::extensions | Brian Anderson | -0/+6 | |
| 2012-03-29 | core: Add str::each_char | Brian Anderson | -0/+26 | |
| 2012-03-29 | core: Add extension methods for str | Brian Anderson | -1/+84 | |
| 2012-03-29 | core: Don't use upcall_vec_grow from str::push_char | Brian Anderson | -62/+63 | |
| 2012-03-29 | Rewrite str::push_char in rust. | Grahame Bowland | -28/+67 | |
| Avoid crossing to C to reallocate underlying array when possible, if we must we now only cross once per char (not once per byte.) | ||||
| 2012-03-29 | core: Don't call into the runtime to reserve if we have capacity | Brian Anderson | -1/+3 | |
| 2012-03-29 | core: Add str::capacity | Brian Anderson | -0/+13 | |
| 2012-03-29 | core: Add str::reserve_at_least | Brian Anderson | -0/+25 | |
| 2012-03-29 | core: Improve docs for str::reserve | Brian Anderson | -3/+18 | |
| 2012-03-27 | Move some code over to iterator-for to see how it performs. | Marijn Haverbeke | -8/+20 | |
| 2012-03-23 | Remove char::to_lower, char::to_upper, use libc versions instead | Tim Chevalier | -11/+14 | |
| As per Graydon's comments on #1985: remove char::to_lower and char::to_upper. The str versions of these functions now call libc::tolower and libc::toupper (using wrappers that cast between char and c_char). Not sure how much better that is, but it at least makes it clearer that these functions are Unicode-unsafe. | ||||
| 2012-03-22 | make --enforce-mut-vars always on, add mut annotations to remaining files | Niko Matsakis | -21/+21 | |
| 2012-03-20 | core: Rename unsafe::leak to unsafe::forget. Closes #2031 | Brian Anderson | -6/+6 | |
| 2012-03-19 | core: Move unsafe conversions to str::unsafe | Brian Anderson | -41/+43 | |
| 2012-03-19 | core: Make converting from a C string unsafe | Brian Anderson | -4/+4 | |
| 2012-03-16 | rustc: Unify impl self types in the opposite order so variance is correct | Brian Anderson | -3/+3 | |
| 2012-03-16 | core: Resolve and remove some FIXMEs | Brian Anderson | -2/+0 | |
| 2012-03-16 | core: Remove str::init_elt | Brian Anderson | -11/+0 | |
| This was added based on my FIXME, but I no longer believe it has a place in core::str, partly because it doesn't follow current naming conventions, and partly because it can be immitated with a one liner using str::from_chars and vec::from_elem. I have replaced the existing uses with said one-liner. | ||||
| 2012-03-16 | core: Add lots of string docs | Brian Anderson | -32/+247 | |
| 2012-03-16 | core: Remove extra backslashes from docs | Brian Anderson | -3/+3 | |
| 2012-03-16 | core: Doc cleanup | Brian Anderson | -4/+4 | |
| 2012-03-16 | core: Escape some characters in comments | Brian Anderson | -4/+4 | |
| 2012-03-15 | core: Docs | Brian Anderson | -1/+24 | |
| 2012-03-15 | Address FIXMEs in extfmt / add issue numbers | Tim Chevalier | -0/+11 | |
| 2012-03-15 | core: Optimize str::unsafe::slice_bytes. Closes #1995 | Brian Anderson | -1/+10 | |
| 2012-03-15 | core: Optimize str::bytes | Brian Anderson | -1/+5 | |
| This compiles down to a memmove. Takes about 1/4 of the time of the old version. | ||||
| 2012-03-15 | Don't pass Unicode to char::is_upper | Tim Chevalier | -4/+3 | |
| 2012-03-14 | core: Add str::from_c_str, from_c_str_len, as_c_str | Brian Anderson | -5/+30 | |
| 2012-03-14 | core: Rename str::from_cstr et. al to from_buf | Brian Anderson | -22/+22 | |
| 2012-03-14 | core:: Eliminate str::sbuf. Replace with *u8 | Brian Anderson | -7/+3 | |
| 2012-03-12 | Libc/os/run/rand/io reorganization. Close #1373. Close #1638. | Graydon Hoare | -1/+1 | |
| - Move io, run and rand to core. - Remove incorrect ctypes module (use libc). - Remove os-specific modules for os and fs. - Split fs between core::path and core::os. | ||||
| 2012-03-09 | core: Convert to rustdoc | Brian Anderson | -480/+326 | |
| 2012-03-07 | add mutability annotations to libcore | Niko Matsakis | -47/+55 | |
| 2012-03-06 | UTF-16-ify the win32 env routines. | Graydon Hoare | -5/+5 | |
| 2012-03-02 | First cut at consolidated core::os module built on core::libc. | Graydon Hoare | -1/+1 | |
| 2012-03-02 | Add some utf16 routines for OS API interop. | Graydon Hoare | -0/+128 | |
| 2012-02-28 | libcore: Remove vec::to_ptr in favor of vec::unsafe::to_ptr. Closes #1829. | Patrick Walton | -2/+2 | |
| 2012-02-23 | Finish cleanup of core::str | Marijn Haverbeke | -410/+278 | |
| Closes #1849 | ||||
| 2012-02-23 | Optimize str::replace | Marijn Haverbeke | -40/+49 | |
| 2012-02-23 | Various cleanups and optimizations in core::str | Marijn Haverbeke | -372/+255 | |
| 2012-02-23 | Make str::pop_char and str::unsafe::pop_byte efficient | Marijn Haverbeke | -14/+15 | |
| O(1) rather than O(string len) | ||||
| 2012-02-23 | (core::str) comments | Kevin Cantu | -11/+18 | |
| 2012-02-23 | (core::str) rename ++ | Kevin Cantu | -2/+2 | |
