Tim Chevalier
|
0d4cf3ed72
|
remove apparently-superfluous extra parens from types
|
2013-01-02 15:33:13 -08:00 |
|
Peter Williams
|
ae69c2fc7d
|
std: Constify the bytes sent to Sha1::input
We are of course never going to modify the data, and this change allows us to
accept data from to_bytes::IterBytes types.
|
2013-01-02 15:33:13 -08:00 |
|
Patrick Walton
|
fa5ee934ed
|
libstd: Fix a bunch of resolve errors in tests. rs=fire
|
2012-12-27 18:24:18 -08:00 |
|
Patrick Walton
|
57c599914a
|
librustc: Terminate name searches at the nearest module scope for paths that contain at least two components. r=graydon
|
2012-12-27 10:02:54 -08:00 |
|
Graydon Hoare
|
00c856c0b1
|
Update license, add license boilerplate to most files. Remainder will follow.
|
2012-12-03 17:12:14 -08:00 |
|
Brian Anderson
|
bc9efaad9c
|
std: Eliminate deprecated patterns
|
2012-09-28 00:22:28 -07:00 |
|
Graydon Hoare
|
86041c421d
|
De-export std::{dbg,sha1,md4,tempfile,term}. Part of #3583.
|
2012-09-27 18:03:13 -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 |
|
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 |
|
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 |
|
Tim Chevalier
|
9869d071d1
|
Make remaining moves explicit in libstd
|
2012-09-10 17:51:24 -07:00 |
|
Brian Anderson
|
ee2ce036cc
|
Camel case more std types
|
2012-08-29 16:09:50 -07:00 |
|
Kevin Cantu
|
4f326dd650
|
Remove deprecated modes from SHA1 and MD4 in libstd
|
2012-08-25 15:28:57 -07:00 |
|
Niko Matsakis
|
a08f3a7d4d
|
More complete fix to #3162 (borrowck bug related to access to rec fields)
|
2012-08-23 18:54:08 -07:00 |
|
Tim Chevalier
|
9f591319dd
|
Rename str::bytes to str::to_bytes
Closes #3245
|
2012-08-23 15:46:10 -07:00 |
|
Graydon Hoare
|
800de26372
|
Remove obsolete FIXMEs, close #2345.
|
2012-08-08 18:40:30 -07:00 |
|
Brian Anderson
|
6a0720b439
|
Convert impls to new syntax
|
2012-08-08 18:19:24 -07:00 |
|
Brian Anderson
|
b355936b4d
|
Convert ret to return
|
2012-08-01 19:16:06 -07:00 |
|
Lindsey Kuper
|
439afaa329
|
Change remaining "iface" occurrences to "trait"; deprecate "iface"
|
2012-07-31 11:52:16 -07:00 |
|
Michael Sullivan
|
92743dc2a6
|
Move the world over to using the new style string literals and types. Closes #2907.
|
2012-07-14 01:03:43 -07:00 |
|
Michael Sullivan
|
ad5c4ed351
|
Make push_str overallocate. Use it in some places that were still doing +=.
|
2012-07-13 16:37:27 -07:00 |
|
Gareth Daniel Smith
|
be0141666d
|
convert doc-attributes to doc-comments using ./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
|
2012-07-04 19:18:13 -07:00 |
|
Brian Anderson
|
d1fc2b5995
|
Convert to new closure syntax
|
2012-07-01 19:19:32 -07:00 |
|
Michael Sullivan
|
98e161f00e
|
Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.
|
2012-06-29 17:41:45 -07:00 |
|
Eric Holk
|
0b84437b68
|
Replace more vector additions (issue #2719)
|
2012-06-27 22:49:05 -07:00 |
|
Michael Sullivan
|
329eca6044
|
Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.
|
2012-06-25 20:00:46 -07:00 |
|
Michael Sullivan
|
8668d06400
|
Get rid of many implicit copies as a preliminary to Issue #2448.
|
2012-05-25 16:39:35 -07:00 |
|
Erick Tryzelaar
|
24cfe29a8a
|
std: Fix a typo
|
2012-05-19 10:08:44 -07:00 |
|
Tim Chevalier
|
ca3a9f83f4
|
Annotate more FIXMES in libstd (comments only)
|
2012-05-03 15:36:47 -07:00 |
|
Marijn Haverbeke
|
b5a4fa9456
|
Move some code over to iterator-for to see how it performs.
|
2012-03-27 15:46:33 +02:00 |
|
Graydon Hoare
|
6e6798c4e1
|
Bulk-edit mutable -> mut.
|
2012-03-26 18:35:18 -07:00 |
|
Niko Matsakis
|
dc07280b08
|
make --enforce-mut-vars always on, add mut annotations to remaining files
|
2012-03-22 09:58:19 -07:00 |
|
Niko Matsakis
|
6b35875dca
|
annotate libstd and start enforcing mutability
|
2012-03-14 20:46:36 -04:00 |
|
Brian Anderson
|
cd72b1f848
|
Overhaul constructor naming in libs
|
2012-03-13 11:07:22 -07:00 |
|
Brian Anderson
|
95521c4084
|
std: Convert to rustdoc
|
2012-03-09 22:56:53 -08:00 |
|
Brian Anderson
|
3ed6f6520f
|
core: Remove _mut functions from vec
Instead, use vec::to_mut/from_mut to transform vectors in place as
needed.
|
2012-03-02 15:49:49 -08:00 |
|
Kevin Cantu
|
7782f5d692
|
(core::str) remove len_bytes alias
|
2012-02-23 17:00:19 +01:00 |
|
Kevin Cantu
|
1b957c0942
|
(core::str) replace uses of unsafe::slice_bytes; replace find[_from]_bytes with find[_from]
|
2012-02-23 17:00:19 +01:00 |
|
Kevin Cantu
|
2b4f5136a5
|
(core::str) rename byte_len -> len_bytes and rename char_len -> len
|
2012-02-12 15:30:20 -08:00 |
|
Marijn Haverbeke
|
50fb4c30ed
|
Increase precedence of as operator
Closes #1717
|
2012-02-09 11:58:08 +01:00 |
|
Kevin Cantu
|
2b0396c34a
|
core: make str::substr use char positions (and replace other uses)
|
2012-02-07 16:25:35 -08:00 |
|
Graham Fawcett
|
7763b40c71
|
issue #1352: change param order on vec::init_elt, putting block in final position.
To match the init_fn() and init_fn_mut() changes.
|
2012-01-21 13:33:16 -08:00 |
|
Brian Anderson
|
6e27b27cf8
|
libstd: Move std tests into libstd
|
2012-01-17 19:48:58 -08:00 |
|
Marijn Haverbeke
|
4f76db43e6
|
Convert std::sha1 and std::rand over to ifaces
|
2012-01-11 20:33:44 +01:00 |
|
Graydon Hoare
|
447414f007
|
Establish 'core' library separate from 'std'.
|
2011-12-06 12:13:04 -08:00 |
|