| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-03-11 | core: formatting appeasement | Jeff Olson | -3/+5 | |
| 2013-03-11 | core: fix broken tests on windows | Jeff Olson | -3/+2 | |
| 2013-03-11 | core: change import of exchange_alloc for win32 os::_list_dir | Jeff Olson | -1/+1 | |
| 2013-03-11 | rt/core: port os::list_dir to rust ref #4812 | Jeff Olson | -8/+88 | |
| 2013-03-11 | core: rt/core: impl os::env() in rust ref #4812 | Jeff Olson | -8/+56 | |
| 2013-03-11 | rt/core: impl os::getcwd() in rust ref #4812 | Jeff Olson | -1/+8 | |
| 2013-03-11 | librustc: Replace all uses of `fn()` with `&fn()`. rs=defun | Patrick Walton | -6/+6 | |
| 2013-03-07 | test: Fix tests. | Patrick Walton | -2/+4 | |
| 2013-03-07 | librustc: Convert all uses of `assert` over to `fail_unless!` | Patrick Walton | -43/+44 | |
| 2013-03-07 | libcore: Remove `extern mod { ... }` from libcore. rs=deexterning | Patrick Walton | -11/+16 | |
| 2013-03-06 | Add manual &self/ and &static/ and /&self declarations that | Niko Matsakis | -26/+26 | |
| are currently inferred. New rules are coming that will require them to be explicit. All add some explicit self declarations. | ||||
| 2013-03-05 | auto merge of #5212 : thestinger/rust/iter, r=graydon | bors | -1/+1 | |
| A small step towards fixing #2827 | ||||
| 2013-03-04 | Remove unused imports throughout src/ | Alex Crichton | -2/+0 | |
| 2013-03-03 | rustc: MIPS32 support | Jyun-Yan You | -0/+6 | |
| 2013-03-03 | replace option::iter with a BaseIter impl | Daniel Micay | -1/+1 | |
| 2013-03-02 | auto merge of #5137 : yjh0502/rust/empty_struct, r=nikomatsakis | bors | -7/+11 | |
| The fix is straight-forward, but there are several changes while fixing the issue. 1) disallow `mut` keyword when making a new struct In code base, there are following code, ```rust struct Foo { mut a: int }; let a = Foo { mut a: 1 }; ``` This is because of structural record, which is deprecated corrently (see issue #3089) In structural record, `mut` keyword should be allowd to control mutability. But without structural record, we don't need to allow `mut` keyword while constructing struct. 2) disallow structural records in parser level This is related to 1). With structural records, there is an ambiguity between empty block and empty struct To solve the problem, I change parser to stop parsing structural records. I think this is not a problem, because structural records are not compiled already. Misc. issues There is an ambiguity between empty struct vs. empty match stmt. with following code, ```rust match x{} {} ``` Two interpretation is possible, which is listed blow ```rust match (x{}) {} // matching with newly-constructed empty struct (match x{}) {} // matching with empty enum(or struct) x // and then empty block ``` It seems that there is no such code in rust code base, but there is one test which uses empty match statement: https://github.com/mozilla/rust/blob/incoming/src/test/run-pass/issue-3037.rs All other cases could be distinguished with look-ahead, but this can't be. One possible solution is wrapping with parentheses when matching with an uninhabited type. ```rust enum what { } fn match_with_empty(x: what) -> ~str { match (x) { //use parentheses to remove the ambiguity } } ``` | ||||
| 2013-03-02 | Remove REC, change related tests/docs | Jihyun Yu | -7/+11 | |
| 2013-03-01 | Rename core::private to core::unstable. #4743 | Brian Anderson | -3/+2 | |
| 2013-02-28 | Fix implicit leaks of imports throughout libraries | Alex Crichton | -10/+10 | |
| Also touch up use of 'pub' and move some tests around so the tested functions don't have to be 'pub' | ||||
| 2013-02-27 | libsyntax: Forbid mutable vectors. rs=demuting | Patrick Walton | -1/+1 | |
| 2013-02-26 | auto merge of #5023 : mitsuhiko/rust/make-absolute-refactor, r=catamorphism | bors | -6/+2 | |
| This pull request moves the logic from os::make_absolute() into the path module and fixes path joining for Windows. It does this by adding an ``unsafe_join()`` function that implements the operating system's path joining semantics. Additionally it also adds an ``is_restricted()`` method to the trait which will return true if the path points to a windows device file. | ||||
| 2013-02-18 | core: Fix BSD breakage, I hope | Tim Chevalier | -0/+1 | |
| 2013-02-18 | Refactored make_absolute into functionality on the Path | Armin Ronacher | -6/+2 | |
| 2013-02-15 | attempt to fix BSD breakage | Graydon Hoare | -1/+1 | |
| 2013-02-15 | auto merge of #4969 : nickdesaulniers/rust/issue3869, r=brson | bors | -4/+7 | |
| 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 | Fix windows build error. `buf` is borrowed by the call to | Niko Matsakis | -4/+7 | |
| `as_mut_buf()` and so we must invoke `slice()` outside of that call. | ||||
| 2013-02-15 | libcore: Get rid of `move`. | Luqman Aden | -7/+7 | |
| 2013-02-14 | libcore: replace mut_addr_of properly on mac | Luqman Aden | -1/+2 | |
| 2013-02-14 | libcore: Remove ptr::mut_addr_of since &mut is coerced to *mut | Luqman Aden | -9/+7 | |
| 2013-02-14 | Remove all final references to die! | Nick Desaulniers | -2/+2 | |
| 2013-02-13 | Remove die!, raplace invocations with fail! Issue #4524 pt 3 | Nick Desaulniers | -1/+1 | |
| 2013-02-13 | RIMOV core::vec | Ben Striegel | -3/+3 | |
| Also remove as many uses as possible of vec::cast_to_mut and cast_from_mut | ||||
| 2013-02-11 | Long lines. | Luqman Aden | -2/+3 | |
| 2013-02-11 | rt: remove last_os_error and adjust tests. | Luqman Aden | -1/+0 | |
| 2013-02-11 | core: Rewrite last_os_error in Rust for windows as well. | Luqman Aden | -3/+33 | |
| 2013-02-11 | core: Rewrite last_os_error in Rust for unix and provide access to errno ↵ | Luqman Aden | -9/+103 | |
| (unix) and GetLastError (windows). | ||||
| 2013-02-07 | core: Remove structural records from the rest of core, except pipes | Tim Chevalier | -8/+10 | |
| That will, sadly, require one more snapshot. | ||||
| 2013-02-07 | librustc: Lots of de-muting. rs=demuting | Patrick Walton | -4/+2 | |
| 2013-02-07 | Make ~fn non-copyable, make &fn copyable, split barefn/closure types, | Niko Matsakis | -3/+0 | |
| 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 | -1/+1 | |
| 2013-01-31 | core: Stamp out XXXes (comments only) | Tim Chevalier | -1/+1 | |
| 2013-01-28 | core: Allow legacy records in in a few modules | Tim Chevalier | -0/+1 | |
| Because of macros, #[allow(structural_records]] in extfmt, gc, os, pipes, and run. Will need a snapshot. | ||||
| 2013-01-25 | Merge remote-tracking branch 'brson/nocommupstream' | Brian Anderson | -136/+68 | |
| Conflicts: src/libcore/private.rs src/libcore/task/mod.rs src/libcore/task/spawn.rs src/libstd/net_tcp.rs src/libstd/uv_global_loop.rs src/libstd/uv_iotask.rs | ||||
| 2013-01-24 | core: Mop up Windows breakage | Tim Chevalier | -2/+2 | |
| 2013-01-23 | core: Convert getenv/setenv to use a mutex | Brian Anderson | -136/+68 | |
| This much simpler implementation uses a global mutex and eliminates the kernel environment channel. | ||||
| 2013-01-23 | libsyntax: Remove `fn() unsafe { ... }`. r=graydon | Patrick Walton | -2/+4 | |
| 2013-01-23 | core: Rename to_mut and from_mut to cast_to_mut and cast_from_mut | Trinick | -3/+3 | |
| 2013-01-17 | Add a license check to tidy. #4018 | Brian Anderson | -1/+1 | |
| 2013-01-13 | Support ARM and Android | kyeongwoon | -1/+13 | |
| Conflicts: src/libcore/os.rs src/librustc/back/link.rs src/librustc/driver/driver.rs src/librustc/metadata/loader.rs src/librustc/middle/trans/base.rs | ||||
| 2013-01-14 | core: Use libc::readlink function properly | Tycho Sci | -2/+11 | |
| The specification of readlink() says it's not guaranteed that the returned contents of the symbolic link is null-terminated. | ||||
