| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-05-27 | Make test_change_working_directory change the current | gareth | -3/+5 | |
| directory to be the parent of the current-current directory, instead of changing to the tmp directory, which was causing issues with OS X and its /tmp => /private/tmp symlink. | ||||
| 2013-05-27 | Refactor core::run in order to address many of the issues | gareth | -304/+607 | |
| mentioned in #2625. This change makes the module more oriented around Process values instead of having to deal with process ids directly. Apart from issues mentioned in #2625, other changes include: - Changing the naming to be more consistent - Process/process is now used instead of a mixture of Program/program and Process/process. - More docs/tests. Some io/scheduler related issues remain (mentioned in #2625). | ||||
| 2013-05-26 | auto merge of #6748 : steveklabnik/rust/bool_docs, r=thestinger | bors | -19/+194 | |
| There was some before, but now we have a big header, as well as lots of individual bits of documentation. | ||||
| 2013-05-26 | Add documentation for libstd/bool.rs. | Steve Klabnik | -19/+194 | |
| There was some before, but now we have a big header, as well as lots of individual bits of documentation. | ||||
| 2013-05-26 | inline bump_box_refcount | Daniel Micay | -0/+1 | |
| 2013-05-26 | make transmute_copy use memcpy, and inline it | Daniel Micay | -0/+21 | |
| 2013-05-26 | use uninit for cast::transmute_copy | Daniel Micay | -1/+1 | |
| 2013-05-26 | add memset32/memset64 | Daniel Micay | -0/+34 | |
| 2013-05-26 | C++0x -> C++11 | Daniel Micay | -1/+1 | |
| 2013-05-26 | make the memcpy/memmove intrinsics higher-level | Daniel Micay | -23/+58 | |
| This allows them to make use of the type's alignment, instead of being pessimistic and assuming it is only 1. | ||||
| 2013-05-25 | testsuite: Add a test for listing the root directory... | Tim Chevalier | -1/+15 | |
| ...and don't treat Path("/") like Path(""). | ||||
| 2013-05-25 | core: Fail with a better error message when list_dir gets an empty path | Tim Chevalier | -0/+11 | |
| (Yes, this did happen in real life...) | ||||
| 2013-05-26 | Add some documentation | James Miller | -1/+25 | |
| 2013-05-26 | Add AtomicOption type | James Miller | -33/+91 | |
| 2013-05-26 | Make AtomicPtr use *mut, instead of ~ | James Miller | -47/+15 | |
| 2013-05-25 | auto merge of #6722 : alexcrichton/rust/issue-4219-no-merge-hack, r=brson | bors | -1149/+941 | |
| Changes the int/uint modules to all use macros instead of using the `merge` attribute. It would be nice to have #4375 resolved as well for this, but that can probably come at a later date. Closes #4219. | ||||
| 2013-05-25 | Add basic atomic types | James Miller | -0/+344 | |
| 2013-05-24 | Remove usage of the #[merge] hack with int modules | Alex Crichton | -1149/+941 | |
| 2013-05-24 | auto merge of #6712 : thestinger/rust/derive, r=catamorphism | bors | -24/+2 | |
| 2013-05-24 | use deriving for DeepClone | Daniel Micay | -24/+2 | |
| 2013-05-23 | auto merge of #6710 : thestinger/rust/swap, r=catamorphism | bors | -6/+44 | |
| 2013-05-23 | optimize util::swap, &mut pointers never alias | Daniel Micay | -3/+35 | |
| 2013-05-24 | make arm register definition consistent with rt | Jyun-Yan You | -1/+1 | |
| 2013-05-23 | add memcpy intrinsic to mirror memmove | Daniel Micay | -0/+7 | |
| 2013-05-23 | swap_ptr: rm equality check | Daniel Micay | -3/+2 | |
| This isn't needed semantically, and it's the wrong case to optimize for. | ||||
| 2013-05-23 | cleanup warnings from libstd | Erick Tryzelaar | -566/+545 | |
| 2013-05-23 | core: remove iter_bytes helper functions | Erick Tryzelaar | -36/+0 | |
| 2013-05-22 | libstd: Fix merge fallout. | Patrick Walton | -0/+3238 | |
| 2013-05-22 | syntax: Change syntax extensions to expand to `std::foo` instead of `core::foo` | Patrick Walton | -0/+10 | |
| 2013-05-22 | libextra: Rename the actual metadata names of libcore to libstd and libstd ↵ | Patrick Walton | -7/+8 | |
| to libextra | ||||
| 2013-05-22 | librustc: Rename core injection to std injection | Patrick Walton | -2/+3 | |
| 2013-05-22 | libstd: Rename libcore to libstd and libstd to libextra; update makefiles. | Patrick Walton | -32134/+52668 | |
| This only changes the directory names; it does not change the "real" metadata names. | ||||
| 2013-05-22 | add smallintset | Jihyun Yu | -1/+242 | |
| 2013-05-20 | auto merge of #6647 : alexcrichton/rust/unnecessary-alloc, r=graydon | bors | -60/+60 | |
| This adds a lint mode for detecting unnecessary allocations on the heap. This isn't super fancy, currently it only has two rules 1. For a function's arguments, if you allocate a `[~|@]str` literal, when the type of the argument is a `&str`, emit a warning. 2. For the same case, emit warnings for boxed vectors when slices are required. After adding the lint, I rampaged through the libraries and removed all the unnecessary allocations I could find. | ||||
| 2013-05-20 | auto merge of #6372 : brson/rust/intrinsics, r=catamorphism | bors | -12/+6 | |
| ...s | ||||
| 2013-05-20 | auto merge of #6639 : osaut/rust/arc-clean, r=brson | bors | -4/+34 | |
| * Add ARC::get method and implements the function from it. * Add an example showing a simple use of ARC. Update PR #6622 to avoid git noise. I will remove the function get later. | ||||
| 2013-05-20 | Replace all uses of rust-intrinsic ABI with calls to unstable::intrinsics | Brian Anderson | -12/+6 | |
| 2013-05-20 | Remove all unnecessary allocations (as flagged by lint) | Alex Crichton | -60/+60 | |
| 2013-05-20 | Remove two warnings about unneccesary safe blocks. | Steve Klabnik | -6/+2 | |
| Since a snapshot was done last night, these are good to go. | ||||
| 2013-05-20 | Add ARC::get method and implements the function from it. Add an example ↵ | Olivier Saut | -2/+32 | |
| showing a simple use of ARC. | ||||
| 2013-05-20 | Typo corrected and updated copyright years | Olivier Saut | -2/+2 | |
| 2013-05-19 | Register snapshots | Brian Anderson | -1814/+0 | |
| 2013-05-19 | auto merge of #6106 : thestinger/rust/iter, r=bstrie | bors | -16/+11 | |
| I don't have a strong opinion on the function vs. method, but there's no point in having both. I'd like to make a `repeat` adaptor like Python/Haskell for turning a value into an infinite stream of the value, so this has to at least be renamed. | ||||
| 2013-05-19 | Use assert_eq! rather than assert! where possible | Corey Richardson | -547/+547 | |
| 2013-05-18 | auto merge of #6577 : brson/rust/io-upstream, r=pcwalton | bors | -16/+9 | |
| r? This is all of my scheduler work on #4419 from the last 3 weeks or so. I've had a few failed pull requests so far but I think the problems are ironed out. * TCP * The beginnings of runtime embedding APIs * Porting various corners of core to be compatible with both schedulers * libuv timer bindings * Further refinement of I/O error handling, including a new, incomplete, `read_error` condition * Incomplete refactoring to make tasks work without coroutines and user-space scheduling * Implementations of Reader/Writer extension methods * Implementations of the most important part of core::comm I'm particularly happy with how easy the [comm types on top of the scheduler](https://github.com/brson/rust/blob/io-upstream/src/libcore/rt/comm.rs). Note that these implementations do not use pipes. If anything here needs careful review though it's this code. This branch passes 95% of the run-pass tests (with `TESTARGS=--newrt`) In the next week I'll probably spend some time adding preliminary multithreading and seeing how close we are to removing the old runtime. | ||||
| 2013-05-18 | Remove trailing whitespaces | Olivier Saut | -1/+1 | |
| 2013-05-18 | replace old_iter::repeat with the Times trait | Daniel Micay | -16/+11 | |
| 2013-05-17 | core: Wire up oneshot pipes to newsched | Brian Anderson | -12/+5 | |
| 2013-05-17 | Merge remote-tracking branch 'brson/io' into incoming | Brian Anderson | -4/+4 | |
| 2013-05-17 | Correct the example given for a future, add punctuation where necessary | Olivier Saut | -6/+8 | |
