7a914e7f | 28-Nov-2019 |
Ben Noordhuis |
unix: retry on EINTR in uv_sleep() Reception of a signal makes nanosleep() return prematurely. Restart the system call when that happens. PR-URL: https://github.com/libuv/libuv/
unix: retry on EINTR in uv_sleep() Reception of a signal makes nanosleep() return prematurely. Restart the system call when that happens. PR-URL: https://github.com/libuv/libuv/pull/2552 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
664f9c00 | 28-Nov-2019 |
Ben Noordhuis |
unix: switch uv_sleep() to nanosleep() Before this commit, uv_sleep() made two library calls: sleep() to sleep for the requested number of seconds, and then an usleep() call to sleep
unix: switch uv_sleep() to nanosleep() Before this commit, uv_sleep() made two library calls: sleep() to sleep for the requested number of seconds, and then an usleep() call to sleep for the remaining milliseconds. Make a single nanosleep() call instead. Receiving a signal will wake up prematurely from sleep() but then re-enter sleep mode again in usleep(), which seems undesirable. PR-URL: https://github.com/libuv/libuv/pull/2552 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
5500253c | 29-Nov-2019 |
Saúl Ibarra Corretgé |
fs: add uv_fs_mkstemp Thanks to Andreas Hauptmann and Bastian Schmitz for their earlier work. Supersedes: https://github.com/libuv/libuv/pull/2074 Closes: https://github.com/lib
fs: add uv_fs_mkstemp Thanks to Andreas Hauptmann and Bastian Schmitz for their earlier work. Supersedes: https://github.com/libuv/libuv/pull/2074 Closes: https://github.com/libuv/libuv/issues/2555 PR-URL: https://github.com/libuv/libuv/pull/2557 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
0a4e0b9d | 20-Nov-2019 |
Richard Lau |
aix: fix setting of physical addresses Changes based on code in `src/unix/bsd-ifaddrs.c`. PR-URL: https://github.com/libuv/libuv/pull/2546 Reviewed-By: Ben Noordhuis <info@bnoor
aix: fix setting of physical addresses Changes based on code in `src/unix/bsd-ifaddrs.c`. PR-URL: https://github.com/libuv/libuv/pull/2546 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
cf6a678f | 20-Nov-2019 |
Richard Lau |
aix: clean up after errors in uv_interface_addresses() PR-URL: https://github.com/libuv/libuv/pull/2545 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> |
e3d37874 | 19-Nov-2019 |
Richard Lau |
aix: fix netmask for IPv6 Use SIOCGIFNETMASK6 for IPv6 network interfaces. The SIOCGIFNETMASK and SIOCGIFNETMASK6 ioctl() calls on AIX appear to return the address family as `0`
aix: fix netmask for IPv6 Use SIOCGIFNETMASK6 for IPv6 network interfaces. The SIOCGIFNETMASK and SIOCGIFNETMASK6 ioctl() calls on AIX appear to return the address family as `0` so explicitly set the address family. Fixes: https://github.com/nodejs/node/issues/30504 PR-URL: https://github.com/libuv/libuv/pull/2545 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
c6331a42 | 25-Nov-2019 |
Richard Lau |
doc: add richardlau to maintainers PR-URL: https://github.com/libuv/libuv/pull/2551 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmai
doc: add richardlau to maintainers PR-URL: https://github.com/libuv/libuv/pull/2551 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
8c73eee2 | 22-Nov-2019 |
cjihrig |
unix,win: add uv_sleep() This commit exposes the uv_sleep() function that previously only existed in the test runner. PR-URL: https://github.com/libuv/libuv/pull/2548 Review
unix,win: add uv_sleep() This commit exposes the uv_sleep() function that previously only existed in the test runner. PR-URL: https://github.com/libuv/libuv/pull/2548 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
96cfa783 | 23-Oct-2019 |
Milad Farazmand |
fs: handle non-functional statx system call statx is not implemented on RHEL 7 and trying to call it from within a docker container might result in a return value of 1 (which is not an
fs: handle non-functional statx system call statx is not implemented on RHEL 7 and trying to call it from within a docker container might result in a return value of 1 (which is not an expected value according to statx man page, expected values are 0 or -1) and errno is set to 0, in which case assume statx is not implemented. Above behaviour has been seen on RHEL 7 running on a s390. PR-URL: https://github.com/libuv/libuv/pull/2529 Refs: https://bugzilla.redhat.com/show_bug.cgi?id=1759152 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
f9618443 | 18-Nov-2019 |
Ben Noordhuis |
build: fix android autotools build This commit contains an untested change but the sources list was so woefully incomplete that even if it doesn't fix things outright, it definitely
build: fix android autotools build This commit contains an untested change but the sources list was so woefully incomplete that even if it doesn't fix things outright, it definitely makes it less worse. PR-URL: https://github.com/libuv/libuv/pull/2542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
6de351de | 18-Nov-2019 |
Ben Noordhuis |
build: fix android build, fix symbol redefinition linux-core defines uv_get_free_memory() and uv_get_total_memory() so don't include sysinfo-memory.c too. The cmake and autotools builds
build: fix android build, fix symbol redefinition linux-core defines uv_get_free_memory() and uv_get_total_memory() so don't include sysinfo-memory.c too. The cmake and autotools builds don't do so either. PR-URL: https://github.com/libuv/libuv/pull/2542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
717bda8b | 18-Nov-2019 |
Ben Noordhuis |
build: fix android build, add missing sources PR-URL: https://github.com/libuv/libuv/pull/2542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@
build: fix android build, add missing sources PR-URL: https://github.com/libuv/libuv/pull/2542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
780c08a6 | 29-Oct-2019 |
cjihrig |
unix: refactor uv__fs_copyfile() logic The Unix/macOS uv__fs_copyfile() implementation falls back to using uv_fs_sendfile(). This commit refactors the error handling to use the sendf
unix: refactor uv__fs_copyfile() logic The Unix/macOS uv__fs_copyfile() implementation falls back to using uv_fs_sendfile(). This commit refactors the error handling to use the sendfile() req's result field, which is an ssize_t instead of using the return value, which is an int. The int value was coming back as a negative number for some large files. Refs: https://github.com/nodejs/node/issues/30085 PR-URL: https://github.com/libuv/libuv/pull/2533 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
a62f8ced | 21-Oct-2019 |
nia |
netbsd: use KERN_ARND sysctl to get entropy PR-URL: https://github.com/libuv/libuv/pull/2528 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <s@sagh
netbsd: use KERN_ARND sysctl to get entropy PR-URL: https://github.com/libuv/libuv/pull/2528 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
2dcf2e81 | 21-Oct-2019 |
nia |
unix: move random-sysctl to random-sysctl-linux PR-URL: https://github.com/libuv/libuv/pull/2528 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <s@
unix: move random-sysctl to random-sysctl-linux PR-URL: https://github.com/libuv/libuv/pull/2528 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
747a0f34 | 19-Oct-2019 |
cjihrig |
Now working on version 1.33.2 Fixes: https://github.com/libuv/libuv/issues/2525 |
278ae2fe | 19-Oct-2019 |
cjihrig |
Add SHA to ChangeLog |
07ad3213 | 19-Oct-2019 |
cjihrig |
2019.10.20, Version 1.33.1 (Stable) Changes since version 1.33.0: * linux: fix arm64 SYS__sysctl build breakage (Ben Noordhuis) |
83f59ff1 | 19-Oct-2019 |
Ben Noordhuis |
linux: fix arm64 SYS__sysctl build breakage The arm64 architecture never had a _sysctl system call and therefore doesn't have a SYS__sysctl define either. Always return UV_ENOSYS.
linux: fix arm64 SYS__sysctl build breakage The arm64 architecture never had a _sysctl system call and therefore doesn't have a SYS__sysctl define either. Always return UV_ENOSYS. Fixes: https://github.com/libuv/libuv/issues/2522 PR-URL: https://github.com/libuv/libuv/pull/2524 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
cb7e5a6a | 16-Oct-2019 |
cjihrig |
Now working on version 1.33.1 Fixes: https://github.com/libuv/libuv/issues/2491 |
146c13db | 16-Oct-2019 |
cjihrig |
Add SHA to ChangeLog |
e56e42e9 | 16-Oct-2019 |
cjihrig |
2019.10.17, Version 1.33.0 (Stable) Changes since version 1.32.0: * Revert "linux: drop code path for epoll_pwait-less kernels" (Yang Yu) * build: fix build error with __AN
2019.10.17, Version 1.33.0 (Stable) Changes since version 1.32.0: * Revert "linux: drop code path for epoll_pwait-less kernels" (Yang Yu) * build: fix build error with __ANDROID_API__ < 21 (Yang Yu) * win: fix reading hidden env vars (Anna Henningsen) * unix,win: add uv_random() (Ben Noordhuis) * win: simplify mkdtemp (Saúl Ibarra Corretgé) * docs: fix literal-includes in User Guide (Nhan Khong) * win, tty: fix problem of receiving unexpected SIGWINCH (erw7) * unix: fix {Net,Open}BSD build (David Carlier) * win,mingw: Fix undefined MCAST_* constants (Crunkle) * build: Add link for test/fixtures/lorem_ipsum.txt (Andrew Paprocki) * fs: use statvfs in uv__fs_statfs() for Haiku (Calvin Hill) * fsevents: stop using fsevents to watch files (Jameson Nash) * fsevents: regression in watching / (Jameson Nash) * build,cmake: don't try to detect a C++ compiler (Isabella Muerte) * build: fix build warning on cygwin (MaYuming) * unix: set sin_len and sin6_len (Ouyang Yadong) * test: fix order of operations in test (cjihrig) * doc: improve uv_fs_readdir() cleanup docs (cjihrig) * build: remove duplicated test in build files (ZYSzys) * android: enable getentropy on Android >= 28 (David Carlier) * android: fix build (David Carlier) * darwin: speed up uv_set_process_title() (Ben Noordhuis) * darwin: assume pthread_setname_np() is available (Ben Noordhuis) * unix,udp: ensure addr is non-null (Jameson Nash) * win,tty: add uv_tty_{get,set}_vterm_state (erw7) * win: fix uv_statfs_t leak in uv_fs_statfs() (Ryan Liptak) * build: install files on windows via cmake (Carl Lei) * darwin,test: include AvailabilityMacros.h (Saúl Ibarra Corretgé) * darwin,test: update loop time after sleeping (Saúl Ibarra Corretgé) * doc: remove old FreeBSD 9 related note (Saúl Ibarra Corretgé) * doc: improve uv_{send,recv}_buffer_size() docs (Ryan Liptak) * build: move -Wno-long-long check to configure time (Ben Noordhuis) * unix: update uv_fs_copyfile() fallback logic (Stefan Bender) * win: cast setsockopt struct to const char* (Shelley Vohr)
show more ...
|
68818b62 | 16-Oct-2019 |
Shelley Vohr |
win: cast setsockopt struct to const char* Fixes: https://github.com/libuv/libuv/issues/2519 PR-URL: https://github.com/libuv/libuv/pull/2520 Reviewed-By: Saúl Ibarra Corretgé <saghu
win: cast setsockopt struct to const char* Fixes: https://github.com/libuv/libuv/issues/2519 PR-URL: https://github.com/libuv/libuv/pull/2520 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
ddcaff9a | 14-Oct-2019 |
Stefan Bender |
unix: update uv_fs_copyfile() fallback logic This commit fixes uv_fs_copyfile() in cases where an unknown error occurs when copy-on-write is requested by setting UV_FS_COPYFILE_FICLO
unix: update uv_fs_copyfile() fallback logic This commit fixes uv_fs_copyfile() in cases where an unknown error occurs when copy-on-write is requested by setting UV_FS_COPYFILE_FICLONE. The original approach tried to catch some of the errors raised by the ioctl() call, assuming that sendfile() would also fail in those cases. This is not necessarily true, as some variants of ioctl() also raise EINVAL (some maybe EBADF), but sendfile() works just fine. This patch reverses the logic, falling back to sendfile() in any case where ioctl() returns an error. In other words, it tries much harder to make uv_fs_copyfile() work. Related to that, the original approach returned UV_ENOTSUP unconditionally in cases where ioctl() failed and UV_FS_COPYFILE_FICLONE_FORCE was set. However, ioctl() may have failed for other reasons than being not supported. The function now returns the actual error raised by ioctl(), leaving it to the caller to deal with it. Fixes: https://github.com/libuv/libuv/issues/2483 PR-URL: https://github.com/libuv/libuv/pull/2514 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
f9c35197 | 14-Oct-2019 |
Ben Noordhuis |
build: move -Wno-long-long check to configure time xlc reportedly doesn't support the `-Wno-long-long` flag. Detect that at configure time instead of trying to fix it up at build time.
build: move -Wno-long-long check to configure time xlc reportedly doesn't support the `-Wno-long-long` flag. Detect that at configure time instead of trying to fix it up at build time. This enables the flag for both the library and the test suite instead of just the test suite but that seems fine to me. PR-URL: https://github.com/libuv/libuv/pull/2512 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|