| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-08-12 | Fix select() in light of the deschedule...and then race. Close #8347. | Ben Blum | -1/+23 | |
| 2013-08-12 | Make cell with_ref/with_mut_ref use finally. Close #7975. | Ben Blum | -8/+8 | |
| 2013-08-12 | Reorganise Select traits to not expose internal runtime types. Close #5160. ↵ | Ben Blum | -313/+348 | |
| Pending #8215. | ||||
| 2013-08-12 | Don't use unkillable in UnsafeArc dtor when there's no unwrapper. Close #8382. | Ben Blum | -19/+21 | |
| 2013-08-12 | auto merge of #8428 : blake2-ppc/rust/peekable-iterators, r=thestinger | bors | -19/+92 | |
| Peekable changes by @SimonSapin and original PR is #8396 | ||||
| 2013-08-11 | num: implement CheckedDiv | Daniel Micay | -2/+42 | |
| 2013-08-11 | auto merge of #8455 : nikomatsakis/rust/issue-5762-objects-dralston-d, r=graydon | bors | -1/+47 | |
| Fix #5762 and various other aspects of object invocation. r? @graydon | ||||
| 2013-08-11 | Update type visitor to use &Visitor and not @Visitor | Niko Matsakis | -0/+28 | |
| 2013-08-11 | Add a field `borrow_offset` to the type descriptor indicating | Niko Matsakis | -1/+19 | |
| what amount a T* pointer must be adjusted to reach the contents of the box. For `~T` types, this requires knowing the type `T`, which is not known in the case of objects. | ||||
| 2013-08-11 | auto merge of #8412 : thestinger/rust/vector-add, r=alexcrichton | bors | -16/+44 | |
| 2013-08-11 | fix unused imports | Daniel Micay | -2/+1 | |
| 2013-08-11 | move `strdup_uniq` lang item to std::str | Daniel Micay | -6/+8 | |
| 2013-08-11 | str: optimize `with_capacity` | Daniel Micay | -3/+21 | |
| before: test bench_with_capacity ... bench: 104 ns/iter (+/- 4) after: test bench_with_capacity ... bench: 56 ns/iter (+/- 1) | ||||
| 2013-08-11 | vec: optimize the Add implementation | Daniel Micay | -5/+14 | |
| before: test add ... bench: 164 ns/iter (+/- 1) after: test add ... bench: 113 ns/iter (+/- 2) | ||||
| 2013-08-11 | disable 64-bit CheckedMul on 32-bit | Daniel Micay | -2/+4 | |
| code generation problem reported as issue #8449 | ||||
| 2013-08-11 | add intrinsics for checked overflow add/sub/mul | Daniel Micay | -2/+503 | |
| 2013-08-10 | auto merge of #8404 : stepancheg/rust/zero-unit-inline, r=alexcrichton | bors | -0/+2 | |
| Follow-up to #8155 | ||||
| 2013-08-11 | Add a "peekable" iterator adaptor, with a peek() method that returns the ↵ | Simon Sapin | -0/+72 | |
| next element. | ||||
| 2013-08-11 | std::iterator: Rename .peek() to .inspect() | blake2-ppc | -19/+20 | |
| 2013-08-10 | Merge branch 'trie-bound-iters' of https://github.com/dim-an/rust into rollup | Erick Tryzelaar | -0/+102 | |
| 2013-08-10 | std: fix the non-stage0 str::raw::slice_bytes which broke in a merge | Erick Tryzelaar | -1/+1 | |
| 2013-08-10 | std: Transform.find_ -> .find | Erick Tryzelaar | -6/+6 | |
| 2013-08-10 | std: Iterator.len_ -> .len | Erick Tryzelaar | -8/+7 | |
| 2013-08-10 | std: Iterator.last_ -> .last | Erick Tryzelaar | -4/+3 | |
| 2013-08-10 | std: Iterator.chain_ -> .chain | Erick Tryzelaar | -10/+10 | |
| 2013-08-10 | std: Iterator.flat_map_ -> .flat_map | Erick Tryzelaar | -5/+4 | |
| 2013-08-10 | std: Iterator.take_ -> .take | Erick Tryzelaar | -29/+27 | |
| 2013-08-10 | std: Rename Iterator.transform -> .map | Erick Tryzelaar | -49/+48 | |
| cc #5898 | ||||
| 2013-08-10 | std: merge Iterator and IteratorUtil | Erick Tryzelaar | -280/+202 | |
| 2013-08-10 | std: merge iterator::DoubleEndedIterator and DoubleEndedIteratorUtil | Erick Tryzelaar | -28/+15 | |
| 2013-08-10 | Mass rename of .consume{,_iter}() to .move_iter() | Erick Tryzelaar | -67/+67 | |
| cc #7887 | ||||
| 2013-08-09 | auto merge of #8296 : erickt/rust/remove-str-trailing-nulls, r=erickt | bors | -474/+993 | |
| This PR fixes #7235 and #3371, which removes trailing nulls from `str` types. Instead, it replaces the creation of c strings with a new type, `std::c_str::CString`, which wraps a malloced byte array, and respects: * No interior nulls * Ends with a trailing null | ||||
| 2013-08-09 | Merge remote-tracking branch 'remotes/origin/master' into ↵ | Erick Tryzelaar | -199/+637 | |
| remove-str-trailing-nulls | ||||
| 2013-08-09 | auto merge of #8387 : brson/rust/nooldrt, r=brson | bors | -2119/+217 | |
| 2013-08-09 | Remove the C++ runtime. Sayonara | Brian Anderson | -2119/+217 | |
| 2013-08-09 | auto merge of #8176 : catamorphism/rust/rustpkg-extern-mod, r=catamorphism | bors | -2/+163 | |
| r? @graydon Also, notably, make rustpkgtest depend on the rustpkg executable (otherwise, tests that shell out to rustpgk might run when rustpkg doesn't exist). | ||||
| 2013-08-09 | std/rustc/rustpkg/syntax: Support the `extern mod = ...` form | Tim Chevalier | -2/+163 | |
| This commit allows you to write: extern mod x = "a/b/c"; which means rustc will search in the RUST_PATH for a package with ID a/b/c, and bind it to the name `x` if it's found. Incidentally, move get_relative_to from back::rpath into std::path | ||||
| 2013-08-09 | auto merge of #8415 : brson/rust/newrt-local-heap-perf, r=pcwalton,brson | bors | -68/+92 | |
| Mostly optimizing TLS accesses to bring local heap allocation performance closer to that of oldsched. It's not completely at parity but removing the branches involved in supporting oldsched and optimizing pthread_get/setspecific to instead use our dedicated TCB slot will probably make up for it. | ||||
| 2013-08-09 | Remove rtdebug_! and make rtdebug! work properly. | Corey Richardson | -12/+4 | |
| It now actually does logging, and is compiled out when `--cfg rtdebug` is not given to the libstd build, which it isn't by default. This makes the rt benchmarks 18-50% faster. | ||||
| 2013-08-09 | std: more windows fixes to os.rs and run.rs | Erick Tryzelaar | -4/+9 | |
| 2013-08-09 | auto merge of #8369 : yichoi/rust/arm-test, r=sanxiyn | bors | -4/+4 | |
| fix some part of test code to pass make check on ARM Android | ||||
| 2013-08-10 | std: add a Clone impl for HashSet. | Huon Wilson | -0/+26 | |
| 2013-08-09 | Implement `lower_bound_iter`/`upper_bound_iter` for TrieMap/TrieSet | Dmitry Ermolov | -0/+102 | |
| 2013-08-09 | Fix Ipv6Addr to_str for ::1:x.x.x.x addresses | Stepan Koltsov | -1/+8 | |
| Reported by luqmana@ | ||||
| 2013-08-09 | std: Fix perf of local allocations in newsched | Brian Anderson | -68/+92 | |
| Mostly optimizing TLS accesses to bring local heap allocation performance closer to that of oldsched. It's not completely at parity but removing the branches involved in supporting oldsched and optimizing pthread_get/setspecific to instead use our dedicated TCB slot will probably make up for it. | ||||
| 2013-08-09 | Remove redundant Ord method impls. | OGINO Masanori | -54/+3 | |
| Basically, generic containers should not use the default methods since a type of elements may not guarantees total order. str could use them since u8's Ord guarantees total order. Floating point numbers are also broken with the default methods because of NaN. Thanks for @thestinger. Timespec also guarantees total order AIUI. I'm unsure whether extra::semver::Identifier does so I left it alone. Proof needed. Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com> | ||||
| 2013-08-09 | std::tuple: Use != properly in Eq::ne for tuples | blake2-ppc | -1/+1 | |
| Just like the Ord methods, Eq::ne needs to be implemented in terms of the same operation on the elements. | ||||
| 2013-08-08 | Merge remote-tracking branch 'remotes/origin/master' into ↵ | Erick Tryzelaar | -274/+1840 | |
| remove-str-trailing-nulls | ||||
| 2013-08-08 | auto merge of #8336 : stepancheg/rust/socket-addr-from-str, r=brson | bors | -70/+367 | |
| FromStr implemented from scratch. It is overengineered a bit, however. Old implementation handles errors by fail!()-ing. And it has bugs, like it accepts `127.0.0.1::127.0.0.1` as IPv6 address, and does not handle all ipv4-in-ipv6 schemes. So I decided to implement parser from scratch. | ||||
| 2013-08-08 | auto merge of #8356 : toddaaro/rust/ws, r=brson | bors | -63/+164 | |
| This pull request converts the scheduler from a naive shared queue scheduler to a naive workstealing scheduler. The deque is still a queue inside a lock, but there is still a substantial performance gain. Fiddling with the messaging benchmark I got a ~10x speedup and observed massively reduced memory usage. There are still *many* locations for optimization, but based on my experience so far it is a clear performance win as it is now. | ||||
