Revision tags: 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 |
|
#
5879c613 |
| 12-May-2013 |
Ben Noordhuis |
unix: remove errno preserving code Remove the errno preserving code. Libuv only implemented it in a haphazard way and there seems to be a general consensus that no one really cares a
unix: remove errno preserving code Remove the errno preserving code. Libuv only implemented it in a haphazard way and there seems to be a general consensus that no one really cares anyway. Therefore, remove it.
show more ...
|
Revision tags: v0.11.2, v0.10.5, v0.10.4, v0.11.1, node-v0.11.0 |
|
#
0635e297 |
| 26-Mar-2013 |
Ben Noordhuis |
unix, windows: remove ngx-queue.h Avoids an extra #include in public headers and stops the ngx_queue_* types and macros from leaking into user code. |
Revision tags: v0.10.2, node-v0.7.3, node-v0.7.7, node-v0.7.5, node-v0.5.3, node-v0.10.1 |
|
#
b45a74fa |
| 15-Mar-2013 |
Fedor Indutny |
stream: run try_select only for pipes and ttys Its not necesary for TCP and other streams, since fd is always working with kqueue there. |
Revision tags: node-v0.10.0, node-v0.9.12, node-v0.9.11, node-v0.8.21 |
|
#
3348cd74 |
| 21-Feb-2013 |
Ben Noordhuis |
unix: handle EINPROGRESS for unix sockets Before this commit, it was assumed that connect() on UNIX sockets never returns EINPROGRESS. It turned out to be a bad assumption: Dave Pacheco
unix: handle EINPROGRESS for unix sockets Before this commit, it was assumed that connect() on UNIX sockets never returns EINPROGRESS. It turned out to be a bad assumption: Dave Pacheco reports sporadic hangups on SmartOS because of that. It's not clear to me _why_ the Illumos kernel returns that error but that's inconsequential: whatever the cause, libuv needs to handle it and now it does. Fixes joyent/node#4785.
show more ...
|
Revision tags: 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, node-v0.8.9, node-v0.9.1, node-v0.8.8 |
|
#
731adaca |
| 16-Aug-2012 |
Fedor Indutny |
unix: use select() for specific fds on OS X kqueue(2) on osx doesn't work (emits EINVAL error) with specific fds (i.e. /dev/tty, /dev/null, etc). When given such descriptors - start
unix: use select() for specific fds on OS X kqueue(2) on osx doesn't work (emits EINVAL error) with specific fds (i.e. /dev/tty, /dev/null, etc). When given such descriptors - start select(2) watcher thread that will emit io events.
show more ...
|
#
65bb6f06 |
| 15-Nov-2012 |
Ben Noordhuis |
unix: rename UV__IO_* constants |
#
1282d648 |
| 22-Aug-2012 |
Ben Noordhuis |
unix: remove dependency on libev |
#
b0bcbdfe |
| 01-Nov-2012 |
Ben Noordhuis |
unix: NULL pipe_fname in uv__pipe_close() Pro-actively avoid use-after-free errors, set the pipe_fname field to NULL. |
#
c8514b03 |
| 13-Sep-2012 |
Saúl Ibarra Corretgé |
unix, windows: return error if uv_pipe_open fails |
Revision tags: 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 |
|
#
ff59525c |
| 19-Jul-2012 |
Ben Noordhuis |
unix: fix uv_pipe_connect() with existing fd Don't create a new socket descriptor if one has been previously assigned with uv_pipe_open(). |
#
e3a28508 |
| 19-Jul-2012 |
Ben Noordhuis |
unix: fix errno reporting in uv_pipe_connect() Remember the errno when the socket() syscall fails. |
Revision tags: 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, node-v0.7.10, node-v0.6.19 |
|
#
58a272e5 |
| 29-May-2012 |
Ben Noordhuis |
unix: rework pending handle/req logic |
Revision tags: node-v0.7.9 |
|
#
752ac30e |
| 24-May-2012 |
Ben Noordhuis |
unix: don't pass sockaddr to accept() Shaves a few nanoseconds off the accept() syscall. |
#
3604b8dd |
| 23-May-2012 |
Ben Noordhuis |
unix: don't unlink UNIX socket on EADDRINUSE It was a bad idea to start with... |
#
3bc97070 |
| 23-May-2012 |
Ben Noordhuis |
unix: replace ev_io with uv__io_t Replace ev_io usage with wrapper constructs. This is preliminary work for the transition to a libev-less linux backend. |
#
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 |
|
#
e3875548 |
| 02-May-2012 |
Bert Belder |
Unix: namespace stream handle flags |
Revision tags: node-v0.6.16 |
|
#
1fa1c510 |
| 21-Apr-2012 |
Ben Noordhuis |
unix: call pipe handle connection cb on accept() error |
Revision tags: node-v0.6.17, node-v0.7.8, node-v0.6.15 |
|
#
5a8446c3 |
| 04-Apr-2012 |
Ben Noordhuis |
unix: move handle specific close logic out of core.c |
Revision tags: node-v0.6.14 |
|
#
4ff0898c |
| 19-Mar-2012 |
Ben Noordhuis |
unix: replace uv__close() with close() uv__close() was deprecated a while ago. It's been an alias for close() ever since. Remove it. |
Revision tags: node-v0.6.13, node-v0.7.6, node-v0.6.12, node-v0.6.11, node-v0.7.4, node-v0.6.10, node-v0.7.2 |
|
#
243cfcd0 |
| 01-Feb-2012 |
isaacs |
Merge remote-tracking branch 'ry/v0.6'
|
#
98c0498d |
| 30-Jan-2012 |
isaacs |
unix: Remove assert in uv__pipe_accept This assert unnecessarily prevents people from using the pipe_wrap class in node to send file descriptors over sockets. |
Revision tags: node-v0.6.9, node-v0.7.1, node-v0.7.0, node-v0.6.8, node-v0.6.7 |
|
#
b89c31b9 |
| 06-Dec-2011 |
Ben Noordhuis |
unix: fix warning: return 0 in function returning void |