summary refs log tree commit diff
path: root/src/libextra/num
AgeCommit message (Collapse)AuthorLines
2013-06-30Remove vec::{map, mapi, zip_map} and the methods, except for .map, since thisHuon Wilson-5/+5
is very common, and the replacement (.iter().transform().collect()) is very ugly.
2013-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-31/+25
2013-06-28libextra: Fix even more merge fallout.Patrick Walton-2/+0
2013-06-28librustc: Remove the broken overloaded assign-ops from the language.Patrick Walton-2/+2
They evaluated the receiver twice. They should be added back with `AddAssign`, `SubAssign`, etc., traits.
2013-06-28librustc: Disallow "mut" from distributing over bindings.Patrick Walton-2/+6
This is the backwards-incompatible part of per-binding-site "mut".
2013-06-27Convert vec::[mut_]slice to methods, remove vec::const_slice.Huon Wilson-9/+8
2013-06-23vec: remove BaseIter implementationDaniel Micay-28/+32
I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway.
2013-06-21vec: rm old_iter implementations, except BaseIterDaniel Micay-4/+4
The removed test for issue #2611 is well covered by the `std::iterator` module itself. This adds the `count` method to `IteratorUtil` to replace `EqIter`.
2013-06-21Remove all #[cfg(stage0)]-protected codeJames Miller-2/+0
New snapshot means this can all go. Also removes places that have comments that say they are workarounds for stage0 errors.
2013-06-18xfail std::num::complex::test_norm on x86, r=burningtree.Graydon Hoare-0/+2
2013-06-18replace #[inline(always)] with #[inline]. r=burningtree.Graydon Hoare-7/+7
2013-06-14add IteratorUtil to the preludeDaniel Micay-2/+0
2013-06-13Revert "std: convert {vec,str}::to_owned to methods."Brian Anderson-1/+1
This fixes the strange random crashes in compile-fail tests. This reverts commit 96cd61ad034cc9e88ab6a7845c3480dbc1ea62f3. Conflicts: src/librustc/driver/driver.rs src/libstd/str.rs src/libsyntax/ext/quote.rs
2013-06-12std: generalise .trim_chars to use CharEq.Huon Wilson-1/+1
2013-06-12std: unify the str -> [u8] functions as 3 methods: .as_bytes() and ↵Huon Wilson-2/+2
.as_bytes_with_null[_consume](). The first acts on &str and is not nul-terminated, the last two act on strings that are always null terminated (&'static str, ~str and @str).
2013-06-12std: convert {vec,str}::to_owned to methods.Huon Wilson-1/+1
2013-06-11extra: implement .norm(), and Polar conversion functions for complex numbers.Huon Wilson-14/+63
Also, convert complex to use Clone, rather than Copy. Fixes #5734 and #5735.
2013-06-10std: remove str::{connect,concat}*.Huon Wilson-2/+2
2013-06-10std: convert str::trim* to methods.Huon Wilson-1/+1
2013-06-10std: replace str::each_split* with an iteratorHuon Wilson-12/+3
2013-06-09std: add reverse vec iterators, replace vec::each*_reverse.Huon Wilson-9/+6
2013-06-04librustc: Disallow multiple patterns from appearing in a "let" declaration.Patrick Walton-5/+5
You can still initialize multiple variables at once with "let (x, y) = (1, 2)".
2013-06-01Remove all uses of `pub impl`. rs=stylePatrick Walton-4/+4
2013-05-30libextra: Require documentation by defaultAlex Crichton-2/+6
2013-05-29Remove all of the `#[inline(always)]` attributes from bigintJames Miller-112/+112
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-2/+18
2013-05-23cleanup warnings from libextraErick Tryzelaar-9/+9
2013-05-22test: Update tests and import the prelude in some more places.Patrick Walton-0/+6
2013-05-22libextra: Rename the actual metadata names of libcore to libstd and libstd ↵Patrick Walton-0/+6
to libextra
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-0/+2861
This only changes the directory names; it does not change the "real" metadata names.