Kevin Cantu
|
1f795ff3b0
|
Re-implementing str::to_upper and str::to_lower using str::map
|
2012-01-31 14:29:11 -08:00 |
|
Kevin Cantu
|
a8b657397a
|
Add str::split_chars_iter and str::splitn_chars_iter
|
2012-01-31 14:29:11 -08:00 |
|
Kevin Cantu
|
ebf14cb3a9
|
Rename str::iter_chars -> str::chars_iter
|
2012-01-31 14:29:11 -08:00 |
|
Kevin Cantu
|
c7454f5595
|
Rename str::to_chars -> str::chars
|
2012-01-31 14:29:11 -08:00 |
|
Kevin Cantu
|
685a434e0a
|
Rename str::loop_chars to str::all,
rename str::loop_chars_sub to str::substr_all, and
propagate this change to std::rope and rustdoc's calls to these
|
2012-01-31 14:29:11 -08:00 |
|
Kevin Cantu
|
be9129f556
|
Comment fixes in str
|
2012-01-31 14:29:11 -08:00 |
|
Kevin Cantu
|
03b8c8df01
|
Rename str::from_byte(s) to str::unsafe::from_byte(s),
mark them as unsafe,
make comp/driver/driver.rs use str::from_bytes...
|
2012-01-31 14:29:10 -08:00 |
|
Kevin Cantu
|
3afc16f7a4
|
Change FIXME comments in str
|
2012-01-25 23:20:10 -08:00 |
|
Kevin Cantu
|
fec36de94e
|
Making str::from_cstr UTF-8 safe
|
2012-01-25 02:25:57 -08:00 |
|
Kevin Cantu
|
9750e83a17
|
Replace uses of str::unsafe_from_byte
|
2012-01-24 23:47:32 -08:00 |
|
Kevin Cantu
|
2496dccae4
|
Changed type of str::from_bytes and added str::from_byte
|
2012-01-24 23:44:19 -08:00 |
|
Kevin Cantu
|
4c4a5f734d
|
Reorganizing str.rs to group and document strings better (no functional changes, though FIXMEs added)
|
2012-01-24 14:08:48 -08:00 |
|
Kevin Cantu
|
69ffb4e3ae
|
s/fn&/fn/
|
2012-01-23 22:28:25 -08:00 |
|
Kevin Cantu
|
8f4d1f3d27
|
Added str::from_bytes (which is UTF-8 safe)
|
2012-01-23 22:28:25 -08:00 |
|
Kevin Cantu
|
7608a06b33
|
improved test case for str::any
|
2012-01-23 22:28:25 -08:00 |
|
Kevin Cantu
|
536dd2f5a7
|
Added str::lines_iter
|
2012-01-23 22:28:25 -08:00 |
|
Kevin Cantu
|
1c54744e3f
|
fixing indentation
|
2012-01-23 22:28:25 -08:00 |
|
Kevin Cantu
|
ff95029171
|
Added str::words_iter
|
2012-01-23 22:28:25 -08:00 |
|
Kevin Cantu
|
d4b287e852
|
Added str::any, str::bytes_iter, str::windowed, and vec::windowed functions
|
2012-01-23 22:28:25 -08:00 |
|
Kevin Cantu
|
0493a7c87d
|
Added str::map and str::all functions
|
2012-01-23 22:28:25 -08:00 |
|
Niko Matsakis
|
5e13d19cc0
|
s/block()/fn()/g
|
2012-01-23 19:06:33 -08:00 |
|
Brian Anderson
|
17bf4b0e1b
|
libcore: Move core tests into libcore
|
2012-01-17 19:41:05 -08:00 |
|
Josh Matthews
|
1223bbc4de
|
Make str::replace smarter.
|
2012-01-16 13:35:35 -05:00 |
|
Kevin Cantu
|
d8b0a1910a
|
Added string functions: split_func, split_char, lines, lines_any, words,
and more tests
|
2012-01-15 20:20:06 -08:00 |
|
Lenny222
|
d1ffe5034b
|
"str": rename "str_from_cstr" to "from_cstr" (analogous to the other "from_*")
|
2012-01-04 09:33:07 +01:00 |
|
Lenny222
|
dd284eb396
|
"char": use shorter names "to_lower"/"to_upper", analogous to the same names in "str"
|
2012-01-04 09:33:04 +01:00 |
|
Lenny222
|
e12b169247
|
implement str::is_whitespace using char::is_whitespace
|
2012-01-04 09:32:59 +01:00 |
|
Lenny222
|
f8d7a1c258
|
"str": extract to_upper/lower_case() into "char"
|
2012-01-01 13:15:30 -08:00 |
|
Graydon Hoare
|
f0dfbe7b1b
|
Register new snapshots, purge log_err and log_full in favour of log(...).
|
2011-12-22 17:53:53 -08:00 |
|
Graydon Hoare
|
8b580954fe
|
Register snapshots and switch logging over to use of log_full or #error / #debug.
|
2011-12-22 14:42:52 -08:00 |
|
Erick Tryzelaar
|
02d84d89e0
|
libcore: add splitn to split a string N times.
|
2011-12-19 10:22:07 -08:00 |
|
Stefan Plantikow
|
bfbaadc694
|
core: marked fns as pure where possible
|
2011-12-16 17:41:07 +01:00 |
|
Patrick Walton
|
fd1dd76977
|
stdlib: Add a str::split_str() to split on a delimiter string of any length
|
2011-12-15 17:39:53 -08:00 |
|
Graydon Hoare
|
fa9ad984fb
|
Copy first batch of material from libstd to libcore.
|
2011-12-13 16:34:50 -08:00 |
|