Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 23, 2015
  1. @brson
Commits on Feb 16, 2015
  1. @nagisa

    Replace some uses of deprecated os functions

    nagisa authored
    This commit mostly replaces some of the uses of os::args with env::args.
Commits on Feb 5, 2015
  1. @japaric
Commits on Jan 29, 2015
  1. @japaric

    `for x in range(a, b)` -> `for x in a..b`

    japaric authored
    sed -i 's/in range(\([^,]*\), *\([^()]*\))/in \1\.\.\2/g' **/*.rs
  2. @japaric

    `range(a, b).foo()` -> `(a..b).foo()`

    japaric authored
    sed -i 's/ range(\([^,]*\), *\([^()]*\))\./ (\1\.\.\2)\./g' **/*.rs
Commits on Jan 8, 2015
  1. @tshepang
Commits on Jan 4, 2015
  1. @alexcrichton

    Remove deprecated functionality

    alexcrichton authored
    This removes a large array of deprecated functionality, regardless of how
    recently it was deprecated. The purpose of this commit is to clean out the
    standard libraries and compiler for the upcoming alpha release.
    
    Some notable compiler changes were to enable warnings for all now-deprecated
    command line arguments (previously the deprecated versions were silently
    accepted) as well as removing deriving(Zero) entirely (the trait was removed).
    
    The distribution no longer contains the libtime or libregex_macros crates. Both
    of these have been deprecated for some time and are available externally.
