History log of /libuv/ (Results 251 – 275 of 5326)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
e9d91fcc21-Dec-2022 Ben Noordhuis

darwin: remove unused fsevents symbol lookups (#3867)

One hasn't been in use since 2017, the other since 2013.

d5cfb89921-Dec-2022 Ben Noordhuis

test: unflake fs_event_watch_dir test (#3863)

Increase the timer interval. That hopefully ameliorates the problem of
FSEvents.framework missing events on the macOS CI buildbot.

test: unflake fs_event_watch_dir test (#3863)

Increase the timer interval. That hopefully ameliorates the problem of
FSEvents.framework missing events on the macOS CI buildbot.

Not really a fix, more a mitigation.

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

show more ...

a3de138415-Dec-2022 Ben Noordhuis

linux: simplify uv_uptime() (#3859)

Drop support for old kernels. Assume support for CLOCK_BOOTTIME.

abf77a9e10-Dec-2022 Santiago Gimeno

test: fix some unreachable code warnings (#3851)

75d9411e09-Dec-2022 Santiago Gimeno

win: move child_stdio_buffer out of uv_process_t (#3850)

cc000cfb06-Dec-2022 Ben Noordhuis

build: drop qemu-alpha from ci matrix (#3848)

As of recent, the fs_partial_read and fs_partial_write tests reliably
fail on that architecture.

An upgrade from Ubuntu 20.04 to 22

build: drop qemu-alpha from ci matrix (#3848)

As of recent, the fs_partial_read and fs_partial_write tests reliably
fail on that architecture.

An upgrade from Ubuntu 20.04 to 22.04 on the CI machines is suspected,
not any changes in libuv itself.

Perhaps it's possible to work around it in the tests but as Alpha is a
dead architecture, it doesn't seem worthwhile to sink time in that.
Let's remove it from the CI matrix instead.

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

show more ...

e1143f1220-Nov-2022 Santiago Gimeno

win: fixes in uv__pipe_try_write() (#3825 2/2)

Return `UV_EAGAIN` on `ERROR_OPERATION_ABORTED`.
Use the correct format for `overlapped.hEvent`.
Some refactoring to always wait for th

win: fixes in uv__pipe_try_write() (#3825 2/2)

Return `UV_EAGAIN` on `ERROR_OPERATION_ABORTED`.
Use the correct format for `overlapped.hEvent`.
Some refactoring to always wait for the overlapped result.
Modernize tests and some improvements.

show more ...

Revision tags: v1.41.0, v1.40.0, v1.39.0, v1.38.1, v1.38.0, v1.37.0, v1.36.0, v1.35.0, v1.34.2, v1.34.1, v1.34.0, v1.33.1, v1.33.0, v1.32.0, v1.31.0, v1.30.1, v1.30.0, v1.29.1, v1.29.0, v1.28.0, v1.27.0, v1.26.0, v1.25.0, v1.24.1, v1.24.0, v1.23.2, v1.23.1, v1.23.0, v1.22.0, v1.21.0, v1.20.3, v1.20.2, v1.20.1, v1.20.0, v1.19.2, v1.19.1, v1.19.0, v1.18.0, v1.17.0, v1.16.1, v1.16.0, v1.15.0, v1.14.1, v1.14.0, v1.13.1, v1.13.0, v1.12.0, v1.11.0, v1.10.2, v1.10.1, v1.10.0, v0.10.37
244e0e2025-May-2016 Ben Noordhuis

win: implement uv_try_write() for pipes(#3825 1/2)

1a91508801-Dec-2022 Ben Noordhuis

win: fix -Wunused-function warning

a138041c01-Dec-2022 Ben Noordhuis

win: fix -Wunused-variable warning

c17bd99f29-Nov-2022 Stefan Stojanovic

win: fix fstat for pipes and character files (#3811)

Calling uv_fs_fstat for file types other then disk type was resulting in
error on Windows while it was retrieving data on Linux. This

win: fix fstat for pipes and character files (#3811)

Calling uv_fs_fstat for file types other then disk type was resulting in
error on Windows while it was retrieving data on Linux. This change
enables getting fstat for pipes and character files on Windows with data
fetched being as reasonable as possible.

A simple test is also added to check this behavior on all platforms. It
uses stdin, stdout and stderr. uv_fs_fstat needs to pass with disk files
pipes and character files (eg. console).

Refs: https://github.com/nodejs/node/issues/40006
Co-authored-by: Jameson Nash <vtjnash@gmail.com>

show more ...

5102b2c028-Nov-2022 Ben Noordhuis

unix: drop kfreebsd support (#3835)

Because kFreeBSD is dead. RIP.

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

2c6858a028-Nov-2022 Sergey Rubanov

Add Socket Runtime to the LINKS.md

PR-URL: https://github.com/libuv/libuv/pull/3834

8ddffeee28-Nov-2022 Ben Noordhuis

doc: bump min supported linux and freebsd versions (#3830)

The old Linux baseline was essentially RHEL 6 but that distro has been
out of support for two years now. Move to RHEL 7.

doc: bump min supported linux and freebsd versions (#3830)

The old Linux baseline was essentially RHEL 6 but that distro has been
out of support for two years now. Move to RHEL 7.

This commit also moves FreeBSD to tier 2 because it isn't actually
part of libuv's CI matrix, only Node's.

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

show more ...

238ba3b626-Nov-2022 Ben Noordhuis

test: fix -Wunused-but-set-variable warnings (#3829)

988d225c24-Nov-2022 Tim Besard

unix,win: add uv_get_available_memory() (#3754)

a737255722-Nov-2022 Edward Humes <29870961+aurxenon@users.noreply.github.com>

build: don't use ifaddrs.h on solaris 10 (#3826)

Disable usage of ifaddrs.h on Solaris 10 at configuration time.

64669fdd15-Nov-2022 daomingq

thread: add uv_thread_getcpu() (#3803)

Add uv_thread_getcpu() api to get the cpu number on which the calling
thread is running.

e141586011-Nov-2022 Trevor Norris

src: add new metrics APIs (#3749)

The following metrics are now always recorded and available via the new
uv_metrics_info() API.

* loop_count: Number of event loop iterations.

src: add new metrics APIs (#3749)

The following metrics are now always recorded and available via the new
uv_metrics_info() API.

* loop_count: Number of event loop iterations.
* events: Total number of events processed by the event handler.
* events_waiting: Total number of events waiting in the event queue when
the event provider request was made.

Benchmarking has shown no noticeable impact recording these metrics.

PR-URL: https://github.com/libuv/libuv/pull/3749

show more ...

6f69654211-Nov-2022 theanarkh

misc: fix return value of memory functions (#3818)

Specifically uv_get_free_memory and uv_get_total_memory.

3706c4f809-Nov-2022 Santiago Gimeno

win,pipe: fixes in uv_pipe_connect()

Make unices and windows consistent when closing a pipe while it's
connecting so they all return `UV_ECANCELED`.

Avoid race condition between

win,pipe: fixes in uv_pipe_connect()

Make unices and windows consistent when closing a pipe while it's
connecting so they all return `UV_ECANCELED`.

Avoid race condition between `pipe_connect_thread_proc()` and `uv_close()` when
accessing `handle->name`.

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

show more ...

96637d0309-Nov-2022 Santiago Gimeno

win,test: change format of TEST_PIPENAME's

So `WaitNamedPipe()` doesn't fail. Increase the number of clients in
`pipe_connect_multiple` so `CreateFile()` returns `ERROR_PIPE_BUSY` and

win,test: change format of TEST_PIPENAME's

So `WaitNamedPipe()` doesn't fail. Increase the number of clients in
`pipe_connect_multiple` so `CreateFile()` returns `ERROR_PIPE_BUSY` and
the codepath leading to `WaitNamedPipe()` is exercised.

show more ...

3300502208-Nov-2022 Jameson Nash

darwin: use hw.cpufrequency again for frequency info (#3679)

This reverts commit 87f076515937345fda1a1dbc598f34e65e1b81c7 and
implements a work-around instead. This has been reported to

darwin: use hw.cpufrequency again for frequency info (#3679)

This reverts commit 87f076515937345fda1a1dbc598f34e65e1b81c7 and
implements a work-around instead. This has been reported to be
unnecessary, and also returns the wrong answer (off by exactly 100x),
so it is not particularly useful.

This also reverts the bugfixes to the original PR:

Revert "darwin: fix iOS compilation and functionality"
This reverts commit 1addf9b88a17bc32d009d377a14d540ccddd06db.

Revert "macos: fix the cfdata length in uv__get_cpu_speed (#3356)"
This reverts commit 1e7074913e1d2a1be72b62ba807325c14b0b317a.

Revert "darwin: fix -Wsometimes-uninitialized warning"
This reverts commit 6085bcef8dea1eaa21a92e2b6e6f03a0476b6c54.

Revert "macos: fix memleaks in uv__get_cpu_speed"
This reverts commit d2482ae121e0ae5d0cf0934b2e93cee81a4ac5ed.

The expected behavior on failure to read this info is to report 0 (for
example
https://github.com/libuv/libuv/blob/8975c05d199558b0cc2e98f26ce33c6090d1
d7a1/src/unix/linux.c#L834), which is which was not the case before
this PR for macos.

However hw.cpufrequency sysctl seems to be missing on darwin/arm64
(Apple Silicon), so we instead hardcode a plausible value. This value
matches what the mach kernel will report when running Rosetta apps.

Fixes: https://github.com/libuv/libuv/issues/3642
Fixes: https://github.com/libuv/libuv/issues/2911
Refs: https://github.com/libuv/libuv/pull/2912

show more ...

8975c05d08-Nov-2022 Ben Noordhuis

doc: document 0 return value for free/total memory (#3817)

Refs: https://github.com/libuv/libuv/discussions/3809

07949ce208-Nov-2022 twosee

win: fix an incompatible types warning (#3798)

1...<<11121314151617181920>>...214