Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b38190e

Browse filesBrowse files
cjihrigMylesBorins
authored andcommitted
deps: upgrade to libuv 1.23.1
Backport-PR-URL: #24103 PR-URL: #22997 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent d9d541c commit b38190e
Copy full SHA for b38190e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

43 files changed

+587
-366
lines changed
Open diff view settings
Collapse file

‎deps/uv/AUTHORS‎

Copy file name to clipboardExpand all lines: deps/uv/AUTHORS
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,3 +346,8 @@ Paolo Greppi <paolo.greppi@libpf.com>
346346
Shelley Vohr <shelley.vohr@gmail.com>
347347
Ujjwal Sharma <usharma1998@gmail.com>
348348
Michał Kozakiewicz <michalkozakiewicz3@gmail.com>
349+
Emil Bay <github@tixz.dk>
350+
Jeremiah Senkpiel <fishrock123@rocketmail.com>
351+
Andy Zhang <zhangyong232@gmail.com>
352+
dmabupt <dmabupt@gmail.com>
353+
Ryan Liptak <squeek502@hotmail.com>
Collapse file

‎deps/uv/ChangeLog‎

Copy file name to clipboardExpand all lines: deps/uv/ChangeLog
+46Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,49 @@
1+
2018.09.22, Version 1.23.1 (Stable), d2282b3d67821dc53c907c2155fa8c5c6ce25180
2+
3+
Changes since version 1.23.0:
4+
5+
* unix,win: limit concurrent DNS calls to nthreads/2 (Anna Henningsen)
6+
7+
* doc: add addaleax to maintainers (Anna Henningsen)
8+
9+
* doc: add missing slash in stream.rst (Emil Bay)
10+
11+
* unix,fs: use utimes & friends for uv_fs_utime (Jeremiah Senkpiel)
12+
13+
* unix,fs: remove linux fallback from utimesat() (Jeremiah Senkpiel)
14+
15+
* unix,fs: remove uv__utimesat() syscall fallback (Jeremiah Senkpiel)
16+
17+
* doc: fix argument name in tcp.rts (Emil Bay)
18+
19+
* doc: notes on running tests, benchmarks, tools (Jamie Davis)
20+
21+
* linux: remove epoll syscall wrappers (Ben Noordhuis)
22+
23+
* linux: drop code path for epoll_pwait-less kernels (Ben Noordhuis)
24+
25+
* Partially revert "win,code: remove GetQueuedCompletionStatus-based poller"
26+
(Jameson Nash)
27+
28+
* build: add compile for android arm64/x86/x86-64 (Andy Zhang)
29+
30+
* doc: clarify that some remarks apply to windows (Bert Belder)
31+
32+
* test: fix compiler warnings (Jamie Davis)
33+
34+
* ibmi: return 0 from uv_resident_set_memory() (dmabupt)
35+
36+
* win: fix uv_udp_recv_start() error translation (Ryan Liptak)
37+
38+
* win,doc: improve uv_os_setpriority() documentation (Bartosz Sosnowski)
39+
40+
* test: increase upper bound in condvar_5 (Jamie Davis)
41+
42+
* win,tty: remove deadcode (Jameson Nash)
43+
44+
* stream: autodetect direction (Jameson Nash)
45+
46+
147
2018.08.18, Version 1.23.0 (Stable), 7ebb26225f2eaae6db22f4ef34ce76fa16ff89ec
248

349
Changes since version 1.22.0:
Collapse file

‎deps/uv/MAINTAINERS.md‎

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 numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
libuv is currently managed by the following individuals:
55

