| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-09-19 | Turned extra::getopts functions into methods | Marvin Löbel | -27/+25 | |
| Some minor api and doc adjustments | ||||
| 2013-09-18 | std: Remove {float,f64,f32}::from_str in favor of from_str | blake2-ppc | -2/+1 | |
| Like issue #9209, remove float::{from_str, from_str_radix} in favor of the two corresponding traits. The same for modules f64 and f32. New usage is from_str::<float>("1.2e34") | ||||
| 2013-09-12 | std: rename Option::unwrap_or_default() to unwrap_or() | Erick Tryzelaar | -1/+1 | |
| 2013-09-05 | Rename str::from_bytes to str::from_utf8, closes #8985 | Florian Hahn | -2/+2 | |
| 2013-09-04 | Update clients of path.rs to use new API. | Felix S. Klock II | -3/+4 | |
| In most cases this involved removing a ~str allocations or clones (yay), or coercing a ~str to a slice. In a few places, I had to bind an intermediate Path (e.g. path.pop() return values), so that it would live long enough to support the borrowed &str. And in a few places, where the code was actively using the property that the old API returned ~str's, I had to put in to_owned() or clone(); but in those cases, we're trading an allocation within the path.rs code for one in the client code, so they neutralize each other. | ||||
| 2013-09-03 | auto merge of #8950 : sanxiyn/rust/cross-xfail, r=brson | bors | -4/+23 | |
| 2013-09-03 | Correctly determine OS to xfail in cross build | Seo Sanghyeon | -4/+23 | |
| 2013-09-02 | Raise the file descriptor limits when running compiletest | Alex Crichton | -0/+5 | |
| We already do this for libstd tests automatically, and compiletest runs into the same problems where when forking lots of processes lots of file descriptors are created. On OSX we can use specific syscalls to raise the limits, in this situation, though. Closes #8904 | ||||
| 2013-08-30 | auto merge of #8886 : cmr/rust/test-restructure, r=cmr | bors | -19/+17 | |
| 2013-08-30 | Revert "Teach compiletest to use multiple --src-base's" | Corey Richardson | -19/+17 | |
| This reverts commit 8a07f5708196dd72ec030018c2a215a4dd823b2e. | ||||
| 2013-08-30 | Revert "Teach the makefile to use multiple src-base's" | Corey Richardson | -1/+1 | |
| This reverts commit 43f851d2cb3976655078f032dc1a8cb88f1c8deb. | ||||
| 2013-08-30 | auto merge of #8839 : sanxiyn/rust/env, r=thestinger | bors | -10/+5 | |
| 2013-08-29 | auto merge of #8458 : cmr/rust/test-restructure, r=brson | bors | -17/+19 | |
| This should make benchmarks easier to understand. But, it doesn't work. BENCH_RS in mk/tests.mk has everything, from what I can tell in remake, but only those that are direct children of src/test/bench get build and run. @graydon, can you lend your expertise? I can't make heads or tails of this makefile. | ||||
| 2013-08-29 | Revert "auto merge of #8645 : alexcrichton/rust/issue-6436-run-non-blocking, ↵ | Brian Anderson | -4/+29 | |
| r=brson" This reverts commit b8d1fa399402c71331aefd634d710004e00b73a6, reversing changes made to f22b4b169854c8a4ba86c16ee43327d6bcf94562. Conflicts: mk/rt.mk src/libuv | ||||
| 2013-08-28 | Android: Pass the environment when running tests | Seo Sanghyeon | -2/+5 | |
| 2013-08-28 | Remove --newrt option | Seo Sanghyeon | -8/+0 | |
| 2013-08-28 | Teach the makefile to use multiple src-base's | Corey Richardson | -1/+1 | |
| 2013-08-28 | Teach compiletest to use multiple --src-base's | Corey Richardson | -17/+19 | |
| 2013-08-27 | Implement process bindings to libuv | Alex Crichton | -29/+4 | |
| Closes #6436 | ||||
| 2013-08-26 | Since we assume that GDB output is UTF-8, make sure it is so on all platforms. | Vadim Chugunov | -1/+3 | |
| Otherwise it'll choose some "appropriate" platform-specific default (e.g. CP1252 on Windows). | ||||
| 2013-08-23 | test: add support for sharding testsuite by passing --test-shard=a.b | Graydon Hoare | -0/+12 | |
| 2013-08-19 | compiletest: do not run tests in sub-threads if on valgrind. | Graydon Hoare | -1/+12 | |
| 2013-08-17 | auto merge of #8531 : brson/rust/test-waitpid-workaround, r=graydon | bors | -2/+16 | |
| ...er I believe the calls to waitpid are interacting badly with the message passing that goes on between schedulers and causing us to have very little parallelism in the test suite. I don't fully understand the sequence of events that causes the problem here but clearly blocking on waitpid is something that a well-behaved task should not be doing. Unfortunately this adds quite a bit of overhead to each test: one thread, two tasks, three stacks, so there's a tradeoff. The time to execute run-pass on my 4-core machine goes from ~750s to ~300s. This should have a pretty good impact on cycle times. cc @toddaaro | ||||
| 2013-08-14 | compiletest: Run tests in their own thread to avoid blocking the scheduler | Brian Anderson | -2/+16 | |
| The calls to waitpid are interacting badly with the message passing that goes on between schedulers and causing us to have very little parallelism in the test suite. I don't fully understand the sequence of events that causes the problem here but clearly blocking on waitpid is something that a well-behaved task should not be doing. Unfortunately this adds quite a bit of overhead to each test: one thread, two tasks, three stacks, so there's a tradeoff. The time to execute run-pass on my 4-core machine goes from ~750s to ~300s. | ||||
| 2013-08-14 | std: Change ProcessOptions struct to have an option of a ~ vector | Tim Chevalier | -1/+1 | |
| This is a workaround for #8498 | ||||
| 2013-08-10 | std: Iterator.len_ -> .len | Erick Tryzelaar | -1/+1 | |
| 2013-08-10 | std: Rename Iterator.transform -> .map | Erick Tryzelaar | -4/+4 | |
| cc #5898 | ||||
| 2013-08-07 | rustc: Fix for-range loops that can use iterators | blake2-ppc | -2/+2 | |
| Transform range loops that can be regular iterator loops. | ||||
| 2013-08-07 | core: option.map_consume -> option.map_move | Erick Tryzelaar | -7/+7 | |
| 2013-08-07 | option.get -> option.unwrap | Erick Tryzelaar | -3/+2 | |
| 2013-08-06 | auto merge of #8313 : msullivan/rust/cleanup, r=catamorphism | bors | -1/+0 | |
| 2013-08-05 | Updated std::Option, std::Either and std::Result | Marvin Löbel | -9/+9 | |
| - Made naming schemes consistent between Option, Result and Either - Changed Options Add implementation to work like the maybe monad (return None if any of the inputs is None) - Removed duplicate Option::get and renamed all related functions to use the term `unwrap` instead | ||||
| 2013-08-05 | Get rid of some NOTEs. | Michael Sullivan | -1/+0 | |
| 2013-08-03 | remove obsolete `foreach` keyword | Daniel Micay | -14/+14 | |
| this has been replaced by `for` | ||||
| 2013-08-03 | replace all remaining `for` with `foreach` or `do` | Daniel Micay | -10/+14 | |
| 2013-08-02 | replace `range` with an external iterator | Daniel Micay | -2/+1 | |
| 2013-08-01 | migrate many `for` loops to `foreach` | Daniel Micay | -13/+13 | |
| 2013-07-30 | Do not enforce two newlines after the options | Jordi Boggiano | -0/+2 | |
| 2013-07-29 | auto merge of #8003 : crnobog/rust/case-insensitive-error-prefix, r=cmr | bors | -1/+26 | |
| Paths are case insensitive on windows and rustc and compiletest may disagree on casing. Fixes test compile-fail/circular_modules_main on win32 | ||||
| 2013-07-26 | auto merge of #7979 : crnobog/rust/auxfiles-path-windows, r=cmr | bors | -1/+1 | |
| 2013-07-24 | fix fmt! usage | Daniel Micay | -1/+1 | |
| 2013-07-23 | Compare file:line prefix case-insensitively on win32 | crnobog | -1/+26 | |
| Paths are case insensitive on windows and rustc and compiletest may disagree on casing. Fixes test compile-fail/circular_modules_main | ||||
| 2013-07-22 | Change libaux directory to fix aux crate tests on Windows | crnobog | -1/+1 | |
| 2013-07-21 | Remove what appears to be redundant indirection from | Gareth Smith | -5/+5 | |
| os::list_dir_path. | ||||
| 2013-07-17 | compiletest: Remove stray copies. | Patrick Walton | -4/+4 | |
| 2013-07-17 | test: Fix tests. | Patrick Walton | -20/+2 | |
| 2013-07-17 | test: Fix tests. | Patrick Walton | -4/+23 | |
| 2013-07-17 | librustc: Remove all uses of "copy". | Patrick Walton | -17/+19 | |
| 2013-07-16 | compiletest: Add support for metrics and ratchet modes. | Graydon Hoare | -9/+68 | |
| 2013-07-11 | extra: add explicit ratchet-noise-percent option to benchmark ratchet, plus ↵ | Graydon Hoare | -4/+5 | |
| a few test breaking fixes. | ||||
