Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 06038a4

Browse filesBrowse files
nodejs-github-botRafaelGSS
authored andcommitted
deps: update libuv to 1.47.0
deps: update libuv to 1.47.0 PR-URL: #50650 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 58ca66a commit 06038a4
Copy full SHA for 06038a4

File tree

Expand file treeCollapse file tree

221 files changed

+6587
-6453
lines changed
Open diff view settings
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

221 files changed

+6587
-6453
lines changed
Open diff view settings
Collapse file

‎deps/uv/AUTHORS‎

Copy file name to clipboardExpand all lines: deps/uv/AUTHORS
+12Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,3 +548,15 @@ liuxiang88 <94350585+liuxiang88@users.noreply.github.com>
548548
Jeffrey H. Johnson <trnsz@pobox.com>
549549
Abdirahim Musse <33973272+abmusse@users.noreply.github.com>
550550
小明 <7737673+caobug@users.noreply.github.com>
551+
Shuduo Sang <sangshuduo@gmail.com>
552+
Keith Winstein <keithw@cs.stanford.edu>
553+
michalbiesek <michalbiesek@gmail.com>
554+
Alois Klink <alois@aloisklink.com>
555+
SmorkalovG <smorkalov.g@gmail.com>
556+
Pleuvens <pleuvens.fervil@gmail.com>
557+
jolai <58589285+laijonathan@users.noreply.github.com>
558+
Julien Roncaglia <fox@vbfox.net>
559+
prubel <paul@rubels.net>
560+
Per Allansson <65364157+per-allansson@users.noreply.github.com>
561+
Matheus Izvekov <mizvekov@gmail.com>
562+
Christian Heimlich <chris@pcserenity.com>
Collapse file

‎deps/uv/CMakeLists.txt‎

Copy file name to clipboardExpand all lines: deps/uv/CMakeLists.txt
+4-3Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.4)
1+
cmake_minimum_required(VERSION 3.9)
22

33
if(POLICY CMP0091)
44
cmake_policy(SET CMP0091 NEW) # Enable MSVC_RUNTIME_LIBRARY setting
@@ -186,7 +186,8 @@ if(WIN32)
186186
ws2_32
187187
dbghelp
188188
ole32
189-
uuid)
189+
uuid
190+
shell32)
190191
list(APPEND uv_sources
191192
src/win/async.c
192193
src/win/core.c
@@ -477,7 +478,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "OS390")
477478
endif()
478479
target_link_libraries(uv_a ${uv_libraries})
479480
set_target_properties(uv_a PROPERTIES OUTPUT_NAME "uv")
480-
if(MSVC)
481+
if(WIN32)
481482
set_target_properties(uv_a PROPERTIES PREFIX "lib")
482483
endif()
483484

Collapse file

‎deps/uv/ChangeLog‎

