Scott Lawrence
3dbc1c34e6
Remove do keyword from test/
2014-01-29 09:15:42 -05:00
Simon Sapin
bada25e425
[std::vec] Rename .pop_opt() to .pop(), drop the old .pop() behavior
2014-01-21 15:48:47 -08:00
Patrick Walton
fd7a513bef
libstd: Remove Cell
from the library.
2013-12-10 17:55:09 -08:00
Patrick Walton
786dea207d
libextra: Another round of de-Cell
-ing.
...
34 uses of `Cell` remain.
2013-12-10 15:13:12 -08:00
Patrick Walton
38efa17bb8
test: Remove all remaining non-procedure uses of do
.
2013-11-26 08:25:27 -08:00
Steven Fackler
5759f2fc57
Strip down Cell functionality
2013-11-22 21:19:53 -08:00
Daniel Micay
c9d4ad07c4
remove the float
type
...
It is simply defined as `f64` across every platform right now.
A use case hasn't been presented for a `float` type defined as the
highest precision floating point type implemented in hardware on the
platform. Performance-wise, using the smallest precision correct for the
use case greatly saves on cache space and allows for fitting more
numbers into SSE/AVX registers.
If there was a use case, this could be implemented as simply a type
alias or a struct thanks to `#[cfg(...)]`.
Closes #6592
The mailing list thread, for reference:
https://mail.mozilla.org/pipermail/rust-dev/2013-July/004632.html
2013-10-01 14:54:10 -04:00
Alex Crichton
409182de6d
Update the compiler to not use printf/printfln
2013-09-26 17:05:59 -07:00
Steven Fackler
ff85389344
Modernize extra::future API
2013-09-19 15:19:20 -07:00
blake2-ppc
8522341274
Remove {uint,int,u64,i64,...}::from_str,from_str_radix
...
Remove these in favor of the two traits themselves and the wrapper
function std::from_str::from_str.
Add the function std::num::from_str_radix in the corresponding role for
the FromStrRadix trait.
2013-09-15 14:29:16 +02:00
Corey Richardson
d7be86f1a5
Revert "src/test/bench: restructure"
...
This reverts commit 14cdc26e8a
.
2013-08-30 16:17:53 -04:00
Corey Richardson
14cdc26e8a
src/test/bench: restructure
2013-08-28 08:14:59 -04:00
Erick Tryzelaar
ad5c676853
Fix warnings it tests
2013-08-17 08:42:35 -07:00
Marvin Löbel
0ac7a219f0
Updated std::Option, std::Either and std::Result
...
- Made naming schemes consistent between Option, Result and Either
- Changed Options Add implementation to work like the maybe monad (return None if any of the inputs is None)
- Removed duplicate Option::get and renamed all related functions to use the term `unwrap` instead
2013-08-05 22:42:21 +02:00
Daniel Micay
1008945528
remove obsolete foreach
keyword
...
this has been replaced by `for`
2013-08-03 22:48:02 -04:00
Daniel Micay
234acad404
replace range
with an external iterator
2013-08-02 00:51:14 -04:00
Daniel Micay
1fc4db2d08
migrate many for
loops to foreach
2013-08-01 05:34:55 -04:00
Steven Stewart-Gallus
d0b7515aed
Change concurrency primitives to standard naming conventions
...
To be more specific:
`UPPERCASETYPE` was changed to `UppercaseType`
`type_new` was changed to `Type::new`
`type_function(value)` was changed to `value.method()`
2013-07-27 22:06:29 -07:00
Birunthan Mohanathas
206ae5752e
Change 'print(fmt!(...))' to printf!/printfln! in src/test/
2013-07-24 09:45:20 -04:00
Ben Blum
4bcda7148d
Fix warnings in src/test/bench tests. Nobody will ever care.
2013-07-20 05:12:04 -04:00
Patrick Walton
99b33f7219
librustc: Remove all uses of "copy".
2013-07-17 14:57:51 -07:00
Austin King
712ac836c6
Rename Option swap_unwrap to take_unwrap. Fixes Issue#7764
2013-07-16 12:47:01 -07:00
Daniel Micay
d68be89e69
rm MutableIter
...
replaced with mutable implementations of Iterator
2013-06-14 23:15:42 -04:00
Daniel Micay
de367157b5
remove deprecated vec::{is_empty, len} functions
2013-06-08 23:19:30 -04:00
Philipp Brüschweiler
34ee63e93b
std::cell: Modernize constructors
...
Part of #3853
2013-06-04 12:03:58 +02:00
Patrick Walton
206ab89629
librustc: Stop reexporting the standard modules from prelude.
2013-05-29 19:04:53 -07:00
Patrick Walton
1be40be613
test: Update tests to use the new syntax.
2013-05-22 21:57:10 -07:00
Patrick Walton
d20e63ab65
test: Fix modes in the benchmarks.
2013-05-08 17:04:03 -07:00
Patrick Walton
278b487cab
test: Fix tests and the pipe compiler
2013-05-08 17:04:00 -07:00
Daniel Micay
86efd97a10
add gitattributes and fix whitespace issues
2013-05-03 20:01:42 -04:00
Daniel Micay
34c5a09ce3
option: rm functions that duplicate methods
2013-03-26 22:44:40 -04:00
Patrick Walton
4a9d4aa52e
bench: Fix botched option dances. rs=demuting
2013-02-26 08:50:06 -08:00
Patrick Walton
e3d43e490b
test: De-~mut the test suite. rs=demuting
2013-02-26 04:18:12 -08:00
Patrick Walton
00d8db5b5d
Revert "test: De-~mut the test suite. rs=demuting"
...
This reverts commit f63efdc210
.
2013-02-25 15:16:36 -08:00
Patrick Walton
f63efdc210
test: De-~mut the test suite. rs=demuting
2013-02-25 15:15:42 -08:00
Luqman Aden
178882c98f
tests/tutorials: Get rid of move
.
2013-02-15 02:49:55 -08:00
Graydon Hoare
a55ea48d2b
libstd: refactor future, remove with(), remove ~ indirection.
...
Conflicts:
src/libstd/future.rs
2012-12-11 15:56:47 -08:00
Graydon Hoare
d1affff623
Reliciense makefiles and testsuite. Yup.
2012-12-10 17:32:58 -08:00
Tim Chevalier
165ce14f68
Remove xfail-pretty from tests that pretty-print correctly now
2012-10-30 15:06:10 -07:00
Brian Anderson
d29962f0eb
Move futures to std
2012-10-23 14:46:49 -07:00
Tim Chevalier
11e92f37c1
Remove uses of binary move - <- - from tests and libraries
2012-10-23 12:10:03 -07:00
Tim Chevalier
f5f3a75b65
Make moves explicit in bench tests
2012-10-12 20:43:37 -07:00
Brian Anderson
edc317b821
Remove arg vectors from main functions. Stop supporting them.
2012-10-04 15:07:49 -07:00
Niko Matsakis
21519bc7e0
demode vec
2012-09-28 13:27:45 -07:00
Niko Matsakis
67a8e7128a
Demode vec::push (and convert to method)
2012-09-26 18:02:07 -07:00
Niko Matsakis
267ab11cca
use + mode for (almost) everything when not using legacy modes
2012-09-25 12:47:35 -07:00
Brian Anderson
4a78f9b166
core: Demode option
2012-09-23 17:15:00 -07:00
Niko Matsakis
cfed923600
demode the each() method on vec and other iterables.
2012-09-19 17:03:01 -07:00
Brian Anderson
ea01ee2e9e
Convert 'use' to 'extern mod'. Remove old 'use' syntax
2012-09-11 19:25:43 -07:00
Jeff Olson
8e86cd0aa7
test: bunch of test cleanup from sendable_futures change
2012-09-08 14:22:16 -07:00