| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-08-18 | Delete std::rt::io::net::http | Steven Fackler | -30/+0 | |
| It's an empty stub and as one of the comments notes, doesn't belong in libstd. | ||||
| 2013-08-18 | auto merge of #8560 : kballard/rust/reserve-yield, r=pcwalton | bors | -5/+5 | |
| Rename task::yield() to task::deschedule(). Fixes #8494. | ||||
| 2013-08-18 | auto merge of #8551 : huonw/rust/speling, r=alexcrichton | bors | -22/+21 | |
| (This doesn't add/remove `u`s or change `ize` to `ise`, or anything like that.) | ||||
| 2013-08-18 | More spelling corrections. | Huon Wilson | -2/+2 | |
| 2013-08-16 | A round of code cleaning for the primary scheduler code. Comments have been ↵ | toddaaro | -275/+201 | |
| updated, a minor amount of support type restructing has happened, methods have been reordered, and some duplicate code has been purged. | ||||
| 2013-08-16 | Moved the logic for a pausible idle callback into a new type - ↵ | toddaaro | -96/+103 | |
| PausibleIdleCallback and placed the appropriate signatures in rtio and implementation into uvio. | ||||
| 2013-08-16 | std::rt: Fix a race in UvRemoteCallback's dtor that misses callbacks | Brian Anderson | -7/+74 | |
| Full description in comments. | ||||
| 2013-08-16 | std::rt: Touch up idle logic | Brian Anderson | -16/+36 | |
| 2013-08-16 | an attempt at a singleton pausible idle callback for each scheduler. suffers ↵ | toddaaro | -19/+83 | |
| from nondeterministic deadlock and also pending scheduler messages on scheduler shutdown. | ||||
| 2013-08-16 | Reserve 'yield' keyword | Kevin Ballard | -5/+5 | |
| Rename task::yield() to task::deschedule(). Fixes #8494. | ||||
| 2013-08-16 | doc: convert remaining uses of core:: to std::. | Huon Wilson | -14/+14 | |
| 2013-08-16 | doc: correct spelling in documentation. | Huon Wilson | -6/+5 | |
| 2013-08-15 | Add ToCStr method .with_c_str() | Kevin Ballard | -8/+8 | |
| .with_c_str() is a replacement for the old .as_c_str(), to avoid unnecessary boilerplate. Replace all usages of .to_c_str().with_ref() with .with_c_str(). | ||||
| 2013-08-13 | auto merge of #8475 : kmcallister/rust/stack_segment, r=brson,brson | bors | -2/+2 | |
| Servo needs to tell SpiderMonkey about the stack bounds. r? @brson | ||||
| 2013-08-13 | Make rt::stack public | Keegan McAllister | -1/+1 | |
| Fixes #8478. | ||||
| 2013-08-13 | auto merge of #8423 : alexcrichton/rust/less-priv-again, r=bstrie | bors | -8/+8 | |
| Closes #5495 | ||||
| 2013-08-13 | auto merge of #8411 : bblum/rust/assorted-fixes, r=brson | bors | -322/+32 | |
| Each commit is pretty much what it says on the tin. r anybody. | ||||
| 2013-08-12 | Forbid pub/priv where it has no effect | Alex Crichton | -8/+8 | |
| Closes #5495 | ||||
| 2013-08-12 | std: Re-optimize tls access on local allocation path | Brian Anderson | -9/+17 | |
| I did this once but acciddentally undid it in a later patch. | ||||
| 2013-08-12 | rt::task: Make current_stack_segment public | Keegan McAllister | -1/+1 | |
| Servo needs to tell SpiderMonkey about the stack bounds. | ||||
| 2013-08-12 | Clean up transitionary glue in task/spawn.rs. Don't hold kill-little-lock ↵ | Ben Blum | -8/+6 | |
| for O(n) time, cf #3100, and optimize out several unneeded clone()s. | ||||
| 2013-08-12 | Fix select() in light of the deschedule...and then race. Close #8347. | Ben Blum | -1/+3 | |
| 2013-08-12 | Reorganise Select traits to not expose internal runtime types. Close #5160. ↵ | Ben Blum | -313/+23 | |
| Pending #8215. | ||||
| 2013-08-10 | std: Rename Iterator.transform -> .map | Erick Tryzelaar | -1/+1 | |
| cc #5898 | ||||
| 2013-08-10 | std: merge Iterator and IteratorUtil | Erick Tryzelaar | -2/+1 | |
| 2013-08-10 | Mass rename of .consume{,_iter}() to .move_iter() | Erick Tryzelaar | -6/+6 | |
| cc #7887 | ||||
| 2013-08-09 | auto merge of #8296 : erickt/rust/remove-str-trailing-nulls, r=erickt | bors | -23/+25 | |
| This PR fixes #7235 and #3371, which removes trailing nulls from `str` types. Instead, it replaces the creation of c strings with a new type, `std::c_str::CString`, which wraps a malloced byte array, and respects: * No interior nulls * Ends with a trailing null | ||||
| 2013-08-09 | Merge remote-tracking branch 'remotes/origin/master' into ↵ | Erick Tryzelaar | -99/+424 | |
| remove-str-trailing-nulls | ||||
| 2013-08-09 | auto merge of #8387 : brson/rust/nooldrt, r=brson | bors | -154/+17 | |
| 2013-08-09 | Remove the C++ runtime. Sayonara | Brian Anderson | -154/+17 | |
| 2013-08-09 | auto merge of #8415 : brson/rust/newrt-local-heap-perf, r=pcwalton,brson | bors | -28/+49 | |
| Mostly optimizing TLS accesses to bring local heap allocation performance closer to that of oldsched. It's not completely at parity but removing the branches involved in supporting oldsched and optimizing pthread_get/setspecific to instead use our dedicated TCB slot will probably make up for it. | ||||
| 2013-08-09 | Fix Ipv6Addr to_str for ::1:x.x.x.x addresses | Stepan Koltsov | -1/+8 | |
| Reported by luqmana@ | ||||
| 2013-08-09 | std: Fix perf of local allocations in newsched | Brian Anderson | -28/+49 | |
| Mostly optimizing TLS accesses to bring local heap allocation performance closer to that of oldsched. It's not completely at parity but removing the branches involved in supporting oldsched and optimizing pthread_get/setspecific to instead use our dedicated TCB slot will probably make up for it. | ||||
| 2013-08-08 | Merge remote-tracking branch 'remotes/origin/master' into ↵ | Erick Tryzelaar | -124/+281 | |
| remove-str-trailing-nulls | ||||
| 2013-08-08 | auto merge of #8336 : stepancheg/rust/socket-addr-from-str, r=brson | bors | -70/+367 | |
| FromStr implemented from scratch. It is overengineered a bit, however. Old implementation handles errors by fail!()-ing. And it has bugs, like it accepts `127.0.0.1::127.0.0.1` as IPv6 address, and does not handle all ipv4-in-ipv6 schemes. So I decided to implement parser from scratch. | ||||
| 2013-08-08 | auto merge of #8356 : toddaaro/rust/ws, r=brson | bors | -62/+156 | |
| This pull request converts the scheduler from a naive shared queue scheduler to a naive workstealing scheduler. The deque is still a queue inside a lock, but there is still a substantial performance gain. Fiddling with the messaging benchmark I got a ~10x speedup and observed massively reduced memory usage. There are still *many* locations for optimization, but based on my experience so far it is a clear performance win as it is now. | ||||
| 2013-08-08 | auto merge of #8385 : cmr/rust/big-rollup, r=alexcrichton | bors | -8/+28 | |
| This is a fairly large rollup, but I've tested everything locally, and none of it should be platform-specific. r=alexcrichton (bdfdbdd) r=brson (d803c18) r=alexcrichton (a5041d0) r=bstrie (317412a) r=alexcrichton (135c85e) r=thestinger (8805baa) r=pcwalton (0661178) r=cmr (9397fe0) r=cmr (caa4135) r=cmr (6a21d93) r=cmr (4dc3379) r=cmr (0aa5154) r=cmr (18be261) r=thestinger (f10be03) | ||||
| 2013-08-08 | Enabled workstealing in the scheduler. Previously we had one global work ↵ | toddaaro | -62/+156 | |
| queue shared by each scheduler. Now there is a separate work queue for each scheduler, and work is "stolen" from other queues when it is exhausted locally. | ||||
| 2013-08-08 | auto merge of #8245 : alexcrichton/rust/fmt2, r=graydon | bors | -1/+1 | |
| This is a reopening of #8182, although this removes any abuse of the compiler internals. Now it's just a pure syntax extension (hard coded what the attribute names are). | ||||
| 2013-08-07 | (cleanup) Improve rtabort message for atomic-sleep. | Ben Blum | -1/+2 | |
| 2013-08-07 | fix recv_ready for Port to take &self and not need to return a tuple. Close ↵ | Ben Blum | -7/+26 | |
| #8192. | ||||
| 2013-08-07 | Add initial support for a new formatting syntax | Alex Crichton | -1/+1 | |
| The new macro is available under the name ifmt! (only an intermediate name) | ||||
| 2013-08-07 | Disable linked failure tests | Brian Anderson | -0/+6 | |
| The implementation currently contains a race that leads to segfaults. | ||||
| 2013-08-07 | std: Allow spawners to specify stack size | Brian Anderson | -38/+46 | |
| 2013-08-07 | std::rt: Pull RUST_MIN_STACK from the environment | Brian Anderson | -3/+32 | |
| 2013-08-07 | std::rt: 2MB stacks again | Brian Anderson | -1/+1 | |
| 2013-08-07 | std: removed option.take_map{,_default} | Erick Tryzelaar | -5/+5 | |
| 2013-08-07 | core: option.map_consume -> option.map_move | Erick Tryzelaar | -6/+6 | |
| 2013-08-07 | std: add result.map_move, result.map_err_move | Erick Tryzelaar | -2/+2 | |
| 2013-08-06 | Merge remote-tracking branch 'remotes/origin/master' into ↵ | Erick Tryzelaar | -19/+56 | |
| remove-str-trailing-nulls | ||||
