Skip to content

Commit bfb3c62

Browse files
santigimenoaduh95
authored andcommitted
deps: update libuv to 1.49.1
Refs: https://github.com/libuv/libuv/releases/tag/v1.49.1 PR-URL: #55114 Refs: https://github.com/libuv/libuv/releases/tag/v1.49.0 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent eb2fab3 commit bfb3c62

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+3598
-1303
lines changed

deps/uv/.mailmap

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Aaron Bieber <qbit@deftly.net> <deftly@gmail.com>
44
Alan Gutierrez <alan@prettyrobots.com> <alan@blogometer.com>
55
Andrius Bentkus <andrius.bentkus@gmail.com> <toxedvirus@gmail.com>
66
Andy Fiddaman <andy@omniosce.org> <omnios@citrus-it.co.uk>
7+
Andy Pan <panjf2000@gmail.com> <i@andypan.me>
78
Bert Belder <bertbelder@gmail.com> <i@bertbelder.com>
89
Bert Belder <bertbelder@gmail.com> <info@2bs.nl>
910
Bert Belder <bertbelder@gmail.com> <user@ChrUbuntu.(none)>
@@ -18,6 +19,7 @@ David Carlier <devnexen@gmail.com>
1819
Devchandra Meetei Leishangthem <dlmeetei@gmail.com>
1920
Fedor Indutny <fedor.indutny@gmail.com> <fedor@indutny.com>
2021
Frank Denis <github@pureftpd.org>
22+
Hüseyin Açacak <110401522+huseyinacacak-janea@users.noreply.github.com> <huseyin@janeasystems.com>
2123
Imran Iqbal <imrani@ca.ibm.com> <imran@imraniqbal.org>
2224
Isaac Z. Schlueter <i@izs.me>
2325
Jason Williams <necmon@yahoo.com>
@@ -37,6 +39,7 @@ Michael Neumann <mneumann@think.localnet> <mneumann@ntecs.de>
3739
Michael Penick <michael.penick@datastax.com> <mpenick@users.noreply.github.com>
3840
Nicholas Vavilov <vvnicholas@gmail.com>
3941
Nick Logan <ugexe@cpan.org> <nlogan@gmail.com>
42+
Olivier Valentin <ovalenti@redhat.com> <valentio@free.fr>
4043
Rasmus Christian Pedersen <zerhacken@yahoo.com>
4144
Rasmus Christian Pedersen <zerhacken@yahoo.com> <ruysch@outlook.com>
4245
Richard Lau <rlau@redhat.com> <riclau@uk.ibm.com>
@@ -47,8 +50,8 @@ Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
4750
Sam Roberts <vieuxtech@gmail.com> <sam@strongloop.com>
4851
San-Tai Hsu <vanilla@fatpipi.com>
4952
Santiago Gimeno <santiago.gimeno@quantion.es> <santiago.gimeno@gmail.com>
50-
Saúl Ibarra Corretgé <saghul@gmail.com>
51-
Saúl Ibarra Corretgé <saghul@gmail.com> <s@saghul.net>
53+
Saúl Ibarra Corretgé <s@saghul.net>
54+
Saúl Ibarra Corretgé <s@saghul.net> <saghul@gmail.com>
5255
Shigeki Ohtsu <ohtsu@iij.ad.jp> <ohtsu@ohtsu.org>
5356
Shuowang (Wayne) Zhang <shuowang.zhang@ibm.com>
5457
TK-one <tk5641@naver.com>

