Skip to content

Commit 1ebb0c0

Browse files
saghulMyles Borins
authored andcommitted
deps: upgrade libuv to 1.8.0
Fixes: #3718 PR-URL: #4276 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 2b8a32a commit 1ebb0c0

Some content is hidden

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

73 files changed

+1449
-345
lines changed

deps/uv/AUTHORS

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,3 +225,18 @@ Colin Snover <github.com@zetafleet.com>
225225
Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
226226
Eli Skeggs <skeggse@gmail.com>
227227
nmushell <nmushell@bloomberg.net>
228+
Gireesh Punathil <gpunathi@in.ibm.com>
229+
Ryan Johnston <ryan@mediapixel.co.nz>
230+
Adam Stylinski <stylinae@mail.uc.edu>
231+
Nathan Corvino <nathan@corvino.com>
232+
Wink Saville <wink@saville.com>
233+
Angel Leon <gubatron@gmail.com>
234+
Louis DeJardin <lodejard@microsoft.com>
235+
Imran Iqbal <imrani@ca.ibm.com>
236+
Petka Antonov <petka_antonov@hotmail.com>
237+
Ian Kronquist <iankronquist@teleport.com>
238+
kkdaemon <kkdaemon@gmail.com>
239+
Yuval Brik <yuval@brik.org.il>
240+
Joran Dirk Greef <joran@ronomon.com>
241+
Andrey Mazo <andrey.mazo@fidelissecurity.com>
242+
sztomi <hello.sztomi@gmail.com>

deps/uv/ChangeLog

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,102 @@
1+
2015.12.15, Version 1.8.0 (Stable), 5467299450ecf61635657557b6e01aaaf6c3fdf4
2+
3+
Changes since version 1.7.5:
4+
5+
* unix: fix memory leak in uv_interface_addresses (Jianghua Yang)
6+
7+
* unix: make uv_guess_handle work properly for AIX (Gireesh Punathil)
8+
9+
* fs: undo uv__req_init when uv__malloc failed (Jianghua Yang)
10+
11+
* build: remove unused 'component' GYP option (Saúl Ibarra Corretgé)
12+
13+
* include: remove duplicate extern declaration (Jianghua Yang)
14+
15+
* win: use the MSVC provided snprintf where possible (Jason Williams)
16+
17+
* win, test: fix compilation warning (Saúl Ibarra Corretgé)
18+
19+
* win: fix compilation with VS < 2012 (Ryan Johnston)
20+
21+
* stream: support empty uv_try_write on unix (Fedor Indutny)
22+
23+
* unix: fix request handle leak in uv__udp_send (Jianghua Yang)
24+
25+
* src: replace QUEUE_SPLIT with QUEUE_MOVE (Ben Noordhuis)
26+
27+
* unix: use QUEUE_MOVE when iterating over lists (Ben Noordhuis)
28+
29+
* unix: squelch harmless valgrind warning (Ben Noordhuis)
30+
31+
* test: don't abort on setrlimit() failure (Ben Noordhuis)
32+
33+
* unix: only undo fs req registration in async mode (Ben Noordhuis)
34+
35+
* unix: fix uv__getiovmax return value (HungMingWu)
36+
37+
* unix: make work with Solaris Studio. (Adam Stylinski)
38+
39+
* test: fix fs_event_watch_file_currentdir flakiness (Santiago Gimeno)
40+
41+
* unix: skip prohibited syscalls on tvOS and watchOS (Nathan Corvino)
42+
43+
* test: use FQDN in getaddrinfo_fail test (Wink Saville)
44+
45+
* docs: clarify documentation of uv_tcp_init_ex (Andrius Bentkus)
46+
47+
* win: fix comment (Miodrag Milanovic)
48+
49+
* doc: fix typo in README (Angel Leon)
50+
51+
* darwin: abort() if (un)locking fs mutex fails (Ben Noordhuis)
52+
53+
* pipe: enable inprocess uv_write2 on Windows (Louis DeJardin)
54+
55+
* win: properly return UV_EBADF when _close() fails (Nicholas Vavilov)
56+
57+
* test: skip process_title for AIX (Imran Iqbal)
58+
59+
* misc: expose handle print APIs (Petka Antonov)
60+
61+
* include: add stdio.h to uv.h (Saúl Ibarra Corretgé)
62+
63+
* misc: remove unnecessary null pointer checks (Ian Kronquist)
64+
65+
* test,freebsd: skip udp_dual_stack if not supported (Santiago Gimeno)
66+
67+
* linux: don't retry dup2/dup3 on EINTR (Ben Noordhuis)
68+
69+
* unix: don't retry dup2/dup3 on EINTR (Ben Noordhuis)
70+
71+
* test: fix -Wtautological-pointer-compare warnings (Saúl Ibarra Corretgé)
72+
73+
* win: map ERROR_BAD_PATHNAME to UV_ENOENT (Tony Kelman)
74+
75+
* test: fix test/test-tty.c for AIX (Imran Iqbal)
76+
77+
* android: support api level less than 21 (kkdaemon)
78+
79+
* fsevents: fix race on simultaneous init+close (Fedor Indutny)
80+
81+
* linux,fs: fix p{read,write}v with a 64bit offset (Saúl Ibarra Corretgé)
82+
83+
* fs: add uv_fs_realpath() (Yuval Brik)
84+
85+
* win: fix path for removed and renamed fs events (Joran Dirk Greef)
86+
87+
* win: do not read more from stream than available (Jeremy Whitlock)
88+
89+
* test: test that uv_close() doesn't corrupt QUEUE (Andrey Mazo)
90+
91+
* unix: fix uv_fs_event_stop() from fs_event_cb (Andrey Mazo)
92+
93+
* test: fix self-deadlocks in thread_rwlock_trylock (Ben Noordhuis)
94+
95+
* src: remove non ascii character (sztomi)
96+
97+
* test: fix test udp_multicast_join6 for AIX (Imran Iqbal)
98+
99+
1100
2015.09.23, Version 1.7.5 (Stable), a8c1136de2cabf25b143021488cbaab05834daa8
2101

