Skip to content

Commit 693159e

Browse files
cjihrigevanlucas
authored andcommitted
deps: upgrade libuv to 1.19.1
PR-URL: #18260 Reviewed-By: James M Snell <[email protected]>
1 parent 2a9afc4 commit 693159e

Some content is hidden

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

56 files changed

+1086
-175
lines changed

deps/uv/AUTHORS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,3 +321,7 @@ Pekka Nikander <[email protected]>
321321
Ed Schouten <[email protected]>
322322
323323
Matt Harrison <[email protected]>
324+
Anna Henningsen <[email protected]>
325+
Jérémy Lal <[email protected]>
326+
Ben Wijen <[email protected]>
327+
elephantp <[email protected]>

deps/uv/ChangeLog

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,66 @@
1+
2018.01.20, Version 1.19.1 (Stable), 8202d1751196c2374ad370f7f3779daef89befae
2+
3+
Changes since version 1.19.0:
4+
5+
* Revert "unix,tcp: avoid marking server sockets connected" (Ben Noordhuis)
6+
7+
* Revert "unix,fs: fix for potential partial reads/writes" (Ben Noordhuis)
8+
9+
* Revert "win: use RemoveDirectoryW() instead of _wmrmdir()" (Ben Noordhuis)
10+
11+
* cygwin: fix compilation of ifaddrs impl (Brad King)
12+
13+
14+
2018.01.18, Version 1.19.0 (Stable), effbb7c9d29090b2e085a40867f8cdfa916a66df
15+
16+
Changes since version 1.18.0:
17+
18+
* core: add getter/setter functions for easier ABI compat (Anna Henningsen)
19+
20+
* unix: make get(set)_process_title MT-safe (Matt Harrison)
21+
22+
* unix,win: wait for threads to start (Ben Noordhuis)
23+
24+
* test: add threadpool init/teardown test (Bartosz Sosnowski)
25+
26+
* win, process: uv_kill improvements (Bartosz Sosnowski)
27+
28+
* win: set _WIN32_WINNT to 0x0600 (cjihrig)
29+
30+
* zos: implement uv_fs_event* functions (jBarz)
31+
32+
* unix,tcp: avoid marking server sockets connected (Jameson Nash)
33+
34+
* doc: mark Windows 7 as Tier 1 support (Bartosz Sosnowski)
35+
36+
* win: map 0.0.0.0 and :: addresses to localhost (Bartosz Sosnowski)
37+
38+
* build: install libuv.pc unconditionally (Ben Noordhuis)
39+
40+
* test: remove custom timeout for thread test on ppc (Ben Noordhuis)
41+
42+
* test: allow multicast not permitted status (Jérémy Lal)
43+
44+
* test: allow net unreachable status in udp test (Ben Noordhuis)
45+
46+
* unix: use SA_RESTART when setting our sighandler (Brad King)
47+
48+
* unix,fs: fix for potential partial reads/writes (Ben Wijen)
49+
50+
* win,build: do not build executable installer for dll (Bert Belder)
51+
52+
* win: allow directory symlinks to be created in a non-elevated context (Bert
53+
Belder)
54+
55+
* zos,test: accept SIGKILL for flaky test (jBarz)
56+
57+
* win: use RemoveDirectoryW() instead of _wmrmdir() (Ben Noordhuis)
58+
59+
* unix: fix uv_cpu_info() error on FreeBSD (elephantp)
60+
61+
* zos,test: decrease pings to avoid timeout (jBarz)
62+
63+
164
2017.12.02, Version 1.18.0 (Stable), 1489c98b7fc17f1702821a269eb0c5e730c5c813
265

366
Changes since version 1.17.0:

