e668e10a | 11-Oct-2019 |
Ryan Liptak |
doc: improve uv_{send,recv}_buffer_size() docs PR-URL: https://github.com/libuv/libuv/pull/2508 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Colin Ihrig <cjihrig
doc: improve uv_{send,recv}_buffer_size() docs PR-URL: https://github.com/libuv/libuv/pull/2508 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
65f142a9 | 11-Oct-2019 |
Saúl Ibarra Corretgé |
doc: remove old FreeBSD 9 related note PR-URL: https://github.com/libuv/libuv/pull/2509 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> |
1df44df0 | 14-Oct-2019 |
Saúl Ibarra Corretgé |
darwin,test: update loop time after sleeping Otherwise we run the risk of running the timer before the fsevent callback since the timer due time is "now" because it's as long as the
darwin,test: update loop time after sleeping Otherwise we run the risk of running the timer before the fsevent callback since the timer due time is "now" because it's as long as the process already slept. Refs: https://github.com/libuv/libuv/issues/2491 PR-URL: https://github.com/libuv/libuv/pull/2516 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
39a801d6 | 14-Oct-2019 |
Saúl Ibarra Corretgé |
darwin,test: include AvailabilityMacros.h It's necessary for MAC_OS_X_VERSION_10_12 to be defined. Refs: https://github.com/libuv/libuv/issues/2491 PR-URL: https://github.com/li
darwin,test: include AvailabilityMacros.h It's necessary for MAC_OS_X_VERSION_10_12 to be defined. Refs: https://github.com/libuv/libuv/issues/2491 PR-URL: https://github.com/libuv/libuv/pull/2516 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
e797163e | 12-Dec-2018 |
Carl Lei |
build: install files on windows via cmake PR-URL: https://github.com/libuv/libuv/pull/2443 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@g
build: install files on windows via cmake PR-URL: https://github.com/libuv/libuv/pull/2443 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
076df64d | 09-Oct-2019 |
Ryan Liptak |
win: fix uv_statfs_t leak in uv_fs_statfs() PR-URL: https://github.com/libuv/libuv/pull/2505 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Santiago Gimeno <santia
win: fix uv_statfs_t leak in uv_fs_statfs() PR-URL: https://github.com/libuv/libuv/pull/2505 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
fd2ce38d | 02-Oct-2019 |
erw7 |
win,tty: add uv_tty_{get,set}_vterm_state PR-URL: https://github.com/libuv/libuv/pull/2501 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <s@saghul
win,tty: add uv_tty_{get,set}_vterm_state PR-URL: https://github.com/libuv/libuv/pull/2501 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net> Reviewed-By: Jameson Nash <vtjnash+github@gmail.com>
show more ...
|
fdef604a | 11-Jun-2019 |
Jameson Nash |
unix,udp: ensure addr is non-null Update this code to be more in line with the Windows version. Previously, callers (such as nodejs) might assume it was always safe to de-reference
unix,udp: ensure addr is non-null Update this code to be more in line with the Windows version. Previously, callers (such as nodejs) might assume it was always safe to de-reference this parameter: https://github.com/nodejs/node/blob/d2634be56258e2b957c1061c5f4d86792975bfa9/src/tcp_wrap.cc#L349 called from https://github.com/nodejs/node/blob/d2634be56258e2b957c1061c5f4d86792975bfa9/src/udp_wrap.cc#L567 I suspect this may have been unreachable, and that it was guaranteed by the kernel to be `>= sizeof(struct sockaddr)`, so this should be a NFC simplification. PR-URL: https://github.com/libuv/libuv/pull/2330 Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net>
show more ...
|
bee1bf5d | 08-Oct-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. PR-URL: https://github.com/libuv/libuv/pull/2480 Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net>
show more ...
|
038eacfb | 08-Oct-2019 |
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. It should fail less often (hopefully not at all) on the CI now. PR-URL: https://github.com/libuv/libuv/pull/2480 Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net>
show more ...
|
e83dba7f | 08-Oct-2019 |
David Carlier |
android: fix build PR-URL: https://github.com/libuv/libuv/pull/2486 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net> |
f261d04d | 08-Oct-2019 |
David Carlier |
android: enable getentropy on Android >= 28 PR-URL: https://github.com/libuv/libuv/pull/2486 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <s@sagh
android: enable getentropy on Android >= 28 PR-URL: https://github.com/libuv/libuv/pull/2486 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net>
show more ...
|
8b1e352f | 28-Sep-2019 |
ZYSzys |
build: remove duplicated test in build files Remove duplicated test-ip6-addr.c in cmake build file and gyp file. PR-URL: https://github.com/libuv/libuv/pull/2494 Reviewed-By
build: remove duplicated test in build files Remove duplicated test-ip6-addr.c in cmake build file and gyp file. PR-URL: https://github.com/libuv/libuv/pull/2494 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
d6b79ffb | 30-Sep-2019 |
cjihrig |
doc: improve uv_fs_readdir() cleanup docs When cleaning up after uv_fs_readdir(), it is important to call uv_fs_req_cleanup() on the readdir request prior to calling uv_fs_closedir()
doc: improve uv_fs_readdir() cleanup docs When cleaning up after uv_fs_readdir(), it is important to call uv_fs_req_cleanup() on the readdir request prior to calling uv_fs_closedir(), because the latter frees memory that the former needs in order to do its job. PR-URL: https://github.com/libuv/libuv/pull/2497 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
f47f01b5 | 29-Sep-2019 |
cjihrig |
test: fix order of operations in test In the fs_readdir_empty_dir test, the uv_fs_readdir() request is cleaned up after calling uv_fs_closedir(). However, the readdir request should
test: fix order of operations in test In the fs_readdir_empty_dir test, the uv_fs_readdir() request is cleaned up after calling uv_fs_closedir(). However, the readdir request should be cleaned up before calling uv_fs_closedir(). Fixes: https://github.com/libuv/libuv/issues/2496 PR-URL: https://github.com/libuv/libuv/pull/2497 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
645be48a | 27-Sep-2019 |
Ouyang Yadong |
unix: set sin_len and sin6_len FreeBSD defines `sin_len` and `sin6_len` inside `sockaddr_in` and `sockaddr_in6`. `sockaddr`s come from `getsockname` and `uv_ip4_addr` will differ in
unix: set sin_len and sin6_len FreeBSD defines `sin_len` and `sin6_len` inside `sockaddr_in` and `sockaddr_in6`. `sockaddr`s come from `getsockname` and `uv_ip4_addr` will differ in the first byte if libuv doesn't set `sin_len` correctly. PR-URL: https://github.com/libuv/libuv/pull/2492 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net>
show more ...
|
0ff717e3 | 25-Sep-2019 |
MaYuming |
build: fix build warning on cygwin Signed-off-by: MaYuming <maym@appexnetworks.com> PR-URL: https://github.com/libuv/libuv/pull/2489 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
build: fix build warning on cygwin Signed-off-by: MaYuming <maym@appexnetworks.com> PR-URL: https://github.com/libuv/libuv/pull/2489 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net>
show more ...
|
edbf2934 | 28-Sep-2019 |
Isabella Muerte <63051+slurps-mad-rips@users.noreply.github.com> |
build,cmake: don't try to detect a C++ compiler - Bump CMake version to 3.4 so we can eventually use all the cool things like better generator expression support, and `target_sources
build,cmake: don't try to detect a C++ compiler - Bump CMake version to 3.4 so we can eventually use all the cool things like better generator expression support, and `target_sources`, and also better MSVC runtime linkage support - Reorganize includes to be all in one place. - Rename libuv_buildtests option to LIBUV_BUILD_TESTS. It is disabled unless BUILD_TESTING is ON *and* libuv is the "root" project. This helps projects that might use libuv as a git submodule, or as a download that is then passed to `add_subdirectory`. Refs: https://github.com/libuv/libuv/pull/2490 PR-URL: https://github.com/libuv/libuv/pull/2495 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net>
show more ...
|
ae12376d | 08-Sep-2019 |
Jameson Nash |
fsevents: regression in watching / This case got lost by accident in https://github.com/libuv/libuv/pull/2082, preventing the realpath `/` from ever matching. Fixes: https:/
fsevents: regression in watching / This case got lost by accident in https://github.com/libuv/libuv/pull/2082, preventing the realpath `/` from ever matching. Fixes: https://github.com/nodejs/node/issues/28917 PR-URL: https://github.com/libuv/libuv/pull/2460 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net>
show more ...
|
97b85e8b | 07-Sep-2019 |
Jameson Nash |
fsevents: stop using fsevents to watch files Goes back to just using it to watch folders, but keeps the other logic changes around. Refs: https://github.com/libuv/libuv/pull/387
fsevents: stop using fsevents to watch files Goes back to just using it to watch folders, but keeps the other logic changes around. Refs: https://github.com/libuv/libuv/pull/387 Refs: https://github.com/libuv/libuv/pull/2082 Refs: https://github.com/libuv/libuv/pull/1572 Refs: https://github.com/nodejs/node/issues/29460 Fixes: https://github.com/libuv/libuv/issues/2488 Closes: https://github.com/libuv/libuv/pull/2452 PR-URL: https://github.com/libuv/libuv/pull/2459 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net>
show more ...
|
501b5cc5 | 16-Sep-2019 |
Calvin Hill |
fs: use statvfs in uv__fs_statfs() for Haiku PR-URL: https://github.com/libuv/libuv/pull/2477 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.
fs: use statvfs in uv__fs_statfs() for Haiku PR-URL: https://github.com/libuv/libuv/pull/2477 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net>
show more ...
|
123e3bd7 | 28-Aug-2019 |
Andrew Paprocki |
build: Add link for test/fixtures/lorem_ipsum.txt Test `test-fs.c` fails when built in a relocated directory because the build does link the required test fixture. PR-URL: https
build: Add link for test/fixtures/lorem_ipsum.txt Test `test-fs.c` fails when built in a relocated directory because the build does link the required test fixture. PR-URL: https://github.com/libuv/libuv/pull/2444 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net> Reviewed-By: Jameson Nash <vtjnash+github@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
2140e2c0 | 08-Sep-2019 |
Crunkle |
win,mingw: Fix undefined MCAST_* constants Fixes: https://github.com/libuv/libuv/issues/2464 Refs: https://github.com/libuv/libuv/pull/2471 PR-URL: https://github.com/libuv/libuv/pul
win,mingw: Fix undefined MCAST_* constants Fixes: https://github.com/libuv/libuv/issues/2464 Refs: https://github.com/libuv/libuv/pull/2471 PR-URL: https://github.com/libuv/libuv/pull/2461 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net>
show more ...
|
59146f2f | 07-Sep-2019 |
David Carlier |
unix: fix {Net,Open}BSD build Mainly disabling source membership for udp feature, unsupported. PR-URL: https://github.com/libuv/libuv/pull/2458 Reviewed-By: Colin Ihrig <cjihrig
unix: fix {Net,Open}BSD build Mainly disabling source membership for udp feature, unsupported. PR-URL: https://github.com/libuv/libuv/pull/2458 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net>
show more ...
|
50130422 | 16-Sep-2019 |
erw7 |
win, tty: fix problem of receiving unexpected SIGWINCH Fix an issue where WINDOWS_BUFFER_SIZE_EVENT occurs and unexpected SIGWINCH is received before calling uv__tty_console_resize_m
win, tty: fix problem of receiving unexpected SIGWINCH Fix an issue where WINDOWS_BUFFER_SIZE_EVENT occurs and unexpected SIGWINCH is received before calling uv__tty_console_resize_message_loop_thread. Refs: https://github.com/neovim/neovim/pull/10978#issuecomment-530742148 PR-URL: https://github.com/libuv/libuv/pull/2478 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net>
show more ...
|