GeezerVison is showing github.com — deps: upgrade to libuv 1.24.0 · nodejs/node@06c28b9
File treeExpand file treeCollapse file tree Open diff view settings Some content is hiddenLarge Commits have some content hidden by default. Use the searchbox below for content that may be hidden. Dismiss bannerExpand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: deps/uv/AUTHORS +4Lines changed: 4 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 352 | 352 | | 353 | 353 | | 354 | 354 | | | 355 | + | | 356 | + | | 357 | + | | 358 | + |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/CMakeLists.txt +3-1Lines changed: 3 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -13,6 +13,7 @@ endif() | 13 | 13 |
| 14 | 14 | set(uv_sources | 15 | 15 | src/fs-poll.c | | 16 | + src/idna.c | 16 | 17 | src/inet.c | 17 | 18 | src/threadpool.c | 18 | 19 | src/timer.c | @@ -64,6 +65,7 @@ set(uv_test_sources | 64 | 65 | test/test-homedir.c | 65 | 66 | test/test-hrtime.c | 66 | 67 | test/test-idle.c | | 68 | + test/test-idna.c | 67 | 69 | test/test-ip4-addr.c | 68 | 70 | test/test-ip6-addr.c | 69 | 71 | test/test-ip6-addr.c | @@ -260,7 +262,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "DragonFly|FreeBSD") | 260 | 262 | endif() | 261 | 263 |
| 262 | 264 | if(CMAKE_SYSTEM_NAME MATCHES "DragonFly|FreeBSD|NetBSD|OpenBSD") | 263 | | - list(APPEND uv_sources src/unix/posix-hrtime.c) | | 265 | + list(APPEND uv_sources src/unix/posix-hrtime.c src/unix/bsd-proctitle.c) | 264 | 266 | list(APPEND uv_libraries kvm) | 265 | 267 | endif() | 266 | 268 |
| |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/ChangeLog +57Lines changed: 57 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +2018.11.14, Version 1.24.0 (Stable), 2d427ee0083d1baf995df4ebf79a3f8890e9a3e1 | | 2 | + | | 3 | +Changes since version 1.23.2: | | 4 | + | | 5 | +* unix: do not require PATH_MAX to be defined (Brad King) | | 6 | + | | 7 | +* win,doc: path encoding in uv_fs_XX is UTF-8 (hitesh) | | 8 | + | | 9 | +* unix: add missing link dependency on kFreeBSD (Svante Signell) | | 10 | + | | 11 | +* unix: add support for GNU/Hurd (Samuel Thibault) | | 12 | + | | 13 | +* test: avoid memory leak for test_output (Carlo Marcelo Arenas Belón) | | 14 | + | | 15 | +* zos: avoid UB with NULL pointer arithmetic (Carlo Marcelo Arenas Belón) | | 16 | + | | 17 | +* doc: add vtjnash to maintainers (Jameson Nash) | | 18 | + | | 19 | +* unix: restore skipping of phys_addr copy (cjihrig) | | 20 | + | | 21 | +* unix,win: make uv_interface_addresses() consistent (cjihrig) | | 22 | + | | 23 | +* unix: remove unnecessary linebreaks (cjihrig) | | 24 | + | | 25 | +* unix,win: handle zero-sized allocations uniformly (Ben Noordhuis) | | 26 | + | | 27 | +* unix: remove unused uv__dup() function (Ben Noordhuis) | | 28 | + | | 29 | +* core,bsd: refactor process_title functions (Santiago Gimeno) | | 30 | + | | 31 | +* win: Redefine NSIG to consider SIGWINCH (Jeremy Studer) | | 32 | + | | 33 | +* test: make sure that reading a directory fails (Sakthipriyan Vairamani) | | 34 | + | | 35 | +* win, tty: remove zero-size read callbacks (Bartosz Sosnowski) | | 36 | + | | 37 | +* test: fix test runner getenv async-signal-safety (Ben Noordhuis) | | 38 | + | | 39 | +* test: fix test runner execvp async-signal-safety (Ben Noordhuis) | | 40 | + | | 41 | +* test,unix: fix race in test runner (Ben Noordhuis) | | 42 | + | | 43 | +* unix,win: support IDNA 2008 in uv_getaddrinfo() (Ben Noordhuis) | | 44 | + | | 45 | +* win, tcp: avoid starving the loop (Bartosz Sosnowski) | | 46 | + | | 47 | +* win, dl: proper error messages on some systems (Bartosz Sosnowski) | | 48 | + | | 49 | +* win,fs: retry if uv_fs_rename fails (Bartosz Sosnowski) | | 50 | + | | 51 | +* darwin: speed up uv_set_process_title() (Ben Noordhuis) | | 52 | + | | 53 | +* aix: fix race in uv_get_process_title() (Gireesh Punathil) | | 54 | + | | 55 | +* win: support more fine-grained windows hiding (Bartosz Sosnowski) | | 56 | + | | 57 | + | 1 | 58 | 2018.10.09, Version 1.23.2 (Stable), 34c12788d2e7308f3ac506c0abcbf74c0d6abd20 | 2 | 59 |
| 3 | 60 | Changes since version 1.23.1: | |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/MAINTAINERS.md +1Lines changed: 1 addition & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -15,6 +15,7 @@ libuv is currently managed by the following individuals: | 15 | 15 | - GPG key: AF2E EA41 EC34 47BF DD86 FED9 D706 3CCE 19B7 E890 (pubkey-indutny) | 16 | 16 | * **Imran Iqbal** ([@imran-iq](https://github.com/imran-iq)) | 17 | 17 | - GPG key: 9DFE AA5F 481B BF77 2D90 03CE D592 4925 2F8E C41A (pubkey-iwuzhere) | | 18 | +* **Jameson Nash** ([@vtjnash](https://github.com/vtjnash)) | 18 | 19 | * **John Barboza** ([@jbarz](https://github.com/jbarz)) | 19 | 20 | * **Santiago Gimeno** ([@santigimeno](https://github.com/santigimeno)) | 20 | 21 | - GPG key: 612F 0EAD 9401 6223 79DF 4402 F28C 3C8D A33C 03BE (pubkey-santigimeno) | |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/Makefile.am +13Lines changed: 13 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -29,6 +29,7 @@ libuv_la_CFLAGS = @CFLAGS@ | 29 | 29 | libuv_la_LDFLAGS = -no-undefined -version-info 1:0:0 | 30 | 30 | libuv_la_SOURCES = src/fs-poll.c \ | 31 | 31 | src/heap-inl.h \ | | 32 | + src/idna.c \ | 32 | 33 | src/inet.c \ | 33 | 34 | src/queue.h \ | 34 | 35 | src/threadpool.c \ | @@ -189,6 +190,7 @@ test_run_tests_SOURCES = test/blackhole-server.c \ | 189 | 190 | test/test-homedir.c \ | 190 | 191 | test/test-hrtime.c \ | 191 | 192 | test/test-idle.c \ | | 193 | + test/test-idna.c \ | 192 | 194 | test/test-ip4-addr.c \ | 193 | 195 | test/test-ip6-addr.c \ | 194 | 196 | test/test-ipc-heavy-traffic-deadlock-bug.c \ | @@ -374,6 +376,7 @@ endif | 374 | 376 | if DRAGONFLY | 375 | 377 | uvinclude_HEADERS += include/uv/bsd.h | 376 | 378 | libuv_la_SOURCES += src/unix/bsd-ifaddrs.c \ | | 379 | + src/unix/bsd-proctitle.c \ | 377 | 380 | src/unix/freebsd.c \ | 378 | 381 | src/unix/kqueue.c \ | 379 | 382 | src/unix/posix-hrtime.c | @@ -383,12 +386,20 @@ endif | 383 | 386 | if FREEBSD | 384 | 387 | uvinclude_HEADERS += include/uv/bsd.h | 385 | 388 | libuv_la_SOURCES += src/unix/bsd-ifaddrs.c \ | | 389 | + src/unix/bsd-proctitle.c \ | 386 | 390 | src/unix/freebsd.c \ | 387 | 391 | src/unix/kqueue.c \ | 388 | 392 | src/unix/posix-hrtime.c | 389 | 393 | test_run_tests_LDFLAGS += -lutil | 390 | 394 | endif | 391 | 395 |
| | 396 | +if HURD | | 397 | +uvinclude_HEADERS += include/uv/posix.h | | 398 | +libuv_la_SOURCES += src/unix/no-fsevents.c \ | | 399 | + src/unix/posix-hrtime.c \ | | 400 | + src/unix/posix-poll.c | | 401 | +endif | | 402 | + | 392 | 403 | if LINUX | 393 | 404 | uvinclude_HEADERS += include/uv/linux.h | 394 | 405 | libuv_la_CFLAGS += -D_GNU_SOURCE | @@ -419,6 +430,7 @@ endif | 419 | 430 | if NETBSD | 420 | 431 | uvinclude_HEADERS += include/uv/bsd.h | 421 | 432 | libuv_la_SOURCES += src/unix/bsd-ifaddrs.c \ | | 433 | + src/unix/bsd-proctitle.c \ | 422 | 434 | src/unix/kqueue.c \ | 423 | 435 | src/unix/netbsd.c \ | 424 | 436 | src/unix/posix-hrtime.c | @@ -428,6 +440,7 @@ endif | 428 | 440 | if OPENBSD | 429 | 441 | uvinclude_HEADERS += include/uv/bsd.h | 430 | 442 | libuv_la_SOURCES += src/unix/bsd-ifaddrs.c \ | | 443 | + src/unix/bsd-proctitle.c \ | 431 | 444 | src/unix/kqueue.c \ | 432 | 445 | src/unix/openbsd.c \ | 433 | 446 | src/unix/posix-hrtime.c | |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/configure.ac +5-1Lines changed: 5 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 13 | 13 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 14 | 14 |
| 15 | 15 | AC_PREREQ(2.57) | 16 | | -AC_INIT([libuv], [1.23.2], [https://github.com/libuv/libuv/issues]) | | 16 | +AC_INIT([libuv], [1.24.0], [https://github.com/libuv/libuv/issues]) | 17 | 17 | AC_CONFIG_MACRO_DIR([m4]) | 18 | 18 | m4_include([m4/libuv-extra-automake-flags.m4]) | 19 | 19 | m4_include([m4/as_case.m4]) | @@ -56,6 +56,7 @@ AM_CONDITIONAL([CYGWIN], [AS_CASE([$host_os],[cygwin*], [true], [false]) | 56 | 56 | AM_CONDITIONAL([DARWIN], [AS_CASE([$host_os],[darwin*], [true], [false])]) | 57 | 57 | AM_CONDITIONAL([DRAGONFLY],[AS_CASE([$host_os],[dragonfly*], [true], [false])]) | 58 | 58 | AM_CONDITIONAL([FREEBSD], [AS_CASE([$host_os],[*freebsd*], [true], [false])]) | | 59 | +AM_CONDITIONAL([HURD], [AS_CASE([$host_os],[gnu*], [true], [false])]) | 59 | 60 | AM_CONDITIONAL([LINUX], [AS_CASE([$host_os],[linux*], [true], [false])]) | 60 | 61 | AM_CONDITIONAL([MSYS], [AS_CASE([$host_os],[msys*], [true], [false])]) | 61 | 62 | AM_CONDITIONAL([NETBSD], [AS_CASE([$host_os],[netbsd*], [true], [false])]) | @@ -67,6 +68,9 @@ AS_CASE([$host_os],[mingw*], [ | 67 | 68 | LIBS="$LIBS -lws2_32 -lpsapi -liphlpapi -lshell32 -luserenv -luser32" | 68 | 69 | ]) | 69 | 70 | AS_CASE([$host_os], [netbsd*], [AC_CHECK_LIB([kvm], [kvm_open])]) | | 71 | +AS_CASE([$host_os], [kfreebsd*], [ | | 72 | + LIBS="$LIBS -lfreebsd-glue" | | 73 | +]) | 70 | 74 | AC_CHECK_HEADERS([sys/ahafs_evProds.h]) | 71 | 75 | AC_CONFIG_FILES([Makefile libuv.pc]) | 72 | 76 | AC_OUTPUT |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/docs/src/fs.rst +11Lines changed: 11 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -12,6 +12,8 @@ otherwise it will be performed asynchronously. | 12 | 12 | All file operations are run on the threadpool. See :ref:`threadpool` for information | 13 | 13 | on the threadpool size. | 14 | 14 |
| | 15 | +.. note:: | | 16 | + On Windows `uv_fs_*` functions use utf-8 encoding. | 15 | 17 |
| 16 | 18 | Data types | 17 | 19 | ---------- | | 231 | 233 |
| 232 | 234 | Equivalent to :man:`rename(2)`. | 233 | 235 |
| | 236 | + .. note:: | | 237 | + On Windows if this function fails with ``UV_EBUSY``, ``UV_EPERM`` or | | 238 | + ``UV_EACCES``, it will retry to rename the file up to four times with | | 239 | + 250ms wait between attempts before giving up. If both `path` and | | 240 | + `new_path` are existing directories this function will work only if | | 241 | + target directory is empty. | | 242 | +
| | 243 | + .. versionchanged:: 1.24.0 Added retrying and directory move support on Windows. | | 244 | +
| 234 | 245 | .. c:function:: int uv_fs_fsync(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_fs_cb cb) | 235 | 246 |
| 236 | 247 | Equivalent to :man:`fsync(2)`. | |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/docs/src/process.rst +16-2Lines changed: 16 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -70,11 +70,22 @@ Data types | 70 | 70 | */ | 71 | 71 | UV_PROCESS_DETACHED = (1 << 3), | 72 | 72 | /* | 73 | | - * Hide the subprocess console window that would normally be created. This | | 73 | + * Hide the subprocess window that would normally be created. This option is | | 74 | + * only meaningful on Windows systems. On Unix it is silently ignored. | | 75 | + */ | | 76 | + UV_PROCESS_WINDOWS_HIDE = (1 << 4), | | 77 | + /* | | 78 | + * Hide the subprocess console window that would normally be created. This | | 79 | + * option is only meaningful on Windows systems. On Unix it is silently | | 80 | + * ignored. | | 81 | + */ | | 82 | + UV_PROCESS_WINDOWS_HIDE_CONSOLE = (1 << 5), | | 83 | + /* | | 84 | + * Hide the subprocess GUI window that would normally be created. This | 74 | 85 | * option is only meaningful on Windows systems. On Unix it is silently | 75 | 86 | * ignored. | 76 | 87 | */ | 77 | | - UV_PROCESS_WINDOWS_HIDE = (1 << 4) | | 88 | + UV_PROCESS_WINDOWS_HIDE_GUI = (1 << 6) | 78 | 89 | }; | 79 | 90 |
| 80 | 91 | .. c:type:: uv_stdio_container_t | | 217 | 228 | setgid specified, or not having enough memory to allocate for the new | 218 | 229 | process. | 219 | 230 |
| | 231 | + .. versionchanged:: 1.24.0 Added `UV_PROCESS_WINDOWS_HIDE_CONSOLE` and | | 232 | + `UV_PROCESS_WINDOWS_HIDE_GUI` flags. | | 233 | +
| 220 | 234 | .. c:function:: int uv_process_kill(uv_process_t* handle, int signum) | 221 | 235 |
| 222 | 236 | Sends the specified signal to the given process handle. Check the documentation | |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/include/uv.h +13-2Lines changed: 13 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -963,11 +963,22 @@ enum uv_process_flags { | 963 | 963 | */ | 964 | 964 | UV_PROCESS_DETACHED = (1 << 3), | 965 | 965 | /* | 966 | | - * Hide the subprocess console window that would normally be created. This | | 966 | + * Hide the subprocess window that would normally be created. This option is | | 967 | + * only meaningful on Windows systems. On Unix it is silently ignored. | | 968 | + */ | | 969 | + UV_PROCESS_WINDOWS_HIDE = (1 << 4), | | 970 | + /* | | 971 | + * Hide the subprocess console window that would normally be created. This | | 972 | + * option is only meaningful on Windows systems. On Unix it is silently | | 973 | + * ignored. | | 974 | + */ | | 975 | + UV_PROCESS_WINDOWS_HIDE_CONSOLE = (1 << 5), | | 976 | + /* | | 977 | + * Hide the subprocess GUI window that would normally be created. This | 967 | 978 | * option is only meaningful on Windows systems. On Unix it is silently | 968 | 979 | * ignored. | 969 | 980 | */ | 970 | | - UV_PROCESS_WINDOWS_HIDE = (1 << 4) | | 981 | + UV_PROCESS_WINDOWS_HIDE_GUI = (1 << 6) | 971 | 982 | }; | 972 | 983 |
| 973 | 984 | /* | |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/include/uv/unix.h +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 64 | 64 | # include "uv/bsd.h" | 65 | 65 | #elif defined(__CYGWIN__) || defined(__MSYS__) | 66 | 66 | # include "uv/posix.h" | | 67 | +#elif defined(__GNU__) | | 68 | +# include "uv/posix.h" | 67 | 69 | #endif | 68 | 70 |
| 69 | 71 | #ifndef NI_MAXHOST | |
|