Graydon Hoare
|
baa08d5a95
|
Fix long line.
|
2012-09-28 16:27:28 -07:00 |
|
Graydon Hoare
|
4b7d4cd0cf
|
De-export str. Part of #3583.
|
2012-09-28 15:41:15 -07:00 |
|
Niko Matsakis
|
21519bc7e0
|
demode vec
|
2012-09-28 13:27:45 -07:00 |
|
Brian Anderson
|
64de6d638d
|
core: Fix mode warnings in str
|
2012-09-26 20:04:20 -07:00 |
|
Niko Matsakis
|
67a8e7128a
|
Demode vec::push (and convert to method)
|
2012-09-26 18:02:07 -07:00 |
|
Tim Chevalier
|
e19e628b19
|
Demode iter-trait
|
2012-09-25 22:13:05 -07:00 |
|
Tim Chevalier
|
e85a3d8247
|
Demode Num trait and impls
|
2012-09-25 15:52:41 -07:00 |
|
Brian Anderson
|
afd91f8a56
|
Register snapshots. Remove redundant Eq impls, Makefile hacks
|
2012-09-23 23:01:49 -07:00 |
|
Brian Anderson
|
4a78f9b166
|
core: Demode option
|
2012-09-23 17:15:00 -07:00 |
|
Niko Matsakis
|
ba3eebd41d
|
Make it illegal to use modes in a fn signature with providing
an explicit variable name. (Step one to changing the defaults)
First step to #3535
|
2012-09-23 13:30:13 -05:00 |
|
Niko Matsakis
|
3d59ac3a19
|
De-mode vec::map, vec::eachi, vec::rev_each, vec::rev_eachi
|
2012-09-21 19:13:55 -07:00 |
|
Patrick Walton
|
d48396c986
|
libcore: De-mode str
|
2012-09-21 18:37:06 -07:00 |
|
Graydon Hoare
|
dffe188991
|
Install new pub/priv/export rules as defaults, old rules accessible under #[legacy_exports];
|
2012-09-21 18:11:43 -07:00 |
|
Patrick Walton
|
5558ebb6b7
|
libcore: Fix level-of-indirection problem in str::buf_as_slice
|
2012-09-20 15:05:20 -07:00 |
|
Patrick Walton
|
69aaa410ca
|
rustc: Fix buf_as_slice export
|
2012-09-20 12:26:40 -07:00 |
|
Patrick Walton
|
9117dcb968
|
rustc: De-mode all overloaded operators
|
2012-09-20 09:48:05 -07:00 |
|
Graydon Hoare
|
5e41739562
|
Remove final bits of residual hokey-hash functions. Close #1616.
|
2012-09-19 16:35:53 -07:00 |
|
Niko Matsakis
|
9cf271fe96
|
De-mode vec::each() and many of the str iteration routines
Note that the method foo.each() is not de-moded, nor the other
vec routines.
|
2012-09-19 10:52:59 -07:00 |
|
Niko Matsakis
|
8d4928f780
|
Revert "replace explicit calls to vec::each with vec::each_ref, partially demode str"
This reverts commit 1be24f0758 .
Not quite ready.
|
2012-09-18 21:41:13 -07:00 |
|
Niko Matsakis
|
1be24f0758
|
replace explicit calls to vec::each with vec::each_ref, partially demode str
|
2012-09-18 21:31:00 -07:00 |
|
Brian Anderson
|
2906f2de31
|
core: Rename 'unsafe' mod to 'cast'
|
2012-09-18 19:36:25 -07:00 |
|
Erick Tryzelaar
|
e3f5403052
|
libcore: str::unsafe::from_buf_len_nocopy => form_slice
|
2012-09-18 12:56:57 -07:00 |
|
Brian Anderson
|
2cdb23bbc0
|
Replace uses of 'unchecked' with 'unsafe'
|
2012-09-18 11:31:57 -07:00 |
|
Erick Tryzelaar
|
f1f5739256
|
libcore: fix whitespace in str test
|
2012-09-15 13:38:41 -07:00 |
|
Graydon Hoare
|
aa2ab2659f
|
Add core::reflect, start migrating core::repr to use it. Tidy up various Repr types.
|
2012-09-14 19:09:38 -07:00 |
|
Niko Matsakis
|
2f6b66ecd3
|
s/vec::as_buf/vec::as_imm_buf/, fix comment, remove set.rs
hat tip to @jruderman
|
2012-09-13 13:24:33 -07:00 |
|
Brian Anderson
|
308ca06012
|
Rename str::unsafe to str::raw
|
2012-09-12 19:55:16 -07:00 |
|
Brian Anderson
|
ff54ac8e59
|
Rename vec::unsafe to vec::raw
|
2012-09-12 17:45:36 -07:00 |
|
Niko Matsakis
|
5d540de769
|
fixup mutability of vec::each, make iter_bytes pure
also, change DVec() to work with imm vectors rather than mut ones
|
2012-09-12 13:29:31 -07:00 |
|
Tim Chevalier
|
c087886e93
|
Make moves explicit in arguments
|
2012-09-11 20:02:34 -07:00 |
|
Brian Anderson
|
298eb8c726
|
Convert 'import' to 'use'. Remove 'import' keyword.
|
2012-09-10 19:04:26 -07:00 |
|
Patrick Walton
|
2aa67e9aa9
|
rustc: Stop calling cmp shape glue in trans.
XFAIL's alt-borrowed_str for now. Will need to fix this up in the future.
|
2012-09-10 17:26:17 -07:00 |
|
Patrick Walton
|
22b8757705
|
rustc: Make shape-based compare glue never called for comparison operators.
Only called for string patterns.
|
2012-09-10 12:48:42 -07:00 |
|
Patrick Walton
|
3078830934
|
libcore: Make str_eq not break with coretest
|
2012-09-07 16:09:38 -07:00 |
|
Patrick Walton
|
1fcfee674a
|
rustc: Add a str_eq lang item for pattern matching
|
2012-09-07 15:46:08 -07:00 |
|
Patrick Walton
|
feb014eb3c
|
rustc: Add an "ne" method to the Eq trait, and implement it everywhere
|
2012-09-07 12:24:48 -07:00 |
|
Patrick Walton
|
f6d50d866a
|
libcore: Make to_upper() and to_lower() pure
|
2012-09-05 20:55:28 -07:00 |
|
Tim Chevalier
|
2d116cbbed
|
Start making moves explicit in libcore
This is in preparation for issue 2633. Replaced implicit moves that
rely on last-use with explicit moves in char, float, and str.
|
2012-09-05 19:20:01 -07:00 |
|
Graydon Hoare
|
0ddae5ec7d
|
Add str::trim{_,_left_,_right_}chars.
|
2012-09-05 16:53:55 -07:00 |
|
Patrick Walton
|
8415515cbe
|
libcore: Make as_bytes_slice() not include the null byte
|
2012-09-04 15:23:30 -07:00 |
|
Andrew Paseltiner
|
225cdc4894
|
add test for eq_slice fix
|
2012-09-04 11:27:11 -07:00 |
|
Andrew Paseltiner
|
21172ee280
|
fix str::eq_slice off-by-one error
|
2012-09-04 11:27:11 -07:00 |
|
Patrick Walton
|
437073868e
|
libcore: "import" -> "use"
|
2012-09-04 11:12:17 -07:00 |
|
Patrick Walton
|
c2f8cf9dc1
|
libcore: Remove as_bytes_slice
|
2012-09-03 12:33:43 -07:00 |
|
Brian Anderson
|
f393100b7c
|
Camel case core::ops
|
2012-09-02 18:13:56 -07:00 |
|
Brian Anderson
|
49c9ac175f
|
Silence non-implicitly-copyable-typarams in coretest
|
2012-09-02 16:34:36 -07:00 |
|
Brian Anderson
|
087c5032a8
|
core: deny(vecs_implicity_copyable)
|
2012-09-02 15:38:18 -07:00 |
|
Brian Anderson
|
d777e51333
|
Demode reinterpret_cast
|
2012-09-01 18:18:29 -07:00 |
|
Tim Chevalier
|
4128cc4cb4
|
Make utility funs in core::int, core::uint, etc. not by-reference
Closes #3302
|
2012-08-31 16:21:47 -07:00 |
|
Erick Tryzelaar
|
628b946186
|
libcore: rewrite str::reserve in pure rust.
|
2012-08-30 20:40:52 -07:00 |
|