<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/lua/secure_spec.lua, branch fix_repeatcmdline</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>test: don't unnecessarily specify win/buf for `nvim_(get|set)_option_value`</title>
<updated>2023-05-22T07:02:07+00:00</updated>
<author>
<name>Famiu Haque</name>
<email>famiuhaque@proton.me</email>
</author>
<published>2023-05-22T06:47:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=576dddb46168e81aa0f78c28816082c662dedea1'/>
<id>576dddb46168e81aa0f78c28816082c662dedea1</id>
<content type='text'>
`nvim_(get|set)_option_value` pick the current buffer / window by default for buffer-local/window-local (but not global-local) options. So specifying `buf = 0` or `win = 0` in opts is unnecessary for those options. This PR removes those to reduce code clutter.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`nvim_(get|set)_option_value` pick the current buffer / window by default for buffer-local/window-local (but not global-local) options. So specifying `buf = 0` or `win = 0` in opts is unnecessary for those options. This PR removes those to reduce code clutter.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(options): deprecate nvim[_buf|_win]_[gs]et_option</title>
<updated>2023-05-21T09:14:01+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2022-12-19T16:37:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=1fe1bb084d0099fc4f9bfdc11189485d0f74b75a'/>
<id>1fe1bb084d0099fc4f9bfdc11189485d0f74b75a</id>
<content type='text'>
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
Co-authored-by: famiu &lt;famiuhaque@protonmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
Co-authored-by: famiu &lt;famiuhaque@protonmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>test: fix dependencies between test cases (#23343)</title>
<updated>2023-04-27T07:51:44+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2023-04-27T07:51:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=d321deb4a9b05e9d81b79ac166274f4a6e7981bf'/>
<id>d321deb4a9b05e9d81b79ac166274f4a6e7981bf</id>
<content type='text'>
Discovered using --shuffle argument of busted.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Discovered using --shuffle argument of busted.</pre>
</div>
</content>
</entry>
<entry>
<title>test: make {MATCH:} behave less unexpectedly in screen:expect()</title>
<updated>2023-02-18T02:44:35+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2023-02-18T01:27:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=9b9f8dfcc41ceb80d3970eb58af8ee350b57dc7f'/>
<id>9b9f8dfcc41ceb80d3970eb58af8ee350b57dc7f</id>
<content type='text'>
Include the rest of the line and allow multiple {MATCH:} patterns.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Include the rest of the line and allow multiple {MATCH:} patterns.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(secure): crash when hitting escape in prompt (#21283)</title>
<updated>2022-12-05T18:59:04+00:00</updated>
<author>
<name>ii14</name>
<email>59243201+ii14@users.noreply.github.com</email>
</author>
<published>2022-12-05T18:59:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f3bf1fbf600050fde155e6a1a766b6f848012208'/>
<id>f3bf1fbf600050fde155e6a1a766b6f848012208</id>
<content type='text'>
- use pcall when calling vim.secure.read from C
- catch keyboard interrupts in vim.secure.read, rethrow other errors
- selecting "view" in prompt runs :view command
- simplify lua stack cleanup with lua_gettop and lua_settop

Co-authored-by: ii14 &lt;ii14@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- use pcall when calling vim.secure.read from C
- catch keyboard interrupts in vim.secure.read, rethrow other errors
- selecting "view" in prompt runs :view command
- simplify lua stack cleanup with lua_gettop and lua_settop

Co-authored-by: ii14 &lt;ii14@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: rework parameter validation in vim.secure.trust() (#21223)</title>
<updated>2022-11-28T22:40:50+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>8965202+gpanders@users.noreply.github.com</email>
</author>
<published>2022-11-28T22:40:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=80b6edabe3e4203ee4bf50261af07a6a0495ef36'/>
<id>80b6edabe3e4203ee4bf50261af07a6a0495ef36</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(secure): add `:trust` command  and vim.secure.trust() (#21107)</title>
<updated>2022-11-28T19:23:04+00:00</updated>
<author>
<name>Jlll1</name>
<email>arghantentua@tutanota.com</email>
</author>
<published>2022-11-28T19:23:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f004812b338340e5f5157aa68d09d3f0e5605c6c'/>
<id>f004812b338340e5f5157aa68d09d3f0e5605c6c</id>
<content type='text'>
Introduce vim.secure.trust() to programmatically manage the trust
database. Use this function in a new :trust ex command which can
be used as a simple frontend.

Resolves: https://github.com/neovim/neovim/issues/21092
Co-authored-by: Gregory Anders &lt;greg@gpanders.com&gt;
Co-authored-by: ii14 &lt;ii14@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce vim.secure.trust() to programmatically manage the trust
database. Use this function in a new :trust ex command which can
be used as a simple frontend.

Resolves: https://github.com/neovim/neovim/issues/21092
Co-authored-by: Gregory Anders &lt;greg@gpanders.com&gt;
Co-authored-by: ii14 &lt;ii14@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>test: simplify platform detection (#21020)</title>
<updated>2022-11-22T00:13:30+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2022-11-22T00:13:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=5eb5f4948826e9d47685ea9e257409cc3e693614'/>
<id>5eb5f4948826e9d47685ea9e257409cc3e693614</id>
<content type='text'>
Extend the capabilities of is_os to detect more platforms such as
freebsd and openbsd. Also remove `iswin()` helper function as it can be
replaced by `is_os("win")`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Extend the capabilities of is_os to detect more platforms such as
freebsd and openbsd. Also remove `iswin()` helper function as it can be
replaced by `is_os("win")`.</pre>
</div>
</content>
</entry>
<entry>
<title>feat: add vim.secure.read()</title>
<updated>2022-11-17T15:23:41+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2022-11-05T19:37:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f1922e78a1df1b1d32779769432fb5586edf5fbb'/>
<id>f1922e78a1df1b1d32779769432fb5586edf5fbb</id>
<content type='text'>
This function accepts a path to a file and prompts the user if the file
is trusted. If the user confirms that the file is trusted, the contents
of the file are returned. The user's decision is stored in a trust
database at $XDG_STATE_HOME/nvim/trust. When this function is invoked
with a path that is already marked as trusted in the trust database, the
user is not prompted for a response.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This function accepts a path to a file and prompts the user if the file
is trusted. If the user confirms that the file is trusted, the contents
of the file are returned. The user's decision is stored in a trust
database at $XDG_STATE_HOME/nvim/trust. When this function is invoked
with a path that is already marked as trusted in the trust database, the
user is not prompted for a response.
</pre>
</div>
</content>
</entry>
</feed>
