History log of /libuv/ (Results 276 – 300 of 5435)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
ef6a9a6219-May-2023 Santiago Gimeno

linux: fix WRITEV with lots of bufs using io_uring (#4004)

In the case of trying to write more than `IOV_MAX` buffers, the
`IORING_OP_WRITEV` operation will return `EINVAL`. As a tempora

linux: fix WRITEV with lots of bufs using io_uring (#4004)

In the case of trying to write more than `IOV_MAX` buffers, the
`IORING_OP_WRITEV` operation will return `EINVAL`. As a temporal fix,
fallback to the old ways. In the future we might implement this by
linking multiple `IORING_OP_WRITEV` requests using `IOSQE_IO_LINK`.

show more ...

d23a20f617-May-2023 Ben Noordhuis

linux: work around EOWNERDEAD io_uring kernel bug (#4002)

io_uring sometimes erroneously returns EOWNERDEAD when the intention was
to return 0. It's harmless and fixed in linux 5.14 so j

linux: work around EOWNERDEAD io_uring kernel bug (#4002)

io_uring sometimes erroneously returns EOWNERDEAD when the intention was
to return 0. It's harmless and fixed in linux 5.14 so just ignore the
error.

Fixes: https://github.com/libuv/libuv/issues/4001
Refs: https://github.com/torvalds/linux/commit/21f965221e

show more ...

6f94701416-May-2023 Santiago Gimeno

freebsd: hard-code UV_ENODATA definition (#3999)

`FreeBSD` defines `ENODATA` in /usr/include/c++/v1/errno.h which is only visible
if C++ is the compilation unit. This can cause interop i

freebsd: hard-code UV_ENODATA definition (#3999)

`FreeBSD` defines `ENODATA` in /usr/include/c++/v1/errno.h which is only visible
if C++ is the compilation unit. This can cause interop issues when
integrating libuv build with C on a C++ project. Avoid this issue by
directly defining with the value defined in the file previously
mentioned.

show more ...

d1a2efc716-May-2023 Santiago Gimeno

win: define MiniDumpWithAvxXStateContext always (#3998)

1a56f68416-May-2023 Ben Noordhuis

test: fix -Wbool-compare compiler warning (#3996)

Fixes: https://github.com/libuv/libuv/issues/3995

e7ecd11615-May-2023 gengjiawen

win: fix mingw build (#3994)

Fixes: https://github.com/libuv/libuv/issues/3992

44b8153015-May-2023 Ben Noordhuis

unix: remove clang compiler warning pragmas (#3989)

Instead of suppressing the VLA warning, use a fixed-size buffer that is
big enough to receive at least one control message but not so

unix: remove clang compiler warning pragmas (#3989)

Instead of suppressing the VLA warning, use a fixed-size buffer that is
big enough to receive at least one control message but not so big that
IBMi PASE rejects it.

show more ...

30fc896c15-May-2023 Santiago Gimeno

unix: handle CQ overflow in iou ring (#3991)

When there are more than 128 concurrent cq completions the CQ ring
overflows as signaled via the `UV__IORING_SQ_CQ_OVERFLOW`. If this
hap

unix: handle CQ overflow in iou ring (#3991)

When there are more than 128 concurrent cq completions the CQ ring
overflows as signaled via the `UV__IORING_SQ_CQ_OVERFLOW`. If this
happens we have to enter the kernel to get the remaining items.

show more ...

6ad347fa12-May-2023 Tim Besard

unix: constrained_memory should return UINT64_MAX (#3753)

Document that we return UINT64_MAX if the cgroup limit is set to the
max. For cgroupv2, that happens if we encounter `max`, whil

unix: constrained_memory should return UINT64_MAX (#3753)

Document that we return UINT64_MAX if the cgroup limit is set to the
max. For cgroupv2, that happens if we encounter `max`, while cgroupv1
returns 9223372036854771712 when no limit is set (which according to
[this StackExchange discussion] is derived from LONG_MAX and
PAGE_SIZE). So make sure we also detect this case for cgroupv1.

[this StackExchange discussion]: https://unix.stackexchange.com/questions/420906/what-is-the-value-for-the-cgroups-limit-in-bytes-if-the-memory-is-not-restricte

Addresses: https://github.com/libuv/libuv/pull/3744/files#r974062912

show more ...

748d894e12-May-2023 Elliot Saba

win,process: write minidumps when sending SIGQUIT (#3840)

This commit adds the ability to dump core when sending the `SIGQUIT`
signal on Windows. The change reads in the current registry

win,process: write minidumps when sending SIGQUIT (#3840)

This commit adds the ability to dump core when sending the `SIGQUIT`
signal on Windows. The change reads in the current registry setting for
local dumps, and attempts to write out to that location before killing
the process. See [collecting-user-mode-dumps] for registry and pathing
details. This behavior mimics that of the dumps created by the typical
Windows Error Reporting mechanism.

[collecting-user-mode-dumps]: https://learn.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps

show more ...

f70027cb12-May-2023 Lewis Russell

build: export compile_commands.json (#3968)

Allows LSP's like clangd to work.

8a5b095512-May-2023 Mohammed Keyvanzadeh

test: add additional assert (#3983)

Add a missing assert that checks whether `uv_pipe_init()`
succeeded or not.

ff7dcd2612-May-2023 Ben Noordhuis

unix: use memcpy() instead of type punning (#3990)

Libuv makes no claim to being strict aliasing-clean but type punning
makes me feel unclean so replace it with memcpy().

3990fcad12-May-2023 cui fliter

docs: fix some typos (#3984)

15e8138610-May-2023 Santiago Gimeno

macos: revert clonefile (#3987)

* Revert "macos: fix source not being followed when cloning (#3941)"

This reverts commit 507f2f950d5da7ab1586a46e81fc83dae10c0138.

* Revert

macos: revert clonefile (#3987)

* Revert "macos: fix source not being followed when cloning (#3941)"

This reverts commit 507f2f950d5da7ab1586a46e81fc83dae10c0138.

* Revert "darwin: bring back macos-specific copyfile(3) (#3654)"

This reverts commit d4eb276eea7cb19a888fe97d7759d97c7092ad02.

show more ...

3f331e9702-May-2023 Santiago Gimeno

macos: update minimum supported version (#3982)

Only support the versions still maintained by Apple.

6e073ef501-May-2023 Ben Noordhuis

linux: use io_uring to batch epoll_ctl calls (#3979)

This work was sponsored by ISC, the Internet Systems Consortium.

f272082201-May-2023 Ben Noordhuis

linux: fix logic bug in sqe ring space check (#3980)

Handle wraparound properly, otherwise we may end up overwriting elements
that have not been consumed by the kernel yet.

c51522c029-Apr-2023 sivadeilra

win: fix race condition in uv__init_console() (#3973)

Co-authored-by: Arlie Davis <ardavis@microsoft.com>
Fixes: https://github.com/libuv/libuv/issues/3970

932092e927-Apr-2023 Ben Noordhuis

build: remove freebsd and openbsd buildbots (#3974)

The buildbots are super flaky compared to other platforms and no one
seems invested enough to investigate. They don't add nearly enoug

build: remove freebsd and openbsd buildbots (#3974)

The buildbots are super flaky compared to other platforms and no one
seems invested enough to investigate. They don't add nearly enough value
for the friction they cause so away they go.

Fixes: https://github.com/libuv/libuv/issues/3934
Fixes: https://github.com/libuv/libuv/issues/3972
Refs: https://github.com/libuv/libuv/pull/3548

show more ...

c8a1e61327-Apr-2023 Ben Noordhuis

unix,win: add uv_clock_gettime() (#3971)

Fixes: https://github.com/libuv/libuv/issues/1674

e02642cf17-Apr-2023 Trevor Norris

src: fix events/events_waiting metrics counter (#3957)

The worker pool calls all callbacks locally within the queue. So the
value of nevents doesn't properly reflect that case. Increase

src: fix events/events_waiting metrics counter (#3957)

The worker pool calls all callbacks locally within the queue. So the
value of nevents doesn't properly reflect that case. Increase the number
of events directly from the worker pool's callback to correct this.

In order to properly determine if the events_waiting counter needs to be
incremented, store the timeout value at the time the event provider was
called.

show more ...

b60f08e712-Apr-2023 Trevor Norris

test: add ASSERT_OK (#3957)

The majority of uses for ASSERT_EQ are to check if the return value is
0. So make a macro specifically for this and make things easier to read.

4fc331f823-Apr-2023 Ben Noordhuis

doc: update active maintainers list (#3967)

Move Bert and Fedor to emeriti.

507f2f9523-Apr-2023 Lewis Russell

macos: fix source not being followed when cloning (#3941)

Fixes: https://github.com/libuv/libuv/issues/3940

1...<<11121314151617181920>>...218