<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/eval, branch v0.3.7</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>VimL/confirm(): Show dialog even if :silent</title>
<updated>2018-12-01T15:06:01+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2018-12-01T01:41:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=0f00f31cbd9b13b41a0d3d976d192bbbeac9cbe8'/>
<id>0f00f31cbd9b13b41a0d3d976d192bbbeac9cbe8</id>
<content type='text'>
closes #8788
related #9034
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
closes #8788
related #9034
</pre>
</div>
</content>
</entry>
<entry>
<title>test: adjust time-sensitive tests (#9220)</title>
<updated>2018-11-10T10:12:04+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2018-11-10T10:12:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=f8639dc99cb085432b14da086af316176152bc1f'/>
<id>f8639dc99cb085432b14da086af316176152bc1f</id>
<content type='text'>
- window_split_tab_spec.lua: Put cursor at bottom of :terminal buffer so
  that it follows output.
- inccommand_spec.lua: Increase timeout to allow 2nd retry.
- Timer tests are less reliable on Travis CI macOS 10.12/10.13.
  ref #6829
  ref e39dade80b02
  ref de13113dc16e
  ref https://github.com/neovim/neovim/pull/9095#issuecomment-429603452
  &gt; We don't guarantee that a X ms timer is triggered during Y ms sleep
  &gt; for any X&lt;Y, though I would expect the load to be really bad for this
  &gt; to happen with X=10ms, Y=40ms.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- window_split_tab_spec.lua: Put cursor at bottom of :terminal buffer so
  that it follows output.
- inccommand_spec.lua: Increase timeout to allow 2nd retry.
- Timer tests are less reliable on Travis CI macOS 10.12/10.13.
  ref #6829
  ref e39dade80b02
  ref de13113dc16e
  ref https://github.com/neovim/neovim/pull/9095#issuecomment-429603452
  &gt; We don't guarantee that a X ms timer is triggered during Y ms sleep
  &gt; for any X&lt;Y, though I would expect the load to be really bad for this
  &gt; to happen with X=10ms, Y=40ms.</pre>
</div>
</content>
</entry>
<entry>
<title>test/timer_spec: relax lower-bound</title>
<updated>2018-11-04T23:35:54+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2018-11-04T12:16:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=de13113dc16e3f3a453e783dc7ea692ac4967231'/>
<id>de13113dc16e3f3a453e783dc7ea692ac4967231</id>
<content type='text'>
Test is unreliable on macOS 10.13.  The lower-bound isn't central to the
purpose of the test, so just relax it.

ref https://github.com/neovim/neovim/pull/9095#issuecomment-429603452

&gt; We don't guarantee that a X ms timer is triggered during Y ms sleep
&gt; for any X&lt;Y, though I would expect the load to be really bad for this
&gt; to happen with X=10ms, Y=40ms.

related: #6829
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test is unreliable on macOS 10.13.  The lower-bound isn't central to the
purpose of the test, so just relax it.

ref https://github.com/neovim/neovim/pull/9095#issuecomment-429603452

&gt; We don't guarantee that a X ms timer is triggered during Y ms sleep
&gt; for any X&lt;Y, though I would expect the load to be really bad for this
&gt; to happen with X=10ms, Y=40ms.

related: #6829
</pre>
</div>
</content>
</entry>
<entry>
<title>ui: disable clearing almost everywhere</title>
<updated>2018-10-22T09:59:02+00:00</updated>
<author>
<name>Björn Linse</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2018-10-20T21:43:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=e598811e76a4ee6666b680545097fb06b0ba59aa'/>
<id>e598811e76a4ee6666b680545097fb06b0ba59aa</id>
<content type='text'>
Avoid clearing the screen in most situations. NOT_VALID should be
equivalent to CLEAR unless some external force messed up the terminal,
for these situations &lt;c-l&gt; and :mode will still clear the screen.

Also eliminate some obsolete code in screen.c, that dealt with that in
vim drawing window 1 can mess up window 2, but this never happens in
nvim.

But what about slow terminals? There is two common meanings in which
a terminal is said to be "slow":

Most commonly (and in the sense of vim:s nottyfast) it means low
bandwidth for sending bytes from nvim to the terminal. If the screen is
very similar before and after the update_screen(CLEAR) this change
should reduce bandwidth. If the screen is quite different, but there is
no new regions of contiguous whitespace, clearing doesn't reduce
bandwidth significantly. If the new screen contains a lot of whitespace,
it will depend of if vsplits are used or not: as long as there is no
vsplits, ce is used to cheaply clear the rest of the line, so
full-screen clear is not needed to reduce bandwith. However a left
vsplit currently needs to be padded with whitespace all the way to the
separator. It is possible ec (clear N chars) can be used to reduce
bandwidth here if this is a problem. (All of this assumes that one
doesn't set Normal guibg=... on a non-BCE terminal, if you do you are
doomed regardless of this change).

Slow can also mean that drawing pixels on the screen is slow. E-ink
screens is a recent example. Avoiding clearing and redrawing the
unchanged part of the screen will always improve performance in these
cases.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoid clearing the screen in most situations. NOT_VALID should be
equivalent to CLEAR unless some external force messed up the terminal,
for these situations &lt;c-l&gt; and :mode will still clear the screen.

Also eliminate some obsolete code in screen.c, that dealt with that in
vim drawing window 1 can mess up window 2, but this never happens in
nvim.

But what about slow terminals? There is two common meanings in which
a terminal is said to be "slow":

Most commonly (and in the sense of vim:s nottyfast) it means low
bandwidth for sending bytes from nvim to the terminal. If the screen is
very similar before and after the update_screen(CLEAR) this change
should reduce bandwidth. If the screen is quite different, but there is
no new regions of contiguous whitespace, clearing doesn't reduce
bandwidth significantly. If the new screen contains a lot of whitespace,
it will depend of if vsplits are used or not: as long as there is no
vsplits, ce is used to cheaply clear the rest of the line, so
full-screen clear is not needed to reduce bandwith. However a left
vsplit currently needs to be padded with whitespace all the way to the
separator. It is possible ec (clear N chars) can be used to reduce
bandwidth here if this is a problem. (All of this assumes that one
doesn't set Normal guibg=... on a non-BCE terminal, if you do you are
doomed regardless of this change).

Slow can also mean that drawing pixels on the screen is slow. E-ink
screens is a recent example. Avoiding clearing and redrawing the
unchanged part of the screen will always improve performance in these
cases.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: improve robustness of immediate successes in screen tests</title>
<updated>2018-10-15T18:13:11+00:00</updated>
<author>
<name>Björn Linse</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2017-06-26T12:49:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=c8810a51a3a7ef1185b45c07d93f7e6769c5ab55'/>
<id>c8810a51a3a7ef1185b45c07d93f7e6769c5ab55</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test: adjust timer tests</title>
<updated>2018-10-13T21:34:49+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2018-10-08T06:56:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=e39dade80b023bc6ac1b5592d1e1637d0c1a2502'/>
<id>e39dade80b023bc6ac1b5592d1e1637d0c1a2502</id>
<content type='text'>
Timer tests are less reliable on Travis CI macOS 10.12 (most egregious).
Also somewhat on 10.13.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Timer tests are less reliable on Travis CI macOS 10.12 (most egregious).
Also somewhat on 10.13.
</pre>
</div>
</content>
</entry>
<entry>
<title>shell/logging: Fix E730 with verbose system({List}) #9009</title>
<updated>2018-09-21T07:20:04+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2018-09-21T07:20:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=ecdd2df88ab52ed6e39057e2a8fb9eabfbb90bd5'/>
<id>ecdd2df88ab52ed6e39057e2a8fb9eabfbb90bd5</id>
<content type='text'>
ref https://github.com/neovim/neovim/issues/9001#issuecomment-421843790

Steps to reproduce:
    :set verbose=9
    :call system(['echo'])
    E730: using List as a String</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ref https://github.com/neovim/neovim/issues/9001#issuecomment-421843790

Steps to reproduce:
    :set verbose=9
    :call system(['echo'])
    E730: using List as a String</pre>
</div>
</content>
</entry>
<entry>
<title>test: system_spec: remove redundant clear()</title>
<updated>2018-09-18T22:49:18+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2018-09-18T07:29:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=a316258d2c15e180b4cd9d59cfad3f9f1eaf2fcc'/>
<id>a316258d2c15e180b4cd9d59cfad3f9f1eaf2fcc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: call getchar(1) in timer callback</title>
<updated>2018-09-04T14:00:17+00:00</updated>
<author>
<name>Jan Edmund Lazo</name>
<email>janedmundlazo@hotmail.com</email>
</author>
<published>2018-09-04T13:59:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=f8e042f73242fe7395c415c611491303df474e3d'/>
<id>f8e042f73242fe7395c415c611491303df474e3d</id>
<content type='text'>
Test changes from 8.0.1020 and 8.0.1048.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test changes from 8.0.1020 and 8.0.1048.
</pre>
</div>
</content>
</entry>
<entry>
<title>system(): handle profiling and 'verbose' #8730</title>
<updated>2018-07-29T01:49:11+00:00</updated>
<author>
<name>Marcos Almeida</name>
<email>maurelio1234@users.noreply.github.com</email>
</author>
<published>2018-07-29T01:49:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=a2253744c9bcd9229be9533540075e977f0be2cd'/>
<id>a2253744c9bcd9229be9533540075e977f0be2cd</id>
<content type='text'>
closes #8362

Vim's code calls `call_shell` directly from `get_system_output_as_rettv`
whereas in Nvim this function has been rewritten to not call `call_shell` but to call
`os_system` via `do_os_system`, losing the support for profiling and verbose.

Changing the code to call `call_shell` from `get_system_output_as_rettv`
seems to be too complicated to be worth it on the current version of the
code. So this commit duplicates the relevant code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
closes #8362

Vim's code calls `call_shell` directly from `get_system_output_as_rettv`
whereas in Nvim this function has been rewritten to not call `call_shell` but to call
`os_system` via `do_os_system`, losing the support for profiling and verbose.

Changing the code to call `call_shell` from `get_system_output_as_rettv`
seems to be too complicated to be worth it on the current version of the
code. So this commit duplicates the relevant code.
</pre>
</div>
</content>
</entry>
</feed>
