Commit Graph

21 Commits

Author SHA1 Message Date
Santiago Gimeno
1cfa32ff59 2026.03.06, Version 1.52.1 (Stable)
Changes since version 1.52.0:

* misc: add simple clang-tidy setup (Jameson Nash)

* unix: check RLIMIT_AS and RLIMIT_DATA in uv_get_constrained_memory
  (Jameson Nash)

* win: add fs-fd-hash-inl.h to tarball (tobil4sk)

* unix,win: support NULL loop for sync uv_getaddrinfo (Saúl Ibarra
  Corretgé)

* Fix const-correctness warning in linux.c (Quaylyn Rimer)

* build(deps): bump actions/upload-artifact from 6 to 7
  (dependabot[bot])

* build(deps): bump actions/download-artifact from 7 to 8
  (dependabot[bot])

* unix: fix compilation warnings with GCC 15 (Saúl Ibarra Corretgé)

* test: remove conditionals from `uv_thread_self` usage (Yasser
  Nascimento)

* unix: fix discard const (Rudi Heitbaum)

* unix: do not cast to char variables that are const char (Rudi
  Heitbaum)

* linux: fix crash if poll callback closes handle before `POLLERR` (Juan
  José Arboleda)
2026-03-06 21:29:19 +01:00
cjihrig
b556c0629d
2026.02.11, Version 1.52.0 (Stable)
Changes since version 1.51.0:

* src: remove unused include of <assert.h> in timer.c (Juan José
  Arboleda)

* test: skip `udp_multicast_join` if not system-wide available (Juan
  José Arboleda)

* test: remove unused include of <limits.h> in runner.h (Juan José
  Arboleda)

* doc: don't mention UV_LOOP_ENABLE_IO_URING_SQPOLL (Poul T Lomholt)

* unix: fix uv_thread_{get,set}priority error codes (Ryan Liptak)

* build: dedup sanitizer jobs using matrix strategy (Juan José Arboleda)

* doc: update ncurses link (Saúl Ibarra Corretgé)

* tcp: support customizing TCP_KEEPINTVL and TCP_KEEPCNT (Andy Pan)

* linux: fix -Wformat-truncation warning (Ben Noordhuis)

* src: fix nullptr dereference in uv__print_handles (jhnh204)

* build: make automake link libm on bsd-likes (Juan José Arboleda)

* include: remove unused macro undefs from uv.h (Juan José Arboleda)

* win: handle empty string in uv_get_process_title (Ben Noordhuis)

* win: use WSA_FLAG_NO_HANDLE_INHERIT in WSASocketW (chemodax)

* unix: handle possible `ENOMEM` in `uv__tcp_listen` (Juan José
  Arboleda)

* win: replace GetModuleHandleA with GetModuleHandleW (chemodax)

* qnx: add qnx 8 support (Deep C)

* mailmap: update email address for Richard Lau (Richard Lau)

* win: remove obsolete comment (Ben Noordhuis)

* unix: handle possible `ENOMEM` in `uv__pipe_listen` (Juan José
  Arboleda)

* unix: deduplicate uv_free_interface_addresses (Juan José Arboleda)

* test: pass correct string type to GetModuleHandleW (Ben Noordhuis)

* win: remove unnecessary inlining from fs.c (Ben Noordhuis)

* win: move uv__process_reqs to core.c (Ben Noordhuis)

* win: remove unnecessary inlining from header file (Ben Noordhuis)

* test: skip slow process title test on asan+macos (Ben Noordhuis)

* win: dissolve atomicops-inl.h (Ben Noordhuis)

* win: move uv__process_endgames to core.c (Ben Noordhuis)

* win: move uv__insert_pending_req to core.c (Ben Noordhuis)

* win: replace inline asm with compiler intrinsic (Ben Noordhuis)

* win,pipe: minimal fix to uv_read_cb->uv_read_start recursion bug
  (Jameson Nash)

* doc: make requirements work with newer python (Luca Saccarola)