Copy file name to clipboardExpand all lines: deps/uv/ChangeLog
+110-1Lines changed: 110 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,113 @@
1-
2023.06.30, Version 1.46.0 (Stable)
1+
2023.11.06, Version 1.47.0 (Stable)
2+
3+
Changes since version 1.46.0:
4+
5+
* test: fix license blurb (Ben Noordhuis)
6+
7+
* linux: fix harmless warn_unused_result warning (Shuduo Sang)
8+
9+
* darwin: fix build warnings (小明)
10+
11+
* linux: don't use io_uring on pre-5.10.186 kernels (Ben Noordhuis)
12+
13+
* fs: fix WTF-8 decoding issue (Jameson Nash)
14+
15+
* test: enable disabled tcp_connect6_error_fault (Ben Noordhuis)
16+
17+
* test: enable disabled fs_link (Ben Noordhuis)
18+
19+
* test: enable disabled spawn_same_stdout_stderr (Ben Noordhuis)
20+
21+
* linux: handle UNAME26 personality (Ben Noordhuis)
22+
23+
* build: move cmake_minimum_required version to 3.9 (Keith Winstein)
24+
25+
* unix: set ipv6 scope id for link-local addresses (Ben Noordhuis)
26+
27+
* unix: match kqueue and epoll code (Trevor Norris)
28+
29+
* win,spawn: allow `%PATH%` to be unset (Kyle Edwards)
30+
31+
* doc: switch to Furo, a more modern Sphinx theme (Saúl Ibarra Corretgé)
32+
33+
* darwin: make TCP_KEEPINTVL and TCP_KEEPCNT available (小明)
34+
35+
* win,fs: avoid winapi macro redefinition (Brad King)
36+
37+
* linux: add missing riscv syscall numbers (michalbiesek)
38+
39+
* doc: fix broken "Shared library" Wikipedia link (Alois Klink)
40+
41+
* unix: get mainline kernel version in Ubuntu (Santiago Gimeno)
42+
43+
* unix: get mainline kernel version in Debian (Ben Noordhuis)
44+
45+
* build: fix qemu install in CI-unix workflow (Santiago Gimeno)
46+
47+
* unix: disable io_uring close on selected kernels (Santiago Gimeno)
48+
49+
* test: skip tests when ipv6 is not available (Santiago Gimeno)
50+
51+
* ibmi: implement ifaddrs, getifaddrs, freeifaddrs (Abdirahim Musse)
52+
53+
* unix: reset signal counters after fork (SmorkalovG)
54+
55+
* win,process: avoid assert after spawning Store app (Jameson Nash)
56+
57+
* unix: remove pread/preadv conditionals (Ben Noordhuis)
58+
59+
* unix: remove pwrite/pwritev conditionals (Ben Noordhuis)
60+
61+
* darwin: remove workaround for data corruption bug (Ben Noordhuis)
62+
63+
* src: default to stream=stderr in handle printer (Ben Noordhuis)
64+
65+
* test: switch to new-style ASSERT_EQ macros (Pleuvens)
66+
67+
* zos: correctly get cpu model in uv_cpu_info() (jolai)
68+
69+
* test: fix get_passwd2 on IBM i (Abdirahim Musse)
70+
71+
* unix: don't malloc on sync uv_fs_read (Ben Noordhuis)
72+
73+
* freebsd: get fs event path with fcntl(F_KINFO) (David Carlier)
74+
75+
* test: switch from ASSERT_* to ASSERT_PTR_* (Pleuvens)
76+
77+
* darwin: workaround apple pthread_cond_wait bug (Julien Roncaglia)
78+
79+
* doc: uv_close should be called after exit callback (Pleuvens)
80+
81+
* test: 192.0.2.0/24 is the actual -TEST-NET-1 (prubel)
82+
83+
* unix: add back preadv/pwritev fallback (Ben Noordhuis)
84+
85+
* unix: rename variable for consistency (Ben Noordhuis)
86+
87+
* unix: merge read/write code into single functions (Ben Noordhuis)
88+
89+
* doc: filename arg to uv_fs_event_cb can be NULL (Ben Noordhuis)
90+
91+
* build,win: we need to link against shell32.lib (Per Allansson)
92+
93+
* unix: no preadv/pwritev workaround if not needed (Jeffrey H. Johnson)
94+
95+
* build: add CI for Windows ARM64 (build only) (Per Allansson)
96+
97+
* linux: disable io_uring on 32 bits arm systems (Ben Noordhuis)
98+
99+
* build: run sanitizers on macos ci (Ben Noordhuis)
100+
101+
* misc: export WTF8 conversion utilities (Jameson Nash)
102+
103+
* build: fix libuv.a file name for cmake (Jameson Nash)
104+
105+
* build: add windows ubsan and clang ci (Matheus Izvekov)
106+
107+
* win: improve accuracy of ProductName between arch (Christian Heimlich)
108+
109+
110+
2023.06.30, Version 1.46.0 (Stable), f0bb7e40f0508bedf6fad33769b3f87bb8aedfa6
2111

3112
Changes since version 1.45.0:
4113

Collapse file

‎deps/uv/configure.ac‎

Copy file name to clipboardExpand all lines: deps/uv/configure.ac
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1414

