| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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 | -204/+232 | |
| 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: Make vec::push_all_move call reserve_at_least | Brian Anderson | -1/+1 | |
| vec::unshift uses this to add elements, scheduler queues use unshift, and this was causing a lot of reallocation | ||||
| 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 | Add OwnedStr::into_bytes | Steven Fackler | -1/+16 | |
| My primary use case here is sending strings across the wire where the intermediate storage is a byte array. The new method ends up avoiding a copy. | ||||
| 2013-08-24 | Settle on the format/write/print family of names | Alex Crichton | -26/+26 | |
| 2013-08-24 | Remove ifmt hax and implement fprintf | Alex Crichton | -17/+39 | |
| 2013-08-24 | auto merge of #8732 : kballard/rust/str-truncate, r=thestinger | bors | -0/+42 | |
| 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 | Add new function str.truncate() | Kevin Ballard | -0/+42 | |
| 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 | -2/+7 | |
| 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 | -15/+18 | |
| 2013-08-23 | auto merge of #8716 : andrew-d/rust/andrew-fix-warnings, r=alexcrichton | bors | -1/+1 | |
| Small, but whatever :8ball: | ||||
| 2013-08-23 | auto merge of #8705 : brson/rust/lesscxx, r=graydon | bors | -24/+7 | |
| 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 | fix performance regression from invalid IR | Daniel Micay | -1/+1 | |
| Monomorphize's normalization results in a 2% decrease in non-optimized code size for libstd, so there's a negligible cost to removing it. This also fixes several visit glue bugs because normalize wasn't considering the differences in visit glue between types. Closes #8720 | ||||
| 2013-08-23 | Fix some vector function failure tests. Closes #8698 | Brian Anderson | -8/+4 | |
| 2013-08-23 | Fix two small warnings | Andrew Dunham | -1/+1 | |
| 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 #8686 : kmcallister/rust/doc, r=catamorphism | bors | -1/+4 | |
| 2013-08-23 | auto merge of #8681 : mrordinaire/rust/remove-set_args, r=brson | bors | -25/+6 | |
| 2013-08-23 | auto merge of #8677 : bblum/rust/scratch, r=alexcrichton | bors | -51/+82 | |
| r anybody; there isn't anything complicated here | ||||
| 2013-08-22 | auto merge of #8671 : kballard/rust/range_inclusive-size-hint, r=thestinger | bors | -0/+15 | |
| r? @thestinger | ||||
| 2013-08-22 | auto merge of #8596 : vadimcn/rust/master, r=alexcrichton | bors | -78/+29 | |
| 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 | Disabled broken tests in std::vec. | Vadim Chugunov | -0/+4 | |
| 2013-08-22 | Enabled unit tests in std and extra. | Vadim Chugunov | -78/+25 | |
| 2013-08-23 | removed os::set_args, closing #8325 | Do Nhat Minh | -25/+6 | |
| removed pub on real_args, changed test to use args | ||||
| 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 | |
