Commit graph

63 commits

Author SHA1 Message Date
adam
ab7af2140c libuv: updated to 1.33.1
v1.33.1:
* linux: fix arm64 SYS__sysctl build breakage

v1.33.0:
* Revert "linux: drop code path for epoll_pwait-less kernels"
* build: fix build error with __ANDROID_API__ < 21
* win: fix reading hidden env vars
* unix,win: add uv_random()
* win: simplify mkdtemp
* docs: fix literal-includes in User Guide
* win, tty: fix problem of receiving unexpected SIGWINCH
* unix: fix {Net,Open}BSD build
* win,mingw: Fix undefined MCAST_* constants
* build: Add link for test/fixtures/lorem_ipsum.txt
* fs: use statvfs in uv__fs_statfs() for Haiku
* fsevents: stop using fsevents to watch files
* fsevents: regression in watching /
* build,cmake: don't try to detect a C++ compiler
* build: fix build warning on cygwin
* unix: set sin_len and sin6_len
* test: fix order of operations in test
* doc: improve uv_fs_readdir() cleanup docs
* build: remove duplicated test in build files
* android: enable getentropy on Android >= 28
* android: fix build
* darwin: speed up uv_set_process_title()
* darwin: assume pthread_setname_np() is available
* unix,udp: ensure addr is non-null
* win,tty: add uv_tty_{get,set}_vterm_state
* win: fix uv_statfs_t leak in uv_fs_statfs()
* build: install files on windows via cmake
* darwin,test: include AvailabilityMacros.h
* darwin,test: update loop time after sleeping
* doc: remove old FreeBSD 9 related note
* doc: improve uv_{send,recv}_buffer_size() docs
* build: move -Wno-long-long check to configure time
* unix: update uv_fs_copyfile() fallback logic
* win: cast setsockopt struct to const char*
2019-10-21 09:42:06 +00:00
adam
474de9d10b libuv: updated to 1.32.0
v1.32.0:
* misc: enable stalebot
* win: map ERROR_ENVVAR_NOT_FOUND to UV_ENOENT
* win: use L'\0' as UTF-16 null terminator
* win: support retrieving empty env variables
* unix,stream: fix returned error codes
* test: fix typo in DYLD_LIBRARY_PATH
* unix,signal: keep handle active if pending signal
* openbsd: fix uv_cpu_info
* src: move uv_free_cpu_info to uv-common.c
* tcp: add uv_tcp_close_reset method
* test: fix udp-multicast-join tests
* test: remove assertion in fs_statfs test
* doc: clarify uv_buf_t usage in uv_alloc_cb
* win: fix typo in preprocessor expression
* timer: fix uv_timer_start on closing timer
* udp: add source-specific multicast support
* udp: fix error return values
* udp: drop IPV6_SSM_SUPPORT macro
* udp: fix uv__udp_set_source_membership6
* udp: use sockaddr_storage instead of union
* build,zos: add _OPEN_SYS_SOCK_EXT3 flag
* test: add specific source multicast tests
* include: map EILSEQ error code
* win, tty: improve SIGWINCH performance
* build: fix ios build error
* aix: replace ECONNRESET with EOF if already closed
* build: add cmake library VERSION, SOVERSION
* build: make include/ public in CMakeLists.txt
* build: export USING_UV_SHARED=1 to cmake deps
* build: cmake_minimum_required(VERSION 2.8.12)
* aix: Fix broken cmpxchgi() XL C++ specialization.
* test: fix -Wsign-compare warning
* unix: simplify open(O_CLOEXEC) feature detection
* unix: fix UV_FS_O_DIRECT definition on Linux
* doc: uv_handle_t documentation suggestion
2019-09-10 11:21:08 +00:00
wiz
56b212f2f4 libuv: mention current test status in a comment 2019-08-22 10:32:16 +00:00
wiz
0c8e156c13 libuv: Add a patch to fix a test failure, from adam@
Add upstream bug report URLs and comments, where missing.
2019-08-22 10:28:25 +00:00
wiz
c9f13644cb libuv: update to 1.31.0.
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-16 12:06:31 +00:00
sevan
8dc77065e4 Obtain strnlen implementation via libnbcompat using USE_FEATURES, instead of
patching in an implementation.
2019-07-08 22:15:46 +00:00
adam
9604ec8e35 libuv: updated to 1.30.1
Version 1.30.1
* doc: fix incorrect versionchanged
* test: allow UV_ECONNRESET in tcp_try_write_error
* unix: add uv_get_constrained_memory() cygwin stub
* build: fix android cmake build
* unix: squelch -Wcast-function-type warning
* build: fix compile error with uClibc
2019-07-02 16:44:06 +00:00
adam
c0a482f296 libuv: updated to 1.30.0
Version 1.30.0
* darwin: fall back to F_BARRIERFSYNC
* darwin: add 32 bit close$NOCANCEL implementation
* build, core, unix: add support for Haiku
* darwin,linux: more conservative minimum stack size
* threadpool: increase UV_THREADPOOL_SIZE limit
* unix: return actual error from `uv_try_write()`
* darwin: fix build error with macos 10.10
* unix: make uv_cwd() report UV_ENOBUFS
* unix: make uv_fs_read() fill all buffers
* test: give hrtime test a custom 10s timeout
* fs: fix uv_fs_copyfile if same src and dst
* build: add cmake option to skip building tests
* doc: add link to nodejs.org
* unix: fix a comment typo in signal.c
* unix: remove redundant cast in process.c
* doc: fix wrong mutex function prototypes
2019-07-01 10:48:53 +00:00
adam
0d2108142d libuv: updated to 1.29.1
Version 1.29.1 (Stable)
* unix: simplify uv/posix.h include logic
* test: increase test timeout
* linux: fix sscanf() overflows reading from /proc
2019-05-22 09:14:38 +00:00
adam
6fbe240827 libuv: updated to 1.29.0
v1.29.0:
Changes since version 1.28.0:
* ibmi: read memory and CPU usage info
* doc: update the cmake testing instruction
* unix: fix race condition in uv_async_send()
* linux: use O_CLOEXEC instead of EPOLL_CLOEXEC
* doc: mark uv_async_send() as async-signal-safe
* linux: init st_flags and st_gen when using statx
* linux: read free/total memory from /proc/meminfo
* test: test zero-sized uv_fs_sendfile() writes
* unix: don't assert on UV_PROCESS_WINDOWS_* flags
* linux: set correct mac address for IP-aliases
* win,util: fix null pointer dereferencing
* unix,win: fix `uv_fs_poll_stop()` when active
* doc: add missing uv_fs_type entries
* doc: fix build with sphinx 2.x
* unix: don't make statx system call on Android
* unix: fix clang scan-build warning
* unix: fall back to kqueue on older macOS systems
* unix,win: add uv_get_constrained_memory()
* darwin: fix thread cancellation fd leak
* linux: fix thread cancellation fd leak
2019-05-16 06:56:55 +00:00
adam
3dc8d479a7 libuv: updated to 1.28.0
Version 1.28.0
* unix,win: add uv_gettimeofday()
* unix,win: add uv_fs_{open,read,close}dir()
* unix: fix uv_interface_addresses()
* fs: remove macOS-specific copyfile(3)
* fs: add test for copyfile() respecting permissions
* build: partially revert 5234b1c43a
* zos: fix setsockopt error when using AF_UNIX
* unix: suppress EINTR/EINPROGRESS in uv_fs_close()
* build: use cmake APPLE variable to detect platform
* distcheck: remove duplicate test/ entry
* unix: remove unused cmpxchgl() function
* unix: support sockaddr_un in uv_udp_send()
* unix: guard use of PTHREAD_STACK_MIN
* unix,win: introduce uv_timeval64_t
* doc: document uv_timeval_t and uv_timeval64_t
2019-04-18 07:47:33 +00:00
adam
ca90fb8e43 libuv: updated to 1.27.0
v1.27.0:
* doc: describe unix signal handling better
* linux: use statx() to obtain file birth time
* src: fill sockaddr_in6.sin6_len when it's defined
* test: relax uv_hrtime() test assumptions
* build: make cmake install LICENSE only once
* bsd: plug uv_fs_event_start() error path fd leak
* unix: fix __FreeBSD_kernel__ typo
* doc: add note about uv_run() not being reentrant
* unix, win: make fs-poll close wait for resource cleanup
* doc: fix typo in uv_thread_options_t definition
* win: skip winsock initialization in safe mode
* unix: refactor getsockname/getpeername methods
* win,udp: allow to use uv_udp_open on bound sockets
* udp: add support for UDP connected sockets
* build: fix uv_test shared uv Windows cmake build
* build: add android-configure scripts to EXTRA_DIST
* build: add missing header
* sunos: add perror() output prior to abort()
* test,sunos: disable UV_DISCONNECT handling
* sunos: disable __attribute__((unused))
* test,sunos: use unistd.h code branch
* build,sunos: better handling of non-GCC compiler
* test,sunos: fix statement not reached warnings
* sunos: fix argument/prototype mismatch in atomics
* test,sunos: test-ipc.c lacks newline at EOF
* test: change spawn_stdin_stdout return to void
* test: remove call to floor() in test driver
2019-03-18 09:02:58 +00:00
adam
55c3c870e2 libuv: updated to 1.26.0
Changes 1.26.0:
* doc: fix uv_get_free_memory doc
* unix: fix epoll cpu 100% issue
* openbsd,tcp: special handling of EINVAL on connect
* win: simplify registry closing in uv_cpu_info()
* src,include: define UV_MAXHOSTNAMESIZE
* win: return product name in uv_os_uname() version
* thread: allow specifying stack size for new thread
* win: fix duplicate tty vt100 fn key
* unix: don't attempt to invalidate invalid fd
2019-02-11 10:46:56 +00:00
adam
e54a00e55f libuv: updated to 1.25.0
v1.25.0:
* Revert "win,fs: retry if uv_fs_rename fails"
* aix: manually trigger fs event monitoring
* unix: rename WRITE_RETRY_ON_ERROR macro
* darwin: DRY platform-specific error check
* unix: refactor uv__write()
* unix: don't send handle twice on partial write
* tty,win: fix Alt+key under WSL
* build: support running tests in out-of-tree builds
* fsevents: really watch files with fsevents on macos 10.7+
* thread,mingw64: need intrin.h header for SSE2 MemoryBarrier
* win: fix sizeof-pointer-div warning
* unix,win: add uv_os_uname()
* win, tty: fix CreateFileW() return value check
* unix: enable IPv6 tests on OpenBSD
* test: fix test-ipc spawn_helper exit_cb
* test: fix test-ipc tests
* unix: better handling of unsupported F_FULLFSYNC
* win,test: de-flake fs_event_watch_dir_short_path
* win: fix msvc warning
* openbsd: switch to libuv's barrier implementation
* unix,stream: fix zero byte writes
* ibmi: return EISDIR on read from directory fd
* build: wrap long lines in Makefile.am
2019-01-19 15:33:35 +00:00
adam
eef6d2f60a libuv: updated to 1.24.1
v1.24.1:
Changes since version 1.24.0:
* test: fix platform_output test on cygwin
* gitignore: ignore build/ directory
* unix: zero epoll_event before use
* darwin: use runtime check for file cloning
* doc: replace deprecated build command on macOS
* warnings: fix code that emits compiler warnings
* doc: clarify expected memory management strategy
* test: add uv_inet_ntop(AF_INET) coverage
* unix: harden string copying, introduce strscpy()
* linux: get rid of strncpy() call
* aix: get rid of strcat() calls
* aix: fix data race in uv_fs_event_start()
* win: fs: fix FILE_FLAG_NO_BUFFERING for writes
* build: don't link against -lpthread on Android
2018-12-17 13:39:37 +00:00
sevan
660e6e0980 Need pthread support, make sure a substitue is present if OS lacks support
natively, e.g Minix at present.
2018-12-02 02:22:29 +00:00
adam
1d8fa5525a libuv: updated to 1.24.0
Version 1.24.0
* unix: do not require PATH_MAX to be defined
* win,doc: path encoding in uv_fs_XX is UTF-8
* unix: add missing link dependency on kFreeBSD
* unix: add support for GNU/Hurd
* test: avoid memory leak for test_output
* zos: avoid UB with NULL pointer arithmetic
* doc: add vtjnash to maintainers
* unix: restore skipping of phys_addr copy
* unix,win: make uv_interface_addresses() consistent
* unix: remove unnecessary linebreaks
* unix,win: handle zero-sized allocations uniformly
* unix: remove unused uv__dup() function
* core,bsd: refactor process_title functions
* win: Redefine NSIG to consider SIGWINCH
* test: make sure that reading a directory fails
* win, tty: remove zero-size read callbacks
* test: fix test runner getenv async-signal-safety
* test: fix test runner execvp async-signal-safety
* test,unix: fix race in test runner
* unix,win: support IDNA 2008 in uv_getaddrinfo()
* win, tcp: avoid starving the loop
* win, dl: proper error messages on some systems
* win,fs: retry if uv_fs_rename fails
* darwin: speed up uv_set_process_title()
* aix: fix race in uv_get_process_title()
* win: support more fine-grained windows hiding
2018-11-13 08:58:14 +00:00
adam
df6aaa03e3 libuv: updated to 1.23.2
Version 1.23.2
* unix: return 0 retrieving rss on cygwin
* unix: initialize uv_interface_address_t.phys_addr
* test: handle uv_os_setpriority() windows edge case
* tty, win: fix read stop for raw mode
* Revert "Revert "unix,fs: fix for potential partial reads/writes"" (Jameson
* unix,readv: always permit partial reads to return
* win,tty: fix uv_tty_close()
* doc: remove extraneous "on"
* unix,win: fix threadpool race condition
* unix: rework thread barrier implementation
* aix: switch to libuv's own thread barrier impl
* unix: signal done to last thread barrier waiter
* test: add uv_barrier_wait serial thread test
* unix: optimize uv_fs_readlink() memory allocation
* win: remove req.c and other cleanup
* aix: don't EISDIR on read from directory fd
2018-10-11 09:46:31 +00:00
adam
52a31cda38 libuv: updated to 1.23.1
Version 1.23.1
* unix,win: limit concurrent DNS calls to nthreads/2
* doc: add addaleax to maintainers
* doc: add missing slash in stream.rst
* unix,fs: use utimes & friends for uv_fs_utime
* unix,fs: remove linux fallback from utimesat()
* unix,fs: remove uv__utimesat() syscall fallback
* doc: fix argument name in tcp.rts
* doc: notes on running tests, benchmarks, tools
* linux: remove epoll syscall wrappers
* linux: drop code path for epoll_pwait-less kernels
* Partially revert "win,code: remove GetQueuedCompletionStatus-based poller"
* build: add compile for android arm64/x86/x86-64
* doc: clarify that some remarks apply to windows
* test: fix compiler warnings
* ibmi: return 0 from uv_resident_set_memory()
* win: fix uv_udp_recv_start() error translation
* win,doc: improve uv_os_setpriority() documentation
* test: increase upper bound in condvar_5
* win,tty: remove deadcode
* stream: autodetect direction
2018-10-01 17:43:48 +00:00
wiz
e8629b03bb libuv: update to 1.23.0.
2018.08.18, Version 1.23.0 (Stable)

Changes since version 1.22.0:

* win,pipe: restore compatibility with the old IPC framing protocol (Bert
  Belder)

* fs: add uv_open_osfhandle (Bartosz Sosnowski)

* doc: update Visual C++ Build Tools URL (Michał Kozakiewicz)

* unix: loop starvation on successful write complete (jBarz)

* win: add uv__getnameinfo_work() error handling (A. Hauptmann)

* win: return UV_ENOMEM from uv_loop_init() (cjihrig)

* unix,win: add uv_os_{get,set}priority() (cjihrig)

* test: fix warning in test-tcp-open (Santiago Gimeno)
2018-08-19 18:12:22 +00:00
adam
f5dd4e846c libuv: updated to 1.22.0
Version 1.22.0:
* unix: remove checksparse.sh
* win: fix mingw build error
* win: fix -Wunused-function warnings in thread.c
* unix,win: merge timers implementation
* win: fix pointer type in pipe.c
* win: fixing build for older MSVC compilers
* zos: clear poll events on every iteration
* zos: write-protect message queue
* zos: use correct pointer type in strnlen
* unix,win: merge handle flags
* doc: update Imran Iqbal's GitHub handle
* src: add new error apis to prevent memory leaks
* test: make test-condvar call uv_cond_wait
* fs: change position of uv_fs_lchown
2018-07-10 08:08:44 +00:00
adam
11527f5b17 libuv: also remove unused comments 2018-06-24 09:10:31 +00:00
adam
e6bff2f53c libuv: updated to 1.21.0
v1.21.0:
* unix,windows: map EFTYPE errno
* win: perform case insensitive PATH= comparison
* win, fs: uv_fs_fchmod support for -A files
* src,lib: fix comments
* win,process: allow child pipe handles to be opened in overlapped mode
* src,test: fix idiosyncratic comment style
* test: fs_fchmod_archive_readonly must return a value
* win,pipe: fix incorrect error code returned from uv_pipe_write_impl()
* win,pipe: properly set uv_write_t.send_handle in uv_write2()
* test: add vectored uv_write() ping-pong tests
* win,pipe: support vectored uv_write() calls
* win,pipe: refactor pipe read cancellation logic
* test: improve output from IPC test helpers
* test: add test for IPC deadlock on Windows
* win,pipe: fix IPC pipe deadlock
* unix: catch some cases of watching fd twice
* test: use custom timeout for getaddrinfo_fail_sync
* Revert "win: add Windows XP support to uv_if_indextoname()"
* win,thread: remove fallback uv_cond implementation
* src,test: s/olny/only
* unix: close signal pipe fds on unload
* win: allow setting udp socket options before bind
* unix: return UV_ENOTSUP on FICLONE_FORCE failure
* win,pipe: remove unreferenced local variable
* win,code: remove GetQueuedCompletionStatus-based poller
* win: remove the remaining dynamic kernel32 imports
* test: speedup process-title-threadsafe on macOS
* core: move all include files except uv.h to uv/
* win: move stdint-msvc2008.h to include/uv/
* build: fix cygwin install
* build,win: remove MinGW Makefile
* build: add a cmake build file
* build: add test suite option to cmake build
* unix: set errno in uv_fs_copyfile()
* samples: fix inconsistency in parse_opts vs usage
* linux: handle exclusive POLLHUP with UV_DISCONNECT
* include: declare uv_cpu_times_s in higher scope
* doc: add uv_fs_fsync() AIX limitations
* unix,win: add uv_fs_lchown()
* unix: disable clang variable length array warning
* doc: document uv_pipe_t::ipc
* doc: undocument uv_req_type's UV_REQ_TYPE_PRIVATE
* doc: document UV_*_MAP() macros
* win: remove use of min() macro in pipe.c
* doc: add jbarz as maintainer
2018-06-24 09:09:34 +00:00
adam
209c5948e4 libuv: updated to 1.20.3
v1.20.3:
* win: add Windows XP support to uv_if_indextoname()
* win: fix `'floor' undefined` compiler warning
* win, pipe: stop read for overlapped pipe
* build: fix utf-8 name of copyright holder
* zos: initialize pollfd revents
* zos,doc: add system V message queue note
* linux: don't use uv__nonblock_ioctl() on sparc
2018-05-08 04:14:30 +00:00
adam
19968d2a45 libuv: updated to 1.20.2
v1.20.2:
* zos: use custom semaphore
* win: fix registry API error handling
* build: add support for 64-bit AIX
* aix: guard STATIC_ASSERT for glibc work around

v1.20.1:
* doc,fs: improve documentation
* win: return a floored double from uv_uptime()
* doc: clarify platform specific pipe naming
* unix: fix uv_pipe_chmod() on macOS
* unix: work around glibc semaphore race condition
* tcp,openbsd: disable Unix TCP check for IPV6_ONLY
* test,openbsd: use RETURN_SKIP in UDP IPv6 tests
* test,openbsd: fix multicast test
* Revert "win, fs: use FILE_WRITE_ATTRIBUTES when opening files"
2018-04-23 07:03:12 +00:00
adam
45c8990281 libuv: updated to 1.20.0
1.20.0:
* unix,spawn: respect user stdio flags for new pipe
* Revert "Revert "unix,tcp: avoid marking server sockets connected""
* req: revisions to uv_req_t handling
* win: remove unnecessary initialization
* win: update uv_os_homedir() to use uv_os_getenv()
* test: fix tcp_oob test flakiness
* posix: fix uv__pollfds_del() for invalidated fd's
* doc: README: add note on installing gyp
* unix: refactor uv_os_homedir to use uv_os_getenv
* unix: fix several instances of lost errno
* win,tty: update several TODO comments
* unix: add UV_FS_COPYFILE_FICLONE support
* test: fix connect_unspecified
* unix,win: add UV_FS_COPYFILE_FICLONE_FORCE support
* win: use long directory name for handle->dirw
* build: build with -D_FILE_OFFSET_BITS=64 again
* win, fs: fix uv_fs_unlink for +R -A files
* win, fs: use FILE_WRITE_ATTRIBUTES when opening files
* unix: use __PASE__ on IBM i platforms
* test,freebsd: fix flaky poll tests
* test: increase connection timeout to 1 second
* win,tcp: handle canceled connect with ECANCELED
2018-04-03 14:21:21 +00:00
adam
a9f9ad901f libuv: updated to 1.19.2
Version 1.19.2

Changes since version 1.19.1:
* test: fix incorrect asserts
* test: fix a typo in test-fork.c
* build: remove long-obsolete gyp workarounds
* build: split off tests into separate gyp file
* test: check uv_cond_timedwait more carefully
* include,src: introduce UV__ERR() macro
* build: add url field to libuv.pc
* doc: mark IBM i as Tier 3 support
* win,build: correct C2059 errors
* zos: fix timeout for condition variable
* win: CREATE_NO_WINDOW when stdio is not inherited
* build: fix commmon.gypi comment
* doc: document uv_timer_start() on an active timer
* doc: add note about handle movability
* doc: fix syntax error in loop documentation
* osx,stream: retry sending handle on EMSGSIZE error
* unix: delay fs req register until after validation
* test: add tests for bad inputs
* unix,win: ensure req->bufs is freed
* test: add additional fs memory management checks
2018-02-22 08:44:14 +00:00
adam
6e1f6cba9b libuv: updated to 1.9.1
v1.19.1:
* Revert "unix,tcp: avoid marking server sockets connected"
* Revert "unix,fs: fix for potential partial reads/writes"
* Revert "win: use RemoveDirectoryW() instead of _wmrmdir()"
* cygwin: fix compilation of ifaddrs impl
2018-01-20 11:30:28 +00:00
adam
0a98779059 libuv: updated to 1.19.0
Version 1.19.0 (Stable):
* core: add getter/setter functions for easier ABI compat
* unix: make get(set)_process_title MT-safe
* unix,win: wait for threads to start
* test: add threadpool init/teardown test
* win, process: uv_kill improvements
* win: set _WIN32_WINNT to 0x0600
* zos: implement uv_fs_event* functions
* unix,tcp: avoid marking server sockets connected
* doc: mark Windows 7 as Tier 1 support
* win: map 0.0.0.0 and :: addresses to localhost
* build: install libuv.pc unconditionally
* test: remove custom timeout for thread test on ppc
* test: allow multicast not permitted status
* test: allow net unreachable status in udp test
* unix: use SA_RESTART when setting our sighandler
* unix,fs: fix for potential partial reads/writes
* win,build: do not build executable installer for dll
* win: allow directory symlinks to be created in a non-elevated context
* zos,test: accept SIGKILL for flaky test
* win: use RemoveDirectoryW() instead of _wmrmdir()
* unix: fix uv_cpu_info() error on FreeBSD
* zos,test: decrease pings to avoid timeout
2018-01-19 07:42:25 +00:00
jperkin
48bde5e230 libuv: Provide compat strnlen for older Darwin. 2017-12-11 13:32:12 +00:00
adam
ecf8a93732 libuv: updated to 1.18.0
v1.18.0:
* aix: fix -Wmaybe-uninitialized warning
* doc: remove note about SIGWINCH on Windows
* Revert "unix,win: wait for threads to start"
* unix,win: add uv_os_getpid()
* unix: remove incorrect assertion in uv_shutdown()
* doc: fix IRC URL in CONTRIBUTING.md
2017-12-01 09:13:45 +00:00
adam
de33cf55a7 libuv: updated to 1.17.0
v1.17.0:
* unix: avoid malloc() call in uv_spawn()
* doc: clarify the description of uv_loop_alive()
* win: map UV_FS_O_EXLOCK to a share mode of 0
* win: fix build on case-sensitive file systems
* win: fix test runner build with mingw64
* win: remove unused variable in test/test-fs.c
* zos: add strnlen() implementation
* unix: keep track of bound sockets sent via spawn
* unix,win: wait for threads to start
* test: add threadpool init/teardown test
* test: avoid malloc() in threadpool test
* test: lower number of tasks in threadpool test
* win: issue memory barrier in uv_thread_join()
* ibmi: add support for new platform
* test: fix test-spawn compilation
2017-11-24 11:04:25 +00:00
adam
a9909db343 libuv: updated to 1.16.1
Changes since version 1.16.0:
* unix: move net/if.h include
* win: fix undeclared NDIS_IF_MAX_STRING_SIZE
2017-11-13 13:28:58 +00:00
adam
c81d4f3619 libuv: updated to 1.16.0
Version 1.16.0
* win: change st_blksize from `2048` to `4096`
* unix,win: add fs open flags, map O_DIRECT|O_DSYNC
* win, fs: fix non-symlink reparse points
* test: fix -Wstrict-prototypes warnings
* unix, windows: map ENOTTY errno
* unix: fall back to fsync() if F_FULLFSYNC fails
* unix: do not close invalid kqueue fd after fork
* zos: reset epoll data after fork
* zos: skip fork_threadpool_queue_work_simple
* test: keep platform_output as first test
* win: fix non-English dlopen error message
* unix,win: add uv_os_getppid()
* test: fix const qualification compiler warning
* doc: mark uv_default_loop() as not thread safe
* win, pipe: null-initialize stream->shutdown_req
* tty, win: get SetWinEventHook pointer at startup
* test: no extra new line in skipped test output
* pipe: allow access from other users
* unix,win: add uv_if_{indextoname,indextoiid}
2017-11-07 08:07:35 +00:00
kamil
10a1f60ea0 libuv: Fix build on NetBSD without KERN_PROC_PATHNAME
Add fallback implementation reading /proc/self/exe to exctract the
executable name.

PR pkg/52597 by Joern Clausen
2017-10-06 15:58:15 +00:00
adam
dd412fc7d5 libuv: update to 1.15.0
Version 1.15.0 (Stable)

* unix: limit uv__has_forked_with_cfrunloop to macOS
* win: fix buffer size in uv__getpwuid_r()
* win,tty: improve SIGWINCH support
* unix: use fchmod() in uv_fs_copyfile()
* unix: support copying empty files
* unix: truncate destination in uv_fs_copyfile()
* win,build: keep cwd when setting build environment
* test: add NetBSD support to test-udp-ipv6.c
* unix: add NetBSD support in core.c
* linux: increase thread stack size with musl libc
* netbsd: correct uv_exepath() on NetBSD
* test: clean up semaphore after use
* win,build: bump vswhere_usability_wrapper to 2.0.0
* win: let UV_PROCESS_WINDOWS_HIDE hide consoles
* zos: lock protect global epoll list in epoll_ctl
* zos: change platform name to match python
* android: fix getifaddrs()
* netbsd: implement uv__tty_is_slave()
* zos: fix readlink for mounts with system variables
* test: sort the tests alphabetically
* windows: fix compilation warnings
* build: avoid -fstrict-aliasing compile option
* win: remove unused variables
* unix: remove unused variables
* netbsd: disable poll_bad_fdtype on NetBSD
* netbsd: use uv__cloexec and uv__nonblock
* test: fix udp_multicast_join6 on NetBSD
* unix,win: add uv_mutex_init_recursive()
* netbsd: do not exclude IPv6 functionality
* fsevents: watch files with fsevents on macos 10.7+
* unix: retry on ENOBUFS in sendmsg(2)
2017-10-06 04:22:47 +00:00
adam
e92fcd8d23 v1.14.1:
* fs, win: add support for user symlinks
* cygwin: include uv-posix.h header
* zos: fix semaphore initialization
* zos: improve loop_count benchmark performance
* zos, test: flush out the oob data in callback
* unix,win: check for bad flags in uv_fs_copyfile()
* unix: modify argv[0] when process title is set
* unix: don't use req->loop in uv__fs_copyfile()
* doc: fix a trivial typo
* android: fix uv_cond_timedwait on API level < 21
* win: add uv__once_init() calls
* unix,windows: init all requests in fs calls
* unix,windows: return UV_EINVAL on NULL fs reqs
* windows: add POST macro to fs functions
* unix: handle partial sends in uv_fs_copyfile()
* Revert "win, test: fix double close in test runner"
* win, test: remove surplus CloseHandle
2017-09-08 07:21:44 +00:00
adam
dd3347a713 Version 1.14.0:
* unix: check for NULL in uv_os_unsetenv for parameter name (André Klitzing)
* doc: add thread safety warning for process title (Matthew Taylor)
* unix: always copy process title into local buffer (Matthew Taylor)
* poll: add support for OOB TCP and GPIO interrupts (CurlyMoo)
* win,build: fix appveyor properly (Refael Ackermann)
* win: include filename in dlopen error message (Ben Noordhuis)
* aix: add netmask, mac address into net interfaces (Gireesh Punathil)
* unix, windows: map EREMOTEIO errno (Ben Noordhuis)
* unix: fix wrong MAC of uv_interface_address (XadillaX)
* win,build: fix building from Windows SDK or VS console (Saúl Ibarra Corretgé)
* github: fix link to help repo in issue template (Ben Noordhuis)
* zos: remove nonexistent include from autotools build (Saúl Ibarra Corretgé)
* misc: remove reference to pthread-fixes.h from LICENSE (Saúl Ibarra Corretgé)
* docs: fix guide source code example paths (Anticrisis)
* android: fix compilation with new NDK versions (Saúl Ibarra Corretgé)
* misc: add android-toolchain to .gitignore (Saúl Ibarra Corretgé)
* win, fs: support unusual reparse points (Bartosz Sosnowski)
* android: fix detection of pthread_condattr_setclock (Saúl Ibarra Corretgé)
* android: remove no longer needed check (Saúl Ibarra Corretgé)
* doc: update instructions for building on Android (Saúl Ibarra Corretgé)
* win, process: support semicolons in PATH variable (Bartosz Sosnowski)
* doc: document uv_async_(init|send) return values (Ben Noordhuis)
* doc: add Android as a tier 3 supported platform (Saúl Ibarra Corretgé)
* unix: add missing semicolon (jBarz)
* win, test: fix double close in test runner (Bartosz Sosnowski)
* doc: update supported windows version baseline (Ben Noordhuis)
* test,zos: skip chown root test (jBarz)
* test,zos: use gid=-1 to test spawn_setgid_fails (jBarz)
* zos: fix hr timer resolution (jBarz)
* android: fix blocking recvmsg due to netlink bug (Jacob Segal)
* zos: read more accurate rss info from RSM (jBarz)
* win: allow bound/connected socket in uv_tcp_open() (Maciej Szeptuch
  (Neverous))
* doc: differentiate SmartOS and SunOS support (cjihrig)
* unix: make uv_poll_stop() remove fd from pollset (Ben Noordhuis)
* unix, windows: add basic uv_fs_copyfile() (cjihrig)
2017-08-17 20:06:47 +00:00
jperkin
35f3313aea Use a different make construct to avoid issues on platforms where
OS_VERSION is non-numeric.
2017-08-07 10:31:41 +00:00
jperkin
fc51af495d Solaris older than 5.11 does not have ifaddrs.h 2017-08-07 07:13:59 +00:00
wiz
5d86518619 Switch github HOMEPAGEs to https. 2017-07-30 22:32:10 +00:00
adam
610ccfa085 1.13.1:
* build: workaround AppVeyor quirk
2017-07-07 04:09:01 +00:00
adam
6c82795523 Version 1.13.0
* Now working on version 1.12.1
* unix: avoid segfault in uv_get_process_title
* build: add a comma to uv.gyp
* win: restore file pos after positional read/write
* unix,stream: return error on closed handle passing
* unix,benchmark: use fd instead of FILE* after fork
* zos: avoid compiler warnings
* win,pipe: race condition canceling readfile thread
* sunos: filter out non-IPv4/IPv6 interfaces
* sunos: fix cmpxchgi and cmpxchgl type error
* unix: reset signal disposition before execve()
* unix: reset signal mask before execve()
* unix: fix POLLIN assertion on server read
* zos: use stckf builtin for high-res timer
* win,udp: implements uv_udp_try_send
* win,udp: return UV_EINVAL instead of aborting
* freebsd: replace kvm with sysctl
* aix: fix un-initialized pointer field in fs handle
* win,build: support building with VS2017
* doc: add instructions for building on Windows
* doc: format README
2017-07-06 07:17:56 +00:00
adam
f9622a48c0 Version 1.12.0
* test: fix tests on OpenBSD
* test: fix -Wformat warning
* win,fs: avoid double freeing uv_fs_event_t.dirw
* unix: remove unused code in `uv__io_start`
* signal: add uv_signal_start_oneshot method
* unix: factor out reusable POSIX hrtime impl
* unix,win: add uv_os_{get,set,unset}env()
* win: add uv__convert_utf8_to_utf16()
* docs: improve UV_ENOBUFS scenario documentation
* unix: return UV_EINVAL for NULL env name
* unix: filter getifaddrs results consistently
* unix: factor out getifaddrs result filter
* unix: factor out reusable BSD ifaddrs impl
* unix: use union to follow strict aliasing rules
* unix: simplify async watcher dispatch logic
* samples: update timer callback prototype
* unix: make loops and watchers usable after fork()
* win: free uv__loops once empty
* tools: add make_dist_html.py script
* win,sunos: stop handle on uv_fs_event_start() err
* unix,windows: refactor request init logic
* win: fix memory leak inside uv__pipe_getname
* fsevent: support for files without short name
* doc: fix multiple doc typos
* test,osx: fix flaky kill test
* unix: inline uv_pipe_bind() err_bind goto target
* unix,test: deadstore fixes
* win: fix memory leak inside uv_fs_access()
* doc: fix docs/src/fs.rst build warning
* doc: minor grammar fix in Installation section
* doc: suggestions for design page
* doc: libuv does not touch uv_loop_t.data
* github: add ISSUE_TEMPLATE.md
* doc: add link to libuv/help to README
* udp: fix fast path in uv_udp_send() on unix
* test: add test for uv_udp_send() fix
* doc: fix documentation for uv_handle_t.type
* zos: use proper prototype for epoll_init()
* doc: rename docs to "libuv documentation"
* doc: update copyright years
* doc: move TOC to a dedicated document
* doc: move documentation section up
* doc: move "upgrading" to a standalone document
* doc: add initial version of the User Guide
* doc: removed unused file
* doc: update guide/about and mention new maintainership
* doc: remove licensing note from guide/about
* doc: add warning note to user guide
* doc: change license to CC BY 4.0
* doc: remove ubvook reference from README
* doc: add code samples from uvbook
* doc: update supported linux/glibc baseline
* win: avoid leaking pipe handles to child processes
* win,test: support stdout output larger than 1kb
* win: remove __declspec(inline) from atomic op
* test: fix VC++ compilation warning
* build: add -Wstrict-prototypes
* zos: implement uv__io_fork, skip fs event tests
* unix: do not close udp sockets on bind error
* unix: remove FSEventStreamFlushSync() call
* build,openbsd: remove kvm-related code
* test: fix flaky tcp-write-queue-order
* unix,win: add uv_os_gethostname()
* zos: increase timeout for tcp_writealot
* zos: do not inline OOB data by default
* test: fix -Wstrict-prototypes compiler warnings
* unix: factor out reusable no-proctitle impl
* test: factor out fsevents skip explanation
* test: skip fork fsevent cases when lacking support
* unix: factor out reusable no-fsevents impl
* unix: factor out reusable sysinfo memory lookup
* unix: factor out reusable sysinfo loadavg impl
* unix: factor out reusable procfs exepath impl
* unix: add a uv__io_poll impl using POSIX poll(2)
* cygwin: implement support for cygwin and msys2
* cygwin: recognize EOF on named pipe closure
* cygwin: fix uv_pipe_connect report of ENOTSOCK
* cygwin: disable non-functional ipc handle send
* test: skip self-connecting tests on cygwin
* doc: mark uv_loop_fork() as experimental
* doc: add bzoz to maintainers
* doc: fix memory leak in tcp-echo-server example
* win: make uv__get_osfhandle() public
* doc: use valid pipe name in pipe-echo-server
2017-06-24 06:07:44 +00:00
maya
dcbcbdd6f3 libuv: add test target 2017-05-22 14:49:04 +00:00
maya
5afb5e46f9 libuv: add and use autoconf test for pthread_condattr_setclock.
This call is absent in netbsd-6-0. libuv built anyway, but it later died
with undefined references in cmake.

I read outdated information and assumed that the previous attempt at
fixing the problem did not make a functional change, but it did.
pthread_condattr_setclock does have an effect on netbsd.

bump PKGREVISION so it is rebuilt, and for previous functional change.

thanks joerg and riastradh for clearing things up.
2017-03-28 18:44:49 +00:00
maya
d62b65e61b libuv: don't call pthread_condattr_setclock on netbsd.
it is effectively a no-op, and doesn't exist on netbsd<7, leading to
undefined references in building cmake later on.

this fixes the build of cmake on NetBSD 6.1.5.
2017-03-27 15:34:00 +00:00
taca
b1dc84f99c Fix build problem on NetBSD 6. 2017-03-22 01:45:07 +00:00
wiz
7ee29f0c5c Updated libuv to 1.11.0.
2017.02.02, Version 1.11.0 (Stable)

Changes since version 1.10.2:

* Now working on version 1.10.3 (cjihrig)

* win: added fcntl.h to uv-win.h (Michele Caini)

* unix: move function call out of assert (jBarz)

* fs: cleanup uv__fs_scandir (Santiago Gimeno)

* fs: fix crash in uv_fs_scandir_next (muflub)

* win,signal: fix potential deadlock (Bartosz Sosnowski)

* unix: use async-signal safe functions between fork and exec (jBarz)

* sunos: fix SUNOS_NO_IFADDRS build (Ben Noordhuis)

* zos: make platform functional (John Barboza)

* doc: add repitition qualifier to version regexs (Daniel Bevenius)

* zos: use gyp OS label "os390" on z/OS (John Barboza)

* aix: enable uv_get/set_process_title (Howard Hellyer)

* zos: use built-in proctitle implementation (John Barboza)

* Revert "darwin: use clock_gettime in macOS 10.12" (Chris Araman)

* win,test: don't write uninitialized buffer to tty (Bert Belder)

* win: define ERROR_ELEVATION_REQUIRED for MinGW (Richard Lau)

* aix: re-enable fs watch facility (Gireesh Punathil)
2017-02-07 12:59:33 +00:00
wiz
bcf998a0b9 Updated libuv to 1.10.2.
2017.01.10, Version 1.10.2 (Stable)

Changes since version 1.10.1:

* Now working on version 1.10.2 (cjihrig)

* darwin: fix fsync and fdatasync (Joran Dirk Greef)

* Revert "Revert "win,tty: add support for ANSI codes in win10 v1511""
  (Santiago Gimeno)

* win,tty: fix MultiByteToWideChar output buffer (Santiago Gimeno)

* win: remove dead code related to BACKUP_SEMANTICS (Sam Roberts)

* win: fix comment in quote_cmd_arg (Eric Sciple)

* darwin: use clock_gettime in macOS 10.12 (Saúl Ibarra Corretgé)

* win, tty: fix crash on restarting with pending data (Nicholas Vavilov)

* fs: fix uv__to_stat on BSD platforms (Santiago Gimeno)

* win: map ERROR_ELEVATION_REQUIRED to UV_EACCES (Richard Lau)

* win: fix free() on bad input in uv_getaddrinfo() (Ben Noordhuis)
2017-01-16 11:56:22 +00:00