<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/eval, branch v0.2.0</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>win: default shellxescape, shellxquote to empty</title>
<updated>2017-04-12T00:10:34+00:00</updated>
<author>
<name>Rui Abreu Ferreira</name>
<email>rap-ep@gmx.com</email>
</author>
<published>2017-03-30T22:41:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=d31d177a0c2c9997c2cdb04975bc3354b9a23fb8'/>
<id>d31d177a0c2c9997c2cdb04975bc3354b9a23fb8</id>
<content type='text'>
Calling cmd.exe in Windows follows a very different pattern from Vim.
The primary difference is that Vim does a nested call to cmd.exe, e.g.
the following call in Vim

    system('echo a 2&gt;&amp;1')

spawns the following processes

    "C:\Program Files (x86)\Vim\vim80\vimrun" -s C:\Windows\system32\cmd.exe /c (echo a 2^&gt;^&amp;1
        ^&gt;C:\Users\dummy\AppData\Local\Temp\VIoC169.tmp 2^&gt;^&amp;1)
    C:\Windows\system32\cmd.exe /c C:\Windows\system32\cmd.exe /c (echo a 2^&gt;^&amp;1
        ^&gt;C:\Users\dummy\AppData\Local\Temp\VIo3C6C.tmp 2^&gt;^&amp;1)
    C:\Windows\system32\cmd.exe  /c (echo a 2&gt;&amp;1
        &gt;C:\Users\dummy\AppData\Local\Temp\VIo3C6C.tmp 2&gt;&amp;1)

The escaping with ^ is needed because cmd.exe calls itself and needs to
preserve the special metacharacters for the last call. However in nvim
no nested call is made, system('') spawns a single cmd.exe process.
Setting shellxescape to "" disables escaping with ^.

