ec5a4b54 | 16-Dec-2024 |
Saúl Ibarra Corretgé |
win: fix leak processing fs event Fixes: https://github.com/libuv/libuv/pull/4376#issuecomment-2544728609 |
beebf02c | 16-Dec-2024 |
Juan José Arboleda |
test: fix udp-multicast-join for FreeBSD (#4655) Fixes: https://github.com/libuv/libuv/issues/4651 Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com> |
a94f2ad2 | 23-Nov-2024 |
Juan José Arboleda |
build: enable fdsan in Android This patch will update Android API in CI to 29 and will set up the fdsan in the test runner. Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail
build: enable fdsan in Android This patch will update Android API in CI to 29 and will set up the fdsan in the test runner. Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com> Fixes: https://github.com/libuv/libuv/issues/4369
show more ...
|
3d78d121 | 15-Dec-2024 |
Juan José Arboleda |
test: fix flaky flaky udp_mmsg test (#4652) Replace comparison of `alloc_cb_called` with the total bytes read (`bytes_read`) to validate the test's correctness. Fixes: https://g
test: fix flaky flaky udp_mmsg test (#4652) Replace comparison of `alloc_cb_called` with the total bytes read (`bytes_read`) to validate the test's correctness. Fixes: https://github.com/libuv/libuv/issues/4650 Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com>
show more ...
|
e8969bff | 10-Dec-2024 |
Ben Noordhuis |
unix,win: add uv_udp_try_send2 Add a version of uv_udp_try_send that can send multiple datagrams. Uses sendmmsg(2) on platforms that support it (Linux, FreeBSD, macOS), falls ba
unix,win: add uv_udp_try_send2 Add a version of uv_udp_try_send that can send multiple datagrams. Uses sendmmsg(2) on platforms that support it (Linux, FreeBSD, macOS), falls back to a regular sendmsg(2) loop elsewhere. This work was sponsored by ISC, the Internet Systems Consortium.
show more ...
|
7b4cf04a | 10-Dec-2024 |
Ben Noordhuis |
unix: refactor udp sendmsg code Shuffle around and DRY the sendmsg logic in preparation for uv_udp_try_send2(). NFC barring bugs. This work was sponsored by ISC, the Internet Sy
unix: refactor udp sendmsg code Shuffle around and DRY the sendmsg logic in preparation for uv_udp_try_send2(). NFC barring bugs. This work was sponsored by ISC, the Internet Systems Consortium.
show more ...
|
acebb974 | 13-Dec-2024 |
Juan José Arboleda |
test: address FreeBSD kernel bug causing NULL path in fsevents (#4649) This commit documents a FreeBSD kernel issue where uv_fs_event can receive a NULL filename and updates test-fs-even
test: address FreeBSD kernel bug causing NULL path in fsevents (#4649) This commit documents a FreeBSD kernel issue where uv_fs_event can receive a NULL filename and updates test-fs-event.c to skip filename assertions on FreeBSD. * Bugzilla: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197695 Refs: https://github.com/libuv/libuv/issues/4606 Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com>
show more ...
|
88201044 | 12-Dec-2024 |
amcgoogan <105525867+amcgoogan@users.noreply.github.com> |
win: plug uv_fs_event_start memory leak (#4647) Co-authored-by: Andrew McGoogan <amcgoogan@cribl.io> Fixes: https://github.com/nodejs/node/issues/52769 |
72d9abcc | 12-Dec-2024 |
Jameson Nash |
win,fs: get (most) fstat when no permission (#4566) Replaces: https://github.com/libuv/libuv/pull/4504 Fixes: https://github.com/libuv/libuv/issues/1980 Fixes: https://github.com/lib
win,fs: get (most) fstat when no permission (#4566) Replaces: https://github.com/libuv/libuv/pull/4504 Fixes: https://github.com/libuv/libuv/issues/1980 Fixes: https://github.com/libuv/libuv/issues/3267 Co-authored-by: Hüseyin Açacak <huseyin@janeasystems.com>
show more ...
|
16e6e84d | 12-Dec-2024 |
Saúl Ibarra Corretgé |
win: drop support for the legacy MinGW (#4645) The OG MinGW has been dead for years, MinGW-w64 has taken its place. |
7752218d | 12-Dec-2024 |
Saúl Ibarra Corretgé |
fixup! |
88baee1a | 12-Dec-2024 |
Saúl Ibarra Corretgé |
fixup! |
264bb335 | 12-Dec-2024 |
Saúl Ibarra Corretgé |
win: enable uv_thread_{get,set}name on MinGW It supports the API: https://github.com/mirror/mingw-w64/blob/93f3505a758fe70e56678f00e753af3bc4f640bb/mingw-w64-headers/include/processthreadsap
win: enable uv_thread_{get,set}name on MinGW It supports the API: https://github.com/mirror/mingw-w64/blob/93f3505a758fe70e56678f00e753af3bc4f640bb/mingw-w64-headers/include/processthreadsapi.h#L358
show more ...
|
6af08fb5 | 30-Nov-2022 |
Saúl Ibarra Corretgé |
win: use GetQueuedCompletionStatusEx directly It was introduced in Vista, so we can assume it's always there now. |
2494c088 | 09-Dec-2024 |
Ben Noordhuis |
unix,win: handle nbufs=0 in uv_udp_try_send (#4641) |
467859c2 | 08-Dec-2024 |
Ben Noordhuis |
doc: clarify repeating timer behavior more (#4640) It was already documented but only in the uv_timer_set_repeat section. Move it to the toplevel and flesh it out more. Refs: ht
doc: clarify repeating timer behavior more (#4640) It was already documented but only in the uv_timer_set_repeat section. Move it to the toplevel and flesh it out more. Refs: https://github.com/libuv/libuv/issues/181 Refs: https://github.com/libuv/libuv/discussions/4639
show more ...
|
69bad820 | 05-Dec-2024 |
Ben Noordhuis |
linux: always use io_uring for epoll batching (#4638) io_uring support was default-disabled because of numerous kernel bugs but those are all in the sqpoll (file i/o) parts of io_uring.
linux: always use io_uring for epoll batching (#4638) io_uring support was default-disabled because of numerous kernel bugs but those are all in the sqpoll (file i/o) parts of io_uring. Batching of epoll_ctl calls through io_uring works fine, is a nice optimization, and is therefore unconditionally enabled again. The UV_USE_IO_URING environment variable now only affects sqpoll, and only when the UV_LOOP_ENABLE_IO_URING_SQPOLL event loop flag is set. Fixes: https://github.com/libuv/libuv/issues/4616
show more ...
|
c431bc39 | 02-Dec-2024 |
Ben Noordhuis |
linux: fix uv_cpu_info() arm cpu model detection (#4633) Libuv looks for "Processor" in /proc/cpuinfo but it's been reported that on at least some Raspberry Pi models, it's called "model
linux: fix uv_cpu_info() arm cpu model detection (#4633) Libuv looks for "Processor" in /proc/cpuinfo but it's been reported that on at least some Raspberry Pi models, it's called "model name". Look for both. Fixes: https://github.com/nodejs/node/issues/56105
show more ...
|
14644080 | 28-Nov-2024 |
Ben Noordhuis |
win: drop support for windows 8 (#4624) Fixes: https://github.com/libuv/libuv/issues/3889 |
3d0578e6 | 28-Nov-2024 |
Ben Noordhuis |
build: fix qemu builds (#4630) Upgrade GHA image to Ubuntu 24.04 and use the distro-provided qemu. It should not be necessary anymore to install qemu from .deb because the stock
build: fix qemu builds (#4630) Upgrade GHA image to Ubuntu 24.04 and use the distro-provided qemu. It should not be necessary anymore to install qemu from .deb because the stock qemu is new enough in 24.04.
show more ...
|
61c966cf | 27-Nov-2024 |
Santiago Gimeno |
src: add uv_thread_set/getname() methods (#4599) `uv_thread_setname()` sets the name of the current thread. Different platforms define different limits on the max number of characters
src: add uv_thread_set/getname() methods (#4599) `uv_thread_setname()` sets the name of the current thread. Different platforms define different limits on the max number of characters a thread name can be: Linux, IBMi (16), macOS (64), Windows (32767), and NetBSD (32), etc. `uv_thread_setname()` will truncate it in case `name` is larger than the limit of the platform. `uv_thread_getname()` gets the name of the thread specified by `tid`. The thread name is copied into the buffer pointed to by `name`. The `size` parameter specifies the size of the buffer pointed to by `name`. The buffer should be large enough to hold the name of the thread plus the trailing NUL, or it will be truncated to fit.
show more ...
|
b7d07d78 | 26-Nov-2024 |
Ben Noordhuis |
Revert "kqueue: change EV_OOBAND to EVFILT_EXCEPT+NOTE_OOB (#4597)" (#4623) Unsupported on FreeBSD, breaking the build. This reverts commit b1d30f9489771a295c1d9b06402e49a77b3e91e6. |
556a0f1f | 26-Nov-2024 |
Juan José Arboleda |
unix,win: add support for detached threads (#4621) This commit introduces the `uv_thread_detach` for thread detaching, allowing threads to be detached state on both UNIX and Windows plat
unix,win: add support for detached threads (#4621) This commit introduces the `uv_thread_detach` for thread detaching, allowing threads to be detached state on both UNIX and Windows platforms. Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com>
show more ...
|
b1d30f94 | 25-Nov-2024 |
Juan José Arboleda |
kqueue: change EV_OOBAND to EVFILT_EXCEPT+NOTE_OOB (#4597) Fixes: https://github.com/libuv/libuv/issues/3947 Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com> |
c6d43bea | 25-Nov-2024 |
Saúl Ibarra Corretgé |
unix,win: harmonize buffer checking For any API that takes a buffer and size pointer, check both pointers and the pointed-to size and return UV_EINVAL in case of error. Example:
unix,win: harmonize buffer checking For any API that takes a buffer and size pointer, check both pointers and the pointed-to size and return UV_EINVAL in case of error. Example: ``` int uv_foo(char* buffer, size_t* size) { if (buffer == NULL || size == NULL || *size == 0) return UV_EINVAL; ... } ``` In order to "peek" the necessary size for dynamic allocation, the following pattern can be used: ``` char *buf; char scratch[1]; size_t len = sizeof(scratch); int r; r = uv_foo(scratch, &len); assert(r == UV_ENOBUFS); buf = malloc(len); r = uv_foo(buf, &len); ... ```
show more ...
|