b1446950 | 06-Jul-2019 |
Nhan Khong |
unix: fix unused-function warning on BSD This commit fixes a warning about uv__fs_preadv() being unused on BSD. PR-URL: https://github.com/libuv/libuv/pull/2367 Reviewed-By:
unix: fix unused-function warning on BSD This commit fixes a warning about uv__fs_preadv() being unused on BSD. PR-URL: https://github.com/libuv/libuv/pull/2367 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
be8b3513 | 21-Jul-2019 |
zyxwvu Shi |
unix: clear UV_HANDLE_READING flag before callback The UV_HANDLE_READING stream flag should be removed before stopping the IO watcher and calling the callback. If the callback calls
unix: clear UV_HANDLE_READING flag before callback The UV_HANDLE_READING stream flag should be removed before stopping the IO watcher and calling the callback. If the callback calls uv_read_start(), the IO watcher will be started then after the callback the UV_HANDLE_READING flag is removed. This will result in epoll constantly reporting POLLIN events while no one handles it, causing 100% CPU usage. PR-URL: https://github.com/libuv/libuv/pull/2382 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
1bd72eb5 | 09-Jul-2019 |
Xu Meng |
ibmi: use correct header files IBM i defines both of the __PASE__ and _AIX macros. Commit 693b534 includes the wrong header file. Need to check macro __PASE__ prior to _AIX.
ibmi: use correct header files IBM i defines both of the __PASE__ and _AIX macros. Commit 693b534 includes the wrong header file. Need to check macro __PASE__ prior to _AIX. PR-URL: https://github.com/libuv/libuv/pull/2371 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
faa80060 | 16-Jun-2019 |
Nhan Khong |
test: fix gcc 8 warnings for tests In test-ipc.c, remove unnecessarily casting uv_stream_s to uv_pipe_s that makes gcc complain about stric-aliasing (-Wstrict-aliasing). In
test: fix gcc 8 warnings for tests In test-ipc.c, remove unnecessarily casting uv_stream_s to uv_pipe_s that makes gcc complain about stric-aliasing (-Wstrict-aliasing). In test-queue-foreach-delete.c, using C99 variadic macros to fix a gcc 8 warnings (-Wcast-function-type). PR-URL: https://github.com/libuv/libuv/pull/2344 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
64ab7cc7 | 07-Jun-2019 |
Ben Davies |
OpenBSD: only get active CPU core count Newer computers may have some cores offline because of the Meltdown/Spectre patches from a while ago, making uv_cpu_info potentially misleadin
OpenBSD: only get active CPU core count Newer computers may have some cores offline because of the Meltdown/Spectre patches from a while ago, making uv_cpu_info potentially misleading and leading to people attempting to use more threads than they actually have available. This makes it so only the cores that are online and doing any work are counted. PR-URL: https://github.com/libuv/libuv/pull/2326 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 ...
|
8ff0cd70 | 16-Jul-2019 |
Xu Meng |
ibmi: support Makefile build for IBM i libuv can only be compiled using node-gyp on IBM i. This commit allows it compiled with autoconf & automake. PR-URL: https://github.com/li
ibmi: support Makefile build for IBM i libuv can only be compiled using node-gyp on IBM i. This commit allows it compiled with autoconf & automake. PR-URL: https://github.com/libuv/libuv/pull/2379 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
f5ca3e86 | 05-Jul-2019 |
Nan Xiao |
doc: fix typo in basics.rst PR-URL: https://github.com/libuv/libuv/pull/2366 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> |
ed128ef3 | 21-Jul-2019 |
Zach Bjornson |
doc: add %p to valgrind log-file arg Since the tests fork processes, a single log file is largely unreadable. PR-URL: https://github.com/libuv/libuv/pull/2383 Reviewed-By: S
doc: add %p to valgrind log-file arg Since the tests fork processes, a single log file is largely unreadable. PR-URL: https://github.com/libuv/libuv/pull/2383 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
97e86dde | 03-Aug-2019 |
Ben Noordhuis |
Revert "darwin: speed up uv_set_process_title()" This reverts commit 00c6b1649d13fdd94bedbfe7ad26c9269c80b32c. It's been reported (and I can confirm) that this change breaks `pr
Revert "darwin: speed up uv_set_process_title()" This reverts commit 00c6b1649d13fdd94bedbfe7ad26c9269c80b32c. It's been reported (and I can confirm) that this change breaks `process.title = 'foo'` in Node.js. Since libuv just calls out to Core Services and Application Services, and since those frameworks are really just black boxes that you can't look inside, it's impossible to debug what exactly goes wrong. Revert it is then. Fixes: https://github.com/nodejs/node/issues/28945 PR-URL: https://github.com/libuv/libuv/pull/2405 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
2480b615 | 01-Aug-2019 |
Saúl Ibarra Corretgé |
unix,win: add ability to retrieve all env variables Fixes: https://github.com/libuv/libuv/issues/2400 PR-URL: https://github.com/libuv/libuv/pull/2404 Reviewed-By: Anna Hennings
unix,win: add ability to retrieve all env variables Fixes: https://github.com/libuv/libuv/issues/2400 PR-URL: https://github.com/libuv/libuv/pull/2404 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
ef218ced | 25-Jul-2019 |
Carlo Marcelo Arenas Belón |
test: avoid AF_LOCAL Linux specific and practically an alias of AF_UNIX which is POSIX PR-URL: https://github.com/libuv/libuv/pull/2388 Reviewed-By: Colin Ihrig <cjihrig@gm
test: avoid AF_LOCAL Linux specific and practically an alias of AF_UNIX which is POSIX PR-URL: https://github.com/libuv/libuv/pull/2388 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 ...
|
bf86d5fb | 29-Jul-2019 |
cjihrig |
unix,win: add uv_fs_statfs() Fixes: https://github.com/libuv/libuv/issues/2386 PR-URL: https://github.com/libuv/libuv/pull/2396 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Re
unix,win: add uv_fs_statfs() Fixes: https://github.com/libuv/libuv/issues/2386 PR-URL: https://github.com/libuv/libuv/pull/2396 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
show more ...
|
79c2d740 | 31-Jul-2019 |
cjihrig |
win: misc fs cleanup This commit removes two extraneous semicolons and an unused variable that was generating a compiler warning. PR-URL: https://github.com/libuv/libuv/pull/240
win: misc fs cleanup This commit removes two extraneous semicolons and an unused variable that was generating a compiler warning. PR-URL: https://github.com/libuv/libuv/pull/2402 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
3f6298c1 | 29-Jul-2019 |
cjihrig |
github: add root warning to template A number of bug reports about the test suite are the result of the user running the test suite as root. It might be wishful thinking, but perhaps
github: add root warning to template A number of bug reports about the test suite are the result of the user running the test suite as root. It might be wishful thinking, but perhaps some of the bug reports can be eliminated by adding some text to the GitHub issue template. PR-URL: https://github.com/libuv/libuv/pull/2397 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
ecff2785 | 11-Jul-2019 |
Bartosz Sosnowski |
win, fs: mkdir return UV_EINVAL for invalid names Makes uv_fs_mkdir return UV_EINVAL for invalid filenames instead of UV_ENOENT. Ref: https://github.com/nodejs/node/issues/28599
win, fs: mkdir return UV_EINVAL for invalid names Makes uv_fs_mkdir return UV_EINVAL for invalid filenames instead of UV_ENOENT. Ref: https://github.com/nodejs/node/issues/28599 PR-URL: https://github.com/libuv/libuv/pull/2375 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
2c279504 | 09-May-2019 |
João Reis |
win: add UV_FS_O_FILEMAP Reading and writing files using a memory file mapping can be significantly faster on Windows. PR-URL: https://github.com/libuv/libuv/pull/2295 Revie
win: add UV_FS_O_FILEMAP Reading and writing files using a memory file mapping can be significantly faster on Windows. PR-URL: https://github.com/libuv/libuv/pull/2295 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
show more ...
|
dabc737d | 22-May-2019 |
Javier Blazquez |
win: prevent tty event explosion machine hang The tty subsystem on Windows was listening for console events from all processes to detect when our console window was being resized. This
win: prevent tty event explosion machine hang The tty subsystem on Windows was listening for console events from all processes to detect when our console window was being resized. This could cause an explosion in the number of events queued by the system when running many console applications in parallel that all wrote to their console quickly. The end result was a complete machine hang. Now we determine, whenever possible, what our corresponding conhost.exe process is and listen for console events from that process only. This detection does not work in 32-bit applications running on 64-bit Windows so those default to the old behavior of listening to all processes. PR-URL: https://github.com/libuv/libuv/pull/2308 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
show more ...
|
a5d37437 | 19-Jun-2019 |
Mustafa M |
win: fix uv_os_tmpdir when env var is 260 chars When TMP environment variable is 261 chars (including the trailing slash) or 260 chars without the trailing slash, uv_os_tmpdir throws an
win: fix uv_os_tmpdir when env var is 260 chars When TMP environment variable is 261 chars (including the trailing slash) or 260 chars without the trailing slash, uv_os_tmpdir throws an UV_EIO error which it shouldn't, since the total input string size allowable for this function is PATH_MAX+1 (including the trailing slash) PR-URL: https://github.com/libuv/libuv/pull/2341 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
show more ...
|
c905e0be | 02-Jul-2019 |
Javier Blazquez |
win,fs: don't modify global file translation mode The MSVC runtime provides a global variable that can be used to set the default file translation mode so that file open calls don't need
win,fs: don't modify global file translation mode The MSVC runtime provides a global variable that can be used to set the default file translation mode so that file open calls don't need to explicitly specify that mode. libuv was changing that global mode to binary from its default of text. However, libuv doesn't actually need to do that anymore, and the application may not want the default changed under it. This change stops libuv from modifying that global mode. PR-URL: https://github.com/libuv/libuv/pull/2324 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
04a48e9a | 02-Jul-2019 |
cjihrig |
Now working on version 1.30.2 Fixes: https://github.com/libuv/libuv/issues/2363 |
8785ce89 | 02-Jul-2019 |
cjihrig |
Add SHA to ChangeLog |
1551969c | 02-Jul-2019 |
cjihrig |
2019.07.03, Version 1.30.1 (Stable) Changes since version 1.30.0: * doc: fix incorrect versionchanged (cjihrig) * test: allow UV_ECONNRESET in tcp_try_write_error (cjihrig)
2019.07.03, Version 1.30.1 (Stable) Changes since version 1.30.0: * doc: fix incorrect versionchanged (cjihrig) * test: allow UV_ECONNRESET in tcp_try_write_error (cjihrig) * unix: add uv_get_constrained_memory() cygwin stub (cjihrig) * build: fix android cmake build (Ben Noordhuis) * unix: squelch -Wcast-function-type warning (Ben Noordhuis) * build: fix compile error with uClibc (zlargon)
show more ...
|
60526073 | 02-Jul-2019 |
Leon Huang |
build: fix compile error with uClibc uClibc does not have header "gnu/libc-version.h" PR-URL: https://github.com/libuv/libuv/pull/2329 Reviewed-By: Ben Noordhuis <info@bnoordhui
build: fix compile error with uClibc uClibc does not have header "gnu/libc-version.h" PR-URL: https://github.com/libuv/libuv/pull/2329 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
a5ffb50d | 02-Jul-2019 |
Ben Noordhuis |
unix: squelch -Wcast-function-type warning PR-URL: https://github.com/libuv/libuv/pull/2346 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> |
c4ff0457 | 02-Jul-2019 |
Ben Noordhuis |
build: fix android cmake build Fix two 'multiple definition' symbol errors caused by compiling in sysinfo-memory.c when linux-core.c also provides them (and those are the correct one
build: fix android cmake build Fix two 'multiple definition' symbol errors caused by compiling in sysinfo-memory.c when linux-core.c also provides them (and those are the correct ones.) Bug introduced in commit 3a1be725 ("linux: read free/total memory from /proc/meminfo") released in libuv v1.29.0. It slipped under the radar because there are no Android machines in our CI matrix. Fixes: https://github.com/libuv/libuv/issues/2357 PR-URL: https://github.com/libuv/libuv/pull/2362 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|