GeezerVison is showing github.com — deps: upgrade to libuv 1.23.0 · nodejs/node@90e99da
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: deps/uv/AUTHORS +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 345 | 345 | | 346 | 346 | | 347 | 347 | | | 348 | + |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/CMakeLists.txt +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -98,6 +98,7 @@ set(uv_test_sources | 98 | 98 | test/test-poll-closesocket.c | 99 | 99 | test/test-poll-oob.c | 100 | 100 | test/test-poll.c | | 101 | + test/test-process-priority.c | 101 | 102 | test/test-process-title-threadsafe.c | 102 | 103 | test/test-process-title.c | 103 | 104 | test/test-queue-foreach-delete.c | |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/ChangeLog +22Lines changed: 22 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +2018.08.18, Version 1.23.0 (Stable), 7ebb26225f2eaae6db22f4ef34ce76fa16ff89ec | | 2 | + | | 3 | +Changes since version 1.22.0: | | 4 | + | | 5 | +* win,pipe: restore compatibility with the old IPC framing protocol (Bert | | 6 | + Belder) | | 7 | + | | 8 | +* fs: add uv_open_osfhandle (Bartosz Sosnowski) | | 9 | + | | 10 | +* doc: update Visual C++ Build Tools URL (Michał Kozakiewicz) | | 11 | + | | 12 | +* unix: loop starvation on successful write complete (jBarz) | | 13 | + | | 14 | +* win: add uv__getnameinfo_work() error handling (A. Hauptmann) | | 15 | + | | 16 | +* win: return UV_ENOMEM from uv_loop_init() (cjihrig) | | 17 | + | | 18 | +* unix,win: add uv_os_{get,set}priority() (cjihrig) | | 19 | + | | 20 | +* test: fix warning in test-tcp-open (Santiago Gimeno) | | 21 | + | | 22 | + | 1 | 23 | 2018.07.11, Version 1.22.0 (Stable), 8568f78a777d79d35eb7d6994617267b9fb33967 | 2 | 24 |
| 3 | 25 | Changes since version 1.21.0: | |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/Makefile.am +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -224,6 +224,7 @@ test_run_tests_SOURCES = test/blackhole-server.c \ | 224 | 224 | test/test-poll-close-doesnt-corrupt-stack.c \ | 225 | 225 | test/test-poll-closesocket.c \ | 226 | 226 | test/test-poll-oob.c \ | | 227 | + test/test-process-priority.c \ | 227 | 228 | test/test-process-title.c \ | 228 | 229 | test/test-process-title-threadsafe.c \ | 229 | 230 | test/test-queue-foreach-delete.c \ | |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/README.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -349,7 +349,7 @@ See the [guidelines for contributing][]. | 349 | 349 | [libuv_banner]: https://raw.githubusercontent.com/libuv/libuv/master/img/banner.png | 350 | 350 | [x32]: https://en.wikipedia.org/wiki/X32_ABI | 351 | 351 | [Python 2.6 or 2.7]: https://www.python.org/downloads/ | 352 | | -[Visual C++ Build Tools]: http://landinghub.visualstudio.com/visual-cpp-build-tools | | 352 | +[Visual C++ Build Tools]: https://visualstudio.microsoft.com/visual-cpp-build-tools/ | 353 | 353 | [Visual Studio 2015 Update 3]: https://www.visualstudio.com/vs/older-downloads/ | 354 | 354 | [Visual Studio 2017]: https://www.visualstudio.com/downloads/ | 355 | 355 | [Git for Windows]: http://git-scm.com/download/win |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/configure.ac +1-1Lines changed: 1 addition & 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.22.0], [https://github.com/libuv/libuv/issues]) | | 16 | +AC_INIT([libuv], [1.23.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]) | |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/docs/src/fs.rst +9Lines changed: 9 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -403,6 +403,15 @@ Helper functions | 403 | 403 |
| 404 | 404 | .. versionadded:: 1.12.0 | 405 | 405 |
| | 406 | +.. c:function:: int uv_open_osfhandle(uv_os_fd_t os_fd) | | 407 | +
| | 408 | + For a OS-dependent handle, get the file descriptor in the C runtime. | | 409 | + On UNIX, returns the ``os_fd`` intact. On Windows, this calls `_open_osfhandle <https://msdn.microsoft.com/en-us/library/bdts1c9x.aspx>`_. | | 410 | + Note that the return value is still owned by the CRT, | | 411 | + any attempts to close it or to use it after closing the handle may lead to malfunction. | | 412 | +
| | 413 | + .. versionadded:: 1.23.0 | | 414 | +
| 406 | 415 | File open constants | 407 | 416 | ------------------- | 408 | 417 |
| |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/docs/src/misc.rst +28Lines changed: 28 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| 517 | 517 | storage required to hold the value. | 518 | 518 |
| 519 | 519 | .. versionadded:: 1.12.0 | | 520 | +
| | 521 | +.. c:function:: int uv_os_getpriority(uv_pid_t pid, int* priority) | | 522 | +
| | 523 | + Retrieves the scheduling priority of the process specified by `pid`. The | | 524 | + returned value of `priority` is between -20 (high priority) and 19 (low | | 525 | + priority). | | 526 | +
| | 527 | + .. note:: | | 528 | + On Windows, the returned priority will equal one of the `UV_PRIORITY` | | 529 | + constants. | | 530 | +
| | 531 | + .. versionadded:: 1.23.0 | | 532 | +
| | 533 | +.. c:function:: int uv_os_setpriority(uv_pid_t pid, int priority) | | 534 | +
| | 535 | + Sets the scheduling priority of the process specified by `pid`. The | | 536 | + `priority` value range is between -20 (high priority) and 19 (low priority). | | 537 | + The constants `UV_PRIORITY_LOW`, `UV_PRIORITY_BELOW_NORMAL`, | | 538 | + `UV_PRIORITY_NORMAL`, `UV_PRIORITY_ABOVE_NORMAL`, `UV_PRIORITY_HIGH`, and | | 539 | + `UV_PRIORITY_HIGHEST` are also provided for convenience. | | 540 | +
| | 541 | + .. note:: | | 542 | + On Windows, this function utilizes `SetPriorityClass()`. The `priority` | | 543 | + argument is mapped to a Windows priority class. When retrieving the | | 544 | + process priority, the result will equal one of the `UV_PRIORITY` | | 545 | + constants, and not necessarily the exact value of `priority`. | | 546 | +
| | 547 | + .. versionadded:: 1.23.0 |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/include/uv.h +11Lines changed: 11 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -1065,6 +1065,7 @@ UV_EXTERN int uv_set_process_title(const char* title); | 1065 | 1065 | UV_EXTERN int uv_resident_set_memory(size_t* rss); | 1066 | 1066 | UV_EXTERN int uv_uptime(double* uptime); | 1067 | 1067 | UV_EXTERN uv_os_fd_t uv_get_osfhandle(int fd); | | 1068 | +UV_EXTERN int uv_open_osfhandle(uv_os_fd_t os_fd); | 1068 | 1069 |
| 1069 | 1070 | typedef struct { | 1070 | 1071 | long tv_sec; | @@ -1099,6 +1100,16 @@ UV_EXTERN void uv_os_free_passwd(uv_passwd_t* pwd); | 1099 | 1100 | UV_EXTERN uv_pid_t uv_os_getpid(void); | 1100 | 1101 | UV_EXTERN uv_pid_t uv_os_getppid(void); | 1101 | 1102 |
| | 1103 | +#define UV_PRIORITY_LOW 19 | | 1104 | +#define UV_PRIORITY_BELOW_NORMAL 10 | | 1105 | +#define UV_PRIORITY_NORMAL 0 | | 1106 | +#define UV_PRIORITY_ABOVE_NORMAL -7 | | 1107 | +#define UV_PRIORITY_HIGH -14 | | 1108 | +#define UV_PRIORITY_HIGHEST -20 | | 1109 | + | | 1110 | +UV_EXTERN int uv_os_getpriority(uv_pid_t pid, int* priority); | | 1111 | +UV_EXTERN int uv_os_setpriority(uv_pid_t pid, int priority); | | 1112 | + | 1102 | 1113 | UV_EXTERN int uv_cpu_info(uv_cpu_info_t** cpu_infos, int* count); | 1103 | 1114 | UV_EXTERN void uv_free_cpu_info(uv_cpu_info_t* cpu_infos, int count); | 1104 | 1115 |
| |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/include/uv/version.h +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 31 | 31 | */ | 32 | 32 |
| 33 | 33 | #define UV_VERSION_MAJOR 1 | 34 | | -#define UV_VERSION_MINOR 22 | | 34 | +#define UV_VERSION_MINOR 23 | 35 | 35 | #define UV_VERSION_PATCH 0 | 36 | 36 | #define UV_VERSION_IS_RELEASE 1 | 37 | 37 | #define UV_VERSION_SUFFIX "" | |
|