<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/vimscript/system_spec.lua, branch floattitle</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: :! pwsh redirection for `command not found`</title>
<updated>2022-09-30T15:08:45+00:00</updated>
<author>
<name>Enan Ajmain</name>
<email>3nan.ajmain@gmail.com</email>
</author>
<published>2022-07-20T14:55:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f2482b3b533c8ed131a33aaead332c226a9e6aca'/>
<id>f2482b3b533c8ed131a33aaead332c226a9e6aca</id>
<content type='text'>
Problem:
If the shell command passed to the filtered bang command isn't found,
the error isn't redirected to the temp.out file when shell is set to
powershell.

Solution: Use anonymous function with Invoke-Command operator (&amp;).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
If the shell command passed to the filtered bang command isn't found,
the error isn't redirected to the temp.out file when shell is set to
powershell.

Solution: Use anonymous function with Invoke-Command operator (&amp;).
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: make_filter_cmd for :! powershell</title>
<updated>2022-09-30T15:07:45+00:00</updated>
<author>
<name>Enan Ajmain</name>
<email>3nan.ajmain@gmail.com</email>
</author>
<published>2022-07-19T19:43:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=b4d42bb9058308c38e3fe9d59458ce65b3f65eb0'/>
<id>b4d42bb9058308c38e3fe9d59458ce65b3f65eb0</id>
<content type='text'>
Problem:
`Start-Process` requires the command to be split into the shell
command and its arguments. Previously it was done by parsing, which
didn't handle cases such as
  - commands with escaped space in their filepath
  - quoted commands with space in their filepath

Solution:
Use
  - `pwsh -Command` instead of `Start-Process`
  - `Get-Content` instead of `-RedirectStandardInput`
  - `Out-File` instead of `-RedirectStandardOutput`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
`Start-Process` requires the command to be split into the shell
command and its arguments. Previously it was done by parsing, which
didn't handle cases such as
  - commands with escaped space in their filepath
  - quoted commands with space in their filepath

Solution:
Use
  - `pwsh -Command` instead of `Start-Process`
  - `Get-Content` instead of `-RedirectStandardInput`
  - `Out-File` instead of `-RedirectStandardOutput`
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(powershell): filter ":!" commands with args #19268</title>
<updated>2022-07-18T20:26:09+00:00</updated>
<author>
<name>Enan Ajmain</name>
<email>3nan.ajmain@gmail.com</email>
</author>
<published>2022-07-18T20:26:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=3340728c723833c093527b719b25c1cc9efaf598'/>
<id>3340728c723833c093527b719b25c1cc9efaf598</id>
<content type='text'>
Problem:
Since 0b9664f5240be4d9e9d6882fcd398970fd3a9532 powershell filtered
:[range]! commands with args causes error:
"Start-Process: A positional parameter cannot be found that accepts argument ..."

Solution:
Pass args to Start-Process via `-ArgumentList`.
closes #19250</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
Since 0b9664f5240be4d9e9d6882fcd398970fd3a9532 powershell filtered
:[range]! commands with args causes error:
"Start-Process: A positional parameter cannot be found that accepts argument ..."

Solution:
Pass args to Start-Process via `-ArgumentList`.
closes #19250</pre>
</div>
</content>
</entry>
<entry>
<title>test: use "python3" to avoid skipped test #19106</title>
<updated>2022-06-27T05:03:06+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2022-06-27T05:03:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e2f9d0332b673431d79f0db9386956055674006b'/>
<id>e2f9d0332b673431d79f0db9386956055674006b</id>
<content type='text'>
Problem:
The "calls executable in $PATH" is skipped on some CI jobs because
"python" is not found.

Solution:
Use "python3" instead.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
The "calls executable in $PATH" is skipped on some CI jobs because
"python" is not found.

Solution:
Use "python3" instead.</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(tests): introduce testprg()</title>
<updated>2022-06-25T15:27:17+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2022-06-22T12:51:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f977f9445f7689fc32a136108ff92b3c2137968c'/>
<id>f977f9445f7689fc32a136108ff92b3c2137968c</id>
<content type='text'>
Also:
- Add a describe('shell :!') section to system_spec.
- Make the test for #16271 work on systems without powershell.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also:
- Add a describe('shell :!') section to system_spec.
- Make the test for #16271 work on systems without powershell.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: make_filter_cmd for :! powershell #15913</title>
<updated>2022-06-25T14:20:58+00:00</updated>
<author>
<name>Enan Ajmain</name>
<email>3nan.ajmain@gmail.com</email>
</author>
<published>2021-11-09T14:22:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=0b9664f5240be4d9e9d6882fcd398970fd3a9532'/>
<id>0b9664f5240be4d9e9d6882fcd398970fd3a9532</id>
<content type='text'>
Problem:
Nvim fails to create tempfile "…/nvim6UJx04/7" when 'shell' is set to
pwsh (PowerShell Core). This breaks filtered shell commands ":{range}!".
With shell set to cmd, it works.