1515
AC_PREREQ(2.57)
16-
AC_INIT([libuv], [1.46.0], [https://github.com/libuv/libuv/issues])
16+
AC_INIT([libuv], [1.47.0], [https://github.com/libuv/libuv/issues])
1717
AC_CONFIG_MACRO_DIR([m4])
1818
m4_include([m4/libuv-extra-automake-flags.m4])
1919
m4_include([m4/as_case.m4])
@@ -74,7 +74,7 @@ AM_CONDITIONAL([OS400], [AS_CASE([$host_os],[os400], [true], [false])
7474
AM_CONDITIONAL([SUNOS], [AS_CASE([$host_os],[solaris*], [true], [false])])
7575
AM_CONDITIONAL([WINNT], [AS_CASE([$host_os],[mingw*], [true], [false])])
7676
AS_CASE([$host_os],[mingw*], [
77-
LIBS="$LIBS -lws2_32 -lpsapi -liphlpapi -lshell32 -luserenv -luser32 -ldbghelp -lole32 -luuid"
77+
LIBS="$LIBS -lws2_32 -lpsapi -liphlpapi -lshell32 -luserenv -luser32 -ldbghelp -lole32 -luuid -lshell32"
7878
])
7979
AS_CASE([$host_os], [solaris2.10], [
8080
CFLAGS="$CFLAGS -DSUNOS_NO_IFADDRS"
Collapse file

‎deps/uv/docs/requirements.txt‎

Copy file name to clipboard
+11-2Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,36 @@
11
# primary
2-
sphinx==6.1.3
2+
furo==2023.5.20
3+
Sphinx==6.1.3
34

45
# dependencies
56
alabaster==0.7.13
67
Babel==2.11.0
8+
beautifulsoup4==4.12.2
79
certifi==2022.12.7
810
charset-normalizer==3.0.1
11+
colorama==0.4.6
912
docutils==0.19
1013
idna==3.4
1114
imagesize==1.4.1
1215
importlib-metadata==6.0.0
1316
Jinja2==3.1.2
17+
livereload==2.6.3
1418
MarkupSafe==2.1.2
1519
packaging==23.0
1620
Pygments==2.14.0
1721
pytz==2022.7.1
1822
requests==2.28.2
23+
six==1.16.0
1924
snowballstemmer==2.2.0
20-
sphinxcontrib-applehelp==1.0.3
25+
soupsieve==2.4.1
26+
sphinx-autobuild==2021.3.14
27+
sphinx-basic-ng==1.0.0b2
2128
sphinxcontrib-devhelp==1.0.2
2229
sphinxcontrib-htmlhelp==2.0.0
2330
sphinxcontrib-jsmath==1.0.1
2431
sphinxcontrib-qthelp==1.0.3
2532
sphinxcontrib-serializinghtml==1.1.5
33+
sphinxcontrib.applehelp==1.0.3
34+
tornado==6.3.2
2635
urllib3==1.26.14
2736
zipp==3.11.0
Collapse file

‎deps/uv/docs/src/conf.py‎

Copy file name to clipboardExpand all lines: deps/uv/docs/src/conf.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def get_libuv_version():
118118

119119
# The theme to use for HTML and HTML Help pages. See the documentation for
120120
# a list of builtin themes.
121-
html_theme = 'nature'
121+
html_theme = 'furo'
122122

123123
# Theme options are theme-specific and customize the look and feel of a theme
124124
# further. For a list of options available for each theme, see the
Collapse file

‎deps/uv/docs/src/fs_event.rst‎

Copy file name to clipboardExpand all lines: deps/uv/docs/src/fs_event.rst
+6-2Lines changed: 6 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,12 @@ Data types
3939
.. c:type:: void (*uv_fs_event_cb)(uv_fs_event_t* handle, const char* filename, int events, int status)
4040
4141
Callback passed to :c:func:`uv_fs_event_start` which will be called repeatedly
42-
after the handle is started. If the handle was started with a directory the
43-
`filename` parameter will be a relative path to a file contained in the directory.
42+
after the handle is started.
43+
44+
If the handle was started with a directory the `filename` parameter will
45+
be a relative path to a file contained in the directory, or `NULL` if the
46+
file name cannot be determined.
47+
4448
The `events` parameter is an ORed mask of :c:type:`uv_fs_event` elements.
4549

4650
.. c:type:: uv_fs_event
Collapse file

‎deps/uv/docs/src/misc.rst‎

Copy file name to clipboardExpand all lines: deps/uv/docs/src/misc.rst
+47Lines changed: 47 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -839,3 +839,50 @@ API
839839
Causes the calling thread to sleep for `msec` milliseconds.
840840
841841
.. versionadded:: 1.34.0
842+
843+
String manipulation functions
844+
-----------------------------
845+
846+
These string utilities are needed internally for dealing with Windows, and are
847+
exported to allow clients to work uniformly with this data when the libuv API
848+
is not complete.
849+
850+
.. c:function:: size_t uv_utf16_length_as_wtf8(const uint16_t* utf16, ssize_t utf16_len)
851+
852+
Get the length of a UTF-16 (or UCS-2) `utf16` value after converting it to
853+
WTF-8. If `utf16` is NUL terminated, `utf16_len` can be set to -1,
854+
otherwise it must be specified.
855+
856+
.. versionadded:: 1.47.0
857+
858+
.. c:function:: int uv_utf16_to_wtf8(const uint16_t* utf16, ssize_t utf16_len, char** wtf8_ptr, size_t* wtf8_len_ptr)
859+
860+
Convert UTF-16 (or UCS-2) data in `utf16` to WTF-8 data in `*wtf8_ptr`. The
861+
`utf16_len` count (in characters) gives the length of `utf16`. If `utf16`
862+
is NUL terminated, `utf16_len` can be set to -1, otherwise it must be
863+
specified. If `wtf8_ptr` is `NULL`, no result will be computed, but the
864+
length (equal to `uv_utf16_length_as_wtf8`) will be stored in `wtf8_ptr`.
865+
If `*wtf8_ptr` is `NULL`, space for the conversion will be allocated and
866+
returned in `wtf8_ptr` and the length will be returned in `wtf8_len_ptr`.
867+
Otherwise, the length of `*wtf8_ptr` must be passed in `wtf8_len_ptr`. The
868+
`wtf8_ptr` must contain an extra space for an extra NUL after the result.
869+
If the result is truncated, `UV_ENOBUFS` will be returned and
870+
`wtf8_len_ptr` will be the length of the required `wtf8_ptr` to contain the
871+
whole result.
872+
873+
.. versionadded:: 1.47.0
874+
875+
.. c:function:: ssize_t uv_wtf8_length_as_utf16(const char* wtf8)
876+
877+
Get the length in characters of a NUL-terminated WTF-8 `wtf8` value
878+
after converting it to UTF-16 (or UCS-2), including NUL terminator.
879+
880+
.. versionadded:: 1.47.0
881+
882+
.. c:function:: void uv_wtf8_to_utf16(const char* utf8, uint16_t* utf16, size_t utf16_len)
883+
884+
Convert NUL-terminated WTF-8 data in `wtf8` to UTF-16 (or UCS-2) data
885+
in `utf16`. The `utf16_len` count (in characters) must include space
886+
for the NUL terminator.
887+
888+
.. versionadded:: 1.47.0
Collapse file

‎deps/uv/include/uv.h‎

Copy file name to clipboardExpand all lines: deps/uv/include/uv.h
+12Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1885,6 +1885,18 @@ struct uv_loop_s {
18851885
UV_EXTERN void* uv_loop_get_data(const uv_loop_t*);
18861886
UV_EXTERN void uv_loop_set_data(uv_loop_t*, void* data);
18871887

1888+
/* String utilities needed internally for dealing with Windows. */
1889+
size_t uv_utf16_length_as_wtf8(const uint16_t* utf16,
1890+
ssize_t utf16_len);
1891+
int uv_utf16_to_wtf8(const uint16_t* utf16,
1892+
ssize_t utf16_len,
1893+
char** wtf8_ptr,
1894+
size_t* wtf8_len_ptr);
1895+
ssize_t uv_wtf8_length_as_utf16(const char* wtf8);
1896+
void uv_wtf8_to_utf16(const char* wtf8,
1897+
uint16_t* utf16,
1898+
size_t utf16_len);
1899+
18881900
/* Don't export the private CPP symbols. */
18891901
#undef UV_HANDLE_TYPE_PRIVATE
18901902
#undef UV_REQ_TYPE_PRIVATE
Collapse file

‎deps/uv/include/uv/version.h‎

Copy file name to clipboardExpand all lines: deps/uv/include/uv/version.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
*/
3232

3333
#define UV_VERSION_MAJOR 1
34-
#define UV_VERSION_MINOR 46
34+
#define UV_VERSION_MINOR 47
3535
#define UV_VERSION_PATCH 0
3636
#define UV_VERSION_IS_RELEASE 1
3737
#define UV_VERSION_SUFFIX ""

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.