<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/src/nvim/tui, branch v0.2.1</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>Adds nvim_get_hl_by_name/by_id</title>
<updated>2017-09-30T02:43:26+00:00</updated>
<author>
<name>Matthieu Coudron</name>
<email>mattator@gmail.com</email>
</author>
<published>2017-07-26T21:28:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=ba7277cfb4e2556f246446d06b53f3427f28130f'/>
<id>ba7277cfb4e2556f246446d06b53f3427f28130f</id>
<content type='text'>
...in order to retrieve highlights.

Added test/functional/api/highlight_spec.lua
HL_NORMAL is not really a good name, since it's more like an empty attribute than the normal's one.
If one pays attention, syn_cterm_attr2entry is never called with attr=0 because it's always special cased before.
I suggest in subsequent PRs we remove the ATTR_OFF and just insert an EMPTY ATTR/RESET_ATTR/UNINITIALIZED for id 0.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
...in order to retrieve highlights.

Added test/functional/api/highlight_spec.lua
HL_NORMAL is not really a good name, since it's more like an empty attribute than the normal's one.
If one pays attention, syn_cterm_attr2entry is never called with attr=0 because it's always special cased before.
I suggest in subsequent PRs we remove the ATTR_OFF and just insert an EMPTY ATTR/RESET_ATTR/UNINITIALIZED for id 0.
</pre>
</div>
</content>
</entry>
<entry>
<title>tui: Use unibi_var_from_num when available</title>
<updated>2017-09-17T03:23:01+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2017-09-17T03:13:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=b9cba41106e380556ddf731d8fbfcc9c84f8e225'/>
<id>b9cba41106e380556ddf731d8fbfcc9c84f8e225</id>
<content type='text'>
As of unibilium 1.2.1, directly manipulating unibi_var_t is deprecated.

    ../src/nvim/tui/tui.c: In function 'update_attrs':
    ../src/nvim/tui/tui.c:321:7: warning: 'i' is deprecated: use unibi_var_from_num or unibi_num_from_var instead [-Wdeprecated-declarations]
           data-&gt;params[0].i = (fg &gt;&gt; 16) &amp; 0xff;  // red
           ^~~~
    In file included from ../src/nvim/tui/tui.c:12:0:
    /usr/include/unibilium.h:632:9: note: declared here
         int i   UNIBI_DEPRECATED("use unibi_var_from_num or unibi_num_from_var instead");
             ^

All use should go through unibi_{num,str}_from_var and
unibi_var_from_{num,str}.  Wrap access of unibi_var_t behind a new
UNIBI_SET_NUM_VAR macro which uses the new functions when they're
available.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As of unibilium 1.2.1, directly manipulating unibi_var_t is deprecated.

    ../src/nvim/tui/tui.c: In function 'update_attrs':
    ../src/nvim/tui/tui.c:321:7: warning: 'i' is deprecated: use unibi_var_from_num or unibi_num_from_var instead [-Wdeprecated-declarations]
           data-&gt;params[0].i = (fg &gt;&gt; 16) &amp; 0xff;  // red
           ^~~~
    In file included from ../src/nvim/tui/tui.c:12:0:
    /usr/include/unibilium.h:632:9: note: declared here
         int i   UNIBI_DEPRECATED("use unibi_var_from_num or unibi_num_from_var instead");
             ^

