Revision tags: 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 ...
|
#
92040eb7 |
| 18-Jun-2013 |
Henry Rawas |
stream: add an API to make streams do blocking writes This patch adds the `uv_stream_set_blocking` API which makes all uv_write calls to that stream blocking. It currently only works for
stream: add an API to make streams do blocking writes This patch adds the `uv_stream_set_blocking` API which makes all uv_write calls to that stream blocking. It currently only works for pipes, on windows.
show more ...
|
Revision tags: v0.10.10, v0.11.4, v0.10.9, v0.10.8 |
|
#
db7dc689 |
| 18-May-2013 |
Bert Belder |
win: fix UV_EALREADY incorrectly set UV_EALREADY itself is already a libuv error, it should be set with uv__set_artifical_error and not with uv__set_sys_error. Closes #802 |
Revision tags: v0.11.3, v0.10.7, v0.10.6, v0.11.2, v0.10.5, v0.10.4, v0.11.1, 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 |
|
#
032c0417 |
| 03-Sep-2012 |
Bert Belder |
windows: use UV_HANDLE_READABLE and UV_HANDLE_WRITABLE These flags supersede UV_HANDLE_EOF and UV_HANDLE_SHUTTING. This patch also moves a lot of stream related state-checking code to st
windows: use UV_HANDLE_READABLE and UV_HANDLE_WRITABLE These flags supersede UV_HANDLE_EOF and UV_HANDLE_SHUTTING. This patch also moves a lot of stream related state-checking code to stream.c.
show more ...
|
Revision tags: node-v0.8.9, node-v0.9.1, node-v0.8.8, node-v0.8.7, 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, node-v0.7.10, node-v0.6.19 |
|
#
60746b03 |
| 04-Jun-2012 |
Bert Belder |
windows: move some stream functions to stream-inl.h |
#
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 |
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, node-v0.6.16 |
|
#
132fe600 |
| 18-Apr-2012 |
Ben Noordhuis |
const-ify stream argument to uv_is_readable() and uv_is_writable() |
Revision tags: node-v0.6.17, node-v0.7.8, node-v0.6.15, node-v0.6.14, node-v0.6.13, node-v0.7.6 |
|
#
5d210562 |
| 09-Mar-2012 |
Bert Belder |
Windows: make sure that shutdown_cb is always called This patch changes how uv-win uses the UV_SHUTTING and UV_SHUT flags. UV_SHUT is now only used for tcp handles to track whether shutd
Windows: make sure that shutdown_cb is always called This patch changes how uv-win uses the UV_SHUTTING and UV_SHUT flags. UV_SHUT is now only used for tcp handles to track whether shutdown() has actually been called. UV_SHUTTING has the more generic meaning of "no longer readable". It would be good to replace it by an actual UV_READABLE flag in the future. This makes the shutdown_close_tcp and shutdown_close_pipe tests pass on windows.
show more ...
|
#
95296dfa |
| 09-Mar-2012 |
Bert Belder |
Windows: make the refcount tests pass |
#
18823270 |
| 09-Mar-2012 |
Bert Belder |
Windows: fix connecting a pipe in the thread pool The code didn't function. Fixes the pipe_pound benchmarks. |
Revision tags: node-v0.6.12, node-v0.6.11, node-v0.7.4 |
|
#
f9be43a5 |
| 08-Feb-2012 |
Igor Zinkovsky |
support half-duplex pipes |
Revision tags: node-v0.6.10, node-v0.7.2, node-v0.6.9, node-v0.7.1, node-v0.7.0, node-v0.6.8, node-v0.6.7, node-v0.6.6, node-v0.6.4, node-v0.6.3, node-v0.6.2, node-v0.6.1, node-v0.6.0, node-v0.5.10 |
|
#
54982a23 |
| 19-Oct-2011 |
Igor Zinkovsky |
windows: stdio over non-overlapped pipes |
Revision tags: node-v0.5.9, node-v0.5.8 |
|
#
81c4043c |
| 30-Sep-2011 |
Igor Zinkovsky |
ipc on windows |
#
23796d20 |
| 27-Sep-2011 |
Erick Tryzelaar |
Fixes #76. Unify OS error reporting As a nice fringe benefit, this also shaves a word off of a windows TCP handle by replacing "uv_err_t bind_error" with "int bind_error". |
#
14cdc80a |
| 28-Sep-2011 |
Bert Belder |
win tty: Fix typo |
#
622eb991 |
| 26-Sep-2011 |
Bert Belder |
win: implement tty loose end: line-buffered input reads ascii, not unicode |
Revision tags: node-v0.5.7, node-v0.5.6 |
|
#
78debf9f |
| 31-Aug-2011 |
Bert Belder |
win: multiplicity |
Revision tags: node-v0.5.5 |
|
#
81182871 |
| 23-Aug-2011 |
Bert Belder |
win: store the tcp deferred bind error in uv_tcp_t.bind_error, remove uv_handle_t.error |
Revision tags: node-v0.5.4 |
|
#
e7497227 |
| 22-Jul-2011 |
Igor Zinkovsky |
merge uv_tcp_listen and uv_pipe_listen into uv_listen |
Revision tags: node-v0.5.2 |
|
#
3a91232f |
| 19-Jul-2011 |
Bert Belder |
Split up uv-win.c |