Skip to content

Commit 962f96d

Browse files
committed
deps: update libuv to v0.11.23
1 parent 95dbb6b commit 962f96d

82 files changed

Lines changed: 1807 additions & 310 deletions

Some content is hidden

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

deps/uv/.mailmap

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ Brandon Philips <brandon.philips@rackspace.com> <brandon@ifup.org>
66
Brian White <mscdex@mscdex.net>
77
Brian White <mscdex@mscdex.net> <mscdex@gmail.com>
88
Christoph Iserlohn <christoph.iserlohn@innoq.com>
9+
Fedor Indutny <fedor.indutny@gmail.com> <fedor@indutny.com>
910
Frank Denis <github@pureftpd.org>
1011
Isaac Z. Schlueter <i@izs.me>
11-
Keno Fischer <kenof@stanford.edu> <kfischer+github@college.harvard.edu>
12+
Justin Venus <justin.venus@gmail.com> <justin.venus@orbitz.com>
1213
Keno Fischer <kenof@stanford.edu> <kfischer@college.harvard.edu>
14+
Keno Fischer <kenof@stanford.edu> <kfischer+github@college.harvard.edu>
1315
Maciej Małecki <maciej.malecki@notimplemented.org> <me@mmalecki.com>
1416
Marc Schlaich <marc.schlaich@googlemail.com> <marc.schlaich@gmail.com>
1517
Rasmus Pedersen <ruysch@outlook.com> <zerhacken@yahoo.com>

deps/uv/AUTHORS

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,39 @@ Oleg Efimov <o.efimov@corp.badoo.com>
125125
Lars Gierth <larsg@systemli.org>
126126
rcp <zerhacken@yahoo.com>
127127
Alexis Campailla <alexis@janeasystems.com>
128+
Justin Venus <justin.venus@gmail.com>
129+
Ben Kelly <ben@wanderview.com>
130+
Kristian Evensen <kristian.evensen@gmail.com>
131+
Sean Silva <chisophugis@gmail.com>
132+
Linus Mårtensson <linus.martensson@sonymobile.com>
133+
Navaneeth Kedaram Nambiathan <navaneethkn@gmail.com>
134+
Brent Cook <brent@boundary.com>
135+
Brian Kaisner <bkize1@gmail.com>
136+
Reini Urban <rurban@cpanel.net>
137+
Maks Naumov <maksqwe1@ukr.net>
138+
Sean Farrell <sean.farrell@rioki.org>
139+
Christoph Iserlohn <christoph.iserlohn@innoq.com>
140+
Steven Kabbes <stevenkabbes@gmail.com>
141+
Tenor Biel <tenorbiel@gmail.com>
142+
Andrej Manduch <AManduch@gmail.com>
143+
Joshua Neuheisel <joshua@neuheisel.us>
144+
Yorkie <yorkiefixer@gmail.com>
145+
Sam Roberts <vieuxtech@gmail.com>
146+
River Tarnell <river@loreley.flyingparchment.org.uk>
147+
Nathan Sweet <nathanjsweet@gmail.com>
148+
Dylan Cali <calid1984@gmail.com>
149+
Austin Foxley <austinf@cetoncorp.com>
150+
Geoffry Song <goffrie@gmail.com>
151+
Benjamin Saunders <ben.e.saunders@gmail.com>
152+
Rasmus Pedersen <ruysch@outlook.com>
153+
William Light <wrl@illest.net>
154+
Oleg Efimov <o.efimov@corp.badoo.com>
155+
Lars Gierth <larsg@systemli.org>
128156
StarWing <weasley.wx@gmail.com>
129157
thierry-FreeBSD <thierry@FreeBSD.org>
130158
Isaiah Norton <isaiah.norton@gmail.com>
131159
Raul Martins <raulms.martins@gmail.com>
132160
David Capello <davidcapello@gmail.com>
133161
Paul Tan <pyokagan@gmail.com>
162+
Javier Hernández <jhernandez@emergya.com>
163+
Tonis Tiigi <tonistiigi@gmail.com>