All use should go through unibi_{num,str}_from_var and
unibi_var_from_{num,str}.  Wrap access of unibi_var_t behind a new
UNIBI_SET_NUM_VAR macro which uses the new functions when they're
available.
</pre>
</div>
</content>
</entry>
<entry>
<title>eventloop: FocusGained: schedule event instead of pseudokey</title>
<updated>2017-09-05T13:01:06+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2017-08-27T23:27:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=b6b6e4a96f37ba6a54d194ecbc042d5ef7d595e6'/>
<id>b6b6e4a96f37ba6a54d194ecbc042d5ef7d595e6</id>
<content type='text'>
closes #4840
closes #6164
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
closes #4840
closes #6164
</pre>
</div>
</content>
</entry>
<entry>
<title>tui: DECSCUSR workaround for Konsole (#7236)</title>
<updated>2017-09-04T16:48:05+00:00</updated>
<author>
<name>Vadim A. Misbakh-Soloviov</name>
<email>msva@users.noreply.github.com</email>
</author>
<published>2017-09-04T16:48:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=f050aaabbb31b58ebac519a6f7014610f2b119f0'/>
<id>f050aaabbb31b58ebac519a6f7014610f2b119f0</id>
<content type='text'>
closes #7235</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
closes #7235</pre>
</div>
</content>
</entry>
<entry>
<title>tui: support new iterm2, iTerm2.app terminfo entries</title>
<updated>2017-08-26T15:11:56+00:00</updated>
<author>
<name>Leonardo Brondani Schenkel</name>
<email>leonardo@schenkel.net</email>
</author>
<published>2017-08-24T10:48:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=e1628fab0062c96b5211213f3e990cfd6dc4c1d2'/>
<id>e1628fab0062c96b5211213f3e990cfd6dc4c1d2</id>
<content type='text'>
iTerm2 got its own entry in Thomas Dickey's terminfo.src on 2017-08-16.
Make sure that the new entry is handled in the same way as the old entry.

closes #7209
closes #7214
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
iTerm2 got its own entry in Thomas Dickey's terminfo.src on 2017-08-16.
Make sure that the new entry is handled in the same way as the old entry.

closes #7209
closes #7214
</pre>
</div>
</content>
</entry>
<entry>
<title>tui: always use unibi_add_ext_str with unibi_get_ext_str #7204</title>
<updated>2017-08-24T07:22:21+00:00</updated>
<author>
<name>Fredrik Fornwall</name>
<email>fredrik@fornwall.net</email>
</author>
<published>2017-08-22T09:49:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=da84f7dcf9dab28a03b9a776f04d882c36fd77fb'/>
<id>da84f7dcf9dab28a03b9a776f04d882c36fd77fb</id>
<content type='text'>
When using an index returned by unibi_add_ext_str() we should
always use unibi_get_ext_str() and not rely on the index being
lower than unibi_string_begin_.

Closes #7206
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using an index returned by unibi_add_ext_str() we should
always use unibi_get_ext_str() and not rely on the index being
lower than unibi_string_begin_.

Closes #7206
</pre>
</div>
</content>
</entry>
<entry>
<title>tui: fix DECSCUSR logic #6997</title>
<updated>2017-08-12T23:13:28+00:00</updated>
<author>
<name>Sebastian Parborg</name>
<email>darkdefende@gmail.com</email>
</author>
<published>2017-07-10T07:37:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=1f9c139fd3a060924daf8ce1df32fc3204c6231d'/>
<id>1f9c139fd3a060924daf8ce1df32fc3204c6231d</id>
<content type='text'>
Fix linuxvt cursor shape codes
Fix konsole cursor_shapes (even when inside tmux)
Do not trust old VTE terminal lies

Closes #6978
Closes #7002
Closes #7049
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix linuxvt cursor shape codes
Fix konsole cursor_shapes (even when inside tmux)
Do not trust old VTE terminal lies

Closes #6978
Closes #7002
Closes #7049
</pre>
</div>
</content>
</entry>
<entry>
<title>coverity/166184: Check length of str, not term</title>
<updated>2017-08-11T14:30:38+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2017-08-11T14:30:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=9edf00bddf6802044e06bd15daad4a5735ccade8'/>
<id>9edf00bddf6802044e06bd15daad4a5735ccade8</id>
<content type='text'>
32396b5879b429def1c48948069c55366d41b9be add length checks to
TERMINAL_FAMILY/STARTS_WITH to ensure memcmp() wouldn't read past the
end of the string.  However, "term" was copy/pasted from TERMINAL_FAMILY
so STARTS_WITH() was unnecessarily reading the, potentially NULL, term
variable.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
32396b5879b429def1c48948069c55366d41b9be add length checks to
TERMINAL_FAMILY/STARTS_WITH to ensure memcmp() wouldn't read past the
end of the string.  However, "term" was copy/pasted from TERMINAL_FAMILY
so STARTS_WITH() was unnecessarily reading the, potentially NULL, term
variable.
</pre>
</div>
</content>
</entry>
<entry>
<title>tui: fix truecolor in libvte, tmux #7037</title>
<updated>2017-07-30T20:17:31+00:00</updated>
<author>
<name>DarkDefender</name>
<email>darkdefende@gmail.com</email>
</author>
<published>2017-07-16T10:20:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=cb13ef3596ee9d952a2d12c78d9036b7fd134c89'/>
<id>cb13ef3596ee9d952a2d12c78d9036b7fd134c89</id>
<content type='text'>
Closes #7041
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #7041
</pre>
</div>
</content>
</entry>
<entry>
<title>log: termios info to DEBUG instead of INFO</title>
<updated>2017-07-23T13:01:31+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2017-07-22T19:24:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=4b390fafc910eb3e0acf17d5eb8a702b5fdd12ce'/>
<id>4b390fafc910eb3e0acf17d5eb8a702b5fdd12ce</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
