Brendan Zabarauskas
0211833008
Move FuzzyEq trait into core::cmp and rename it to 'ApproxEq'
2013-05-06 21:51:07 +10:00
Brian Anderson
8081e8debf
Register snapshots
2013-05-04 15:43:51 -07:00
Brendan Zabarauskas
e596128bd8
Remove 'Local Variable' comments
2013-05-02 13:22:04 +10:00
Daniel Micay
f792baba42
only use #[no_core] in libcore
2013-04-27 21:34:24 -04:00
Brendan Zabarauskas
d4868ee740
Use #[cfg(not(stage0))] to exclude items from stage0
...
As requested on the mailing list: https://mail.mozilla.org/pipermail/rust-dev/2013-April/003713.html
2013-04-25 08:20:00 +10:00
Brendan Zabarauskas
01eb5e8ad3
Rename Div operator trait to Quot and Modulo operator trait to Rem
2013-04-22 01:58:53 +10:00
Daniel Micay
8bf9fc52f4
initial iterator object library
2013-04-13 05:51:14 -04:00
Brian Anderson
23e44a529b
Bump version to 0.7-pre
2013-04-10 13:12:53 -07:00
Brian Anderson
23251b2438
Bump version to 0.7-pre
2013-04-09 10:59:32 -07:00
Huon Wilson
82d54602d7
libstd: add basic complex numbers
2013-04-05 18:19:50 +11:00
Huon Wilson
7b0401d774
libstd: add basic rational numbers
2013-04-05 17:54:11 +11:00
Huon Wilson
ba63cba18d
libstd: move bigint to dedicated num directory
2013-04-05 17:36:24 +11:00
Huon Wilson
e4edfa046a
libstd: implement fileinput.
...
Iterate over lines in a series of files. API (mostly) adopted from
Python's fileinput module.
2013-04-03 11:36:05 +11:00
Daniel Micay
258a36738e
move dlist from core -> std
...
Closes #3549
2013-03-30 21:06:26 -04:00
Erick Tryzelaar
2c658fabed
std: remove prettyprint
...
Everyone uses fmt!("%?", ...) instead of the prettyprint
module, so I'm removing this file.
2013-03-29 07:05:54 -07:00
Patrick Walton
0a4d0f37ca
librustc: Enforce that extern mod
directives come first, then use
directives, then items.
...
Resolve them in this order as well.
2013-03-26 21:30:17 -07:00
Alex Crichton
d69108d8f7
std: Remove the oldmap module
2013-03-26 19:21:05 -04:00
bors
47ddb59b80
auto merge of #5525 : dbaupp/rust/minor_fixups, r=graydon
...
Kills some warnings, and implements str::each_char_reverse so that it actually iterates. The test case wasn't detecting a failure, since the loop body was never executed.
2013-03-25 21:18:57 -07:00
Huon Wilson
12df65470f
Kill some warnings: unused imports and old #[deny(..)]s.
2013-03-25 01:17:23 +11:00
Brian Anderson
d30c758974
Give core::rt and std::net their own uvll bindings
...
I intend to do some big refactoring and don't want to deal w/ std just now
2013-03-18 16:59:11 -07:00
Brian Anderson
676e0290ed
core: Add rt mod and add the new scheduler code
2013-03-11 19:44:29 -07:00
Ben Striegel
0fed29cfb7
De-implicit-self libstd
2013-03-07 21:11:09 -05:00
Patrick Walton
a3f728238b
librustc: Forbid chained imports and fix the logic for one-level renaming imports
2013-03-02 16:49:30 -08:00
Patrick Walton
9519ee5d80
librustc: "APL2" -> "ASL2". rs=license-fix
2013-03-01 08:41:31 -08:00
sevrak
833ad6018e
Fix license attribute on crates
2013-02-28 13:34:01 +00:00
Patrick Walton
e2f90091cf
libcore: Move Cell to core and de-~mut core and std
2013-02-26 04:18:12 -08:00
Patrick Walton
c483aab4ae
librustc: Implement a lint mode for mutable structures; deny by default. r=tjc
2013-02-26 04:18:11 -08:00
Daniel Micay
1afddff97f
remove oldsmallintmap
...
Closes #4738
2013-02-23 01:40:17 -05:00
Zack Corr
b10dc1af06
Move semver to std and finish rustpkg
2013-02-15 18:04:10 -08:00
Graydon Hoare
e5aa399e0d
rustc and std: teach about #[bench], modernize to use quote_expr! some.
2013-02-13 11:46:25 -08:00
Graydon Hoare
ebe99637fd
std: add stats.
2013-02-13 11:46:25 -08:00
Niko Matsakis
a32498d846
Make ~fn non-copyable, make &fn copyable, split barefn/closure types,
...
correct handling of moves for struct-record update.
Part of #3678 . Fixes #2828 , #3904 , #4719 .
2013-02-07 05:53:30 -08:00
Tim Chevalier
73a7672b8d
std: Stamp out structural records
...
See #4665
2013-02-04 16:48:52 -08:00
Daniel Micay
319eeb1c79
rename map -> oldmap and mark it as deprecated
...
LinearMap is quite a bit faster, and is fully owned/sendable without
requiring copies. The older std::map also doesn't use explicit self and
relies on mutable fields.
2013-02-03 15:55:10 -05:00
Daniel Micay
74b317ddc2
modernize smallintmap
...
* switch to explicit self
* get rid of the @ box
* replace DVec with ~[] (to get rid of the mutable field)
* implement the new container::Map trait
2013-01-31 23:22:51 -05:00
Daniel Micay
70855f5a07
move smallintmap to oldsmallintmap
2013-01-31 23:13:56 -05:00
Patrick Walton
226cd68f13
librustc: De-implicit-self the visitor. r=graydon
2013-01-29 10:43:12 -08:00
Tim Chevalier
31d78b2f07
Add #[legacy_records] crate attribute
...
In rustc, rustdoc, rusti, syntax, and std.
2013-01-28 19:41:56 -08:00
Tim Chevalier
0274292bed
std: Address XXXes in flatpipes
2013-01-10 20:10:10 -08:00
Brian Anderson
2d9b1fee8f
Merge remote-tracking branch 'gifnksm/bigint' into kind-names
2013-01-08 11:28:56 -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
gifnksm
c6a8778ef7
Move BigUint and BigDIgit to std::bigint.
2012-12-22 15:14:26 +09:00
gifnksm
ccc1f8d5e8
Implement BigInt and BigUint.
2012-12-22 15:14:26 +09:00
Graydon Hoare
dbd36111fe
bump 0.5 => 0.6, redirect some URLs in docs.
2012-12-21 15:35:49 -08:00
Erick Tryzelaar
9c673b246c
Remove the old serialization code
...
Closes #3713 .
2012-12-19 18:16:20 -08:00
Erick Tryzelaar
8650c6f683
Switch from serialization to std::serialize. (snapshot)
2012-12-17 20:00:36 -08:00
Brian Anderson
ec9305802b
std: Add flatpipes
2012-12-17 18:46:42 -08:00
Daniel Micay
dd2b32be56
add priority queue implementation (binary heap)
2012-12-16 19:27:05 -08:00
Erick Tryzelaar
786c143a70
Begin renaming serialization to std::serialize. (snapshot)
2012-12-13 18:16:31 -08:00
Graydon Hoare
12c32e944d
Add license boilerplate to more files.
2012-12-10 17:32:58 -08:00