| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-07-08 | vec: make vec_reserve_shared_actual private | Daniel Micay | -20/+7 | |
| 2013-07-08 | libc: add errno values | Fedor Indutny | -0/+281 | |
| 2013-07-08 | libc: VirtualAlloc and FileMapping bindings | Fedor Indutny | -4/+132 | |
| 2013-07-08 | libc: add _SC_* consts for non-mips linux too | Fedor Indutny | -0/+57 | |
| They was previously missing | ||||
| 2013-07-08 | libc: fix MAP_ANON value on linux | Fedor Indutny | -4/+4 | |
| 2013-07-07 | auto merge of #7497 : alexcrichton/rust/issue-7394, r=huonw | bors | -2/+8 | |
| 2013-07-07 | remove some method resolve workarounds | Daniel Micay | -19/+19 | |
| 2013-07-07 | iterator: Add `IteratorUtil::peek_` method | Andrew Paseltiner | -0/+65 | |
| 2013-07-07 | auto merge of #7629 : thestinger/rust/rope, r=graydon | bors | -2/+1 | |
| It's broken/unmaintained and needs to be rewritten to avoid managed pointers and needless copies. A full rewrite is necessary and the API will need to be redone so it's not worth keeping this around (#7628). Closes #2236, #2744 | ||||
| 2013-07-07 | auto merge of #7602 : blake2-ppc/rust/vec-pop-opt, r=cmr | bors | -36/+78 | |
| Implement methods `.pop_opt() -> Option<T>` and `.shift_opt() -> Option<T>` to allow retrieval of front/back of a vec in one operation without fail. .pop() and .shift() are changed to reuse the former two methods. Follows the naming of the previous method .head_opt() | ||||
| 2013-07-06 | auto merge of #7570 : kballard/rust/iterator-size-hint, r=thestinger | bors | -26/+138 | |
| Change the signature of Iterator.size_hint() to always have a lower bound. Implement .size_hint() on all remaining iterators (if it differs from the default). | ||||
| 2013-07-06 | remove extra::rope | Daniel Micay | -2/+1 | |
| It's broken/unmaintained and needs to be rewritten to avoid managed pointers and needless copies. A full rewrite is necessary and the API will need to be redone so it's not worth keeping this around. Closes #2236, #2744 | ||||
| 2013-07-06 | auto merge of #7194 : jensnockert/rust/endian, r=cmr | bors | -0/+14 | |
| They simply byte-swap an integer to a specific endian, like the hton* functions in C. These intrinsics are synthesized, so maybe they should be in another file. But since they are just a single line of code each, based on the bswap intrinsics and aren't really intended for public consumption I thought they would fit in the intrinsics file. The next step working on this could be to expose a trait / generic function for byteswapping. | ||||
| 2013-07-06 | Faster check for ascii-space | Gary Linscott | -1/+2 | |
| Since ' ' is by far one of the most common characters, it is worthwhile to put it first, and short-circuit the rest of the function. On the same JSON benchmark, as the json_perf improvement, reading example.json 10 times from https://code.google.com/p/rapidjson/wiki/Performance. Before: 0.16s After: 0.11s | ||||
| 2013-07-05 | str: stop encoding invalid out-of-range `char` | Daniel Micay | -22/+2 | |
| 2013-07-05 | vec: Add .shift_opt() -> Option<T> | blake2-ppc | -12/+40 | |
| Add a function to safely retrieve the first element of a ~[T], as Option<T>. Implement shift() using shift_opt(). Add tests for both .shift() and .shift_opt() | ||||
| 2013-07-05 | vec: Add .pop_opt() -> Option<T> | blake2-ppc | -24/+38 | |
| Add a function to safely retrieve the last element of a ~[T], as Option<T>. Implement pop() using pop_opt(); it benches the same as the old implementation when tested with optimization level 2. | ||||
| 2013-07-05 | Implement .size_hint() on the remaining Iterator adaptors | Kevin Ballard | -1/+118 | |
| Every iterator adaptor now has an implementation of .size_hint() that makes sense, except for when the default of (0, None) is correct. | ||||
| 2013-07-05 | Change signature of Iterator.size_hint | Kevin Ballard | -27/+22 | |
| Remove the Option wrapper around the lower bound. None is semantically the same as Size(0), so there's no point in having a distinction. | ||||
| 2013-07-04 | auto merge of #7549 : sfackler/rust/docs, r=msullivan | bors | -1/+2 | |
| I'm leaving the Sized kind undocumented since it isn't fully implemented yet. | ||||
| 2013-07-03 | Merge pull request #7565 from Blei/fix-rev-size-hint | Daniel Micay | -1/+16 | |
| vec: Fix size_hint() of reverse iterators | ||||
| 2013-07-03 | Fail when a vec::reserve is too large | Alex Crichton | -1/+14 | |
| 2013-07-03 | Merge remote-tracking branch 'mozilla/master' | Brian Anderson | -3300/+3654 | |
| Conflicts: src/libextra/test.rs src/libstd/at_vec.rs src/libstd/cleanup.rs src/libstd/rt/comm.rs src/libstd/rt/global_heap.rs src/libstd/task/spawn.rs src/libstd/unstable/lang.rs src/libstd/vec.rs src/rt/rustrt.def.in src/test/run-pass/extern-pub.rs | ||||
| 2013-07-04 | Convert vec::{as_imm_buf, as_mut_buf} to methods. | Huon Wilson | -73/+78 | |
| 2013-07-04 | Convert vec::windowed to an external iterator, and add an n-at-a-time chunk ↵ | Huon Wilson | -45/+132 | |
| iterator. | ||||
| 2013-07-04 | Convert vec::{split, splitn, rsplit, rsplitn} to external iterators. | Huon Wilson | -263/+158 | |
| 2013-07-04 | Remove standalone comparison functions in vec, make the trait impls better. | Huon Wilson | -155/+139 | |
| 2013-07-04 | Remove vec::reversed, replaced by iterators. | Huon Wilson | -27/+3 | |
| 2013-07-04 | Remove vec::{filter, filtered, filter_map, filter_mapped}, replaced by ↵ | Huon Wilson | -218/+3 | |
| iterators. | ||||
| 2013-07-04 | Implement consuming iterators for ~[], remove vec::{consume, ↵ | Huon Wilson | -133/+101 | |
| consume_reverse, map_consume}. | ||||
| 2013-07-03 | vec: Fix size_hint() of reverse iterators | Philipp Brüschweiler | -1/+16 | |
| Fixes #7558 | ||||
| 2013-07-03 | auto merge of #7523 : huonw/rust/uppercase-statics-lint, r=cmr | bors | -56/+70 | |
| Adds a lint for `static some_lowercase_name: uint = 1;`. Warning by default since it causes confusion, e.g. `static a: uint = 1; ... let a = 2;` => `error: only refutable patterns allowed here`. | ||||
| 2013-07-03 | auto merge of #7474 : Seldaek/rust/clean-iter, r=thestinger | bors | -313/+6 | |
| I think it's WIP - but I wanted to ask for feedback (/cc @thestinger) I had to move the impl of FromIter for vec into extra::iter because I don't think std can depend on extra, but that's a bit messed up. Similarly some FromIter uses are gone now, not sure if this is fixable or if I made a complete mess here.. | ||||
| 2013-07-02 | converted TODOs into XXXs | Eric Reed | -8/+7 | |
| 2013-07-02 | Merge remote-tracking branch 'upstream/io' into io | Eric Reed | -565/+403 | |
| Conflicts: src/libstd/rt/test.rs src/rt/rustrt.def.in | ||||
| 2013-07-02 | IPv6 support for UDP and TCP. | Eric Reed | -131/+768 | |
| 2013-07-02 | std: Use the same task failure message as C++ rt | Brian Anderson | -2/+2 | |
| 2013-07-02 | A missing ! made it so that the testcase schedule_home_states was throwing ↵ | toddaaro | -1/+1 | |
| spurious assert failures. Why this did not result in the test case failing previously is beyond me. | ||||
| 2013-07-01 | Small documentation changes | Steven Fackler | -1/+2 | |
| I'm leaving the Sized kind undocumented since it isn't fully implemented yet. | ||||
| 2013-07-01 | removed unnecessary import that slipped in during merge | toddaaro | -1/+0 | |
| 2013-07-01 | merging task/coroutine refactoring back into upstream | toddaaro | -19/+18 | |
| 2013-07-01 | Refactored the runtime to view coroutines as a component of tasks, instead ↵ | toddaaro | -550/+386 | |
| of tasks as a component of coroutines. | ||||
| 2013-07-01 | auto merge of #7521 : thestinger/rust/vec, r=Aatch | bors | -21/+32 | |
| continued from #7495 | ||||
| 2013-07-01 | rustc: add a lint to enforce uppercase statics. | Huon Wilson | -56/+70 | |
| 2013-06-30 | auto merge of #7487 : huonw/rust/vec-kill, r=cmr | bors | -614/+276 | |
| Continuation of #7430. I haven't removed the `map` method, since the replacement `v.iter().transform(f).collect::<~[SomeType]>()` is a little ridiculous at the moment. | ||||
| 2013-06-30 | pass exchange_malloc an alignment, not a tydesc | Daniel Micay | -7/+2 | |
| 2013-06-30 | global_heap: inline get_box_size and align_to | Daniel Micay | -0/+2 | |
| 2013-06-30 | vec: implement exchange vector reserve in Rust | Daniel Micay | -12/+14 | |
| 2013-06-30 | global_heap: inline malloc_raw and add realloc_raw | Daniel Micay | -2/+14 | |
| 2013-06-30 | auto merge of #7517 : brson/rust/0.7, r=brson | bors | -1/+1 | |