deps/uv/ChangeLog

Lines changed: 61 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,64 @@
1-
2014.03.11, Version 0.11.22 (Unstable)
1+
2014.04.07, Version 0.11.23 (Unstable)
2+
3+
Changes since version 0.11.22:
4+
5+
* fs: avoid using readv/writev where possible (Fedor Indutny)
6+
7+
* mingw: fix build with autotools (Saúl Ibarra Corretgé)
8+
9+
* bsd: support IPv6 qualified link-local addresses (Saúl Ibarra Corretgé)
10+
11+
* unix: add UV_HANDLE_IPV6 flag to tcp and udp handles (Saúl Ibarra Corretgé)
12+
13+
* unix, windows: do not set SO_REUSEADDR by default on udp (Saúl Ibarra
14+
Corretgé)
15+
16+
* windows: fix check in uv_tty_endgame() (Maks Naumov)
17+
18+
* unix, windows: add IPv6 support for uv_udp_multicast_interface (Saúl Ibarra
19+
Corretgé)
20+
21+
* unix: fallback to blocking writes if reopening a tty fails (Saúl Ibarra
22+
Corretgé)
23+
24+
* unix: fix handling uv__open_cloexec failure (Saúl Ibarra Corretgé)
25+
26+
* unix, windows: add IPv6 support to uv_udp_set_membership (Saúl Ibarra
27+
Corretgé)
28+
29+
* unix, windows: removed unused status parameter (Saúl Ibarra Corretgé)
30+
31+
* android: add support of ifaddrs in android (Javier Hernández)
32+
33+
* build: fix SunOS and AIX build with autotools (Saúl Ibarra Corretgé)
34+
35+
* build: freebsd link with libelf if dtrace enabled (Saúl Ibarra Corretgé)
36+
37+
* stream: do not leak `alloc_cb` buffers on error (Fedor Indutny)
38+
39+
* unix: fix setting written size on uv_wd (Saúl Ibarra Corretgé)
40+
41+
42+
2014.04.07, Version 0.10.26 (Stable), d864907611c25ec986c5e77d4d6d6dee88f26926
43+
44+
Changes since version 0.10.25:
45+
46+
* process: don't close stdio fds during spawn (Tonis Tiigi)
47+
48+
* build, windows: do not fail on Windows SDK Prompt (Marc Schlaich)
49+
50+
* build, windows: fix x64 configuration issue (Marc Schlaich)
51+
52+
* win: fix buffer leak on error in pipe.c (Fedor Indutny)
53+
54+
* kqueue: invalidate fd in uv_fs_event_t (Fedor Indutny)
55+
56+
* linux: always deregister closing fds from epoll (Geoffry Song)
57+
58+
* error: add ENXIO for O_NONBLOCK FIFO open() (Fedor Indutny)
59+
60+
61+
2014.03.11, Version 0.11.22 (Unstable), cd0c19b1d3c56acf0ade7687006e12e75fbda36d
262

363
Changes since version 0.11.21:
464

deps/uv/LICENSE

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,7 @@ The externally maintained libraries used by libuv are:
4040

4141
- pthread-fixes.h, pthread-fixes.c, copyright Google Inc. and Sony Mobile
4242
Communications AB. Three clause BSD license.
43+
44+
- android-ifaddrs.h, android-ifaddrs.c, copyright Berkeley Software Design
45+
Inc, Kenneth MacKay and Emergya (Cloud4all, FP7/2007-2013, grant agreement
46+
n° 289016). Three clause BSD license.

deps/uv/Makefile.am

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ endif # WINNT
106106