* win: fix -Wcast-function-type warnings in winapi.c (Ben Noordhuis)

* win: fix -Wsign-compare warnings (Ben Noordhuis)

* test: simplify ASSERT_OK macro for static analysis (Jameson Nash)

* win: add arm64 machine type to uv_os_uname (wisemanny)

* win: use ProcessPrng (Ben Noordhuis)

* win: work around wine bug in uv_fs_{unlink,rmdir} (Keno Fischer)

* doc: fix return value for uv_pipe_connect2 (Sean Dewar)

* unix: fix udp sendmmsg fallback path (Ben Noordhuis)

* doc: add binding `C framework` uv_coroutine to LINKS.md (Lawrence
  Stubbs)

* linux: handle cgroups cpu.max with limit < period (Ben Noordhuis)

* doc: update link, repo name change to c-asio (Lawrence Stubbs)

* build(deps): bump actions/download-artifact from 4 to 5
  (dependabot[bot])

* doc: remove nodeuv from LINKS.md (Ben Noordhuis)

* test: use relative paths for pipes and unix sockets (Emily)

* build(deps): bump actions/checkout from 4 to 5 (dependabot[bot])

* unix: improve uv__cpu_relax() on arm (Anton Kirilov)

* win: fix compiler warnings (Savas Sahin)

* unix: replace uv__io_t callback pointer with enum (Ben Noordhuis)

* test,win: fix -Wunused-function warnings (Ben Noordhuis)

* test,win: fix -Wcast-function-type warnings (Ben Noordhuis)

* test,win: fix -Wattributes warnings (Ben Noordhuis)

* win: shrink fd hash table from 2592k to 162k (Ben Noordhuis)

* unix: fix build on the bsds (Ben Noordhuis)

* netbsd: fix thread affinity compilation error (Santiago Gimeno)

* unix: remove UV__SIGNAL_EVENT dispatch from uv__io_cb (Juan José
  Arboleda)

* build: add -Werror when testing -Wflags (Jameson Nash)

* win: fix path size calculation (Ben Noordhuis)

* doc: correct uv_cancel return value (m0cg)

* unix,win: look up UV_THREADPOOL_SIZE with uv_os_getenv (moe li)

* build(deps): bump actions/setup-python from 5 to 6 (dependabot[bot])

* unix: fix uv__signal_loop_cleanup call in init (Jameson Nash)

* aix: fix nullptr check in uv__skip_lines (Ben Noordhuis)

* unix: add neoverse-v2 cpu identifier (green-br)

* test: make `thread_priority` robust against system default nice levels

 (Juan José Arboleda)

* unix,win: implement `uv_udp_open_ex` (Juan José Arboleda)

* aix: add stub function to satisfy linker (Ben Noordhuis)

* linux: add MSG_ERRQUEUE ipv4/ipv6 udp support (Juan José Arboleda)

* ibmi: add stub function to satisfy linker (Ben Noordhuis)

* darwin: better heuristic for available memory (Christian Guinard)

* build(deps): bump actions/download-artifact from 5 to 6
  (dependabot[bot])

* build(deps): bump actions/upload-artifact from 4 to 5
  (dependabot[bot])

* unix: fix use of uninitialized variable (Ben Noordhuis)

* doc: fix documentation for uv_utf16_to_wtf8() function (Gang Zhuo)

* win: rename minimal_windows10_version1709() for libuv's convention
  (Andy Pan)

* build(deps): bump actions/checkout from 5 to 6 (dependabot[bot])

* win: fix race in uv_fs_event_start() (Ben Noordhuis)

* unix: support nanosecond resolution in uv__fs_to_timespec (Ayush
  Kumar)

* win: handle sshfs-win quirk in uv_fs_readdir() (Ben Noordhuis)

* unix,win: fix leak in uv_os_environ error path (Ambuj Vashistha)

* test: add macros to run fs tests with io_uring (Santiago Gimeno)

* linux: fix uv_fs_ftruncate io_uring implementation (Santiago Gimeno)