3102
Changes since version 1.7.4:

deps/uv/Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ test_run_tests_SOURCES = test/blackhole-server.c \
200200
test/test-poll-closesocket.c \
201201
test/test-poll.c \
202202
test/test-process-title.c \
203+
test/test-queue-foreach-delete.c \
203204
test/test-ref.c \
204205
test/test-run-nowait.c \
205206
test/test-run-once.c \

deps/uv/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Git tags are signed with the developer's key, they can be verified as follows:
119119
$ git verify-tag v1.6.1
120120

121121
Starting with libuv 1.7.0, the tarballs stored in the
122-
[downloads site](http://dist.libuv.org/dist/) are signed and an accomanying
122+
[downloads site](http://dist.libuv.org/dist/) are signed and an accompanying
123123
signature file sit alongside each. Once both the release tarball and the
124124
signature file are downloaded, the file can be verified as follows:
125125

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

33
install:
44
- cinst -y nsis

deps/uv/common.gypi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
'target_arch%': 'ia32', # set v8's target architecture
55
'host_arch%': 'ia32', # set v8's host architecture
66
'uv_library%': 'static_library', # allow override to 'shared_library' for DLL/.so builds
7-
'component%': 'static_library', # NB. these names match with what V8 expects
87
'msvs_multi_core_compile': '0', # we do enable multicore compiles, but not using the V8 way
98
},
109

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.7.5], [https://github.com/libuv/libuv/issues])
16+
AC_INIT([libuv], [1.8.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: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,16 @@ API
279279
280280
Equivalent to :man:`readlink(2)`.
281281
282+
.. c:function:: int uv_fs_realpath(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb)
283+
284+
Equivalent to :man:`realpath(3)` on Unix. Windows uses ``GetFinalPathNameByHandle()``.
285+
286+
.. note::
287+
This function is not implemented on Windows XP and Windows Server 2003.
288+
On these systems, UV_ENOSYS is returned.
289+
290+
.. versionadded:: 1.8.0
291+
282292
.. c:function:: int uv_fs_chown(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb)
283293
.. c:function:: int uv_fs_fchown(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb)
284294

deps/uv/docs/src/misc.rst

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,3 +288,41 @@ API
288288
.. note::
289289
Not every platform can support nanosecond resolution; however, this value will always
290290
be in nanoseconds.
291+
292+
.. c:function:: void uv_print_all_handles(uv_loop_t* loop, FILE* stream)
293+
294+
Prints all handles associated with the given `loop` to the given `stream`.
295+
296+
Example:
297+
298+
::
299+
300+
uv_print_all_handles(uv_default_loop(), stderr);
301+
/*
302+
[--I] signal 0x1a25ea8
303+
[-AI] async 0x1a25cf0
304+
[R--] idle 0x1a7a8c8
305+
*/
306+
307+
The format is `[flags] handle-type handle-address`. For `flags`:
308+
309+
- `R` is printed for a handle that is referenced
310+
- `A` is printed for a handle that is active
311+
- `I` is printed for a handle that is internal
312+
313+
.. warning::
314+
This function is meant for ad hoc debugging, there is no API/ABI
315+
stability guarantees.
316+
317+
.. versionadded:: 1.8.0
318+
319+
.. c:function:: void uv_print_active_handles(uv_loop_t* loop, FILE* stream)
320+
321+
This is the same as :c:func:`uv_print_all_handles` except only active handles
322+
are printed.
323+
324+
.. warning::
325+
This function is meant for ad hoc debugging, there is no API/ABI
326+
stability guarantees.
327+
328+
.. versionadded:: 1.8.0

deps/uv/docs/src/tcp.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ API
3434
3535
.. c:function:: int uv_tcp_init_ex(uv_loop_t* loop, uv_tcp_t* handle, unsigned int flags)
3636
37-
Initialize the handle with the specified flags. At the moment the lower 8 bits
37+
Initialize the handle with the specified flags. At the moment only the lower 8 bits
3838
of the `flags` parameter are used as the socket domain. A socket will be created
3939
for the given domain. If the specified domain is ``AF_UNSPEC`` no socket is created,
4040
just like :c:func:`uv_tcp_init`.

0 commit comments

Comments
 (0)