Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/LIBUV]: src/external/mit/libuv/dist Import libuv-1.44.2 (last imported v...
details: https://anonhg.NetBSD.org/src/rev/a551c2e6f0e7
branches: LIBUV
changeset: 370661:a551c2e6f0e7
user: christos <christos%NetBSD.org@localhost>
date: Thu Sep 22 21:20:38 2022 +0000
description:
Import libuv-1.44.2 (last imported version was 1.38.0)
2022.07.12, Version 1.44.2 (Stable)
Changes since version 1.44.1:
* Add SHA to ChangeLog (Jameson Nash)
* aix, ibmi: handle server hang when remote sends TCP RST (V-for-Vasili)
* build: make CI a bit noisier (Jameson Nash)
* process: reset the signal mask if the fork fails (Jameson Nash)
* zos: implement cmpxchgi() using assembly (Shuowang (Wayne) Zhang)
* build: AC_SUBST for AM_CFLAGS (Claes Nästén)
* ibmi: Implement UDP disconnect (V-for-Vasili)
* doc: update active maintainers list (Ben Noordhuis)
* build: fix kFreeBSD build (James McCoy)
* build: remove Windows 2016 workflows (Darshan Sen)
* Revert "win,errors: remap ERROR_ACCESS_DENIED to UV_EACCES" (Darshan Sen)
* unix: simplify getpwuid call (Jameson Nash)
* build: filter CI by paths and branches (Jameson Nash)
* build: add iOS to macos CI (Jameson Nash)
* build: re-enable CI for windows changes (Jameson Nash)
* process,iOS: fix build breakage in process.c (Denny C. Dai)
* test: remove unused declarations in tcp_rst test (V-for-Vasili)
* core: add thread-safe strtok implementation (Guilherme Íscaro)
* win: fix incompatible-types warning (twosee)
* test: fix flaky file watcher test (Ben Noordhuis)
* build: fix AIX xlc autotools build (V-for-Vasili)
* unix,win: fix UV_RUN_ONCE + uv_idle_stop loop hang (Ben Noordhuis)
* win: fix unexpected ECONNRESET error on TCP socket (twosee)
* doc: make sample cross-platform build (gengjiawen)
* test: separate some static variables by test cases (Hannah Shi)
* sunos: fs-event callback can be called after uv_close() (Andy Fiddaman)
* uv: re-register interest in a file after change (Shuowang (Wayne) Zhang)
* uv: register UV_RENAME event for _RFIM_UNLINK (Shuowang (Wayne) Zhang)
* uv: register __rfim_event 156 as UV_RENAME (Shuowang (Wayne) Zhang)
* doc: remove smartos from supported platforms (Ben Noordhuis)
* macos: avoid posix_spawnp() cwd bug (Jameson Nash)
* release: check versions of autogen scripts are newer (Jameson Nash)
* test: rewrite embed test (Ben Noordhuis)
* openbsd: use utimensat instead of lutimes (tuftedocelot)
* doc: fix link to uvwget example main() function (blogdaren)
* unix: use MSG_CMSG_CLOEXEC where supported (Ben Noordhuis)
* test: remove disabled callback_order test (Ben Noordhuis)
* win,pipe: fix bugs with pipe resource lifetime management (Jameson Nash)
* loop: better align order-of-events behavior between platforms (Jameson Nash)
* aix,test: uv_backend_fd is not supported by poll (V-for-Vasili)
* kqueue: skip EVFILT_PROC when invalidating fds (chucksilvers)
* darwin: fix atomic-ops.h ppc64 build (Sergey Fedorov)
* zos: don't err when killing a zombie process (Shuowang (Wayne) Zhang)
* zos: avoid fs event callbacks after uv_close() (Shuowang (Wayne) Zhang)
* zos: correctly format interface addresses names (Shuowang (Wayne) Zhang)
* zos: add uv_interface_addresses() netmask support (Shuowang (Wayne) Zhang)
* zos: improve memory management of ip addresses (Shuowang (Wayne) Zhang)
* tcp,pipe: fail `bind` or `listen` after `close` (theanarkh)
* zos: implement uv_available_parallelism() (Shuowang (Wayne) Zhang)
* udp,win: fix UDP compiler warning (Jameson Nash)
* zos: fix early exit of epoll_wait() (Shuowang (Wayne) Zhang)
* unix,tcp: fix errno handling in uv__tcp_bind() (Samuel Cabrero)
* shutdown,unix: reduce code duplication (Jameson Nash)
* unix: fix c99 comments (Ben Noordhuis)
* unix: retry tcgetattr/tcsetattr() on EINTR (Ben Noordhuis)
* docs: update introduction.rst (Ikko Ashimine)
* unix,stream: optimize uv_shutdown() codepath (Jameson Nash)
* zos: delay signal handling until after normal i/o (Shuowang (Wayne) Zhang)
* stream: uv__drain() always needs to stop POLLOUT (Jameson Nash)
* unix,tcp: allow EINVAL errno from setsockopt in uv_tcp_close_reset() (Stacey
Marshall)
* win,shutdown: improve how shutdown is dispatched (Jameson Nash)
2022.03.09, Version 1.44.1 (Stable), e8b7eb6908a847ffbe6ab2eec7428e43a0aa53a2
Changes since version 1.44.0:
* process: simplify uv__write_int calls (Jameson Nash)
* macos: don't use thread-unsafe strtok() (Ben Noordhuis)
* process: fix hang after NOTE_EXIT (Jameson Nash)
2022.03.07, Version 1.44.0 (Stable), d2bff508457336d808ba7148b33088f6acbfe0a6
Changes since version 1.43.0:
* darwin: remove EPROTOTYPE error workaround (Ben Noordhuis)
* doc: fix v1.43.0 changelog entries (cjihrig)
* win: replace CRITICAL_SECTION+Semaphore with SRWLock (David Machaj)
* darwin: translate EPROTOTYPE to ECONNRESET (Ben Noordhuis)
* android: use libc getifaddrs() (Ben Noordhuis)
* unix: fix STATIC_ASSERT to check what it means to check (Jessica Clarke)
* unix: ensure struct msghdr is zeroed in recvmmsg (Ondřej Surý)
* test: test with maximum recvmmsg buffer (Ondřej Surý)
* unix: don't allow too small thread stack size (Ben Noordhuis)
* bsd: ensure mutex is initialized (Ben Noordhuis)
* doc: add gengjiawen as maintainer (gengjiawen)
* process: monitor for exit with kqueue on BSDs (Jeremy Rose)
* test: fix flaky uv_fs_lutime test (Momtchil Momtchev)
* build: fix cmake install locations (Jameson Nash)
* thread,win: fix C90 style nit (ssrlive)
* build: rename CFLAGS to AM_CFLAGS (Jameson Nash)
* doc/guide: update content and sample code (woclass)
* process,bsd: handle kevent NOTE_EXIT failure (Jameson Nash)
* test: remove flaky test ipc_closed_handle (Ben Noordhuis)
* darwin: bump minimum supported version to 10.15 (Ben Noordhuis)
* win: return fractional seconds in uv_uptime() (Luca Adrian L)
* build: export uv_a for cmake (WenTao Ou)
* loop: add pending work to loop-alive check (Jameson Nash)
* win: use GetTickCount64 for uptime again (Jameson Nash)
* win: restrict system DLL load paths (jonilaitinen)
* win,errors: remap ERROR_ACCESS_DENIED to UV_EACCES (Darshan Sen)
* bench: add `uv_queue_work` ping-pong measurement (Momtchil Momtchev)
* build: fix error C4146 on MSVC (UMU)
* test: fix benchmark-ping-udp (Ryan Liptak)
* win,fs: consider broken pipe error a normal EOF (Momtchil Momtchev)
* document the values of enum uv_stdio_flags (Paul Evans)
* win,loop: add missing uv_update_time (twosee)
* win,fs: avoid closing an invalid handle (Jameson Nash)
* fix oopsie from
* doc: clarify android api level (Ben Noordhuis)
* win: fix style nits [NFC] (Jameson Nash)
* test: fix flaky udp_mmsg test (Santiago Gimeno)
* test: fix ipc_send_recv_pipe flakiness (Ben Noordhuis)
* doc: checkout -> check out (wyckster)
* core: change uv_get_password uid/gid to unsigned (Jameson Nash)
* hurd: unbreak build on GNU/Hurd (Vittore F. Scolari)
* freebsd: use copy_file_range() in uv_fs_sendfile() (David Carlier)
* test: use closefd in runner-unix.c (Guilherme Íscaro)
* Reland "macos: use posix_spawn instead of fork" (Jameson Nash)
* android: fix build error when no ifaddrs.h (ssrlive)
* unix,win: add uv_available_parallelism() (Ben Noordhuis)
* process: remove OpenBSD from kevent list (Jameson Nash)
* zos: fix build breakage (Ben Noordhuis)
* process: only use F_DUPFD_CLOEXEC if it is defined (Jameson Nash)
* win,poll: add the MSAFD GUID for AF_UNIX (roflcopter4)
* unix: simplify uv__cloexec_fcntl() (Ben Noordhuis)
* doc: add secondary GPG ID for vtjnash (Jameson Nash)
* unix: remove uv__cloexec_ioctl() (Jameson Nash)
2022.01.05, Version 1.43.0 (Stable), 988f2bfc4defb9a85a536a3e645834c161143ee0
Changes since version 1.42.0:
* run test named ip6_sin6_len (Jameson Nash)
* docs: fix wrong information about scheduling (Mohamed Edrah)
* unix: protect fork in uv_spawn from signals (Jameson Nash)
* drop only successfully sent packets post sendmmsg (Supragya Raj)
* test: fix typo in test-tty-escape-sequence-processing.c (Ikko Ashimine)
* cmake: use standard installation layout always (Sylvain Corlay)
* win,spawn: allow UNC path with forward slash (earnal)
* win,fsevent: fix uv_fs_event_stop() assert (Ben Noordhuis)
* unix: remove redundant include in unix.h (Juan José Arboleda)
* doc: mark SmartOS as Tier 3 support (Ben Noordhuis)
* doc: fix broken links for netbsd's sysctl manpage (YAKSH BARIYA)
* misc: adjust stalebot deadline (Ben Noordhuis)
* test: remove `dns-server.c` as it is not used anywhere (Darshan Sen)
* build: fix non-cmake android builds (YAKSH BARIYA)
* doc: replace pyuv with uvloop (Ofek Lev)
* asan: fix some tests (Jameson Nash)
* build: add experimental TSAN configuration (Jameson Nash)
* pipe: remove useless assertion (~locpyl-tidnyd)
* bsd: destroy mutex in uv__process_title_cleanup() (Darshan Sen)
* build: add windows build to CI (Darshan Sen)
* win,fs: fix error code in uv_fs_read() and uv_fs_write() (Darshan Sen)
* build: add macos-latest to ci matrix (Ben Noordhuis)
* udp: fix &/&& typo in macro condition (Evan Miller)
* build: install cmake package module (Petr Menšík)
* win: fix build for mingw32 (Nicolas Noble)
* build: fix build failures with MinGW new headers (erw7)
* build: fix win build with cmake versions before v3.14 (AJ Heller)
* unix: support aarch64 in uv_cpu_info() (Juan José Arboleda)
* linux: work around CIFS EPERM bug (Ben Noordhuis)
* sunos: Oracle Developer Studio support (Stacey Marshall)
* Revert "sunos: Oracle Developer Studio support (cjihrig)
* sunos: Oracle Developer Studio support (Stacey Marshall)
* stream: permit read after seeing EOF (Jameson Nash)
* thread: initialize uv_thread_self for all threads (Jameson Nash)
* kqueue: ignore write-end closed notifications (Jameson Nash)
* macos: fix the cfdata length in uv__get_cpu_speed (Jesper Storm Bache)
* unix,win: add uv_ip_name to get name from sockaddr (Campbell He)
* win,test: fix a few typos (AJ Heller)
* zos: use destructor for uv__threadpool_cleanup() (Wayne Zhang)
* linux: use MemAvailable instead of MemFree (Andrey Hohutkin)
* freebsd: call dlerror() only if necessary (Jameson Nash)
* bsd,windows,zos: fix udp disconnect EINVAL (deal)
2021.07.21, Version 1.42.0 (Stable), 6ce14710da7079eb248868171f6343bc409ea3a4
Changes since version 1.41.0:
* doc: fix code highlighting (Darshan Sen)
* test: move to ASSERT_NULL and ASSERT_NOT_NULL test macros (tjarlama)
* zos: build in ascii code page (Shuowang (Wayne) Zhang)
* zos: don't use nanosecond timestamp fields (Shuowang (Wayne) Zhang)
* zos: introduce zoslib (Shuowang (Wayne) Zhang)
* zos: use strnlen() from zoslib (Shuowang (Wayne) Zhang)
* zos: use nanosleep() from zoslib (Shuowang (Wayne) Zhang)
* zos: use __getargv() from zoslib to get exe path (Shuowang (Wayne) Zhang)
* zos: treat __rfim_utok as binary (Shuowang (Wayne) Zhang)
* zos: use execvpe() to set environ explictly (Shuowang (Wayne) Zhang)
* zos: use custom proctitle implementation (Shuowang (Wayne) Zhang)
* doc: add instructions for building on z/OS (Shuowang (Wayne) Zhang)
* linux,udp: enable full ICMP error reporting (Ondřej Surý)
* test: fix test-udp-send-unreachable (Ondřej Surý)
* include: fix typo in documentation (Tobias Nießen)
* chore: use for(;;) instead of while (Yash Ladha)
* test: remove string + int warning on udp-pummel (Juan José Arboleda)
* cmake: fix linker flags (Zhao Zhili)
* test: fix stack-use-after-scope (Zhao Zhili)
* unix: expose thread_stack_size() internally (Brandon Cheng)
* darwin: use RLIMIT_STACK for fsevents pthread (Brandon Cheng)
* darwin: abort on pthread_attr_init fail (Brandon Cheng)
* benchmark: remove unreachable code (Matvii Hodovaniuk)
* macos: fix memleaks in uv__get_cpu_speed (George Zhao)
* Make Thread Sanitizer aware of file descriptor close in uv__close() (Ondřej
Surý)
* darwin: fix iOS compilation and functionality (Hayden)
* linux: work around copy_file_range() cephfs bug (Ben Noordhuis)
* zos: implement uv_get_constrained_memory() (Shuowang (Wayne) Zhang)
* zos: fix uv_get_free_memory() (Shuowang (Wayne) Zhang)
* zos: use CVTRLSTG to get total memory accurately (Shuowang (Wayne) Zhang)
* ibmi: Handle interface names longer than 10 chars (Kevin Adler)
* docs: update read-the-docs version of sphinx (Jameson Nash)
* unix: refactor uv_try_write (twosee)
* linux-core: add proper divide by zero assert (yiyuaner)
* misc: remove unnecessary _GNU_SOURCE macros (Darshan Sen)
* test: log to stdout to conform TAP spec (bbara)
* win,fs: fix C4090 warning with MSVC (SeverinLeonhardt)
* build: some systems provide dlopen() in libc (Andy Fiddaman)
* include: add EOVERFLOW status code mapping (Darshan Sen)
* unix,fs: use uv__load_relaxed and uv__store_relaxed (Darshan Sen)
* win: fix string encoding issue of uv_os_gethostname (Eagle Liang)
* unix,process: add uv__write_errno helper function (Ricky Zhou)
* Re-merge "unix,stream: clear read/write states on close/eof" (Jameson Nash)
* unix,core: fix errno handling in uv__getpwuid_r (Darshan Sen)
* errors: map ESOCKTNOSUPPORT errno (Ryan Liptak)
* doc: uv_read_stop always succeeds (Simon Kissane)
* inet: fix inconsistent return value of inet_ntop6 (twosee)
* darwin: fix -Wsometimes-uninitialized warning (twosee)
* stream: introduce uv_try_write2 function (twosee)
* poll,win: UV_PRIORITIZED option should not assert (twosee)
* src: DragonFlyBSD has mmsghdr struct too (David Carlier)
* cleanup,win: Remove _WIN32 guards on threadpool (James M Snell)
* freebsd: fix an incompatible pointer type warning (Darshan Sen)
* core: Correct the conditionals for {cloexec,nonblock}_ioctl (Ali Mohammad
Pur)
* win,tcp: make uv_close work more like unix (Jameson Nash)
* doc: more accurate list of valid send_handle's (twosee)
* win,tcp: translate system errors correctly (twosee)
* unix: implement cpu_relax() on ppc64 (Ben Noordhuis)
* docs: move list of project links under PR control (Jameson Nash)
* test: wrong pointer arithmetic multiplier (Erkhes N)
* doc: switch discussion forum to github (Jameson Nash)
* idna: fix OOB read in punycode decoder (Ben Noordhuis)
* build: make sure -fvisibility=hidden is set (Santiago Gimeno)
* illumos: event ports to epoll (tjarlama)
* illumos,tty: UV_TTY_MODE_IO waits for 4 bytes (Joshua M. Clulow)
* doc: add vtjnash GPG ID (Jameson Nash)
* linux: read CPU model information on ppc (Richard Lau)
* darwin: fix uv_barrier race condition (Guilherme Íscaro)
* unix,stream: fix loop hang after uv_shutdown (Jameson Nash)
* doc,udp: note that suggested_size is 1 max-sized dgram (Ryan Liptak)
* mingw: fix building for ARM/AArch64 (Martin Storsjö)
* unix: strnlen is not available on Solaris 10 (Claes Nästén)
* sunos: restore use of event ports (Andy Fiddaman)
* sunos,cmake: use thread-safe errno (Andy Fiddaman)
2021.02.14, Version 1.41.0 (Stable), 1dff88e5161cba5c59276d2070d2e304e4dcb242
Changes since version 1.40.0:
* mailmap: update contact information for richardlau (Richard Lau)
* build: add asan checks (gengjiawen)
* unix: report bind error in uv_tcp_connect() (Ben Noordhuis)
* doc: uv_tcp_bind() never returns UV_EADDRINUSE (Ben Noordhuis)
* test: fix pump and tcp_write_batch benchmarks (Santiago Gimeno)
* doc: mark IBM i as Tier 2 support (Jesse Gorzinski)
* doc,poll: add notes (repeated cb & cancel pending cb) (Elad Nachmias)
* linux: fix -Wincompatible-pointer-types warning (Ben Noordhuis)
* linux: fix -Wsign-compare warning (Ben Noordhuis)
* android: add system call api guards (Ben Noordhuis)
* unix,win: harmonize uv_read_start() error handling (Ben Noordhuis)
* unix,win: more uv_read_start() argument validation (Ben Noordhuis)
* build: turn on -fno-strict-aliasing (Ben Noordhuis)
* stream: add uv_pipe and uv_socketpair to the API (Jameson Nash)
* unix,win: initialize timer `timeout` field (Ben Noordhuis)
* bsd-ifaddrs: improve comments (Darshan Sen)
* test: remove unnecessary uv_fs_stat() calls (Ben Noordhuis)
* fs: fix utime/futime timestamp rounding errors (Ben Noordhuis)
* test: ensure reliable floating point comparison (Jameson Nash)
* unix,fs: fix uv_fs_sendfile() (Santiago Gimeno)
* unix: fix uv_fs_stat when using statx (Simon Kadisch)
* linux,macos: fix uv_set_process_title regression (Momtchil Momtchev)
* doc: clarify UDP errors and recvmmsg (Ethel Weston)
* test-getaddrinfo: use example.invalid (Drew DeVault)
* Revert "build: fix android autotools build" (Bernardo Ramos)
* unix,fs: on DVS fs, statx returns EOPNOTSUPP (Mark Klein)
* win, fs: mkdir really return UV_EINVAL for invalid names (Nicholas Vavilov)
* tools: migrate tools/make_dist_html.py to python3 (Dominique Dumont)
* unix: fix uv_uptime() on linux (schamberg97)
* unix: check for partial copy_file_range support (Momtchil Momtchev)
* win: bump minimum supported version to windows 8 (Ben Noordhuis)
* poll,unix: ensure safety of rapid fd reuse (Bob Weinand)
* test: fix some warnings (Issam E. Maghni)
* unix: fix uv_uptime() regression (Santiago Gimeno)
* doc: fix versionadded metadata (cjihrig)
* test: fix 'incompatible pointer types' warnings (cjihrig)
* unix: check for EXDEV in uv__fs_sendfile() (Darshan Sen)
2020.09.26, Version 1.40.0 (Stable), 4e69e333252693bd82d6338d6124f0416538dbfc
Changes since version 1.39.0:
* udp: add UV_UDP_MMSG_FREE recv_cb flag (Ryan Liptak)
* include: re-map UV__EPROTO from 4046 to -4046 (YuMeiJie)
* doc: correct UV_UDP_MMSG_FREE version added (cjihrig)
* doc: add uv_metrics_idle_time() version metadata (Ryan Liptak)
* win,tty: pass through utf-16 surrogate pairs (Mustafa M)
* unix: fix DragonFly BSD build (Aleksej Lebedev)
* win,udp: fix error code returned by connect() (Santiago Gimeno)
* src: suppress user_timeout maybe-uninitialized (Daniel Bevenius)
* test: fix compiler warning (Vladimír Čunát)
* build: fix the Haiku cmake build (David Carlier)
* linux: fix i386 sendmmsg/recvmmsg support (Ben Noordhuis)
* build: add libuv-static pkg-config file (Nikolay Mitev)
* unix,win: add uv_timer_get_due_in() (Ulrik Strid)
* build,unix: add QNX support (Elad Lahav)
* include: remove incorrect UV__ERR() for EPROTO (cjihrig)
2020.08.26, Version 1.39.0 (Stable), 25f4b8b8a3c0f934158cd37a37b0525d75ca488e
Changes since version 1.38.1:
* unix: use relaxed loads/stores for clock id (Ben Noordhuis)
* build,win: link to user32.lib and advapi32.lib (George Zhao)
* unix: squelch harmless valgrind warning (ssrlive)
* include: fx c++ style comments warnings (Turbinya)
* build,cmake: Change installation location on MinGW (erw7)
* linux: use copy_file_range for uv_fs_copyfile when possible (Carter Li)
* win,tcp: avoid reinserting a pending request (
* docs: improve the descriptions for get memory info (Juan Sebastian velez
Posada)
* test: add udp-mmsg test (Ryan Liptak)
* udp: add uv_udp_using_recvmmsg query (Ryan Liptak)
* doc: add more error constants (TK-one)
* zos: fix potential event loop stall (Trevor Norris)
* include: add internal fields struct to uv_loop_t (Trevor Norris)
* core: add API to measure event loop idle time (Trevor Norris)
* win,fs: use CreateDirectoryW instead of _wmkdir (Mustafa M)
* win,nfc: fix integer comparison signedness (escherstair)
* win,nfc: use
* win,nfc: removed some unused variables (escherstair)
* win,nfc: add missing return statement (escherstair)
* win,nfc: disable clang-format for
* darwin: use IOKit for uv_cpu_info (Evan Lucas)
* test: fix thread race in process_title_threadsafe (Ben Noordhuis)
* win,fs: avoid implicit access to _doserrno (Jameson Nash)
* test: give hrtime test a custom 20s timeout (Jameson Nash)
* build: add more failed test, for qemu version bump (gengjiawen)
* unix: handle src, dest same in uv_fs_copyfile() (cjihrig)
* unix: error when uv_setup_args() is not called (Ryan Liptak)
* aix: protect uv_exepath() from uv_set_process_title() (Richard Lau)
* fs: clobber req->path on uv_fs_mkstemp() error (tjarlama)
* cmake: fix compile error C2001 on Chinese Windows (司徒玟琅)
* test: avoid double evaluation in ASSERT_BASE macro (tjarlama)
* tcp: fail instantly if local port is unbound (Bartosz Sosnowski)
* doc: fix most sphinx warnings (Jameson Nash)
* nfci: address some style nits (Jameson Nash)
* unix: don't use _POSIX_PATH_MAX (Ben Noordhuis)
2020.07.04, Version 1.38.1 (Stable), e8b989ea1f7f9d4083511a2caec7791e9abd1871
Changes since version 1.38.0:
* test: use last matching qemu version (cjihrig)
* win, util: rearrange uv_hrtime (Bartosz Sosnowski)
* test: skip signal_multiple_loops test on QEMU (gengjiawen)
* build: add android build to CI (gengjiawen)
* test: extend fs_event_error_reporting timeout (cjihrig)
* build: link libkvm on netbsd only (Alexander Tokmakov)
* linux: refactor /proc file reader logic (Ben Noordhuis)
* linux: read load average from /proc/loadavg (Ben Noordhuis)
* android: remove patch code for below 21 (gengjiawen)
* win: fix visual studio 2008 build (Arenoros)
* win,tty: fix deadlock caused by inconsistent state (lander0s)
* unix: use relaxed loads/stores for feature checks (Ben Noordhuis)
* build: don't .gitignore m4/ax_pthread.m4 (Ben Noordhuis)
* unix: fix gcc atomics feature check (Ben Noordhuis)
* darwin: work around clock jumping back in time (Ben Noordhuis)
* udp: fix write_queue cleanup on sendmmsg error (Santiago Gimeno)
* src: build fix for Android (David Carlier)
diffstat:
external/mit/libuv/dist/.github/ISSUE_TEMPLATE.md | 2 +-
external/mit/libuv/dist/.github/stale.yml | 7 +-
external/mit/libuv/dist/.github/workflows/CI-sample.yml | 32 +
external/mit/libuv/dist/.github/workflows/CI-unix.yml | 129 +
external/mit/libuv/dist/.github/workflows/CI-win.yml | 51 +
external/mit/libuv/dist/.github/workflows/sanitizer.yml | 41 +
external/mit/libuv/dist/.mailmap | 13 +
external/mit/libuv/dist/.readthedocs.yaml | 11 +
external/mit/libuv/dist/AUTHORS | 91 +-
external/mit/libuv/dist/CMakeLists.txt | 215 +-
external/mit/libuv/dist/CONTRIBUTING.md | 10 +-
external/mit/libuv/dist/ChangeLog | 725 +++++++-
external/mit/libuv/dist/LICENSE | 4 -
external/mit/libuv/dist/LINKS.md | 101 +
external/mit/libuv/dist/MAINTAINERS.md | 16 +-
external/mit/libuv/dist/Makefile.am | 59 +-
external/mit/libuv/dist/README.md | 22 +-
external/mit/libuv/dist/SUPPORTED_PLATFORMS.md | 9 +-
external/mit/libuv/dist/autogen.sh | 35 +-
external/mit/libuv/dist/configure.ac | 13 +-
external/mit/libuv/dist/docs/code/CMakeLists.txt | 51 +
external/mit/libuv/dist/docs/code/Makefile | 82 +
external/mit/libuv/dist/docs/code/cgi/main.c | 4 +-
external/mit/libuv/dist/docs/code/default-loop/main.c | 12 +
external/mit/libuv/dist/docs/code/dns/main.c | 4 +-
external/mit/libuv/dist/docs/code/interfaces/main.c | 14 +-
external/mit/libuv/dist/docs/code/thread-create/main.c | 5 +-
external/mit/libuv/dist/docs/code/udp-dhcp/main.c | 3 +-
external/mit/libuv/dist/docs/code/uvcat/main.c | 1 -
external/mit/libuv/dist/docs/code/uvtee/main.c | 1 -
external/mit/libuv/dist/docs/requirements.txt | 42 +
external/mit/libuv/dist/docs/src/api.rst | 1 +
external/mit/libuv/dist/docs/src/async.rst | 2 +-
external/mit/libuv/dist/docs/src/design.rst | 2 +-
external/mit/libuv/dist/docs/src/errors.rst | 22 +-
external/mit/libuv/dist/docs/src/fs.rst | 8 +-
external/mit/libuv/dist/docs/src/guide/basics.rst | 27 +-
external/mit/libuv/dist/docs/src/guide/eventloops.rst | 2 +
external/mit/libuv/dist/docs/src/guide/filesystem.rst | 41 +-
external/mit/libuv/dist/docs/src/guide/introduction.rst | 20 +-
external/mit/libuv/dist/docs/src/guide/networking.rst | 13 +-
external/mit/libuv/dist/docs/src/guide/processes.rst | 23 +-
external/mit/libuv/dist/docs/src/guide/threads.rst | 12 +
external/mit/libuv/dist/docs/src/guide/utilities.rst | 17 +-
external/mit/libuv/dist/docs/src/handle.rst | 4 +-
external/mit/libuv/dist/docs/src/index.rst | 6 +-
external/mit/libuv/dist/docs/src/loop.rst | 9 +-
external/mit/libuv/dist/docs/src/metrics.rst | 27 +
external/mit/libuv/dist/docs/src/misc.rst | 71 +-
external/mit/libuv/dist/docs/src/pipe.rst | 18 +
external/mit/libuv/dist/docs/src/poll.rst | 63 +-
external/mit/libuv/dist/docs/src/process.rst | 77 +-
external/mit/libuv/dist/docs/src/request.rst | 2 +-
external/mit/libuv/dist/docs/src/sphinx-plugins/manpage.py | 2 +-
external/mit/libuv/dist/docs/src/stream.rst | 25 +-
external/mit/libuv/dist/docs/src/tcp.rst | 24 +-
external/mit/libuv/dist/docs/src/timer.rst | 7 +
external/mit/libuv/dist/docs/src/tty.rst | 5 +-
external/mit/libuv/dist/docs/src/udp.rst | 48 +-
external/mit/libuv/dist/include/uv.h | 66 +-
external/mit/libuv/dist/include/uv/errno.h | 14 +-
external/mit/libuv/dist/include/uv/tree.h | 2 +-
external/mit/libuv/dist/include/uv/unix.h | 4 +-
external/mit/libuv/dist/include/uv/version.h | 4 +-
external/mit/libuv/dist/include/uv/win.h | 38 +-
external/mit/libuv/dist/libuv-static.pc.in | 12 +
external/mit/libuv/dist/m4/libuv-check-flags.m4 | 21 +-
external/mit/libuv/dist/m4/libuv-check-versions.m4 | 7 +
external/mit/libuv/dist/src/fs-poll.c | 2 +-
external/mit/libuv/dist/src/idna.c | 50 +-
external/mit/libuv/dist/src/inet.c | 3 +-
external/mit/libuv/dist/src/random.c | 2 +-
external/mit/libuv/dist/src/strscpy.c | 21 +
external/mit/libuv/dist/src/strscpy.h | 23 +-
external/mit/libuv/dist/src/strtok.c | 52 +
external/mit/libuv/dist/src/strtok.h | 27 +
external/mit/libuv/dist/src/threadpool.c | 9 +-
external/mit/libuv/dist/src/timer.c | 9 +
external/mit/libuv/dist/src/unix/aix-common.c | 110 +-
external/mit/libuv/dist/src/unix/aix.c | 70 +-
external/mit/libuv/dist/src/unix/async.c | 2 +-
external/mit/libuv/dist/src/unix/atomic-ops.h | 19 +-
external/mit/libuv/dist/src/unix/bsd-ifaddrs.c | 18 +-
external/mit/libuv/dist/src/unix/bsd-proctitle.c | 5 +-
external/mit/libuv/dist/src/unix/core.c | 394 ++-
external/mit/libuv/dist/src/unix/darwin-stub.h | 16 +
external/mit/libuv/dist/src/unix/darwin.c | 176 +-
external/mit/libuv/dist/src/unix/dl.c | 2 +-
external/mit/libuv/dist/src/unix/epoll.c | 422 ++++
external/mit/libuv/dist/src/unix/freebsd.c | 67 +-
external/mit/libuv/dist/src/unix/fs.c | 275 ++-
external/mit/libuv/dist/src/unix/fsevents.c | 23 +-
external/mit/libuv/dist/src/unix/getaddrinfo.c | 3 -
external/mit/libuv/dist/src/unix/hurd.c | 167 +
external/mit/libuv/dist/src/unix/ibmi.c | 86 +-
external/mit/libuv/dist/src/unix/internal.h | 71 +-
external/mit/libuv/dist/src/unix/kqueue.c | 83 +-
external/mit/libuv/dist/src/unix/linux-core.c | 583 +----
external/mit/libuv/dist/src/unix/linux-inotify.c | 2 +-
external/mit/libuv/dist/src/unix/linux-syscalls.c | 125 +-
external/mit/libuv/dist/src/unix/linux-syscalls.h | 10 +-
external/mit/libuv/dist/src/unix/loop.c | 34 +-
external/mit/libuv/dist/src/unix/os390-proctitle.c | 136 +
external/mit/libuv/dist/src/unix/os390-syscalls.c | 99 +-
external/mit/libuv/dist/src/unix/os390-syscalls.h | 3 +-
external/mit/libuv/dist/src/unix/os390.c | 533 ++--
external/mit/libuv/dist/src/unix/pipe.c | 62 +-
external/mit/libuv/dist/src/unix/poll.c | 14 +-
external/mit/libuv/dist/src/unix/posix-poll.c | 40 +-
external/mit/libuv/dist/src/unix/process.c | 1014 +++++++--
external/mit/libuv/dist/src/unix/proctitle.c | 12 +-
external/mit/libuv/dist/src/unix/pthread-fixes.c | 6 +-
external/mit/libuv/dist/src/unix/qnx.c | 137 +
external/mit/libuv/dist/src/unix/signal.c | 4 +-
external/mit/libuv/dist/src/unix/stream.c | 360 +--
external/mit/libuv/dist/src/unix/sunos.c | 82 +-
external/mit/libuv/dist/src/unix/tcp.c | 77 +-
external/mit/libuv/dist/src/unix/thread.c | 107 +-
external/mit/libuv/dist/src/unix/tty.c | 96 +-
external/mit/libuv/dist/src/unix/udp.c | 164 +-
external/mit/libuv/dist/src/uv-common.c | 111 +-
external/mit/libuv/dist/src/uv-common.h | 45 +-
external/mit/libuv/dist/src/uv-data-getter-setters.c | 21 +
external/mit/libuv/dist/src/win/async.c | 10 +-
external/mit/libuv/dist/src/win/atomicops-inl.h | 8 +-
external/mit/libuv/dist/src/win/core.c | 183 +-
external/mit/libuv/dist/src/win/detect-wakeup.c | 21 +
external/mit/libuv/dist/src/win/error.c | 2 +-
external/mit/libuv/dist/src/win/fs-event.c | 40 +-
external/mit/libuv/dist/src/win/fs-fd-hash-inl.h | 24 +-
external/mit/libuv/dist/src/win/fs.c | 182 +-
external/mit/libuv/dist/src/win/handle-inl.h | 26 +-
external/mit/libuv/dist/src/win/handle.c | 26 +-
external/mit/libuv/dist/src/win/internal.h | 151 +-
external/mit/libuv/dist/src/win/loop-watcher.c | 4 +-
external/mit/libuv/dist/src/win/pipe.c | 818 +++++--
external/mit/libuv/dist/src/win/poll.c | 39 +-
external/mit/libuv/dist/src/win/process-stdio.c | 96 -
external/mit/libuv/dist/src/win/process.c | 26 +-
external/mit/libuv/dist/src/win/req-inl.h | 43 +-
external/mit/libuv/dist/src/win/signal.c | 12 +-
external/mit/libuv/dist/src/win/stream-inl.h | 8 +-
external/mit/libuv/dist/src/win/stream.c | 54 +-
external/mit/libuv/dist/src/win/tcp.c | 568 +++-
external/mit/libuv/dist/src/win/thread.c | 107 +-
external/mit/libuv/dist/src/win/tty.c | 244 +-
external/mit/libuv/dist/src/win/udp.c | 125 +-
external/mit/libuv/dist/src/win/util.c | 162 +-
external/mit/libuv/dist/src/win/winapi.c | 16 +-
external/mit/libuv/dist/src/win/winapi.h | 19 +
external/mit/libuv/dist/src/win/winsock.c | 28 +-
external/mit/libuv/dist/test/benchmark-async-pummel.c | 2 +-
external/mit/libuv/dist/test/benchmark-async.c | 2 +-
external/mit/libuv/dist/test/benchmark-list.h | 11 +-
external/mit/libuv/dist/test/benchmark-million-async.c | 2 +-
external/mit/libuv/dist/test/benchmark-million-timers.c | 2 +-
external/mit/libuv/dist/test/benchmark-multi-accept.c | 8 +-
external/mit/libuv/dist/test/benchmark-ping-udp.c | 8 +-
external/mit/libuv/dist/test/benchmark-pound.c | 8 +-
external/mit/libuv/dist/test/benchmark-pump.c | 2 +
external/mit/libuv/dist/test/benchmark-queue-work.c | 68 +
external/mit/libuv/dist/test/benchmark-tcp-write-batch.c | 4 +-
external/mit/libuv/dist/test/benchmark-udp-pummel.c | 14 +-
external/mit/libuv/dist/test/blackhole-server.c | 3 +-
external/mit/libuv/dist/test/echo-server.c | 64 +-
external/mit/libuv/dist/test/run-benchmarks.c | 12 +-
external/mit/libuv/dist/test/run-tests.c | 55 +-
external/mit/libuv/dist/test/runner-unix.c | 8 +-
external/mit/libuv/dist/test/runner.c | 42 +-
external/mit/libuv/dist/test/task.h | 77 +-
external/mit/libuv/dist/test/test-active.c | 2 +-
external/mit/libuv/dist/test/test-async.c | 2 +-
external/mit/libuv/dist/test/test-callback-stack.c | 2 +-
external/mit/libuv/dist/test/test-close-fd.c | 34 +-
external/mit/libuv/dist/test/test-close-order.c | 2 +-
external/mit/libuv/dist/test/test-default-loop-close.c | 4 +-
external/mit/libuv/dist/test/test-delayed-accept.c | 18 +-
external/mit/libuv/dist/test/test-dlerror.c | 20 +-
external/mit/libuv/dist/test/test-embed.c | 138 +-
external/mit/libuv/dist/test/test-error.c | 11 +-
external/mit/libuv/dist/test/test-fs-copyfile.c | 7 +-
external/mit/libuv/dist/test/test-fs-event.c | 115 +-
external/mit/libuv/dist/test/test-fs-open-flags.c | 44 +-
external/mit/libuv/dist/test/test-fs-poll.c | 4 +-
external/mit/libuv/dist/test/test-fs-readdir.c | 16 +-
external/mit/libuv/dist/test/test-fs.c | 223 +-
external/mit/libuv/dist/test/test-get-currentexe.c | 16 +-
external/mit/libuv/dist/test/test-get-passwd.c | 30 +-
external/mit/libuv/dist/test/test-getaddrinfo.c | 24 +-
external/mit/libuv/dist/test/test-getnameinfo.c | 16 +-
external/mit/libuv/dist/test/test-getsockname.c | 19 +-
external/mit/libuv/dist/test/test-getters-setters.c | 35 +-
external/mit/libuv/dist/test/test-idle.c | 26 +
external/mit/libuv/dist/test/test-idna.c | 19 +
external/mit/libuv/dist/test/test-ip-name.c | 65 +
external/mit/libuv/dist/test/test-ip6-addr.c | 6 +-
external/mit/libuv/dist/test/test-ipc-heavy-traffic-deadlock-bug.c | 2 +-
external/mit/libuv/dist/test/test-ipc-send-recv.c | 12 +-
external/mit/libuv/dist/test/test-ipc.c | 136 +-
external/mit/libuv/dist/test/test-list.h | 112 +-
external/mit/libuv/dist/test/test-loop-handles.c | 4 +-
external/mit/libuv/dist/test/test-loop-time.c | 26 +-
external/mit/libuv/dist/test/test-metrics.c | 135 +
external/mit/libuv/dist/test/test-multiple-listen.c | 6 +-
external/mit/libuv/dist/test/test-not-readable-nor-writable-on-read-error.c | 104 +
external/mit/libuv/dist/test/test-not-writable-after-shutdown.c | 69 +
external/mit/libuv/dist/test/test-ping-pong.c | 290 ++-
external/mit/libuv/dist/test/test-pipe-bind-error.c | 18 +-
external/mit/libuv/dist/test/test-pipe-connect-error.c | 2 +-
external/mit/libuv/dist/test/test-pipe-connect-prepare.c | 2 +-
external/mit/libuv/dist/test/test-pipe-getsockname.c | 10 +-
external/mit/libuv/dist/test/test-pipe-server-close.c | 2 +-
external/mit/libuv/dist/test/test-pipe-set-non-blocking.c | 80 +-
external/mit/libuv/dist/test/test-platform-output.c | 6 +
external/mit/libuv/dist/test/test-poll-multiple-handles.c | 99 +
external/mit/libuv/dist/test/test-poll.c | 4 +-
external/mit/libuv/dist/test/test-process-title-threadsafe.c | 15 +-
external/mit/libuv/dist/test/test-readable-on-eof.c | 111 +
external/mit/libuv/dist/test/test-ref.c | 2 +-
external/mit/libuv/dist/test/test-shutdown-eof.c | 8 +-
external/mit/libuv/dist/test/test-shutdown-simultaneous.c | 135 +
external/mit/libuv/dist/test/test-signal-multiple-loops.c | 7 +-
external/mit/libuv/dist/test/test-signal-pending-on-close.c | 4 +-
external/mit/libuv/dist/test/test-spawn.c | 277 +-
external/mit/libuv/dist/test/test-strtok.c | 90 +
external/mit/libuv/dist/test/test-tcp-alloc-cb-fail.c | 2 +-
external/mit/libuv/dist/test/test-tcp-bind-error.c | 69 +-
external/mit/libuv/dist/test/test-tcp-bind6-error.c | 2 +-
external/mit/libuv/dist/test/test-tcp-close-after-read-timeout.c | 183 +
external/mit/libuv/dist/test/test-tcp-close-reset.c | 46 +
external/mit/libuv/dist/test/test-tcp-close.c | 2 +-
external/mit/libuv/dist/test/test-tcp-connect-error.c | 4 +-
external/mit/libuv/dist/test/test-tcp-connect-timeout.c | 105 +
external/mit/libuv/dist/test/test-tcp-connect6-error.c | 4 +-
external/mit/libuv/dist/test/test-tcp-create-socket-early.c | 2 +-
external/mit/libuv/dist/test/test-tcp-open.c | 17 +-
external/mit/libuv/dist/test/test-tcp-read-stop-start.c | 136 +
external/mit/libuv/dist/test/test-tcp-rst.c | 107 +
external/mit/libuv/dist/test/test-tcp-write-fail.c | 4 +-
external/mit/libuv/dist/test/test-tcp-write-to-half-open-connection.c | 2 +-
external/mit/libuv/dist/test/test-tcp-writealot.c | 8 +-
external/mit/libuv/dist/test/test-test-macros.c | 42 +
external/mit/libuv/dist/test/test-thread-equal.c | 6 +
external/mit/libuv/dist/test/test-thread.c | 16 +-
external/mit/libuv/dist/test/test-threadpool-cancel.c | 6 +-
external/mit/libuv/dist/test/test-timer-again.c | 2 +-
external/mit/libuv/dist/test/test-timer.c | 39 +-
external/mit/libuv/dist/test/test-tty-duplicate-key.c | 2 +-
external/mit/libuv/dist/test/test-tty-escape-sequence-processing.c | 20 +-
external/mit/libuv/dist/test/test-tty.c | 8 +
external/mit/libuv/dist/test/test-udp-alloc-cb-fail.c | 10 +-
external/mit/libuv/dist/test/test-udp-connect.c | 19 +-
external/mit/libuv/dist/test/test-udp-connect6.c | 196 +
external/mit/libuv/dist/test/test-udp-mmsg.c | 149 +
external/mit/libuv/dist/test/test-udp-multicast-interface.c | 2 +-
external/mit/libuv/dist/test/test-udp-multicast-interface6.c | 2 +-
external/mit/libuv/dist/test/test-udp-multicast-join.c | 6 +-
external/mit/libuv/dist/test/test-udp-multicast-join6.c | 6 +-
external/mit/libuv/dist/test/test-udp-multicast-ttl.c | 2 +-
external/mit/libuv/dist/test/test-udp-open.c | 16 +-
external/mit/libuv/dist/test/test-udp-send-and-recv.c | 14 +-
external/mit/libuv/dist/test/test-udp-send-hang-loop.c | 4 +-
external/mit/libuv/dist/test/test-udp-send-immediate.c | 6 +-
external/mit/libuv/dist/test/test-udp-send-unreachable.c | 93 +-
external/mit/libuv/dist/test/test-udp-sendmmsg-error.c | 75 +
external/mit/libuv/dist/test/test-udp-try-send.c | 4 +-
external/mit/libuv/dist/tools/make_dist_html.py | 8 +-
267 files changed, 11840 insertions(+), 4341 deletions(-)
diffs (truncated from 28363 to 300 lines):
diff -r 1a81e11a995c -r a551c2e6f0e7 external/mit/libuv/dist/.github/ISSUE_TEMPLATE.md
--- a/external/mit/libuv/dist/.github/ISSUE_TEMPLATE.md Sun May 24 19:26:37 2020 +0000
+++ b/external/mit/libuv/dist/.github/ISSUE_TEMPLATE.md Thu Sep 22 21:20:38 2022 +0000
@@ -2,7 +2,7 @@
If you want to report a bug, you are in the right place!
If you need help or have a question, go here:
-https://github.com/libuv/help/issues/new
+https://github.com/libuv/libuv/discussions
If you are reporting a libuv test failure, please ensure that you are not
running the test as root.
diff -r 1a81e11a995c -r a551c2e6f0e7 external/mit/libuv/dist/.github/stale.yml
--- a/external/mit/libuv/dist/.github/stale.yml Sun May 24 19:26:37 2020 +0000
+++ b/external/mit/libuv/dist/.github/stale.yml Thu Sep 22 21:20:38 2022 +0000
@@ -1,9 +1,9 @@
# Number of days of inactivity before an issue becomes stale
-daysUntilStale: 21
+daysUntilStale: 28
# Number of days of inactivity before a stale issue is closed
# Set to false to disable. If disabled, issues still need to be closed
# manually, but will remain marked as stale.
-daysUntilClose: 120
+daysUntilClose: false
# Issues with these labels will never be considered stale
exemptLabels:
- v2
@@ -18,7 +18,6 @@
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
- recent activity. It will be closed if no further activity occurs. Thank you
- for your contributions.
+ recent activity. Thank you for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
diff -r 1a81e11a995c -r a551c2e6f0e7 external/mit/libuv/dist/.github/workflows/CI-sample.yml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/libuv/dist/.github/workflows/CI-sample.yml Thu Sep 22 21:20:38 2022 +0000
@@ -0,0 +1,32 @@
+name: ci-sample
+
+on:
+ pull_request:
+ paths:
+ - '**'
+ - '!docs/**'
+ - '!.**'
+ - '.github/workflows/CI-sample.yml'
+ push:
+ branches:
+ - v[0-9].*
+ - master
+
+jobs:
+ build:
+ strategy:
+ fail-fast: false
+ matrix:
+ os: [macos-latest, ubuntu-latest, windows-latest]
+ runs-on: ${{matrix.os}}
+ steps:
+ - uses: actions/checkout@v2
+ - name: setup
+ run: cmake -E make_directory ${{runner.workspace}}/libuv/docs/code/build
+ - name: configure
+ # you may like use Ninja on unix-like OS, but for windows, the only easy way is to use Visual Studio if you want Ninja
+ run: cmake ..
+ working-directory: ${{runner.workspace}}/libuv/docs/code/build
+ - name: build
+ run: cmake --build .
+ working-directory: ${{runner.workspace}}/libuv/docs/code/build
diff -r 1a81e11a995c -r a551c2e6f0e7 external/mit/libuv/dist/.github/workflows/CI-unix.yml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/libuv/dist/.github/workflows/CI-unix.yml Thu Sep 22 21:20:38 2022 +0000
@@ -0,0 +1,129 @@
+name: CI-unix
+
+on:
+ pull_request:
+ paths:
+ - '**'
+ - '!docs/**'
+ - '!src/win/**'
+ - '!.**'
+ - '.github/workflows/CI-unix.yml'
+ push:
+ branches:
+ - v[0-9].*
+ - master
+
+jobs:
+ build-android:
+ runs-on: ubuntu-latest
+ container: reactnativecommunity/react-native-android:2020-5-20
+ steps:
+ - uses: actions/checkout@v2
+ - name: Envinfo
+ run: npx envinfo
+ - name: Configure android arm64
+ # see build options you can use in https://developer.android.com/ndk/guides/cmake
+ run: |
+ mkdir build
+ cd build
+ $ANDROID_HOME/cmake/3.10.2.4988404/bin/cmake -DCMAKE_TOOLCHAIN_FILE=$ANDROID_HOME/ndk/20.0.5594570/build/cmake/android.toolchain.cmake -DCMAKE_BUILD_TYPE=Release -DANDROID_ABI="arm64-v8a"
-DANDROID_PLATFORM=android-24 ..
+ - name: Build android arm64
+ run: |
+ $ANDROID_HOME/cmake/3.10.2.4988404/bin/cmake --build build
+ ls -lh build
+
+ build-macos:
+ runs-on: macos-10.15
+ steps:
+ - uses: actions/checkout@v2
+ - name: Envinfo
+ run: npx envinfo
+ - name: Setup
+ run: |
+ brew install ninja
+ - name: Configure
+ run: |
+ mkdir build
+ cd build
+ cmake .. -DBUILD_TESTING=ON -G Ninja
+ - name: Build
+ run: |
+ cmake --build build
+ ls -lh
+ - name: platform_output
+ run: |
+ ./build/uv_run_tests platform_output
+ - name: platform_output_a
+ run: |
+ ./build/uv_run_tests_a platform_output
+ - name: Test
+ run: |
+ cd build && ctest -V
+
+ build-ios:
+ runs-on: macos-10.15
+ steps:
+ - uses: actions/checkout@v2
+ - name: Configure
+ run: |
+ mkdir build-ios
+ cd build-ios
+ cmake .. -GXcode -DCMAKE_SYSTEM_NAME:STRING=iOS -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED:BOOL=NO -DCMAKE_CONFIGURATION_TYPES:STRING=Release
+ - name: Build
+ run: |
+ cmake --build build-ios
+ ls -lh build-ios
+
+ build-cross-qemu:
+ runs-on: ubuntu-latest
+ name: build-cross-qemu-${{ matrix.config.target }}
+
+ strategy:
+ fail-fast: false
+ matrix:
+ config:
+ - {target: arm, toolchain: gcc-arm-linux-gnueabi, cc: arm-linux-gnueabi-gcc, qemu: qemu-arm-static }
+ - {target: armhf, toolchain: gcc-arm-linux-gnueabihf, cc: arm-linux-gnueabihf-gcc, qemu: qemu-arm-static }
+ - {target: aarch64, toolchain: gcc-aarch64-linux-gnu, cc: aarch64-linux-gnu-gcc, qemu: qemu-aarch64-static }
+ - {target: riscv64, toolchain: gcc-riscv64-linux-gnu, cc: riscv64-linux-gnu-gcc, qemu: qemu-riscv64-static }
+ - {target: ppc, toolchain: gcc-powerpc-linux-gnu, cc: powerpc-linux-gnu-gcc, qemu: qemu-ppc-static }
+ - {target: ppc64, toolchain: gcc-powerpc64-linux-gnu, cc: powerpc64-linux-gnu-gcc, qemu: qemu-ppc64-static }
+ - {target: ppc64le, toolchain: gcc-powerpc64le-linux-gnu, cc: powerpc64le-linux-gnu-gcc, qemu: qemu-ppc64le-static }
+ - {target: s390x, toolchain: gcc-s390x-linux-gnu, cc: s390x-linux-gnu-gcc, qemu: qemu-s390x-static }
+ - {target: mips, toolchain: gcc-mips-linux-gnu, cc: mips-linux-gnu-gcc, qemu: qemu-mips-static }
+ - {target: mips64, toolchain: gcc-mips64-linux-gnuabi64, cc: mips64-linux-gnuabi64-gcc, qemu: qemu-mips64-static }
+ - {target: mipsel, toolchain: gcc-mipsel-linux-gnu, cc: mipsel-linux-gnu-gcc, qemu: qemu-mipsel-static }
+ - {target: mips64el,toolchain: gcc-mips64el-linux-gnuabi64, cc: mips64el-linux-gnuabi64-gcc,qemu: qemu-mips64el-static }
+ - {target: alpha, toolchain: gcc-alpha-linux-gnu, cc: alpha-linux-gnu-gcc, qemu: qemu-alpha-static }
+ - {target: arm (u64 slots), toolchain: gcc-arm-linux-gnueabi, cc: arm-linux-gnueabi-gcc, qemu: qemu-arm-static}
+ - {target: aarch64 (u64 slots), toolchain: gcc-aarch64-linux-gnu, cc: aarch64-linux-gnu-gcc, qemu: qemu-aarch64-static}
+ - {target: ppc (u64 slots), toolchain: gcc-powerpc-linux-gnu, cc: powerpc-linux-gnu-gcc, qemu: qemu-ppc-static}
+ - {target: ppc64 (u64 slots), toolchain: gcc-powerpc64-linux-gnu, cc: powerpc64-linux-gnu-gcc, qemu: qemu-ppc64-static}
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Install QEMU
+ # this ensure install latest qemu on ubuntu, apt get version is old
+ env:
+ QEMU_SRC: "http://archive.ubuntu.com/ubuntu/pool/universe/q/qemu"
+ QEMU_VER: "qemu-user-static_4\\.2-.*_amd64.deb$"
+ run: |
+ DEB=`curl -s $QEMU_SRC/ | grep -o -E 'href="([^"#]+)"' | cut -d'"' -f2 | grep $QEMU_VER | tail -1`
+ wget $QEMU_SRC/$DEB
+ sudo dpkg -i $DEB
+ - name: Install ${{ matrix.config.toolchain }}
+ run: |
+ sudo apt update
+ sudo apt install ${{ matrix.config.toolchain }} -y
+ - name: Configure with ${{ matrix.config.cc }}
+ run: |
+ mkdir build
+ cd build
+ cmake .. -DBUILD_TESTING=ON -DQEMU=ON -DCMAKE_C_COMPILER=${{ matrix.config.cc }}
+ - name: Build
+ run: |
+ cmake --build build
+ ls -lh build
+ - name: Test
+ run: |
+ ${{ matrix.config.qemu }} build/uv_run_tests_a
diff -r 1a81e11a995c -r a551c2e6f0e7 external/mit/libuv/dist/.github/workflows/CI-win.yml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/libuv/dist/.github/workflows/CI-win.yml Thu Sep 22 21:20:38 2022 +0000
@@ -0,0 +1,51 @@
+name: CI-win
+
+on:
+ pull_request:
+ paths:
+ - '**'
+ - '!docs/**'
+ - '!src/unix/**'
+ - '!.**'
+ - '.github/workflows/CI-win.yml'
+ push:
+ branches:
+ - v[0-9].*
+ - master
+
+jobs:
+ build-windows:
+ runs-on: windows-${{ matrix.config.server }}
+ name: build-${{ matrix.config.toolchain}}-${{ matrix.config.arch}}
+ strategy:
+ fail-fast: false
+ matrix:
+ config:
+ - {toolchain: Visual Studio 16 2019, arch: Win32, server: 2019}
+ - {toolchain: Visual Studio 16 2019, arch: x64, server: 2019}
+ - {toolchain: Visual Studio 17 2022, arch: Win32, server: 2022}
+ - {toolchain: Visual Studio 17 2022, arch: x64, server: 2022}
+ steps:
+ - uses: actions/checkout@v2
+ - name: Envinfo
+ run: npx envinfo
+ - name: Build
+ shell: cmd
+ run: |
+ mkdir -p build
+ cd build
+ cmake .. -DBUILD_TESTING=ON -G "${{ matrix.config.toolchain }}" -A ${{ matrix.config.arch }}
+ cmake --build .
+ - name: platform_output
+ shell: cmd
+ run: |
+ build\\Debug\\uv_run_tests.exe platform_output
+ - name: platform_output_a
+ shell: cmd
+ run: |
+ build\\Debug\\uv_run_tests_a.exe platform_output
+ - name: Test
+ shell: cmd
+ run: |
+ cd build
+ ctest -C Debug -V
diff -r 1a81e11a995c -r a551c2e6f0e7 external/mit/libuv/dist/.github/workflows/sanitizer.yml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/libuv/dist/.github/workflows/sanitizer.yml Thu Sep 22 21:20:38 2022 +0000
@@ -0,0 +1,41 @@
+name: Sanitizer checks
+
+on:
+ pull_request:
+ paths:
+ - '**'
+ - '!docs/**'
+ - '!.**'
+ - '.github/workflows/sanitizer.yml'
+ push:
+ branches:
+ - v[0-9].*
+ - master
+
+jobs:
+ sanitizers:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Setup
+ run: |
+ sudo apt-get install ninja-build
+ - name: Envinfo
+ run: npx envinfo
+ - name: TSAN Build
+ run: |
+ mkdir build-tsan
+ (cd build-tsan && cmake .. -G Ninja -DBUILD_TESTING=ON -DTSAN=ON -DCMAKE_BUILD_TYPE=Release)
+ cmake --build build-tsan
+ - name: TSAN Test
+ continue-on-error: true # currently permit failures
+ run: |
+ ./build-tsan/uv_run_tests_a
+ - name: ASAN Build
+ run: |
+ mkdir build-asan
Home |
Main Index |
Thread Index |
Old Index