summary refs log tree commit diff
path: root/src/libstd
AgeCommit message (Collapse)AuthorLines
2012-05-21Merge pull request #2413 from erickt/masterBrian Anderson-1/+18
a couple misc changes
2012-05-21std: Make timer tests more reliable under valgrindBrian Anderson-25/+43
2012-05-21change list so that it must be used in a purely boxed fashionNiko Matsakis-10/+12
The old way was inconsistent---the head was unboxed but the tail was boxed. This resulted in numerous needless copies and also made the borrow check unhappy, because the head tended to be stored in mutable memory.
2012-05-21make list based on boxesNiko Matsakis-52/+39
2012-05-19std: Fix a typoErick Tryzelaar-1/+1
2012-05-19expose tzsetErick Tryzelaar-0/+17
2012-05-18port smallintmap over to dvecNiko Matsakis-28/+18
also: add a non-operator-overloaded method for [] to work around #2378
2012-05-18avoid modifying the variable we are alting overNiko Matsakis-11/+8
2012-05-18introduce a few copies here and thereNiko Matsakis-1/+1
2012-05-18purge ufindNiko Matsakis-55/+1
2012-05-18Using const vector slices for more vec functions.Eric Holk-1/+2
2012-05-18std: Don't copy hash key until we mustBrian Anderson-2/+2
2012-05-17Added a method to convert sets to vectors.Eric Holk-0/+13
2012-05-15Remove `be` keyword.Lindsey Kuper-1/+1
Closes #2227.
2012-05-03Comment only: Annotate FIXMEs in std::timeTim Chevalier-1/+2
2012-05-03Write unicode::icu::UCHAR_INVALID_CODE as -1, removing a FIXMETim Chevalier-3/+1
2012-05-03Comments only: annotate more FIXMEs in libstdTim Chevalier-3/+3
2012-05-03Annotate more FIXMES in libstd (comments only)Tim Chevalier-7/+7
2012-05-03Annotate FIXMEs in std::bitv, and remove a FIXMETim Chevalier-8/+3
Changed a while loop into a for loop in std::bitv::equal. Yay!
2012-05-02std: Do less work in the timer stress testsBrian Anderson-4/+4
2012-05-01Merge pull request #2322 from bkircher/fix-getopts-docsBrian Anderson-9/+27
Fix getopts docs
2012-05-01std: Fix example in getopts module docsBenjamin Kircher-7/+25
Issue #1833.
2012-05-01std: Fix typo in getopts doc attributeBenjamin Kircher-2/+2
2012-04-30core: Serialize all access to the environment using a weak global taskBrian Anderson-14/+8
2012-04-28std: Add 2 timer stress testsBrian Anderson-0/+41
2012-04-27rt/std: whitespace cleanup + work on hl/global_loop docsJeff Olson-24/+40
2012-04-27std: another stab at a race-free global loop implementationJeff Olson-515/+188
seems to hold up pretty well. uv::hl API is affected.. had to do work on tests and std::timer code that leverages the global loop/high_level_loop API. see test_stress_gl_uv_global_loop_high_level_global_timer for a stress example.. it takes a while to run, but it exits cleanly (something I could never accomplish with earlier iterations of the global loop)
2012-04-27std: get rid of some un-needed rustrt native fns for the global loopJeff Olson-5/+0
2012-04-27std: add ll::loop_refcount binding for uv_loop_refcountJeff Olson-0/+5
2012-04-26std: Add FIXME about time testsBrian Anderson-0/+2
2012-04-26temporary hack to make testing std::time reliableTed Horst-8/+12
2012-04-25More slice use in vec, io, str, ebml, metadata encoder and decoder.Graydon Hoare-20/+35
2012-04-25Rewrite exhaustiveness checkerMarijn Haverbeke-1/+0
Issue #2111
2012-04-23Move map iface over to more `for`-friendly iteration methodsMarijn Haverbeke-46/+37
2012-04-21std: Export sort::leBrian Anderson-0/+1
2012-04-20std: ignore tests that use high_level_loopJeff Olson-2/+5
until race issue with (most likely) refcount scheme is sorted out
2012-04-20std: add timer::recv_timeout() and whitespace cleanupJeff Olson-6/+76
2012-04-20std: add std::timer and timer::delayed_send and timer::sleepJeff Olson-1/+115
.. leveraging std::uv, we have: timer::delayed_send - send a value over a provided channel after the timeout has passed timer::sleep - block the current task for the specified period both of these fns (and everything that goes in timer.rs) leverage the uv_timer_* API
2012-04-20std: dump old std::uv API.. move remaining tests into uv::llJeff Olson-1240/+610
2012-04-20std::uv : cleanup and an isolated test for hand-rolled high_level_loopsJeff Olson-29/+204
2012-04-20std: fail if exiting hl_loop has unref_handles at weaken_task exitJeff Olson-3/+4
2012-04-20whitespace cleanupJeff Olson-1/+1
2012-04-20std: get_monitor_task_gl() is global_loop::get() defaultJeff Olson-10/+114
2012-04-20std: refactor global_loop::get.. make it reusableJeff Olson-22/+88
2012-04-20fix uv_timer_t size in 32bit linux and windowsJeff Olson-8/+9
.. fixes issue, in previous commit, with global loop test hanging on 32bit linux (this was because the struct was too small, so (presumably), the data member was garbled.. yippy)
2012-04-20uv::hl::get_global_loop() -> uv::global_loop::get()Jeff Olson-274/+304
- moved global loop tests, as well.. will add tests in uv_hl that encompass rolling your own high_level_loop via uv::hl::run_high_level_loop() - also whitespace cleanups and misc warning cleanup.. - doesn't work on 32bit linux
2012-04-20replace impl of globa_async_handle with one using atomic compare-and-swapJeff Olson-14/+36
2012-04-20fix a race in global loop test; unref_handle now takes a close_cbJeff Olson-19/+15
2012-04-20don't use ::malloc for initializing the global_async_handle in rust_kernelJeff Olson-1/+0
2012-04-20make weak task that runs libuv loop unsupervisedJeff Olson-1/+1