| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-08-27 | Fix merge fallout | Alex Crichton | -3/+3 | |
| 2013-08-27 | Implement process bindings to libuv | Alex Crichton | -89/+803 | |
| Closes #6436 | ||||
| 2013-08-27 | Upgrade libuv to the current master + our patches | Alex Crichton | -83/+45 | |
| There were two main differences with the old libuv and the master version: 1. The uv_last_error function is now gone. The error code returned by each function is the "last error" so now a UvError is just a wrapper around a c_int. 2. The repo no longer includes a makefile, and the build system has change. According to the build directions on joyent/libuv, this now downloads a `gyp` program into the `libuv/build` directory and builds using that. This shouldn't add any dependences on autotools or anything like that. Closes #8407 Closes #6567 Closes #6315 | ||||
| 2013-08-27 | librustc: Fix merge fallout | Patrick Walton | -19/+19 | |
| 2013-08-27 | librustc: Fix problem with cross-crate reexported static methods. | Patrick Walton | -5/+13 | |
| 2013-08-27 | libstd: Fix merge fallout. | Patrick Walton | -5/+5 | |
| 2013-08-27 | librustc: Stop calling `each_path` in coherence. | Patrick Walton | -3/+3 | |
| 10% win or so for small crates. | ||||
| 2013-08-27 | librustc: Ensure that type parameters are in the right positions in paths. | Patrick Walton | -96/+124 | |
| This removes the stacking of type parameters that occurs when invoking trait methods, and fixes all places in the standard library that were relying on it. It is somewhat awkward in places; I think we'll probably want something like the `Foo::<for T>::new()` syntax. | ||||
| 2013-08-27 | librustc: Remove `&const` and `*const` from the language. | Patrick Walton | -17/+19 | |
| They are still present as part of the borrow check. | ||||
| 2013-08-27 | auto merge of #8790 : huonw/rust/unsafearc, r=thestinger | bors | -20/+20 | |
| `UnsafeAtomicRcBox` → `UnsafeArc` (#7674), and `AtomicRcBoxData` → `ArcData` to reflect this. Also, the inner pointer of `UnsafeArc` is now `*mut ArcData`, which avoids some transmutes to `~`: i.e. less chance of mistakes. | ||||
| 2013-08-27 | Rename UnsafeAtomicRcBox to UnsafeArc. Fixes #7674. | Huon Wilson | -20/+20 | |
| 2013-08-27 | Decrement unkillable counter before failing | Flaper Fesp | -1/+3 | |
| 2013-08-27 | Don't make the runtime exit on illegal calls | Flaper Fesp | -1/+3 | |
| 2013-08-26 | Support Win64 context switching | klutzy | -7/+31 | |
| This patch saves and restores win64's nonvolatile registers. This patch also saves stack information of thread environment block (TEB), which is at %gs:0x08 and %gs:0x10. | ||||
| 2013-08-26 | std: Add Win64 support | klutzy | -1/+8 | |
| Some extern blobs are duplicated without "stdcall" abi, since Win64 does not use any calling convention. (Giving any abi to them causes llvm producing wrong bytecode.) | ||||
| 2013-08-25 | auto merge of #8723 : anasazi/rust/temporary-unkillable-io, r=brson | bors | -124/+165 | |
| Also added a home_for_io_with_sched variant to consolidate some cases. This is a temporary step to resolving #8674. | ||||
| 2013-08-24 | auto merge of #8607 : sfackler/rust/extensions, r=brson | bors | -123/+122 | |
| The method names in std::rt::io::extensions::WriterByteConversions are the same as those in std::io::WriterUtils and a resolve error causes rustc to fail after trying to find an impl of io::Writer instead of trying to look for rt::io::Writer as well. | ||||
| 2013-08-24 | auto merge of #8740 : brson/rust/rt-opt, r=thestinger | bors | -189/+211 | |
| See #8599 | ||||
| 2013-08-24 | std::rt: Enforce sanity a while longer | Brian Anderson | -1/+2 | |
| I'm not comfortable turning off rtassert! yet | ||||
| 2013-08-24 | std::rt: Remove an unnecessary allocation from the main sched loop | Brian Anderson | -11/+11 | |
| 2013-08-24 | std: Convert the runtime TLS key to a Rust global to avoid FFI | Brian Anderson | -15/+17 | |
| 2013-08-24 | std::rt: Remove metrics for perf | Brian Anderson | -115/+0 | |
| These aren't used for anything at the moment and cause some TLS hits on some perf-critical code paths. Will need to put better thought into it in the future. | ||||
| 2013-08-24 | std::rt: Reduce MessageQueue contention | Brian Anderson | -12/+69 | |
| It's not a huge win but it does reduce the amount of time spent contesting the message queue when the schedulers are under load | ||||
| 2013-08-24 | std::rt: Reduce SleeperList contention | Brian Anderson | -12/+44 | |
| This makes the lock much less contended. In the test I'm running the number of times it's contended goes from ~100000 down to ~1000. | ||||
| 2013-08-24 | std::rt: Remove extra boxes from MessageQueue and SleeperList | Brian Anderson | -7/+6 | |
| 2013-08-24 | std::rt: Optimize TLS use in change_task_context | Brian Anderson | -1/+25 | |
| 2013-08-24 | std: More TLS micro-optimization | Brian Anderson | -12/+31 | |
| 2013-08-24 | auto merge of #8725 : bblum/rust/docs, r=graydon | bors | -1/+85 | |
| This documents how to use trait bounds in a (hopefully) user-friendly way, in the containers tutorial, and also documents the task watching implementation for runtime developers in kill.rs. r anybody | ||||
| 2013-08-23 | std: Convert some assert!s to rtassert! | Brian Anderson | -5/+6 | |
| 2013-08-23 | Define cfg(rtopt) when optimizing. Turn off runtime sanity checks | Brian Anderson | -0/+3 | |
| Naturally, and sadly, turning off sanity checks in the runtime is a noticable performance win. The particular test I'm running goes from ~1.5 s to ~1.3s. Sanity checks are turned *on* when not optimizing, or when cfg includes `rtdebug` or `rtassert`. | ||||
| 2013-08-23 | std: Reduce TLS access | Brian Anderson | -3/+2 | |
| 2013-08-23 | rt: Remove old precise GC code | Brian Anderson | -3/+0 | |
| 2013-08-23 | rt: Remove exit_status helpers | Brian Anderson | -16/+5 | |
| 2013-08-23 | rt: Memory regions are never synchronized now | Brian Anderson | -5/+2 | |
| 2013-08-23 | Document the task watching / exit code propagation implementation. | Ben Blum | -1/+85 | |
| 2013-08-23 | Rename {Reader,Writer}ByteConversions methods | Steven Fackler | -123/+122 | |
| The method names in std::rt::io::extensions::WriterByteConversions are the same as those in std::io::WriterUtils and a resolve error causes rustc to fail after trying to find an impl of io::Writer instead of trying to look for rt::io::Writer as well. Same goes for ReaderByteConversions. | ||||
| 2013-08-23 | auto merge of #8691 : anasazi/rust/fix-timer-interface, r=brson | bors | -7/+2 | |
| Resolves #8687. | ||||
| 2013-08-23 | auto merge of #8677 : bblum/rust/scratch, r=alexcrichton | bors | -6/+8 | |
| r anybody; there isn't anything complicated here | ||||
| 2013-08-22 | auto merge of #8596 : vadimcn/rust/master, r=alexcrichton | bors | -2/+0 | |
| This resolves issue #908. Notable changes: - On Windows, LLVM integrated assembler emits bad stack unwind tables when segmented stacks are enabled. However, unwind info directives in the assembly output are correct, so we generate assembly first and then run it through an external assembler, just like it is already done for Android builds. - Linker is invoked via "g++" command instead of "gcc": g++ passes the appropriate magic parameters to the linker, which ensure correct registration of stack unwind tables in dynamic libraries. | ||||
| 2013-08-22 | Enabled unit tests in std and extra. | Vadim Chugunov | -2/+0 | |
| 2013-08-22 | fix 32bit mac build error | Jeff Olson | -2/+2 | |
| 2013-08-22 | make check appeasement | Jeff Olson | -1/+2 | |
| 2013-08-22 | std: put FileMode/Access->whence-mask in uvio, open/unlink as fns in file:: | Jeff Olson | -100/+109 | |
| 2013-08-22 | std: slight refactor on UvFilestream seek behavior, pre-seek-refactor | Jeff Olson | -38/+34 | |
| 2013-08-22 | std: all of the calls in rt::uv::file take a &Loop | Jeff Olson | -44/+43 | |
| 2013-08-22 | std: moved static file actions (open,unlink) to FsRequest | Jeff Olson | -63/+63 | |
| 2013-08-22 | std: reform fn sigs of FileDescriptor methods (better result signalling) | Jeff Olson | -42/+46 | |
| 2013-08-22 | std: rename tmp file paths to go into ./tmp folder in builddir | Jeff Olson | -10/+10 | |
| 2013-08-22 | change FileDescriptor instance methods to use &mut self | Jeff Olson | -11/+11 | |
| 2013-08-22 | std: more seek tests | Jeff Olson | -1/+71 | |