* Update OS X reference to macOS in README (Bart Louwers)

* ci: update macos runner images (Ben Noordhuis)

* doc: add example usage for uv_sleep (Kartik Puri)

* ci: add macos-15-intel to matrix (Ben Noordhuis)

* win: Optimize file/directory delete. (chemodax)

* build(deps): bump actions/download-artifact from 6 to 7
  (dependabot[bot])

* build(deps): bump actions/upload-artifact from 5 to 6
  (dependabot[bot])

* test: run more fs tests using io_uring too (Santiago Gimeno)

* doc: add handle and request usage guidelines (Ben Noordhuis)

* unix: remove handle from queue on uv_spawn() error (Oblivionsage)

* doc: remove hp-ux from supported platforms list (Ben Noordhuis)

* unix,win: add f_frsize field to uv_statfs_t (Ben Noordhuis)

* test: fix -Wuninitialized-const-pointer warning (Ben Noordhuis)

* test: fix -Wstringop-overread warning (Ben Noordhuis)

* test: make pty test work under asan (Ben Noordhuis)

* win: readlink support for IO_REPARSE_TAG_LX_SYMLINK (Cody Tapscott)

* unix: fix partial read handling after POLLHUP (Ben Noordhuis)

* unix: factor out common i/o poll code (Ben Noordhuis)

* test: disable udp_reuseport test under qemu (Ben Noordhuis)

* test: disable tcp_reuseport test under qemu (Ben Noordhuis)

* unix,win: check nbufs argument is reasonable (Ben Noordhuis)

* win: refactor to support large statfs blocks (Santiago Gimeno)

* unix: remove sunpro references (Ben Noordhuis)

* idna: fix assert in wtf8_to_utf16 conversion (tobil4sk)

* aix,ibmi: fix test suite build breakage (Ben Noordhuis)

* unix: implement cpu_relax() for riscv64 (Han Gao)

* doc: add setuid warning to uv_exepath (Ben Noordhuis)

* unix: make OpenBSD uv_exepath work (mischief)

* win: fix uv_get_process_title (StefanStojanovic)

* unix,udp: fix -Wgnu-folding-constant warning (Saúl Ibarra Corretgé)