deps/uv/AUTHORS

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,3 +567,24 @@ Ardi Nugraha <33378542+ardi-nugraha@users.noreply.github.com>
567567
Anton Bachin <antonbachin@yahoo.com>
568568
Trevor Flynn <trevorflynn@liquidcrystalstudios.com>
569569
Andy Pan <panjf2000@gmail.com>
570+
Viacheslav Muravyev <slavamuravey@mail.ru>
571+
Anthony Alayo <anthony.alayo@gmail.com>
572+
Thomas Walter <31201229+waltoss@users.noreply.github.com>
573+
hiiizxf <385122613@qq.com>
574+
Geddy <guandichao@163.com>
575+
Farzin Monsef <monseffarzin@gmail.com>
576+
tgolang <154592711+tgolang@users.noreply.github.com>
577+
josedelinux <josedelinux@hotmail.com>
578+
Hüseyin Açacak <110401522+huseyinacacak-janea@users.noreply.github.com>
579+
Uilian Ries <uilianries@gmail.com>
580+
Olivier Valentin <ovalenti@redhat.com>
581+
郑苏波 (Super Zheng) <superzheng@tencent.com>
582+
zeertzjq <zeertzjq@outlook.com>
583+
Ian Butterworth <i.r.butterworth@gmail.com>
584+
握猫猫 <164346864@qq.com>
585+
Zuohui Yang <274048862@qq.com>
586+
Edigleysson Silva (Edy) <edigleyssonsilva@gmail.com>
587+
Raihaan Shouhell <raihaanhimself@gmail.com>
588+
Rialbat <miha-wead@mail.ru>
589+
Adam <adam@NetBSD.org>
590+
Poul T Lomholt <ptlomholt@users.noreply.github.com>

deps/uv/CMakeLists.txt

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,20 @@ if(TSAN)
8181
endif()
8282

8383
if(UBSAN)
84+
cmake_minimum_required(VERSION 3.13)
8485
list(APPEND uv_defines __UBSAN__=1)
8586
if(CMAKE_C_COMPILER_ID MATCHES "AppleClang|GNU|Clang")
86-
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-omit-frame-pointer -fsanitize=undefined")
87-
set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -fno-omit-frame-pointer -fsanitize=undefined")
88-
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fno-omit-frame-pointer -fsanitize=undefined")
89-
elseif(MSVC)
90-
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /fsanitize=undefined")
87+
add_compile_options("-fsanitize=undefined" "-fno-sanitize-recover=undefined")
88+
if (NOT WIN32)
89+
add_link_options("-fsanitize=undefined")
90+
endif()
91+
if(MSVC)
92+
add_compile_options("/Oy-")
93+
else()
94+
add_compile_options("-fno-omit-frame-pointer")
95+
endif()
9196
else()
92-
message(SEND_ERROR "UndefinedBehaviorSanitizer support requires clang, gcc, or msvc. Try again with -DCMAKE_C_COMPILER.")
97+
message(SEND_ERROR "UndefinedBehaviorSanitizer support requires clang or gcc. Try again with -DCMAKE_C_COMPILER.")
9398
endif()
9499
endif()
95100

@@ -307,6 +312,7 @@ if(APPLE)
307312
endif()
308313

309314
if(CMAKE_SYSTEM_NAME STREQUAL "GNU")
315+
list(APPEND uv_defines _GNU_SOURCE _POSIX_C_SOURCE=200112 _XOPEN_SOURCE=500)
310316
list(APPEND uv_libraries dl)
311317
list(APPEND uv_sources
312318
src/unix/bsd-ifaddrs.c
@@ -566,6 +572,7 @@ if(LIBUV_BUILD_TESTS)
566572
test/test-hrtime.c
567573
test/test-idle.c
568574
test/test-idna.c
575+
test/test-iouring-pollhup.c
569576
test/test-ip4-addr.c
570577
test/test-ip6-addr.c
571578
test/test-ip-name.c
@@ -643,6 +650,7 @@ if(LIBUV_BUILD_TESTS)
643650
test/test-tcp-oob.c
644651
test/test-tcp-open.c
645652
test/test-tcp-read-stop.c
653+
test/test-tcp-reuseport.c
646654
test/test-tcp-read-stop-start.c
647655
test/test-tcp-rst.c
648656
test/test-tcp-shutdown-after-write.c
@@ -691,6 +699,7 @@ if(LIBUV_BUILD_TESTS)
691699
test/test-udp-send-unreachable.c
692700
test/test-udp-try-send.c
693701
test/test-udp-recv-in-a-row.c
702+
test/test-udp-reuseport.c
694703
test/test-uname.c
695704
test/test-walk-handles.c
696705
test/test-watcher-cross-stop.c)
@@ -787,6 +796,14 @@ if(MSVC)
787796
endif()
788797
endif()
789798

