Skip to content

Commit 445794e

Browse files
cjihrigitaloacasas
authored andcommitted
deps: upgrade libuv to 1.11.0
Fixes: #10165 Fixes: #9856 Fixes: #10607 Fixes: #11104 PR-URL: #11094 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Santiago Gimeno <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
1 parent 540dca1 commit 445794e

38 files changed

+1589
-198
lines changed

deps/uv/.mailmap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
22
33
4+
45
56
Bert Belder <[email protected]> <user@ChrUbuntu.(none)>
67

deps/uv/AUTHORS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,3 +279,8 @@ Philippe Laferriere <[email protected]>
279279
Will Speak <[email protected]>
280280
Hitesh Kanwathirtha <[email protected]>
281281
Eric Sciple <[email protected]>
282+
283+
284+
Daniel Bevenius <[email protected]>
285+
Howard Hellyer <[email protected]>
286+
Chris Araman <[email protected]>

deps/uv/ChangeLog

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
1+
2017.02.02, Version 1.11.0 (Stable), 7452ef4e06a4f99ee26b694c65476401534f2725
2+
3+
Changes since version 1.10.2:
4+
5+
* Now working on version 1.10.3 (cjihrig)
6+
7+
* win: added fcntl.h to uv-win.h (Michele Caini)
8+
9+
* unix: move function call out of assert (jBarz)
10+
11+
* fs: cleanup uv__fs_scandir (Santiago Gimeno)
12+
13+
* fs: fix crash in uv_fs_scandir_next (muflub)
14+
15+
* win,signal: fix potential deadlock (Bartosz Sosnowski)
16+
17+
* unix: use async-signal safe functions between fork and exec (jBarz)
18+
19+
* sunos: fix SUNOS_NO_IFADDRS build (Ben Noordhuis)
20+
21+
* zos: make platform functional (John Barboza)
22+
23+
* doc: add repitition qualifier to version regexs (Daniel Bevenius)
24+
25+
* zos: use gyp OS label "os390" on z/OS (John Barboza)
26+
27+
* aix: enable uv_get/set_process_title (Howard Hellyer)
28+
29+
* zos: use built-in proctitle implementation (John Barboza)
30+
31+
* Revert "darwin: use clock_gettime in macOS 10.12" (Chris Araman)
32+
33+
* win,test: don't write uninitialized buffer to tty (Bert Belder)
34+
35+
* win: define ERROR_ELEVATION_REQUIRED for MinGW (Richard Lau)
36+
37+
* aix: re-enable fs watch facility (Gireesh Punathil)
38+
39+
140
2017.01.10, Version 1.10.2 (Stable), cb9f579a454b8db592030ffa274ae58df78dbe20
241

342
Changes since version 1.10.1:

deps/uv/Makefile.am

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,11 @@ test_run_tests_CFLAGS += -D_UNIX03_THREADS \
316316
endif
317317

318318
if AIX
319-
libuv_la_CFLAGS += -D_ALL_SOURCE -D_XOPEN_SOURCE=500 -D_LINUX_SOURCE_COMPAT -D_THREAD_SAFE
319+
libuv_la_CFLAGS += -D_ALL_SOURCE \
320+
-D_XOPEN_SOURCE=500 \
321+
-D_LINUX_SOURCE_COMPAT \
322+
-D_THREAD_SAFE \
323+
-DHAVE_SYS_AHAFS_EVPRODS_H
320324
include_HEADERS += include/uv-aix.h
321325
libuv_la_SOURCES += src/unix/aix.c
322326
endif
@@ -402,8 +406,10 @@ libuv_la_CFLAGS += -D_UNIX03_THREADS \
402406
-qFLOAT=IEEE
403407
libuv_la_LDFLAGS += -qXPLINK
404408
libuv_la_SOURCES += src/unix/pthread-fixes.c \
405-
src/unix/pthread-barrier.c
406-
libuv_la_SOURCES += src/unix/os390.c
409+
src/unix/pthread-barrier.c \
410+
src/unix/os390.c \
411+
src/unix/os390-syscalls.c \
412+
src/unix/proctitle.c
407413
endif
408414

409415
if HAVE_PKG_CONFIG

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.10.2.build{build}
1+
version: v1.11.0.build{build}
22

33
install:
44
- cinst -y nsis

deps/uv/common.gypi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
'OTHER_CFLAGS': [ '-Wno-strict-aliasing' ],
3636
},
3737
'conditions': [
38-
['OS != "zos"', {
38+
['OS != "os390"', {
3939
'cflags': [ '-O0', '-fwrapv' ]
4040
}],
4141
['OS == "android"', {
@@ -154,7 +154,7 @@
154154
'cflags': [ '-pthreads' ],
155155
'ldflags': [ '-pthreads' ],
156156
}],
157-
[ 'OS not in "solaris android zos"', {
157+
[ 'OS not in "solaris android os390"', {
158158
'cflags': [ '-pthread' ],
159159
'ldflags': [ '-pthread' ],
160160
}],

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.10.2], [https://github.com/libuv/libuv/issues])
16+
AC_INIT([libuv], [1.11.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/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ def get_libuv_version():
2121
with open('../../include/uv-version.h') as f:
2222
data = f.read()
2323
try:
24-
m = re.search(r"""^#define UV_VERSION_MAJOR (\d)$""", data, re.MULTILINE)
24+
m = re.search(r"""^#define UV_VERSION_MAJOR (\d+)$""", data, re.MULTILINE)
2525
major = int(m.group(1))
26-
m = re.search(r"""^#define UV_VERSION_MINOR (\d)$""", data, re.MULTILINE)
26+
m = re.search(r"""^#define UV_VERSION_MINOR (\d+)$""", data, re.MULTILINE)
2727
minor = int(m.group(1))
28-
m = re.search(r"""^#define UV_VERSION_PATCH (\d)$""", data, re.MULTILINE)
28+
m = re.search(r"""^#define UV_VERSION_PATCH (\d+)$""", data, re.MULTILINE)
2929
patch = int(m.group(1))
3030
m = re.search(r"""^#define UV_VERSION_IS_RELEASE (\d)$""", data, re.MULTILINE)
3131
is_release = int(m.group(1))

deps/uv/docs/src/misc.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,11 @@ API
192192
193193
.. c:function:: int uv_set_process_title(const char* title)
194194
195-
Sets the current process title.
195+
Sets the current process title. On platforms with a fixed size buffer for the
196+
process title the contents of `title` will be copied to the buffer and
197+
truncated if larger than the available space. Other platforms will return
198+
`UV_ENOMEM` if they cannot allocate enough space to duplicate the contents of
199+
`title`.
196200
197201
.. c:function:: int uv_resident_set_memory(size_t* rss)
198202

deps/uv/include/pthread-barrier.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1818
#define _UV_PTHREAD_BARRIER_
1919
#include <errno.h>
2020
#include <pthread.h>
21+
#if !defined(__MVS__)
2122
#include <semaphore.h> /* sem_t */
23+
#endif
2224

2325
#define PTHREAD_BARRIER_SERIAL_THREAD 0x12345
2426

0 commit comments

Comments
 (0)