Skip to content

Commit eaed2a1

Browse files
committed
deps: update libuv to 1.2.0
PR-URL: #237 Reviewed-By: Bert Belder <[email protected]> Reviewed-By: Saúl Ibarra Corretgé <[email protected]>
1 parent 94e1475 commit eaed2a1

Some content is hidden

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

64 files changed

+1313
-716
lines changed

‎deps/uv/.gitignore‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ vgcore.*
3434
Makefile
3535
Makefile.in
3636

37-
# Generated by dtrace(1) when doing an in-tree build.
38-
/include/uv-dtrace.h
39-
4037
# Generated by gyp for android
4138
*.target.mk
4239

@@ -52,7 +49,10 @@ Makefile.in
5249
/test/run-benchmarks.dSYM
5350

5451
*.sln
52+
*.sln.cache
53+
*.ncb
5554
*.vcproj
55+
*.vcproj*.user
5656
*.vcxproj
5757
*.vcxproj.filters
5858
*.vcxproj.user

‎deps/uv/.mailmap‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,8 @@ Keno Fischer <[email protected]> <[email protected]>
1717
1818
1919
20-
Rasmus Christian Pedersen <[email protected]>
21-
Rasmus Christian Pedersen <[email protected]>
22-
Rasmus Christian Pedersen <[email protected]>
23-
Rasmus Christian Pedersen <[email protected]>
20+
Rasmus Christian Pedersen <[email protected]>
2421
Rasmus Christian Pedersen <[email protected]> <[email protected]>
25-
2622
2723
2824
Ryan Emery <[email protected]>

‎deps/uv/AUTHORS‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,3 +173,7 @@ Michael Ira Krufky <[email protected]>
173173
Helge Deller <[email protected]>
174174
Joey Geralnik <[email protected]>
175175
Tim Caswell <[email protected]>
176+
Logan Rosen <[email protected]>
177+
Kenneth Perry <[email protected]>
178+
John Marino <[email protected]>
179+
Alexey Melnichuk <[email protected]>

