aa93eb25 | 22-Apr-2020 |
Colin Finck |
win: remove dep on GetQueuedCompletionStatusEx Libuv already works without that API since commit 153ea114ff but still had it as a hard requirement in the import table. This code uses the
win: remove dep on GetQueuedCompletionStatusEx Libuv already works without that API since commit 153ea114ff but still had it as a hard requirement in the import table. This code uses the `pGetQueuedCompletionStatusEx` function pointer instead, hence it also works on systems that don't export `GetQueuedCompletionStatusEx`. This simple fix improves compatibility of libuv with ReactOS and Windows XP (latter using Vista+ compatibility libraries like https://github.com/MyTDT-Mysoft/DllCompat) PR-URL: https://github.com/libuv/libuv/pull/2800 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
a9d9d4ea | 22-Apr-2020 |
Ben Noordhuis |
unix: yield cpu when spinlocking on async handle Fixes: https://github.com/libuv/libuv/issues/2769 PR-URL: https://github.com/libuv/libuv/pull/2772 Reviewed-By: Anna Henningsen <anna
unix: yield cpu when spinlocking on async handle Fixes: https://github.com/libuv/libuv/issues/2769 PR-URL: https://github.com/libuv/libuv/pull/2772 Reviewed-By: Anna Henningsen <anna@addaleax.net>
show more ...
|
72fe3543 | 22-Apr-2020 |
Ben Noordhuis |
unix,win: add uv_library_shutdown() Make it possible to explicitly tell libuv to release any resources it's still holding onto (memory, threads, file descriptors, etc.) Before t
unix,win: add uv_library_shutdown() Make it possible to explicitly tell libuv to release any resources it's still holding onto (memory, threads, file descriptors, etc.) Before this commit, cleanup was performed in various destructors. This commit centralizes the cleanup logic, enabling the addition of `uv_library_shutdown()`, but maintains the current observable behavior of cleaning up when libuv is unloaded by means of `dlclose(3)`. Fixes: https://github.com/libuv/libuv/issues/2763 PR-URL: https://github.com/libuv/libuv/pull/2764 Reviewed-By: Anna Henningsen <anna@addaleax.net> 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 ...
|
b29612fe | 22-Apr-2020 |
Ben Noordhuis |
win: DRY uv_poll_close() PR-URL: https://github.com/libuv/libuv/pull/2746 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: erw7 <erw7.github@gmail.com> |
887cf62c | 22-Apr-2020 |
Ben Noordhuis |
win: DRY uv_poll_start() and uv_poll_stop() PR-URL: https://github.com/libuv/libuv/pull/2746 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: erw7 <erw7.github@
win: DRY uv_poll_start() and uv_poll_stop() PR-URL: https://github.com/libuv/libuv/pull/2746 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: erw7 <erw7.github@gmail.com>
show more ...
|
37a8affb | 22-Apr-2020 |
James Ross |
linux: make cpu_times consistently be milliseconds On Linux, cpu_times have been calculated differently to all other platforms for a while. Other platforms (FreeBSD, Mac, Windows) are al
linux: make cpu_times consistently be milliseconds On Linux, cpu_times have been calculated differently to all other platforms for a while. Other platforms (FreeBSD, Mac, Windows) are all in milliseconds, but Linux has been returning values ten times larger. libuv has not previously documented what unit cpu_times uses, even though NodeJS did - as milliseconds. Here we're both documenting that the cpu_times are indeed in milliseconds, and fixing the inconsistency on Linux. Fixes: https://github.com/libuv/libuv/issues/2773 PR-URL: https://github.com/libuv/libuv/pull/2796 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
f52786b4 | 13-Apr-2020 |
Xu Meng |
test: skip poll_duplex and poll_unidirectional on PASE Issuing a shutdown() on IBM i PASE with parameter SHUT_WR also sends a normal close sequence to the partner program. This leads
test: skip poll_duplex and poll_unidirectional on PASE Issuing a shutdown() on IBM i PASE with parameter SHUT_WR also sends a normal close sequence to the partner program. This leads to timing issues and ECONNRESET failures in the test poll_duplex and poll_unidirectional. https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_74/apis/shutdn.htm PR-URL: https://github.com/libuv/libuv/pull/2782 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
0e00e140 | 19-Apr-2020 |
cjihrig |
Now working on version 1.37.1 Fixes: https://github.com/libuv/libuv/issues/2801 |
87af8359 | 19-Apr-2020 |
cjihrig |
Add SHA to ChangeLog |
02a9e1be | 19-Apr-2020 |
cjihrig |
2020.04.20, Version 1.37.0 (Stable) Changes since version 1.36.0: * timer: remove redundant check in heap compare (Yash Ladha) * udp: add flag to enable recvmmsg(2) explici
2020.04.20, Version 1.37.0 (Stable) Changes since version 1.36.0: * timer: remove redundant check in heap compare (Yash Ladha) * udp: add flag to enable recvmmsg(2) explicitly (Saúl Ibarra Corretgé)
show more ...
|
5736658b | 18-Apr-2020 |
Saúl Ibarra Corretgé |
udp: add flag to enable recvmmsg(2) explicitly Instead of implicitly enabling it by checking the supplied buffer size to alloc_cb, have a dedicated flag that must be set on `uv_udp_init_
udp: add flag to enable recvmmsg(2) explicitly Instead of implicitly enabling it by checking the supplied buffer size to alloc_cb, have a dedicated flag that must be set on `uv_udp_init_ex`. Fixes: https://github.com/libuv/libuv/issues/2791 Closes: https://github.com/libuv/libuv/pull/2792 PR-URL: https://github.com/libuv/libuv/pull/2799 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
0fd99319 | 16-Apr-2020 |
Yash Ladha |
timer: remove redundant check in heap compare `timer_less_than()` function is basically a comparator function that returns true or false. In the end of the function we were checking
timer: remove redundant check in heap compare `timer_less_than()` function is basically a comparator function that returns true or false. In the end of the function we were checking for the comparison of id, but the later if is redundant as we are anyways in the end are returning `0`. That extra check can thus be safely removed. PR-URL: https://github.com/libuv/libuv/pull/2785 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
80c18ffa | 15-Apr-2020 |
cjihrig |
Now working on version 1.36.1 Fixes: https://github.com/libuv/libuv/issues/2787 |
40e88042 | 15-Apr-2020 |
cjihrig |
Add SHA to ChangeLog |
533b7388 | 15-Apr-2020 |
cjihrig |
2020.04.16, Version 1.36.0 (Stable) Changes since version 1.35.0: * build: add aix-common.c for AIX cmake build (Jesse Gorzinski) * zos: explicitly mark message queue event
2020.04.16, Version 1.36.0 (Stable) Changes since version 1.35.0: * build: add aix-common.c for AIX cmake build (Jesse Gorzinski) * zos: explicitly mark message queue events (Irek Fakhrutdinov) * zos: move mq check out of loop to save cpu cycles (Irek Fakhrutdinov) * zos: add checks to ensure behavior of epoll_wait (Irek Fakhrutdinov) * src: add uv__reallocf() (Ben Noordhuis) * build: ibmi support for cmake (Jesse Gorzinski) * build: fix gyp build for Android API >= 28 (Lin Zhang) * udp: return recvmmsg-ed datagrams in order (Saúl Ibarra Corretgé) * zos,test: fix spawn_empty_env for shared library build (Richard Lau) * zos: fix non-Release builds (Richard Lau) * zos: fix return value on expired nanosleep() call (Richard Lau) * build: fix z/OS cmake build (Richard Lau) * test: add a bunch of ASSERT macros (Santiago Gimeno) * test: remove unused extern declaration (Ben Noordhuis) * test: canonicalize argv[0] in exepath test (Ben Noordhuis) * test: simplify platform_init() (Ben Noordhuis) * ibmi: Fix isatty EBADF handling and refactor (Kevin Adler) * test: Test EBADF tty handling (Kevin Adler) * build: make cmake build benchmarks (Ben Noordhuis) * win: use RtlGenRandom from advapi32.dll directly (Ben Noordhuis) * android: fix OOB write in uv_interface_addresses() (Lin Zhang) * test: pass test when hostname is single character (毛毛) * ibmi: set the highest process priority to -10 (Xu Meng) * build: remove support for gyp (Ben Noordhuis) * doc: add note to README on cross-compiling (Ben Noordhuis) * fs: add uv_fs_lutime() (Sk Sajidul Kadir) * unix: implement cpu_relax() for arm (David Carlier) * linux: fix uv__accept4() (twosee) * win: handle file paths in uv_fs_statfs() (erw7) * unix: fix uv_os_environ() null pointer check (Rikard Falkeborn) * win: fix uv_os_environ() null pointer check (Rikard Falkeborn) * unix: fix compilation on macOS 32-bit architectures (Brad King) * win: replace alloca() with stack-based array (Ben Noordhuis)
show more ...
|
3e5d2614 | 13-Apr-2020 |
Ben Noordhuis |
win: replace alloca() with stack-based array `required_vars_value_len` has a fixed number of elements. There is no need to use alloca() to allocate it. Refs: https://github.com/
win: replace alloca() with stack-based array `required_vars_value_len` has a fixed number of elements. There is no need to use alloca() to allocate it. Refs: https://github.com/libuv/libuv/pull/2781 PR-URL: https://github.com/libuv/libuv/pull/2783 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
815b0766 | 07-Apr-2020 |
Brad King |
unix: fix compilation on macOS 32-bit architectures In commit 2475296c (build: make code compilable for iOS on Xcode, 2020-01-18, v1.35.0~47) we added a `defined(TARGET_OS_IPHONE)` p
unix: fix compilation on macOS 32-bit architectures In commit 2475296c (build: make code compilable for iOS on Xcode, 2020-01-18, v1.35.0~47) we added a `defined(TARGET_OS_IPHONE)` preprocessor condition, but `TARGET_OS_IPHONE` is always defined on Apple to either 0 or 1. On 32-bit macOS architectures this leads to an undefined symbol reference to `_close$NOCANCEL`. Fix the preprocessor condition to use just `TARGET_OS_IPHONE`. Refs: https://github.com/libuv/libuv/pull/2639 PR-URL: https://github.com/libuv/libuv/pull/2776 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
cd11c2b1 | 09-Apr-2020 |
Rikard Falkeborn |
win: fix uv_os_environ() null pointer check Check the pointer to the allocated memory, not the pointer to the pointer of the allocated memory. Previously, a failed allocation of *env
win: fix uv_os_environ() null pointer check Check the pointer to the allocated memory, not the pointer to the pointer of the allocated memory. Previously, a failed allocation of *envitems would lead to a NULL pointer dereference. PR-URL: https://github.com/libuv/libuv/pull/2778 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
show more ...
|
b44d5ee1 | 09-Apr-2020 |
Rikard Falkeborn |
unix: fix uv_os_environ() null pointer check Check the pointer to the allocated memory, not the pointer to the pointer of the allocated memory. Previously, a failed allocation of *en
unix: fix uv_os_environ() null pointer check Check the pointer to the allocated memory, not the pointer to the pointer of the allocated memory. Previously, a failed allocation of *envitems would lead to a NULL pointer dereference. PR-URL: https://github.com/libuv/libuv/pull/2778 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
show more ...
|
ad618647 | 21-Feb-2020 |
erw7 |
win: handle file paths in uv_fs_statfs() GetDiskFreeSpaceW() doesn't handle regular file paths well. This commit switches to using GetFullPathNameW(). Fixes: https://github.com/
win: handle file paths in uv_fs_statfs() GetDiskFreeSpaceW() doesn't handle regular file paths well. This commit switches to using GetFullPathNameW(). Fixes: https://github.com/libuv/libuv/pull/2683 Refs: https://github.com/libuv/libuv/pull/2691 PR-URL: https://github.com/libuv/libuv/pull/2695 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jameson Nash <vtjnash@gmail.com>
show more ...
|
fbafdbf7 | 14-Apr-2020 |
twosee |
linux: fix uv__accept4() Refs: https://github.com/libuv/libuv/pull/2665 PR-URL: https://github.com/libuv/libuv/pull/2786 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-
linux: fix uv__accept4() Refs: https://github.com/libuv/libuv/pull/2665 PR-URL: https://github.com/libuv/libuv/pull/2786 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
a2689ab2 | 14-Apr-2020 |
David Carlier |
unix: implement cpu_relax() for arm Emits yield instruction in ARM mode (mainly needs to pass -march=...). PR-URL: https://github.com/libuv/libuv/pull/2751 Reviewed-By: Anna Hen
unix: implement cpu_relax() for arm Emits yield instruction in ARM mode (mainly needs to pass -march=...). PR-URL: https://github.com/libuv/libuv/pull/2751 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
bd429238 | 29-Feb-2020 |
Sk Sajidul Kadir |
fs: add uv_fs_lutime() PR-URL: https://github.com/libuv/libuv/pull/2723 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
fs: add uv_fs_lutime() PR-URL: https://github.com/libuv/libuv/pull/2723 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
dc7c8746 | 07-Apr-2020 |
Ben Noordhuis |
doc: add note to README on cross-compiling PR-URL: https://github.com/libuv/libuv/pull/2682 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Fedor Indutny <fedor.indutny@gma
doc: add note to README on cross-compiling PR-URL: https://github.com/libuv/libuv/pull/2682 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Fedor Indutny <fedor.indutny@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 ...
|
53f3c687 | 07-Apr-2020 |
Ben Noordhuis |
build: remove support for gyp Upstream GYP has been unmaintained for some time now. The only big downstream user is Node.js and they already maintain GYP build files for their other
build: remove support for gyp Upstream GYP has been unmaintained for some time now. The only big downstream user is Node.js and they already maintain GYP build files for their other dependencies. This commit removes vcbuild.bat because: 1. it's entirely built around GYP, and 2. duplicates a lot of functionality that cmake provides out of the box This commit also removes appveyor.yml. It hasn't been used after we stopped providing prebuilt binaries for Windows about two years ago. As if that isn't enough, this commit also removes the Android build scripts. They were wrappers around GYP. Use CMake. PR-URL: https://github.com/libuv/libuv/pull/2682 Refs: https://github.com/libuv/libuv/pull/2681 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Fedor Indutny <fedor.indutny@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 ...
|