<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/options, branch fix_20726</title>
<subtitle>Neovim fork with Rahm's personal hacks.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/'/>
<entry>
<title>vim-patch:9.0.2035: [security] use-after-free with wildmenu (#25687)</title>
<updated>2023-10-17T14:43:42+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2023-10-17T14:43:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=272ef271153b0f66410b0e59ce31e05d211b44fd'/>
<id>272ef271153b0f66410b0e59ce31e05d211b44fd</id>
<content type='text'>
Problem:  [security] use-after-free with wildmenu
Solution: properly clean up the wildmenu when exiting

Fix wildchar/wildmenu/pum memory corruption with special wildchar's

Currently, using `wildchar=&lt;Esc&gt;` or `wildchar=&lt;C-\&gt;` can lead to a
memory corruption if using wildmenu+pum, or wrong states if only using
wildmenu. This is due to the code only using one single place inside the
cmdline process loop to perform wild menu clean up (by checking
`end_wildmenu`) but there are other odd situations where the loop could
have exited and we need a post-loop clean up just to be sure. If the
clean up was not done you would have a stale popup menu referring to
invalid memory, or if not using popup menu, incorrect status line (if
`laststatus=0`).

For example, if you hit `&lt;Esc&gt;` two times when it's wildchar, there's a
hard-coded behavior to exit command-line as a failsafe for user, and if
you hit `&lt;C-\&gt;&lt;C-\&gt;&lt;C-N&gt;` it will also exit command-line, but the clean
up code would not have hit because of specialized `&lt;C-\&gt;` handling.

Fix Ctrl-E / Ctrl-Y to not cancel/accept wildmenu if they are also
used for 'wildchar'/'wildcharm'. Currently they don't behave properly,
and also have potentially memory unsafe behavior as the logic is
currently not accounting for this situation and try to do both.
(Previous patch that addressed this: vim/vim#11677)

Also, correctly document Escape key behavior (double-hit it to escape)
in wildchar docs as it's previously undocumented.

In addition, block known invalid chars to be set in `wildchar` option,
such as Ctrl-C and `&lt;CR&gt;`. This is just to make it clear to the user
they shouldn't be set, and is not required for this bug fix.

closes: vim/vim#13361

https://github.com/vim/vim/commit/8f4fb007e4d472b09ff6bed9ffa485e0c3093699

Co-authored-by: Yee Cheng Chin &lt;ychin.git@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:  [security] use-after-free with wildmenu
Solution: properly clean up the wildmenu when exiting

Fix wildchar/wildmenu/pum memory corruption with special wildchar's

Currently, using `wildchar=&lt;Esc&gt;` or `wildchar=&lt;C-\&gt;` can lead to a
memory corruption if using wildmenu+pum, or wrong states if only using
wildmenu. This is due to the code only using one single place inside the
cmdline process loop to perform wild menu clean up (by checking
`end_wildmenu`) but there are other odd situations where the loop could
have exited and we need a post-loop clean up just to be sure. If the
clean up was not done you would have a stale popup menu referring to
invalid memory, or if not using popup menu, incorrect status line (if
`laststatus=0`).

For example, if you hit `&lt;Esc&gt;` two times when it's wildchar, there's a
hard-coded behavior to exit command-line as a failsafe for user, and if
you hit `&lt;C-\&gt;&lt;C-\&gt;&lt;C-N&gt;` it will also exit command-line, but the clean
up code would not have hit because of specialized `&lt;C-\&gt;` handling.

Fix Ctrl-E / Ctrl-Y to not cancel/accept wildmenu if they are also
used for 'wildchar'/'wildcharm'. Currently they don't behave properly,
and also have potentially memory unsafe behavior as the logic is
currently not accounting for this situation and try to do both.
(Previous patch that addressed this: vim/vim#11677)

Also, correctly document Escape key behavior (double-hit it to escape)
in wildchar docs as it's previously undocumented.

In addition, block known invalid chars to be set in `wildchar` option,
such as Ctrl-C and `&lt;CR&gt;`. This is just to make it clear to the user
they shouldn't be set, and is not required for this bug fix.

closes: vim/vim#13361

https://github.com/vim/vim/commit/8f4fb007e4d472b09ff6bed9ffa485e0c3093699

Co-authored-by: Yee Cheng Chin &lt;ychin.git@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>feat: NVIM_APPNAME supports relative paths #25233</title>
<updated>2023-09-27T17:09:55+00:00</updated>
<author>
<name>Rory Nesbitt</name>
<email>ranesbitt@live.co.uk</email>
</author>
<published>2023-09-27T17:09:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=a66b0fdfaa35715c832b98b8941cc5673505e0c2'/>
<id>a66b0fdfaa35715c832b98b8941cc5673505e0c2</id>
<content type='text'>
Problem:
NVIM_APPNAME does not allow path separators in the name, so relative
paths can't be used:

    NVIM_APPNAME="neovim-configs/first-config" nvim
    NVIM_APPNAME="neovim-configs/second-config" nvim

Solution:
Let NVIM_APPNAME be a relative path. Absolute paths are not supported.

fix #23056
fix #24966</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
NVIM_APPNAME does not allow path separators in the name, so relative
paths can't be used:

    NVIM_APPNAME="neovim-configs/first-config" nvim
    NVIM_APPNAME="neovim-configs/second-config" nvim

Solution:
Let NVIM_APPNAME be a relative path. Absolute paths are not supported.

fix #23056
fix #24966</pre>
</div>
</content>
</entry>
<entry>
<title>test(options/defaults_spec): fix NVIM_APPNAME test flakiness (#24553)</title>
<updated>2023-08-04T02:37:47+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2023-08-04T02:37:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=3d3ec27d51e1608306c9bd78425e3138f293ae69'/>
<id>3d3ec27d51e1608306c9bd78425e3138f293ae69</id>
<content type='text'>
Also avoid leaving directories behind.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also avoid leaving directories behind.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(NVIM_APPNAME): show error message if $NVIM_APPNAME is invalid</title>
<updated>2023-05-28T14:04:54+00:00</updated>
<author>
<name>Ghjuvan Lacambre</name>
<email>code@lacamb.re</email>
</author>
<published>2023-05-28T14:04:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=5a3752889c5b7e18d1041eb873ca2fa9ceb814bd'/>
<id>5a3752889c5b7e18d1041eb873ca2fa9ceb814bd</id>
<content type='text'>
Closes https://github.com/neovim/neovim/issues/23056.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes https://github.com/neovim/neovim/issues/23056.</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='https://git.josher.dev/cgit/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>refactor: using a different error number for 'mousescroll'</title>
<updated>2023-05-05T01:19:06+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2023-05-05T00:18:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=b8d5586d5b0d1e2d25533ee398d16bb2e8412820'/>
<id>b8d5586d5b0d1e2d25533ee398d16bb2e8412820</id>
<content type='text'>
Because E548 is linked to 'guicursor' in help.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because E548 is linked to 'guicursor' in help.
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.3135: Vim9: builtin function arguments not checked at compile time</title>
<updated>2023-05-05T01:19:05+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2023-05-04T23:02:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=75119fcc86e055895af824f7fdbba2f42c1cbbe8'/>
<id>75119fcc86e055895af824f7fdbba2f42c1cbbe8</id>
<content type='text'>
Problem:    Vim9: builtin function arguments not checked at compile time.
Solution:   Add more type checks. (Yegappan Lakshmanan, closes vim/vim#8539)

https://github.com/vim/vim/commit/5b73992d8f82be7ac4b6f46c17f53ffb9640e5fa

Co-authored-by: Yegappan Lakshmanan &lt;yegappan@yahoo.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Vim9: builtin function arguments not checked at compile time.
Solution:   Add more type checks. (Yegappan Lakshmanan, closes vim/vim#8539)

https://github.com/vim/vim/commit/5b73992d8f82be7ac4b6f46c17f53ffb9640e5fa

Co-authored-by: Yegappan Lakshmanan &lt;yegappan@yahoo.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>test: replace lfs with luv and vim.fs</title>
<updated>2023-04-04T19:59:06+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2023-04-04T19:59:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=743860de40502227b3f0ed64317eb937d24d4a36'/>
<id>743860de40502227b3f0ed64317eb937d24d4a36</id>
<content type='text'>
test: replace lfs with luv

luv already pretty much does everything lfs does, so this duplication
of dependencies isn't needed.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
test: replace lfs with luv

luv already pretty much does everything lfs does, so this duplication
of dependencies isn't needed.</pre>
</div>
</content>
</entry>
<entry>
<title>test: use exec_capture() in more places (#22787)</title>
<updated>2023-03-26T02:49:32+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2023-03-26T02:49:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=4863ca6b8902c5b0aab95f2af640118cd417d379'/>
<id>4863ca6b8902c5b0aab95f2af640118cd417d379</id>
<content type='text'>
Problem:
Using `meths.exec2("code", { output = true })` is too verbose.

Solution:
Use exec_capture() in more places.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
Using `meths.exec2("code", { output = true })` is too verbose.

Solution:
Use exec_capture() in more places.</pre>
</div>
</content>
</entry>
<entry>
<title>feat(api): nvim_exec2(), deprecate nvim_exec() #19032</title>
<updated>2023-03-25T16:58:48+00:00</updated>
<author>
<name>Evgeni Chasnovski</name>
<email>evgeni.chasnovski@gmail.com</email>
</author>
<published>2023-03-25T16:58:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=fe9cbcb3a5c82932ecfb8f49d07e98a1fc2b31e5'/>
<id>fe9cbcb3a5c82932ecfb8f49d07e98a1fc2b31e5</id>
<content type='text'>
Problem:
The signature of nvim_exec() is not extensible per ":help api-contract".

Solution:
Introduce nvim_exec2() and deprecate nvim_exec().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
The signature of nvim_exec() is not extensible per ":help api-contract".

Solution:
Introduce nvim_exec2() and deprecate nvim_exec().</pre>
</div>
</content>
</entry>
</feed>
