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 |
|
Niko Matsakis
|
cfa09d35a3
|
Revert "allow fn exprs to omit arg types"
This reverts commit 1ba4ca4c4a0153578e812baf5f7f5554d079de40.
|
2012-05-03 14:42:34 -07:00 |
|
Niko Matsakis
|
1ba4ca4c4a
|
allow fn exprs to omit arg types
also, avoid using type variables for fn args with omitted types
unless necessary. This will be important for bound regions in
fn types.
fixes #2093
|
2012-05-03 14:32:32 -07:00 |
|
Niko Matsakis
|
f4cc5ff226
|
remove extra type parameter from ptr::is_null() and friends
|
2012-05-02 21:47:14 -07:00 |
|
Brian Anderson
|
4c54b21a6e
|
core: Ignore 2 busticated getenv tests on windows
|
2012-05-02 17:50:15 -07:00 |
|
Niko Matsakis
|
2db4259b35
|
Stop inferring bot/static when types/regions are unconstrained.
Also, some other changes that came up along the way:
- add a 'blk' region for the current block.
- detect unused type/region variables.
|
2012-04-30 19:53:02 -07:00 |
|
Brian Anderson
|
5b98000279
|
core: Move global_env mod into os mod
|
2012-04-30 17:42:41 -07:00 |
|
Brian Anderson
|
46cc11ea88
|
core: Serialize all access to the environment using a weak global task
|
2012-04-30 17:34:29 -07:00 |
|
Tim Chevalier
|
85fbfa25d7
|
Revert "Eliminate a copy in syntax::parse::new_parser_from_file"
This reverts commit 2bb3b63ec4379b812aeceb690d78763ec55d3cbb.
(I was confused.)
|
2012-04-30 11:52:07 -07:00 |
|