GeezerVison is showing github.com — deps: upgrade to libuv 1.23.1 · nodejs/node@e5efdba
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 +5Lines changed: 5 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 346 | 346 | | 347 | 347 | | 348 | 348 | | | 349 | + | | 350 | + | | 351 | + | | 352 | + | | 353 | + |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/ChangeLog +46Lines changed: 46 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 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 | + | 1 | 47 | 2018.08.18, Version 1.23.0 (Stable), 7ebb26225f2eaae6db22f4ef34ce76fa16ff89ec | 2 | 48 |
| 3 | 49 | Changes since version 1.22.0: | |
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 |
|---|
| 3 | 3 |
| 4 | 4 | libuv is currently managed by the following individuals: | 5 | 5 |
| | 6 | +* **Anna Henningsen** ([@addaleax](https://github.com/addaleax)) | 6 | 7 | * **Bartosz Sosnowski** ([@bzoz](https://github.com/bzoz)) | 7 | 8 | * **Ben Noordhuis** ([@bnoordhuis](https://github.com/bnoordhuis)) | 8 | 9 | - GPG key: D77B 1E34 243F BAF0 5F8E 9CC3 4F55 C8C8 46AB 89B9 (pubkey-bnoordhuis) | |
Collapse file 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 number | Diff line number | Diff line change |
|---|
@@ -282,8 +282,31 @@ Make sure that you specify the architecture you wish to build for in the | 282 | 282 |
| 283 | 283 | Run: | 284 | 284 |
| | 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 | + | 285 | 308 | ```bash | 286 | | -$ source ./android-configure NDK_PATH gyp [API_LEVEL] | | 309 | +$ source ./android-configure-x86_64 NDK_PATH gyp [API_LEVEL] | 287 | 310 | $ make -C out | 288 | 311 | ``` | 289 | 312 |
| @@ -310,14 +333,66 @@ $ ninja -C out/Release | 310 | 333 |
| 311 | 334 | ### Running tests | 312 | 335 |
| 313 | | -Run: | | 336 | +#### Build | | 337 | + | | 338 | +Build (includes tests): | 314 | 339 |
| 315 | 340 | ```bash | 316 | 341 | $ ./gyp_uv.py -f make | 317 | 342 | $ make -C out | | 343 | +``` | | 344 | + | | 345 | +#### Run all tests | | 346 | + | | 347 | +```bash | 318 | 348 | $ ./out/Debug/run-tests | 319 | 349 | ``` | 320 | 350 |
| | 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 | + | 321 | 396 | ## Supported Platforms | 322 | 397 |
| 323 | 398 | Check the [SUPPORTED_PLATFORMS file](SUPPORTED_PLATFORMS.md). | |
Collapse file Copy file name to clipboardExpand all lines: deps/uv/android-configure-arm +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | #!/bin/bash | 2 | 2 |
| 3 | | -export TOOLCHAIN=$PWD/android-toolchain | | 3 | +export TOOLCHAIN=$PWD/android-toolchain-arm | 4 | 4 | mkdir -p $TOOLCHAIN | 5 | 5 | API=${3:-24} | 6 | 6 | $1/build/tools/make-standalone-toolchain.sh \ | |
Collapse file Copy file name to clipboard +23Lines changed: 23 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 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 Copy file name to clipboard +23Lines changed: 23 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 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 Copy file name to clipboard +25Lines changed: 25 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 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 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.23.0], [https://github.com/libuv/libuv/issues]) | | 16 | +AC_INIT([libuv], [1.23.1], [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/misc.rst +4Lines changed: 4 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| 544 | 544 | process priority, the result will equal one of the `UV_PRIORITY` | 545 | 545 | constants, and not necessarily the exact value of `priority`. | 546 | 546 |
| | 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 | +
| 547 | 551 | .. versionadded:: 1.23.0 |
|