<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/src/nvim, branch v0.1.6</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>api: api_info()['version']</title>
<updated>2016-10-28T12:33:13+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2016-10-26T13:20:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=c5f5f427c6f8d1b4136bf41171f8f0980561080e'/>
<id>c5f5f427c6f8d1b4136bf41171f8f0980561080e</id>
<content type='text'>
API level is disconnected from NVIM version. The API metadata holds the
current API level, and the lowest backwards-compatible level supported
by this instance.

Release 0.1.6 is the first release that reports the Nvim version and API
level.

    metadata['version'] = {
      major: 0,
      minor: 1,
      patch: 6,
      api_level: 1,
      api_compatible: 0,
      api_prerelease: false,
    }

The API level may remain unchanged across Nvim releases if the API has
not changed.

When changing the API,
    - set NVIM_API_PRERELEASE to true
    - increment NVIM_API_LEVEL (at most once per Nvim version)
    - adjust NVIM_API_LEVEL_COMPAT if backwards-compatibility was broken

api_level_0.mpack was generated from Nvim 0.1.5 with:
    nvim --api-info
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
API level is disconnected from NVIM version. The API metadata holds the
current API level, and the lowest backwards-compatible level supported
by this instance.

Release 0.1.6 is the first release that reports the Nvim version and API
level.

    metadata['version'] = {
      major: 0,
      minor: 1,
      patch: 6,
      api_level: 1,
      api_compatible: 0,
      api_prerelease: false,
    }

The API level may remain unchanged across Nvim releases if the API has
not changed.

When changing the API,
    - set NVIM_API_PRERELEASE to true
    - increment NVIM_API_LEVEL (at most once per Nvim version)
    - adjust NVIM_API_LEVEL_COMPAT if backwards-compatibility was broken

api_level_0.mpack was generated from Nvim 0.1.5 with:
    nvim --api-info
</pre>
</div>
</content>
</entry>
<entry>
<title>api: Nvim version, API level #5386</title>
<updated>2016-10-26T12:23:50+00:00</updated>
<author>
<name>Rui Abreu Ferreira</name>
<email>rap-ep@gmx.com</email>
</author>
<published>2016-09-25T17:46:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=f25797f86976cbccf697d6df953154c5e59656e6'/>
<id>f25797f86976cbccf697d6df953154c5e59656e6</id>
<content type='text'>
The API level is disconnected from the NVIM version. The API metadata
holds the current API level, and the lowest backwards-compatible level
supported by this instance.

Release 0.1.6 will be the first release reporting the Nvim version and
API level.

    metadata['version'] = {
      major: 0,
      minor: 1,
      patch: 6,
      prerelease: true,
      api_level: 1,
      api_compatible: 0,
    }

The API level may remain unchanged across Neovim releases if the API has
not changed.

When changing the API the CMake variable NVIM_API_PRERELEASE is set to
true, and  NVIM_API_CURRENT/NVIM_API_COMPATIBILITY are incremented
accordingly.

The functional tests check the API table against fixtures of past
versions of Neovim. It compares all the functions in the old table with
the new one, it does ignore some metadata attributes that do not alter
the function signature or were removed since 0.1.5.  Currently the only
fixture is 0.mpack, generated from Neovim 0.1.5 with nvim --api-info.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The API level is disconnected from the NVIM version. The API metadata
holds the current API level, and the lowest backwards-compatible level
supported by this instance.

Release 0.1.6 will be the first release reporting the Nvim version and
API level.

    metadata['version'] = {
      major: 0,
      minor: 1,
      patch: 6,
      prerelease: true,
      api_level: 1,
      api_compatible: 0,
    }

The API level may remain unchanged across Neovim releases if the API has
not changed.

When changing the API the CMake variable NVIM_API_PRERELEASE is set to
true, and  NVIM_API_CURRENT/NVIM_API_COMPATIBILITY are incremented
accordingly.