6+
* **Anna Henningsen** ([@addaleax](https://github.com/addaleax))
67
* **Bartosz Sosnowski** ([@bzoz](https://github.com/bzoz))
78
* **Ben Noordhuis** ([@bnoordhuis](https://github.com/bnoordhuis))
89
- GPG key: D77B 1E34 243F BAF0 5F8E 9CC3 4F55 C8C8 46AB 89B9 (pubkey-bnoordhuis)
Collapse file

‎deps/uv/README.md‎

Copy file name to clipboardExpand all lines: deps/uv/README.md
+77-2Lines changed: 77 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,31 @@ Make sure that you specify the architecture you wish to build for in the
282282

283283
Run:
284284

285+
For arm
286+
287+
```bash
288+
$ source ./android-configure-arm NDK_PATH gyp [API_LEVEL]
289+
$ make -C out
290+
```
291+
292+
or for arm64
293+
294+
```bash
295+
$ source ./android-configure-arm64 NDK_PATH gyp [API_LEVEL]
296+
$ make -C out
297+
```
298+
299+
or for x86
300+
301+
```bash
302+
$ source ./android-configure-x86 NDK_PATH gyp [API_LEVEL]
303+
$ make -C out
304+
```
305+
306+
or for x86_64
307+
285308
```bash
286-
$ source ./android-configure NDK_PATH gyp [API_LEVEL]
309+
$ source ./android-configure-x86_64 NDK_PATH gyp [API_LEVEL]
287310
$ make -C out
288311
```
289312

@@ -310,14 +333,66 @@ $ ninja -C out/Release
310333

311334
### Running tests
312335

313-
Run:
336+
#### Build
337+
338+
Build (includes tests):
314339

315340
```bash
316341
$ ./gyp_uv.py -f make
317342
$ make -C out
343+
```
344+
345+
#### Run all tests
346+
347+
```bash
318348
$ ./out/Debug/run-tests
319349
```
320350

351+
#### Run one test
352+
353+
The list of all tests is in `test/test-list.h`.
354+
355+
This invocation will cause the `run-tests` driver to fork and execute `TEST_NAME` in a child process:
356+
357+
```bash
358+
$ ./out/Debug/run-tests TEST_NAME
359+
```
360+
361+
This invocation will cause the `run-tests` driver to execute the test within the `run-tests` process:
362+
363+
```bash
364+
$ ./out/Debug/run-tests TEST_NAME TEST_NAME
365+
```
366+
367+
#### Debugging tools
368+
369+
When running the test from within the `run-tests` process (`run-tests TEST_NAME TEST_NAME`), tools like gdb and valgrind work normally.
370+
When running the test from a child of the `run-tests` process (`run-tests TEST_NAME`), use these tools in a fork-aware manner.
371+
372+
##### Fork-aware gdb
373+
374+
Use the [follow-fork-mode](https://sourceware.org/gdb/onlinedocs/gdb/Forks.html) setting:
375+
376+
```
377+
$ gdb --args out/Debug/run-tests TEST_NAME
378+
379+
(gdb) set follow-fork-mode child
380+
...
381+
```
382+
383+
##### Fork-aware valgrind
384+
385+
Use the `--trace-children=yes` parameter:
386+
387+
```bash
388+
$ valgrind --trace-children=yes -v --tool=memcheck --leak-check=full --track-origins=yes --leak-resolution=high --show-reachable=yes --log-file=memcheck.log out/Debug/run-tests TEST_NAME
389+
```
390+
391+
### Running benchmarks
392+
393+
See the section on running tests.
394+
The benchmark driver is `out/Debug/run-benchmarks` and the benchmarks are listed in `test/benchmark-list.h`.
395+
321396
## Supported Platforms
322397

323398
Check the [SUPPORTED_PLATFORMS file](SUPPORTED_PLATFORMS.md).
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
export TOOLCHAIN=$PWD/android-toolchain
3+
export TOOLCHAIN=$PWD/android-toolchain-arm
44
mkdir -p $TOOLCHAIN
55
API=${3:-24}
66
$1/build/tools/make-standalone-toolchain.sh \
Collapse file

‎deps/uv/android-configure-arm64‎

Copy file name to clipboard
+23Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/bin/bash
2+
3+
export TOOLCHAIN=$PWD/android-toolchain-arm64
4+
mkdir -p $TOOLCHAIN
5+
API=${3:-24}
6+
$1/build/tools/make-standalone-toolchain.sh \
7+
--toolchain=aarch64-linux-android-4.9 \
8+
--arch=arm64 \
9+
--install-dir=$TOOLCHAIN \
10+
--platform=android-$API \
11+
--force
12+
export PATH=$TOOLCHAIN/bin:$PATH
13+
export AR=aarch64-linux-android-ar
14+
export CC=aarch64-linux-android-gcc
15+
export CXX=aarch64-linux-android-g++
16+
export LINK=aarch64-linux-android-g++
17+
export PLATFORM=android
18+
export CFLAGS="-D__ANDROID_API__=$API"
19+
20+
if [[ $2 == 'gyp' ]]
21+
then
22+
./gyp_uv.py -Dtarget_arch=arm64 -DOS=android -f make-android
23+
fi
Collapse file

‎deps/uv/android-configure-x86‎

Copy file name to clipboard
+23Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/bin/bash
2+
3+
export TOOLCHAIN=$PWD/android-toolchain-x86
4+
mkdir -p $TOOLCHAIN
5+
API=${3:-24}
6+
$1/build/tools/make-standalone-toolchain.sh \
7+
--toolchain=x86-4.9 \
8+
--arch=x86 \
9+
--install-dir=$TOOLCHAIN \
10+
--platform=android-$API \
11+
--force
12+
export PATH=$TOOLCHAIN/bin:$PATH
13+
export AR=i686-linux-android-ar
14+
export CC=i686-linux-android-gcc
15+
export CXX=i686-linux-android-g++
16+
export LINK=i686-linux-android-g++
17+
export PLATFORM=android
18+
export CFLAGS="-D__ANDROID_API__=$API"
19+
20+
if [[ $2 == 'gyp' ]]
21+
then
22+
./gyp_uv.py -Dtarget_arch=x86 -DOS=android -f make-android
23+
fi
Collapse file

‎deps/uv/android-configure-x86_64‎

Copy file name to clipboard
+25Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/bin/bash
2+
3+
export TOOLCHAIN=$PWD/android-toolchain-x86_64
4+
mkdir -p $TOOLCHAIN
5+
API=${3:-24}
6+
$1/build/tools/make-standalone-toolchain.sh \
7+
--toolchain=x86_64-4.9 \
8+
--arch=x86_64 \
9+
--install-dir=$TOOLCHAIN \
10+
--platform=android-$API \
11+
--force
12+
export PATH=$TOOLCHAIN/bin:$PATH
13+
export AR=x86_64-linux-android-ar
14+
export CC=x86_64-linux-android-gcc
15+
export CXX=x86_64-linux-android-g++
16+
export LINK=x86_64-linux-android-g++
17+
export PLATFORM=android
18+
export CFLAGS="-D__ANDROID_API__=$API -fPIC"
19+
export CXXFLAGS="-D__ANDROID_API__=$API -fPIC"
20+
export LDFLAGS="-fPIC"
21+
22+
if [[ $2 == 'gyp' ]]
23+
then
24+
./gyp_uv.py -Dtarget_arch=x86_64 -DOS=android -f make-android
25+
fi
Collapse file

‎deps/uv/configure.ac‎

Copy file name to clipboardExpand all lines: deps/uv/configure.ac
+1-1Lines 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.23.0], [https://github.com/libuv/libuv/issues])
16+
AC_INIT([libuv], [1.23.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])
Collapse file

‎deps/uv/docs/src/misc.rst‎

Copy file name to clipboardExpand all lines: deps/uv/docs/src/misc.rst
+4Lines changed: 4 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -544,4 +544,8 @@ API
544544
process priority, the result will equal one of the `UV_PRIORITY`
545545
constants, and not necessarily the exact value of `priority`.
546546
547+
.. note::
548+
On Windows, setting `PRIORITY_HIGHEST` will only work for elevated user,
549+
for others it will be silently reduced to `PRIORITY_HIGH`.
550+
547551
.. versionadded:: 1.23.0

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.