f66db9c5 | 27-Jun-2019 |
cjihrig |
test: allow UV_ECONNRESET in tcp_try_write_error Recent CI failures imply that uv_try_write() can return UV_ECONNRESET - specifically on FreeBSD. This commit updates the test to pass
test: allow UV_ECONNRESET in tcp_try_write_error Recent CI failures imply that uv_try_write() can return UV_ECONNRESET - specifically on FreeBSD. This commit updates the test to pass when that error code is returned. PR-URL: https://github.com/libuv/libuv/pull/2355 Reviewed-By: Anna Henningsen <anna@addaleax.net>
show more ...
|
1a06462c | 27-Jun-2019 |
cjihrig |
doc: fix incorrect versionchanged Version 1.29.2 never happened. Update the versionchanged from 9a10058e72fb62c3e6ffd82e1f3f393c717e63f5 to be 1.30.0. PR-URL: https://github.com
doc: fix incorrect versionchanged Version 1.29.2 never happened. Update the versionchanged from 9a10058e72fb62c3e6ffd82e1f3f393c717e63f5 to be 1.30.0. PR-URL: https://github.com/libuv/libuv/pull/2354 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
f50a746f | 27-Jun-2019 |
cjihrig |
Now working on version 1.30.1 Fixes: https://github.com/libuv/libuv/issues/2343 |
e441553b | 27-Jun-2019 |
cjihrig |
Add SHA to ChangeLog |
365b6f2a | 27-Jun-2019 |
cjihrig |
2019.06.28, Version 1.30.0 (Stable) Changes since version 1.29.1: * darwin: fall back to F_BARRIERFSYNC (Ben Noordhuis) * darwin: add 32 bit close$NOCANCEL implementation
2019.06.28, Version 1.30.0 (Stable) Changes since version 1.29.1: * darwin: fall back to F_BARRIERFSYNC (Ben Noordhuis) * darwin: add 32 bit close$NOCANCEL implementation (ken-cunningham-webuse) * build, core, unix: add support for Haiku (Leorize) * darwin,linux: more conservative minimum stack size (Ben Noordhuis) * threadpool: increase UV_THREADPOOL_SIZE limit (Vlad A) * unix: return actual error from `uv_try_write()` (Anna Henningsen) * darwin: fix build error with macos 10.10 (Ben Noordhuis) * unix: make uv_cwd() report UV_ENOBUFS (Ben Noordhuis) * unix: make uv_fs_read() fill all buffers (Ben Noordhuis) * test: give hrtime test a custom 10s timeout (Ben Noordhuis) * fs: fix uv_fs_copyfile if same src and dst (Santiago Gimeno) * build: add cmake option to skip building tests (Niels Lohmann) * doc: add link to nodejs.org (Jenil Christo) * unix: fix a comment typo in signal.c (Evgeny Ermakov) * unix: remove redundant cast in process.c (gengjiawen) * doc: fix wrong mutex function prototypes (Leo Chung)
show more ...
|
5fc58eb3 | 19-Jun-2019 |
Leo Chung |
doc: fix wrong mutex function prototypes The `:lines:` numbers were wrong, they showed the signatures of the uv_fs_access and uv_fs_chmod functions. |
69c78f9f | 19-May-2019 |
gengjiawen |
unix: remove redundant cast in process.c PR-URL: https://github.com/libuv/libuv/pull/2300 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> |
d92c5d13 | 29-May-2019 |
Evgeny Ermakov |
unix: fix a comment typo in signal.c PR-URL: https://github.com/libuv/libuv/pull/2318 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Re
unix: fix a comment typo in signal.c PR-URL: https://github.com/libuv/libuv/pull/2318 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Vladimír Čunát <v@cunat.cz>
show more ...
|
805401b0 | 06-Jun-2019 |
Jenil Christo |
doc: add link to nodejs.org PR-URL: https://github.com/libuv/libuv/pull/2325 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> |
f8cab718 | 26-Nov-2018 |
Niels Lohmann |
build: add cmake option to skip building tests In case libuv is included via add_subdirectory, its tests are always built and executed. This cannot be skipped currently, because switchin
build: add cmake option to skip building tests In case libuv is included via add_subdirectory, its tests are always built and executed. This cannot be skipped currently, because switching BUILD_TESTING to false would also switch off all other tests in the parent project. This commit adds a switch "libuv_buildtests" which can individually switch of the compilation and execution of libuv's tests. It is ON by default, so the default behavior does not change. However, projects that include libuv via add_subdirectory can not set libuv_buildtests to OFF if they are not interested in its tests. PR-URL: https://github.com/libuv/libuv/pull/2094 Reviewed-By: Refael Ackermann (רפאל פלחי) <refack@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
0b29acb0 | 17-May-2019 |
Santiago Gimeno |
fs: fix uv_fs_copyfile if same src and dst Specifically return success. It fixes a tight loop on unices as `sendfile()` was returning 0 and also makes the function behave the same bo
fs: fix uv_fs_copyfile if same src and dst Specifically return success. It fixes a tight loop on unices as `sendfile()` was returning 0 and also makes the function behave the same both on `unix` and `windows`. It partially implements: https://github.com/libuv/libuv/issues/2237 PR-URL: https://github.com/libuv/libuv/pull/2298 Refs: https://github.com/nodejs/node/issues/27746 Reviewed-By: Jameson Nash <vtjnash@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
5fd48067 | 21-Jun-2019 |
Ben Noordhuis |
test: give hrtime test a custom 10s timeout The test is supposed to complete in about 3.5s but it can hit the 5s timeout when run on a system with high load. Fixes: https://gith
test: give hrtime test a custom 10s timeout The test is supposed to complete in about 3.5s but it can hit the 5s timeout when run on a system with high load. Fixes: https://github.com/libuv/libuv/issues/2342 PR-URL: https://github.com/libuv/libuv/pull/2345 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
087c461e | 20-Jun-2019 |
Ben Noordhuis |
unix: make uv_fs_read() fill all buffers The fallback for systems that lack preadv() only filled the first buffer. This commit rectifies that to fill all (or at least as many as
unix: make uv_fs_read() fill all buffers The fallback for systems that lack preadv() only filled the first buffer. This commit rectifies that to fill all (or at least as many as possible) buffers. Fixes: https://github.com/libuv/libuv/issues/2332 PR-URL: https://github.com/libuv/libuv/pull/2338 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Jameson Nash <vtjnash@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
6e181121 | 20-Jun-2019 |
Ben Noordhuis |
unix: make uv_cwd() report UV_ENOBUFS Make uv_cwd() do what the documentation says it did when the destination buffer is too small: report UV_ENOBUFS and set the `size` in/out param
unix: make uv_cwd() report UV_ENOBUFS Make uv_cwd() do what the documentation says it did when the destination buffer is too small: report UV_ENOBUFS and set the `size` in/out param to the size of the path including the trailing nul byte. Fixes: https://github.com/libuv/libuv/issues/2333 PR-URL: https://github.com/libuv/libuv/pull/2335 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 ...
|
53f47721 | 15-Jun-2019 |
Ben Noordhuis |
darwin: fix build error with macos 10.10 F_BARRIERFSYNC isn't defined when building on that platform. PR-URL: https://github.com/libuv/libuv/pull/2334 Reviewed-By: Colin Ihrig <
darwin: fix build error with macos 10.10 F_BARRIERFSYNC isn't defined when building on that platform. PR-URL: https://github.com/libuv/libuv/pull/2334 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
ee24ce90 | 31-May-2019 |
Anna Henningsen |
unix: return actual error from `uv_try_write()` So far, for some (?) errors, `uv_try_write()` returns `EAGAIN` regardless of the actual error, so `ECONNRESET` and `EPIPE` errors can
unix: return actual error from `uv_try_write()` So far, for some (?) errors, `uv_try_write()` returns `EAGAIN` regardless of the actual error, so `ECONNRESET` and `EPIPE` errors can be swallowed here. This commit changes `uv_try_write()` so that it prefers to return the actual error it has seen. PR-URL: https://github.com/libuv/libuv/pull/2321 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
9a10058e | 07-Jun-2019 |
Vlad A |
threadpool: increase UV_THREADPOOL_SIZE limit Increase the UV_THREADPOOL_SIZE limit to 1024 and update the docs. Fixes: https://github.com/libuv/libuv/pull/2296 PR-URL: https://
threadpool: increase UV_THREADPOOL_SIZE limit Increase the UV_THREADPOOL_SIZE limit to 1024 and update the docs. Fixes: https://github.com/libuv/libuv/pull/2296 PR-URL: https://github.com/libuv/libuv/pull/2314 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 ...
|
d89bd156 | 07-Jun-2019 |
Ben Noordhuis |
darwin,linux: more conservative minimum stack size uv_thread_create() inspects min(PTHREAD_STACK_MIN, RLIMIT_STACK) to find out the minimum allowed stack size. After spelunking through
darwin,linux: more conservative minimum stack size uv_thread_create() inspects min(PTHREAD_STACK_MIN, RLIMIT_STACK) to find out the minimum allowed stack size. After spelunking through kernel and libc code, I came to the conclusion that allowing such small stacks does not mix well with signals. Musl's PTHREAD_STACK_MIN is 2 KB but signal handlers on many architectures need at least 1 KB to store the signal context, making it almost impossible to do anything on the thread without signal delivery overflowing the stack. Therefore, increase the lower bound to 8 KB. That corresponds to PTHREAD_STACK_MIN + MINSIGSTKSZ on arm64, which has the largest MINSIGSTKSZ of the architectures that musl supports. PR-URL: https://github.com/libuv/libuv/pull/2310 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
abe4f3d5 | 07-Jun-2019 |
Leorize |
build, core, unix: add support for Haiku This commit add support for Haiku, an open-source operating system inspired by BeOS. PR-URL: https://github.com/libuv/libuv/pull/2301
build, core, unix: add support for Haiku This commit add support for Haiku, an open-source operating system inspired by BeOS. PR-URL: https://github.com/libuv/libuv/pull/2301 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
ffad651b | 23-May-2019 |
ken-cunningham-webuse |
darwin: add 32 bit close$NOCANCEL implementation The link symbol for close$NOCANCEL is slightly different for 32 bit builds. PR-URL: https://github.com/libuv/libuv/pull/2309
darwin: add 32 bit close$NOCANCEL implementation The link symbol for close$NOCANCEL is slightly different for 32 bit builds. PR-URL: https://github.com/libuv/libuv/pull/2309 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
9a417319 | 07-Jun-2019 |
Ben Noordhuis |
darwin: fall back to F_BARRIERFSYNC Fall back to F_BARRIERFSYNC if F_FULLFSYNC is not supported by the file system, only fall back to fsync() if both fcntls fail. F_BARRIERFSYNC
darwin: fall back to F_BARRIERFSYNC Fall back to F_BARRIERFSYNC if F_FULLFSYNC is not supported by the file system, only fall back to fsync() if both fcntls fail. F_BARRIERFSYNC should be at least as safe as fsync() because it's fsync coupled with a barrier. PR-URL: https://github.com/libuv/libuv/pull/2317 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
4a4c9a68 | 21-May-2019 |
cjihrig |
Now working on version 1.29.2 Fixes: https://github.com/libuv/libuv/issues/2306 |
3f5c1f33 | 21-May-2019 |
cjihrig |
Add SHA to ChangeLog |
d16e6094 | 21-May-2019 |
cjihrig |
2019.05.22, Version 1.29.1 (Stable) Changes since version 1.29.0: * unix: simplify uv/posix.h include logic (cjihrig) * test: increase test timeout (cjihrig) * lin
2019.05.22, Version 1.29.1 (Stable) Changes since version 1.29.0: * unix: simplify uv/posix.h include logic (cjihrig) * test: increase test timeout (cjihrig) * linux: fix sscanf() overflows reading from /proc (Ben Noordhuis)
show more ...
|
d7f0055b | 21-May-2019 |
Ben Noordhuis |
linux: fix sscanf() overflows reading from /proc Use `"%" PRIu64` and uint64_t for sscanf-ing large values, not `"%lu"` and unsigned long. The latter can overflow when libuv is a 32 bits
linux: fix sscanf() overflows reading from /proc Use `"%" PRIu64` and uint64_t for sscanf-ing large values, not `"%lu"` and unsigned long. The latter can overflow when libuv is a 32 bits application running on a 64 bits machine. Fixes: https://github.com/libuv/libuv/issues/2297 PR-URL: https://github.com/libuv/libuv/pull/2305 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|