‎deps/uv/ChangeLog‎

Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,152 @@
1+
2015.01.06, Version 1.2.0 (Stable)
2+
3+
Changes since version 1.1.0:
4+
5+
* linux: fix epoll_pwait() sigmask size calculation (Ben Noordhuis)
6+
7+
* tty: implement binary I/O terminal mode (Yuri D'Elia)
8+
9+
* test: fix spawn test with autotools build (Ben Noordhuis)
10+
11+
* test: skip ipv6 tests when ipv6 is not supported (Ben Noordhuis)
12+
13+
* common: move STATIC_ASSERT to uv-common.h (Alexey Melnichuk)
14+
15+
* win/thread: store thread handle in a TLS slot (Alexey Melnichuk)
16+
17+
* unix: fix ttl, multicast ttl and loop options on IPv6 (Saúl Ibarra Corretgé)
18+
19+
* linux: fix support for preadv/pwritev-less kernels (Ben Noordhuis)
20+
21+
* unix: make uv_exepath(size=0) return UV_EINVAL (Ben Noordhuis)
22+
23+
* darwin: fix uv_exepath(smallbuf) UV_EPERM error (Ben Noordhuis)
24+
25+
* openbsd: fix uv_exepath(smallbuf) UV_EINVAL error (Ben Noordhuis)
26+
27+
* linux: fix uv_exepath(size=1) UV_EINVAL error (Ben Noordhuis)
28+
29+
* sunos: preemptively fix uv_exepath(size=1) (Ben Noordhuis)
30+
31+
* win: fix and clarify comments in winapi.h (Bert Belder)
32+
33+
* win: make available NtQueryDirectoryFile (Bert Belder)
34+
35+
* win: add definitions for directory information types (Bert Belder)
36+
37+
* win: use NtQueryDirectoryFile to implement uv_fs_scandir (Bert Belder)
38+
39+
* unix: don't unlink unix socket on bind error (Ben Noordhuis)
40+
41+
* build: fix bad comment in autogen.sh (Ben Noordhuis)
42+
43+
* build: add AC_PROG_LIBTOOL to configure.ac (Ben Noordhuis)
44+
45+
* test: skip udp_options6 if there no IPv6 support (Saúl Ibarra Corretgé)
46+
47+
* win: add definitions for MUI errors mingw lacks (Bert Belder)
48+
49+
* build: enable warnings in autotools build (Ben Noordhuis)
50+
51+
* build: remove -Wno-dollar-in-identifier-extension (Ben Noordhuis)
52+
53+
* build: move flags from Makefile.am to configure.ac (Ben Noordhuis)
54+
55+
56+
2015.01.06, Version 0.10.32 (Stable), 378de30c59aef5fdb6d130fa5cfcb0a68fce571c
57+
58+
Changes since version 0.10.31:
59+
60+
* linux: fix epoll_pwait() sigmask size calculation (Ben Noordhuis)
61+
62+
63+
2014.12.25, Version 1.1.0 (Stable), 9572f3e74a167f59a8017e57ca3ebe91ffd88e18
64+
65+
Changes since version 1.0.2:
66+
67+
* test: test that closing a poll handle doesn't corrupt the stack (Bert Belder)
68+
69+
* win: fix compilation of tests (Marc Schlaich)
70+
71+
* Revert "win: keep a reference to AFD_POLL_INFO in cancel poll" (Bert Belder)
72+
73+
* win: avoid stack corruption when closing a poll handle (Bert Belder)
74+
75+
* test: fix test-fs-file-loop on Windows (Bert Belder)
76+
77+
* test: fix test-cwd-and-chdir (Bert Belder)
78+
79+
* doc: indicate what version uv_loop_configure was added on (Saúl Ibarra
80+
Corretgé)
81+
82+
* doc: fix sphinx warning (Saúl Ibarra Corretgé)
83+
84+
* test: skip spawn_setuid_setgid if we get EACCES (Saúl Ibarra Corretgé)
85+
86+
* test: silence some Clang warnings (Saúl Ibarra Corretgé)
87+
88+
* test: relax osx_select_many_fds (Saúl Ibarra Corretgé)
89+
90+
* test: fix compilation warnings when building with Clang (Saúl Ibarra
91+
Corretgé)
92+
93+
* win: fix autotools build of tests (Luis Lavena)
94+
95+
* gitignore: ignore Visual Studio files (Marc Schlaich)
96+
97+
* win: set fallback message if FormatMessage fails (Marc Schlaich)
98+
99+
* win: fall back to default language in uv_dlerror (Marc Schlaich)
100+
101+
* test: improve compatibility for dlerror test (Marc Schlaich)
102+
103+
* test: check dlerror is "no error" in no error case (Marc Schlaich)
104+
105+
* unix: change uv_cwd not to return a trailing slash (Saúl Ibarra Corretgé)
106+
107+
* test: fix cwd_and_chdir test on Unix (Saúl Ibarra Corretgé)
108+
109+
* test: add uv_cwd output to platform_output test (Saúl Ibarra Corretgé)
110+
111+
* build: fix dragonflybsd autotools build (John Marino)
112+
113+
* win: scandir use 'ls' for formatting long strings (Kenneth Perry)
114+
115+
* build: remove clang and gcc_version gyp defines (Ben Noordhuis)
116+
117+
* unix, windows: don't treat uv_run_mode as a bitmask (Saúl Ibarra Corretgé)
118+
119+
* unix, windows: fix UV_RUN_ONCE mode if progress was made (Saúl Ibarra
120+
Corretgé)
121+
122+
123+
2014.12.25, Version 0.10.31 (Stable), 4dbd27e2219069a6daa769fb37f98673b77b4261
124+
125+
Changes since version 0.10.30:
126+
127+
* test: test that closing a poll handle doesn't corrupt the stack (Bert Belder)
128+
129+
* win: fix compilation of tests (Marc Schlaich)
130+
131+
* Revert "win: keep a reference to AFD_POLL_INFO in cancel poll" (Bert Belder)
132+
133+
* win: avoid stack corruption when closing a poll handle (Bert Belder)
134+
135+
* gitignore: ignore Visual Studio files (Marc Schlaich)
136+
137+
* win: set fallback message if FormatMessage fails (Marc Schlaich)
138+
139+
* win: fall back to default language in uv_dlerror (Marc Schlaich)
140+
141+
* test: improve compatibility for dlerror test (Marc Schlaich)
142+
143+
* test: check dlerror is "no error" in no error case (Marc Schlaich)
144+
145+
* build: link against -pthread (Logan Rosen)
146+
147+
* win: scandir use 'ls' for formatting long strings (Kenneth Perry)
148+
149+
1150
2014.12.10, Version 1.0.2 (Stable), eec671f0059953505f9a3c9aeb7f9f31466dd7cd
2151

3152
Changes since version 1.0.1:

‎deps/uv/Makefile.am‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ libuv_la_SOURCES = src/fs-poll.c \
3434
src/version.c
3535

3636
if SUNOS
37+
# Can't be turned into a CC_CHECK_CFLAGS in configure.ac, it makes compilers
38+
# on other platforms complain that the argument is unused during compilation.
3739
libuv_la_CFLAGS += -pthread
3840
endif
3941

@@ -81,7 +83,6 @@ else # WINNT
8183

8284
include_HEADERS += include/uv-unix.h
8385
AM_CPPFLAGS += -I$(top_srcdir)/src/unix
84-
libuv_la_CFLAGS += -g --std=gnu89 -pedantic -Wall -Wextra -Wno-unused-parameter
8586
libuv_la_SOURCES += src/unix/async.c \
8687
src/unix/atomic-ops.h \
8788
src/unix/core.c \
@@ -159,6 +160,7 @@ test_run_tests_SOURCES = test/blackhole-server.c \
159160
test/test-loop-close.c \
160161
test/test-loop-stop.c \
161162
test/test-loop-time.c \
163+
test/test-loop-configure.c \
162164
test/test-multiple-listen.c \
163165
test/test-mutexes.c \
164166
test/test-osx-select.c \
@@ -172,6 +174,7 @@ test_run_tests_SOURCES = test/blackhole-server.c \
172174
test/test-pipe-close-stdout-read-stdin.c \
173175
test/test-platform-output.c \
174176
test/test-poll-close.c \
177+
test/test-poll-close-doesnt-corrupt-stack.c \
175178
test/test-poll-closesocket.c \
176179
test/test-poll.c \
177180
test/test-process-title.c \
@@ -274,7 +277,6 @@ endif
274277

275278
if DRAGONFLY
276279
include_HEADERS += include/uv-bsd.h
277-
libuv_la_SOURCES += src/unix/kqueue.c src/unix/freebsd.c
278280
endif
279281

280282
if FREEBSD

‎deps/uv/autogen.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ UV_EXTRA_AUTOMAKE_FLAGS=
3333
iftest"$automake_version_major" -gt 1 || \
3434
test"$automake_version_major" -eq 1 && \
3535
test"$automake_version_minor" -gt 11;then
36-
# serial-tests is available in v0.12 and newer.
36+
# serial-tests is available in v1.12 and newer.
3737
UV_EXTRA_AUTOMAKE_FLAGS="$UV_EXTRA_AUTOMAKE_FLAGS serial-tests"
3838
fi
3939
echo"m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [$UV_EXTRA_AUTOMAKE_FLAGS])" \

‎deps/uv/common.gypi‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
'uv_library%': 'static_library', # allow override to 'shared_library' for DLL/.so builds
77
'component%': 'static_library', # NB. these names match with what V8 expects
88
'msvs_multi_core_compile': '0', # we do enable multicore compiles, but not using the V8 way
9-
'gcc_version%': 'unknown',
10-
'clang%': 0,
119
},
1210