107107
TESTS = test/run-tests
108108
check_PROGRAMS = test/run-tests
109+
test_run_tests_CFLAGS =
109110
test_run_tests_SOURCES = test/blackhole-server.c \
110111
test/dns-server.c \
111112
test/echo-server.c \
@@ -199,10 +200,13 @@ test_run_tests_SOURCES = test/blackhole-server.c \
199200
test/test-timer-from-check.c \
200201
test/test-timer.c \
201202
test/test-tty.c \
203+
test/test-udp-bind.c \
202204
test/test-udp-dgram-too-big.c \
203205
test/test-udp-ipv6.c \
204206
test/test-udp-multicast-interface.c \
207+
test/test-udp-multicast-interface6.c \
205208
test/test-udp-multicast-join.c \
209+
test/test-udp-multicast-join6.c \
206210
test/test-udp-multicast-ttl.c \
207211
test/test-udp-open.c \
208212
test/test-udp-options.c \
@@ -219,13 +223,25 @@ test_run_tests_SOURCES += test/runner-unix.c \
219223
test/runner-unix.h
220224
endif
221225

226+
if AIX
227+
test_run_tests_CFLAGS += -D_ALL_SOURCE -D_XOPEN_SOURCE=500
228+
endif
229+
230+
if SUNOS
231+
test_run_tests_CFLAGS += -D__EXTENSIONS__ -D_XOPEN_SOURCE=500
232+
endif
222233

223234

224235
if AIX
225236
libuv_la_CFLAGS += -D_ALL_SOURCE -D_XOPEN_SOURCE=500
226237
libuv_la_SOURCES += src/unix/aix.c
227238
endif
228239

240+
if ANDROID
241+
include_HEADERS += include/android-ifaddrs.h
242+
libuv_la_SOURCES += src/unix/android-ifaddrs.c
243+
endif
244+
229245
if DARWIN
230246
include_HEADERS += include/uv-darwin.h
231247
libuv_la_CFLAGS += -D_DARWIN_USE_64_BIT_INODE=1
@@ -269,6 +285,9 @@ endif
269285
if HAVE_DTRACE
270286
BUILT_SOURCES = include/uv-dtrace.h
271287
CLEANFILES += include/uv-dtrace.h
288+
if FREEBSD
289+
libuv_la_LDFLAGS += -lelf
290+
endif
272291
endif
273292

274293
if DTRACE_NEEDS_OBJECTS

deps/uv/configure.ac

