| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-03-11 | auto merge of #5303 : brson/rust/newsched4, r=brson | bors | -252/+2788 | |
| r? Followup to #5022. This is the same, but everything is in `core::rt` now. `std::uv_ll` is moved to `core::unstable::uvll`, with the intent that it eventually move into its own crate (blocked on #5192 at least). I've had to disable the uv tests because of #2064. All of `core::rt` is disabled on platforms that aren't mac or linux until I complete the windows thread local storage bindings and ARM context switching. My immediate next priorities will be to fix #2064 and clean up the uv bindings, get everything building on all platforms. | ||||
| 2013-03-11 | Fix std::getopts::opts_present() to check value. | Ben Kelly | -4/+5 | |
| Currently the opts_present() function only checks to see if the option is configured in the match, but doesn't actually check to see if the option value has been set. This means that opt_present('h') may return false while opts_present([~'h']) returns true. Add a test case to catch this condition and fix opts_present() to check the value before returning true. Note, there is another API difference between these two functions that this does not address. Currently if you pass a non-configured option to opt_present() the program will fail!(), but opts_present() simply returns false. If it is acceptable to standardize on the fail!() then opts_present() should probably be implemented in terms of the opt_present() function. | ||||
| 2013-03-11 | Implement Add on Option types | Ben Striegel | -0/+40 | |
| This will allow you to use the + operator to add together any two Options, assuming that the contents of each Option likewise implement +. So Some(4) + Some(1) == Some(5), and adding with None leaves the other value unchanged. This might be monoidic? I don't know what that word means! | ||||
| 2013-03-11 | core: Add rt mod and add the new scheduler code | Brian Anderson | -252/+2788 | |
| 2013-03-11 | treemap: fix a bug in the union implementation | Daniel Micay | -0/+4 | |
| 2013-03-11 | treemap: add more set tests | Daniel Micay | -0/+10 | |
| 2013-03-11 | treemap: refactor the set operation tests | Daniel Micay | -80/+34 | |
| 2013-03-11 | Work on 0.6 release notes | Brian Anderson | -2/+79 | |
| 2013-03-11 | auto merge of #5292 : thestinger/rust/nil, r=graydon | bors | -1/+6 | |
| 2013-03-11 | auto merge of #5322 : brson/rust/4812, r=brson | bors | -149/+382 | |
| Supersedes #5013 | ||||
| 2013-03-11 | core: Convert obsolete fn syntax | Brian Anderson | -2/+2 | |
| 2013-03-11 | core: convert asserts to fail_unless! | Jeff Olson | -5/+5 | |
| 2013-03-11 | core: link pthreads explicitly in linux build | Jeff Olson | -0/+1 | |
| 2013-03-11 | core: formatting appeasement | Jeff Olson | -3/+5 | |
| 2013-03-11 | core: fix broken tests on windows | Jeff Olson | -3/+3 | |
| 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 | -86/+174 | |
| 2013-03-11 | core: rt/core: impl os::env() in rust ref #4812 | Jeff Olson | -40/+196 | |
| 2013-03-11 | rt/core: impl os::getcwd() in rust ref #4812 | Jeff Olson | -22/+8 | |
| 2013-03-11 | More descriptive error messages for debug info tests | Brian Leibig | -2/+2 | |
| 2013-03-11 | Re-enable struct value printing in debug info tests with gdb pretty printing off | Brian Leibig | -10/+9 | |
| 2013-03-11 | Disable struct value printing in debug info tests | Brian Leibig | -8/+4 | |
| This is due to the way different versions of gdb print out structs: older versions have them always spread out with fields on different lines, while newer versions will compactly print them on one line. This makes it hard for the output checker to verify the expected output. | ||||
| 2013-03-11 | Debuginfo revamp | Brian Leibig | -98/+217 | |
| 2013-03-11 | auto merge of #5305 : brson/rust/mut_buf_as_slice, r=brson | bors | -0/+14 | |
| r? Like `buf_as_slice` but for mutable pointers and slices. | ||||
| 2013-03-11 | core: Add vec::raw::mut_buf_as_slice | Brian Anderson | -0/+14 | |
| 2013-03-11 | auto merge of #5318 : jdm/rust/deriving_cell, r=pcwalton | bors | -0/+1 | |
| r? @pcwalton | ||||
| 2013-03-11 | Add deriving_eq to Cell. | Josh Matthews | -0/+1 | |
| 2013-03-11 | treemap: add more tests for set difference | Daniel Micay | -16/+21 | |
| 2013-03-11 | treemap: inline the TreeSet wrappers | Daniel Micay | -12/+20 | |
| 2013-03-11 | treemap: indentation fixes | Daniel Micay | -14/+14 | |
| 2013-03-11 | treemap: make set_advance public | Daniel Micay | -2/+2 | |
| 2013-03-11 | auto merge of #5314 : jld/rust/adt-simplification, r=pcwalton | bors | -77/+40 | |
| Struct and enum representations have some complicatedness that's no longer needed. Now that everything's in one place and has access to anything we'd want to know about the type, flatten some of that out. Slight changes to representations in some cases. | ||||
| 2013-03-11 | auto merge of #5291 : pcwalton/rust/drop-lint, r=pcwalton | bors | -1190/+1138 | |
| r? @nikomatsakis | ||||
| 2013-03-11 | librustc: Lint the old `drop` destructor notation off | Patrick Walton | -81/+51 | |
| 2013-03-11 | librustc: Remove old-style operator overloading | Patrick Walton | -14/+34 | |
| 2013-03-11 | test: Fix tests. rs=tests | Patrick Walton | -32/+32 | |
| 2013-03-11 | libsyntax: Stop parsing newtype enums | Patrick Walton | -10/+9 | |
| 2013-03-11 | doc: Remove documentation on newtype enums. | Patrick Walton | -44/+36 | |
| 2013-03-11 | libsyntax: Remove newtype enums from libsyntax. rs=deenum | Patrick Walton | -40/+14 | |
| 2013-03-11 | librustc: Remove newtype enums from librustc | Patrick Walton | -37/+41 | |
| 2013-03-11 | libstd: Remove all newtype enums from std and core. | Patrick Walton | -17/+42 | |
| 2013-03-11 | test: Remove newtype enums from the test suite. rs=deenum | Patrick Walton | -110/+42 | |
| 2013-03-11 | libsyntax: Stop parsing bare functions in preparation for switching them over | Patrick Walton | -9/+40 | |
| 2013-03-11 | librustc: Replace all uses of `fn()` with `&fn()`. rs=defun | Patrick Walton | -812/+813 | |
| 2013-03-11 | auto merge of #5122 : sanxiyn/rust/vec-match-tail-2, r=nikomatsakis | bors | -153/+276 | |
| Incorporated @nikomatsakis's comments from #4748. Fix #4635. | ||||
| 2013-03-11 | Add one more test for vector destructuring | Seo Sanghyeon | -1/+42 | |
| 2013-03-11 | Implement vector destructuring from tail | Seo Sanghyeon | -159/+241 | |
| 2013-03-11 | Get rid of the `Unit` enum representation. | Jed Davis | -30/+10 | |
| The only thing we really lose is that C-like enums with one variant and a non-zero discriminant now take up space, but I do not think this is a common usage. As previously noted, that was mostly there for transitional compatibility with the pre-adt.rs codebase. | ||||
| 2013-03-10 | Simplify struct representation. | Jed Davis | -48/+31 | |
| Out goes the extra layer of struct wrapping; the destructedness flag is added to the end of the struct. This means that, if the struct previously had alignment padding at the end, the flag will live there instead of increasing the struct size. | ||||
| 2013-03-10 | auto merge of #5308 : wanderview/rust/std-getopts-rustdoc-fix, r=luqmana | bors | -5/+8 | |
| There were three issues effecting the example in the getopts rustdoc: 1. The blockquote was incorrectly formatted. Fixed by switching to using an explicit markdown code section with ```. 2. The `fail fail_str(f)` would not compile. Fixed by using `fail!()` instead of `fail`. 3. The line `matches.free[0]` produced a compile error about moving from an immutable vector. Fix by using `copy`. | ||||
