ec96b554 | 21-Sep-2017 |
Scott Parker |
unix,win: add uv_mutex_init_recursive() Support the creation of recursive mutexes on Unix. A matching API is added on Windows, however mutexes on Windows are always recursive.
unix,win: add uv_mutex_init_recursive() Support the creation of recursive mutexes on Unix. A matching API is added on Windows, however mutexes on Windows are always recursive. Refs: https://github.com/libuv/libuv/issues/1022 PR-URL: https://github.com/libuv/libuv/pull/1555 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
5b6eead0 | 30-Sep-2017 |
Kamil Rytarowski |
test: fix udp_multicast_join6 on NetBSD NetBSD must use the uv_udp_set_membership call with "::1%lo0", similar to FreeBSD. PR-URL: https://github.com/libuv/libuv/pull/1577 R
test: fix udp_multicast_join6 on NetBSD NetBSD must use the uv_udp_set_membership call with "::1%lo0", similar to FreeBSD. PR-URL: https://github.com/libuv/libuv/pull/1577 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
60bf1dfb | 30-Sep-2017 |
Kamil Rytarowski |
netbsd: use uv__cloexec and uv__nonblock This commit causes NetBSD, like other BSDs, to reuse uv__cloexec_ioctl and uv__nonblock_ioctl. This fixes poll_nested_kqueue. PR-URL
netbsd: use uv__cloexec and uv__nonblock This commit causes NetBSD, like other BSDs, to reuse uv__cloexec_ioctl and uv__nonblock_ioctl. This fixes poll_nested_kqueue. PR-URL: https://github.com/libuv/libuv/pull/1575 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
7824370f | 30-Sep-2017 |
Kamil Rytarowski |
netbsd: disable poll_bad_fdtype on NetBSD Follow other BSDs and disable the failing poll_bad_fdtype test on NetBSD. PR-URL: https://github.com/libuv/libuv/pull/1574 Reviewed
netbsd: disable poll_bad_fdtype on NetBSD Follow other BSDs and disable the failing poll_bad_fdtype test on NetBSD. PR-URL: https://github.com/libuv/libuv/pull/1574 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
8ea2ee4e | 02-Oct-2017 |
Sakthipriyan Vairamani (thefourtheye) |
unix: remove unused variables PR-URL: https://github.com/libuv/libuv/pull/1578 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com
unix: remove unused variables PR-URL: https://github.com/libuv/libuv/pull/1578 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
e9d2b582 | 29-Sep-2017 |
Carlo Marcelo Arenas Belón |
win: remove unused variables This commit removes unused variables left over from 6ad1e81547c83f9fe7c5a806b6b282642e8d3bca. Refs: https://github.com/libuv/libuv/pull/1408 PR-
win: remove unused variables This commit removes unused variables left over from 6ad1e81547c83f9fe7c5a806b6b282642e8d3bca. Refs: https://github.com/libuv/libuv/pull/1408 PR-URL: https://github.com/libuv/libuv/pull/1571 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
9991bb7c | 03-Aug-2017 |
John Barboza |
build: avoid -fstrict-aliasing compile option Libuv is not aliasing-safe if you consider aliasing to be nominal rather than structural and it's not as if it makes much of a differenc
build: avoid -fstrict-aliasing compile option Libuv is not aliasing-safe if you consider aliasing to be nominal rather than structural and it's not as if it makes much of a difference in the quality of the generated code, at least for libuv. PR-URL: https://github.com/libuv/libuv/pull/1457 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
939a8f1a | 07-Sep-2017 |
Carlo Marcelo Arenas Belón |
windows: fix compilation warnings Refs: https://github.com/libuv/libuv/pull/1530 PR-URL: https://github.com/libuv/libuv/pull/1542 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
windows: fix compilation warnings Refs: https://github.com/libuv/libuv/pull/1530 PR-URL: https://github.com/libuv/libuv/pull/1542 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
c1ca7f07 | 12-Sep-2017 |
Sakthipriyan Vairamani |
test: sort the tests alphabetically As it is, when the tests run, there is no indicator as to how long the tests will run, how many more tests are pending. PR-URL: https://githu
test: sort the tests alphabetically As it is, when the tests run, there is no indicator as to how long the tests will run, how many more tests are pending. PR-URL: https://github.com/libuv/libuv/pull/1543 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
8d3645a1 | 11-Aug-2017 |
John Barboza |
zos: fix readlink for mounts with system variables On z/OS, fs mounts can have variables starting with '$'. The problem is that following symlinks that contain these variables can lead t
zos: fix readlink for mounts with system variables On z/OS, fs mounts can have variables starting with '$'. The problem is that following symlinks that contain these variables can lead to a loop because readlink($SYSVAR) will return $SYSVAR. To work around this, we must resolve the $SYSVAR to an actual path using realpath. More information about z/OS symlink resolution is available here: https://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/ com.ibm.zos.v2r1.bpxb100/sym.htm PR-URL: https://github.com/libuv/libuv/pull/1472 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
3877a90e | 09-Sep-2017 |
Kamil Rytarowski |
netbsd: implement uv__tty_is_slave() NetBSD as an extension returns with ptsname(3) and ptsname_r(3) the slave device name for both descriptors, the master one and slave one. Wo
netbsd: implement uv__tty_is_slave() NetBSD as an extension returns with ptsname(3) and ptsname_r(3) the slave device name for both descriptors, the master one and slave one. Workaround this problem and verify the device major and compare it with the pts driver. Major numbers for the master and the slave TTY are machine-dependent. On amd64 they are respectively 6 (ptc) and 5 (pts). PR-URL: https://github.com/libuv/libuv/pull/1533 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
11a7aa4a | 25-Sep-2017 |
Zheng, Lei |
android: fix getifaddrs() The most critical bug is using IFLA_RTA instead of IFA_RTA on address message. This causes android to not return any ipv6 address. PR-URL: https://gith
android: fix getifaddrs() The most critical bug is using IFLA_RTA instead of IFA_RTA on address message. This causes android to not return any ipv6 address. PR-URL: https://github.com/libuv/libuv/pull/1561 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
eb1fe77f | 22-Sep-2017 |
John Barboza |
zos: change platform name to match python The latest python on z/OS (2.7.13) was changed to update sys.platform to return "zos" instead of "os390". So a change has been submitted to the
zos: change platform name to match python The latest python on z/OS (2.7.13) was changed to update sys.platform to return "zos" instead of "os390". So a change has been submitted to the official gyp repository here. PR-URL: https://github.com/libuv/libuv/pull/1557 Refs: https://chromium-review.googlesource.com/c/external/gyp/+/679077 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
show more ...
|
24334e07 | 23-Sep-2017 |
John Barboza |
zos: lock protect global epoll list in epoll_ctl This will eliminate a race condition that occurs between epoll_close_fd, epoll_ctl and epoll_create in the signal_multiple_loops test
zos: lock protect global epoll list in epoll_ctl This will eliminate a race condition that occurs between epoll_close_fd, epoll_ctl and epoll_create in the signal_multiple_loops test. PR-URL: https://github.com/libuv/libuv/pull/1560 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
b21c1f90 | 24-Sep-2017 |
cjihrig |
win: let UV_PROCESS_WINDOWS_HIDE hide consoles The existing UV_PROCESS_WINDOWS_HIDE flag only applies to executables linked to the WINDOWS subsystem. This allows CONSOLE subsystem ap
win: let UV_PROCESS_WINDOWS_HIDE hide consoles The existing UV_PROCESS_WINDOWS_HIDE flag only applies to executables linked to the WINDOWS subsystem. This allows CONSOLE subsystem applications to pop up a console window. This commit sets the CREATE_NO_WINDOW process flag when UV_PROCESS_WINDOWS_HIDE to prevent this behavior. Refs: https://github.com/nodejs/node/pull/15380 Refs: https://github.com/joyent/libuv/pull/627 Refs: https://github.com/libuv/libuv/issues/965 PR-URL: https://github.com/libuv/libuv/pull/1558 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
show more ...
|
66b8b2f7 | 13-Aug-2017 |
Refael Ackermann |
win,build: bump vswhere_usability_wrapper to 2.0.0 PR-URL: https://github.com/libuv/libuv/pull/1479 Fixes: https://github.com/nodejs/libuv/issues/1476 Reviewed-By: Saúl Ibarra Corret
win,build: bump vswhere_usability_wrapper to 2.0.0 PR-URL: https://github.com/libuv/libuv/pull/1479 Fixes: https://github.com/nodejs/libuv/issues/1476 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
show more ...
|
bf144cee | 23-Sep-2017 |
John Barboza |
test: clean up semaphore after use On systems that use System V semaphores, it is necessary to destroy semaphores to free up system resources when the process finishes execution.
test: clean up semaphore after use On systems that use System V semaphores, it is necessary to destroy semaphores to free up system resources when the process finishes execution. PR-URL: https://github.com/libuv/libuv/pull/1559 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
5fa0f0b6 | 09-Sep-2017 |
Kamil Rytarowski |
netbsd: correct uv_exepath() on NetBSD Setup proper sysctl(2) arguments in order to retrieve the executable name. Use an intermediate buffer beacause if it is too short, the sys
netbsd: correct uv_exepath() on NetBSD Setup proper sysctl(2) arguments in order to retrieve the executable name. Use an intermediate buffer beacause if it is too short, the sysctl(2) call will return error. With this intermediate buffer populate the outer one. Note issue with too long file names on NetBSD-8(beta), this is caused by the current implementation of vnode to path translator in the kernel. It does not cache longer file names than 31 character ones. PR-URL: https://github.com/libuv/libuv/pull/1532 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
0afccdb0 | 06-Sep-2017 |
Ben Noordhuis |
linux: increase thread stack size with musl libc musl has tiny default thread stack sizes compared to glibc (80 kB vs. 2048 kB or more) so set an explicit stack size to harmonize between
linux: increase thread stack size with musl libc musl has tiny default thread stack sizes compared to glibc (80 kB vs. 2048 kB or more) so set an explicit stack size to harmonize between different libcs. Fixes: https://github.com/libuv/libuv/issues/1507 PR-URL: https://github.com/libuv/libuv/pull/1526 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
c0504885 | 09-Sep-2017 |
Kamil Rytarowski |
unix: add NetBSD support in core.c NetBSD supports: - O_CLOEXEC - accept4(2) like API with paccept(2) NetBSD 8.0 will get compat accept4(2) - SOCK_NONBLOCK - SOCK_
unix: add NetBSD support in core.c NetBSD supports: - O_CLOEXEC - accept4(2) like API with paccept(2) NetBSD 8.0 will get compat accept4(2) - SOCK_NONBLOCK - SOCK_CLOEXEC - dup3(2) PR-URL: https://github.com/libuv/libuv/pull/1534 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
fbb8132d | 09-Sep-2017 |
Kamil Rytarowski |
test: add NetBSD support to test-udp-ipv6.c NetBSD and FreeBSD can share the can_ipv6_ipv4_dual() function as is. This commit also corrects the function definition to be compliant wi
test: add NetBSD support to test-udp-ipv6.c NetBSD and FreeBSD can share the can_ipv6_ipv4_dual() function as is. This commit also corrects the function definition to be compliant with C standards. This fixes a warning on NetBSD 8.99.2 with GCC 5.4.0. PR-URL: https://github.com/libuv/libuv/pull/1535 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
c78caf0b | 13-Sep-2017 |
darobs |
win,build: keep cwd when setting build environment Fixes: https://github.com/libuv/libuv/issues/1545 PR-URL: https://github.com/libuv/libuv/pull/1546 Reviewed-By: Bartosz Sosnowski <
win,build: keep cwd when setting build environment Fixes: https://github.com/libuv/libuv/issues/1545 PR-URL: https://github.com/libuv/libuv/pull/1546 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
show more ...
|
b0653625 | 18-Sep-2017 |
Nick Logan |
unix: truncate destination in uv_fs_copyfile() This commit adds the O_TRUNC flag to the destination file in the sendfile() fallback. This allows smaller source files to be properly c
unix: truncate destination in uv_fs_copyfile() This commit adds the O_TRUNC flag to the destination file in the sendfile() fallback. This allows smaller source files to be properly copied into larger existing destination files. Refs: https://github.com/libuv/libuv/pull/1551 PR-URL: https://github.com/libuv/libuv/pull/1552 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
a41f8b52 | 19-Sep-2017 |
cjihrig |
unix: support copying empty files Initialize the error variable in uv_fs_copyfile() to zero. If the source file being copied has no data in it, then it's possible to make it to the e
unix: support copying empty files Initialize the error variable in uv_fs_copyfile() to zero. If the source file being copied has no data in it, then it's possible to make it to the exit without ever setting error. In this situation, the function's behavior is unpredictable. Refs: https://github.com/libuv/libuv/pull/1551 PR-URL: https://github.com/libuv/libuv/pull/1552 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
eaf25ae3 | 13-Sep-2017 |
cjihrig |
unix: use fchmod() in uv_fs_copyfile() This commit introduces fchmod() in uv_fs_copyfile() to set the mode of the destination file. Refs: https://github.com/nodejs/node/issues/1
unix: use fchmod() in uv_fs_copyfile() This commit introduces fchmod() in uv_fs_copyfile() to set the mode of the destination file. Refs: https://github.com/nodejs/node/issues/15394 PR-URL: https://github.com/libuv/libuv/pull/1547 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|