History log of /libuv/ (Results 351 – 375 of 5434)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
2f110a5018-Jan-2023 Jameson Nash

misc: extend getpw to take uid as an argument (#3523)

File system operations may return uid and gid values, which we may want
to pretty-print. We already have the code for getting inform

misc: extend getpw to take uid as an argument (#3523)

File system operations may return uid and gid values, which we may want
to pretty-print. We already have the code for getting information for
the current user, so just need to add a parameter to make it exposed for
every user. We expose information about groups in a similar manner also.

show more ...

7fd7e82618-Jan-2023 Darshan Sen

win,fs: fix readlink errno for a non-symlink file (#3719)

In Node.js, fs.readlink() on a non-symlink file used to throw an UNKNOWN
error on Windows. This change maps ERROR_NOT_A_REPARSE_

win,fs: fix readlink errno for a non-symlink file (#3719)

In Node.js, fs.readlink() on a non-symlink file used to throw an UNKNOWN
error on Windows. This change maps ERROR_NOT_A_REPARSE_POINT to
UV_EINVAL, so that now it throws EINVAL just like other platforms.

This is handled explicitly in `fs__readlink`, since elsewhere it might
map to EPERM instead (such as in `link`).

show more ...

1279a20c18-Jan-2023 Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

docs: add vcpkg instruction step (#3747)

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>

39f9189f14-Jan-2023 dundargoc <33953936+dundargoc@users.noreply.github.com>

build: remove unnecessary policy setting (#3873)

All cmake policies up to CMP0065 are set to NEW by default since the
minimum required version is 3.4.

434eb4b014-Jan-2023 Ben Noordhuis

linux: handle cpu hotplugging in uv_cpu_info() (#3861)

On Linux, CPUs can come online or go offline while uv_cpu_info() is busy
gathering data. Change uv_cpu_info() in the following ways

linux: handle cpu hotplugging in uv_cpu_info() (#3861)

On Linux, CPUs can come online or go offline while uv_cpu_info() is busy
gathering data. Change uv_cpu_info() in the following ways:

1. Learn online CPUs from /proc/stat

2. Get the model name from /proc/cpuinfo when it has a matching CPU,
or default to "unknown"

3. Get speed from /sys/devices/system/cpu/cpu%u/cpufreq/scaling_cur_freq
when it exists, or default to 0

Before this commit, libuv read the speed from /proc/cpuinfo but that
reports the base frequency, not the actual frequency. My system has
two cores running permanently at 3.6 GHz but libuv thought all 12 ran
at 2.2 GHz.

Fixes: https://github.com/libuv/libuv/issues/2351
Fixes: https://github.com/libuv/libuv/issues/3858

show more ...

5ee455ff12-Jan-2023 Ben Noordhuis

build: enable platform_output test on qemu (#3878)

The test was disabled because of a qemu bug that is presumed to have
since been fixed.

Refs: https://github.com/libuv/libuv/pu

build: enable platform_output test on qemu (#3878)

The test was disabled because of a qemu bug that is presumed to have
since been fixed.

Refs: https://github.com/libuv/libuv/pull/3861

show more ...

e972c67004-Jan-2023 Ben Noordhuis

build: add UndefinedBehaviorSanitizer support (#3870)

- add UBSAN build option

- turn on UBSAN CI build

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

12b8c11603-Jan-2023 Zvicii

build: add define guard around UV_EXTERN (#3855)

Incidentally lets users control the definition of UV_EXTERN.

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.

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