<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/api/buffer_spec.lua, branch v0.3.2</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>api: simplify nvim_buf_get_offset function</title>
<updated>2018-11-01T21:00:40+00:00</updated>
<author>
<name>Björn Linse</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2018-11-01T18:15:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=c40f992e10355edd586d5cfbca246b9659554438'/>
<id>c40f992e10355edd586d5cfbca246b9659554438</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>api: implement nvim_buf_get_offset_for_line</title>
<updated>2018-11-01T14:05:05+00:00</updated>
<author>
<name>Björn Linse</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2018-10-30T22:20:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=281da0dd59fbc5aa7ff1c6f0300c661c1a62cb8c'/>
<id>281da0dd59fbc5aa7ff1c6f0300c661c1a62cb8c</id>
<content type='text'>
Like line2byte, but works for any buffer, and uses zero-based
indexing (API conventions).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Like line2byte, but works for any buffer, and uses zero-based
indexing (API conventions).
</pre>
</div>
</content>
</entry>
<entry>
<title>API: Avoid overrun when formatting error-message</title>
<updated>2018-09-05T06:04:15+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2018-08-29T08:06:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=db17d2c0fa2f82edc486ec7954e174404a115036'/>
<id>db17d2c0fa2f82edc486ec7954e174404a115036</id>
<content type='text'>
msgpack_rpc_to_object (called by handle_request .. msgpack_rpc_to_array)
always NUL-terminates API Strings.
But handle_request .. msgpack_rpc_get_handler_for operates on a raw
msgpack_object, before preparation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
msgpack_rpc_to_object (called by handle_request .. msgpack_rpc_to_array)
always NUL-terminates API Strings.
But handle_request .. msgpack_rpc_get_handler_for operates on a raw
msgpack_object, before preparation.
</pre>
</div>
</content>
</entry>
<entry>
<title>functests: tests related to operations on unloaded buffers #7688</title>
<updated>2018-07-25T05:07:13+00:00</updated>
<author>
<name>Peter Hodge</name>
<email>peter.hodge84@gmail.com</email>
</author>
<published>2018-06-29T01:32:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=b53b621ef61ec2ac694437fdcb8385f3d9ee0cbc'/>
<id>b53b621ef61ec2ac694437fdcb8385f3d9ee0cbc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' into luaviml'/lua</title>
<updated>2017-05-08T12:43:45+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2017-05-08T12:43:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=09f849b60000c2d401d82f2b2fb2badde5583658'/>
<id>09f849b60000c2d401d82f2b2fb2badde5583658</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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='http://git.josher.dev/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>functests: Test for “string cannot contain newline” set_lines error</title>
<updated>2017-04-10T23:24:37+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2017-04-10T23:24:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=add76592d9a690d12e266da1f788e588bb42b919'/>
<id>add76592d9a690d12e266da1f788e588bb42b919</id>
<content type='text'>
Should make me able to determine whether they are lua bindings that contain 
a bug or set_lines.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Should make me able to determine whether they are lua bindings that contain 
a bug or set_lines.</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='http://git.josher.dev/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: 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='http://git.josher.dev/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='http://git.josher.dev/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>
