build(deps): bump luv to HEAD dcd1a1c

This commit is contained in:
zhaozg
2023-08-25 21:52:13 +08:00
committed by Christian Clason
parent e8dd3fa280
commit c4728a5c46
2 changed files with 74 additions and 6 deletions

View File

@@ -19,8 +19,8 @@ LIBTERMKEY_SHA256 6945bd3c4aaa83da83d80a045c5563da4edd7d0374c62c0d35aec09eb30146
LIBVTERM_URL https://github.com/neovim/deps/raw/12c9dcf1d823ac4acbccf494c93c4774a87db11d/opt/libvterm-0.3.3.tar.gz LIBVTERM_URL https://github.com/neovim/deps/raw/12c9dcf1d823ac4acbccf494c93c4774a87db11d/opt/libvterm-0.3.3.tar.gz
LIBVTERM_SHA256 09156f43dd2128bd347cbeebe50d9a571d32c64e0cf18d211197946aff7226e0 LIBVTERM_SHA256 09156f43dd2128bd347cbeebe50d9a571d32c64e0cf18d211197946aff7226e0
LUV_URL https://github.com/luvit/luv/archive/1.45.0-0.tar.gz LUV_URL https://github.com/luvit/luv/archive/dcd1a1cad5b05634a7691402d6ca2f214fb4ae76.tar.gz
LUV_SHA256 97e89940f9eeaa8dfb34f1c19f80dd373299c42719d15228ec790f415d4e4965 LUV_SHA256 b68c73ed233918da7e0b34b57c6bac0490e6c6f1b12c1051266b6ad9efa780d0
LPEG_URL https://github.com/neovim/deps/raw/aa004f1b2b6470a92363cba8e1cc1874141dacc4/opt/lpeg-1.0.2.tar.gz LPEG_URL https://github.com/neovim/deps/raw/aa004f1b2b6470a92363cba8e1cc1874141dacc4/opt/lpeg-1.0.2.tar.gz
LPEG_SHA256 48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe LPEG_SHA256 48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe

View File

@@ -3,7 +3,7 @@
LUV REFERENCE MANUAL LUV REFERENCE MANUAL
*luvref* *luvref*
This file documents the Lua bindings for the LibUV library which is used for This file documents the Lua bindings for the LibUV library which is used for
Nvim's event-loop and is accessible from Lua via |vim.uv| (e.g., |uv.version()| Nvim's event-loop and is accessible from Lua via |vim.uv| (e.g., |uv.version()|
is exposed as `vim.uv.version()`). is exposed as `vim.uv.version()`).
@@ -1355,7 +1355,7 @@ uv.process_kill({process}, {signum}) *uv.process_kill()*
Parameters: Parameters:
- `process`: `uv_process_t userdata` - `process`: `uv_process_t userdata`
- `signum`: `integer` or `string` - `signum`: `integer` or `string` or `nil` (default: `sigterm`)
Sends the specified signal to the given process handle. Check Sends the specified signal to the given process handle. Check
the documentation on |uv_signal_t| for signal support, the documentation on |uv_signal_t| for signal support,
@@ -1367,7 +1367,7 @@ uv.kill({pid}, {signum}) *uv.kill()*
Parameters: Parameters:
- `pid`: `integer` - `pid`: `integer`
- `signum`: `integer` or `string` - `signum`: `integer` or `string` or `nil` (default: `sigterm`)
Sends the specified signal to the given PID. Check the Sends the specified signal to the given PID. Check the
documentation on |uv_signal_t| for signal support, specially documentation on |uv_signal_t| for signal support, specially
@@ -2064,6 +2064,69 @@ uv.pipe({read_flags}, {write_flags}) *uv.pipe()*
end) end)
< <
uv.pipe_bind2({pipe}, {name}, {flags}) *uv.pipe_bind2()*
> method form `pipe:pipe_bind(name, flags)`
Parameters:
- `pipe`: `uv_pipe_t userdata`
- `name`: `string`
- `flags`: `integer` or `table` or `nil`(default: 0)
Flags:
- 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 }`.
- If `type(flags)` is `nil`, it use default value `0`.
- Returns `EINVAL` for unsupported flags without performing the
bind.
Bind the pipe to a file path (Unix) or a name (Windows).
Supports Linux abstract namespace sockets. namelen must include
the leading '\0' byte but not the trailing nul byte.
Returns: `0` or `fail`
*Note*:
1. Paths on Unix get truncated to sizeof(sockaddr_un.sun_path)
bytes, typically between 92 and 108 bytes.
2. New in version 1.46.0.
uv.pipe_connect2(pipe, name, [flags], [callback]) *uv.pipe_connect2()*
> method form `pipe:connect2(name, [flags], [callback])`
Parameters:
- `pipe`: `uv_pipe_t userdata`
- `name`: `string`
- `flags`: `integer` or `table` or `nil`(default: 0)
- `callback`: `callable` or `nil`
- `err`: `nil` or `string`
`Flags`:
- 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 }`.
- If `type(flags)` is `nil`, it use default value `0`.
- Returns `EINVAL` for unsupported flags without performing the
bind operation.
Connect to the Unix domain socket or the named pipe.
Supports Linux abstract namespace sockets. namelen must include
the leading nul byte but not the trailing nul byte.
Returns: `uv_connect_t userdata` or `fail`
*Note*:
1. Paths on Unix get truncated to sizeof(sockaddr_un.sun_path)
bytes, typically between 92 and 108 bytes.
2. New in version 1.46.0.
============================================================================== ==============================================================================
`uv_tty_t` — TTY handle *luv-tty-handle* *uv_tty_t* `uv_tty_t` — TTY handle *luv-tty-handle* *uv_tty_t*
@@ -3950,7 +4013,12 @@ uv.os_setenv({name}, {value}) *uv.os_setenv()*
WARNING: This function is not thread safe. WARNING: This function is not thread safe.
uv.os_unsetenv() *uv.os_unsetenv()* uv.os_unsetenv({name}) *uv.os_unsetenv()*
Parameters:
- `name`: `string`
Unsets the environmental variable specified by `name`.
Returns: `boolean` or `fail` Returns: `boolean` or `fail`