* cmake: add libuvConfigVersion.cmake file (Przemysław Sobala)
2026-02-10 20:57:16 -05:00
Jameson Nash
c6330d9655
build: add -Werror when testing -Wflags (#4831)
Without -Werror=unknown-warning-option, these conditional argument
additions would not work as intended on clang.
2025-08-27 13:37:04 -04:00
Jameson Nash
0c1fa696aa 2022.07.12, Version 1.44.2 (Stable)
Changes since version 1.44.1:

* Add SHA to ChangeLog (Jameson Nash)

* aix, ibmi: handle server hang when remote sends TCP RST (V-for-Vasili)

* build: make CI a bit noisier (Jameson Nash)

* process: reset the signal mask if the fork fails (Jameson Nash)

* zos: implement cmpxchgi() using assembly (Shuowang (Wayne) Zhang)

* build: AC_SUBST for AM_CFLAGS (Claes Nästén)

* ibmi: Implement UDP disconnect (V-for-Vasili)

* doc: update active maintainers list (Ben Noordhuis)

* build: fix kFreeBSD build (James McCoy)

* build: remove Windows 2016 workflows (Darshan Sen)

* Revert "win,errors: remap ERROR_ACCESS_DENIED to UV_EACCES" (Darshan
  Sen)

* unix: simplify getpwuid call (Jameson Nash)

* build: filter CI by paths and branches (Jameson Nash)

* build: add iOS to macos CI (Jameson Nash)

* build: re-enable CI for windows changes (Jameson Nash)

* process,iOS: fix build breakage in process.c (Denny C. Dai)

* test: remove unused declarations in tcp_rst test (V-for-Vasili)

* core: add thread-safe strtok implementation (Guilherme Íscaro)

* win: fix incompatible-types warning (twosee)

* test: fix flaky file watcher test (Ben Noordhuis)

* build: fix AIX xlc autotools build (V-for-Vasili)

* unix,win: fix UV_RUN_ONCE + uv_idle_stop loop hang (Ben Noordhuis)

* win: fix unexpected ECONNRESET error on TCP socket (twosee)

* doc: make sample cross-platform build (gengjiawen)

* test: separate some static variables by test cases (Hannah Shi)

* sunos: fs-event callback can be called after uv_close() (Andy
  Fiddaman)

* uv: re-register interest in a file after change (Shuowang (Wayne)
  Zhang)

* uv: register UV_RENAME event for _RFIM_UNLINK (Shuowang (Wayne) Zhang)

* uv: register __rfim_event 156 as UV_RENAME (Shuowang (Wayne) Zhang)

* doc: remove smartos from supported platforms (Ben Noordhuis)

* macos: avoid posix_spawnp() cwd bug (Jameson Nash)

* release: check versions of autogen scripts are newer (Jameson Nash)

* test: rewrite embed test (Ben Noordhuis)

* openbsd: use utimensat instead of lutimes (tuftedocelot)

* doc: fix link to uvwget example main() function (blogdaren)

* unix: use MSG_CMSG_CLOEXEC where supported (Ben Noordhuis)

* test: remove disabled callback_order test (Ben Noordhuis)

* win,pipe: fix bugs with pipe resource lifetime management (Jameson
  Nash)

* loop: better align order-of-events behavior between platforms (Jameson
  Nash)

* aix,test: uv_backend_fd is not supported by poll (V-for-Vasili)

* kqueue: skip EVFILT_PROC when invalidating fds (chucksilvers)

* darwin: fix atomic-ops.h ppc64 build (Sergey Fedorov)

* zos: don't err when killing a zombie process (Shuowang (Wayne) Zhang)

* zos: avoid fs event callbacks after uv_close() (Shuowang (Wayne)
  Zhang)

* zos: correctly format interface addresses names (Shuowang (Wayne)
  Zhang)

* zos: add uv_interface_addresses() netmask support (Shuowang (Wayne)
  Zhang)

* zos: improve memory management of ip addresses (Shuowang (Wayne)
  Zhang)

* tcp,pipe: fail `bind` or `listen` after `close` (theanarkh)

* zos: implement uv_available_parallelism() (Shuowang (Wayne) Zhang)

* udp,win: fix UDP compiler warning (Jameson Nash)

* zos: fix early exit of epoll_wait() (Shuowang (Wayne) Zhang)

* unix,tcp: fix errno handling in uv__tcp_bind() (Samuel Cabrero)

* shutdown,unix: reduce code duplication (Jameson Nash)

* unix: fix c99 comments (Ben Noordhuis)

* unix: retry tcgetattr/tcsetattr() on EINTR (Ben Noordhuis)

* docs: update introduction.rst (Ikko Ashimine)

* unix,stream: optimize uv_shutdown() codepath (Jameson Nash)

* zos: delay signal handling until after normal i/o (Shuowang (Wayne)
  Zhang)

* stream: uv__drain() always needs to stop POLLOUT (Jameson Nash)

* unix,tcp: allow EINVAL errno from setsockopt in uv_tcp_close_reset()
  (Stacey Marshall)

* win,shutdown: improve how shutdown is dispatched (Jameson Nash)
2022-07-12 12:16:33 -04:00
Jameson Nash
9e59aa1bc8
release: check versions of autogen scripts are newer (#3554)
Use libtoolize --force to ensure it updates m4 directory with the
latest files. Add an option "release" to the autogen.sh script that
checks the versions of the input tools, so that we know they are always
using the latest version for each release.
2022-04-19 11:16:25 -04:00
V-for-Vasili
7233c428ec
build: fix AIX xlc autotools build (#3588) 2022-04-06 13:07:05 +01:00
Claes Nästén
739e441d4d
build: AC_SUBST for AM_CFLAGS (#3551)
Using autoconf 2.71 and automake 1.16.5 the CFLAGS from
CC_CHECK_CFLAGS_APPEND does not get set in the Makefile without AC_SUBST
causing compilation to fail on Solaris due to missing -std=gnu89
2022-03-15 13:51:00 +01:00
Jameson Nash
930af43437
build: rename CFLAGS to AM_CFLAGS (#3431)
The CFLAGS variable is reserved and should never be set:
https://www.gnu.org/software/automake/manual/html_node/User-Variables.html
2022-01-31 16:50:32 -05:00
Ben Noordhuis
20756b1a9f build: don't .gitignore m4/ax_pthread.m4
It was reported that the addition of that file without adding an
exception to m4/.gitignore breaks the tarball autotools build because
the file isn't distributed.

Fixes: https://github.com/libuv/libuv/issues/2862
PR-URL: https://github.com/libuv/libuv/pull/2885
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
2020-06-16 11:46:14 +02:00
Jeroen Roovers
b4fe4f6ad9
build: check for libraries not provided by libc
Using AC_CHECK_LIB ignores symbols already provided by
other libraries, or in other words it links libuv against
libraries that it does not need.

Attempts to remove specific libraries were met with arguments
that older libc versions would still require them.[0]

Fix this by using AC_SEARCH_LIBS instead of AC_CHECK_LIB while
using AX_PTHREAD for POSIX threads.

[0] E.g. https://github.com/libuv/libuv/pull/2493

PR-URL: https://github.com/libuv/libuv/pull/2823
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2020-05-17 09:16:13 -04:00
Jérémy Lal
13ba902cf3
build: fix utf-8 name of copyright holder
PR-URL: https://github.com/libuv/libuv/pull/1817
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2018-04-29 05:34:42 -04:00
Ben Noordhuis
cb5140023b build: remove dtrace probes
The existing probes, all two of them, cause a great deal of pain for
people trying to build libuv on Linux because of SystemTap's dtrace(1)
utilitity not understanding the -xnolibs flag.

We could hack around that but it's easier to just remove the probes:
they are largely useless and unused while still needing a lot of
supporting infrastructure.  This commit removes 200 lines of code
and configuration.

Refs joyent/libuv#1478.
2014-11-10 20:12:50 -03:00
Recep ASLANTAS
ffa432451d ignore: include m4 files which are created manually 2014-09-17 22:51:04 +02:00
Recep ASLANTAS
facf595cad build: add m4 for feature/flag-testing 2014-09-17 22:50:55 +02:00
Norio Kobota
1759781c90 build: fix building with old versions of autoconf 2014-04-10 10:48:55 +02:00
Fedor Indutny
1d42b3ce7c Revert "build: enable all compiler warnings"
This reverts commit f75bb7c337.

We need to figure out all those warnings before reapplying this patch.
2014-04-05 21:31:32 +04:00
Ben Noordhuis
f75bb7c337 build: enable all compiler warnings 2014-04-04 23:11:23 +04:00
Saúl Ibarra Corretgé
515be33909 build: fix compilation warning if dtrace doesn't work
Check if dtrace should instrument object files only if dtrace
support is detected to work
2014-02-26 09:45:44 +01:00
Timothy J Fontaine
3310ff4a9e build: update dtrace m4 check for sunos
The check to see if -G is needed for dtrace requires a bit more effort,
make a header, c file, and object file.
2014-02-18 07:31:05 -08:00
Timothy J Fontaine
2f3124a8c1 build: add DTrace detection for autotools 2013-07-03 16:04:01 -07:00
Ben Noordhuis
ddd7e04fd6 build: switch to autotools
Switch to the build tool everyone loves to hate.  The Makefile has
served us well over the years but it's been acquiring more and more
features that autotools gives us for free, like easy static+shared
library building, sane install targets, and so on.

This commit drops MinGW support.  If there is demand for it, we'll
re-add it.
2013-07-02 01:21:16 +02:00