| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-03-29 | librustc: Remove `fail_unless!` | Patrick Walton | -2/+2 | |
| 2013-03-28 | Removing unused imports | Alex Crichton | -1/+1 | |
| 2013-03-26 | librustc: Enforce that `extern mod` directives come first, then `use` ↵ | Patrick Walton | -6/+7 | |
| directives, then items. Resolve them in this order as well. | ||||
| 2013-03-26 | option: rm functions that duplicate methods | Daniel Micay | -3/+1 | |
| 2013-03-26 | Fixed all use sites and tests | Marvin Löbel | -6/+11 | |
| 2013-03-25 | Merge remote-tracking branch 'brson/rt' | Brian Anderson | -2/+16 | |
| Conflicts: src/libcore/rt/context.rs src/libcore/rt/sched.rs src/libcore/rt/thread.rs src/libcore/rt/uv.rs | ||||
| 2013-03-22 | libcore: Fix obsolete syntax in extfmt | Patrick Walton | -2/+2 | |
| 2013-03-22 | auto merge of #5398 : dbaupp/rust/core-readlines, r=graydon | bors | -11/+11 | |
| The `each_line` function in `ReaderUtil` acts very differently to equivalent functions in Python, Ruby, Clojure etc. E.g. given a file `t` with contents `trailing\nnew line\n` and `n` containing `no trailing\nnew line`: Rust: ```Rust t: ~[~"trailing", ~"new line", ~""] n: ~[~"no trailing", ~"new line"] ``` Python: ```Python >>> open('t').readlines() ['trailing\n', 'new line\n'] >>> open('n').readlines() ['no trailing\n', 'new line'] ``` Ruby: ```Ruby irb(main):001:0> File.readlines('t') => ["trailing\n", "new line\n"] irb(main):002:0> File.readlines('n') => ["no trailing\n", "new line"] ``` Clojure ```Clojure user=> (read-lines "t") ("trailing" "new line") user=> (read-lines "n") ("no trailing" "new line") ``` The extra string that rust includes at the end is inconsistent, and means that it is impossible to distinguish between the "real" empty line a file that ends `...\n\n`, and the "fake" one after the last `\n`. The code attached makes Rust's `each_line` act like Clojure (and PHP, i.e. not including the `\n`), as well as adjusting `str::lines` to fix the trailing empty line problem. Also, add a convenience `read_lines` method to read all the lines in a file into a vector. | ||||
| 2013-03-23 | compiletest: Use lines_each instead of lines(..).each, or split(.., n).each | Huon Wilson | -11/+11 | |
| 2013-03-22 | compiletest: replace uses of old deriving attribute with new one | Andrew Paseltiner | -1/+1 | |
| 2013-03-21 | back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> ↵ | Marvin Löbel | -3/+3 | |
| slice_unique | ||||
| 2013-03-21 | renamed str::view -> slice_DBG_BRWD | Marvin Löbel | -4/+4 | |
| renamed str::slice -> slice_DBG_UNIQ changed vec slice method -> to_owned() renamed vec view method -> slice_V_DBG_BRWD | ||||
| 2013-03-19 | compiletest: Make pretty tests actually use compile-flags. | Luqman Aden | -2/+3 | |
| 2013-03-18 | Add a way to run the test suite with the new scheduler | Brian Anderson | -2/+16 | |
| TESTARGS=--newrt make check-stage1-rpass Conflicts: src/rt/rustrt.def.in | ||||
| 2013-03-13 | auto merge of #5319 : brson/rust/debuginfo, r=brson | bors | -2/+11 | |
| Continuing #5140 For the sake of getting this merged I've disabled debuginfo tests on mac (where running gdb needs root). Please feel free to follow up with further improvements. | ||||
| 2013-03-11 | Remove uses of log | Brian Anderson | -1/+1 | |
| 2013-03-11 | More descriptive error messages for debug info tests | Brian Leibig | -2/+2 | |
| 2013-03-11 | Debuginfo revamp | Brian Leibig | -0/+9 | |
| 2013-03-11 | librustc: Replace all uses of `fn()` with `&fn()`. rs=defun | Patrick Walton | -2/+2 | |
| 2013-03-07 | librustc: Convert all uses of `assert` over to `fail_unless!` | Patrick Walton | -2/+2 | |
| 2013-03-05 | auto merge of #5212 : thestinger/rust/iter, r=graydon | bors | -2/+2 | |
| A small step towards fixing #2827 | ||||
| 2013-03-04 | Remove unused imports throughout src/ | Alex Crichton | -12/+0 | |
| 2013-03-03 | replace option::iter with a BaseIter impl | Daniel Micay | -2/+2 | |
| 2013-03-02 | librustdoc: Remove `fn@`, `fn~`, and `fn&` from compiletest, fuzzer, ↵ | Patrick Walton | -1/+1 | |
| rustdoc, and rt. rs=defun | ||||
| 2013-03-02 | librustc: Forbid chained imports and fix the logic for one-level renaming ↵ | Patrick Walton | -36/+38 | |
| imports | ||||
| 2013-02-22 | auto merge of #5081 : brson/rust/pipes, r=pcwalton | bors | -1/+1 | |
| r? | ||||
| 2013-02-21 | core: Extract comm from pipes. #4742 | Brian Anderson | -1/+1 | |
| 2013-02-21 | Remove the last bits of structural records from tests/rustc/rusti/rustpkg. | Luqman Aden | -19/+20 | |
| 2013-02-15 | auto merge of #4969 : nickdesaulniers/rust/issue3869, r=brson | bors | -1/+2 | |
| Issue #3869 review? @nikomatsakis Convert all uses of vec::slice to vec::view Issue #3869 Rename const_view to const_slice Renamed mut_view to mut_slice Fix windows build error. `buf` is borrowed by the call to `as_mut_buf()` and so we must invoke `slice()` outside of that call. | ||||
| 2013-02-15 | compiletest: Get rid of `move`. | Luqman Aden | -3/+3 | |
| 2013-02-14 | Convert all uses of vec::slice to vec::view Issue #3869 | Nick Desaulniers | -1/+2 | |
| 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 | -10/+10 | |
| 2013-02-13 | auto merge of #4908 : bstrie/rust/rimov3, r=pcwalton | bors | -2/+2 | |
| This patch finishes removing inner vector mutability from the vast majority of the compiler. Exceptions: * core::dvec: ideally this entire type will be able to be replaced by `~[]`, but Niko asked me to hold off on removing Dvecs until he makes some fixes to borrowed pointers. * liveness: liveness.rs is an impenetrable neutron star of deprecated semantics. * compile-fail: I'm not sure if a lot of these tests are testing inner mutability or mutability in general. I figure that RIMOVing this folder should wait until this syntax is removed from the parser. I also took this chance to remove many of the inner-mutability-related functions from core::vec, or as many uses of those functions as possible where still necessary. consume_mut and append_mut have been axed. cast_to_mut and cast_from_mut are still needed in a few places. | ||||
| 2013-02-13 | rustc and std: teach about #[bench], modernize to use quote_expr! some. | Graydon Hoare | -5/+11 | |
| 2013-02-13 | RIMOV core::vec | Ben Striegel | -2/+2 | |
| Also remove as many uses as possible of vec::cast_to_mut and cast_from_mut | ||||
| 2013-02-09 | Add debug info tests | Brian Leibig | -10/+91 | |
| 2013-02-07 | Make ~fn non-copyable, make &fn copyable, split barefn/closure types, | Niko Matsakis | -7/+8 | |
| correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719. | ||||
| 2013-01-31 | Replace most invocations of fail keyword with die! macro | Nick Desaulniers | -10/+10 | |
| 2013-01-30 | librustdoc: De-export compiletest, combine-tests, libcargo, libfuzzer, and ↵ | Patrick Walton | -59/+39 | |
| librustdoc. rs=deexporting | ||||
| 2013-01-28 | compiletest: Allow legacy records | Tim Chevalier | -100/+103 | |
| But also remove most uses of structural records. | ||||
| 2013-01-24 | remove remaining is_not_empty functions/methods | Daniel Micay | -1/+1 | |
| 2013-01-24 | replace ConstVector trait with the Container trait | Daniel Micay | -3/+3 | |
| 2013-01-24 | convert most of libstd over to structs | Erick Tryzelaar | -11/+4 | |
| 2013-01-23 | libsyntax: Remove `fn() unsafe { ... }`. r=graydon | Patrick Walton | -34/+38 | |
| 2013-01-23 | core: Rename to_mut and from_mut to cast_to_mut and cast_from_mut | Trinick | -1/+1 | |
| 2013-01-10 | librustc: Make all external functions unsafe. r=tjc | Patrick Walton | -9/+11 | |
| 2013-01-09 | A collection of refactorings that I found it hard/tiresome to divide: | Niko Matsakis | -1/+1 | |
| - Make `extern fn()` assignable to any closure type, rather than a subtype. - Remove unused int_ty_set and float_ty_set - Refactor variable unification and make it more DRY - Do fn sub/lub/glb on the level of fn_sig - Rename infer::to_str::ToStr to infer::to_str::InferStr - Capitalize names of various types - Correct hashing of FnMeta - Convert various records-of-fns into structs-of-fns. This is both eliminating use of deprecated features and more forwards compatible with fn reform. r=pcwalton | ||||
| 2013-01-09 | compiletest: more win32 fallout from 2db3abd | Graydon Hoare | -0/+1 | |
| 2013-01-09 | core: rename vec.filter to vec.filtered | Erick Tryzelaar | -1/+1 | |
| 2013-01-08 | librustc: Make unqualified identifier searches terminate at the nearest ↵ | Patrick Walton | -0/+12 | |
| module scope. r=tjc | ||||
