<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/src/nvim/event, branch newfeatures</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>refactor: format files with uncrustify #15663</title>
<updated>2021-09-14T16:13:34+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2021-09-14T16:13:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=0a83017fe95df0290adb98ec6bf457b96a3fab17'/>
<id>0a83017fe95df0290adb98ec6bf457b96a3fab17</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(api): nvim_get_chan_info: include "argv" for jobs #15537</title>
<updated>2021-09-01T14:29:38+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2021-09-01T14:29:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=0603eba6e713b2bd25cbbb55caf2342b0ccdece9'/>
<id>0603eba6e713b2bd25cbbb55caf2342b0ccdece9</id>
<content type='text'>
ref #15440</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ref #15440</pre>
</div>
</content>
</entry>
<entry>
<title>fix(process_wait): drain proc.events directly #15501</title>
<updated>2021-08-28T02:17:11+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-08-28T02:17:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=8af13ed946aa06636c633327c6549993e2e50116'/>
<id>8af13ed946aa06636c633327c6549993e2e50116</id>
<content type='text'>
After a process's refcnt is decremented to zero, it enqueues a
`process_close_event` on its own event queue. In `process_wait`, this
event should be processed immediately so that any process close
callbacks are executed before `process_wait` returns.

Update `process_wait` to always process the process's event queue after
the process is freed, rather than the event queue passed in as an
argument.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After a process's refcnt is decremented to zero, it enqueues a
`process_close_event` on its own event queue. In `process_wait`, this
event should be processed immediately so that any process close
callbacks are executed before `process_wait` returns.

Update `process_wait` to always process the process's event queue after
the process is freed, rather than the event queue passed in as an
argument.</pre>
</div>
</content>
</entry>
<entry>
<title>chore: use codespell to spell check #15016</title>
<updated>2021-07-07T22:28:44+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2021-07-07T22:28:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=4547137aaff32b20172870a549d3a28a3c7adf1c'/>
<id>4547137aaff32b20172870a549d3a28a3c7adf1c</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:8.1.1437: code to handle callbacks is duplicated</title>
<updated>2021-06-24T03:16:20+00:00</updated>
<author>
<name>Jan Edmund Lazo</name>
<email>jan.lazo@mail.utoronto.ca</email>
</author>
<published>2021-06-22T12:50:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=d5329c0331a4e899ea88277b745df8d1bf3a99fa'/>
<id>d5329c0331a4e899ea88277b745df8d1bf3a99fa</id>
<content type='text'>
Problem:    Code to handle callbacks is duplicated.
Solution:   Add callback_T and functions to deal with it.
https://github.com/vim/vim/commit/3a97bb3f0f8bd118ae23f1c97e55d84ff42eef20

Port Vim's put_callback() as callback_put()
because Neovim's naming convention is {type}_{action},
not {action}_{type}.

Renaming put_callback type as PutCallback.
https://neovim.io/develop/style-guide.xml#Type_Names
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Code to handle callbacks is duplicated.
Solution:   Add callback_T and functions to deal with it.
https://github.com/vim/vim/commit/3a97bb3f0f8bd118ae23f1c97e55d84ff42eef20

Port Vim's put_callback() as callback_put()
because Neovim's naming convention is {type}_{action},
not {action}_{type}.

Renaming put_callback type as PutCallback.
https://neovim.io/develop/style-guide.xml#Type_Names
</pre>
</div>
</content>
</entry>
<entry>
<title>Add more info to debug messages</title>
<updated>2021-04-08T12:13:39+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2021-03-28T16:59:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=ce9b5848f9b5cec55997844ec54e8d4179391452'/>
<id>ce9b5848f9b5cec55997844ec54e8d4179391452</id>
<content type='text'>
[skip ci]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[skip ci]
</pre>
</div>
</content>
</entry>
<entry>
<title>Change QUEUE_FOREACH macro to use while instead of for</title>
<updated>2021-03-31T01:55:50+00:00</updated>
<author>
<name>erw7</name>
<email>erw7.github@gmail.com</email>
</author>
<published>2019-10-16T14:23:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=36caafeb281bf872f11d475e594eb212636daa4d'/>
<id>36caafeb281bf872f11d475e594eb212636daa4d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(pty): Always use $TERM from the job's env dict</title>
<updated>2021-02-06T12:12:33+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2021-02-04T04:54:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=33f92fe025dc326020fbb953f8c042711016fea8'/>
<id>33f92fe025dc326020fbb953f8c042711016fea8</id>
<content type='text'>
Before #12937, the only way to specify the `$TERM` for a pty job was
through the `TERM` key in the job's opts dict.  This was shuttled to the
child process throug a special field on the PtyProcess object and
injected into the environment after forking.

Now that we have a proper way to specify the environment for a job, we
can simply ensure that the env dict has a proper `TERM` set and avoid
the extra shuttling of data around.

This deprecates the use of the `TERM` option, but will still honor it if
present, although at a lower priority than a `TERM` present in the env
dict.

This also fixes #13874 because we're no longer trying to overwrite
`TERM` in the env dict with the special pty `term_name`.  Doing so
raises an internal error because of the existing key which, under
certain circumstances, would cause the "hit enter" prompt.  However,
since the child process had already forked, there was no way for the
user to acknowledge the prompt and we would just hang there.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before #12937, the only way to specify the `$TERM` for a pty job was
through the `TERM` key in the job's opts dict.  This was shuttled to the
child process throug a special field on the PtyProcess object and
injected into the environment after forking.

Now that we have a proper way to specify the environment for a job, we
can simply ensure that the env dict has a proper `TERM` set and avoid
the extra shuttling of data around.

This deprecates the use of the `TERM` option, but will still honor it if
present, although at a lower priority than a `TERM` present in the env
dict.

This also fixes #13874 because we're no longer trying to overwrite
`TERM` in the env dict with the special pty `term_name`.  Doing so
raises an internal error because of the existing key which, under
certain circumstances, would cause the "hit enter" prompt.  However,
since the child process had already forked, there was no way for the
user to acknowledge the prompt and we would just hang there.
</pre>
</div>
</content>
</entry>
<entry>
<title>Common handling of required/ignored env vars</title>
<updated>2021-01-31T12:54:20+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2020-09-10T11:15:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=8eec9c7d5b398918609d8edfed3928e873fa646f'/>
<id>8eec9c7d5b398918609d8edfed3928e873fa646f</id>
<content type='text'>
When starting a pty job, there are certain env vars that we need to
either add or remove.  Currently, there are two relevant scenarios.

* Removing irrelevant env vars on Unix, mostly related to the terminal
  hosting nvim since they do not apply to a libvterm-hosted terminal.

* Adding required env vars for Windows jobs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When starting a pty job, there are certain env vars that we need to
either add or remove.  Currently, there are two relevant scenarios.

* Removing irrelevant env vars on Unix, mostly related to the terminal
  hosting nvim since they do not apply to a libvterm-hosted terminal.

* Adding required env vars for Windows jobs.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use dict_T to pass env vars to process spawning code</title>
<updated>2021-01-31T12:54:20+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2020-07-31T05:17:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=7f50c692685c92d47e6ba6c3ee5f6fdccb78fec5'/>
<id>7f50c692685c92d47e6ba6c3ee5f6fdccb78fec5</id>
<content type='text'>
Co-authored-by: Matthieu Coudron &lt;mattator@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Matthieu Coudron &lt;mattator@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
