Revision tags: v0.11.16, v0.10.20, v0.11.15, v0.10.19, v0.11.14, v0.10.18, v0.10.17, v0.10.16, v0.11.13, v0.11.12, v0.11.11, v0.11.10, v0.10.15, v0.11.9, v0.10.14, v0.11.8, v0.11.7, v0.10.13, v0.11.6, v0.10.12, v0.11.5, v0.10.11 |
|
#
3ee4d3f1 |
| 06-Jun-2013 |
Ben Noordhuis |
unix, windows: return error codes directly This commit changes the libuv API to return error codes directly rather than storing them in a loop-global field. A code snippet like
unix, windows: return error codes directly This commit changes the libuv API to return error codes directly rather than storing them in a loop-global field. A code snippet like this one: if (uv_foo(loop) < 0) { uv_err_t err = uv_last_error(loop); fprintf(stderr, "%s\n", uv_strerror(err)); } Should be rewritten like this: int err = uv_foo(loop); if (err < 0) fprintf(stderr, "%s\n", uv_strerror(err)); The rationale for this change is that it should make creating bindings for other languages a lot easier: dealing with struct return values is painful with most FFIs and often downright buggy.
show more ...
|
Revision tags: v0.10.10, v0.11.4, v0.10.9, v0.10.8, v0.11.3, v0.10.7, v0.10.6, v0.11.2, v0.10.5, v0.10.4, v0.11.1 |
|
#
4d4f1496 |
| 10-Apr-2013 |
Brian White |
windows, unix: remove dead code |
Revision tags: node-v0.11.0, v0.10.2, node-v0.7.3, node-v0.7.7, node-v0.7.5, node-v0.5.3, node-v0.10.1, node-v0.10.0, node-v0.9.12, node-v0.9.11, node-v0.8.21, node-v0.8.19, node-v0.9.10, node-v0.9.7, node-v0.9.6, node-v0.9.4, node-v0.8.17, node-v0.8.15, node-v0.9.3, node-v0.8.12, node-v0.8.10, node-v0.9.2 |
|
#
9aead825 |
| 13-Sep-2012 |
Bert Belder |
windows: rename UV_HANDLE_CLOSING to UV__HANDLE_CLOSING |
Revision tags: node-v0.8.9, node-v0.9.1 |
|
#
637be161 |
| 27-Aug-2012 |
Bert Belder |
windows: make active and closing handle state independent |
Revision tags: node-v0.8.8, node-v0.8.7 |
|
#
837edf4c |
| 09-Aug-2012 |
Ben Noordhuis |
unix, windows: remove handle init counters Remove the handle init counters, no one uses them. |
Revision tags: node-v0.8.6, node-v0.8.5, node-v0.6.21, node-v0.8.3, node-v0.9.0, node-v0.8.2, node-v0.8.1, node-v0.8.0, node-v0.7.12, node-v0.7.11 |
|
#
95e89c6a |
| 12-Jun-2012 |
Ben Noordhuis |
unix, windows: share uv__handle_init() |
Revision tags: node-v0.7.10, node-v0.6.19 |
|
#
d8b95eaf |
| 02-Jun-2012 |
Bert Belder |
windows: inline a couple of handle functions |
#
d4026041 |
| 02-Jun-2012 |
Bert Belder |
windows: inline a couple of inline request functions |
#
dd1355da |
| 02-Jun-2012 |
Bert Belder |
windows: stop poll watcher when watched socket is closed locally |
#
07f01752 |
| 01-Jun-2012 |
Bert Belder |
windows: fix hang when closing an active poll handle |
#
528123ad |
| 01-Jun-2012 |
Bert Belder |
windows: fix bugs in uv__fast_poll_cancel_poll_req |
#
171ad856 |
| 29-May-2012 |
Ben Noordhuis |
unix, windows: add uv_walk() Lets the libuv user iterate over the open handles. Mostly intended as a debugging tool or a post-hoc cleanup mechanism. |
Revision tags: node-v0.7.9 |
|
#
9efa8b35 |
| 17-May-2012 |
Ben Noordhuis |
unix, windows: rework reference counting scheme This commit changes how the event loop determines if it needs to stay alive. Previously, an internal counter was increased whenever a
unix, windows: rework reference counting scheme This commit changes how the event loop determines if it needs to stay alive. Previously, an internal counter was increased whenever a handle got created and decreased again when the handle was closed. While conceptually simple, it turned out hard to work with: you often want to keep the event loop alive only if the handle is actually doing something. Stopped or inactive handles were a frequent source of hanging event loops. That's why this commit changes the reference counting scheme to a model where a handle only references the event loop when it's active. 'Active' means different things for different handle types, e.g.: * timers: ticking * sockets: reading, writing or listening * processes: always active (for now, subject to change) * idle, check, prepare: only active when started This commit also changes how the uv_ref() and uv_unref() functions work: they now operate on the level of individual handles, not the whole event loop. The Windows implementation was done by Bert Belder.
show more ...
|
Revision tags: node-v0.6.18 |
|
#
b9504f79 |
| 03-May-2012 |
Bert Belder |
Rename uv_platform_socket_t to uv_os_sock_t |
Revision tags: node-v0.6.16 |
|
#
d7a71761 |
| 24-Apr-2012 |
Bert Belder |
Windows: implement uv_poll |