Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update default libuv from 1.40.0 to 1.44.1 #2644

Closed
wants to merge 1 commit into from
Closed

Conversation

XVilka
Copy link
Member

@XVilka XVilka commented May 29, 2022

Updated version of #1628

Your checklist for this pull request

  • I've read the guidelines for contributing to this repository
  • I made sure to follow the project's coding style
  • I've added tests that prove my fix is effective or that my feature works (if possible)
  • I've updated the documentation and the rizin book with the relevant information (if needed)

Detailed description

1.40.0 is very old version, new version has a few important Windows and BSD bugfixes:

Changes since version 1.40.0:

  • mailmap: update contact information for richardlau (Richard Lau)
  • build: add asan checks (gengjiawen)
  • unix: report bind error in uv_tcp_connect() (Ben Noordhuis)
  • doc: uv_tcp_bind() never returns UV_EADDRINUSE (Ben Noordhuis)
  • test: fix pump and tcp_write_batch benchmarks (Santiago Gimeno)
  • doc: mark IBM i as Tier 2 support (Jesse Gorzinski)
  • doc,poll: add notes (repeated cb & cancel pending cb) (Elad Nachmias)
  • linux: fix -Wincompatible-pointer-types warning (Ben Noordhuis)
  • linux: fix -Wsign-compare warning (Ben Noordhuis)
  • android: add system call api guards (Ben Noordhuis)
  • unix,win: harmonize uv_read_start() error handling (Ben Noordhuis)
  • unix,win: more uv_read_start() argument validation (Ben Noordhuis)
  • build: turn on -fno-strict-aliasing (Ben Noordhuis)
  • stream: add uv_pipe and uv_socketpair to the API (Jameson Nash)
  • unix,win: initialize timer timeout field (Ben Noordhuis)
  • bsd-ifaddrs: improve comments (Darshan Sen)
  • test: remove unnecessary uv_fs_stat() calls (Ben Noordhuis)
  • fs: fix utime/futime timestamp rounding errors (Ben Noordhuis)
  • test: ensure reliable floating point comparison (Jameson Nash)
  • unix,fs: fix uv_fs_sendfile() (Santiago Gimeno)
  • unix: fix uv_fs_stat when using statx (Simon Kadisch)
  • linux,macos: fix uv_set_process_title regression (Momtchil Momtchev)
  • doc: clarify UDP errors and recvmmsg (Ethel Weston)
  • test-getaddrinfo: use example.invalid (Drew DeVault)
  • Revert "build: fix android autotools build" (Bernardo Ramos)
  • unix,fs: on DVS fs, statx returns EOPNOTSUPP (Mark Klein)
  • win, fs: mkdir really return UV_EINVAL for invalid names (Nicholas Vavilov)
  • tools: migrate tools/make_dist_html.py to python3 (Dominique Dumont)
  • unix: fix uv_uptime() on linux (schamberg97)
  • unix: check for partial copy_file_range support (Momtchil Momtchev)
  • win: bump minimum supported version to windows 8 (Ben Noordhuis)
  • poll,unix: ensure safety of rapid fd reuse (Bob Weinand)
  • test: fix some warnings (Issam E. Maghni)
  • unix: fix uv_uptime() regression (Santiago Gimeno)
  • doc: fix versionadded metadata (cjihrig)
  • test: fix 'incompatible pointer types' warnings (cjihrig)
  • unix: check for EXDEV in uv__fs_sendfile() (Darshan Sen)

Changes since version 1.41.0:

  • win,tcp: make uv_close work more like unix
  • cleanup,win: Remove _WIN32 guards on threadpool
  • more errno mappings and fixes
  • higher performance try-writes
  • fix string encoding issue of uv_os_gethostname (note: MINGW-W64 upstream is broken on i686 due to https://sourceforge.net/p/mingw-w64/bugs/899/)
  • zOS support
  • Workarounds for a copy_file_range kernel bug
  • Better support for TSan
  • darwin: use RLIMIT_STACK for fsevents pthread

Changes since version 1.42.0:

  • uv_ip_name() has been added.
  • On Windows, uv_fs_read() and uv_fs_write() now return UV_EBADF instead of UV_EPERM when the file descriptor was opened with incorrect flags. This matches the behavior on other platforms.
  • Streams can be reset and attempted to read from after EOF is read.
  • The main thread now has a valid ID instead of NULL.
  • uv_cpu_info() now supports aarch64.
  • Several minor issues related to mingw32 have been fixed.

Changes since version 1.43.0:

  • build regression fixes for various platform updates
  • support for GNU/Hurd
  • release tool improvements
  • better performing rw locks on Win32
  • support for posix_spawn API
  • remove OpenBSD from event list
  • add uv_available_parallelism()

Changes since version 1.44.0

  • macos: don't use thread-unsafe strtok()
  • process: fix hang after NOTE_EXIT

See more at:

Please note, that this includes the patch from libuv/libuv#3285 (libuv/libuv#3636) to return Windows 7 support.

Test plan

CI is green

@XVilka XVilka changed the title Update default libuv from 1.40.0 to 1.42.0 Update default libuv from 1.40.0 to 1.44.1 May 29, 2022
@XVilka
Copy link
Member Author

XVilka commented May 29, 2022

Meson still doesn't allow to apply patches, let's wait until mesonbuild/meson#9717 is merged and the new version is released.

@ret2libc
Copy link
Member

Meson still doesn't allow to apply patches, let's wait until mesonbuild/meson#9717 is merged and the new version is released.

Do we really need that feature? And anyway, even if it is merged I would not use that meson version immediately because that would mean that rizin cannot be compiled on most distros-meson.

@XVilka XVilka added the waiting-for-author Used to mark PRs where more work is needed label Jun 15, 2022
@thestr4ng3r
Copy link
Member

Superseded by #2857

@wargio wargio deleted the dist-asan-update-libuv branch December 7, 2022 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting-for-author Used to mark PRs where more work is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants