Skip to content

Commit cae4896

Browse files
cjihriggibfahn
authored andcommitted
deps: upgrade libuv to 1.18.0
PR-URL: #17282 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
1 parent 44ab4f0 commit cae4896

35 files changed

+817
-315
lines changed

deps/uv/AUTHORS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,3 +318,6 @@ Scott Parker <scott.parker087@gmail.com>
318318
Wade Brainerd <Wade.Brainerd@activision.com>
319319
rayrase <rmartinez2175@eagle.fgcu.edu>
320320
Pekka Nikander <pekka.nikander@iki.fi>
321+
Ed Schouten <ed@nuxi.nl>
322+
Xu Meng <mengxumx@cn.ibm.com>
323+
Matt Harrison <hi@matt-harrison.com>

deps/uv/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,6 @@ not send out notifications when you add commits.
164164

165165
[issue tracker]: https://github.com/libuv/libuv/issues
166166
[libuv mailing list]: http://groups.google.com/group/libuv
167-
[IRC]: http://webchat.freelibuv.net/?channels=libuv
167+
[IRC]: http://webchat.freenode.net/?channels=libuv
168168
[Google C/C++ style guide]: https://google.github.io/styleguide/cppguide.html
169169
[project maintainers]: https://github.com/libuv/libuv/blob/master/MAINTAINERS.md

deps/uv/ChangeLog

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,55 @@
1+
2017.12.02, Version 1.18.0 (Stable), 1489c98b7fc17f1702821a269eb0c5e730c5c813
2+
3+
Changes since version 1.17.0:
4+
5+
* aix: fix -Wmaybe-uninitialized warning (cjihrig)
6+
7+
* doc: remove note about SIGWINCH on Windows (Bartosz Sosnowski)
8+
9+
* Revert "unix,win: wait for threads to start" (Ben Noordhuis)
10+
11+
* unix,win: add uv_os_getpid() (Bartosz Sosnowski)
12+
13+
* unix: remove incorrect assertion in uv_shutdown() (Jameson Nash)
14+
15+
* doc: fix IRC URL in CONTRIBUTING.md (Matt Harrison)
16+
17+
18+
2017.11.25, Version 1.17.0 (Stable), 1344d2bb82e195d0eafc0b40ba103f18dfd04cc5
19+
20+
Changes since version 1.16.1:
21+
22+
* unix: avoid malloc() call in uv_spawn() (Ben Noordhuis)
23+
24+
* doc: clarify the description of uv_loop_alive() (Ed Schouten)
25+
26+
* win: map UV_FS_O_EXLOCK to a share mode of 0 (Joran Dirk Greef)
27+
28+
* win: fix build on case-sensitive file systems (Ben Noordhuis)
29+
30+
* win: fix test runner build with mingw64 (Ben Noordhuis)
31+
32+
* win: remove unused variable in test/test-fs.c (Ben Noordhuis)
33+
34+
* zos: add strnlen() implementation (jBarz)
35+
36+
* unix: keep track of bound sockets sent via spawn (jBarz)
37+
38+
* unix,win: wait for threads to start (Ben Noordhuis)
39+
40+
* test: add threadpool init/teardown test (Bartosz Sosnowski)
41+
42+
* test: avoid malloc() in threadpool test (Ben Noordhuis)
43+
44+
* test: lower number of tasks in threadpool test (Ben Noordhuis)
45+
46+
* win: issue memory barrier in uv_thread_join() (Ben Noordhuis)
47+
48+
* ibmi: add support for new platform (Xu Meng)
49+
50+
* test: fix test-spawn compilation (Bartosz Sosnowski)
51+
52+
153
2017.11.11, Version 1.16.1 (Stable), 4056fbe46493ef87237e307e0025e551db875e13
254

355
Changes since version 1.16.0:

deps/uv/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ libuv_la_CFLAGS += -D_ALL_SOURCE \
329329
-D_THREAD_SAFE \
330330
-DHAVE_SYS_AHAFS_EVPRODS_H
331331
include_HEADERS += include/uv-aix.h
332-
libuv_la_SOURCES += src/unix/aix.c
332+
libuv_la_SOURCES += src/unix/aix.c src/unix/aix-common.c
333333
endif
334334

335335
if ANDROID

deps/uv/appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: v1.16.1.build{build}
1+
version: v1.18.0.build{build}
22

33
init:
44
- git config --global core.autocrlf true

deps/uv/checksparse.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,18 @@ case `uname -s` in
177177
AIX)
178178
SPARSE_FLAGS="$SPARSE_FLAGS -D_AIX=1"
179179
SOURCES="$SOURCES
180+
src/unix/aix-common.c
180181
src/unix/aix.c"
181182
;;
183+
OS400)
184+
SPARSE_FLAGS="$SPARSE_FLAGS -D_PASE=1"
185+
SOURCES="$SOURCES
186+
src/unix/aix-common.c
187+
src/unix/ibmi.c
188+
src/unix/posix-poll.c
189+
src/unix/no-fsevents.c
190+
src/unix/no-proctitle.c"
191+
;;
182192
Darwin)
183193
SPARSE_FLAGS="$SPARSE_FLAGS -D__APPLE__=1"
184194
SOURCES="$SOURCES

deps/uv/configure.ac

Lines changed: 1 addition & 1 deletion
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.16.1], [https://github.com/libuv/libuv/issues])
16+
AC_INIT([libuv], [1.18.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/fs.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,9 @@ File open constants
409409
Atomically obtain an exclusive lock.
410410
411411
.. note::
412-
`UV_FS_O_EXLOCK` is only supported on macOS.
412+
`UV_FS_O_EXLOCK` is only supported on macOS and Windows.
413+
414+
.. versionchanged:: 1.17.0 support is added for Windows.
413415
414416
.. c:macro:: UV_FS_O_NOATIME
415417

deps/uv/docs/src/loop.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ API
109109
110110
.. c:function:: int uv_loop_alive(const uv_loop_t* loop)
111111
112-
Returns non-zero if there are active handles or request in the loop.
112+
Returns non-zero if there are referenced active handles, active
113+
requests or closing handles in the loop.
113114
114115
.. c:function:: void uv_stop(uv_loop_t* loop)
115116

deps/uv/docs/src/misc.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,12 @@ API
227227
On Windows not all fields are set, the unsupported fields are filled with zeroes.
228228
See :c:type:`uv_rusage_t` for more details.
229229
230+
.. c:function:: uv_pid_t uv_os_getpid(void)
231+
232+
Returns the current process ID.
233+
234+
.. versionadded:: 1.18.0
235+
230236
.. c:function:: uv_pid_t uv_os_getppid(void)
231237
232238
Returns the parent process ID.

0 commit comments

Comments
 (0)