1311
'target_defaults':{
@@ -158,7 +156,7 @@
158156
'cflags': [ '-pthread' ],
159157
'ldflags': [ '-pthread' ],
160158
}],
161-
[ 'visibility=="hidden" and (clang==1 or gcc_version >= 40)',{
159+
[ 'visibility=="hidden"',{
162160
'cflags': [ '-fvisibility=hidden' ],
163161
}],
164162
],

‎deps/uv/configure.ac‎

Lines changed: 9 additions & 2 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], [1.0.2], [https://github.com/libuv/libuv/issues])
16+
AC_INIT([libuv], [1.2.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])
@@ -24,9 +24,16 @@ AC_ENABLE_SHARED
2424
AC_ENABLE_STATIC
2525
AC_PROG_CC
2626
AM_PROG_CC_C_O
27-
CC_CHECK_CFLAGS_APPEND([-Wno-dollar-in-identifier-extension])
27+
CC_CHECK_CFLAGS_APPEND([-g])
28+
CC_CHECK_CFLAGS_APPEND([-std=gnu89])
29+
CC_CHECK_CFLAGS_APPEND([-pedantic])
30+
CC_CHECK_CFLAGS_APPEND([-Wall])
31+
CC_CHECK_CFLAGS_APPEND([-Wextra])
32+
CC_CHECK_CFLAGS_APPEND([-Wno-unused-parameter])
2833
# AM_PROG_AR is not available in automake v0.11 but it's essential in v0.12.
2934
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
35+
# autoconf complains if AC_PROG_LIBTOOL precedes AM_PROG_AR.
36+
AC_PROG_LIBTOOL
3037
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
3138
LT_INIT
3239
# TODO(bnoordhuis) Check for -pthread vs. -pthreads

0 commit comments

Comments
(0)