799+
if(BUILD_SHARED_LIBS)
800+
set(LIB_SELECTED uv)
801+
else()
802+
set(LIB_SELECTED uv_a)
803+
endif()
804+
805+
add_library(libuv::libuv ALIAS ${LIB_SELECTED})
806+
790807
message(STATUS "summary of build options:
791808
Install prefix: ${CMAKE_INSTALL_PREFIX}
792809
Target system: ${CMAKE_SYSTEM_NAME}

deps/uv/ChangeLog

Lines changed: 237 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,237 @@
1-
2024.02.07, Version 1.48.0 (Stable)
1+
2024.10.11, Version 1.49.1 (Stable)
2+
3+
Changes since version 1.49.0:
4+
5+
* build: add darwin-syscalls.h to release tarball (Ben Noordhuis)
6+
7+
* linux: use IORING_SETUP_NO_SQARRAY when available (Ben Noordhuis)
8+
9+
* linux: use IORING_OP_FTRUNCATE when available (Ben Noordhuis)
10+
11+
* win: fix pNtQueryDirectoryFile check (Rialbat)
12+
13+
* win: fix WriteFile() error translation (Santiago Gimeno)
14+
15+
* win,fs: uv_fs_rmdir() to return ENOENT on file (Santiago Gimeno)
16+
17+
* win,pipe: ipc code does not support async read (Jameson Nash)
18+
19+
* netbsd: fix build (Adam)
20+
21+
* win,fs: fix bug in fs__readdir (Hüseyin Açacak)
22+
23+
* unix: workaround gcc bug on armv7 (Santiago Gimeno)
24+
25+
* unix: work around arm-linux-gnueabihf-gcc bug (Ben Noordhuis)
26+
27+
* unix: fix uv_tcp_keepalive in smartOS (Santiago Gimeno)
28+
29+
* unix: fix uv_getrusage ru_maxrss on solaris (Poul T Lomholt)
30+
31+
32+
2024.09.25, Version 1.49.0 (Stable), d2e56a5e8d3e39947b78405ca6e4727c70f5568a
33+
34+
Changes since version 1.48.0:
35+
36+
* test: fix -Wpointer-to-int-cast on 32 bits systems (Ben Noordhuis)
37+
38+
* build: add alias for libuv to CMakeLists.txt (Anthony Alayo)
39+
40+
* linux: create io_uring sqpoll ring lazily (Ben Noordhuis)
41+
42+
* misc: run sample CI when code changes (Jameson Nash)
43+
44+
* linux: fix uv_available_parallelism using cgroup (Thomas Walter)
45+
46+
* doc: fix tty example segfault (hiiizxf)
47+
48+
* udp,unix: fix sendmsg use-after-free (Geddy)
49+
50+
* cygwin: implement uv_resident_set_memory (Farzin Monsef)
51+
52+
* win: almost fix race detecting ESRCH in uv_kill (Santiago Gimeno)
53+
54+
* test: disable env var test under win32+asan (Ben Noordhuis)
55+
56+
* unix,fs: fix realpath calls that use the system allocator (Saúl Ibarra
57+
Corretgé)
58+
59+
* sunos: sync tcp keep-alive with other unices (Andy Pan)
60+
61+
* linux: fix /proc/self/stat executable name parsing (Farzin Monsef)
62+
63+
* test,ci: fix [AM]San, disable ASLR (Ben Noordhuis)
64+
65+
* win: remove _alloca usage (Ben Noordhuis)
66+
67+
* unix: reinstate preadv/pwritev fallback code (Ben Noordhuis)
68+
69+
* linux: don't delay EPOLL_CTL_DEL operations (Ben Noordhuis)
70+
71+
* doc: fix typos in ChangeLog (tgolang)
72+
73+
* unix,win: error on zero delay tcp keepalive (Saúl Ibarra Corretgé)
74+
75+
* win: simplify uv_once implementation (Saúl Ibarra Corretgé)
76+
77+
* doc: correct udp socket options documentation (Ben Noordhuis)
78+
79+
* linux: don't use sendmmsg() for single datagrams (Ben Noordhuis)
80+
81+
* unix: fix fd leaks in SCM_RIGHTS error path (Ben Noordhuis)
82+
83+
* win: robustify uv_os_getenv() error checking (Ben Noordhuis)
84+
85+
* test: use newer ASSERT_MEM_EQ macro (Ben Noordhuis)
86+
87+
* unix: de-duplicate conditions for using kqueue (Brad King)
88+
89+
* darwin: simplify uv_hrtime (Saúl Ibarra Corretgé)
90+
91+
* mailmap: update saghul's main email address (Saúl Ibarra Corretgé)
92+
93+
* win: remove no longer needed define (Saúl Ibarra Corretgé)
94+
95+
* doc: fix some typos (josedelinux)
96+
97+
* linux,darwin: make `uv_fs_copyfile` behaves like `cp -r` (Juan José Arboleda)
98+
99+
* dragonfly: disable SO_REUSEPORT for UDP socket bindings (Andy Pan)
100+
101+
* test: remove the obsolete HAVE_KQUEUE macro (Andy Pan)
102+
103+
* unix: use the presence of SOCK_* instead of OS macros for socketpair (Andy
104+
Pan)
105+
106+
* bsd: support pipe2() on *BSD (Andy Pan)
107+
108+
* unix: support SO_REUSEPORT with load balancing for TCP (Andy Pan)
109+
110+
* doc: add entries for extended getpw (Juan José Arboleda)
111+
112+
* test: fix the flaky test-tcp-reuseport (Andy Pan)
113+
114+
* aix,ibmi: fix compilation errors in fs_copyfile (Jeffrey H. Johnson)
115+
116+
* unix: support SO_REUSEPORT with load balancing for UDP (Andy Pan)
117+
118+
* tcpkeepalive: distinguish OS versions and use proper time units (Andy Pan)
119+
120+
* win: map ERROR_BAD_EXE_FORMAT to UV_EFTYPE (Hüseyin Açacak)
121+
122+
* doc: add instruction how to install with Conan (Uilian Ries)
123+
124+
* unix,win: remove unused req parameter from macros (Viacheslav Muravyev)
125+
126+
* build: fix android ci build (Ben Noordhuis)
127+
128+
* unix,win: export wtf8 functions properly (Ben Noordhuis)
129+
130+
* hurd: add includes and macro prerequisites (Olivier Valentin)
131+
132+
* hurd: stub uv_thread_setpriority() (Olivier Valentin)
133+
134+
* ci: use macOS 12 for macOS and iOS builds (Saúl Ibarra Corretgé)
135+
136+
* darwin: fix crash on iOS(arm64) (郑苏波 (Super Zheng))
137+
138+
* Create dependabot.yml for updating github-actions (Jameson Nash)
139+
140+
* doc: correct names of Win32 APIs in fs.rst (zeertzjq)
141+
142+
* ci: bump upload and download-artifact versions (dependabot[bot])
143+
144+
* ci: bump actions/setup-python from 4 to 5 (dependabot[bot])
145+
146+
* ci: bump KyleMayes/install-llvm-action from 1 to 2 (dependabot[bot])
147+
148+
* win,error: remap ERROR_NO_DATA to EAGAIN (Jameson Nash)
149+
150+
* test: handle zero-length udp datagram (Ben Noordhuis)
151+
152+
* misc: remove splay trees macros (Viacheslav Muravyev)
153+
154+
* test,openbsd: remove superfluous ifdef guard (Ben Noordhuis)
155+
156+
* win,fs: use posix delete semantics, if supported (Ian Butterworth)
157+
158+
* win: fix env var in uv_os_homedir and uv_os_tmpdir (Hüseyin Açacak)
159+
160+
* fsevents: detect watched directory removal (Santiago Gimeno)
161+
162+
* ci: bump actions/checkout to 4 (dependabot[bot])
163+
164+
* linux: eliminate a read on eventfd per wakeup (Andy Pan)
165+
166+
* test: pipe_overlong_path handle ENAMETOOLONG (Abdirahim Musse)
167+
168+
* win,fs: use the new Windows fast stat API (Hüseyin Açacak)
169+
170+
* win,pipe: fix race with concurrent readers (Jameson Nash)
171+
172+
* win,signal: fix data race dispatching SIGWINCH (Jameson Nash)
173+
174+
* build: ubsan fixes (Matheus Izvekov)
175+
176+
* linux: disable SQPOLL io_uring by default (Santiago Gimeno)
177+
178+
* win: fix fs.c ubsan failure (Matheus Izvekov)
179+
180+
* test: rmdir can return `EEXIST` or `ENOTEMPTY` (Richard Lau)
181+
182+
* test: check for `UV_CHANGE` or `UV_RENAME` event (Richard Lau)
183+
184+
* unix,fs: silence -Wunused-result warning (Santiago Gimeno)
185+
186+
* linux: support abstract unix socket autobinding (Ben Noordhuis)
187+
188+
* kqueue: use EVFILT_USER for async if available (Andy Pan)
189+
190+
* win: remove deprecated GetVersionExW call (Shelley Vohr)
191+
192+
* doc: document uv_loop_option (握猫猫)
193+
194+
* doc: fix the `uv_*_set_data` series of functions (握猫猫)
195+
196+
* doc: properly label enumerations and types (握猫猫)
197+
198+
* doc: document specific macOS fs_event behavior (Santiago Gimeno)
199+
200+
* win,pipe: restore fallback handling for blocking pipes (Jameson Nash)
201+
202+
* unix,win: remove unused rb-tree macro parameters (Viacheslav Muravyev)
203+
204+
* win: compute parallelism from process cpu affinity (Ben Noordhuis)
205+
206+
* win: use NtQueryInformationProcess in uv_os_getppid (Zuohui Yang)
207+
208+
* win,pipe: fix missing assignment to success (Jameson Nash)
209+
210+
* win: fix uv_available_parallelism on win32 (Ben Noordhuis)
211+
212+
* win,pipe: fix another missing assignment to success (Jameson Nash)
213+
214+
* kqueue: disallow ill-suited file descriptor kinds (Andy Pan)
215+
216+
* unix: restore tty attributes on handle close (Ben Noordhuis)
217+
218+
* test: delete test with invalid assumption (Ben Noordhuis)
219+
220+
* dragonflybsd: fix compilation failure (Jeffrey H. Johnson)
221+
222+
* test: run android tests on ci (Edigleysson Silva (Edy))
223+
224+
* darwin: add udp mmsg support (Raihaan Shouhell)
225+
226+
* unix: work around arm-linux-gnueabihf-gcc bug (Ben Noordhuis)
227+
228+
* unix: expand uv_available_parallelism() to support more platforms (Ondřej
229+
Surý)
230+
231+
* doc: add known issue in armv7 (Santiago Gimeno)
232+
233+
234+
2024.02.07, Version 1.48.0 (Stable), e9f29cb984231524e3931aa0ae2c5dae1a32884e
2235

3236
Changes since version 1.47.0:
4237

@@ -911,7 +1144,7 @@ Changes since version 1.41.0:
9111144

9121145
* zos: treat __rfim_utok as binary (Shuowang (Wayne) Zhang)
9131146

914-
* zos: use execvpe() to set environ explictly (Shuowang (Wayne) Zhang)
1147+
* zos: use execvpe() to set environ explicitly (Shuowang (Wayne) Zhang)
9151148

9161149
* zos: use custom proctitle implementation (Shuowang (Wayne) Zhang)
9171150

@@ -3417,7 +3650,7 @@ Changes since version 1.9.1:
34173650

34183651
* zos: implement uv__io_check_fd (John Barboza)
34193652

3420-
* unix: unneccessary use const qualifier in container_of (John Barboza)
3653+
* unix: unnecessary use const qualifier in container_of (John Barboza)
34213654

34223655
* win,tty: add support for ANSI codes in win10 v1511 (Imran Iqbal)
34233656

@@ -5520,7 +5753,7 @@ Changes since version 0.11.8:
55205753
is an int64_t, and no longer an int. (Bert Belder)
55215754

55225755
* process: make uv_spawn() return some types of errors immediately on windows,
5523-
instead of passing the error code the the exit callback. This brings it on
5756+
instead of passing the error code the exit callback. This brings it on
55245757
par with libuv's behavior on unix. (Bert Belder)
55255758

55265759

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy