build(deps): bump luv to v1.48.0-0

* fix: Use os_uname() to check for Linux by @cryptomilk in #686
    * docs: typo in a table field name by @Bilal2453 in #689
    * docs: most new_handle methods won't return fail by @Bilal2453 in #683
    * test-tty: Don't depend on stdin/stdout handle type by @squeek502 in #688
    * Bump/libuv by @zhaozg in #690
    * Annotate .gitmodules with branch and tag by @creationix in #693
This commit is contained in:
Christian Clason 2024-02-22 09:34:01 +01:00
parent bba4834ede
commit 42f8ada59d
2 changed files with 43 additions and 7 deletions

View File

@ -16,8 +16,8 @@ UNIBILIUM_SHA256 9c4747c862ab5e3076dcf8fa8f0ea7a6b50f20ec5905618b953665559679748
LIBVTERM_URL https://github.com/neovim/libvterm/archive/v0.3.3.tar.gz
LIBVTERM_SHA256 0babe3ab42c354925dadede90d352f054aa9c4ae6842ea803a20c9741e172e56
LUV_URL https://github.com/luvit/luv/archive/1.47.0-0.tar.gz
LUV_SHA256 f9911d9d33808514e9ddc1e74667a57c427efa14fefecfa5fabe80ce95a3150a
LUV_URL https://github.com/luvit/luv/archive/v1.48.0-0.tar.gz
LUV_SHA256 c9c12e414f8045aea11e5dbb44cd6c68196c10e02e1294dad971c367976cc1f9
LPEG_URL https://github.com/neovim/deps/raw/d495ee6f79e7962a53ad79670cb92488abe0b9b4/opt/lpeg-1.1.0.tar.gz
LPEG_SHA256 4b155d67d2246c1ffa7ad7bc466c1ea899bbc40fef0257cc9c03cecbaed4352a

View File

@ -837,7 +837,7 @@ uv.new_prepare() *uv.new_prepare()*
Creates and initializes a new |uv_prepare_t|. Returns the Lua
userdata wrapping it.
Returns: `uv_prepare_t userdata` or `fail`
Returns: `uv_prepare_t userdata`
uv.prepare_start({prepare}, {callback}) *uv.prepare_start()*
@ -882,7 +882,7 @@ uv.new_check() *uv.new_check()*
Creates and initializes a new |uv_check_t|. Returns the Lua
userdata wrapping it.
Returns: `uv_check_t userdata` or `fail`
Returns: `uv_check_t userdata`
uv.check_start({check}, {callback}) *uv.check_start()*
@ -934,7 +934,7 @@ uv.new_idle() *uv.new_idle()*
Creates and initializes a new |uv_idle_t|. Returns the Lua
userdata wrapping it.
Returns: `uv_idle_t userdata` or `fail`
Returns: `uv_idle_t userdata`
uv.idle_start({idle}, {callback}) *uv.idle_start()*
@ -2077,7 +2077,7 @@ uv.pipe_bind2({pipe}, {name}, {flags}) *uv.pipe_bind2()*
- If `type(flags)` is `number`, it must be `0` or
`uv.constants.PIPE_NO_TRUNCATE`.
- If `type(flags)` is `table`, it must be `{}` or
`{ no_trunate = true|false }`.
`{ no_truncate = true|false }`.
- If `type(flags)` is `nil`, it use default value `0`.
- Returns `EINVAL` for unsupported flags without performing the
bind.
@ -2110,7 +2110,7 @@ uv.pipe_connect2(pipe, name, [flags], [callback]) *uv.pipe_connect2()*
- If `type(flags)` is `number`, it must be `0` or
`uv.constants.PIPE_NO_TRUNCATE`.
- If `type(flags)` is `table`, it must be `{}` or
`{ no_trunate = true|false }`.
`{ no_truncate = true|false }`.
- If `type(flags)` is `nil`, it use default value `0`.
- Returns `EINVAL` for unsupported flags without performing the
bind operation.
@ -3630,6 +3630,42 @@ uv.thread_getcpu() *uv.thread_getcpu()*
Returns: `integer` or `fail`
uv.thread_setpriority({thread}, {priority}) *uv.thread.setpriority()*
> method form `thread:setpriority(priority)`
Parameters:
- `thread`: `luv_thread_t userdata`
- `priority`: `number`
Sets the specified thread's scheduling priority setting. It
requires elevated privilege to set specific priorities on some
platforms. The priority can be set to the following constants:
- `uv.constants.THREAD_PRIORITY_HIGHEST`
- `uv.constants.THREAD_PRIORITY_ABOVE_NORMAL`
- `uv.constants.THREAD_PRIORITY_NORMAL`
- `uv.constants.THREAD_PRIORITY_BELOW_NORMAL`
- `uv.constants.THREAD_PRIORITY_LOWEST`
Returns: `boolean` or `fail`
uv.thread_getpriority({thread}) *uv.thread.getpriority()*
> method form `thread:getpriority()`
Parameters:
- `thread`: `luv_thread_t userdata`
Gets the thread's priority setting.
Retrieves the scheduling priority of the specified thread. The
returned priority value is platform dependent.
For Linux, when schedule policy is SCHED_OTHER (default),
priority is 0.
Returns: `number` or `fail`
uv.thread_self() *uv.thread_self()*
Returns the handle for the thread in which this is called.