Solution:
PowerShell doesn't use "&lt;" for stdin redirection. Instead, use
"-RedirectStandardInput".

Closes #15913
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
Nvim fails to create tempfile "…/nvim6UJx04/7" when 'shell' is set to
pwsh (PowerShell Core). This breaks filtered shell commands ":{range}!".
With shell set to cmd, it works.

Solution:
PowerShell doesn't use "&lt;" for stdin redirection. Instead, use
"-RedirectStandardInput".

Closes #15913
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(input): only disable mapped CTRL-C interrupts when getting input (#18310)</title>
<updated>2022-04-30T05:11:35+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-04-30T05:11:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=2ba539f449a95f38463a61b189e203a5fe306fc0'/>
<id>2ba539f449a95f38463a61b189e203a5fe306fc0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: typo fixes (#17859)</title>
<updated>2022-04-15T10:35:06+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2022-04-15T10:35:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e63e5d1dbd3dd4711efa0ecf9e844ff308b370a6'/>
<id>e63e5d1dbd3dd4711efa0ecf9e844ff308b370a6</id>
<content type='text'>
Co-authored-by: Elias Alves Moura &lt;eliamoura.alves@gmail.com&gt;
Co-authored-by: venkatesh &lt;shariharanvenkatesh@gmail.com&gt;
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
Co-authored-by: Vikas Raj &lt;24727447+numToStr@users.noreply.github.com&gt;
Co-authored-by: Steve Vermeulen &lt;sfvermeulen@gmail.com&gt;
Co-authored-by: Evgeni Chasnovski &lt;evgeni.chasnovski@gmail.com&gt;
Co-authored-by: rwxd &lt;rwxd@pm.me&gt;
Co-authored-by: casswedson &lt;58050969+casswedson@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Elias Alves Moura &lt;eliamoura.alves@gmail.com&gt;
Co-authored-by: venkatesh &lt;shariharanvenkatesh@gmail.com&gt;
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
Co-authored-by: Vikas Raj &lt;24727447+numToStr@users.noreply.github.com&gt;
Co-authored-by: Steve Vermeulen &lt;sfvermeulen@gmail.com&gt;
Co-authored-by: Evgeni Chasnovski &lt;evgeni.chasnovski@gmail.com&gt;
Co-authored-by: rwxd &lt;rwxd@pm.me&gt;
Co-authored-by: casswedson &lt;58050969+casswedson@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>test: reorg #15698</title>
<updated>2021-09-17T16:16:40+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2021-09-17T16:16:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=d8de4eb685e35646c7d541e9a75bdc296127b7e2'/>
<id>d8de4eb685e35646c7d541e9a75bdc296127b7e2</id>
<content type='text'>
Problem:
Subdirectories like "visual", "insert", "normal" encourage people to
separate *related* tests for no good reason.  Typically the _mode_ is
not the relevant topic of a test (and when it is, _then_ create
an appropriate describe() or it()).

Solution:
- Delete the various `test/functional/&lt;mode&gt;/` subdirectories, move
  their tests to more meaningful topics.
- Rename `…/normal/` to `…/editor/`.
  - Move or merge `…/visual/*` and `…/insert/*` tests into here where
    appropriate.
- Rename `…/eval/` to `…/vimscript/`.
  - Move `…/viml/*` into here also.

* test(reorg): insert/* =&gt; editor/mode_insert_spec.lua
* test(reorg): cmdline/* =&gt; editor/mode_cmdline_spec.lua
* test(reorg): eval core tests =&gt; eval_spec.lua</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
Subdirectories like "visual", "insert", "normal" encourage people to
separate *related* tests for no good reason.  Typically the _mode_ is
not the relevant topic of a test (and when it is, _then_ create
an appropriate describe() or it()).

Solution:
- Delete the various `test/functional/&lt;mode&gt;/` subdirectories, move
  their tests to more meaningful topics.
- Rename `…/normal/` to `…/editor/`.
  - Move or merge `…/visual/*` and `…/insert/*` tests into here where
    appropriate.
- Rename `…/eval/` to `…/vimscript/`.
  - Move `…/viml/*` into here also.

* test(reorg): insert/* =&gt; editor/mode_insert_spec.lua
* test(reorg): cmdline/* =&gt; editor/mode_cmdline_spec.lua
* test(reorg): eval core tests =&gt; eval_spec.lua</pre>
</div>
</content>
</entry>
</feed>