deps/uv/Makefile.am

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ libuv_la_SOURCES = src/fs-poll.c \
2929
src/inet.c \
3030
src/queue.h \
3131
src/threadpool.c \
32+
src/uv-data-getter-setters.c \
3233
src/uv-common.c \
3334
src/uv-common.h \
3435
src/version.c
@@ -158,6 +159,7 @@ test_run_tests_SOURCES = test/blackhole-server.c \
158159
test/test-close-fd.c \
159160
test/test-close-order.c \
160161
test/test-condvar.c \
162+
test/test-connect-unspecified.c \
161163
test/test-connection-fail.c \
162164
test/test-cwd-and-chdir.c \
163165
test/test-default-loop-close.c \
@@ -174,6 +176,7 @@ test_run_tests_SOURCES = test/blackhole-server.c \
174176
test/test-fs-poll.c \
175177
test/test-fs.c \
176178
test/test-fork.c \
179+
test/test-getters-setters.c \
177180
test/test-get-currentexe.c \
178181
test/test-get-loadavg.c \
179182
test/test-get-memory.c \
@@ -220,6 +223,7 @@ test_run_tests_SOURCES = test/blackhole-server.c \
220223
test/test-poll-closesocket.c \
221224
test/test-poll-oob.c \
222225
test/test-process-title.c \
226+
test/test-process-title-threadsafe.c \
223227
test/test-queue-foreach-delete.c \
224228
test/test-ref.c \
225229
test/test-run-nowait.c \
@@ -455,13 +459,10 @@ libuv_la_CFLAGS += -D_UNIX03_THREADS \
455459
-qFLOAT=IEEE
456460
libuv_la_LDFLAGS += -qXPLINK
457461
libuv_la_SOURCES += src/unix/pthread-fixes.c \
458-
src/unix/no-fsevents.c \
459462
src/unix/os390.c \
460463
src/unix/os390-syscalls.c \
461464
src/unix/proctitle.c
462465
endif
463466

464-
if HAVE_PKG_CONFIG
465467
pkgconfigdir = $(libdir)/pkgconfig
466468
pkgconfig_DATA = @[email protected]
467-
endif

deps/uv/SUPPORTED_PLATFORMS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
|---|---|---|---|
55
| GNU/Linux | Tier 1 | Linux >= 2.6.32 with glibc >= 2.12 | |
66
| macOS | Tier 1 | macOS >= 10.7 | |
7-
| Windows | Tier 1 | Windows >= 8.1 | MSVC 2008 and later are supported |
7+
| Windows | Tier 1 | >= Windows 7 | MSVC 2008 and later are supported |
88
| FreeBSD | Tier 1 | >= 9 (see note) | |
99
| AIX | Tier 2 | >= 6 | Maintainers: @libuv/aix |
1010
| z/OS | Tier 2 | >= V2R2 | Maintainers: @libuv/zos |

deps/uv/appveyor.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,5 @@ build_script:
2828
- cmd: set ARCH=%platform%
2929
- cmd: vcbuild.bat release %ARCH% shared
3030

31-
after_build:
32-
- '"%PROGRAMFILES(x86)%\NSIS\makensis" /DVERSION=%APPVEYOR_BUILD_VERSION% /DARCH=%ARCH% libuv.nsi'
33-
34-
artifacts:
35-
- name: Installer
36-
path: 'libuv-*.exe'
37-
3831
cache:
3932
- C:\projects\libuv\build\gyp

deps/uv/checksparse.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ src/unix/tty.c
5353
src/unix/udp.c
5454
src/uv-common.c
5555
src/uv-common.h
56+
src/uv-data-getter-setters.c
5657
"
5758

5859
TESTS="
@@ -100,6 +101,7 @@ test/test-fs-copyfile.c
100101
test/test-fs-event.c
101102
test/test-fs-poll.c
102103
test/test-fs.c
104+
test/test-getters-setters.c
103105
test/test-get-currentexe.c
104106
test/test-get-loadavg.c
105107
test/test-get-memory.c
@@ -126,6 +128,7 @@ test/test-platform-output.c
126128
test/test-poll-close.c
127129
test/test-poll.c
128130
test/test-process-title.c
131+
test/test-process-title-threadsafe.c
129132
test/test-ref.c
130133
test/test-run-nowait.c
131134
test/test-run-once.c

deps/uv/configure.ac