The functional tests check the API table against fixtures of past
versions of Neovim. It compares all the functions in the old table with
the new one, it does ignore some metadata attributes that do not alter
the function signature or were removed since 0.1.5.  Currently the only
fixture is 0.mpack, generated from Neovim 0.1.5 with nvim --api-info.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge #5500</title>
<updated>2016-10-26T12:01:49+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2016-10-26T12:01:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=90bf31c7421f6bc32703dd8d8a19cd29f06cc63d'/>
<id>90bf31c7421f6bc32703dd8d8a19cd29f06cc63d</id>
<content type='text'>
Closes #5246
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #5246
</pre>
</div>
</content>
</entry>
<entry>
<title>test: Add missing test from vim-patch:7.4.2312</title>
<updated>2016-10-26T11:53:14+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2016-10-26T11:53:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=26b90e95e7bfa8bec29d33642c80dd5c55ff88a7'/>
<id>26b90e95e7bfa8bec29d33642c80dd5c55ff88a7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:7.4.2128 (#5517)</title>
<updated>2016-10-26T11:27:00+00:00</updated>
<author>
<name>Michael Ennen</name>
<email>brcolow@users.noreply.github.com</email>
</author>
<published>2016-10-26T11:27:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=e350902b7de17583e3a94fa92f736aded0726774'/>
<id>e350902b7de17583e3a94fa92f736aded0726774</id>
<content type='text'>
Problem:    Memory leak when saving for undo fails.
Solution:   Free allocated memory. (Hirohito Higashi)

https://github.com/vim/vim/commit/1e2258297bb31720bfbeb234f2dae4d1b3b04fbd</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Memory leak when saving for undo fails.
Solution:   Free allocated memory. (Hirohito Higashi)

https://github.com/vim/vim/commit/1e2258297bb31720bfbeb234f2dae4d1b3b04fbd</pre>
</div>
</content>
</entry>
<entry>
<title>modeline: Handle version number overflow. #5450</title>
<updated>2016-10-26T11:05:25+00:00</updated>
<author>
<name>Florian Larysch</name>
<email>fl@n621.de</email>
</author>
<published>2016-10-08T15:55:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=2a6c5bb0c4b03a9da81dae64d37c9912e448eaf0'/>
<id>2a6c5bb0c4b03a9da81dae64d37c9912e448eaf0</id>
<content type='text'>
Closes #5449

A file containing the string "vim" followed by a very large number in a modeline
location will trigger an overflow in getdigits() which is called by
chk_modeline() when trying to parse the version number.

Add getdigits_safe(), which does not assert overflows, but reports them to the
caller.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #5449

A file containing the string "vim" followed by a very large number in a modeline
location will trigger an overflow in getdigits() which is called by
chk_modeline() when trying to parse the version number.

Add getdigits_safe(), which does not assert overflows, but reports them to the
caller.
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:7.4.2109 (#5518)</title>
<updated>2016-10-25T19:15:43+00:00</updated>
<author>
<name>Michael Ennen</name>
<email>brcolow@users.noreply.github.com</email>
</author>
<published>2016-10-25T19:15:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=0f32088ea23fbbe9557c89a9e075f2e9b9e158a4'/>
<id>0f32088ea23fbbe9557c89a9e075f2e9b9e158a4</id>
<content type='text'>
vim-patch:7.4.2109

Problem:    Setting 'display' to "lastline" is a drastic change, while
            omitting it results in lots of "@" lines.
Solution:   Add "truncate" to show "@@@" for a truncated line.

https://github.com/vim/vim/commit/ad9c2a08f0509294269a2f11a59a438b944bdd5a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
vim-patch:7.4.2109

Problem:    Setting 'display' to "lastline" is a drastic change, while
            omitting it results in lots of "@" lines.
Solution:   Add "truncate" to show "@@@" for a truncated line.

https://github.com/vim/vim/commit/ad9c2a08f0509294269a2f11a59a438b944bdd5a
</pre>
</div>
</content>
</entry>
<entry>
<title>list_features(): Hack around infinite loop.</title>
<updated>2016-10-25T13:55:29+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2016-10-25T13:33:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=e8ddbbdf07838a99545181a5f63d460f4ea7e8a4'/>
<id>e8ddbbdf07838a99545181a5f63d460f4ea7e8a4</id>
<content type='text'>
msg_putchar() is not updating msg_col, this causes an infinite loop. Observed
with execute('version') *nested* in another execute(), in particular this line:
    let buildtype = matchstr(execute('version'), '\v\cbuild type:?\s*[^\n\r\t ]+')
when called by :CheckHealth (see runtime/autoload/health/nvim ..
s:check_performance()).

But invoking some variation of execute('...execute("version")') is not enough to
provoke the bug, maybe it needs to be in a user function?
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
msg_putchar() is not updating msg_col, this causes an infinite loop. Observed
with execute('version') *nested* in another execute(), in particular this line:
    let buildtype = matchstr(execute('version'), '\v\cbuild type:?\s*[^\n\r\t ]+')
when called by :CheckHealth (see runtime/autoload/health/nvim ..
s:check_performance()).

But invoking some variation of execute('...execute("version")') is not enough to
provoke the bug, maybe it needs to be in a user function?
</pre>
</div>
</content>
</entry>
<entry>
<title>CheckHealth: more checks</title>
<updated>2016-10-25T13:55:29+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2016-10-25T13:28:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=c853fd6fab212688c71d66c869e48401ac155973'/>
<id>c853fd6fab212688c71d66c869e48401ac155973</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>version: Allow has("nvim-x"), has("nvim-x.y")</title>
<updated>2016-10-25T11:08:48+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2016-10-25T11:07:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=714ec09c6d83295ef70becbbaf1c620761cbdac6'/>
<id>714ec09c6d83295ef70becbbaf1c620761cbdac6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
