<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/src, branch v0.4.4</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>vim-patch:8.2.1259: empty group in 'tabline' may cause using an invalid pointer</title>
<updated>2020-08-04T11:20:39+00:00</updated>
<author>
<name>Jan Edmund Lazo</name>
<email>jan.lazo@mail.utoronto.ca</email>
</author>
<published>2020-07-21T22:51:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=23c99bb78f8f331551d93630ff0190628badbba9'/>
<id>23c99bb78f8f331551d93630ff0190628badbba9</id>
<content type='text'>
Problem:    Empty group in 'tabline' may cause using an invalid pointer.
Solution:   Set the group start position. (closes vim/vim#6505)
https://github.com/vim/vim/commit/f56c95fdad5af521887f8cd7bc15729b5355231d
(cherry picked from commit 9443d3994190943c2b9d8c4efefcf3de854ec7be)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Empty group in 'tabline' may cause using an invalid pointer.
Solution:   Set the group start position. (closes vim/vim#6505)
https://github.com/vim/vim/commit/f56c95fdad5af521887f8cd7bc15729b5355231d
(cherry picked from commit 9443d3994190943c2b9d8c4efefcf3de854ec7be)
</pre>
</div>
</content>
</entry>
<entry>
<title>ui: fix problem with sattr_T overflow</title>
<updated>2020-08-04T11:20:07+00:00</updated>
<author>
<name>erw7</name>
<email>erw7.github@gmail.com</email>
</author>
<published>2020-07-31T16:52:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=fd02e63513f299394a4a95fc271fbd86d48af30a'/>
<id>fd02e63513f299394a4a95fc271fbd86d48af30a</id>
<content type='text'>
sattr_T was defined as uint16_t. But this is not enough to handle the
24-bit colors of the terminal. To solve this problem, change it to int.
In 32bit, int may overflow. So, if it overflows, change it to ignore it
without adding more attr_entries.

fixes #12366

(cherry picked from commit 872ecf65d10f0d22bbf3e2257f9ae89a6c61d2f4)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sattr_T was defined as uint16_t. But this is not enough to handle the
24-bit colors of the terminal. To solve this problem, change it to int.
In 32bit, int may overflow. So, if it overflows, change it to ignore it
without adding more attr_entries.

fixes #12366

(cherry picked from commit 872ecf65d10f0d22bbf3e2257f9ae89a6c61d2f4)
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'upstream/release-0.4' into fileinfo-garbage-0.4</title>
<updated>2020-08-03T02:37:13+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2020-08-03T02:37:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=052337ddfca3e336f5b26454f96883a54315dc7e'/>
<id>052337ddfca3e336f5b26454f96883a54315dc7e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fs: Ensure FileInfo struct is initialized</title>
<updated>2020-07-31T21:59:33+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2020-07-31T05:41:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=3e3002b90c46fca8d8d5edebc021e56d95c5e645'/>
<id>3e3002b90c46fca8d8d5edebc021e56d95c5e645</id>
<content type='text'>
Zero out the caller's FileInfo in all the functions which populate the
struct.  The contents are considered private, so we need to ensure
it's initialized.

If the stat call fails, the buffer we get back from libuv may not have
any valid data in it, so don't copy it into the caller's FileInfo.

This was happening, expectedly, in functional/ex_cmds/write_spec.lua's
"write errors out correctly", which caused it to fail in certain
environments:

    test/functional/ex_cmds/write_spec.lua:130: Expected objects to be the same.
    Passed in:
    (string) 'Vim(write):E212: Can't open file for writing: not a directory'
    Expected:
    (string) 'Vim(write):E166: Can't open linked file for writing'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Zero out the caller's FileInfo in all the functions which populate the
struct.  The contents are considered private, so we need to ensure
it's initialized.

If the stat call fails, the buffer we get back from libuv may not have
any valid data in it, so don't copy it into the caller's FileInfo.

This was happening, expectedly, in functional/ex_cmds/write_spec.lua's
"write errors out correctly", which caused it to fail in certain
environments:

    test/functional/ex_cmds/write_spec.lua:130: Expected objects to be the same.
    Passed in:
    (string) 'Vim(write):E212: Can't open file for writing: not a directory'
    Expected:
    (string) 'Vim(write):E166: Can't open linked file for writing'
</pre>
</div>
</content>
</entry>
<entry>
<title>main.c: fix hang issue with recoverymode (#12496) (#12520)</title>
<updated>2020-06-23T10:15:32+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2020-06-23T10:15:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=e4629f203fb563c3dcee807874d9c011ad54b4c5'/>
<id>e4629f203fb563c3dcee807874d9c011ad54b4c5</id>
<content type='text'>
In the case of recoverymode, the headlessmode was true, causing the UI
to hang without starting. Fix this problem by setting headlessmode to
true for List swap files only.

Co-authored-by: erw7 &lt;erw7.github@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the case of recoverymode, the headlessmode was true, causing the UI
to hang without starting. Fix this problem by setting headlessmode to
true for List swap files only.

Co-authored-by: erw7 &lt;erw7.github@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>fixed hang issue with --headless and -r option specified (#12209)</title>
<updated>2020-05-21T02:32:50+00:00</updated>
<author>
<name>Kei Kamikawa</name>
<email>Code-Hex@users.noreply.github.com</email>
</author>
<published>2020-05-20T14:32:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=f558af8b1829546a5386317f387c976fa023604f'/>
<id>f558af8b1829546a5386317f387c976fa023604f</id>
<content type='text'>
* fixed hang issue with --headless and -r option specified

Calling the do_more_prompt function in headless mode will freeze neovim because it is eventally in the input-accepting state (the same as waiting for --more--).

* fixed "Press ENTER or type command to continue" to be suppressed

If in headless mode, we need to exit at this point. If we continue, we will enter the normal mode and the message "Press ENTER or type command to continue" will be displayed and we will be in the input waiting state.

* fixed functional ex_cmds tests

* Revert "fixed "Press ENTER or type command to continue" to be suppressed"

This reverts commit a02dc40e3b3fad69cedcde6abe1bd4efe39ab102.

* Revert "fixed functional ex_cmds tests"

This reverts commit 3bdb8da20acf34673b2c2028d15e7ce6da4c792a.

* fixed conditional again

* added test for fixed hang issue with --headless (#11386)

(cherry picked from commit c6dc397801d0566b583d4916220a60f17e609e25)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* fixed hang issue with --headless and -r option specified

Calling the do_more_prompt function in headless mode will freeze neovim because it is eventally in the input-accepting state (the same as waiting for --more--).

* fixed "Press ENTER or type command to continue" to be suppressed

If in headless mode, we need to exit at this point. If we continue, we will enter the normal mode and the message "Press ENTER or type command to continue" will be displayed and we will be in the input waiting state.

* fixed functional ex_cmds tests

* Revert "fixed "Press ENTER or type command to continue" to be suppressed"

This reverts commit a02dc40e3b3fad69cedcde6abe1bd4efe39ab102.

* Revert "fixed functional ex_cmds tests"

This reverts commit 3bdb8da20acf34673b2c2028d15e7ce6da4c792a.

* fixed conditional again

* added test for fixed hang issue with --headless (#11386)

(cherry picked from commit c6dc397801d0566b583d4916220a60f17e609e25)
</pre>
</div>
</content>
</entry>
<entry>
<title>TUI: block signals on suspend #12180</title>
<updated>2020-04-26T01:24:46+00:00</updated>
<author>
<name>Kei Kamikawa</name>
<email>Code-Hex@users.noreply.github.com</email>
</author>
<published>2020-04-26T01:22:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=cda119055a075657aa491999dd1cec54ad01cd20'/>
<id>cda119055a075657aa491999dd1cec54ad01cd20</id>
<content type='text'>
fix #8075</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix #8075</pre>
</div>
</content>
</entry>
<entry>
<title>[release-0.4] nvim: Correctly setup global channels</title>
<updated>2020-04-17T17:02:37+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@cryptomilk.org</email>
</author>
<published>2020-02-17T16:29:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=0493fa00fa12a071e3a577d4aaa62454f86cc566'/>
<id>0493fa00fa12a071e3a577d4aaa62454f86cc566</id>
<content type='text'>
As gcc10 uses -fno-common by default, global variables declared with the
same name more than once is not allowed anymore revealing this issue.

We need to define it as extern to access it.

See also https://bugzilla.redhat.com/show_bug.cgi?id=1799680
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As gcc10 uses -fno-common by default, global variables declared with the
same name more than once is not allowed anymore revealing this issue.

We need to define it as extern to access it.

See also https://bugzilla.redhat.com/show_bug.cgi?id=1799680
</pre>
</div>
</content>
</entry>
<entry>
<title>[release-0.4] nvim:msgpack: Correctly set up global ch_before_blocking_events</title>
<updated>2020-04-17T17:02:34+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@cryptomilk.org</email>
</author>
<published>2020-02-17T15:40:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=6b38b9e4c67c4fb6b9c7ddc57d0a21779974ce1f'/>
<id>6b38b9e4c67c4fb6b9c7ddc57d0a21779974ce1f</id>
<content type='text'>
gcc10 builds with -fno-common by default. This mean you can't define
a global variable with the same name twice.

See also https://bugzilla.redhat.com/show_bug.cgi?id=1799680
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
gcc10 builds with -fno-common by default. This mean you can't define
a global variable with the same name twice.

See also https://bugzilla.redhat.com/show_bug.cgi?id=1799680
</pre>
</div>
</content>
</entry>
<entry>
<title>[release-0.4] nvim: Fix enum declaration of RemapValues</title>
<updated>2020-04-17T17:02:28+00:00</updated>
<author>
<name>Andreas Schneider</name>
<email>asn@cryptomilk.org</email>
</author>
<published>2020-02-17T15:36:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=047e36695f28deb10ba32ce17ffd4b7ff662f2a1'/>
<id>047e36695f28deb10ba32ce17ffd4b7ff662f2a1</id>
<content type='text'>
Instead of declaring an enum, this creates a global variable. As gcc10
uses -fno-common by default, global variables declared with the same
name more than once is not allowed anymore revealing this issue.

Each time this header is included, we define the enum name as a global
variable.

See also https://bugzilla.redhat.com/show_bug.cgi?id=1799680
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of declaring an enum, this creates a global variable. As gcc10
uses -fno-common by default, global variables declared with the same
name more than once is not allowed anymore revealing this issue.

Each time this header is included, we define the enum name as a global
variable.

See also https://bugzilla.redhat.com/show_bug.cgi?id=1799680
</pre>
</div>
</content>
</entry>
</feed>
