<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/src, branch v0.3.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>doc</title>
<updated>2018-07-18T11:38:06+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2018-06-29T17:27:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=1999919c3142f41821c74ccb9bd785948e26674c'/>
<id>1999919c3142f41821c74ccb9bd785948e26674c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #8743 from dimbleby/multiple-children</title>
<updated>2018-07-16T14:26:24+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2018-07-16T14:26:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=cd6e7e8cf302f7d2397c89a65a483f9cd543f9dd'/>
<id>cd6e7e8cf302f7d2397c89a65a483f9cd543f9dd</id>
<content type='text'>
Check all child processes for exit in SIGCHLD handler</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check all child processes for exit in SIGCHLD handler</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #8651 from MichaHoffmann/feature_refactor_channel</title>
<updated>2018-07-15T17:55:53+00:00</updated>
<author>
<name>Björn Linse</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2018-07-15T17:55:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=dfe79b67a5621ebd779a40a87a85304ffd89a5af'/>
<id>dfe79b67a5621ebd779a40a87a85304ffd89a5af</id>
<content type='text'>
channel.c: refactor spaghetti code</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
channel.c: refactor spaghetti code</pre>
</div>
</content>
</entry>
<entry>
<title>dispatch.c: changed api_set_error_call</title>
<updated>2018-07-15T10:12:03+00:00</updated>
<author>
<name>micha</name>
<email>michoffmann.potsdam@gmail.com</email>
</author>
<published>2018-07-15T10:12:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=099718ae6d57239164d4348e6c7576edf7a2ebb7'/>
<id>099718ae6d57239164d4348e6c7576edf7a2ebb7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>channel.c: Prevent channel_destroy_early() from freeing uninitialized rpc stuff</title>
<updated>2018-07-15T07:30:47+00:00</updated>
<author>
<name>oni-link</name>
<email>knil.ino@gmail.com</email>
</author>
<published>2018-07-14T18:59:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=c1807411899d3fc8a1ff6451ccb398e009b76337'/>
<id>c1807411899d3fc8a1ff6451ccb398e009b76337</id>
<content type='text'>
Without this patch the following commands would crash:
    :call rpcstart('unknown_command')

    :set sh=unknown_command
    :call jobstart('ls',{'rpc':1})
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Without this patch the following commands would crash:
    :call rpcstart('unknown_command')

    :set sh=unknown_command
    :call jobstart('ls',{'rpc':1})
</pre>
</div>
</content>
</entry>
<entry>
<title>Check all child processes for exit in SIGCHLD handler</title>
<updated>2018-07-14T13:18:34+00:00</updated>
<author>
<name>David Hotham</name>
<email>david.hotham@metaswitch.com</email>
</author>
<published>2018-07-14T13:09:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=dee2bf7b52b8841a9281bb80ef98539a421af513'/>
<id>dee2bf7b52b8841a9281bb80ef98539a421af513</id>
<content type='text'>
If a second and third child exit while we are already in the handler, we
will only see a single additional SIGCHLD.  Therefore the handler must
not stop after processing a single child but should check all children.

Fixes #8740
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a second and third child exit while we are already in the handler, we
will only see a single additional SIGCHLD.  Therefore the handler must
not stop after processing a single child but should check all children.

Fixes #8740
</pre>
</div>
</content>
</entry>
<entry>
<title>channel.c: refactor spaghetti code</title>
<updated>2018-07-14T09:47:18+00:00</updated>
<author>
<name>micha</name>
<email>michoffmann.potsdam@gmail.com</email>
</author>
<published>2018-06-27T15:08:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=ed02278e42b822a339a12475d81c377271e528f8'/>
<id>ed02278e42b822a339a12475d81c377271e528f8</id>
<content type='text'>
channel.c: WIP remove redundant method check and added FUNC_ATTR_NONNULL_ALL macro

channel.c channel_defs.h helpers.c: added Error field to RequestEvent, added no_op handler func

channel.c: use const char* instead of string and cleanup

channel.c; channel_defs.h; helpers.c: removed error from event again; send errors directly to the channel without using handlers and events

channel.c: fixed memory leak and lint errors