Lines changed: 10 additions & 9 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], [0.11.22], [https://github.com/joyent/libuv/issues])
16+
AC_INIT([libuv], [0.11.23], [https://github.com/joyent/libuv/issues])
1717
AC_CONFIG_MACRO_DIR([m4])
1818
m4_include([m4/libuv-extra-automake-flags.m4])
1919
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects] UV_EXTRA_AUTOMAKE_FLAGS)
@@ -37,14 +37,15 @@ AC_CHECK_LIB([rt], [clock_gettime])
3737
AC_CHECK_LIB([sendfile], [sendfile])
3838
AC_CHECK_LIB([socket], [socket])
3939
AC_SYS_LARGEFILE
40-
AM_CONDITIONAL([AIX], [AS_CASE([$host_os], [aix*], [true], [false])])
41-
AM_CONDITIONAL([DARWIN], [AS_CASE([$host_os], [darwin*], [true], [false])])
42-
AM_CONDITIONAL([FREEBSD], [AS_CASE([$host_os], [freebsd*], [true], [false])])
43-
AM_CONDITIONAL([LINUX], [AS_CASE([$host_os], [linux*], [true], [false])])
44-
AM_CONDITIONAL([NETBSD], [AS_CASE([$host_os], [netbsd*], [true], [false])])
45-
AM_CONDITIONAL([OPENBSD], [AS_CASE([$host_os], [openbsd*], [true], [false])])
46-
AM_CONDITIONAL([SUNOS], [AS_CASE([$host_os], [solaris*], [true], [false])])
47-
AM_CONDITIONAL([WINNT], [AS_CASE([$host_os], [mingw*], [true], [false])])
40+
AM_CONDITIONAL([AIX], [AS_CASE([$host_os],[aix*], [true], [false])])
41+
AM_CONDITIONAL([ANDROID],[AS_CASE([$host_os],[linux-android*],[true], [false])])
42+
AM_CONDITIONAL([DARWIN], [AS_CASE([$host_os],[darwin*], [true], [false])])
43+
AM_CONDITIONAL([FREEBSD],[AS_CASE([$host_os],[freebsd*], [true], [false])])
44+
AM_CONDITIONAL([LINUX], [AS_CASE([$host_os],[linux*], [true], [false])])
45+
AM_CONDITIONAL([NETBSD], [AS_CASE([$host_os],[netbsd*], [true], [false])])
46+
AM_CONDITIONAL([OPENBSD],[AS_CASE([$host_os],[openbsd*], [true], [false])])
47+
AM_CONDITIONAL([SUNOS], [AS_CASE([$host_os],[solaris*], [true], [false])])
48+
AM_CONDITIONAL([WINNT], [AS_CASE([$host_os],[mingw*], [true], [false])])
4849
PANDORA_ENABLE_DTRACE
4950
AC_CHECK_PROG(PKG_CONFIG, pkg-config, yes)
5051
AM_CONDITIONAL([HAVE_PKG_CONFIG], [test "x$PKG_CONFIG" != "x"])

deps/uv/include/android-ifaddrs.h

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
/*
2+
* Copyright (c) 1995, 1999
3+
* Berkeley Software Design, Inc. All rights reserved.
4+
*
5+
* Redistribution and use in source and binary forms, with or without
6+
* modification, are permitted provided that the following conditions
7+
* are met:
8+
* 1. Redistributions of source code must retain the above copyright
9+
* notice, this list of conditions and the following disclaimer.
10+
*
11+
* THIS SOFTWARE IS PROVIDED BY Berkeley Software Design, Inc. ``AS IS'' AND
12+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
13+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
14+
* ARE DISCLAIMED. IN NO EVENT SHALL Berkeley Software Design, Inc. BE LIABLE
15+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
16+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
17+
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
18+
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
19+
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
20+
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
21+
* SUCH DAMAGE.
22+
*
23+
* BSDI ifaddrs.h,v 2.5 2000/02/23 14:51:59 dab Exp
24+
*/
25+
26+
#ifndef _IFADDRS_H_
27+
#define _IFADDRS_H_
28+
29+
struct ifaddrs {
30+
struct ifaddrs *ifa_next;
31+
char *ifa_name;
32+
unsigned int ifa_flags;
33+
struct sockaddr *ifa_addr;
34+
struct sockaddr *ifa_netmask;
35+
struct sockaddr *ifa_dstaddr;
36+
void *ifa_data;
37+
};
38+
39+
/*
40+
* This may have been defined in <net/if.h>. Note that if <net/if.h> is
41+
* to be included it must be included before this header file.
42+
*/
43+
#ifndef ifa_broadaddr
44+
#define ifa_broadaddr ifa_dstaddr /* broadcast address interface */
45+
#endif
46+
47+
#include <sys/cdefs.h>
48+
49+
__BEGIN_DECLS
50+
extern int getifaddrs(struct ifaddrs **ifap);
51+
extern void freeifaddrs(struct ifaddrs *ifa);
52+
__END_DECLS
53+
54+
#endif

deps/uv/include/uv-bsd.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,6 @@
3131

3232
#define UV_HAVE_KQUEUE 1
3333

34+
#define UV_PLATFORM_HAS_IP6_LINK_LOCAL_ADDRESS
35+
3436
#endif /* UV_BSD_H */

deps/uv/include/uv-errno.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,4 +400,10 @@
400400
# define UV__ENXIO (-4033)
401401
#endif
402402

403+
#if defined(EMLINK) && !defined(_WIN32)
404+
# define UV__EMLINK (-EMLINK)
405+
#else
406+
# define UV__EMLINK (-4032)
407+
#endif
408+
403409
#endif /* UV_ERRNO_H_ */

deps/uv/include/uv-version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
#define UV_VERSION_MAJOR 0
3434
#define UV_VERSION_MINOR 11
35-
#define UV_VERSION_PATCH 22
35+
#define UV_VERSION_PATCH 23
3636
#define UV_VERSION_IS_RELEASE 1
3737

3838
#endif /* UV_VERSION_H */

0 commit comments

Comments
 (0)