| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2015-01-06 | core: split into fmt::Show and fmt::String | Sean McArthur | -4/+9 | |
| fmt::Show is for debugging, and can and should be implemented for all public types. This trait is used with `{:?}` syntax. There still exists #[derive(Show)]. fmt::String is for types that faithfully be represented as a String. Because of this, there is no way to derive fmt::String, all implementations must be purposeful. It is used by the default format syntax, `{}`. This will break most instances of `{}`, since that now requires the type to impl fmt::String. In most cases, replacing `{}` with `{:?}` is the correct fix. Types that were being printed specifically for users should receive a fmt::String implementation to fix this. Part of #20013 [breaking-change] | ||||
| 2015-01-03 | sed -i -s 's/#\[deriving(/#\[derive(/g' **/*.rs | Jorge Aparicio | -2/+2 | |
| 2014-12-08 | librustc: Make `Copy` opt-in. | Niko Matsakis | -0/+2 | |
| This change makes the compiler no longer infer whether types (structures and enumerations) implement the `Copy` trait (and thus are implicitly copyable). Rather, you must implement `Copy` yourself via `impl Copy for MyType {}`. A new warning has been added, `missing_copy_implementations`, to warn you if a non-generic public type has been added that could have implemented `Copy` but didn't. For convenience, you may *temporarily* opt out of this behavior by using `#![feature(opt_out_copy)]`. Note though that this feature gate will never be accepted and will be removed by the time that 1.0 is released, so you should transition your code away from using it. This breaks code like: #[deriving(Show)] struct Point2D { x: int, y: int, } fn main() { let mypoint = Point2D { x: 1, y: 1, }; let otherpoint = mypoint; println!("{}{}", mypoint, otherpoint); } Change this code to: #[deriving(Show)] struct Point2D { x: int, y: int, } impl Copy for Point2D {} fn main() { let mypoint = Point2D { x: 1, y: 1, }; let otherpoint = mypoint; println!("{}{}", mypoint, otherpoint); } This is the backwards-incompatible part of #13231. Part of RFC #3. [breaking-change] | ||||
| 2014-11-17 | Switch to purely namespaced enums | Steven Fackler | -0/+1 | |
| This breaks code that referred to variant names in the same namespace as their enum. Reexport the variants in the old location or alter code to refer to the new locations: ``` pub enum Foo { A, B } fn main() { let a = A; } ``` => ``` pub use self::Foo::{A, B}; pub enum Foo { A, B } fn main() { let a = A; } ``` or ``` pub enum Foo { A, B } fn main() { let a = Foo::A; } ``` [breaking-change] | ||||
| 2014-11-16 | Move FromStr to core::str | Brendan Zabarauskas | -1/+1 | |
| 2014-10-23 | Error if we should be able to Valgrind but can't | Nick Cameron | -0/+4 | |
| 2014-10-23 | Add run-pass-valgrind tests | Nick Cameron | -0/+6 | |
| Closes #16914 | ||||
| 2014-10-08 | debuginfo: Add LLDB version handling to test infrastructure. | Michael Woerister | -0/+3 | |
| 2014-08-27 | debuginfo: Emit different autotest debugger scripts depending on GDB version. | Michael Woerister | -0/+3 | |
| 2014-08-01 | Fix misspelled comments. | Joseph Crail | -1/+1 | |
| 2014-05-30 | std: Rename {Eq,Ord} to Partial{Eq,Ord} | Alex Crichton | -1/+1 | |
| This is part of the ongoing renaming of the equality traits. See #12517 for more details. All code using Eq/Ord will temporarily need to move to Partial{Eq,Ord} or the Total{Eq,Ord} traits. The Total traits will soon be renamed to {Eq,Ord}. cc #12517 [breaking-change] | ||||
| 2014-05-24 | core: rename strbuf::StrBuf to string::String | Richo Healey | -11/+11 | |
| [breaking-change] | ||||
| 2014-05-20 | compiletest: Refactor compile-fail to regex. | Kevin Butler | -2/+4 | |
| 2014-05-16 | compiletest: Remove all uses of `~str` from `compiletest` | Patrick Walton | -11/+11 | |
| 2014-05-15 | core: Update all tests for fmt movement | Alex Crichton | -8/+8 | |
| 2014-05-15 | test: allow the test filter to be a regex. | Huon Wilson | -1/+2 | |
| This is fully backwards compatible, since test names are Rust identifiers + `:`, and hence not special regex characters. Fixes #2866. | ||||
| 2014-05-14 | Get rid of the android-cross-path flag to rustc. | Luqman Aden | -0/+3 | |
| There's no need to include this specific flag just for android. We can already deal with what it tries to solve by using -C linker=/path/to/cc and -C ar=/path/to/ar. The Makefiles for rustc already set this up when we're crosscompiling. I did add the flag to compiletest though so it can find gdb. Though, I'm pretty sure we don't run debuginfo tests on android anyways right now. [breaking-change] | ||||
| 2014-05-13 | compiletest: Modernize typenames | klutzy | -10/+43 | |
| 2014-05-07 | debuginfo: Split debuginfo autotests into debuginfo-gdb and debuginfo-lldb | Michael Woerister | -1/+5 | |
| 2014-03-31 | compiletest: Switch field privacy where necessary | Alex Crichton | -28/+28 | |
| 2014-02-13 | mk: Fix non-android cross builds. | Luqman Aden | -2/+5 | |
| 2014-01-17 | test: Add the ability to force a host target | Alex Crichton | -0/+3 | |
| The new macro loading infrastructure needs the ability to force a procedural-macro crate to be built with the host architecture rather than the target architecture (because the compiler is just about to dlopen it). | ||||
| 2014-01-04 | etc: licenseck: don't hardcode a specific year | Adrien Tétar | -2/+2 | |
| 2013-08-30 | auto merge of #8886 : cmr/rust/test-restructure, r=cmr | bors | -1/+1 | |
| 2013-08-30 | Revert "Teach compiletest to use multiple --src-base's" | Corey Richardson | -1/+1 | |
| This reverts commit 8a07f5708196dd72ec030018c2a215a4dd823b2e. | ||||
| 2013-08-30 | auto merge of #8839 : sanxiyn/rust/env, r=thestinger | bors | -3/+0 | |
| 2013-08-28 | Remove --newrt option | Seo Sanghyeon | -3/+0 | |
| 2013-08-28 | Teach compiletest to use multiple --src-base's | Corey Richardson | -1/+1 | |
| 2013-08-23 | test: add support for sharding testsuite by passing --test-shard=a.b | Graydon Hoare | -0/+5 | |
| 2013-07-17 | test: Fix tests. | Patrick Walton | -1/+2 | |
| 2013-07-16 | compiletest: Add support for metrics and ratchet modes. | Graydon Hoare | -0/+9 | |
| 2013-07-11 | initial sketch of codegen mode for compiletest; doesn't measure / compare / ↵ | Graydon Hoare | -0/+7 | |
| ratchet the disassembly yet | ||||
| 2013-07-04 | Bring compiletest/rustpkg/driver up to date on std vs core | Alex Crichton | -2/+0 | |
| 2013-05-22 | libextra: Rename the actual metadata names of libcore to libstd and libstd ↵ | Patrick Walton | -0/+2 | |
| to libextra | ||||
| 2013-05-04 | compiletest: remove --host and cleanup | Young-il Choi | -6/+3 | |
| 2013-05-02 | compiletest: configurable test dir for ARM | Young-il Choi | -1/+4 | |
| 2013-05-01 | compiletest: expanded to ARM test automation | Young-il Choi | -0/+12 | |
| 2013-04-27 | only use #[no_core] in libcore | Daniel Micay | -2/+0 | |
| 2013-03-25 | Merge remote-tracking branch 'brson/rt' | Brian Anderson | -0/+3 | |
| Conflicts: src/libcore/rt/context.rs src/libcore/rt/sched.rs src/libcore/rt/thread.rs src/libcore/rt/uv.rs | ||||
| 2013-03-22 | compiletest: replace uses of old deriving attribute with new one | Andrew Paseltiner | -1/+1 | |
| 2013-03-18 | Add a way to run the test suite with the new scheduler | Brian Anderson | -0/+3 | |
| TESTARGS=--newrt make check-stage1-rpass Conflicts: src/rt/rustrt.def.in | ||||
| 2013-03-04 | Remove unused imports throughout src/ | Alex Crichton | -2/+0 | |
| 2013-02-21 | Remove the last bits of structural records from tests/rustc/rusti/rustpkg. | Luqman Aden | -2/+2 | |
| 2013-02-09 | Add debug info tests | Brian Leibig | -2/+3 | |
| 2013-01-30 | librustdoc: De-export compiletest, combine-tests, libcargo, libfuzzer, and ↵ | Patrick Walton | -8/+7 | |
| librustdoc. rs=deexporting | ||||
| 2013-01-08 | librustc: Make unqualified identifier searches terminate at the nearest ↵ | Patrick Walton | -0/+2 | |
| module scope. r=tjc | ||||
| 2013-01-08 | Revert "librustc: Make unqualified identifier searches terminate at the ↵ | Patrick Walton | -2/+0 | |
| nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6. | ||||
| 2013-01-08 | librustc: Make unqualified identifier searches terminate at the nearest ↵ | Patrick Walton | -0/+2 | |
| module scope. r=tjc | ||||
| 2012-12-28 | Fix compiling compiletest. rs=fire | Erick Tryzelaar | -0/+2 | |
| 2012-12-03 | Update license, add license boilerplate to most files. Remainder will follow. | Graydon Hoare | -0/+10 | |
