a1af6685 | 05-Jan-2020 |
Ben Noordhuis |
unix: squelch fchmod() EPERM on CIFS share uv_fs_copyfile() calls fchmod() to change the target file's permissions to the source file's permissions but that operation errors with EPERM o
unix: squelch fchmod() EPERM on CIFS share uv_fs_copyfile() calls fchmod() to change the target file's permissions to the source file's permissions but that operation errors with EPERM on CIFS shares unless they are mounted with the "noperm" option. Since UNIX-style permissions don't make sense for CIFS anyway, let's handle the error in libuv by recognizing that it's a CIFS share and continuing when that is the case. The same logic probably applies to (a subset of) FUSE file systems but those haven't been whitelisted yet. Fixes: https://github.com/libuv/libuv/issues/2596 Refs: https://github.com/nodejs/node/issues/31170 PR-URL: https://github.com/libuv/libuv/pull/2597 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
2b79df64 | 07-Jan-2020 |
Jameson Nash |
docs: fix formatting Introduced in https://github.com/libuv/libuv/pull/2404 and https://github.com/libuv/libuv/pull/2347. PR-URL: https://github.com/libuv/libuv/pull/2609 Re
docs: fix formatting Introduced in https://github.com/libuv/libuv/pull/2404 and https://github.com/libuv/libuv/pull/2347. PR-URL: https://github.com/libuv/libuv/pull/2609 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
51a0ae78 | 02-Jan-2020 |
Xu Meng |
ibmi: fix the CMSG length issue On IBMi, msg_controllen of struct msghdr can not exceed 256. The default UV__CMSG_FD_COUNT value 64 leads EINVAL error. Set UV__CMSG_FD_COUNT to 60 on
ibmi: fix the CMSG length issue On IBMi, msg_controllen of struct msghdr can not exceed 256. The default UV__CMSG_FD_COUNT value 64 leads EINVAL error. Set UV__CMSG_FD_COUNT to 60 on IBMi to resolve the issue. PR-URL: https://github.com/libuv/libuv/pull/2591 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
show more ...
|
3596f833 | 07-Jan-2020 |
Jameson Nash |
docs: delete socks5-proxy sample It is known to fail asserts and leak memory, making it not particularly good as sample code. Since we have relatively little interest in maintaining
docs: delete socks5-proxy sample It is known to fail asserts and leak memory, making it not particularly good as sample code. Since we have relatively little interest in maintaining this (especially now that we have the libuv guide and other docs), it is clearer to delete it. Refs: https://github.com/libuv/libuv/pull/2414 Refs: https://github.com/libuv/libuv/issues/1604 PR-URL: https://github.com/libuv/libuv/pull/2605 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
bbb8b1ff | 19-Dec-2019 |
Trevor Norris |
test: fix pthread memory leak When the thread attributes object returned by pthread_getattr_np() is no longer required, it should be destroyed using pthread_attr_destroy(). PR-U
test: fix pthread memory leak When the thread attributes object returned by pthread_getattr_np() is no longer required, it should be destroyed using pthread_attr_destroy(). PR-URL: https://github.com/libuv/libuv/pull/2583 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
6432886e | 15-Nov-2019 |
Jameson Nash |
misc: make more tags "not-stale" PR-URL: https://github.com/libuv/libuv/pull/2539 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> |
5cb8860b | 30-Dec-2019 |
Ben Noordhuis |
unix: suppress -Waddress-of-packed-member warning Fixes: https://github.com/libuv/libuv/issues/2418 PR-URL: https://github.com/libuv/libuv/pull/2584 Refs: https://github.com/libuv/li
unix: suppress -Waddress-of-packed-member warning Fixes: https://github.com/libuv/libuv/issues/2418 PR-URL: https://github.com/libuv/libuv/pull/2584 Refs: https://github.com/libuv/libuv/pull/2580 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
af45b6ba | 23-Dec-2019 |
cjihrig |
test: disallow running the test suite as root The test suite is known to have issues when run as root. This commit prevents the test suite from running when the euid is 0. Fixes
test: disallow running the test suite as root The test suite is known to have issues when run as root. This commit prevents the test suite from running when the euid is 0. Fixes: https://github.com/libuv/libuv/issues/2549 PR-URL: https://github.com/libuv/libuv/pull/2585 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
2ab3dc15 | 16-Dec-2019 |
David Carlier |
unix: pass sysctl size arg using ARRAY_SIZE macro PR-URL: https://github.com/libuv/libuv/pull/2510 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santi
unix: pass sysctl size arg using ARRAY_SIZE macro PR-URL: https://github.com/libuv/libuv/pull/2510 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
93ca478a | 16-Dec-2019 |
George Zhao |
unix: fix -Wunused-but-set-variable warning PR-URL: https://github.com/libuv/libuv/pull/2517 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.c
unix: fix -Wunused-but-set-variable warning PR-URL: https://github.com/libuv/libuv/pull/2517 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
3e56d998 | 16-Dec-2019 |
Richard Lau |
doc: remove binaries for Windows from README Binaries for Windows was experimental and removed from libuv 1.19.0 onwards. PR-URL: https://github.com/libuv/libuv/pull/2556 Re
doc: remove binaries for Windows from README Binaries for Windows was experimental and removed from libuv 1.19.0 onwards. PR-URL: https://github.com/libuv/libuv/pull/2556 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
93634e29 | 16-Dec-2019 |
Xu Meng |
test: skip uv_(get|set)_process_title on IBMi uv_(get|set)_process_title is not implemented on IBMi. PR-URL: https://github.com/libuv/libuv/pull/2574 Reviewed-By: Ben Noordhuis
test: skip uv_(get|set)_process_title on IBMi uv_(get|set)_process_title is not implemented on IBMi. PR-URL: https://github.com/libuv/libuv/pull/2574 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> 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 ...
|
5b12c313 | 16-Dec-2019 |
Xu Meng |
test: skip some test cases on IBMi On IBMi, uv_uptime() and uv_fs_event_init() return UV_ENOSYS. Set NO_FS_EVENTS on IBMi. PR-URL: https://github.com/libuv/libuv/pull/2573 R
test: skip some test cases on IBMi On IBMi, uv_uptime() and uv_fs_event_init() return UV_ENOSYS. Set NO_FS_EVENTS on IBMi. PR-URL: https://github.com/libuv/libuv/pull/2573 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> 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 ...
|
5a88a63b | 16-Dec-2019 |
David Carlier |
test: fix test failure under NetBSD and OpenBSD For the dl api, OpenBSD reports only wrong binary format. Others are unsupported. PR-URL: https://github.com/libuv/libuv/pull/257
test: fix test failure under NetBSD and OpenBSD For the dl api, OpenBSD reports only wrong binary format. Others are unsupported. PR-URL: https://github.com/libuv/libuv/pull/2572 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
e14c56bd | 16-Dec-2019 |
Xu Meng |
ibmi: fix the false isatty() issue on IBMi On IBMi PASE isatty() always returns true for stdin, stdout and stderr. Use ioctl() instead to identify whether it's actually a TTY. P
ibmi: fix the false isatty() issue on IBMi On IBMi PASE isatty() always returns true for stdin, stdout and stderr. Use ioctl() instead to identify whether it's actually a TTY. PR-URL: https://github.com/libuv/libuv/pull/2565 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
d077d066 | 16-Dec-2019 |
Ben Noordhuis |
darwin: assume pthread_setname_np() is available Stop dlsym-ing the symbol name at run-time, that was only necessary to support macOS and iOS versions that were already near-obsolete whe
darwin: assume pthread_setname_np() is available Stop dlsym-ing the symbol name at run-time, that was only necessary to support macOS and iOS versions that were already near-obsolete when this feature was introduced in August 2013. This reapplies commit bee1bf5dd7 from October. PR-URL: https://github.com/libuv/libuv/pull/2568 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
565cdd16 | 16-Dec-2019 |
Ben Noordhuis |
Revert "darwin: speed up uv_set_process_title()" This reverts commit 038eacfbf466f0b51e80b6f5fa9026c7ed767dfb. It was reported that this change causes a regression when trying t
Revert "darwin: speed up uv_set_process_title()" This reverts commit 038eacfbf466f0b51e80b6f5fa9026c7ed767dfb. It was reported that this change causes a regression when trying to obtain the screen resolution with `CGDisplayPixelsWide()` or `CGDisplayPixelsHigh()` after changing the process title. This is the second time this change had to be reverted due to regressions and, although third time is allegedly the charm, leaving well enough alone is the proverb I plan to adhere to... Fixes: https://github.com/libuv/libuv/issues/2566 PR-URL: https://github.com/libuv/libuv/pull/2568 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
56f83668 | 16-Dec-2019 |
Ben Noordhuis |
Revert "darwin: assume pthread_setname_np() is available" This reverts commit bee1bf5dd7de8da316821c32411425f7cf7ab49c. This is necessary in order to be able to revert commit 038eac
Revert "darwin: assume pthread_setname_np() is available" This reverts commit bee1bf5dd7de8da316821c32411425f7cf7ab49c. This is necessary in order to be able to revert commit 038eacfbf4 ("darwin: speed up uv_set_process_title()") from October. PR-URL: https://github.com/libuv/libuv/pull/2568 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
f0923d02 | 16-Dec-2019 |
Ben Noordhuis |
build: remove -pedantic from compiler flags This flag emits warnings with some versions of gcc that we don't care about (libuv targets POSIX conformance, not strict ISO C conformance)
build: remove -pedantic from compiler flags This flag emits warnings with some versions of gcc that we don't care about (libuv targets POSIX conformance, not strict ISO C conformance) and it's arguably not that useful as libuv is compiled in -std=gnu89 mode. Fixes: https://github.com/libuv/libuv/pull/2567 PR-URL: https://github.com/libuv/libuv/pull/2570 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
a0530ce7 | 08-Dec-2019 |
Ben Noordhuis |
unix: cache address of dlsym("mkostemp") Look up the "mkostemp" symbol once instead of on every call to uv_fs_mkstemp(). PR-URL: https://github.com/libuv/libuv/pull/2564 Rev
unix: cache address of dlsym("mkostemp") Look up the "mkostemp" symbol once instead of on every call to uv_fs_mkstemp(). PR-URL: https://github.com/libuv/libuv/pull/2564 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> 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 ...
|
0d3b487f | 08-Dec-2019 |
Ben Noordhuis |
unix: fix -Wstrict-aliasing compiler warning Fixes: https://github.com/libuv/libuv/issues/2563 PR-URL: https://github.com/libuv/libuv/pull/2564 Reviewed-By: Anna Henningsen <anna@add
unix: fix -Wstrict-aliasing compiler warning Fixes: https://github.com/libuv/libuv/issues/2563 PR-URL: https://github.com/libuv/libuv/pull/2564 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> 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 ...
|
d01f0500 | 04-Dec-2019 |
cjihrig |
Now working on version 1.34.1 Fixes: https://github.com/libuv/libuv/issues/2538 |
d998dc33 | 04-Dec-2019 |
cjihrig |
Add SHA to ChangeLog |
15ae7501 | 04-Dec-2019 |
cjihrig |
2019.12.05, Version 1.34.0 (Stable) Changes since version 1.33.1: * unix: move random-sysctl to random-sysctl-linux (nia) * netbsd: use KERN_ARND sysctl to get entropy (nia
2019.12.05, Version 1.34.0 (Stable) Changes since version 1.33.1: * unix: move random-sysctl to random-sysctl-linux (nia) * netbsd: use KERN_ARND sysctl to get entropy (nia) * unix: refactor uv__fs_copyfile() logic (cjihrig) * build: fix android build, add missing sources (Ben Noordhuis) * build: fix android build, fix symbol redefinition (Ben Noordhuis) * build: fix android autotools build (Ben Noordhuis) * fs: handle non-functional statx system call (Milad Farazmand) * unix,win: add uv_sleep() (cjihrig) * doc: add richardlau to maintainers (Richard Lau) * aix: fix netmask for IPv6 (Richard Lau) * aix: clean up after errors in uv_interface_addresses() (Richard Lau) * aix: fix setting of physical addresses (Richard Lau) * fs: add uv_fs_mkstemp (Saúl Ibarra Corretgé) * unix: switch uv_sleep() to nanosleep() (Ben Noordhuis) * unix: retry on EINTR in uv_sleep() (Ben Noordhuis) * zos: fix nanosleep() emulation (Ben Noordhuis)
show more ...
|
635e0ce6 | 03-Dec-2019 |
Ben Noordhuis |
zos: fix nanosleep() emulation * Remove an assert() that wasn't actually being tested because the CI builds libuv with `-DNDEBUG` on that platform. * Fix the emulation to upda
zos: fix nanosleep() emulation * Remove an assert() that wasn't actually being tested because the CI builds libuv with `-DNDEBUG` on that platform. * Fix the emulation to update `errno` correctly. * Fix the emulation to update the `rem` out parameter correctly. 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 ...
|