| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-09-19 | Replace unreachable() calls with unreachable!(). | Chris Morgan | -2/+2 | |
| This is the second of two parts of #8991, now possible as a new snapshot has been made. (The first part implemented the unreachable!() macro; it was #8992, 6b7b8f2682.) ``std::util::unreachable()`` is removed summarily; any code which used it should now use the ``unreachable!()`` macro. Closes #9312. Closes #8991. | ||||
| 2013-09-01 | Modernized a few type names in rustc and syntax | Marvin Löbel | -12/+12 | |
| 2013-08-12 | fix build with the new snapshot compiler | Daniel Micay | -13/+0 | |
| 2013-08-10 | syntax and rustc: fix some warnings | Erick Tryzelaar | -1/+1 | |
| 2013-08-10 | std: Rename Iterator.transform -> .map | Erick Tryzelaar | -3/+3 | |
| cc #5898 | ||||
| 2013-08-09 | auto merge of #8176 : catamorphism/rust/rustpkg-extern-mod, r=catamorphism | bors | -113/+4 | |
| r? @graydon Also, notably, make rustpkgtest depend on the rustpkg executable (otherwise, tests that shell out to rustpgk might run when rustpkg doesn't exist). | ||||
| 2013-08-09 | std/rustc/rustpkg/syntax: Support the `extern mod = ...` form | Tim Chevalier | -113/+4 | |
| This commit allows you to write: extern mod x = "a/b/c"; which means rustc will search in the RUST_PATH for a package with ID a/b/c, and bind it to the name `x` if it's found. Incidentally, move get_relative_to from back::rpath into std::path | ||||
| 2013-08-08 | env! syntax extension changes | Steven Fackler | -0/+9 | |
| env! aborts compilation of the specified environment variable is not defined and takes an optional second argument containing a custom error message. option_env! creates an Option<&'static str> containing the value of the environment variable. There are no run-pass tests that check the behavior when the environment variable is defined since the test framework doesn't support setting environment variables at compile time as opposed to runtime. However, both env! and option_env! are used inside of rustc itself, which should act as a sufficient test. Close #2248 | ||||
| 2013-08-03 | remove obsolete `foreach` keyword | Daniel Micay | -4/+4 | |
| this has been replaced by `for` | ||||
| 2013-08-02 | replace `range` with an external iterator | Daniel Micay | -2/+1 | |
| 2013-08-01 | migrate many `for` loops to `foreach` | Daniel Micay | -3/+3 | |
| 2013-07-17 | librustc: Remove all uses of "copy". | Patrick Walton | -1/+1 | |
| 2013-07-08 | Replaces the free-standing functions in f32, &c. | Jens Nockert | -1/+2 | |
| The free-standing functions in f32, f64, i8, i16, i32, i64, u8, u16, u32, u64, float, int, and uint are replaced with generic functions in num instead. If you were previously using any of those functions, just replace them with the corresponding function with the same name in num. Note: If you were using a function that corresponds to an operator, use the operator instead. | ||||
| 2013-06-30 | Remove vec::{map, mapi, zip_map} and the methods, except for .map, since this | Huon Wilson | -5/+3 | |
| is very common, and the replacement (.iter().transform().collect()) is very ugly. | ||||
| 2013-06-29 | Great renaming: propagate throughout the rest of the codebase | Corey Richardson | -9/+7 | |
| 2013-06-27 | Convert vec::[mut_]slice to methods, remove vec::const_slice. | Huon Wilson | -1/+1 | |
| 2013-06-23 | vec: remove BaseIter implementation | Daniel Micay | -3/+3 | |
| 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-21 | auto merge of #7219 : sstewartgallus/rust/cleanup, r=graydon | bors | -9/+6 | |
| 2013-06-21 | Remove all #[cfg(stage0)]-protected code | James Miller | -13/+0 | |
| New snapshot means this can all go. Also removes places that have comments that say they are workarounds for stage0 errors. | ||||
| 2013-06-18 | Cleanup src/librustc/back | Steven Stewart-Gallus | -9/+6 | |
| 2013-06-17 | Revert "stop using an absolute rpath" | Brian Anderson | -1/+26 | |
| This reverts commit 708395d65d689080cc96dd091adab3fc4c5c3f27. | ||||
| 2013-06-16 | remove unused imports | Huon Wilson | -3/+0 | |
| 2013-06-15 | stop using an absolute rpath | Daniel Micay | -25/+1 | |
| This is a bad default, because the binaries will point at an absolute path regardless of where they are moved. This opens up a security issue for packages, because they will attempt to load libraries from a path that's often owned by a regular user. Every Rust binary is currently flagged by Debian, Fedora and Arch lint checkers as having dangerous rpaths. They don't meet the requirements to be placed in the repositories without manually stripping this from each binary. The relative rpath is still enough to keep the binaries working until they are moved relative to the crates they're linked against. http://wiki.debian.org/RpathIssue https://fedoraproject.org/wiki/Packaging:Guidelines#Beware_of_Rpath | ||||
| 2013-06-11 | std: replace str::{starts,ends}_with with the method. | Huon Wilson | -1/+1 | |
| 2013-06-01 | rustc: Call str::is_empty | Tim Chevalier | -1/+1 | |
| 2013-05-29 | librustc: Stop reexporting the standard modules from prelude. | Patrick Walton | -1/+11 | |
| 2013-05-28 | Silence various warnings throughout test modules | Alex Crichton | -8/+14 | |
| 2013-05-23 | cleanup warnings from librustc | Erick Tryzelaar | -6/+6 | |
| 2013-05-22 | librustc: Add some missing `use core::prelude::*;` in the test cases | Patrick Walton | -0/+2 | |
| 2013-05-22 | libextra: Rename the actual metadata names of libcore to libstd and libstd ↵ | Patrick Walton | -0/+2 | |
| to libextra | ||||
| 2013-05-20 | Remove all unnecessary allocations (as flagged by lint) | Alex Crichton | -3/+3 | |
| 2013-05-19 | Use assert_eq! rather than assert! where possible | Corey Richardson | -15/+15 | |
| 2013-05-15 | Rename vec::len(var) to var.len() | Youngmin Yoo | -2/+2 | |
| 2013-05-14 | Use static string with fail!() and remove fail!(fmt!()) | Björn Steinbrink | -1/+1 | |
| 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-03 | rustpkg: Handle sysroot more correctly | Tim Chevalier | -1/+1 | |
| In rustpkg, pass around sysroot; in rustpkg tests, set the sysroot manually so that tests can find libcore and such. With bonus metadata::filesearch refactoring to avoid copies. | ||||
| 2013-04-27 | only use #[no_core] in libcore | Daniel Micay | -6/+0 | |
| 2013-04-16 | libcore,std,syntax,rustc: move tests into `mod tests`, make them private (no ↵ | Huon Wilson | -17/+17 | |
| pub mod or pub fn). | ||||
| 2013-04-03 | rename Linear{Map,Set} => Hash{Map,Set} | Daniel Micay | -2/+2 | |
| 2013-04-03 | hashmap: rm linear namespace | Daniel Micay | -1/+1 | |
| 2013-03-29 | librustc: Remove `fail_unless!` | Patrick Walton | -22/+22 | |
| 2013-03-22 | librustc: Remove `pure` from libsyntax and librustc. | Patrick Walton | -1/+1 | |
| 2013-03-20 | rustc: Remove some bad copies throughout | Alex Crichton | -4/+4 | |
| 2013-03-07 | librustc: Convert all uses of `assert` over to `fail_unless!` | Patrick Walton | -22/+22 | |
| 2013-03-04 | Adding missing imports for tests, and gate off others | Alex Crichton | -0/+2 | |
| 2013-03-04 | Add a special FIXME for subduing warnings in rpath.rs | Alex Crichton | -1/+6 | |
| 2013-03-04 | Remove unused imports throughout src/ | Alex Crichton | -4/+0 | |
| 2013-02-14 | Convert all uses of vec::slice to vec::view Issue #3869 | Nick Desaulniers | -1/+1 | |
| Rename const_view to const_slice Renamed mut_view to mut_slice | ||||
| 2013-02-13 | Remove die!, raplace invocations with fail! Issue #4524 pt 3 | Nick Desaulniers | -1/+1 | |
| 2013-02-08 | librustc/back/rpath.rs: oldmap -> LinearSet | Daniel Micay | -8/+5 | |
| 2013-02-08 | oldmap: get rid of legacy _ref suffixes | Daniel Micay | -1/+1 | |