Commits on Jan 2, 2015
  1. @alexcrichton

    std: Stabilize the prelude module

    alexcrichton authored
    This commit is an implementation of [RFC 503][rfc] which is a stabilization
    story for the prelude. Most of the RFC was directly applied, removing reexports.
    Some reexports are kept around, however:
    
    * `range` remains until range syntax has landed to reduce churn.
    * `Path` and `GenericPath` remain until path reform lands. This is done to
      prevent many imports of `GenericPath` which will soon be removed.
    * All `io` traits remain until I/O reform lands so imports can be rewritten all
      at once to `std::io::prelude::*`.
    
    This is a breaking change because many prelude reexports have been removed, and
    the RFC can be consulted for the exact list of removed reexports, as well as to
    find the locations of where to import them.
    
    [rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0503-prelude-stabilization.md
    [breaking-change]
    
    Closes #20068
Commits on Dec 18, 2014
  1. @Gankro

    s/Tree/BTree

    Gankro authored
Commits on Dec 13, 2014
  1. @japaric

    Fix benches

    japaric authored
Commits on Nov 12, 2014
  1. @alexcrichton

    time: Deprecate the library in the distribution

    alexcrichton authored
    This commit deprecates the entire libtime library in favor of the
    externally-provided libtime in the rust-lang organization. Users of the
    `libtime` crate as-is today should add this to their Cargo manifests:
    
        [dependencies.time]
        git = "https://github.com/rust-lang/time"
    
    To implement this transition, a new function `Duration::span` was added to the
    `std::time::Duration` time. This function takes a closure and then returns the
    duration of time it took that closure to execute. This interface will likely
    improve with `FnOnce` unboxed closures as moving in and out will be a little
    easier.
    
    Due to the deprecation of the in-tree crate, this is a:
    
    [breaking-change]
    
    cc #18855, some of the conversions in the `src/test/bench` area may have been a
    little nicer with that implemented
Commits on Nov 6, 2014
  1. @Gankro
Commits on Nov 1, 2014
  1. @alexcrichton

    collections: Remove all collections traits

    alexcrichton authored
    As part of the collections reform RFC, this commit removes all collections
    traits in favor of inherent methods on collections themselves. All methods
    should continue to be available on all collections.
    
    This is a breaking change with all of the collections traits being removed and
    no longer being in the prelude. In order to update old code you should move the
    trait implementations to inherent implementations directly on the type itself.
    
    Note that some traits had default methods which will also need to be implemented
    to maintain backwards compatibility.
    
    [breaking-change]
    cc #18424
Commits on Aug 26, 2014
  1. @nrc
Commits on Jun 5, 2014
  1. @alexcrichton
Commits on May 22, 2014
  1. @pcwalton

    libcore: Remove all uses of `~str` from `libcore`.

    pcwalton authored
    [breaking-change]
Commits on May 8, 2014
  1. @kballard
Commits on Apr 18, 2014
  1. @alexcrichton
Commits on Mar 20, 2014
  1. @thestinger

    rename std::vec -> std::slice

    thestinger authored
    Closes #12702
Commits on Mar 12, 2014
  1. @huonw
Commits on Feb 23, 2014
  1. @alexcrichton

    Move std::{trie, hashmap} to libcollections

    alexcrichton authored
    These two containers are indeed collections, so their place is in
    libcollections, not in libstd. There will always be a hash map as part of the
    standard distribution of Rust, but by moving it out of the standard library it
    makes libstd that much more portable to more platforms and environments.
    
    This conveniently also removes the stuttering of 'std::hashmap::HashMap',
    although 'collections::HashMap' is only one character shorter.
Commits on Feb 21, 2014
  1. @Arcterus
Commits on Feb 15, 2014
  1. @alexcrichton

    extern mod => extern crate

    alexcrichton authored
    This was previously implemented, and it just needed a snapshot to go through
Commits on Feb 7, 2014
  1. @HeroesGrave
Commits on Jan 23, 2014
  1. @mankyKitty

    Update flip() to be rev().

    mankyKitty authored
    Consensus leaned in favour of using rev instead of flip.
  2. @mankyKitty

    Rename Invert to Flip - Issue 10632

    mankyKitty authored
    Renamed the invert() function in iter.rs to flip().
    
    Also renamed the Invert<T> type to Flip<T>.
    
    Some related code comments changed. Documentation that I could find has
    been updated, and all the instances I could locate where the
    function/type were called have been updated as well.
Commits on Jan 10, 2014
  1. @bjz

    Remove re-exports of std::io::stdio::{print, println} in the prelude.

    bjz authored
    The `print!` and `println!` macros are now the preferred method of printing, and so there is no reason to export the `stdio` functions in the prelude. The functions have also been replaced by their macro counterparts in the tutorial and other documentation so that newcomers don't get confused about what they should be using.
Commits on Nov 26, 2013
  1. @pcwalton
  2. @pcwalton
Commits on Nov 11, 2013
  1. @alexcrichton

    Remove #[fixed_stack_segment] and #[rust_stack]

    alexcrichton authored
    These two attributes are no longer useful now that Rust has decided to leave
    segmented stacks behind. It is assumed that the rust task's stack is always
    large enough to make an FFI call (due to the stack being very large).
    
    There's always the case of stack overflow, however, to consider. This does not
    change the behavior of stack overflow in Rust. This is still normally triggered
    by the __morestack function and aborts the whole process.
    
    C stack overflow will continue to corrupt the stack, however (as it did before
    this commit as well). The future improvement of a guard page at the end of every
    rust stack is still unimplemented and is intended to be the mechanism through
    which we attempt to detect C stack overflow.
    
    Closes #8822
    Closes #10155
Commits on Oct 24, 2013
  1. @alexcrichton

    Remove even more of std::io

    alexcrichton authored
    Big fish fried here:
    
        extra::json
        most of the compiler
        extra::io_util removed
        extra::fileinput removed
    
    Fish left to fry
    
        extra::ebml
Commits on Oct 9, 2013
  1. @huonw

    std::rand: Add a trait for seeding RNGs: SeedableRng.

    huonw authored
    This provides 2 methods: .reseed() and ::from_seed that modify and
    create respecitively.
    
    Implement this trait for the RNGs in the stdlib for which this makes
    sense.
  2. @huonw

    std::rand: Add an implementation of ISAAC64.

    huonw authored
    This is 2x faster on 64-bit computers at generating anything larger
    than 32-bits.
    
    It has been verified against the canonical C implementation from the
    website of the creator of ISAAC64.
    
    Also, move `Rng.next` to `Rng.next_u32` and add `Rng.next_u64` to
    take full advantage of the wider word width; otherwise Isaac64 will
    always be squeezed down into a u32 wasting half the entropy and
    offering no advantage over the 32-bit variant.
Commits on Sep 27, 2013
  1. @alexcrichton
Commits on Sep 15, 2013
  1. Remove {uint,int,u64,i64,...}::from_str,from_str_radix

    blake2-ppc authored
    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.
Something went wrong with that request. Please try again.