fe77e34c | 03-Dec-2018 |
Ben Noordhuis |
test: add uv_inet_ntop(AF_INET) coverage Libuv had coverage for the AF_INET6 path but not the AF_INET path. Now it does. PR-URL: https://github.com/libuv/libuv/pull/2065 Rev
test: add uv_inet_ntop(AF_INET) coverage Libuv had coverage for the AF_INET6 path but not the AF_INET path. Now it does. PR-URL: https://github.com/libuv/libuv/pull/2065 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
5b64cc60 | 22-Nov-2018 |
Ivan Krylov |
doc: clarify expected memory management strategy Right now, docs don't make it clear when exactly does it become okay to free memory belonging to `uv_handle_t`. It's only stated that
doc: clarify expected memory management strategy Right now, docs don't make it clear when exactly does it become okay to free memory belonging to `uv_handle_t`. It's only stated that `uv_close` must be called before freeing the memory, which is a source of confusion for new users: they call `uv_close(handle, NULL)`, then free the memory (see e.g. #2078, https://stackoverflow.com/q/25615340). PR-URL: https://github.com/libuv/libuv/pull/2087 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
c5593b51 | 05-Nov-2018 |
Jameson Nash |
warnings: fix code that emits compiler warnings PR-URL: https://github.com/libuv/libuv/pull/2066 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Refael Ackermann <refack
warnings: fix code that emits compiler warnings PR-URL: https://github.com/libuv/libuv/pull/2066 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Refael Ackermann <refack@gmail.com>
show more ...
|
f1981d74 | 27-Nov-2018 |
Rick |
doc: replace deprecated build command on macOS Origin README about build command is not suited for current code. 1. gyp_uv.py generated uv.xcodeproj file in directory 'out' instead
doc: replace deprecated build command on macOS Origin README about build command is not suited for current code. 1. gyp_uv.py generated uv.xcodeproj file in directory 'out' instead of repository root directory 2. xcode build target params use '-alltargets' instead of '-target All'. PR-URL: https://github.com/libuv/libuv/pull/2095 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Refael Ackermann <refack@gmail.com>
show more ...
|
77c30f24 | 24-Nov-2018 |
Ben Noordhuis |
darwin: use runtime check for file cloning Using #ifdef guards is not reliable because libuv may have been compiled on a newer system than what it runs on, or vice versa. Fixes:
darwin: use runtime check for file cloning Using #ifdef guards is not reliable because libuv may have been compiled on a newer system than what it runs on, or vice versa. Fixes: https://github.com/libuv/libuv/issues/2088 Fixes: https://github.com/nodejs/node/issues/24521 PR-URL: https://github.com/libuv/libuv/pull/2092 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
0813f5b9 | 19-Sep-2018 |
Ashe Connor |
unix: zero epoll_event before use Valgrind will emit the following error on a system where `int` is 32 bits: ==21616== Syscall param epoll_ctl(event) points to uninitialised byt
unix: zero epoll_event before use Valgrind will emit the following error on a system where `int` is 32 bits: ==21616== Syscall param epoll_ctl(event) points to uninitialised byte(s) ==21616== at 0x693E06A: epoll_ctl (syscall-template.S:84) ==21616== by 0x529F35B: uv__io_poll (in .../libuv/libuv.so) ==21616== by 0x528AE62: uv_run (in .../libuv/libuv.so) [...] ==21616== Address 0x1ffeffc8ec is on thread 1's stack ==21616== in frame #1, created by uv__io_poll (???:) We only initialise e.events and e.data.fd, meaning half of e.data (the 32 bits not covered by the 4-byte `fd`) is uninitialised. PR-URL: https://github.com/libuv/libuv/pull/1996 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
a24e8a17 | 19-Nov-2018 |
Damon Kwok |
gitignore: ignore build/ directory PR-URL: https://github.com/libuv/libuv/pull/2081 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> |
2749d0c3 | 16-Nov-2018 |
damon-kwok <563066990@qq.com> |
test: fix platform_output test on cygwin Fixes: https://github.com/libuv/libuv/issues/2077 PR-URL: https://github.com/libuv/libuv/pull/2081 Reviewed-By: Ben Noordhuis <info@bnoordhui
test: fix platform_output test on cygwin Fixes: https://github.com/libuv/libuv/issues/2077 PR-URL: https://github.com/libuv/libuv/pull/2081 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
32cccbc9 | 13-Nov-2018 |
cjihrig |
Now working on version 1.24.1 Fixes: https://github.com/libuv/libuv/issues/2070 |
63615c42 | 13-Nov-2018 |
cjihrig |
Add SHA to ChangeLog |
2d427ee0 | 13-Nov-2018 |
cjihrig |
2018.11.14, Version 1.24.0 (Stable) Changes since version 1.23.2: * unix: do not require PATH_MAX to be defined (Brad King) * win,doc: path encoding in uv_fs_XX is UTF-8 (h
2018.11.14, Version 1.24.0 (Stable) Changes since version 1.23.2: * unix: do not require PATH_MAX to be defined (Brad King) * win,doc: path encoding in uv_fs_XX is UTF-8 (hitesh) * unix: add missing link dependency on kFreeBSD (Svante Signell) * unix: add support for GNU/Hurd (Samuel Thibault) * test: avoid memory leak for test_output (Carlo Marcelo Arenas Belón) * zos: avoid UB with NULL pointer arithmetic (Carlo Marcelo Arenas Belón) * doc: add vtjnash to maintainers (Jameson Nash) * unix: restore skipping of phys_addr copy (cjihrig) * unix,win: make uv_interface_addresses() consistent (cjihrig) * unix: remove unnecessary linebreaks (cjihrig) * unix,win: handle zero-sized allocations uniformly (Ben Noordhuis) * unix: remove unused uv__dup() function (Ben Noordhuis) * core,bsd: refactor process_title functions (Santiago Gimeno) * win: Redefine NSIG to consider SIGWINCH (Jeremy Studer) * test: make sure that reading a directory fails (Sakthipriyan Vairamani) * win, tty: remove zero-size read callbacks (Bartosz Sosnowski) * test: fix test runner getenv async-signal-safety (Ben Noordhuis) * test: fix test runner execvp async-signal-safety (Ben Noordhuis) * test,unix: fix race in test runner (Ben Noordhuis) * unix,win: support IDNA 2008 in uv_getaddrinfo() (Ben Noordhuis) * win, tcp: avoid starving the loop (Bartosz Sosnowski) * win, dl: proper error messages on some systems (Bartosz Sosnowski) * win,fs: retry if uv_fs_rename fails (Bartosz Sosnowski) * darwin: speed up uv_set_process_title() (Ben Noordhuis) * aix: fix race in uv_get_process_title() (Gireesh Punathil) * win: support more fine-grained windows hiding (Bartosz Sosnowski)
show more ...
|
4c2dcca2 | 09-Nov-2018 |
Bartosz Sosnowski |
win: support more fine-grained windows hiding Added UV_PROCESS_WINDOWS_HIDE_CONSOLE and UV_PROCESS_WINDOWS_HIDE_GUI for specifying if console or GUI subprocess windows are to be hidd
win: support more fine-grained windows hiding Added UV_PROCESS_WINDOWS_HIDE_CONSOLE and UV_PROCESS_WINDOWS_HIDE_GUI for specifying if console or GUI subprocess windows are to be hidden. Refs: https://github.com/nodejs/node/pull/24034 PR-URL: https://github.com/libuv/libuv/pull/2073 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
e0bc951f | 06-Nov-2018 |
Gireesh Punathil |
aix: fix race in uv_get_process_title() The length calculation of the title string was performed outside of the mutex, causing data corruption in heavily contended scenarios. Move th
aix: fix race in uv_get_process_title() The length calculation of the title string was performed outside of the mutex, causing data corruption in heavily contended scenarios. Move the length computation to within the mutex block Fixes: https://github.com/libuv/libuv/issues/2063 PR-URL: https://github.com/libuv/libuv/pull/2069 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
00c6b164 | 02-Nov-2018 |
Ben Noordhuis |
darwin: speed up uv_set_process_title() Libuv loaded and unloaded the Core Services and Application Services for every call to uv_set_process_title(). Change that to load them o
darwin: speed up uv_set_process_title() Libuv loaded and unloaded the Core Services and Application Services for every call to uv_set_process_title(). Change that to load them on the first call to uv_set_process_title() and delay unloading until libuv is unloaded. Speeds up process_title_threadsafe by about 10x on my system. PR-URL: https://github.com/libuv/libuv/pull/2064 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
e94c184c | 06-Sep-2018 |
Bartosz Sosnowski |
win,fs: retry if uv_fs_rename fails On Windows rename operation can fail randomly in presence of antivirus or indexing software. Make `uv_fs_rename` retry up to four times with 250ms
win,fs: retry if uv_fs_rename fails On Windows rename operation can fail randomly in presence of antivirus or indexing software. Make `uv_fs_rename` retry up to four times with 250ms delay between attempts before giving up. PR-URL: https://github.com/libuv/libuv/pull/1981 Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
ebb818bb | 23-Oct-2018 |
Bartosz Sosnowski |
win, dl: proper error messages on some systems On some localized Windows 10 machines FormatMessage can fail with ERROR_RESOURCE_TYPE_NOT_FOUND when trying to generate dlopen error me
win, dl: proper error messages on some systems On some localized Windows 10 machines FormatMessage can fail with ERROR_RESOURCE_TYPE_NOT_FOUND when trying to generate dlopen error message. This adds support for this corner case. PR-URL: https://github.com/libuv/libuv/pull/2052 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
8a647d43 | 01-Nov-2018 |
Bartosz Sosnowski |
win, tcp: avoid starving the loop Limit the time a TCP read callback can be called on a single loop iteration to 32. Ref: https://github.com/libuv/libuv/commit/738b31eb3aff440ae
win, tcp: avoid starving the loop Limit the time a TCP read callback can be called on a single loop iteration to 32. Ref: https://github.com/libuv/libuv/commit/738b31eb3aff440ae75ff9f32ba61086a948c3f4 Fixes: https://github.com/libuv/libuv/issues/2027 PR-URL: https://github.com/libuv/libuv/pull/2049 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
6dd44caa | 19-Oct-2018 |
Ben Noordhuis |
unix,win: support IDNA 2008 in uv_getaddrinfo() Encode domain names before passing them on to the libc resolver. Some getaddrinfo() implementations support IDNA 2008, some only IDNA
unix,win: support IDNA 2008 in uv_getaddrinfo() Encode domain names before passing them on to the libc resolver. Some getaddrinfo() implementations support IDNA 2008, some only IDNA 2003 and some don't support i18n domain names at all. This is a potential security issue because it means a domain name might resolve differently depending on the system that libuv is running on. Fixes: https://github.com/libuv/libuv/issues/2028 PR-URL: https://github.com/libuv/libuv/pull/2046 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
143da93e | 29-Oct-2018 |
Ben Noordhuis |
test,unix: fix race in test runner The test runner inserted a 250 ms delay to give helper processes time to settle. That's intrinsically race-y and caused tests to intermittently fai
test,unix: fix race in test runner The test runner inserted a 250 ms delay to give helper processes time to settle. That's intrinsically race-y and caused tests to intermittently fail on platforms like AIX. Instead of a fixed delay, pass a file descriptor to the helper process and wait until it closes the descriptor. That way we know for sure the process has started. Incidentally, this change reduces the running time of the test suite from 112 to 26 seconds on my machine. Fixes: https://github.com/libuv/libuv/issues/2041 PR-URL: https://github.com/libuv/libuv/pull/2056 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
7da435ae | 29-Oct-2018 |
Ben Noordhuis |
test: fix test runner execvp async-signal-safety execvp() is not async-signal-safe, execve() is. PR-URL: https://github.com/libuv/libuv/pull/2056 Reviewed-By: Gireesh Punathil <
test: fix test runner execvp async-signal-safety execvp() is not async-signal-safe, execve() is. PR-URL: https://github.com/libuv/libuv/pull/2056 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
c3cbab99 | 29-Oct-2018 |
Ben Noordhuis |
test: fix test runner getenv async-signal-safety getenv() and atoi() are not safe to call between fork() and execve() so call them before forking. PR-URL: https://github.com/lib
test: fix test runner getenv async-signal-safety getenv() and atoi() are not safe to call between fork() and execve() so call them before forking. PR-URL: https://github.com/libuv/libuv/pull/2056 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
b901e262 | 23-Oct-2018 |
Bartosz Sosnowski |
win, tty: remove zero-size read callbacks In some situations console read callback would return 0 bytes read. According to documentation this means EAGAIN or EWOULDBLOCK, which is no
win, tty: remove zero-size read callbacks In some situations console read callback would return 0 bytes read. According to documentation this means EAGAIN or EWOULDBLOCK, which is not the case in any of the situations that currently happen. This removes those zero-size callbacks. Fixes: https://github.com/libuv/libuv/issues/2012 PR-URL: https://github.com/libuv/libuv/pull/2014 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
1dfa88f3 | 06-Oct-2018 |
Sakthipriyan Vairamani (thefourtheye) |
test: make sure that reading a directory fails Fixes: https://github.com/libuv/libuv/issues/2026 PR-URL: https://github.com/libuv/libuv/pull/2029 Reviewed-By: Santiago Gimeno <santia
test: make sure that reading a directory fails Fixes: https://github.com/libuv/libuv/issues/2026 PR-URL: https://github.com/libuv/libuv/pull/2029 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
20f23518 | 22-Jun-2018 |
Jeremy Studer |
win: Redefine NSIG to consider SIGWINCH Since SIGWINCH is being defined with a value above the existing NSIG, redefine NSIG on WIN32. PR-URL: https://github.com/libuv/libuv/pull
win: Redefine NSIG to consider SIGWINCH Since SIGWINCH is being defined with a value above the existing NSIG, redefine NSIG on WIN32. PR-URL: https://github.com/libuv/libuv/pull/2032 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
show more ...
|
d0b15844 | 16-Oct-2018 |
Santiago Gimeno |
core,bsd: refactor process_title functions Use `setproctitle()` in `FreeBSD` as in the other `BSD` flavours. Move `uv_setup_args()`, `uv_set_process_title()` and `uv_get_process_title()`
core,bsd: refactor process_title functions Use `setproctitle()` in `FreeBSD` as in the other `BSD` flavours. Move `uv_setup_args()`, `uv_set_process_title()` and `uv_get_process_title()` to `bsd-proctitle.c` so it's used by the supported BSDs. PR-URL: https://github.com/libuv/libuv/pull/2042 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
show more ...
|