Erick Tryzelaar
|
e45ed323c9
|
Add methods iter, iter_err, map, map_err to the result type.
|
2012-05-28 12:03:25 -07:00 |
|
Erick Tryzelaar
|
46173e98ef
|
Rename result::{iter,map,map2} to add _vec suffix
The result module doesn't follow the standard iter/map pattern
that we use in the rest of the library. So to
|
2012-05-28 12:03:25 -07:00 |
|
Brian Anderson
|
432c6cbde9
|
core: Make range follow the for loop protocol
|
2012-05-26 02:28:00 -07:00 |
|
Brian Anderson
|
5281db2bc2
|
core: Fix capitalization in docs
|
2012-05-26 00:16:32 -07:00 |
|
Brian Anderson
|
b4516590e4
|
core: Add to_str impls for remaining int types
|
2012-05-25 23:47:02 -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 |
|
Michael Sullivan
|
842f9d8616
|
Remove from_const hack from vec.rs.
|
2012-05-25 15:16:17 -07:00 |
|
Niko Matsakis
|
ccd8d5573e
|
remove dead assignments
|
2012-05-24 13:35:57 -07:00 |
|
Jeff Olson
|
bb88f772a4
|
core: doc/err feedback tweeks for result::unwrap
|
2012-05-22 22:29:17 -07:00 |
|
Jeff Olson
|
082a95a077
|
core: add result::unwrap() .. patch from @nmatsakis
|
2012-05-22 22:29:16 -07:00 |
|
Eric Holk
|
0b2f2cabbe
|
Send is no longer a subkind of copy. This allows for sendable, but non-copyable resources. Closes #2420.
|
2012-05-22 14:10:32 -07:00 |
|
Brian Anderson
|
c492a183d7
|
core: Fix typos in ignore attrs
|
2012-05-21 21:30:26 -07:00 |
|
Brian Anderson
|
2bec7eafb1
|
core: Rework some rand functions to be more consistent
Changed the gen_x_from functions to gen_x_range and made them use the range
[start, end) like other core functions.
|
2012-05-21 18:57:30 -07:00 |
|
Brian Anderson
|
d18da37c9c
|
core: Ignore another should_fail test on win32
|
2012-05-21 18:39:31 -07:00 |
|
Brian Anderson
|
1678b6f01f
|
core: Ignore a should_fail test on win32
|
2012-05-21 18:19:36 -07:00 |
|
Brian Anderson
|
a1b40d5136
|
core: Fix types in rand mod
|
2012-05-21 17:38:05 -07:00 |
|
Gareth Daniel Smith
|
c9f8ae02bc
|
add a seeded random number generator so that sequences of random numbers can be easily reproduced (for https://github.com/mozilla/rust/issues/2379)
|
2012-05-21 17:38:05 -07:00 |
|
Gareth Daniel Smith
|
64130f1589
|
add a bunch more rand::rng extension methods - one for each primitive type and also some choose/shuffle functions (for https://github.com/mozilla/rust/issues/2379)
|
2012-05-21 17:38:04 -07:00 |
|
Gareth Daniel Smith
|
11e81951bb
|
separate the rand::rng gen_* methods out into an iface-less-impl so that the gen_* methods can be reused with different rng implementations (for https://github.com/mozilla/rust/issues/2379)
|
2012-05-21 17:38:04 -07:00 |
|
Erick Tryzelaar
|
9d01c46c07
|
core: Add iterable functions to io::reader_utils.
|
2012-05-19 10:08:44 -07:00 |
|
Niko Matsakis
|
d1cde18af3
|
add more inline directives to dvec
|
2012-05-18 20:00:51 -07:00 |
|
Niko Matsakis
|
cf6ad6d62a
|
move io over to dvec
|
2012-05-18 20:00:50 -07:00 |
|
Niko Matsakis
|
da204e1d73
|
add swappable/dvec modules
|
2012-05-18 20:00:50 -07:00 |
|
Eric Holk
|
c568cf6099
|
Added vec::view, for creating subslices.
|
2012-05-18 16:55:42 -07:00 |
|
Eric Holk
|
0eed37da29
|
Using const vector slices for more vec functions.
|
2012-05-18 16:55:42 -07:00 |
|
Paul Stansifer
|
9fe547d3a7
|
Make extracting syntax extension arguments easier.
|
2012-05-18 10:05:24 -07:00 |
|
Eric Holk
|
251a0a38d7
|
Exporting alli.
|
2012-05-17 12:01:45 -07:00 |
|
Eric Holk
|
aec0b51d9c
|
Added a few more extension methods on vectors, and fixed a pretty printer bug.
|
2012-05-17 12:00:24 -07:00 |
|
Brian Anderson
|
feb8d60dc7
|
core: Ignore more tests
|
2012-05-16 16:58:02 -07:00 |
|
Brian Anderson
|
7c53c2bb16
|
core: Ignore more tests on more platforms
|
2012-05-16 16:17:28 -07:00 |
|
Brian Anderson
|
31a6eae4fc
|
core: Ignore int-template::test_parse_buf on windows
|
2012-05-16 14:33:42 -07:00 |
|
Brian Anderson
|
ce20ed77b2
|
core: Ignore int-template::test_from_str on windows
Alignment problems
|
2012-05-16 14:13:07 -07:00 |
|
Niko Matsakis
|
fc8e1cb646
|
missing import
|
2012-05-16 06:16:55 -07:00 |
|
Niko Matsakis
|
5cd6bb1ed3
|
correct long line
|
2012-05-16 06:12:12 -07:00 |
|
Brian Anderson
|
8cc596ceb6
|
core: Fix typo
|
2012-05-16 00:03:57 -07:00 |
|
Brian Anderson
|
2adad1f7cd
|
core: Generalize int-string conversions to all int types
Issue #2239
|
2012-05-15 23:46:40 -07:00 |
|
Brian Anderson
|
cb6ed42717
|
core: Generalize uint-string conversions to all uint types
Issue #2239
|
2012-05-15 22:50:35 -07:00 |
|
Brian Anderson
|
c424b7f847
|
core: Don't fail during port dtor
|
2012-05-15 16:13:42 -07:00 |
|
Brian Anderson
|
7277cd7198
|
core: Add task::unkillable
|
2012-05-15 16:13:42 -07:00 |
|
Eric Holk
|
97aba0b14f
|
Adding more documentation to vec::each and vec::eachi to better explain the breaking protocol.
|
2012-05-14 16:55:40 -07:00 |
|
Niko Matsakis
|
63eb8e0e87
|
move purity checking into borrowck, addresses #1422
|
2012-05-11 14:05:58 -07:00 |
|
Paul Stansifer
|
5af58e7926
|
Removed all 4 uses of do ... while in the codebase.
|
2012-05-10 14:21:04 -07:00 |
|
Brian Anderson
|
4885ffb579
|
core: Export str::unsafe::from_buf_len/from_c_str_len
|
2012-05-07 15:56:53 -07:00 |
|
Tim Chevalier
|
1226669172
|
Comment only: add a FIXME on int::abs
|
2012-05-07 14:43:31 -07:00 |
|
Brian Anderson
|
1db88e7937
|
Clarify docs for path::normalize. Closes #2362
|
2012-05-07 13:38:59 -07:00 |
|
Niko Matsakis
|
50ec6bd2c3
|
new cap clause syntax
|
2012-05-04 12:33:08 -07:00 |
|
Brian Anderson
|
c6d33c3d37
|
core: Add comm::listen
|
2012-05-03 16:38:16 -07:00 |
|
Brian Anderson
|
13a4b59cc8
|
core: Add send/recv/peek methods for both ports and chans
Calling peek or recv on channels can fail when the associated port
is dead or unowned.
|
2012-05-03 16:38:16 -07:00 |
|
Brian Anderson
|
18f898315a
|
core: Reorder declarations in comm so they read well
|
2012-05-03 16:38:16 -07:00 |
|
Brian Anderson
|
beb1a59f82
|
core: Add comm::recv_chan to receive from a channel
|
2012-05-03 16:38:16 -07:00 |
|