Permalink
Branch: master
Commits on Nov 25, 2014
  1. Add tests for issue 19244

    aochagavia committed Nov 25, 2014
Commits on Nov 23, 2014
  1. Add test

    aochagavia committed Nov 23, 2014
  2. libsyntax: Forbid type parameters in tuple indices

    aochagavia committed Nov 22, 2014
    This breaks code like
    
    ```
    let t = (42i, 42i);
    ... t.0::<int> ...;
    ```
    
    Change this code to not contain an unused type parameter. For example:
    
    ```
    let t = (42i, 42i);
    ... t.0 ...;
    ```
    
    Closes #19096
    
    [breaking-change]
Commits on Nov 22, 2014
  1. Add test

    aochagavia committed Nov 22, 2014
  2. Fix pretty printing unsafe match arms

    aochagavia committed Nov 22, 2014
Commits on Oct 28, 2014
  1. Remove unnecessary clone in ascii.rs

    aochagavia committed Oct 28, 2014
  2. Add ptr::RawMutPtr to prelude

    aochagavia committed Oct 28, 2014
    Closes #18196
Commits on Oct 27, 2014
  1. Add test for issue 18343

    aochagavia committed Oct 27, 2014
  2. Fix undefined behavior in std::ascii

    aochagavia committed Oct 27, 2014
    Closes #18314
Commits on Oct 26, 2014
  1. Implement Show for `Arc<T>`

    aochagavia committed Oct 26, 2014
    Fixes #18299
Commits on Jul 24, 2014
  1. Add a null pointer check to CString::new

    aochagavia authored and alexcrichton committed Jul 22, 2014
    This also removes checks in other methods of `CString`
    
    Breaking changes:
    * `CString::new` now fails if `buf` is null. To avoid this add a check
    before creatng a new `CString` .
    * The `is_null` and `is_not_null` methods are deprecated, because a
    `CString` cannot be null.
    * Other methods which used to fail if the `CString` was null do not fail anymore
    
    [breaking-change]
  2. Implement Show for CString

    aochagavia authored and alexcrichton committed Jul 21, 2014
    We use use `from_utf8_lossy` to convert it to a MaybeOwned string, to
    avoid failing in case the CString contains invalid UTF-8
  3. Add `string::raw::from_buf`

    aochagavia authored and alexcrichton committed Jul 22, 2014
  4. Fix travis errors

    aochagavia authored and alexcrichton committed Jul 22, 2014
  5. Deprecated `String::from_raw_parts`

    aochagavia authored and alexcrichton committed Jul 21, 2014
    Replaced by `string::raw::from_parts`
    
    [breaking-change]
  6. Deprecated `str::raw::from_buf_len`

    aochagavia authored and alexcrichton committed Jul 20, 2014
    Replaced by `string::raw::from_buf_len`
    
    [breaking-change]
  7. Deprecated `str::raw::from_byte`

    aochagavia authored and alexcrichton committed Jul 19, 2014
    Use `string:raw::from_utf8` instead
    
    [breaking-change]
  8. Deprecated `str::raw::from_utf8_owned`

    aochagavia authored and alexcrichton committed Jul 19, 2014
    Replaced by `string::raw::from_utf8`
    
    [breaking-change]
  9. Deprecated `str::raw::from_c_str`

    aochagavia authored and alexcrichton committed Jul 19, 2014
    Use `string::raw::from_buf` instead
    
    [breaking-change]
  10. Remove OwnedStr trait

    aochagavia authored and alexcrichton committed Jul 19, 2014
    This trait was only implemented by `String`. It provided the methods
    `into_bytes` and `append`, both of which **are already implemented as normal
    methods** of `String` (not as trait methods). This change improves the
    consistency of strings.
    
    This shouldn't break any code, except if somebody has implemented
    `OwnedStr` for a user-defined type.
Commits on Jul 22, 2014
  1. Remove misleading code example from The Guide

    aochagavia committed Jul 22, 2014
    The removed code caused confusion because it is not clear that the type of `y` is actually `()`
Commits on Jul 17, 2014
  1. Rename functions in the CloneableVector trait

    aochagavia committed Jul 16, 2014
    * Deprecated `to_owned` in favor of `to_vec`
    * Deprecated `into_owned` in favor of `into_vec`
    
    [breaking-change]
Commits on Jul 15, 2014
  1. Fix errors

    aochagavia committed Jul 4, 2014
  2. Deprecate `str::from_utf8_lossy`

    aochagavia committed Jul 10, 2014
    Use `String::from_utf8_lossy` instead
    
    [breaking-change]
  3. Deprecate `str::from_utf16_lossy`

    aochagavia committed Jul 10, 2014
    Use `String::from_utf16_lossy` instead.
    
    [breaking-change]
  4. Deprecate `str::from_utf16`

    aochagavia committed Jul 10, 2014
    Use `String::from_utf16` instead
    
    [breaking-change]
  5. Deprecate str::from_byte

    aochagavia committed Jul 4, 2014
    Replaced by `String::from_byte`
    
    [breaking-change]
  6. Deprecate `str::from_char`

    aochagavia committed Jul 4, 2014
    Use `String::from_char` or `.to_str` instead
    
    [breaking-change]
  7. Deprecate `str::from_chars`

    aochagavia committed Jul 4, 2014
    Use `String::from_chars` instead
    
    [breaking-change]
  8. Deprecate `str::from_utf8_owned`

    aochagavia committed Jun 30, 2014
    Use `String::from_utf8` instead
    
    [breaking-change]
Commits on Jul 5, 2014
  1. Improved example in the Guide

    aochagavia committed Jul 5, 2014
    Fixes #15452