ede94898 | 29-Jun-2015 |
Saúl Ibarra Corretgé |
core: add UV_VERSION_HEX macro PR-URL: https://github.com/libuv/libuv/pull/412 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> |
ca3ec90c | 28-Jun-2015 |
heshamsafi |
test: conditionally skip udp_ipv6_multicast_join6 Skip udp_ipv6_multicast_join6 test if no ipv6 multicast route is defined on ff02::1 Reefs: https://github.com/joyent/libuv/issu
test: conditionally skip udp_ipv6_multicast_join6 Skip udp_ipv6_multicast_join6 test if no ipv6 multicast route is defined on ff02::1 Reefs: https://github.com/joyent/libuv/issues/1401#issuecomment-11570984 PR-URL: https://github.com/libuv/libuv/pull/411 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
d377435b | 26-Jun-2015 |
Saúl Ibarra Corretgé |
unix: consolidate tcp and udp bind error OSX, other BSDs and SunoS fail with EAFNOSUPPORT when binding a socket created with AF_INET to an AF_INET6 address or vice versa. PR-URL
unix: consolidate tcp and udp bind error OSX, other BSDs and SunoS fail with EAFNOSUPPORT when binding a socket created with AF_INET to an AF_INET6 address or vice versa. PR-URL: https://github.com/libuv/libuv/pull/407 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
af20bb68 | 26-Jun-2015 |
Ben Noordhuis |
test: retry select() on EINTR, honor milliseconds Make the test runner code that waits for other processes to terminate retry the select() system call on EINTR and take elapsed time into
test: retry select() on EINTR, honor milliseconds Make the test runner code that waits for other processes to terminate retry the select() system call on EINTR and take elapsed time into account. A small side effect of this change is that millisecond timeout values are now honored. PR-URL: https://github.com/libuv/libuv/pull/410 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
f8f59824 | 16-Jun-2015 |
Saúl Ibarra Corretgé |
unix, win: add ability to create tcp/udp sockets early Introduce two new APIs: int uv_tcp_init_ex(uv_loop_t*, uv_tcp_t* handle, int flags) int uv_udp_init_ex(uv_loop_t*, uv_udp_
unix, win: add ability to create tcp/udp sockets early Introduce two new APIs: int uv_tcp_init_ex(uv_loop_t*, uv_tcp_t* handle, int flags) int uv_udp_init_ex(uv_loop_t*, uv_udp_t* handle, int flags) The lower 8 bits of the flags field are used for the socket domain. AF_INET, AF_INET6 and AF_UNSPEC are supported. If AF_UNSPEC is specified the socket is created lazily, just like uv_{tcp,udp}_init. Some Windows notes: getsockname fails with WSAEINVAL if the socket is not bound. This could potentially be improved by detecting the socket family and filling the sockaddr_in/6 struct manually. bind returns WSAEFAULT if we try to bind a socket to the wrong family. Unix returns EINVAL. PR-URL: https://github.com/libuv/libuv/pull/400 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
2dddd565 | 18-Jun-2015 |
Saúl Ibarra Corretgé |
win: move logic to set socket non-inheritable to uv_tcp_set_socket PR-URL: https://github.com/libuv/libuv/pull/400 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> |
fb5df542 | 17-Jun-2015 |
Saúl Ibarra Corretgé |
unix, win: prevent replacing fd in uv_{udp,tcp,pipe}_t PR-URL: https://github.com/libuv/libuv/pull/400 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> |
70bbfa0e | 15-Jun-2015 |
Stefano Cristiano |
win,fs: Fixes align(8) directive on mingw Fixes: https://github.com/libuv/libuv/issues/190 PR-URL: https://github.com/libuv/libuv/pull/398 Reviewed-By: Saúl Ibarra Corretgé <saghul@g
win,fs: Fixes align(8) directive on mingw Fixes: https://github.com/libuv/libuv/issues/190 PR-URL: https://github.com/libuv/libuv/pull/398 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
c8eebc93 | 15-Jun-2015 |
Michael Neumann |
dragonflybsd: fix uv_exepath This fixes a bug I have noticed with nodejs: > cat test.js console.log(process.execPath); > node test.js (on DragonFly) node test.j
dragonflybsd: fix uv_exepath This fixes a bug I have noticed with nodejs: > cat test.js console.log(process.execPath); > node test.js (on DragonFly) node test.js > node test.js (on Linux) node PR-URL: https://github.com/libuv/libuv/pull/399 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
db8c812a | 14-Jun-2015 |
Michael Neumann |
dragonflybsd: use sendfile(2) for uv_fs_sendfile PR-URL: https://github.com/libuv/libuv/pull/399 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <sa
dragonflybsd: use sendfile(2) for uv_fs_sendfile PR-URL: https://github.com/libuv/libuv/pull/399 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
94ba71b9 | 14-Jun-2015 |
Michael Neumann |
dragonflybsd: fixes for nonblocking and cloexec Use the same code path as FreeBSD does. PR-URL: https://github.com/libuv/libuv/pull/399 Reviewed-By: Ben Noordhuis <info@bnoordhu
dragonflybsd: fixes for nonblocking and cloexec Use the same code path as FreeBSD does. PR-URL: https://github.com/libuv/libuv/pull/399 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
514c0b3d | 26-May-2015 |
Peter Jas |
windows: MSVC 2015 has C99 inline Prior to MSVC 2015, the standard C99 `inline` keyword was missing, added a compiler version check and disabled the inline replacement for MSVC >= 20
windows: MSVC 2015 has C99 inline Prior to MSVC 2015, the standard C99 `inline` keyword was missing, added a compiler version check and disabled the inline replacement for MSVC >= 2015 in test/task.h. Refs: https://github.com/libuv/libuv/pull/341 PR-URL: https://github.com/libuv/libuv/pull/369 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
c0c26a0f | 10-Jun-2015 |
Cheng Zhao |
win: include "malloc.h" As stated in malloc's docs[1], the malloc.h is required for using the malloc function, and from malloc.h's source code (which can be found under installed VS)
win: include "malloc.h" As stated in malloc's docs[1], the malloc.h is required for using the malloc function, and from malloc.h's source code (which can be found under installed VS), malloc is defined as a macro that has different behaviors under different configurations. So using malloc without including malloc.h is very dangerous, for certain build configurations crashes can happen when writing to memory allocated by malloc. [1]: https://msdn.microsoft.com/en-us/library/6ewkz86d.aspx PR-URL: https://github.com/libuv/libuv/pull/395 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Bert Belder <bertbelder@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
c619f37c | 11-Jun-2015 |
Bert Belder |
win,fs: don't close fd 0-2 PR-URL: https://github.com/libuv/libuv/pull/396 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> |
f6fc5dd5 | 11-Jun-2015 |
Bert Belder |
win,tty: don't close fd 0-2 PR-URL: https://github.com/libuv/libuv/pull/396 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> |
164fbda6 | 11-Jun-2015 |
Bert Belder |
win,tty: properly close when created from CRT fd When a Windows handle was opened from a CRT fd, it needs to be closed with `close()` instead of `CloseHandle()`. PR-URL: https:/
win,tty: properly close when created from CRT fd When a Windows handle was opened from a CRT fd, it needs to be closed with `close()` instead of `CloseHandle()`. PR-URL: https://github.com/libuv/libuv/pull/396 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
0bad50a0 | 10-Jun-2015 |
Bert Belder |
win,tty: convert fd -> handle safely _get_osfhandle() may throw if it's used to convert a non-open file descriptor to a Windows HANDLE. Use the safe uv__get_osfhandle instead. P
win,tty: convert fd -> handle safely _get_osfhandle() may throw if it's used to convert a non-open file descriptor to a Windows HANDLE. Use the safe uv__get_osfhandle instead. PR-URL: https://github.com/libuv/libuv/pull/396 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
90fb8cb0 | 10-Jun-2015 |
Bert Belder |
win,pipe: don't close fd 0-2 PR-URL: https://github.com/libuv/libuv/pull/396 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> |
4ed29c24 | 10-Jun-2015 |
Bert Belder |
win,pipe: properly close when created from CRT fd When a Windows handle was opened from a CRT fd, it needs to be closed with `close()` instead of `CloseHandle()`. PR-URL: https:
win,pipe: properly close when created from CRT fd When a Windows handle was opened from a CRT fd, it needs to be closed with `close()` instead of `CloseHandle()`. PR-URL: https://github.com/libuv/libuv/pull/396 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
b6bf6d2d | 10-Jun-2015 |
Bert Belder |
win,stream: add slot to remember CRT fd Certain types of streams may be opened from a CRT file descriptor (as opposed to a Windows HANDLE). In order to close the file descriptor late
win,stream: add slot to remember CRT fd Certain types of streams may be opened from a CRT file descriptor (as opposed to a Windows HANDLE). In order to close the file descriptor later, libuv must store the file descriptor used to open the stream. PR-URL: https://github.com/libuv/libuv/pull/396 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
60e515d9 | 05-Jun-2015 |
Saúl Ibarra Corretgé |
Add SHA to ChangeLog |
30c8be07 | 05-Jun-2015 |
Saúl Ibarra Corretgé |
2015.06.06, Version 1.6.1 (Stable) Changes since version 1.6.0: * unix: handle invalid _SC_GETPW_R_SIZE_MAX values (cjihrig) |
d82e47a6 | 04-Jun-2015 |
cjihrig |
unix: handle invalid _SC_GETPW_R_SIZE_MAX values Some systems, FreeBSD for example, may return negative values. sysconf() returns a long, which was being converted to a size_t. This
unix: handle invalid _SC_GETPW_R_SIZE_MAX values Some systems, FreeBSD for example, may return negative values. sysconf() returns a long, which was being converted to a size_t. This conversion lead to large allocations, and subsequent out of memory failures. This commit checks the long value returned by sysconf() properly, and uses a default value of 4096 if a negative number is returned. PR-URL: https://github.com/libuv/libuv/pull/389 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
f198b82f | 03-Jun-2015 |
Saúl Ibarra Corretgé |
Add SHA to ChangeLog |
adfccad7 | 03-Jun-2015 |
Saúl Ibarra Corretgé |
2015.06.04, Version 1.6.0 (Stable) Changes since version 1.5.0: * aix: fix setsockopt for multicast options (Michael) * unix: don't block for io if any io handle is primed
2015.06.04, Version 1.6.0 (Stable) Changes since version 1.5.0: * aix: fix setsockopt for multicast options (Michael) * unix: don't block for io if any io handle is primed (Saúl Ibarra Corretgé) * windows: MSVC 2015 has snprintf() (Rui Abreu Ferreira) * windows: Add VS2015 support to vcbuild.bat (Jason Williams) * doc: fix typo in tcp.rst (Igor Soarez) * linux: work around epoll bug in kernels < 2.6.37 (Ben Noordhuis) * unix,win: add uv_os_homedir() (cjihrig) * stream: fix `select()` race condition (Fedor Indutny) * unix: prevent infinite loop in uv__run_pending (Saúl Ibarra Corretgé) * unix: make sure UDP send callbacks are asynchronous (Saúl Ibarra Corretgé) * test: fix `platform_output` netmask printing. (Andrew Paprocki) * aix: add ahafs autoconf detection and README notes (Andrew Paprocki) * core: add ability to customize memory allocator (Saúl Ibarra Corretgé)
show more ...
|