about summary refs log tree commit diff
path: root/src/libstd/sort.rs
AgeCommit message (Collapse)AuthorLines
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-1221/+0
This only changes the directory names; it does not change the "real" metadata names.
2013-05-19Register snapshotsBrian Anderson-20/+0
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-12/+12
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-7/+7
fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself.
2013-05-10Stop using the '<->' operatorAlex Crichton-29/+30
2013-05-10Move core::task::local_data to core::local_dataYoungsoo Son-2/+2
2013-05-09libstd: rename vec::each(var) to var.eachYoungmin Yoo-1/+1
2013-05-08libcore: Fix tests.Patrick Walton-6/+8
2013-05-05Merge remote-tracking branch 'mozilla/incoming' into issue-5910-dyna-freezeNiko Matsakis-8/+0
Conflicts: src/libcore/core.rc src/libcore/hashmap.rs src/libcore/num/f32.rs src/libcore/num/f64.rs src/libcore/num/float.rs src/libcore/num/int-template.rs src/libcore/num/num.rs src/libcore/num/strconv.rs src/libcore/num/uint-template.rs src/libcore/ops.rs src/libcore/os.rs src/libcore/prelude.rs src/libcore/rt/mod.rs src/libcore/unstable/lang.rs src/librustc/driver/session.rs src/librustc/middle/astencode.rs src/librustc/middle/borrowck/check_loans.rs src/librustc/middle/borrowck/gather_loans.rs src/librustc/middle/borrowck/loan.rs src/librustc/middle/borrowck/preserve.rs src/librustc/middle/liveness.rs src/librustc/middle/mem_categorization.rs src/librustc/middle/region.rs src/librustc/middle/trans/base.rs src/librustc/middle/trans/inline.rs src/librustc/middle/trans/reachable.rs src/librustc/middle/typeck/check/_match.rs src/librustc/middle/typeck/check/regionck.rs src/librustc/util/ppaux.rs src/libstd/arena.rs src/libstd/ebml.rs src/libstd/json.rs src/libstd/serialize.rs src/libstd/std.rc src/libsyntax/ast_map.rs src/libsyntax/parse/parser.rs src/test/compile-fail/borrowck-uniq-via-box.rs src/test/compile-fail/regions-infer-borrow-scope-within-loop.rs src/test/run-pass/borrowck-nested-calls.rs
2013-05-02Remove 'Local Variable' commentsBrendan Zabarauskas-8/+0
2013-05-01correct incorrect handling of overloaded operators, exposing various other ↵Niko Matsakis-45/+52
bits of rot
2013-04-30allover: numerous unused muts etcNiko Matsakis-1/+0
2013-04-30new borrow checker (mass squash)Niko Matsakis-21/+49
2013-04-27only use #[no_core] in libcoreDaniel Micay-4/+0
2013-04-24Fixed typo... And a billion other things.Marvin Löbel-2/+2
2013-04-24Removed ascii functions from other modulesMarvin Löbel-2/+6
Replaced str::to_lowercase and str::to_uppercase
2013-04-24libcore: unify `gen_<type>` methods on `rand::RngUtil` into the generic `gen`.Huon Wilson-24/+11
This moves all the basic random value generation into the Rand instances for each type and then removes the `gen_int`, `gen_char` (etc) methods on RngUtil, leaving only the generic `gen` and the more specialised methods. Also, removes some imports that are redundant due to a `use core::prelude::*` statement.
2013-04-24libcore: remove @Rng from rand, and use traits instead.Huon Wilson-5/+5
Also, rename RandRes -> IsaacRng, and make the constructors static methods.
2013-04-20std: remove unused 'mut' variablesAlex Crichton-2/+2
2013-04-16libcore,std,syntax,rustc: move tests into `mod tests`, make them private (no ↵Huon Wilson-9/+9
pub mod or pub fn).
2013-04-08Removing no longer needed unsafe blocksAlex Crichton-19/+11
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-34/+34
2013-03-28Removing unused importsAlex Crichton-1/+1
2013-03-26librustc: Modify all code to use new lifetime binder syntaxPatrick Walton-7/+7
2013-03-26libcore: Change `[const T]` to `const [T]` everywherePatrick Walton-11/+18
2013-03-26Remove unused imports throughoutAlex Crichton-4/+0
2013-03-22librustc: Add explicit lifetime binders and new lifetime notation in ↵Patrick Walton-6/+6
core/std/syntax/rustc
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-3/+3
2013-03-22libstd: Remove all uses of `pure` from libstd. rs=depurePatrick Walton-21/+21
2013-03-21librustc: Forbid destructors from being attached to any structs that might ↵Patrick Walton-0/+1
contain non-Owned fields. r=nmatsakis
2013-03-18librustc: Make the compiler ignore purity.Patrick Walton-9/+24
For bootstrapping purposes, this commit does not remove all uses of the keyword "pure" -- doing so would cause the compiler to no longer bootstrap due to some syntax extensions ("deriving" in particular). Instead, it makes the compiler ignore "pure". Post-snapshot, we can remove "pure" from the language. There are quite a few (~100) borrow check errors that were essentially all the result of mutable fields or partial borrows of `@mut`. Per discussions with Niko I think we want to allow partial borrows of `@mut` but detect obvious footguns. We should also improve the error message when `@mut` is erroneously reborrowed.
2013-03-18librustc: Convert all uses of old lifetime notation to new lifetime ↵Patrick Walton-8/+8
notation. rs=delifetiming
2013-03-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-0/+2
2013-03-11Remove uses of logBrian Anderson-4/+4
2013-03-08std: Remove uses of DVecAlex Crichton-54/+46
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-34/+34
2013-03-06Add manual &self/ and &static/ and /&self declarations thatNiko Matsakis-6/+5
are currently inferred. New rules are coming that will require them to be explicit. All add some explicit self declarations.
2013-02-28librustc: Mark all type implementations public. rs=impl-publicityPatrick Walton-1/+1
2013-02-27libsyntax: Forbid mutable vectors. rs=demutingPatrick Walton-4/+2
2013-02-20librustc: Separate most trait bounds with '+'. rs=plussingPatrick Walton-16/+16
2013-02-15auto merge of #4969 : nickdesaulniers/rust/issue3869, r=brsonbors-13/+15
Issue #3869 review? @nikomatsakis Convert all uses of vec::slice to vec::view Issue #3869 Rename const_view to const_slice Renamed mut_view to mut_slice Fix windows build error. `buf` is borrowed by the call to `as_mut_buf()` and so we must invoke `slice()` outside of that call.
2013-02-15libstd: Get rid of `move`.Luqman Aden-9/+9
2013-02-14Convert all uses of vec::slice to vec::view Issue #3869Nick Desaulniers-13/+15
Rename const_view to const_slice Renamed mut_view to mut_slice
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-5/+5
rs=implflipping
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-7/+7
2013-02-13RIMOV core::vecBen Striegel-2/+2
Also remove as many uses as possible of vec::cast_to_mut and cast_from_mut
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-8/+6
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-02-04Merge remote-tracking branch 'bstrie/rimov' into incomingBrian Anderson-55/+55
Conflicts: src/libsyntax/parse/parser.rs src/test/bench/graph500-bfs.rs src/test/bench/sudoku.rs src/test/run-pass/borrowck-mut-vec-as-imm-slice.rs src/test/run-pass/empty-mutable-vec.rs src/test/run-pass/foreach-nested.rs src/test/run-pass/swap-2.rs
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-7/+7
2013-01-30Repair RIMOV damage to libstd testsBen Striegel-9/+9