Erick Tryzelaar
dc7183ed0e
core: rename MutableVector to OwnedVector
2013-01-09 08:55:37 -08:00
Erick Tryzelaar
d1b7d44b8c
core: inline all vec methods and add whitespace
2013-01-09 08:55:37 -08:00
Graydon Hoare
f6dd2d219e
core: fix libc linux fallout from 2db3abddcd67
2013-01-09 08:04:18 -08:00
Patrick Walton
2db3abddcd
librustc: Make unqualified identifier searches terminate at the nearest module scope. r=tjc
2013-01-08 22:02:35 -08:00
Patrick Walton
44ab00ee37
Revert "librustc: Make unqualified identifier searches terminate at the nearest module scope. r=tjc"
...
This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08 19:29:16 -08:00
Patrick Walton
a8d37af247
librustc: Make unqualified identifier searches terminate at the nearest module scope. r=tjc
2013-01-08 19:27:57 -08:00
Brian Anderson
3b71d14442
Inject std when --test. #1127 , #3241
2013-01-08 14:58:39 -08:00
ILyoan
2d3c22ae59
arrange core::os::consts
2013-01-08 14:35:28 -08:00
asdf
dd73dd0e37
removing checks from vec::bytes::memcpy and memmove as are duplicated from raw::
2013-01-08 13:25:23 -08:00
asdf
4096c9f25f
adding bound checks for raw::memcpy and memmove
2013-01-08 13:25:23 -08:00
Andrew Paseltiner
1d4c5d90bd
fmt: add unit tests
2013-01-07 17:22:01 -05:00
Andrew Paseltiner
73649f36e8
fmt: derive Eq for all types
2013-01-07 17:22:01 -05:00
Andrew Paseltiner
0429493363
fmt: fix formatting and style
2013-01-07 17:22:01 -05:00
Andrew Paseltiner
428abb3d97
fmt: simplify parse_fmt_string
2013-01-07 17:22:01 -05:00
Andrew Paseltiner
9e5a4166d5
fmt: simplify parse_conversion
2013-01-07 17:22:01 -05:00
Andrew Paseltiner
af298deff7
fmt: simplify parse_parameter
2013-01-07 17:22:01 -05:00
Andrew Paseltiner
4550cb0562
fmt: simplify parse_precision
2013-01-07 17:22:01 -05:00
Andrew Paseltiner
9c383deaa6
fmt: simplify parse_count
2013-01-07 17:22:01 -05:00
Andrew Paseltiner
f4bc9e6d57
fmt: simplify parse_flags
2013-01-07 17:22:01 -05:00
Andrew Paseltiner
51b141e3e4
fmt: simplify parse_type
2013-01-07 17:22:01 -05:00
Andrew Paseltiner
0a17ab2a9c
fmt: replace parse_* structural records with struct Parsed<T>
2013-01-07 17:22:01 -05:00
Andrew Paseltiner
1a2a8975bc
fmt: replace Conv record with struct Conv
2013-01-07 17:22:01 -05:00
Patrick Walton
9f387926fc
librustc: Fold rt items into lang items. Shaves another 10% or so off hello world compile time.
2013-01-07 12:21:34 -08:00
Tim Chevalier
89acd1f57f
Rename option::get_default => get_or_default, get_zero => get_or_zero
2013-01-04 16:01:26 -08:00
Tim Chevalier
4d8cc3f003
Make either::{partition, flip, to_result} take their arguments by-value
...
Addresses an XXX
r=pcwalton
2013-01-04 15:39:31 -08:00
Graydon Hoare
62f6f46072
core: fix windows breakage, r=burningtree.
2013-01-04 15:38:56 -08:00
Tim Chevalier
1f1e7e9616
Add option::get_zero
...
r=brson
Closes #3797
2013-01-04 00:46:55 -08:00
Andrew Paseltiner
a933cdfbf1
clean up condition module:
...
* use Drop trait in Guard
* fix formatting
* remove bare function in Condition.raise_default
* use moved types instead of borrowed pointers in Condition.{raise,trap}
* import common functions
2013-01-03 15:53:06 -08:00
Erick Tryzelaar
392708e3b1
core: convert an XXX into a FIXME.
2013-01-02 10:40:47 -05:00
Tim Taubert
4b1d2dc884
reset LinearMap.size when expanding buckets
2012-12-30 19:38:42 +01:00
Tim Chevalier
cef153947d
Long lines
2012-12-28 13:35:15 -08:00
Tim Chevalier
7af1080f5e
Merge pull request #4308 from steveklabnik/patch-1
...
Improve documentation for each.
2012-12-28 11:52:16 -08:00
Steve Klabnik
5ec3aba8cc
Improve documentation for each.
...
Add description of arguments, and an example.
2012-12-28 01:12:28 -05:00
Patrick Walton
e26ca35b08
librustc: Fix the test runner, the condition system, and core test. rs=bustage
2012-12-27 17:53:04 -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
Patrick Walton
6b659392ea
libcore: Add symlink(2) to libc. rs=trivial
2012-12-27 10:02:51 -08:00
Tim Chevalier
6dbb025267
Fix wayward search and replace; unbreak build
2012-12-24 18:29:02 -08:00
gareth
fddc849d75
Convert core::io to use explicit self (for issue #4118 and issue #2004 )
2012-12-24 18:29:02 -08:00
Chris Peterson
c1e58aad70
core: Mark some functions as pure
2012-12-24 18:29:02 -08:00
Graydon Hoare
329316ce15
bump 0.5 => 0.6, redirect some URLs in docs.
2012-12-24 18:29:01 -08:00
Erick Tryzelaar
50902bb302
Fix Option::unwrap_err.
2012-12-24 18:29:01 -08:00
Tim Chevalier
46122bf333
Fix wayward search and replace; unbreak build
2012-12-24 12:37:45 -08:00
Tim Chevalier
66dc4898c7
Merge pull request #4278 from cpeterso/incoming-pure-functions
...
Mark some more core and std functions as pure
2012-12-24 11:33:22 -08:00
gareth
feff3a9c6c
Convert core::io to use explicit self (for issue #4118 and issue #2004 )
2012-12-24 18:52:53 +00:00
Chris Peterson
6d8621ae7f
core: Mark some functions as pure
2012-12-23 14:37:44 -08:00
Tim Chevalier
197a1f9cfe
Merge pull request #4243 from erickt/incoming
...
Fix a bug in Result::unwrap_err (and minor cleanup)
2012-12-23 13:49:32 -08:00
Graydon Hoare
dbd36111fe
bump 0.5 => 0.6, redirect some URLs in docs.
2012-12-21 15:35:49 -08:00
Erick Tryzelaar
5e94407a94
Fix Option::unwrap_err.
2012-12-20 21:16:02 -08:00
Erick Tryzelaar
e8102e73a9
core: Add a Zero and One trait to num
...
I believe these are the last traits we need in order
to start grouping our numerical types into mathematical
groups and rings.
2012-12-20 07:15:04 -08:00
Erick Tryzelaar
2ad41b881c
core: add unwrap methods to dvec, either, and mutable
2012-12-18 20:54:13 -08:00