| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-05-15 | auto merge of #6493 : brson/rust/tls, r=thestinger | bors | -4/+2 | |
| 2013-05-15 | auto merge of #6490 : brson/rust/rusti, r=brson | bors | -1/+1 | |
| 2013-05-15 | auto merge of #6487 : recrack/rust/vec_len, r=thestinger | bors | -134/+128 | |
| Rename vec::len(var) to var.len() ``` libcore, libfuzzer, librustc, librustdoc, libstd, libsyntax test/auxiliary test/bench test/run-pass ``` | ||||
| 2013-05-15 | auto merge of #6485 : cmr/rust/local_rename_import_error, r=catamorphism | bors | -13/+36 | |
| 2013-05-14 | auto merge of #6482 : catamorphism/rust/unsafe-fn-autoderef, r=catamorphism | bors | -4/+6 | |
| 2013-05-14 | auto merge of #6224 : erickt/rust/rustc-cleanup, r=erickt | bors | -588/+605 | |
| Just a couple minor cleanups and renames of librustc | ||||
| 2013-05-14 | auto merge of #6478 : dotdash/rust/inlining, r=catamorphism | bors | -0/+5 | |
| Not inlining these affects the hash table performance quite badly. | ||||
| 2013-05-14 | core: Fix leak in TLS. #6231 | Brian Anderson | -4/+2 | |
| 2013-05-14 | rustc: rename ty::method to ty::Method and add ctor | Erick Tryzelaar | -76/+108 | |
| 2013-05-14 | rustc: rename ast::self_ty and related fields to explicit_self | Erick Tryzelaar | -184/+184 | |
| 2013-05-14 | rustc: rename a method receiver type to rcvr_ty | Erick Tryzelaar | -18/+20 | |
| 2013-05-14 | syntax: add IterBytes impls for some ast types | Erick Tryzelaar | -0/+101 | |
| 2013-05-14 | rustc: rename some ty_self variables to self_arg | Erick Tryzelaar | -9/+9 | |
| 2013-05-14 | rustc: Remove ty::arg | Erick Tryzelaar | -302/+181 | |
| 2013-05-14 | rustc: minor cleanup | Erick Tryzelaar | -8/+11 | |
| 2013-05-14 | rusti: Ignore tests. Failing on i686. #6489 | Brian Anderson | -1/+1 | |
| 2013-05-15 | Rename vec::len(var) to var.len() | Youngmin Yoo | -134/+128 | |
| 2013-05-14 | auto merge of #6333 : bjz/rust/cond-macro, r=thestinger | bors | -29/+105 | |
| Addressing issue #6037, this Scheme-style conditional helps to improve code clarity in instances where the `if`, `else if`, and `else` keywords obscure predicates undesirably. Here is an example: ~~~rust let clamped = if x > mx { mx } else if x < mn { mn } else { x }; ~~~ Using `cond!`, the above could be written as: ~~~rust let clamped = cond!( (x > mx) { mx } (x < mn) { mn } _ { x } ); ~~~ The optional default case is denoted by `_`. I have altered `std::fun_treemap` to demonstrate it in use. I am definitely interested in using it for some of the numeric functions, but I will have to wait for it to reach `stage0` first. | ||||
| 2013-05-15 | Use parentheses for cond! macro instead of preceding pipes | Brendan Zabarauskas | -14/+14 | |
| This is temporary. Once the macro parser has improved or been re-written these can be removed. | ||||
| 2013-05-14 | Fix resolution tests | Corey Richardson | -2/+6 | |
| 2013-05-14 | Fix ICE | Corey Richardson | -5/+11 | |
| 2013-05-14 | Get span from import_directive | Corey Richardson | -1/+1 | |
| 2013-05-14 | Add span to some import resolution errors | Corey Richardson | -11/+13 | |
| 2013-05-14 | Add test for resolution errors | Corey Richardson | -1/+7 | |
| 2013-05-14 | Better error reporting with renaming imports | Corey Richardson | -1/+6 | |
| 2013-05-14 | auto merge of #6471 : gifnksm/rust/reform-rational, r=brson | bors | -84/+126 | |
| `std::ratio` module contains `BigRational` type, but the type is not usable by following reasons. * `Ratio::new` requires `T: Copy + Num + Ord`, but `BigInt` is not implicitly copyable, because it contains unique vector. * `BigInt` is not implements `Num` So, I rewrite `Ratio` as follows. * `Ratio` requires `T: Clone + Integer + Ord`. * `Copy` -> `Clone`: to be able to use `BigRational` * `Num` -> `Integer`: It is incorrect that a rational number constructed by two non-integer numbers. * `BigInt` implements `Num` and `Orderable` which are required by `Integer` bound | ||||
| 2013-05-14 | auto merge of #6468 : gifnksm/rust/rposition-immutable, r=brson | bors | -26/+26 | |
| `position` and `rposition` belonged to `ImmutableCopyableVector`, but they don't need the value is copyable. | ||||
| 2013-05-15 | Add Scheme-style `cond!` macro to syntax::ext::expand | Brendan Zabarauskas | -29/+105 | |
| Addresses issue #6037 | ||||
| 2013-05-14 | testsuite: Update and un-xfail unsafe-fn-autoderef | Tim Chevalier | -4/+6 | |
| 2013-05-14 | auto merge of #6479 : brson/rust/flatpipes, r=brson | bors | -0/+2 | |
| 2013-05-14 | Ignore two failing flatpipes tests | Brian Anderson | -0/+2 | |
| 2013-05-14 | Add inlining for iter_bytes for types used as hashmap keys | Björn Steinbrink | -0/+5 | |
| Not inlining these affects the hash table performance quite badly. | ||||
| 2013-05-14 | Fix rustpkg tests now that they're in a different location | Alex Crichton | -3/+3 | |
| 2013-05-14 | Don't emit common warnings in rusti | Alex Crichton | -1/+1 | |
| 2013-05-14 | Add regression tests for various other rusti issues | Alex Crichton | -16/+17 | |
| 2013-05-14 | Fix `use` statements with rusti | Alex Crichton | -1/+2 | |
| 2013-05-14 | Get unit tests for rusti working | Alex Crichton | -3/+50 | |
| * They didn't work before, because the location of the tests caused the 'sysroot' option to crate lookup to be wrong for finding the correct stage's core/std libraries. This moves the compiled tests from the $host/test directory into a $host/$stage/test directory. This means that the sysroot will be correct and the core/std libraries can actually be found * The LLVM bindings apparently aren't threadsafe, so we can't run multiple tests in parallel. | ||||
| 2013-05-14 | Fix test fallout from removing vecs_implicitly_copyable | Alex Crichton | -62/+52 | |
| 2013-05-14 | Remove vecs_implicitly_copyable from the compiler | Alex Crichton | -18/+1 | |
| 2013-05-14 | rusti: Remove #[allow(vecs_implicitly_copyable)] | Alex Crichton | -43/+43 | |
| 2013-05-14 | syntax: Remove #[allow(vecs_implicitly_copyable)] | Alex Crichton | -236/+239 | |
| 2013-05-14 | compiletest: Remove #[allow(vecs_implicitly_copyable)] | Alex Crichton | -217/+220 | |
| 2013-05-14 | rustpkg: Remove #[allow(vecs_implicitly_copyable)] | Alex Crichton | -105/+98 | |
| 2013-05-14 | Fix cosmetics for fail!() calls | Marvin Löbel | -63/+47 | |
| 2013-05-14 | Use static string with fail!() and remove fail!(fmt!()) | Björn Steinbrink | -554/+540 | |
| 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-14 | libstd: Add tests for BigRational | gifnksm | -20/+56 | |
| 2013-05-14 | libstd: `Ratio` requires `Clone` instead of `Copy` | gifnksm | -23/+28 | |
| This allows creating `Ratio<T>` which `T` is non-implicitly copyable types such as `BigInt`. | ||||
| 2013-05-14 | libstd: `Rational` requires `Integer` as type bounds instead of `Num` | gifnksm | -53/+14 | |
| 2013-05-14 | libstd: impl `Orderable` for `BigUint`/`BigInt` | gifnksm | -1/+37 | |
| 2013-05-14 | libstd: impl Num for BigUint/BigInt | gifnksm | -0/+4 | |
