Permalink
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.30.0
Notable changes: - Support for the Haiku platform has been added. - The maximum UV_THREADPOOL_SIZE has been increased from 128 to 1024. - uv_fs_copyfile() now works properly when the source and destination files are the same. PR-URL: #28449 Backport-PR-URL: #31969 Fixes: #27746 Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
- Loading branch information
Showing
with
644 additions
and 63 deletions.
- +1 −0 deps/uv/.gitattributes
- +7 −0 deps/uv/AUTHORS
- +6 −3 deps/uv/CMakeLists.txt
- +37 −0 deps/uv/ChangeLog
- +17 −0 deps/uv/Makefile.am
- +5 −1 deps/uv/configure.ac
- +3 −1 deps/uv/docs/src/design.rst
- +3 −1 deps/uv/docs/src/threadpool.rst
- +2 −0 deps/uv/include/uv/unix.h
- +2 −2 deps/uv/include/uv/version.h
- +1 −1 deps/uv/src/threadpool.c
- +6 −1 deps/uv/src/unix/bsd-ifaddrs.c
- +32 −5 deps/uv/src/unix/core.c
- +80 −23 deps/uv/src/unix/fs.c
- +176 −0 deps/uv/src/unix/haiku.c
- +9 −0 deps/uv/src/unix/internal.h
- +6 −1 deps/uv/src/unix/process.c
- +1 −1 deps/uv/src/unix/signal.c
- +1 −1 deps/uv/src/unix/stream.c
- +15 −2 deps/uv/src/unix/thread.c
- +43 −17 deps/uv/src/win/fs.c
- +1 −0 deps/uv/test/fixtures/lorem_ipsum.txt
- +7 −0 deps/uv/test/test-cwd-and-chdir.c
- +9 −1 deps/uv/test/test-fs-copyfile.c
- +59 −1 deps/uv/test/test-fs.c
- +5 −1 deps/uv/test/test-list.h
- +109 −0 deps/uv/test/test-tcp-try-write-error.c
- +1 −0 deps/uv/test/test.gyp
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
| @@ -0,0 +1 @@ | ||
| test/fixtures/lorem_ipsum.txt text eol=lf |
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
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
| @@ -66,6 +66,8 @@ | ||
| defined(__MSYS__) || \ | ||
| defined(__GNU__) | ||
| # include "uv/posix.h" | ||
| #elif defined(__HAIKU__) | ||
| # 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,8 +31,8 @@ | ||
| */ | ||
|
|
||
| #define UV_VERSION_MAJOR 1 | ||
| #define UV_VERSION_MINOR 30 | ||
| #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
| @@ -27,7 +27,7 @@ | ||
|
|
||
| #include <stdlib.h> | ||
|
|
||
| #define MAX_THREADPOOL_SIZE 1024 | ||
|
|
||
| static uv_once_t once = UV_ONCE_INIT; | ||
| static uv_cond_t cond; | ||
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.