<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/vim/_system.lua, branch rahm</title>
<subtitle>Neovim fork with Rahm's personal hacks.</subtitle>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/'/>
<entry>
<title>fix(vim.system): invalid MAX_TIMEOUT for 32-bit systems #31638</title>
<updated>2024-12-20T09:43:56+00:00</updated>
<author>
<name>Dan Pascu</name>
<email>danpascu777@gmail.com</email>
</author>
<published>2024-12-20T09:43:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=4e130c1ee446f4389a8c76c5e81b53bff8b9193c'/>
<id>4e130c1ee446f4389a8c76c5e81b53bff8b9193c</id>
<content type='text'>
The maximum signed value on 32-bit systems is 2 ^ 31 - 1. When using 2 ^ 31 for
the default timeout, the value would overflow on such systems resulting in
a negative value, which caused a stack trace when calling wait() without
a timeout.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The maximum signed value on 32-bit systems is 2 ^ 31 - 1. When using 2 ^ 31 for
the default timeout, the value would overflow on such systems resulting in
a negative value, which caused a stack trace when calling wait() without
a timeout.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(vim.system): close pipe handles after process handle</title>
<updated>2024-12-04T14:44:40+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2024-12-03T18:06:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=734dba04d13bc7a6714134af322d49f333bfdc4c'/>
<id>734dba04d13bc7a6714134af322d49f333bfdc4c</id>
<content type='text'>
Fixes #30846
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #30846
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(vim.system): resolve executable paths on windows</title>
<updated>2024-11-08T16:29:44+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2024-11-07T16:21:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ad3472e291694b6c589d8a664459b03962eaac95'/>
<id>ad3472e291694b6c589d8a664459b03962eaac95</id>
<content type='text'>
Fixes #31107
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #31107
</pre>
</div>
</content>
</entry>
<entry>
<title>perf(validate): use lighter version</title>
<updated>2024-10-17T15:53:52+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2024-10-16T16:03:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=3f3e4837d5f7d2d9cb1c89bd3a5b2ee8a730772a'/>
<id>3f3e4837d5f7d2d9cb1c89bd3a5b2ee8a730772a</id>
<content type='text'>
- Also fix `vim.validate()` for PUC Lua when showing errors for values
  that aren't string or number.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Also fix `vim.validate()` for PUC Lua when showing errors for values
  that aren't string or number.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(vim.ui): open() may wait indefinitely #28325</title>
<updated>2024-04-15T11:33:09+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2024-04-15T11:33:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=57adf8c6e01d9395eb52fe03571c535571efdc4b'/>
<id>57adf8c6e01d9395eb52fe03571c535571efdc4b</id>
<content type='text'>
Problem:
vim.ui.open "locks up" Nvim if the spawned process does not terminate. #27986

Solution:
- Change `vim.ui.open()`:
    - Do not call `wait()`.
    - Return a `SystemObj`. The caller can decide if it wants to `wait()`.
- Change `gx` to `wait()` only a short time.
    - Allows `gx` to show a message if the command fails, without the
      risk of waiting forever.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
vim.ui.open "locks up" Nvim if the spawned process does not terminate. #27986

Solution:
- Change `vim.ui.open()`:
    - Do not call `wait()`.
    - Return a `SystemObj`. The caller can decide if it wants to `wait()`.
- Change `gx` to `wait()` only a short time.
    - Allows `gx` to show a message if the command fails, without the
      risk of waiting forever.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(vim.system): don't process non-fast events during wait() (#27300)</title>
<updated>2024-02-02T13:52:01+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2024-02-02T13:52:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=9b7cf4f0beb35b640846f92ac522372967ca6695'/>
<id>9b7cf4f0beb35b640846f92ac522372967ca6695</id>
<content type='text'>
Problem:
Processing non-fast events during SystemObj:wait() may cause two pieces
of code to interfere with each other, and is different from jobwait().

Solution:
Don't process non-fast events during SystemObj:wait().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
Processing non-fast events during SystemObj:wait() may cause two pieces
of code to interfere with each other, and is different from jobwait().

Solution:
Don't process non-fast events during SystemObj:wait().</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): fix incorrect typing and doc for `vim.lsp.rpc`</title>
<updated>2024-01-14T08:02:45+00:00</updated>
<author>
<name>Jongwook Choi</name>
<email>wookayin@gmail.com</email>
</author>
<published>2024-01-09T23:04:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ce4ea638c703275aedadb3794efc56dcb782c908'/>
<id>ce4ea638c703275aedadb3794efc56dcb782c908</id>
<content type='text'>
Typings introduced in #26032 and #26552 have a few conflicts, so we
merge and clean them up. We also fix some incorrect type annotation in
the `vim.lsp.rpc` package. See the associated PR for more details.

Summary:

- vim.rpc.Dispatchers -&gt; vim.lsp.rpc.Dispatchers
- vim.lsp.rpc.Error -&gt; lsp.ResponseError
- Revise docs
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Typings introduced in #26032 and #26552 have a few conflicts, so we
merge and clean them up. We also fix some incorrect type annotation in
the `vim.lsp.rpc` package. See the associated PR for more details.

Summary:

- vim.rpc.Dispatchers -&gt; vim.lsp.rpc.Dispatchers
- vim.lsp.rpc.Error -&gt; lsp.ResponseError
- Revise docs
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(doc): improve doc generation of types using lpeg</title>
<updated>2024-01-11T16:24:12+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2024-01-09T17:36:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=2f9ee9b6cfc61a0504fc0bc22bdf481828e2ea91'/>
<id>2f9ee9b6cfc61a0504fc0bc22bdf481828e2ea91</id>
<content type='text'>
Added a lpeg grammar for LuaCATS and use it in lua2dox.lua
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added a lpeg grammar for LuaCATS and use it in lua2dox.lua
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: windows timeouts have exit code 1</title>
<updated>2023-09-05T16:10:04+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2023-09-05T13:38:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=be8b15200d7093726b0999ccfd4a3e9952656d47'/>
<id>be8b15200d7093726b0999ccfd4a3e9952656d47</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(vim.system): factor out on_exit handling</title>
<updated>2023-09-05T16:10:04+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2023-09-04T11:03:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=80d1333b7317460c562a982ac21f900d9fbd89f6'/>
<id>80d1333b7317460c562a982ac21f900d9fbd89f6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
