cjihrig
584ba94885
Now working on version 1.35.1
...
Fixes: https://github.com/libuv/libuv/issues/2709
2020-03-11 12:25:36 -04:00
cjihrig
e45f1ec38d
2020.03.12, Version 1.35.0 (Stable)
...
Changes since version 1.34.2:
* src: android build fix (David Carlier)
* build: make code compilable for iOS on Xcode (ssrlive)
* ibmi: skip unsupported fs test cases (Xu Meng)
* ibmi: ensure that pipe backlog is not zero (Xu Meng)
* test,udp6: fix udp_ipv6 test flakiness (Jameson Nash)
* test: fix fs_event_watch_dir_recursive flakiness (Santiago Gimeno)
* pipe: disallow listening on an IPC pipe (Witold Kręcicki)
* build,cmake: improve buil experience (Isabella Muerte)
* unix: remove support for FreeBSD < 10 (Saúl Ibarra Corretgé)
* linux: simplify uv__accept() (Ben Noordhuis)
* linux: assume presence of SOCK_CLOEXEC flag (Ben Noordhuis)
* linux: simplify uv__dup2_cloexec() (Ben Noordhuis)
* freebsd,linux: simplify uv__make_socketpair() (Ben Noordhuis)
* unix: fix error handling in uv__make_socketpair() (Ben Noordhuis)
* freebsd,linux: simplify uv__make_pipe() (Ben Noordhuis)
* unix: fix error handling in uv__make_pipe() (Ben Noordhuis)
* linux: simplify uv__async_eventfd() (Ben Noordhuis)
* linux: assume the presence of inotify system calls (Ben Noordhuis)
* doc: strip ICC profile from 2 jpg files (Dominique Dumont)
* unix: make uv_tcp_keepalive predictable (Manuel BACHMANN)
* docs: uv_setup_args() may take ownership of argv (Ben Noordhuis)
* unix: fix error path in uv_setup_args() (Ben Noordhuis)
* unix: fix size check in uv_get_process_title() (Ben Noordhuis)
* doc: add erw7 to maintainers (erw7)
* test: fixed udp4_echo_server implementation (Marek Vavrusa)
* test: added udp ping benchmark (1,10,100 pingers) (Marek Vavrusa)
* freebsd,linux: add recvmmsg() + sendmmsg() udp implementation (Marek
Vavrusa)
* win,pipe: DRY/simplify some code paths (Jameson Nash)
* win: address some style nits (Jameson Nash)
* win,pipe: ensure `req->event_handle` is defined (Elliot Saba)
* win,pipe: consolidate overlapped initialization (Elliot Saba)
* win,pipe: erase event_handle after deleting pointer (Jameson Nash)
* build: fix android cmake build, build missing file (Ben Noordhuis)
* test: skip some UDP tests on IBMi (Xu Meng)
* test: skip some spawn test cases on IBMi (Xu Meng)
* src: fix wrong method name in comment (TK-one)
* test: add UV_TIMEOUT_MULTIPLIER environment var (Ben Noordhuis)
* unix: fix uv_cpu_info always returning UV_ENOTDIR on OpenBSD (Ben
Davies)
* test: skip the pwd_shell test on IBMi (Xu Meng)
* win,tty: Change to restore cursor shape with uv_tty_reset() (erw7)
* win,tty: Added set cursor style to CSI sequences (erw7)
* test: handle EINTR, fix EOF check in poll test (Ben Noordhuis)
* unix: use socklen_t instead of size_t (Ben Noordhuis)
* doc: fix header file location (TK-one)
* unix: fix signal handle closing deferral (Ben Noordhuis)
* ibmi: set the amount of memory in use to zero (Xu Meng)
* zos: return on realloc failure in scandir() (Milad Farazmand)
* zos: fix scandir() error path NULL pointer deref (Ben Noordhuis)
2020-03-11 12:23:27 -04:00
erw7
288a06727b
win,tty: Added set cursor style to CSI sequences
...
PR-URL: https://github.com/libuv/libuv/pull/1884
Refs: https://github.com/libuv/libuv/issues/1874
Co-authored-by: Bert Belder <bertbelder@gmail.com>
Co-authored-by: Jameson Nash <vtjnash@gmail.com>
Reviewed-By: Jameson Nash <vtjnash@gmail.com>
Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net>
2020-02-29 14:11:36 +09:00
cjihrig
3ac654c8a2
Now working on version 1.34.3
...
Fixes: https://github.com/libuv/libuv/issues/2646
2020-01-23 09:22:55 -05:00
cjihrig
f868c9ab0c
2020.01.24, Version 1.34.2 (Stable)
...
Changes since version 1.34.1:
* misc: adjust stalebot deadlines (Jameson Nash)
* test: fix env-vars flakiness (cjihrig)
* test: avoid truncating output lines (Jameson Nash)
* darwin: stop calling SetApplicationIsDaemon() (Ben Noordhuis)
* ibmi: implement uv_interface_addresses() (Xu Meng)
* osx,fsevent: fix race during uv_loop_close (Jameson Nash)
* osx,fsevent: clear pointer when deleting it [NFCI] (Jameson Nash)
* Revert "aix: replace ECONNRESET with EOF if already closed" (Jameson
Nash)
* unix: handle uv__open_cloexec return value correctly (Anna Henningsen)
2020-01-23 09:20:02 -05:00
cjihrig
33cb9f4a3f
Now working on version 1.34.2
...
Fixes: https://github.com/libuv/libuv/issues/2595
2020-01-12 18:35:34 -05:00
cjihrig
8aa5636ec7
2020.01.13, Version 1.34.1 (Stable)
...
Changes since version 1.34.0:
* unix: fix -Wstrict-aliasing compiler warning (Ben Noordhuis)
* unix: cache address of dlsym("mkostemp") (Ben Noordhuis)
* build: remove -pedantic from compiler flags (Ben Noordhuis)
* Revert "darwin: assume pthread_setname_np() is available" (Ben
Noordhuis)
* Revert "darwin: speed up uv_set_process_title()" (Ben Noordhuis)
* darwin: assume pthread_setname_np() is available (Ben Noordhuis)
* ibmi: fix the false isatty() issue on IBMi (Xu Meng)
* test: fix test failure under NetBSD and OpenBSD (David Carlier)
* test: skip some test cases on IBMi (Xu Meng)
* test: skip uv_(get|set)_process_title on IBMi (Xu Meng)
* doc: remove binaries for Windows from README (Richard Lau)
* unix: fix -Wunused-but-set-variable warning (George Zhao)
* unix: pass sysctl size arg using ARRAY_SIZE macro (David Carlier)
* test: disallow running the test suite as root (cjihrig)
* unix: suppress -Waddress-of-packed-member warning (Ben Noordhuis)
* misc: make more tags "not-stale" (Jameson Nash)
* test: fix pthread memory leak (Trevor Norris)
* docs: delete socks5-proxy sample (Jameson Nash)
* ibmi: fix the CMSG length issue (Xu Meng)
* docs: fix formatting (Jameson Nash)
* unix: squelch fchmod() EPERM on CIFS share (Ben Noordhuis)
* docs: fix linkcheck (Jameson Nash)
* docs: switch from linux.die.net to man7.org (Jameson Nash)
* win: remove abort when non-IFS LSP detection fails (virtualyw)
* docs: clarify that uv_pipe_t is a pipe (Jameson Nash)
* win,tty: avoid regressions in utf-8 handling (Jameson Nash)
* win: remove bad assert in uv_loop_close (Jameson Nash)
* test: fix -fno-common build errors (Ben Noordhuis)
* build: turn on -fno-common to catch regressions (Ben Noordhuis)
* test: fix fs birth time test failure (Ben Noordhuis)
* tty,unix: avoid affecting controlling TTY (Jameson Nash)
2020-01-12 18:33:21 -05:00
cjihrig
d01f050099
Now working on version 1.34.1
...
Fixes: https://github.com/libuv/libuv/issues/2538
2019-12-03 22:13:41 -05:00
cjihrig
15ae750151
2019.12.05, Version 1.34.0 (Stable)
...
Changes since version 1.33.1:
* unix: move random-sysctl to random-sysctl-linux (nia)
* netbsd: use KERN_ARND sysctl to get entropy (nia)
* unix: refactor uv__fs_copyfile() logic (cjihrig)
* build: fix android build, add missing sources (Ben Noordhuis)
* build: fix android build, fix symbol redefinition (Ben Noordhuis)
* build: fix android autotools build (Ben Noordhuis)
* fs: handle non-functional statx system call (Milad Farazmand)
* unix,win: add uv_sleep() (cjihrig)
* doc: add richardlau to maintainers (Richard Lau)
* aix: fix netmask for IPv6 (Richard Lau)
* aix: clean up after errors in uv_interface_addresses() (Richard Lau)
* aix: fix setting of physical addresses (Richard Lau)
* fs: add uv_fs_mkstemp (Saúl Ibarra Corretgé)
* unix: switch uv_sleep() to nanosleep() (Ben Noordhuis)
* unix: retry on EINTR in uv_sleep() (Ben Noordhuis)
* zos: fix nanosleep() emulation (Ben Noordhuis)
2019-12-03 22:11:28 -05:00
cjihrig
747a0f34d7
Now working on version 1.33.2
...
Fixes: https://github.com/libuv/libuv/issues/2525
2019-10-19 16:40:16 -05:00
cjihrig
07ad32138f
2019.10.20, Version 1.33.1 (Stable)
...
Changes since version 1.33.0:
* linux: fix arm64 SYS__sysctl build breakage (Ben Noordhuis)
2019-10-19 16:32:27 -05:00
cjihrig
cb7e5a6aff
Now working on version 1.33.1
...
Fixes: https://github.com/libuv/libuv/issues/2491
2019-10-16 14:55:35 -04:00
cjihrig
e56e42e931
2019.10.17, Version 1.33.0 (Stable)
...
Changes since version 1.32.0:
* Revert "linux: drop code path for epoll_pwait-less kernels" (Yang Yu)
* build: fix build error with __ANDROID_API__ < 21 (Yang Yu)
* win: fix reading hidden env vars (Anna Henningsen)
* unix,win: add uv_random() (Ben Noordhuis)
* win: simplify mkdtemp (Saúl Ibarra Corretgé)
* docs: fix literal-includes in User Guide (Nhan Khong)
* win, tty: fix problem of receiving unexpected SIGWINCH (erw7)
* unix: fix {Net,Open}BSD build (David Carlier)
* win,mingw: Fix undefined MCAST_* constants (Crunkle)
* build: Add link for test/fixtures/lorem_ipsum.txt (Andrew Paprocki)
* fs: use statvfs in uv__fs_statfs() for Haiku (Calvin Hill)
* fsevents: stop using fsevents to watch files (Jameson Nash)
* fsevents: regression in watching / (Jameson Nash)
* build,cmake: don't try to detect a C++ compiler (Isabella Muerte)
* build: fix build warning on cygwin (MaYuming)
* unix: set sin_len and sin6_len (Ouyang Yadong)
* test: fix order of operations in test (cjihrig)
* doc: improve uv_fs_readdir() cleanup docs (cjihrig)
* build: remove duplicated test in build files (ZYSzys)
* android: enable getentropy on Android >= 28 (David Carlier)
* android: fix build (David Carlier)
* darwin: speed up uv_set_process_title() (Ben Noordhuis)
* darwin: assume pthread_setname_np() is available (Ben Noordhuis)
* unix,udp: ensure addr is non-null (Jameson Nash)
* win,tty: add uv_tty_{get,set}_vterm_state (erw7)
* win: fix uv_statfs_t leak in uv_fs_statfs() (Ryan Liptak)
* build: install files on windows via cmake (Carl Lei)
* darwin,test: include AvailabilityMacros.h (Saúl Ibarra Corretgé)
* darwin,test: update loop time after sleeping (Saúl Ibarra Corretgé)
* doc: remove old FreeBSD 9 related note (Saúl Ibarra Corretgé)
* doc: improve uv_{send,recv}_buffer_size() docs (Ryan Liptak)
* build: move -Wno-long-long check to configure time (Ben Noordhuis)
* unix: update uv_fs_copyfile() fallback logic (Stefan Bender)
* win: cast setsockopt struct to const char* (Shelley Vohr)
2019-10-16 14:53:28 -04:00
cjihrig
549f52c467
Now working on version 1.32.1
...
Fixes: https://github.com/libuv/libuv/issues/2457
2019-09-09 12:55:37 -04:00
cjihrig
697bea87b3
2019.09.10, Version 1.32.0 (Stable)
...
Changes since version 1.31.0:
* misc: enable stalebot (Saúl Ibarra Corretgé)
* win: map ERROR_ENVVAR_NOT_FOUND to UV_ENOENT (cjihrig)
* win: use L'\0' as UTF-16 null terminator (cjihrig)
* win: support retrieving empty env variables (cjihrig)
* unix,stream: fix returned error codes (Santiago Gimeno)
* test: fix typo in DYLD_LIBRARY_PATH (Ben Noordhuis)
* unix,signal: keep handle active if pending signal (Santiago Gimeno)
* openbsd: fix uv_cpu_info (Santiago Gimeno)
* src: move uv_free_cpu_info to uv-common.c (Santiago Gimeno)
* tcp: add uv_tcp_close_reset method (Santiago Gimeno)
* test: fix udp-multicast-join tests (Santiago Gimeno)
* test: remove assertion in fs_statfs test (cjihrig)
* doc: clarify uv_buf_t usage in uv_alloc_cb (Tomas Krizek)
* win: fix typo in preprocessor expression (Konstantin Podsvirov)
* timer: fix uv_timer_start on closing timer (seny)
* udp: add source-specific multicast support (Vladimir Karnushin)
* udp: fix error return values (Santiago Gimeno)
* udp: drop IPV6_SSM_SUPPORT macro (Santiago Gimeno)
* udp: fix uv__udp_set_source_membership6 (Santiago Gimeno)
* udp: use sockaddr_storage instead of union (Santiago Gimeno)
* build,zos: add _OPEN_SYS_SOCK_EXT3 flag (Santiago Gimeno)
* test: add specific source multicast tests (Santiago Gimeno)
* include: map EILSEQ error code (cjihrig)
* win, tty: improve SIGWINCH performance (Bartosz Sosnowski)
* build: fix ios build error (MaYuming)
* aix: replace ECONNRESET with EOF if already closed (Milad Farazmand)
* build: add cmake library VERSION, SOVERSION (Eneas U de Queiroz)
* build: make include/ public in CMakeLists.txt (Ben Noordhuis)
* build: export USING_UV_SHARED=1 to cmake deps (Ben Noordhuis)
* build: cmake_minimum_required(VERSION 2.8.12) (Daniel Hahler)
* aix: Fix broken cmpxchgi() XL C++ specialization. (Andrew Paprocki)
* test: fix -Wsign-compare warning (Ben Noordhuis)
* unix: simplify open(O_CLOEXEC) feature detection (Ben Noordhuis)
* unix: fix UV_FS_O_DIRECT definition on Linux (Joran Dirk Greef)
* doc: uv_handle_t documentation suggestion (Daniel Bevenius)
2019-09-09 12:53:10 -04:00
Joran Dirk Greef
9b12e023ab
unix: fix UV_FS_O_DIRECT definition on Linux
...
According to http://man7.org/linux/man-pages/man2/open.2.html , the
O_DIRECT flag is Linux-specific. One must define _GNU_SOURCE to obtain
the correct definition.
However, defining _GNU_SOURCE in the headers is unhygienic and affects
the libuv consumer.
On Linux, we now define UV_FS_O_DIRECT explicitly according to
architecture, only falling back to O_DIRECT if defined, or 0 if not.
Fixes: https://github.com/libuv/libuv/issues/2420
PR-URL: https://github.com/libuv/libuv/pull/2441
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
2019-09-06 22:50:27 +02:00
cjihrig
43c74a6ee9
include: map EILSEQ error code
...
PR-URL: https://github.com/libuv/libuv/pull/2440
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2019-08-26 10:13:37 -04:00
cjihrig
6f776765c7
Now working on version 1.31.1
...
Fixes: https://github.com/libuv/libuv/issues/2403
2019-08-09 10:59:08 -04:00
cjihrig
0a6771cee4
2019.08.10, Version 1.31.0 (Stable)
...
Changes since version 1.30.1:
* win,fs: don't modify global file translation mode (Javier Blazquez)
* win: fix uv_os_tmpdir when env var is 260 chars (Mustafa M)
* win: prevent tty event explosion machine hang (Javier Blazquez)
* win: add UV_FS_O_FILEMAP (João Reis)
* win, fs: mkdir return UV_EINVAL for invalid names (Bartosz Sosnowski)
* github: add root warning to template (cjihrig)
* win: misc fs cleanup (cjihrig)
* unix,win: add uv_fs_statfs() (cjihrig)
* test: avoid AF_LOCAL (Carlo Marcelo Arenas Belón)
* unix,win: add ability to retrieve all env variables (Saúl Ibarra
Corretgé)
* Revert "darwin: speed up uv_set_process_title()" (Ben Noordhuis)
* doc: add %p to valgrind log-file arg (Zach Bjornson)
* doc: fix typo in basics.rst (Nan Xiao)
* ibmi: support Makefile build for IBM i (Xu Meng)
* OpenBSD: only get active CPU core count (Ben Davies)
* test: fix gcc 8 warnings for tests (Nhan Khong)
* ibmi: use correct header files (Xu Meng)
* unix: clear UV_HANDLE_READING flag before callback (zyxwvu Shi)
* unix: fix unused-function warning on BSD (Nhan Khong)
* test: fix test runner on MinGW (Crunkle)
* win: remove try-except outside MSVC (Crunkle)
* win: fix uv_spawn() ENOMEM on empty env (Ben Noordhuis)
2019-08-09 10:57:12 -04:00
Xu Meng
1bd72eb51f
ibmi: use correct header files
...
IBM i defines both of the __PASE__ and _AIX macros.
Commit 693b534 includes the wrong header file.
Need to check macro __PASE__ prior to _AIX.
PR-URL: https://github.com/libuv/libuv/pull/2371
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
2019-08-06 12:19:34 -04:00
João Reis
2c279504f9
win: add UV_FS_O_FILEMAP
...
Reading and writing files using a memory file mapping can be
significantly faster on Windows.
PR-URL: https://github.com/libuv/libuv/pull/2295
Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
2019-07-16 18:20:10 +02:00
cjihrig
04a48e9ac8
Now working on version 1.30.2
...
Fixes: https://github.com/libuv/libuv/issues/2363
2019-07-02 10:57:15 -04:00
cjihrig
1551969c84
2019.07.03, Version 1.30.1 (Stable)
...
Changes since version 1.30.0:
* doc: fix incorrect versionchanged (cjihrig)
* test: allow UV_ECONNRESET in tcp_try_write_error (cjihrig)
* unix: add uv_get_constrained_memory() cygwin stub (cjihrig)
* build: fix android cmake build (Ben Noordhuis)
* unix: squelch -Wcast-function-type warning (Ben Noordhuis)
* build: fix compile error with uClibc (zlargon)
2019-07-02 10:55:03 -04:00
cjihrig
f50a746fa6
Now working on version 1.30.1
...
Fixes: https://github.com/libuv/libuv/issues/2343
2019-06-27 10:20:17 -04:00
cjihrig
365b6f2a0e
2019.06.28, Version 1.30.0 (Stable)
...
Changes since version 1.29.1:
* darwin: fall back to F_BARRIERFSYNC (Ben Noordhuis)
* darwin: add 32 bit close$NOCANCEL implementation
(ken-cunningham-webuse)
* build, core, unix: add support for Haiku (Leorize)
* darwin,linux: more conservative minimum stack size (Ben Noordhuis)
* threadpool: increase UV_THREADPOOL_SIZE limit (Vlad A)
* unix: return actual error from `uv_try_write()` (Anna Henningsen)
* darwin: fix build error with macos 10.10 (Ben Noordhuis)
* unix: make uv_cwd() report UV_ENOBUFS (Ben Noordhuis)
* unix: make uv_fs_read() fill all buffers (Ben Noordhuis)
* test: give hrtime test a custom 10s timeout (Ben Noordhuis)
* fs: fix uv_fs_copyfile if same src and dst (Santiago Gimeno)
* build: add cmake option to skip building tests (Niels Lohmann)
* doc: add link to nodejs.org (Jenil Christo)
* unix: fix a comment typo in signal.c (Evgeny Ermakov)
* unix: remove redundant cast in process.c (gengjiawen)
* doc: fix wrong mutex function prototypes (Leo Chung)
2019-06-27 10:18:46 -04:00
Leorize
abe4f3d58d
build, core, unix: add support for Haiku
...
This commit add support for Haiku, an open-source operating system
inspired by BeOS.
PR-URL: https://github.com/libuv/libuv/pull/2301
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2019-06-07 09:57:06 +02:00
cjihrig
4a4c9a688f
Now working on version 1.29.2
...
Fixes: https://github.com/libuv/libuv/issues/2306
2019-05-21 09:47:22 -04:00
cjihrig
d16e6094e1
2019.05.22, Version 1.29.1 (Stable)
...
Changes since version 1.29.0:
* unix: simplify uv/posix.h include logic (cjihrig)
* test: increase test timeout (cjihrig)
* linux: fix sscanf() overflows reading from /proc (Ben Noordhuis)
2019-05-21 09:44:45 -04:00
cjihrig
693b534f2c
unix: simplify uv/posix.h include logic
...
This commit includes uv/posix.h in one #elif instead of four.
PR-URL: https://github.com/libuv/libuv/pull/2302
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
2019-05-20 14:07:46 -04:00
cjihrig
2169a53cd2
Now working on 1.29.1
...
Fixes: https://github.com/libuv/libuv/issues/2293
2019-05-15 13:16:23 -04:00
cjihrig
43957efd92
2019.05.16, Version 1.29.0 (Stable)
...
Changes since version 1.28.0:
* ibmi: read memory and CPU usage info (Xu Meng)
* doc: update the cmake testing instruction (zlargon)
* unix: fix race condition in uv_async_send() (Ben Noordhuis)
* linux: use O_CLOEXEC instead of EPOLL_CLOEXEC (Ben Noordhuis)
* doc: mark uv_async_send() as async-signal-safe (Ben Noordhuis)
* linux: init st_flags and st_gen when using statx (Oscar Waddell)
* linux: read free/total memory from /proc/meminfo (Ben Noordhuis)
* test: test zero-sized uv_fs_sendfile() writes (Ben Noordhuis)
* unix: don't assert on UV_PROCESS_WINDOWS_* flags (Ben Noordhuis)
* linux: set correct mac address for IP-aliases (Santiago Gimeno)
* win,util: fix null pointer dereferencing (Tobias Nießen)
* unix,win: fix `uv_fs_poll_stop()` when active (Anna Henningsen)
* doc: add missing uv_fs_type entries (Michele Caini)
* doc: fix build with sphinx 2.x (FX Coudert)
* unix: don't make statx system call on Android (George Zhao)
* unix: fix clang scan-build warning (Kyle Edwards)
* unix: fall back to kqueue on older macOS systems
(ken-cunningham-webuse)
* unix,win: add uv_get_constrained_memory() (Kelvin Jin)
* darwin: fix thread cancellation fd leak (Ben Noordhuis)
* linux: fix thread cancellation fd leak (Ben Noordhuis)
2019-05-15 13:14:17 -04:00
cjihrig
2e443b12bd
Now working on 1.28.1
...
Fixes: https://github.com/libuv/libuv/issues/2228
2019-04-15 11:21:31 -04:00
cjihrig
7bf8fabfa9
2019.04.16, Version 1.28.0 (Stable)
...
Changes since version 1.27.0:
* unix,win: add uv_gettimeofday() (cjihrig)
* unix,win: add uv_fs_{open,read,close}dir() (cjihrig)
* unix: fix uv_interface_addresses() (Andreas Rohner)
* fs: remove macOS-specific copyfile(3) (Rich Trott)
* fs: add test for copyfile() respecting permissions (Rich Trott)
* build: partially revert 5234b1c43a (Ben Noordhuis)
* zos: fix setsockopt error when using AF_UNIX (Milad Farazmand)
* unix: suppress EINTR/EINPROGRESS in uv_fs_close() (Ben Noordhuis)
* build: use cmake APPLE variable to detect platform (zlargon)
* distcheck: remove duplicate test/ entry (Jameson Nash)
* unix: remove unused cmpxchgl() function (Ben Noordhuis)
* unix: support sockaddr_un in uv_udp_send() (Yury Selivanov)
* unix: guard use of PTHREAD_STACK_MIN (Kamil Rytarowski)
* unix,win: introduce uv_timeval64_t (cjihrig)
* doc: document uv_timeval_t and uv_timeval64_t (cjihrig)
2019-04-15 11:19:26 -04:00
cjihrig
99440bb673
unix,win: add uv_fs_{open,read,close}dir()
...
Co-authored-by: Julien Gilli <jgilli@nodejs.org>
Co-authored-by: Jeremy Whitlock <jwhitlock@apache.org>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
PR-URL: https://github.com/libuv/libuv/pull/2057
Refs: https://github.com/joyent/libuv/issues/1430
Refs: https://github.com/joyent/libuv/pull/1521
Refs: https://github.com/joyent/libuv/pull/1574
Refs: https://github.com/libuv/libuv/pull/175
Refs: https://github.com/nodejs/node/issues/583
Refs: https://github.com/libuv/libuv/pull/416
Refs: https://github.com/libuv/libuv/issues/170
2019-03-26 18:47:51 -04:00
cjihrig
23bb992d7b
Now working on version 1.27.1
...
Fixes: https://github.com/libuv/libuv/issues/2213
2019-03-16 14:35:15 -04:00
cjihrig
a4fc9a66cc
2019.03.17, Version 1.27.0 (Stable)
...
Changes since version 1.26.0:
* doc: describe unix signal handling better (Vladimír Čunát)
* linux: use statx() to obtain file birth time (Ben Noordhuis)
* src: fill sockaddr_in6.sin6_len when it's defined (Santiago Gimeno)
* test: relax uv_hrtime() test assumptions (Ben Noordhuis)
* build: make cmake install LICENSE only once (Thomas Karl Pietrowski)
* bsd: plug uv_fs_event_start() error path fd leak (Ben Noordhuis)
* unix: fix __FreeBSD_kernel__ typo (cjihrig)
* doc: add note about uv_run() not being reentrant (Ben Noordhuis)
* unix, win: make fs-poll close wait for resource cleanup (Anna
Henningsen)
* doc: fix typo in uv_thread_options_t definition (Ryan Liptak)
* win: skip winsock initialization in safe mode (evgley)
* unix: refactor getsockname/getpeername methods (Santiago Gimeno)
* win,udp: allow to use uv_udp_open on bound sockets (Santiago Gimeno)
* udp: add support for UDP connected sockets (Santiago Gimeno)
* build: fix uv_test shared uv Windows cmake build (ptlomholt)
* build: add android-configure scripts to EXTRA_DIST (Ben Noordhuis)
* build: add missing header (cjihrig)
* sunos: add perror() output prior to abort() (Andrew Paprocki)
* test,sunos: disable UV_DISCONNECT handling (Andrew Paprocki)
* sunos: disable __attribute__((unused)) (Andrew Paprocki)
* test,sunos: use unistd.h code branch (Andrew Paprocki)
* build,sunos: better handling of non-GCC compiler (Andrew Paprocki)
* test,sunos: fix statement not reached warnings (Andrew Paprocki)
* sunos: fix argument/prototype mismatch in atomics (Andrew Paprocki)
* test,sunos: test-ipc.c lacks newline at EOF (Andrew Paprocki)
* test: change spawn_stdin_stdout return to void (Andrew Paprocki)
* test: remove call to floor() in test driver (Andrew Paprocki)
2019-03-16 14:31:48 -04:00
cjihrig
598a49b942
Now working on version 1.26.1
...
Fixes: https://github.com/libuv/libuv/issues/2180
2019-02-10 11:46:28 -05:00
cjihrig
8669d8d3e9
2019.02.11, Version 1.26.0 (Stable)
...
Changes since version 1.25.0:
* doc: fix uv_get_free_memory doc (Stephen Belanger)
* unix: fix epoll cpu 100% issue (yeyuanfeng)
* openbsd,tcp: special handling of EINVAL on connect (ptlomholt)
* win: simplify registry closing in uv_cpu_info() (cjihrig)
* src,include: define UV_MAXHOSTNAMESIZE (cjihrig)
* win: return product name in uv_os_uname() version (cjihrig)
* thread: allow specifying stack size for new thread (Anna Henningsen)
* win: fix duplicate tty vt100 fn key (erw7)
* unix: don't attempt to invalidate invalid fd (Ben Noordhuis)
2019-02-10 11:44:47 -05:00
cjihrig
8865e72e25
src,include: define UV_MAXHOSTNAMESIZE
...
This commit adds UV_MAXHOSTNAMESIZE for working with
uv_os_gethostname(). Prior to this commit, this logic was
duplicated in several places across libuv and Node.js alone.
PR-URL: https://github.com/libuv/libuv/pull/2175
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
2019-02-05 08:46:28 -05:00
cjihrig
a9e6cc7b99
Now working on version 1.25.1
...
Fixes: https://github.com/libuv/libuv/issues/2134
2019-01-18 13:32:48 -05:00
cjihrig
4a10a9d425
2019.01.19, Version 1.25.0 (Stable)
...
Changes since version 1.24.1:
* Revert "win,fs: retry if uv_fs_rename fails" (Ben Noordhuis)
* aix: manually trigger fs event monitoring (Gireesh Punathil)
* unix: rename WRITE_RETRY_ON_ERROR macro (Ben Noordhuis)
* darwin: DRY platform-specific error check (Ben Noordhuis)
* unix: refactor uv__write() (Ben Noordhuis)
* unix: don't send handle twice on partial write (Ben Noordhuis)
* tty,win: fix Alt+key under WSL (Bartosz Sosnowski)
* build: support running tests in out-of-tree builds (Jameson Nash)
* fsevents: really watch files with fsevents on macos 10.7+ (Jameson
Nash)
* thread,mingw64: need intrin.h header for SSE2 MemoryBarrier (Jameson
Nash)
* win: fix sizeof-pointer-div warning (cjihrig)
* unix,win: add uv_os_uname() (cjihrig)
* win, tty: fix CreateFileW() return value check (Bartosz Sosnowski)
* unix: enable IPv6 tests on OpenBSD (ptlomholt)
* test: fix test-ipc spawn_helper exit_cb (Santiago Gimeno)
* test: fix test-ipc tests (Santiago Gimeno)
* unix: better handling of unsupported F_FULLFSYNC (Victor Costan)
* win,test: de-flake fs_event_watch_dir_short_path (Refael Ackermann)
* win: fix msvc warning (sid)
* openbsd: switch to libuv's barrier implementation (ptlomholt)
* unix,stream: fix zero byte writes (Santiago Gimeno)
* ibmi: return EISDIR on read from directory fd (Kevin Adler)
* build: wrap long lines in Makefile.am (cjihrig)
2019-01-18 13:27:40 -05:00
Poul T Lomholt
176db21733
openbsd: switch to libuv's barrier implementation
...
On OpenBSD 6.4 x86_64 the barrier_serial_thread test fails due to
OpenBSD's pthread_barrier_wait() implementation returning
PTHREAD_BARRIER_SERIAL_THREAD from the first thread that releases the
wait. Switch to libuv's internal implementation to address the issue.
Fixes: https://github.com/libuv/libuv/issues/2145
PR-URL: https://github.com/libuv/libuv/pull/2144
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2019-01-16 22:25:38 +01:00
cjihrig
3585e135c5
Now working on version 1.24.2
...
Fixes: https://github.com/libuv/libuv/issues/2109
2018-12-16 14:12:36 -05:00
cjihrig
274f2bd3b7
2018.12.17, Version 1.24.1 (Stable)
...
Changes since version 1.24.0:
* test: fix platform_output test on cygwin (damon-kwok)
* gitignore: ignore build/ directory (Damon Kwok)
* unix: zero epoll_event before use (Ashe Connor)
* darwin: use runtime check for file cloning (Ben Noordhuis)
* doc: replace deprecated build command on macOS (Rick)
* warnings: fix code that emits compiler warnings (Jameson Nash)
* doc: clarify expected memory management strategy (Ivan Krylov)
* test: add uv_inet_ntop(AF_INET) coverage (Ben Noordhuis)
* unix: harden string copying, introduce strscpy() (Ben Noordhuis)
* linux: get rid of strncpy() call (Ben Noordhuis)
* aix: get rid of strcat() calls (Ben Noordhuis)
* aix: fix data race in uv_fs_event_start() (Ben Noordhuis)
* win: fs: fix `FILE_FLAG_NO_BUFFERING` for writes (Joran Dirk Greef)
* build: don't link against -lpthread on Android (Michael Meier)
2018-12-16 14:11:04 -05:00
Ben Noordhuis
8972e65bf5
unix: harden string copying, introduce strscpy()
...
Replace calls to strcpy() and strncpy() with the newly introduced
uv__strscpy() function that is meticulous about zero-terminating
the destination buffer.
PR-URL: https://github.com/libuv/libuv/pull/2065
Refs: https://www.kernel.org/doc/htmldocs/kernel-api/API-strscpy.html
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
2018-12-04 17:08:09 +01:00
cjihrig
32cccbc9f0
Now working on version 1.24.1
...
Fixes: https://github.com/libuv/libuv/issues/2070
2018-11-12 23:57:04 -05:00
cjihrig
2d427ee008
2018.11.14, Version 1.24.0 (Stable)
...
Changes since version 1.23.2:
* unix: do not require PATH_MAX to be defined (Brad King)
* win,doc: path encoding in uv_fs_XX is UTF-8 (hitesh)
* unix: add missing link dependency on kFreeBSD (Svante Signell)
* unix: add support for GNU/Hurd (Samuel Thibault)
* test: avoid memory leak for test_output (Carlo Marcelo Arenas Belón)
* zos: avoid UB with NULL pointer arithmetic (Carlo Marcelo Arenas
Belón)
* doc: add vtjnash to maintainers (Jameson Nash)
* unix: restore skipping of phys_addr copy (cjihrig)
* unix,win: make uv_interface_addresses() consistent (cjihrig)
* unix: remove unnecessary linebreaks (cjihrig)
* unix,win: handle zero-sized allocations uniformly (Ben Noordhuis)
* unix: remove unused uv__dup() function (Ben Noordhuis)
* core,bsd: refactor process_title functions (Santiago Gimeno)
* win: Redefine NSIG to consider SIGWINCH (Jeremy Studer)
* test: make sure that reading a directory fails (Sakthipriyan
Vairamani)
* win, tty: remove zero-size read callbacks (Bartosz Sosnowski)
* test: fix test runner getenv async-signal-safety (Ben Noordhuis)
* test: fix test runner execvp async-signal-safety (Ben Noordhuis)
* test,unix: fix race in test runner (Ben Noordhuis)
* unix,win: support IDNA 2008 in uv_getaddrinfo() (Ben Noordhuis)
* win, tcp: avoid starving the loop (Bartosz Sosnowski)
* win, dl: proper error messages on some systems (Bartosz Sosnowski)
* win,fs: retry if uv_fs_rename fails (Bartosz Sosnowski)
* darwin: speed up uv_set_process_title() (Ben Noordhuis)
* aix: fix race in uv_get_process_title() (Gireesh Punathil)
* win: support more fine-grained windows hiding (Bartosz Sosnowski)
2018-11-12 23:55:22 -05:00
Jeremy Studer
20f2351886
win: Redefine NSIG to consider SIGWINCH
...
Since SIGWINCH is being defined with a value above the existing NSIG,
redefine NSIG on WIN32.
PR-URL: https://github.com/libuv/libuv/pull/2032
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
2018-10-18 10:15:26 +02:00
Samuel Thibault
1d1969adcc
unix: add support for GNU/Hurd
...
PR-URL: https://github.com/libuv/libuv/pull/2008
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Bug-Debian: https://bugs.debian.org/881882
2018-10-11 12:14:36 +02:00
cjihrig
0c2b3de331
Now working on version 1.23.3
...
Fixes: https://github.com/libuv/libuv/issues/2024
2018-10-08 12:53:48 -04:00