api/private/dispatch.c; api/vim.c; msgpack_rpc/channel.c msgpack_rpc/helpers.c added Error* field to msgpack_get_handler_for; further refactored channel.c

channel.c:323 changed order of evaluation in if statement

channel.c: removed superflous whitespace

dispatch.c: review comment
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
channel.c: WIP remove redundant method check and added FUNC_ATTR_NONNULL_ALL macro

channel.c channel_defs.h helpers.c: added Error field to RequestEvent, added no_op handler func

channel.c: use const char* instead of string and cleanup

channel.c; channel_defs.h; helpers.c: removed error from event again; send errors directly to the channel without using handlers and events

channel.c: fixed memory leak and lint errors

api/private/dispatch.c; api/vim.c; msgpack_rpc/channel.c msgpack_rpc/helpers.c added Error* field to msgpack_get_handler_for; further refactored channel.c

channel.c:323 changed order of evaluation in if statement

channel.c: removed superflous whitespace

dispatch.c: review comment
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #8737 from dimbleby/overly-general-waitpid</title>
<updated>2018-07-13T23:59:09+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2018-07-13T23:59:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=4874214139ab86f7033d5e6c602f7515ed813443'/>
<id>4874214139ab86f7033d5e6c602f7515ed813443</id>
<content type='text'>
Only waitpid() for processes that we care about</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only waitpid() for processes that we care about</pre>
</div>
</content>
</entry>
<entry>
<title>Only waitpid() for processes that we care about</title>
<updated>2018-07-13T19:56:04+00:00</updated>
<author>
<name>David Hotham</name>
<email>david.hotham@metaswitch.com</email>
</author>
<published>2018-07-12T21:38:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=fe913d7838d382075c1dfa8bbf2e652a49b57909'/>
<id>fe913d7838d382075c1dfa8bbf2e652a49b57909</id>
<content type='text'>
It seems as though in an AppImage there's an extra child process that
dies at some early point, before we have set up a SIGCHLD handler.  So
when we later get a SIGCHLD from a child that we do care about,
waitpid(-1, ...) tells us about the extra child - and we don't notice
that the interesting child has exited.

Or something like that!

See also:

* https://patchwork.kernel.org/patch/9949491/ in which perf hit
something similar
* discussion at the AppImage repository:
https://github.com/AppImage/AppImageKit/issues/812#issuecomment-404662110.

Fix is to be explicit about which process we are waitpid()'ing for, so
we never need be distracted by children that we don't know about.

Fixes #8104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It seems as though in an AppImage there's an extra child process that
dies at some early point, before we have set up a SIGCHLD handler.  So
when we later get a SIGCHLD from a child that we do care about,
waitpid(-1, ...) tells us about the extra child - and we don't notice
that the interesting child has exited.

Or something like that!

See also:

* https://patchwork.kernel.org/patch/9949491/ in which perf hit
something similar
* discussion at the AppImage repository:
https://github.com/AppImage/AppImageKit/issues/812#issuecomment-404662110.

Fix is to be explicit about which process we are waitpid()'ing for, so
we never need be distracted by children that we don't know about.

Fixes #8104
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.0.0630: it is not easy to work on lines without a match (#8734)</title>
<updated>2018-07-13T19:14:46+00:00</updated>
<author>
<name>Jan Edmund Lazo</name>
<email>jan.lazo@mail.utoronto.ca</email>
</author>
<published>2018-07-13T19:14:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=392817c2da46024177e32ac478769d6aad6b4449'/>
<id>392817c2da46024177e32ac478769d6aad6b4449</id>
<content type='text'>
Problem:    The :global command does not work recursively, which makes it
            difficult to execute a command on a line where one pattern matches
            and another does not match. (Miles Cranmer)
Solution:   Allow for recursion if it is for only one line. (closes vim/vim#1760)
https://github.com/vim/vim/commit/f84b122a99da75741ae686fabb6f81b8b4755998</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    The :global command does not work recursively, which makes it
            difficult to execute a command on a line where one pattern matches
            and another does not match. (Miles Cranmer)
Solution:   Allow for recursion if it is for only one line. (closes vim/vim#1760)
https://github.com/vim/vim/commit/f84b122a99da75741ae686fabb6f81b8b4755998</pre>
</div>
</content>
</entry>
</feed>
