| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-04-16 | Merge remote-tracking branch 'brson/sched-cleanup' | Brian Anderson | -449/+457 | |
| Conflicts: src/libcore/rt/sched/mod.rs | ||||
| 2013-04-16 | add self.token_to_str and is_any_keyword convenience abstractions | John Clements | -25/+55 | |
| 2013-04-16 | added MTWT functions | John Clements | -66/+462 | |
| 2013-04-16 | better error message on failure to parse type | John Clements | -1/+2 | |
| 2013-04-16 | move interner_key macro | John Clements | -22/+22 | |
| 2013-04-16 | auto merge of #5904 : huonw/rust/core-vec-windowed, r=thestinger | bors | -16/+41 | |
| And add some documentation. | ||||
| 2013-04-16 | libcore: vec::windowed iterates, not allocates. | Huon Wilson | -16/+41 | |
| 2013-04-15 | auto merge of #5901 : thestinger/rust/iterator, r=sanxiyn | bors | -36/+53 | |
| Can now use them like `x.transform(|i| i + 3).zip(y.filter(|i| i % 2)`. | ||||
| 2013-04-15 | auto merge of #5895 : huonw/rust/no-pub-tests, r=thestinger | bors | -2803/+2836 | |
| This patch is a sledge hammer that moves all tests into `#[cfg(test)] mod test { .. }`, and makes them private, there were several instances of `pub mod tests { #[test] pub fn ... } `. (The reason for this is I was playing with using `syntax` to index code ([result so far](http://www.ug.it.usyd.edu.au/~hwil7821/rust-api/)) and it was getting some junk from the tests.) The rustdoc commit is particularly brutal, so it's fine if that one isn't landed. | ||||
| 2013-04-15 | auto merge of #5899 : catamorphism/rust/copy-cops, r=catamorphism | bors | -27/+22 | |
| 2013-04-15 | rustc: Anti-copy police | Tim Chevalier | -27/+22 | |
| 2013-04-16 | libcore: missed an import for a test | Huon Wilson | -0/+1 | |
| 2013-04-15 | core::rt: Clean up some more hacks | Brian Anderson | -12/+6 | |
| 2013-04-15 | core::rt: Narrow down the unsafety of the thread-local scheduler | Brian Anderson | -47/+47 | |
| Only when borrowing the I/O implementation do we need unsafety | ||||
| 2013-04-15 | iterator: use an IteratorUtil trait | Daniel Micay | -35/+40 | |
| 2013-04-15 | update RELEASES.txt | Daniel Micay | -1/+13 | |
| 2013-04-15 | core::rt: Restructure context switches to take ownership of the Scheduler | Brian Anderson | -62/+94 | |
| In order to do a context switch you have to give up ownership of the scheduler, effectively passing it to the next execution context. This could help avoid some situations here tasks retain unsafe pointers to schedulers between context switches, across which they may have changed threads. There are still a number of uses of unsafe scheduler pointers. | ||||
| 2013-04-15 | auto merge of #5894 : catamorphism/rust/authors, r=catamorphism | bors | -0/+4 | |
| 2013-04-16 | librustdoc: move tests into dedicated tests module. | Huon Wilson | -1619/+1624 | |
| 2013-04-16 | libcore,std,syntax,rustc: move tests into `mod tests`, make them private (no ↵ | Huon Wilson | -1184/+1211 | |
| pub mod or pub fn). | ||||
| 2013-04-15 | Update AUTHORS.txt w/ Brett Cannon, Diggory Hardy, Jack Moffitt, James Miller | Tim Chevalier | -0/+4 | |
| 2013-04-15 | auto merge of #5879 : astrieanna/rust/document_std_base64, r=catamorphism | bors | -1/+79 | |
| This adds examples for the methods in std::base64. Each example is complete in the sense that you can copy-paste it into a file and compile it successfully without adding anything (imports, etc). The hardest part of figuring out how to use this was figuring out the right import statements to put at the top. | ||||
| 2013-04-15 | core::rt: Make Scheduler::unsafe_local return a fabricated region pointer | Brian Anderson | -247/+228 | |
| Instead of taking a closure. It's unsafe either way. Rename it to unsafe_local_borrow. | ||||
| 2013-04-15 | core::rt: Rename Scheduler::local to Scheduler::unsafe_local | Brian Anderson | -26/+30 | |
| 2013-04-15 | core::rt: A little bit of cleanup to thread-local scheduler | Brian Anderson | -20/+13 | |
| 2013-04-15 | core::rt: Move thread-local scheduler to its own module | Brian Anderson | -99/+109 | |
| 2013-04-15 | core::rt: Fix two incorrect uses of the thread-local scheduler | Brian Anderson | -2/+8 | |
| These would not be threadsafe | ||||
| 2013-04-15 | auto merge of #5861 : catamorphism/rust/rustpkg, r=catamorphism | bors | -63/+138 | |
| r? @graydon Pulled out tests into their own modules inside the files they test, as per the draft style guidelines. Started a new module, path_util, for utility functions to do with paths and directories. Changed default_dest_dir to use a condition and return Path instead of Option<Path>. | ||||
| 2013-04-15 | auto merge of #5891 : brson/rust/valgrind, r=brson | bors | -3/+0 | |
| Hopefully this puts out the final fire | ||||
| 2013-04-15 | rt: Move test functions to rust_test_helpers.cpp | Brian Anderson | -87/+107 | |
| 2013-04-15 | Make valgrind suppressions more liberal | Brian Anderson | -3/+0 | |
| Hopefully this puts out the final fire | ||||
| 2013-04-15 | auto merge of #5797 : alexcrichton/rust/issue-1913, r=catamorphism | bors | -985/+1045 | |
| Closes #5487, #1913, and #4568 I tracked this by adding all used unsafe blocks/functions to a set on the `tcx` passed around, and then when the lint pass comes around if an unsafe block/function isn't listed in that set, it's unused. I also removed everything from the compiler that was unused, and up to stage2 is now compiling without any known unused unsafe blocks. I chose `unused_unsafe` as the name of the lint attribute, but there may be a better name... | ||||
| 2013-04-16 | Prevent eval_const_expr_partial hides prior error in expr_cast arm. | Jeong YunWon | -25/+24 | |
| This will help not to meet confusing errors. In issue #5873, the error was "expected constant expr for vector length: Can't cast str to int". It was originally "expected constant expr for vector length: Non-constant path in constant expr" This patch make the original error to be printed. | ||||
| 2013-04-15 | Tidy | Tim Chevalier | -3/+3 | |
| 2013-04-15 | auto merge of #5888 : sawrubh/rust/mybranch, r=pnkfelix | bors | -0/+0 | |
| 2013-04-15 | Modified submodules to use https instead of git for git URL | Saurabh Anand | -2/+2 | |
| 2013-04-15 | auto merge of #5778 : jld/rust/reflect-abstract-enum, r=graydon | bors | -28/+201 | |
| This takes care of one of the last remnants of assumptions about enum layout. A type visitor is now passed a function to read a value's discriminant, then accesses fields by being passed a byte offset for each one. The latter may not be fully general, despite the constraints imposed on representations by borrowed pointers, but works for any representations currently planned and is relatively simple. Closes #5652. | ||||
| 2013-04-15 | auto merge of #5881 : danluu/rust/xfail_bind_by_move, r=graydon | bors | -3/+2 | |
| Update an old test to pass. I'm not 100% sure what the intent of the test was, but it's hard to see how I could have corrupted the intent of the test from the tiny changes I made. | ||||
| 2013-04-14 | core::rt: Clean up the thread-local scheduler code | Brian Anderson | -74/+79 | |
| Remove the ThreadLocalScheduler type in favor of functions. Move everything into the sched::local module. | ||||
| 2013-04-14 | core::rt: All context switches are followed by a cleanup action | Brian Anderson | -5/+7 | |
| 2013-04-14 | core::rt: Schedulers only need a single cleanup_job at a time | Brian Anderson | -31/+31 | |
| Each context switch has up to one cleanup job and it is always executed immediately after the context switch. | ||||
| 2013-04-14 | core::rt: Insert calls to run_cleanup_tasks after all context switches | Brian Anderson | -5/+8 | |
| 2013-04-14 | core::rt: Rename block_running_task_and_then to deschedul_... | Brian Anderson | -7/+7 | |
| 2013-04-14 | core::rt: Restructure task_from_last_cleanup_job to borrow correctly | Brian Anderson | -48/+63 | |
| We need a number of mutable references to contexts so name it `get_contexts` and return a tuple of all of them. | ||||
| 2013-04-14 | Fix xfail'd ARC test | Dan Luu | -3/+2 | |
| 2013-04-14 | Change to 4-space indents in code examples | Leah Hanson | -14/+14 | |
| 2013-04-14 | auto merge of #5880 : Dretch/rust/signals, r=thestinger | bors | -0/+30 | |
| This is a follow-up to #5761. Its purpose is to make core::libc more consistent - it currently only defines SIGKILL and SIGTERM, because they are the only values that happen to be needed by libcore. This adds all the posix signal value constants, except for those that have different values on different architectures. The output of the command `man 7 signal` was used to compile these signal values. | ||||
| 2013-04-14 | Flesh out the SIG* constants: this adds all the posix signal | gareth | -0/+30 | |
| value constants, except for those that have different values on different architectures. The output of the command `man 7 signal` was used to compile these signal values. | ||||
| 2013-04-14 | update copyright notice on base64.rs | Leah Hanson | -1/+1 | |
| 2013-04-14 | auto merge of #5779 : crabtw/rust/x86_64_abi, r=sanxiyn | bors | -2/+33 | |
| This fixes #5754. | ||||
