| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-03-15 | treemap: use each_mut instead of mutate | Daniel Micay | -7/+6 | |
| 2013-03-15 | treemap: rm old FIXME | Daniel Micay | -2/+0 | |
| 2013-03-15 | deque: add documentation | Daniel Micay | -1/+24 | |
| 2013-03-14 | MutableIter impl for Option + use it in treemap | Daniel Micay | -14/+5 | |
| 2013-03-14 | auto merge of #5365 : thestinger/rust/map, r=catamorphism | bors | -1/+30 | |
| 2013-03-13 | librustc: Remove "base types" from the language. | Patrick Walton | -29/+29 | |
| 2013-03-13 | librustc: Don't accept `as Trait` anymore; fix all occurrences of it. | Patrick Walton | -44/+51 | |
| 2013-03-14 | Remove unused imports in std | ILyoan | -1/+0 | |
| 2013-03-13 | add the mutate_values method to the Map trait | Daniel Micay | -1/+30 | |
| 2013-03-13 | Remove `++` mode from the compiler (it is parsed as `+` mode) | Niko Matsakis | -2/+2 | |
| and obsolete `-` mode altogether (it *was* parsed as `+` mode). | ||||
| 2013-03-13 | Revamp foreign code not to consider the Rust modes. This requires | Niko Matsakis | -8/+8 | |
| adjusting a few foreign functions that were declared with by-ref mode. This also allows us to remove by-val mode in the near future. With copy mode, though, we have to be careful because Rust will implicitly pass somethings by pointer but this may not be the C ABI rules. For example, rust will pass a struct Foo as a Foo*. So I added some code into the adapters to fix this (though the C ABI rules may put the pointer back, oh well). This patch also includes a lint mode for the use of by-ref mode in foreign functions as the semantics of this have changed. | ||||
| 2013-03-13 | auto merge of #5293 : brson/rust/logging, r=brson | bors | -149/+146 | |
| r? @graydon This removes `log` from the language. Because we can't quite implement it as a syntax extension (probably need globals at the least) it simply renames the keyword to `__log` and hides it behind macros. After this the only way to log is with `debug!`, `info!`, etc. I figure that if there is demand for `log!` we can add it back later. I am not sure that we ever agreed on this course of action, though I *think* there is consensus that `log` shouldn't be a statement. | ||||
| 2013-03-12 | auto merge of #5329 : wanderview/rust/std-getopts-opts_present, r=graydon | bors | -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 | Remove uses of log | Brian Anderson | -149/+146 | |
| 2013-03-11 | auto merge of #5310 : thestinger/rust/treeset, r=graydon | bors | -113/+94 | |
| 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 | core: Add rt mod and add the new scheduler code | Brian Anderson | -1939/+17 | |
| 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 | 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 | libstd: Remove all newtype enums from std and core. | Patrick Walton | -14/+40 | |
| 2013-03-11 | libsyntax: Stop parsing bare functions in preparation for switching them over | Patrick Walton | -2/+4 | |
| 2013-03-11 | librustc: Replace all uses of `fn()` with `&fn()`. rs=defun | Patrick Walton | -210/+210 | |
| 2013-03-10 | Correct copyright year to be 2012-2013. | Ben Kelly | -1/+1 | |
| Previous year range of 2011-2013 was based on file creation date. The check_license python script, however, only accepts copyrights starting in 2012 or later. | ||||
| 2013-03-10 | Fix formatting and errors in std::getopts example. | Ben Kelly | -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`. | ||||
| 2013-03-08 | Fix dvec-related fallout in tests | Alex Crichton | -15/+9 | |
| 2013-03-08 | std: Remove uses of DVec | Alex Crichton | -59/+51 | |
| 2013-03-07 | test: Fix tests. | Patrick Walton | -17/+27 | |
| 2013-03-07 | librustc: Convert all uses of `assert` over to `fail_unless!` | Patrick Walton | -1598/+1632 | |
| 2013-03-07 | librustc: Remove "extern mod { ... }" from librustc, librustdoc, and tests. ↵ | Patrick Walton | -3/+6 | |
| rs=deexterning | ||||
| 2013-03-07 | libstd: Remove `extern mod { ... }` from libstd. rs=deexterning | Patrick Walton | -195/+238 | |
| 2013-03-07 | De-implicit-self libstd | Ben Striegel | -127/+128 | |
| 2013-03-06 | Add manual &self/ and &static/ and /&self declarations that | Niko Matsakis | -114/+159 | |
| are currently inferred. New rules are coming that will require them to be explicit. All add some explicit self declarations. | ||||
| 2013-03-06 | Fix bug in coherence that causes all cross-crate impls to be regarded as | Niko Matsakis | -0/+21 | |
| inherent impls, not just those of the `impl Type` variety. | ||||
| 2013-03-05 | core: convert vec::{last,last_opt} to return references | Erick Tryzelaar | -4/+4 | |
| 2013-03-05 | std: remove an unnecessary copy from workcache | Erick Tryzelaar | -1/+1 | |
| 2013-03-05 | auto merge of #5233 : bstrie/rust/deimpselfcore, r=graydon | bors | -9/+9 | |
| 2013-03-05 | auto merge of #5212 : thestinger/rust/iter, r=graydon | bors | -2/+2 | |
| A small step towards fixing #2827 | ||||
| 2013-03-04 | De-implicit-self libcore | Ben Striegel | -9/+9 | |
| 2013-03-04 | Adding missing imports for tests, and gate off others | Alex Crichton | -6/+3 | |
| 2013-03-04 | Remove unused imports throughout src/ | Alex Crichton | -75/+2 | |
| 2013-03-03 | rustc: MIPS32 support | Jyun-Yan You | -1/+20 | |
| 2013-03-03 | replace option::iter with a BaseIter impl | Daniel Micay | -2/+2 | |
| 2013-03-02 | libstd: Remove `fn@`, `fn~`, and `fn&` from libstd. rs=defun | Patrick Walton | -40/+43 | |
| 2013-03-02 | librustc: Forbid chained imports and fix the logic for one-level renaming ↵ | Patrick Walton | -27/+25 | |
| imports | ||||
| 2013-03-02 | auto merge of #5196 : thestinger/rust/ord, r=catamorphism | bors | -81/+86 | |
| This allows `TreeMap`/`TreeSet` to fully express their requirements and reduces the comparisons from ~1.5 per level to 1 which really helps for string keys. I also added `ReverseIter` to the prelude exports because I forgot when I originally added it. | ||||
