Permalink
Loading
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
deps: upgrade to libuv 1.40.0
Notable changes: - The UV_UDP_MMSG_FREE flag has been added. - UV__EPROTO has been remapped from 4046 to -4046 for consistency with other error codes. - On Windows, UTF-16 surrogate pairs are no longer replaced with the Unicode replacement character. - uv_timer_get_due_in() has been added. PR-URL: #35333 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
- Loading branch information
Showing
with
390 additions
and 114 deletions.
- +5 −0 deps/uv/AUTHORS
- +27 −2 deps/uv/CMakeLists.txt
- +35 −0 deps/uv/ChangeLog
- +1 −1 deps/uv/configure.ac
- +2 −0 deps/uv/docs/src/loop.rst
- +2 −0 deps/uv/docs/src/metrics.rst
- +7 −0 deps/uv/docs/src/timer.rst
- +11 −3 deps/uv/docs/src/udp.rst
- +7 −0 deps/uv/include/uv.h
- +1 −1 deps/uv/include/uv/errno.h
- +2 −0 deps/uv/include/uv/unix.h
- +1 −1 deps/uv/include/uv/version.h
- +12 −0 deps/uv/libuv-static.pc.in
- +1 −1 deps/uv/src/random.c
- +8 −0 deps/uv/src/timer.c
- +3 −1 deps/uv/src/unix/bsd-ifaddrs.c
- +4 −37 deps/uv/src/unix/freebsd.c
- +16 −3 deps/uv/src/unix/fs.c
- +2 −9 deps/uv/src/unix/internal.h
- +1 −0 deps/uv/src/unix/linux-core.c
- +39 −17 deps/uv/src/unix/linux-syscalls.c
- +137 −0 deps/uv/src/unix/qnx.c
- +22 −14 deps/uv/src/unix/udp.c
- +6 −7 deps/uv/src/win/tty.c
- +2 −2 deps/uv/src/win/udp.c
- +2 −2 deps/uv/test/test-dlerror.c
- +1 −1 deps/uv/test/test-fs-copyfile.c
- +2 −2 deps/uv/test/test-tcp-connect-timeout.c
- +4 −0 deps/uv/test/test-timer.c
- +11 −0 deps/uv/test/test-udp-connect.c
- +16 −10 deps/uv/test/test-udp-mmsg.c
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -23,3 +23,5 @@ API | ||
| The event loop will not begin accumulating the event provider's idle | ||
| time until calling :c:type:`uv_loop_configure` with | ||
| :c:type:`UV_METRICS_IDLE_TIME`. | ||
| .. versionadded:: 1.39.0 | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -317,7 +317,7 @@ | ||
| #if defined(EPROTO) && !defined(_WIN32) | ||
| # define UV__EPROTO UV__ERR(EPROTO) | ||
| #else | ||
| # define UV__EPROTO (-4046) | ||
| #endif | ||
|
|
||
| #if defined(EPROTONOSUPPORT) && !defined(_WIN32) | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -69,6 +69,8 @@ | ||
| # include "uv/posix.h" | ||
| #elif defined(__HAIKU__) | ||
| # include "uv/posix.h" | ||
| #elif defined(__QNX__) | ||
| # include "uv/posix.h" | ||
| #endif | ||
|
|
||
| #ifndef NI_MAXHOST | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -31,7 +31,7 @@ | ||
| */ | ||
|
|
||
| #define UV_VERSION_MAJOR 1 | ||
| #define UV_VERSION_MINOR 40 | ||
| #define UV_VERSION_PATCH 0 | ||
| #define UV_VERSION_IS_RELEASE 1 | ||
| #define UV_VERSION_SUFFIX "" | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -0,0 +1,12 @@ | ||
| prefix=@prefix@ | ||
| exec_prefix=${prefix} | ||
| libdir=@libdir@ | ||
| includedir=@includedir@ | ||
|
|
||
| Name: libuv-static | ||
| Version: @PACKAGE_VERSION@ | ||
| Description: multi-platform support library with a focus on asynchronous I/O. | ||
| URL: http://libuv.org/ | ||
|
|
||
| Libs: -L${libdir} -luv_a @LIBS@ | ||
| Cflags: -I${includedir} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.