<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/terminal, branch v0.1.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>tui: Fix abort when stdout and stderr are not tty.</title>
<updated>2015-10-29T11:13:45+00:00</updated>
<author>
<name>Thiago de Arruda</name>
<email>tpadilha84@gmail.com</email>
</author>
<published>2015-10-29T10:46:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=7e8b431d3f67e5b167bc238899521715e1b324d8'/>
<id>7e8b431d3f67e5b167bc238899521715e1b324d8</id>
<content type='text'>
The abort came from using libuv tty handle on non-tty fd. Use uv_pipe_t in these
cases. Also add simple test for this case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The abort came from using libuv tty handle on non-tty fd. Use uv_pipe_t in these
cases. Also add simple test for this case.
</pre>
</div>
</content>
</entry>
<entry>
<title>test: Add more TUI tests and increase timeout</title>
<updated>2015-10-26T13:52:01+00:00</updated>
<author>
<name>Thiago de Arruda</name>
<email>tpadilha84@gmail.com</email>
</author>
<published>2015-10-02T13:59:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=e596234fc2fa056ef6ac9eb868bdfcdceba4af47'/>
<id>e596234fc2fa056ef6ac9eb868bdfcdceba4af47</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>functests: Do not forget about -i argument</title>
<updated>2015-10-23T12:56:51+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2015-10-23T12:09:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=ec1ca54d59e229d89bfae6e6eb9e311fa6cb329e'/>
<id>ec1ca54d59e229d89bfae6e6eb9e311fa6cb329e</id>
<content type='text'>
Target: make all tests run with chmod -x ~/.config/nvim ~/.local/share/nvim.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Target: make all tests run with chmod -x ~/.config/nvim ~/.local/share/nvim.
</pre>
</div>
</content>
</entry>
<entry>
<title>test: Add basic tests for the TUI</title>
<updated>2015-10-01T18:22:49+00:00</updated>
<author>
<name>Thiago de Arruda</name>
<email>tpadilha84@gmail.com</email>
</author>
<published>2015-10-01T18:03:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=5d185c77726dfff20b87d97897d2bb237e95d95a'/>
<id>5d185c77726dfff20b87d97897d2bb237e95d95a</id>
<content type='text'>
The tests use `termopen` to spawn nvim and verify the TUI.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The tests use `termopen` to spawn nvim and verify the TUI.
</pre>
</div>
</content>
</entry>
<entry>
<title>terminal: Run screen refresh timer in a deferred queue</title>
<updated>2015-09-18T17:35:26+00:00</updated>
<author>
<name>Thiago de Arruda</name>
<email>tpadilha84@gmail.com</email>
</author>
<published>2015-09-15T11:12:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=47cbbc0b8c864bdb1aaa572f0396642e2c66deae'/>
<id>47cbbc0b8c864bdb1aaa572f0396642e2c66deae</id>
<content type='text'>
Close #3332
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Close #3332
</pre>
</div>
</content>
</entry>
<entry>
<title>terminal: Fix use after free</title>
<updated>2015-08-22T04:01:14+00:00</updated>
<author>
<name>Thiago de Arruda</name>
<email>tpadilha84@gmail.com</email>
</author>
<published>2015-08-22T02:53:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=105a72eabc6f74195b6319471344148726683b9d'/>
<id>105a72eabc6f74195b6319471344148726683b9d</id>
<content type='text'>
Since close_cb may free the terminal structure, save the "wipe" flag before
calling it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since close_cb may free the terminal structure, save the "wipe" flag before
calling it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Test: synIDattr(): true color awareness</title>
<updated>2015-07-18T14:55:25+00:00</updated>
<author>
<name>Marco Hinz</name>
<email>mh.codebro@gmail.com</email>
</author>
<published>2015-07-14T15:40:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=9d876eb0374cf87455d56ffd62c1c8e90c423876'/>
<id>9d876eb0374cf87455d56ffd62c1c8e90c423876</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>terminal : don't set vterm size to 0 (workaround #2732)</title>
<updated>2015-05-31T15:53:07+00:00</updated>
<author>
<name>Frederik Van Slycken</name>
<email>frederik.van.slycken@gmail.com</email>
</author>
<published>2015-05-29T15:15:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=e54fa04b90f4c65410b4e6840973242018b477de'/>
<id>e54fa04b90f4c65410b4e6840973242018b477de</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test/terminal: fix indeterminism in colorcolumn screen test</title>
<updated>2015-05-10T18:18:46+00:00</updated>
<author>
<name>Björn Linse</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2015-05-10T10:47:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=208013ae399a28d78587979fb35a01bd335a855c'/>
<id>208013ae399a28d78587979fb35a01bd335a855c</id>
<content type='text'>
Previously, the screen test was expecting the screen state to be
identical to the previous screen test in `thelpers.screen_setup()`,
which is indeterministic. (The later screen test can accidentally
still see the previous identical state). The solution is to add a test
for a intermediate different state.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, the screen test was expecting the screen state to be
identical to the previous screen test in `thelpers.screen_setup()`,
which is indeterministic. (The later screen test can accidentally
still see the previous identical state). The solution is to add a test
for a intermediate different state.
</pre>
</div>
</content>
</entry>
<entry>
<title>term: use an argument vector for termopen().</title>
<updated>2015-05-02T13:47:29+00:00</updated>
<author>
<name>Scott Prager</name>
<email>splinterofchaos@gmail.com</email>
</author>
<published>2015-04-14T03:53:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=74aef8972048c3288a3cbd6a8dadf17a8df3c08c'/>
<id>74aef8972048c3288a3cbd6a8dadf17a8df3c08c</id>
<content type='text'>
Old behaviour: termopen('cmd') would run `&amp;shell &amp;shcf "cmd"`, which
caused the functional tests to fail on some systems due to the process
not "owning" the terminal. Also, it is inconsistent with jobstart().

Modify termopen() so that &amp;shell is not invoked, but maintain the old
behaviour with :terminal. Factor the common code for building the
argument vector from jobstart() and modify the functional tests to call
termopen() instead of :terminal (fixes #2354).

Also:
 * Add a 'name' option for termopen() so that `:terminal {cmd}` produces
   a buffer named "term//{cwd}/{cmd}" and termopen() users can customize
   the name.
 * Update the documentation.
 * Add functional tests for `:terminal` sinse its behaviour now differs
   from termopen(). Add "test/functional/fixtures/shell-test.c" and move
   "test/functional/job/tty-test.c" there, too.

Helped-by: Justin M. Keyes &lt;@justinmk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Old behaviour: termopen('cmd') would run `&amp;shell &amp;shcf "cmd"`, which
caused the functional tests to fail on some systems due to the process
not "owning" the terminal. Also, it is inconsistent with jobstart().

Modify termopen() so that &amp;shell is not invoked, but maintain the old
behaviour with :terminal. Factor the common code for building the
argument vector from jobstart() and modify the functional tests to call
termopen() instead of :terminal (fixes #2354).

Also:
 * Add a 'name' option for termopen() so that `:terminal {cmd}` produces
   a buffer named "term//{cwd}/{cmd}" and termopen() users can customize
   the name.
 * Update the documentation.
 * Add functional tests for `:terminal` sinse its behaviour now differs
   from termopen(). Add "test/functional/fixtures/shell-test.c" and move
   "test/functional/job/tty-test.c" there, too.

Helped-by: Justin M. Keyes &lt;@justinmk&gt;
</pre>
</div>
</content>
</entry>
</feed>
