Skip to content

Commit e3d08af

Browse files
cjihrigMylesBorins
authored andcommitted
deps: upgrade to libuv 1.22.0
Backport-PR-URL: #24103 PR-URL: #21731 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Santiago Gimeno <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 11cb09b commit e3d08af

Some content is hidden

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

51 files changed

+527
-890
lines changed

deps/uv/AUTHORS

+2
Original file line numberDiff line numberDiff line change
@@ -343,3 +343,5 @@ Björn Linse <[email protected]>
343343
zyxwvu Shi <[email protected]>
344344
Peter Johnson <[email protected]>
345345
Paolo Greppi <[email protected]>
346+
Shelley Vohr <[email protected]>
347+
Ujjwal Sharma <[email protected]>

deps/uv/CMakeLists.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ set(uv_sources
1515
src/fs-poll.c
1616
src/inet.c
1717
src/threadpool.c
18+
src/timer.c
1819
src/uv-common.c
1920
src/uv-data-getter-setters.c
2021
src/version.c)
@@ -197,7 +198,6 @@ if(WIN32)
197198
src/win/stream.c
198199
src/win/tcp.c
199200
src/win/tty.c
200-
src/win/timer.c
201201
src/win/udp.c
202202
src/win/util.c
203203
src/win/winapi.c
@@ -223,7 +223,6 @@ else()
223223
src/unix/stream.c
224224
src/unix/tcp.c
225225
src/unix/thread.c
226-
src/unix/timer.c
227226
src/unix/tty.c
228227
src/unix/udp.c)
229228
list(APPEND uv_test_sources test/runner-unix.c)

deps/uv/ChangeLog

+33
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
1+
2018.07.11, Version 1.22.0 (Stable), 8568f78a777d79d35eb7d6994617267b9fb33967
2+
3+
Changes since version 1.21.0:
4+
5+
* unix: remove checksparse.sh (Ben Noordhuis)
6+
7+
* win: fix mingw build error (Ben Noordhuis)
8+
9+
* win: fix -Wunused-function warnings in thread.c (Ben Noordhuis)
10+
11+
* unix,win: merge timers implementation (Ben Noordhuis)
12+
13+
* win: fix pointer type in pipe.c (Ben Noordhuis)
14+
15+
* win: fixing build for older MSVC compilers (Michael Fero)
16+
17+
* zos: clear poll events on every iteration (jBarz)
18+
19+
* zos: write-protect message queue (jBarz)
20+
21+
* zos: use correct pointer type in strnlen (jBarz)
22+
23+
* unix,win: merge handle flags (Ben Noordhuis)
24+
25+
* doc: update Imran Iqbal's GitHub handle (cjihrig)
26+
27+
* src: add new error apis to prevent memory leaks (Shelley Vohr)
28+
29+
* test: make test-condvar call uv_cond_wait (Jamie Davis)
30+
31+
* fs: change position of uv_fs_lchown (Ujjwal Sharma)
32+
33+
134
2018.06.23, Version 1.21.0 (Stable), e4983a9b0c152932f7553ff4a9ff189d2314cdcb
235

336
Changes since version 1.20.3:

deps/uv/MAINTAINERS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ libuv is currently managed by the following individuals:
1212
- GPG key: 5735 3E0D BDAA A7E8 39B6 6A1A FF47 D5E4 AD8B 4FDC (pubkey-cjihrig-kb)
1313
* **Fedor Indutny** ([@indutny](https://github.com/indutny))
1414
- GPG key: AF2E EA41 EC34 47BF DD86 FED9 D706 3CCE 19B7 E890 (pubkey-indutny)
15-
* **Imran Iqbal** ([@iWuzHere](https://github.com/iWuzHere))
15+
* **Imran Iqbal** ([@imran-iq](https://github.com/imran-iq))
1616
- GPG key: 9DFE AA5F 481B BF77 2D90 03CE D592 4925 2F8E C41A (pubkey-iwuzhere)
1717
* **John Barboza** ([@jbarz](https://github.com/jbarz))
1818
* **Santiago Gimeno** ([@santigimeno](https://github.com/santigimeno))

deps/uv/Makefile.am

+1-2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ libuv_la_SOURCES = src/fs-poll.c \
3232
src/inet.c \
3333
src/queue.h \
3434
src/threadpool.c \
35+
src/timer.c \
3536
src/uv-data-getter-setters.c \
3637
src/uv-common.c \
3738
src/uv-common.h \
@@ -74,7 +75,6 @@ libuv_la_SOURCES += src/win/async.c \
7475
src/win/stream-inl.h \
7576
src/win/tcp.c \
7677
src/win/thread.c \
77-
src/win/timer.c \
7878
src/win/tty.c \
7979
src/win/udp.c \
8080
src/win/util.c \
@@ -105,7 +105,6 @@ libuv_la_SOURCES += src/unix/async.c \
105105
src/unix/stream.c \
106106
src/unix/tcp.c \
107107
src/unix/thread.c \
108-
src/unix/timer.c \
109108
src/unix/tty.c \
110109
src/unix/udp.c
111110

deps/uv/checksparse.sh

-254
This file was deleted.

deps/uv/configure.ac

+1-1
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.21.0], [https://github.com/libuv/libuv/issues])
16+
AC_INIT([libuv], [1.22.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])

deps/uv/docs/src/errors.rst

+14
Original file line numberDiff line numberDiff line change
@@ -335,11 +335,25 @@ API
335335
Returns the error message for the given error code. Leaks a few bytes
336336
of memory when you call it with an unknown error code.
337337
338+
.. c:function:: char* uv_strerror_r(int err, char* buf, size_t buflen)
339+
340+
Returns the error message for the given error code. The zero-terminated
341+
message is stored in the user-supplied buffer `buf` of at most `buflen` bytes.
342+
343+
.. versionadded:: 1.22.0
344+
338345
.. c:function:: const char* uv_err_name(int err)
339346
340347
Returns the error name for the given error code. Leaks a few bytes
341348
of memory when you call it with an unknown error code.
342349
350+
.. c:function:: char* uv_err_name_r(int err, char* buf, size_t buflen)
351+
352+
Returns the error name for the given error code. The zero-terminated
353+
name is stored in the user-supplied buffer `buf` of at most `buflen` bytes.
354+
355+
.. versionadded:: 1.22.0
356+
343357
.. c:function:: int uv_translate_sys_error(int sys_errno)
344358
345359
Returns the libuv error code equivalent to the given platform dependent error

0 commit comments

Comments
 (0)