The previous default for shellxquote=( wrapped any command in
parenthesis, in Vim this is more meaningful due to the use of tempfiles
to store the output and redirection (also see &amp;shellquote). There is
a slight benefit in having the default be empty because some expressions
that run in console will not run within parens e.g. due to unbalanced
double quotes

    system('echo "a b')
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Calling cmd.exe in Windows follows a very different pattern from Vim.
The primary difference is that Vim does a nested call to cmd.exe, e.g.
the following call in Vim

    system('echo a 2&gt;&amp;1')

spawns the following processes

    "C:\Program Files (x86)\Vim\vim80\vimrun" -s C:\Windows\system32\cmd.exe /c (echo a 2^&gt;^&amp;1
        ^&gt;C:\Users\dummy\AppData\Local\Temp\VIoC169.tmp 2^&gt;^&amp;1)
    C:\Windows\system32\cmd.exe /c C:\Windows\system32\cmd.exe /c (echo a 2^&gt;^&amp;1
        ^&gt;C:\Users\dummy\AppData\Local\Temp\VIo3C6C.tmp 2^&gt;^&amp;1)
    C:\Windows\system32\cmd.exe  /c (echo a 2&gt;&amp;1
        &gt;C:\Users\dummy\AppData\Local\Temp\VIo3C6C.tmp 2&gt;&amp;1)

The escaping with ^ is needed because cmd.exe calls itself and needs to
preserve the special metacharacters for the last call. However in nvim
no nested call is made, system('') spawns a single cmd.exe process.
Setting shellxescape to "" disables escaping with ^.

The previous default for shellxquote=( wrapped any command in
parenthesis, in Vim this is more meaningful due to the use of tempfiles
to store the output and redirection (also see &amp;shellquote). There is
a slight benefit in having the default be empty because some expressions
that run in console will not run within parens e.g. due to unbalanced
double quotes

    system('echo "a b')
</pre>
</div>
</content>
</entry>
<entry>
<title>win: libuv_process_spawn(): special-case cmd.exe</title>
<updated>2017-04-12T00:10:34+00:00</updated>
<author>
<name>Rui Abreu Ferreira</name>
<email>raf-ep@gmx.com</email>
</author>
<published>2017-03-28T15:03:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=f3cc843755a6d638ada77dc31721aa53b3ff2364'/>
<id>f3cc843755a6d638ada77dc31721aa53b3ff2364</id>
<content type='text'>
Disable CommandLineToArgvW-standard quoting for cmd.exe.

libuv assumes spawned processes follow the convention expected by
CommandLineToArgvW(). But cmd.exe is non-conformant, so for cmd.exe:
- With system([]), the caller has full control (and responsibility) to
  quote arguments correctly.
- With system(''), shell* options are used.

libuv quoting is disabled if argv[0] is:
- cmd.exe
- cmd
- $COMSPEC resolving to a path with filename cmd.exe

Closes #6329
References #6387
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Disable CommandLineToArgvW-standard quoting for cmd.exe.

libuv assumes spawned processes follow the convention expected by
CommandLineToArgvW(). But cmd.exe is non-conformant, so for cmd.exe:
- With system([]), the caller has full control (and responsibility) to
  quote arguments correctly.
- With system(''), shell* options are used.

libuv quoting is disabled if argv[0] is:
- cmd.exe
- cmd
- $COMSPEC resolving to a path with filename cmd.exe

Closes #6329
References #6387
</pre>
</div>
</content>
</entry>
<entry>
<title>win/test: Enable more system() tests</title>
<updated>2017-04-12T00:10:33+00:00</updated>
<author>
<name>Rui Abreu Ferreira</name>
<email>rap-ep@gmx.com</email>
</author>
<published>2017-03-25T22:47:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=799443c9942fa145320d9cc7c4638bdaa8c8d67a'/>
<id>799443c9942fa145320d9cc7c4638bdaa8c8d67a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>functests: Fix some tests which are failing locally for unrelated reasons</title>
<updated>2017-04-09T00:24:14+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2017-04-08T22:55:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=69d1003bf79b7466d2fea45f94aeddbedd246049'/>
<id>69d1003bf79b7466d2fea45f94aeddbedd246049</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>functests: Replace execute with either command or feed_command</title>
<updated>2017-04-09T00:24:08+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2017-04-08T21:12:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=65fb622000af8e3dbb65480e1581758ecf4ba3e2'/>
<id>65fb622000af8e3dbb65480e1581758ecf4ba3e2</id>
<content type='text'>
Hope this will make people using feed_command less likely: this hides bugs.
Already found at least two:

1. msgpackparse() will show internal error: hash_add() in case of duplicate
   keys, though it will still work correctly. Currently silenced.
2. ttimeoutlen was spelled incorrectly, resulting in option not being set when
   expected. Test was still functioning somehow though. Currently fixed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Hope this will make people using feed_command less likely: this hides bugs.
Already found at least two:

1. msgpackparse() will show internal error: hash_add() in case of duplicate
   keys, though it will still work correctly. Currently silenced.
2. ttimeoutlen was spelled incorrectly, resulting in option not being set when
   expected. Test was still functioning somehow though. Currently fixed.
</pre>
</div>
</content>
</entry>
<entry>
<title>win: os_get_hostname() #5416 (#6413)</title>
<updated>2017-04-07T17:46:33+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2017-04-07T17:46:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=13352c00f1909d9296c5f276a3735f5e6f231b39'/>
<id>13352c00f1909d9296c5f276a3735f5e6f231b39</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>eval: Add s flag, use p_fs by default, error out on unknown flag</title>
<updated>2017-04-02T23:11:27+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2017-04-02T23:11:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=97a7f4745dd1d75cd176dede1a4430bc4e28f8f7'/>
<id>97a7f4745dd1d75cd176dede1a4430bc4e28f8f7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>functests: Try sleeping a bit more</title>
<updated>2017-03-29T07:08:46+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2017-03-28T05:18:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=46efe14473fa803f84509592cc1e8fca4eb20640'/>
<id>46efe14473fa803f84509592cc1e8fca4eb20640</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>eval: Fix extend() behaviour with NULL lists and dictionaries</title>
<updated>2017-03-29T07:08:45+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2017-03-13T11:17:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=fa852e7cdc365b6fcd39d677f4067963274c44c3'/>
<id>fa852e7cdc365b6fcd39d677f4067963274c44c3</id>
<content type='text'>
Ref #4615
Ref vim/vim#768
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ref #4615
Ref vim/vim#768
</pre>
</div>
</content>
</entry>
<entry>
<title>eval/typval: Fix SEGV in test_alot.vim test</title>
<updated>2017-03-29T07:08:45+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2017-03-04T23:15:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=38dd81c136c2edbda66614622a4747bf1785af94'/>
<id>38dd81c136c2edbda66614622a4747bf1785af94</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
