| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-05-14 | Use static string with fail!() and remove fail!(fmt!()) | Björn Steinbrink | -5/+5 | |
| fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself. | ||||
| 2013-05-14 | auto merge of #6441 : alexcrichton/rust/issue-5531, r=luqmana | bors | -10/+12 | |
| Also fix up all the fallout elsewhere throughout core. It's really nice being able to have the prelude. I'm not quite sure how resolution works with traits, but it seems to me like the public imports at the top-level of the core crate were leaking into the sub-crates, but that could also be working as intended. Regardless, things compile without the re-exports now. | ||||
| 2013-05-13 | auto merge of #6388 : recrack/rust/each2_mut, r=pcwalton | bors | -2/+31 | |
| - vec.rs :add 'each2_mut function' - testsuit : run-pass/vec-each2_mut.rs | ||||
| 2013-05-13 | Remove re-exports from libcore/core.rc | Alex Crichton | -10/+12 | |
| Also fix up all the fallout elsewhere throughout core. It's really nice being able to have the prelude. | ||||
| 2013-05-13 | core: Move locks, atomic rc to unstable::sync | Brian Anderson | -2/+3 | |
| 2013-05-13 | Add vec.rs each2_mut function | Youngmin Yoo | -2/+31 | |
| 2013-05-12 | libcore: Change `each_val` to follow new for-loop protocol | gifnksm | -6/+19 | |
| 2013-05-11 | auto merge of #6389 : sonwow/rust/issue-3356, r=bstrie | bors | -5/+5 | |
| Fix for #3356 | ||||
| 2013-05-10 | Stop using the '<->' operator | Alex Crichton | -39/+42 | |
| 2013-05-10 | test: Use the new `for` protocol | Alex Crichton | -2/+26 | |
| 2013-05-10 | renamed vec::from_slice to vec::to_owned | Youngsoo Son | -5/+5 | |
| 2013-05-10 | core: Use the new `for` protocol | Alex Crichton | -23/+190 | |
| 2013-05-09 | auto merge of #6354 : Aatch/rust/uninit-intrinsic, r=graydon | bors | -5/+90 | |
| Adds an `uninit` intrinsic. It's just an empty function, so llvm optimizes it down to nothing. I changed all of the `init` intrinsic usages to `uninit` where it seemed appropriate to. | ||||
| 2013-05-09 | Make staged versions of the functions that use uninit | James Miller | -0/+90 | |
| 2013-05-09 | auto merge of #6345 : seanmoon/rust/fix-typos, r=sanxiyn | bors | -1/+1 | |
| Hi there, Really enjoying Rust. Noticed a few typos so I searched around for a few more--here's some fixes. Ran `make check` and got `summary of 24 test runs: 4868 passed; 0 failed; 330 ignored`. Thanks! Sean | ||||
| 2013-05-09 | Replace init() with uninit() where appropriate | James Miller | -9/+4 | |
| 2013-05-08 | auto merge of #6327 : z0w0/rust/rm-notest, r=brson | bors | -15/+15 | |
| Makes it more consistent, imo. | ||||
| 2013-05-08 | librustc: Stop parsing modes and remove them entirely from the language | Patrick Walton | -6/+6 | |
| 2013-05-09 | Fix typos | Sean Moon | -1/+1 | |
| 2013-05-08 | Remove #[cfg(notest)] and use #[cfg(not(test))] to cooincide with #[cfg(debug)] | Zack Corr | -15/+15 | |
| 2013-05-07 | auto merge of #6294 : sonwow/rust/renamed-test, r=thestinger | bors | -2/+2 | |
| Renamed test | ||||
| 2013-05-07 | auto merge of #6254 : alexcrichton/rust/issues-5311-4490-better-foldl, r=graydon | bors | -8/+9 | |
| Closes #5311 and #4490. This doesn't change `vec.foldl` because that's still part of `old_iter`, although I could change that as well if necessary. | ||||
| 2013-05-07 | renamed tests | Youngsoo Son | -2/+2 | |
| 2013-05-06 | Improve lifetimes on foldl/foldr and lift the Copy requirement | Alex Crichton | -8/+9 | |
| 2013-05-05 | Merge remote-tracking branch 'mozilla/incoming' into issue-5910-dyna-freeze | Niko Matsakis | -4/+4 | |
| Conflicts: src/libcore/core.rc src/libcore/hashmap.rs src/libcore/num/f32.rs src/libcore/num/f64.rs src/libcore/num/float.rs src/libcore/num/int-template.rs src/libcore/num/num.rs src/libcore/num/strconv.rs src/libcore/num/uint-template.rs src/libcore/ops.rs src/libcore/os.rs src/libcore/prelude.rs src/libcore/rt/mod.rs src/libcore/unstable/lang.rs src/librustc/driver/session.rs src/librustc/middle/astencode.rs src/librustc/middle/borrowck/check_loans.rs src/librustc/middle/borrowck/gather_loans.rs src/librustc/middle/borrowck/loan.rs src/librustc/middle/borrowck/preserve.rs src/librustc/middle/liveness.rs src/librustc/middle/mem_categorization.rs src/librustc/middle/region.rs src/librustc/middle/trans/base.rs src/librustc/middle/trans/inline.rs src/librustc/middle/trans/reachable.rs src/librustc/middle/typeck/check/_match.rs src/librustc/middle/typeck/check/regionck.rs src/librustc/util/ppaux.rs src/libstd/arena.rs src/libstd/ebml.rs src/libstd/json.rs src/libstd/serialize.rs src/libstd/std.rc src/libsyntax/ast_map.rs src/libsyntax/parse/parser.rs src/test/compile-fail/borrowck-uniq-via-box.rs src/test/compile-fail/regions-infer-borrow-scope-within-loop.rs src/test/run-pass/borrowck-nested-calls.rs | ||||
| 2013-05-04 | Register snapshots | Brian Anderson | -226/+0 | |
| 2013-04-30 | allover: numerous unused muts etc | Niko Matsakis | -6/+3 | |
| 2013-04-30 | new borrow checker (mass squash) | Niko Matsakis | -10/+1 | |
| 2013-04-30 | adapt to snapshot | Niko Matsakis | -217/+0 | |
| 2013-04-30 | I modified the doc of from_elem, from_fn, I think it returns an owned vector | Sangeun Kim | -4/+4 | |
| 2013-04-29 | librustc: Remove `ptr::addr_of`. | Patrick Walton | -37/+29 | |
| 2013-04-28 | make way for a new iter module | Daniel Micay | -75/+75 | |
| 2013-04-26 | auto merge of #6057 : cmr/rust/map_zip, r=graydon | bors | -6/+9 | |
| I think the name is more clear, and fits with filter_map etc. | ||||
| 2013-04-25 | Rename vec::mod2 to vec::mod_zip | Corey Richardson | -6/+9 | |
| 2013-04-24 | Move documentation for vec::windowed where it will be generated | Corey Richardson | -8/+10 | |
| 2013-04-24 | Add basic documentation for with_capacity | Corey Richardson | -0/+1 | |
| 2013-04-20 | core: remove unused 'mut' variables | Alex Crichton | -2/+2 | |
| 2013-04-20 | Replaced many instances of reinterpret_cast with transmute | Matthijs Hofstra | -14/+14 | |
| 2013-04-19 | auto merge of #5945 : graydon/rust/fix-unicode-tables, r=pcwalton | bors | -0/+85 | |
| This switches the unicode functions in core to use static character-range tables and a binary search helper rather than open-coded switch statements. It adds about 50k of read only data to the libcore binary but cuts out a similar amount of compiled IR. Would have done it this way in the first place but we didn't have structured statics for a long time. | ||||
| 2013-04-19 | auto merge of #5968 : gifnksm/rust/windowed, r=brson | bors | -0/+3 | |
| vec::windowed fails if given window size is greater than vector length + 1. ```rust for vec::windowed(7, &[1,2,3,4,5,6]) |vs| { fail!(); } // => do nothing for vec::windowed(8, &[1,2,3,4,5,6]) |vs| { fail!(); } // => assertion failure in vec::slice ``` | ||||
| 2013-04-20 | libcore: Fix assertion failure in vec::windowe. | gifnksm | -0/+3 | |
| vec::windowed fails if given window size is greater than vector length + 1. | ||||
| 2013-04-19 | librustc: Fix botched merge. rs=merge | Patrick Walton | -0/+9 | |
| 2013-04-19 | librustc: WIP patch for using the return value. | Patrick Walton | -6/+21 | |
| 2013-04-19 | test: Add fannkuch-redux and fasta-redux shootout benchmarks | Patrick Walton | -1/+23 | |
| 2013-04-19 | test: Rewrite nbody and spectralnorm shootout benchmarks | Patrick Walton | -6/+35 | |
| 2013-04-19 | librustc: Implement fast-ffi and use it in various places | Patrick Walton | -0/+2 | |
| 2013-04-19 | move iterator adaptor tests to iterator module | Daniel Micay | -66/+0 | |
| 2013-04-19 | iterator: add skip and take | Daniel Micay | -0/+28 | |
| 2013-04-18 | core: replace unicode match exprs with bsearch in const arrays, minor perf win. | Graydon Hoare | -43/+43 | |
| 2013-04-18 | core: add vec::bsearch. | Graydon Hoare | -0/+85 | |