Lines changed: 2 additions & 7 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.18.0], [https://github.com/libuv/libuv/issues])
16+
AC_INIT([libuv], [1.19.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])
@@ -68,10 +68,5 @@ AS_CASE([$host_os],[mingw*], [
6868
])
6969
AS_CASE([$host_os], [netbsd*], [AC_CHECK_LIB([kvm], [kvm_open])])
7070
AC_CHECK_HEADERS([sys/ahafs_evProds.h])
71-
AC_CHECK_PROG(PKG_CONFIG, pkg-config, yes)
72-
AM_CONDITIONAL([HAVE_PKG_CONFIG], [test "x$PKG_CONFIG" != "x"])
73-
AS_IF([test "x$PKG_CONFIG" != "x"], [
74-
AC_CONFIG_FILES([libuv.pc])
75-
])
76-
AC_CONFIG_FILES([Makefile])
71+
AC_CONFIG_FILES([Makefile libuv.pc])
7772
AC_OUTPUT

deps/uv/docs/src/fs.rst

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,36 @@ API
340340
.. note::
341341
These functions are not implemented on Windows.
342342
343+
.. c:function:: uv_fs_type uv_fs_get_type(const uv_fs_t* req)
344+
345+
Returns `req->fs_type`.
346+
347+
.. versionadded:: 1.19.0
348+
349+
.. c:function:: ssize_t uv_fs_get_result(const uv_fs_t* req)
350+
351+
Returns `req->result`.
352+
353+
.. versionadded:: 1.19.0
354+
355+
.. c:function:: void* uv_fs_get_ptr(const uv_fs_t* req)
356+
357+
Returns `req->ptr`.
358+
359+
.. versionadded:: 1.19.0
360+
361+
.. c:function:: const char* uv_fs_get_path(const uv_fs_t* req)
362+
363+
Returns `req->path`.
364+
365+
.. versionadded:: 1.19.0
366+
367+
.. c:function:: uv_stat_t* uv_fs_get_statbuf(uv_fs_t* req)
368+
369+
Returns `&req->statbuf`.
370+
371+
.. versionadded:: 1.19.0
372+
343373
.. seealso:: The :c:type:`uv_req_t` API functions also apply.
344374
345375
Helper functions

deps/uv/docs/src/fs_event.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,13 @@ the best backend for the job on each platform.
1919

2020
See documentation_ for more details.
2121

22+
The z/OS file system events monitoring infrastructure does not notify of file
23+
creation/deletion within a directory that is being monitored.
24+
See the `IBM Knowledge centre`_ for more details.
25+
2226
.. _documentation: http://www.ibm.com/developerworks/aix/library/au-aix_event_infrastructure/
27+
.. _`IBM Knowledge centre`: https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.0/com.ibm.zos.v2r1.bpxb100/ioc.htm
28+
2329

2430

2531

deps/uv/docs/src/handle.rst

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,38 @@ just for some handle types.
211211
Be very careful when using this function. libuv assumes it's in control of the file
212212
descriptor so any change to it may lead to malfunction.
213213
214+
.. c:function:: uv_loop_t* uv_handle_get_loop(const uv_handle_t* handle)
215+
216+
Returns `handle->loop`.
217+
218+
.. versionadded:: 1.19.0
219+
220+
.. c:function:: void* uv_handle_get_data(const uv_handle_t* handle)
221+
222+
Returns `handle->data`.
223+
224+
.. versionadded:: 1.19.0
225+
226+
.. c:function:: void* uv_handle_set_data(uv_handle_t* handle, void* data)
227+
228+
Sets `handle->data` to `data`.
229+
230+
.. versionadded:: 1.19.0
231+
232+
.. c:function:: uv_handle_type uv_handle_get_type(const uv_handle_t* handle)
233+
234+
Returns `handle->type`.
235+
236+
.. versionadded:: 1.19.0
237+
238+
.. c:function:: const char* uv_handle_type_name(uv_handle_type type)
239+
240+
Returns the name for the equivalent struct for a given handle type,
241+
e.g. `"pipe"` (as in :c:type:`uv_pipe_t`) for `UV_NAMED_PIPE`.
242+
243+
If no such handle type exists, this returns `NULL`.
244+
245+
.. versionadded:: 1.19.0
214246
215247
.. _refcount:
216248

0 commit comments

Comments
 (0)