<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/api, 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>input.c: Process only safe events before blocking.</title>
<updated>2017-04-28T17:19:51+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2017-03-13T23:44:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=acfd2a2a29ae852ecc965ca888eb5049400bf39d'/>
<id>acfd2a2a29ae852ecc965ca888eb5049400bf39d</id>
<content type='text'>
Introduce multiqueue_process_priority() to process only events at or
above a certain priority.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce multiqueue_process_priority() to process only events at or
above a certain priority.
</pre>
</div>
</content>
</entry>
<entry>
<title>api: nvim_get_mode()</title>
<updated>2017-04-28T17:14:34+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2017-03-13T14:02:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=3ea10077534cb1dcb1597ffcf85e601fa0c0e27b'/>
<id>3ea10077534cb1dcb1597ffcf85e601fa0c0e27b</id>
<content type='text'>
Asynchronous API functions are served immediately, which means pending
input could change the state of Nvim shortly after an async API function
result is returned.

nvim_get_mode() is different:
  - If RPCs are known to be blocked, it responds immediately (without
    flushing the input/event queue)
  - else it is handled just-in-time before waiting for input, after
    pending input was processed. This makes the result more reliable
    (but not perfect).

Internally this is handled as a special case, but _semantically_ nothing
has changed: API users never know when input flushes, so this internal
special-case doesn't violate that. As far as API users are concerned,
nvim_get_mode() is just another asynchronous API function.

In all cases nvim_get_mode() never blocks for more than the time it
takes to flush the input/event queue (~µs).

Note: This doesn't address #6166; nvim_get_mode() will provoke #6166 if
e.g. `d` is operator-pending.

Closes #6159
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Asynchronous API functions are served immediately, which means pending
input could change the state of Nvim shortly after an async API function
result is returned.

nvim_get_mode() is different:
  - If RPCs are known to be blocked, it responds immediately (without
    flushing the input/event queue)
  - else it is handled just-in-time before waiting for input, after
    pending input was processed. This makes the result more reliable
    (but not perfect).

Internally this is handled as a special case, but _semantically_ nothing
has changed: API users never know when input flushes, so this internal
special-case doesn't violate that. As far as API users are concerned,
nvim_get_mode() is just another asynchronous API function.

In all cases nvim_get_mode() never blocks for more than the time it
takes to flush the input/event queue (~µs).

Note: This doesn't address #6166; nvim_get_mode() will provoke #6166 if
e.g. `d` is operator-pending.

Closes #6159
</pre>
</div>
</content>
</entry>
<entry>
<title>api: Do not translate error messages.</title>
<updated>2017-04-23T22:11:27+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2017-04-23T20:30:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=086c354a0aad2769042dc91bf5bad021109f56e4'/>
<id>086c354a0aad2769042dc91bf5bad021109f56e4</id>
<content type='text'>
Also re-word some error messages:
- "Key does not exist: %s"
- "Invalid channel: %&lt;PRIu64&gt;"
- "Request array size must be 4 (request) or 3 (notification)"
- "String cannot contain newlines"

References #6150
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also re-word some error messages:
- "Key does not exist: %s"
- "Invalid channel: %&lt;PRIu64&gt;"
- "Request array size must be 4 (request) or 3 (notification)"
- "String cannot contain newlines"

References #6150
</pre>
</div>
</content>
</entry>
<entry>
<title>test: api: Do not truncate errors &lt;1 MB.</title>
<updated>2017-04-23T21:24:16+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2017-04-21T12:58:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=45240538742d6276ab25abe0d8b02550e1c68179'/>
<id>45240538742d6276ab25abe0d8b02550e1c68179</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>api: {get,set}_option should {get,set} global value of local options (#6405)</title>
<updated>2017-03-30T20:03:52+00:00</updated>
<author>
<name>Jakob Schnitzer</name>
<email>mail@jakobschnitzer.de</email>
</author>
<published>2017-03-30T20:03:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=eb0e94f71b1f44cebf7ae5c1bcff348264af6cef'/>
<id>eb0e94f71b1f44cebf7ae5c1bcff348264af6cef</id>
<content type='text'>
- nvim_get_option should return the global default of a local option.
- nvim_set_option should set the global default of a local option.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- nvim_get_option should return the global default of a local option.
- nvim_set_option should set the global default of a local option.
</pre>
</div>
</content>
</entry>
<entry>
<title>api: add detailed checks for compatibility and correct "since" value</title>
<updated>2017-03-15T14:01:06+00:00</updated>
<author>
<name>Björn Linse</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2016-10-29T09:40:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=9500ecdda55391a116286bf9c9fccf298f357a59'/>
<id>9500ecdda55391a116286bf9c9fccf298f357a59</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>api: nvim_buf_set_lines(): Avoid invalid ml_get. #6019</title>
<updated>2017-03-07T00:29:08+00:00</updated>
<author>
<name>Matthew Malcomson</name>
<email>hardenedapple@gmail.com</email>
</author>
<published>2017-01-27T12:09:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=6fe677c108c9a84be998a9355ae9700348cb0cc5'/>
<id>6fe677c108c9a84be998a9355ae9700348cb0cc5</id>
<content type='text'>
When the buffer that nvim_buf_set_lines() is changing is not in any vim
window, fix_cursor() leads to calling ml_get_buf() with an invalid line
number. The condition that fix_cursor() was called on was (buf ==
curbuf), but this is always true because of the call to
switch_to_win_for_buf() earlier in the function.

Instead this should be predicated on (save_curbuf.br_buf == NULL)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the buffer that nvim_buf_set_lines() is changing is not in any vim
window, fix_cursor() leads to calling ml_get_buf() with an invalid line
number. The condition that fix_cursor() was called on was (buf ==
curbuf), but this is always true because of the call to
switch_to_win_for_buf() earlier in the function.

Instead this should be predicated on (save_curbuf.br_buf == NULL)
</pre>
</div>
</content>
</entry>
<entry>
<title>*: Fix linter errors</title>
<updated>2017-02-23T16:48:41+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2017-02-22T22:38:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=9c1865c7f8e4a21e4e52cf90e686a155c3031ee5'/>
<id>9c1865c7f8e4a21e4e52cf90e686a155c3031ee5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
