Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Commit 07bd05b

Browse files
saghulpiscisaureus
authored andcommitted
deps: update libuv to 1.2.1
PR: nodejs/node#423 Reviewed-by: Ben Noordhuis <[email protected]> Reviewed-by: Bert Belder <[email protected]>
1 parent e177377 commit 07bd05b

23 files changed

+163
-38
lines changed

deps/uv/AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,3 +177,4 @@ Logan Rosen <[email protected]>
177177
Kenneth Perry <[email protected]>
178178
John Marino <[email protected]>
179179
Alexey Melnichuk <[email protected]>
180+
Johan Bergström <[email protected]>

deps/uv/ChangeLog

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,32 @@
1-
2015.01.06, Version 1.2.0 (Stable)
1+
2015.01.15, Version 1.2.1 (Stable), 4ca78e989062a1099dc4b9ad182a98e8374134b1
2+
3+
Changes since version 1.2.0:
4+
5+
* unix: remove unused dtrace file (Saúl Ibarra Corretgé)
6+
7+
* test: skip TTY select test if /dev/tty can't be opened (Saúl Ibarra Corretgé)
8+
9+
* doc: clarify the behavior of uv_tty_init (Saúl Ibarra Corretgé)
10+
11+
* doc: clarify how uv_async_send behaves (Saúl Ibarra Corretgé)
12+
13+
* build: make dist now generates a full tarball (Johan Bergström)
14+
15+
* freebsd: make uv_exepath more resilient (Saúl Ibarra Corretgé)
16+
17+
* unix: make setting the tty mode to the same value a no-op (Saúl Ibarra
18+
Corretgé)
19+
20+
* win,tcp: support uv_try_write (Bert Belder)
21+
22+
* test: enable test-tcp-try-write on windows (Bert Belder)
23+
24+
* win,tty: support uv_try_write (Bert Belder)
25+
26+
* unix: set non-block mode in uv_{pipe,tcp,udp}_open (Ben Noordhuis)
27+
28+
29+
2015.01.06, Version 1.2.0 (Stable), 09f25b13cd149c7981108fc1a75611daf1277f83
230

331
Changes since version 1.1.0:
432

deps/uv/Makefile.am

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,24 @@ libuv_la_SOURCES += src/unix/async.c \
108108
endif # WINNT
109109

110110
EXTRA_DIST = test/fixtures/empty_file \
111-
test/fixtures/load_error.node
111+
test/fixtures/load_error.node \
112+
include \
113+
test \
114+
docs \
115+
img \
116+
samples \
117+
android-configure \
118+
CONTRIBUTING.md \
119+
LICENSE \
120+
README.md \
121+
checksparse.sh \
122+
vcbuild.bat \
123+
Makefile.mingw \
124+
common.gypi \
125+
gyp_uv.py \
126+
uv.gyp
127+
128+
112129

113130
TESTS = test/run-tests
114131
check_PROGRAMS = test/run-tests

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.2.0], [https://github.com/libuv/libuv/issues])
16+
AC_INIT([libuv], [1.2.1], [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/async.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ API
4848
4949
.. warning::
5050
libuv will coalesce calls to :c:func:`uv_async_send`, that is, not every call to it will
51-
yield an execution of the callback, the only guarantee is that it will be called at least
52-
once. Thus, calling this function may not wakeup the event loop if it was already called
53-
previously within a short period of time.
51+
yield an execution of the callback. For example: if :c:func:`uv_async_send` is called 5
52+
times in a row before the callback is called, the callback will only be called once. If
53+
:c:func:`uv_async_send` is called again after the callback was called, it will be called
54+
again.
5455
5556
.. seealso::
5657
The :c:type:`uv_handle_t` API functions also apply.

deps/uv/docs/src/pipe.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ API
3838
3939
Open an existing file descriptor or HANDLE as a pipe.
4040
41-
.. note::
42-
The user is responsible for setting the file descriptor in non-blocking mode.
41+
.. versionchanged:: 1.2.1 the file descriptor is set to non-blocking mode.
4342
4443
.. c:function:: int uv_pipe_bind(uv_pipe_t* handle, const char* name)
4544

deps/uv/docs/src/tcp.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ API
3636
3737
Open an existing file descriptor or SOCKET as a TCP handle.
3838
39-
.. note::
40-
The user is responsible for setting the file descriptor in
41-
non-blocking mode.
39+
.. versionchanged:: 1.2.1 the file descriptor is set to non-blocking mode.
4240
4341
.. c:function:: int uv_tcp_nodelay(uv_tcp_t* handle, int enable)
4442

deps/uv/docs/src/tty.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,13 @@ API
5858
`readable`, specifies if you plan on calling :c:func:`uv_read_start` with
5959
this stream. stdin is readable, stdout is not.
6060
61+
On Unix this function will try to open ``/dev/tty`` and use it if the passed file
62+
descriptor refers to a TTY. This lets libuv put the tty in non-blocking mode
63+
without affecting other processes that share the tty.
64+
6165
.. note::
62-
TTY streams which are not readable have blocking writes.
66+
If opening ``/dev/tty`` fails, libuv falls back to blocking writes for non-readable
67+
TTY streams.
6368
6469
.. c:function:: int uv_tty_set_mode(uv_tty_t*, uv_tty_mode_t mode)
6570

deps/uv/docs/src/udp.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ API
120120
In other words, other datagram-type sockets like raw sockets or netlink
121121
sockets can also be passed to this function.
122122
123+
.. versionchanged:: 1.2.1 the file descriptor is set to non-blocking mode.
124+
123125
.. c:function:: int uv_udp_bind(uv_udp_t* handle, const struct sockaddr* addr, unsigned int flags)
124126
125127
Bind the UDP handle to an IP address and port.

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 1
3434
#define UV_VERSION_MINOR 2
35-
#define UV_VERSION_PATCH 0
35+
#define UV_VERSION_PATCH 1
3636
#define UV_VERSION_IS_RELEASE 1
3737
#define UV_VERSION_SUFFIX ""
3838

0 commit comments

Comments
 (0)