2bfa2e5e | 23-Jan-2015 |
Andrius Bentkus |
style: rename buf to buffer and len to size for consistency PR-URL: https://github.com/libuv/libuv/pull/159 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> |
1e59ab1d | 23-Jan-2015 |
Andrius Bentkus |
fs, pipe: no trailing terminator in exact sized buffers uv_fs_poll_getpath, uv_pipe_getsockname, uv_fs_event_getpath used to return the trailing null terminator, even though the function
fs, pipe: no trailing terminator in exact sized buffers uv_fs_poll_getpath, uv_pipe_getsockname, uv_fs_event_getpath used to return the trailing null terminator, even though the functions returned the size. Fixes: https://github.com/libuv/libuv/issues/155 PR-URL: https://github.com/libuv/libuv/pull/159 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
77e85b9f | 24-Jan-2015 |
Ben Noordhuis |
test: back-port uv_loop_configure() test Back-port the uv_loop_configure() test from commit 751ac48 from the v1.x branch. PR-URL: https://github.com/libuv/libuv/pull/165 Rev
test: back-port uv_loop_configure() test Back-port the uv_loop_configure() test from commit 751ac48 from the v1.x branch. PR-URL: https://github.com/libuv/libuv/pull/165 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
b214fe66 | 23-Jan-2015 |
Ben Noordhuis |
linux: fix epoll_pwait() regression with < 2.6.19 Linux before kernel 2.6.19 does not support epoll_pwait(). Due to a logic error in commit 2daf944 ("unix: add flag for blocking SIGPROF
linux: fix epoll_pwait() regression with < 2.6.19 Linux before kernel 2.6.19 does not support epoll_pwait(). Due to a logic error in commit 2daf944 ("unix: add flag for blocking SIGPROF during poll"), the fallback path for ENOSYS was not taken. This commit also adds epoll_pwait() emulation using pthread_sigmask(). The block/unblock operations are not atomic but that is fine for our particular use case, to wit, sleep through SIGPROF signals. This is a back-port of commit 67bb2b5 from the v1.x branch. Original-PR-URL: https://github.com/libuv/libuv/pull/162 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> PR-URL: https://github.com/libuv/libuv/pull/165 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
79e69fd5 | 24-Jan-2015 |
Ben Noordhuis |
build: use -fvisibility=hidden in autotools build The gyp build only exports symbols from the API but the autotools build did not until now. Fixes: https://github.com/libuv/libu
build: use -fvisibility=hidden in autotools build The gyp build only exports symbols from the API but the autotools build did not until now. Fixes: https://github.com/libuv/libuv/issues/149 PR-URL: https://github.com/libuv/libuv/pull/164 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
965fffc2 | 23-Jan-2015 |
Ben Noordhuis |
build: compile -D_GNU_SOURCE on linux Fixes a number of -Wimplicit-function-declaration warnings for functions that are behind _GNU_SOURCE on old systems, like strndup() and pread().
build: compile -D_GNU_SOURCE on linux Fixes a number of -Wimplicit-function-declaration warnings for functions that are behind _GNU_SOURCE on old systems, like strndup() and pread(). PR-URL: https://github.com/libuv/libuv/pull/162 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
67bb2b5f | 23-Jan-2015 |
Ben Noordhuis |
linux: fix epoll_pwait() regression with < 2.6.19 Linux before kernel 2.6.19 does not support epoll_pwait(). Due to a logic error in commit 2daf944 ("unix: add flag for blocking SIGPROF
linux: fix epoll_pwait() regression with < 2.6.19 Linux before kernel 2.6.19 does not support epoll_pwait(). Due to a logic error in commit 2daf944 ("unix: add flag for blocking SIGPROF during poll"), the fallback path for ENOSYS was not taken. This commit also adds epoll_pwait() emulation using pthread_sigmask(). The block/unblock operations are not atomic but that is fine for our particular use case, to wit, sleep through SIGPROF signals. PR-URL: https://github.com/libuv/libuv/pull/162 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
f2bb8d39 | 20-Jan-2015 |
Saúl Ibarra Corretgé |
unix, win: add synchronous uv_get{addr,name}info PR-URL: https://github.com/libuv/libuv/pull/156 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Bert Belder <bertbelder@
unix, win: add synchronous uv_get{addr,name}info PR-URL: https://github.com/libuv/libuv/pull/156 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Bert Belder <bertbelder@gmail.com>
show more ...
|
0b9ee2cf | 16-Jan-2015 |
Ben Noordhuis |
unix: fix long line introduced in commit 94e628fa PR-URL: https://github.com/libuv/libuv/pull/150 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> |
955b1806 | 16-Jan-2015 |
Ben Noordhuis |
unix: fix implicit declaration compiler warning Include <string.h> explicitly to get the definition of strncpy(). Refs https://github.com/libuv/libuv/issues/138. PR-URL: ht
unix: fix implicit declaration compiler warning Include <string.h> explicitly to get the definition of strncpy(). Refs https://github.com/libuv/libuv/issues/138. PR-URL: https://github.com/libuv/libuv/pull/150 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
737cd1fb | 20-Jan-2015 |
Saúl Ibarra Corretgé |
doc: clarify uv_default_loop Indicate that it can (and should) also be closed, currently it's not "special" in any way. PR-URL: https://github.com/libuv/libuv/pull/147 Revie
doc: clarify uv_default_loop Indicate that it can (and should) also be closed, currently it's not "special" in any way. PR-URL: https://github.com/libuv/libuv/pull/147 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
ea5f1f98 | 19-Jan-2015 |
Alex Mo |
doc: explain how the threadpool is allocated Add an explanation about how libuv implements the threadpool and why. This is so users know what behavior they should expect when they make
doc: explain how the threadpool is allocated Add an explanation about how libuv implements the threadpool and why. This is so users know what behavior they should expect when they make use of threads. Related issue: https://github.com/libuv/libuv/issues/145 PR-URL: https://github.com/libuv/libuv/pull/146 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
32747c75 | 20-Jan-2015 |
Andrius Bentkus |
win,unix: move loop functions which have identical implementations uv_default_loop, uv_loop_new, uv_loop_close, uv_loop_delete PR-URL: https://github.com/libuv/libuv/pull/144 Re
win,unix: move loop functions which have identical implementations uv_default_loop, uv_loop_new, uv_loop_close, uv_loop_delete PR-URL: https://github.com/libuv/libuv/pull/144 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-by: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
7a19a48d | 14-Jan-2015 |
Saúl Ibarra Corretgé |
doc: clarify which flags are supported in uv_fs_event_start PR-URL: https://github.com/libuv/libuv/pull/135 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> |
b30a3e67 | 14-Jan-2015 |
Saúl Ibarra Corretgé |
unix, windows: set non-block mode in uv_poll_init libuv requires that the socket/fd is in non-blocking mode, so do it internally so the user doesn't need to write platform specific code
unix, windows: set non-block mode in uv_poll_init libuv requires that the socket/fd is in non-blocking mode, so do it internally so the user doesn't need to write platform specific code to do so. This also makes the API consistent with uv_{tcp,udp,pipe}_open, since it's not required to pass the fd in non-blocking mode there either. PR-URL: https://github.com/libuv/libuv/pull/136 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
9a530143 | 14-Jan-2015 |
Saúl Ibarra Corretgé |
Add SHA to ChangeLog |
4ca78e98 | 14-Jan-2015 |
Saúl Ibarra Corretgé |
2015.01.15, Version 1.2.1 (Stable) Changes since version 1.2.0: * unix: remove unused dtrace file (Saúl Ibarra Corretgé) * test: skip TTY select test if /dev/tty can't be o
2015.01.15, Version 1.2.1 (Stable) Changes since version 1.2.0: * unix: remove unused dtrace file (Saúl Ibarra Corretgé) * test: skip TTY select test if /dev/tty can't be opened (Saúl Ibarra Corretgé) * doc: clarify the behavior of uv_tty_init (Saúl Ibarra Corretgé) * doc: clarify how uv_async_send behaves (Saúl Ibarra Corretgé) * build: make dist now generates a full tarball (Johan Bergström) * freebsd: make uv_exepath more resilient (Saúl Ibarra Corretgé) * unix: make setting the tty mode to the same value a no-op (Saúl Ibarra Corretgé) * win,tcp: support uv_try_write (Bert Belder) * test: enable test-tcp-try-write on windows (Bert Belder) * win,tty: support uv_try_write (Bert Belder) * unix: set non-block mode in uv_{pipe,tcp,udp}_open (Ben Noordhuis)
show more ...
|
393c1c59 | 13-Jan-2015 |
Ben Noordhuis |
unix: set non-block mode in uv_{pipe,tcp,udp}_open The contract specifies that the file descriptor should already be in non-blocking mode before passing it to libuv. However, no
unix: set non-block mode in uv_{pipe,tcp,udp}_open The contract specifies that the file descriptor should already be in non-blocking mode before passing it to libuv. However, node users don't really have an opportunity to do so, never mind the fact that the call to uv_pipe_open() or uv_tcp_open() is an implementation detail that most users won't be aware of. Let's be nice and set the non-blocking flag explicitly. It's a cheap operation anyway. Fixes: https://github.com/libuv/libuv/issues/124 PR: https://github.com/libuv/libuv/pull/134 Reviewed-by: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
bb5f5d10 | 13-Jan-2015 |
Ben Noordhuis |
unix: fix -Wsign-compare warning in tty.c The mode argument is an enum now and the signedness of an enum is implementation-defined when it doesn't have negative members. Cast it
unix: fix -Wsign-compare warning in tty.c The mode argument is an enum now and the signedness of an enum is implementation-defined when it doesn't have negative members. Cast it to int in the comparison to tty->mode because the latter is still an int. PR: https://github.com/libuv/libuv/pull/134 Reviewed-by: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
55ea3712 | 12-Jan-2015 |
Bert Belder |
win,tty: support uv_try_write All windows console writes are synchronous anyway, so there's no reason for uv_try_write() to do nothing. PR: https://github.com/libuv/libuv/pull/1
win,tty: support uv_try_write All windows console writes are synchronous anyway, so there's no reason for uv_try_write() to do nothing. PR: https://github.com/libuv/libuv/pull/127 Reviewed-by: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
85a29343 | 11-Jan-2015 |
Bert Belder |
test: enable test-tcp-try-write on windows PR: https://github.com/libuv/libuv/pull/127 Reviewed-by: Saúl Ibarra Corretgé <saghul@gmail.com> |
9b8cef44 | 11-Jan-2015 |
Bert Belder |
win,tcp: support uv_try_write PR: https://github.com/libuv/libuv/pull/127 Reviewed-by: Saúl Ibarra Corretgé <saghul@gmail.com> |
e2f9b612 | 13-Jan-2015 |
Bert Belder |
win,stream: start uv_try_write implementation PR: https://github.com/libuv/libuv/pull/127 Reviewed-by: Saúl Ibarra Corretgé <saghul@gmail.com> |
550147fd | 12-Jan-2015 |
Saúl Ibarra Corretgé |
unix: make setting the tty mode to the same value a no-op Closes #131 PR-URL: https://github.com/libuv/libuv/pull/132 Reviewed-By: Bert Belder <bertbelder@gmail.com> |
c3e22b75 | 12-Jan-2015 |
Saúl Ibarra Corretgé |
freebsd: make uv_exepath more resilient PR-URL: https://github.com/libuv/libuv/pull/129 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> |