<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/autocmd, branch v0.4.3</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>autocmds: TermEnter, TermLeave #8550</title>
<updated>2019-09-14T22:54:19+00:00</updated>
<author>
<name>Usama Hameed</name>
<email>usama54321@gmail.com</email>
</author>
<published>2019-09-14T22:54:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=fc27dc98d74f0e25bf1dc2cb8ff399b05ccd6f2c'/>
<id>fc27dc98d74f0e25bf1dc2cb8ff399b05ccd6f2c</id>
<content type='text'>
fix #8428</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix #8428</pre>
</div>
</content>
</entry>
<entry>
<title>test: Rename meth_pcall to pcall_err</title>
<updated>2019-09-07T00:19:07+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2019-09-03T20:51:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=af946046b922dc5d5285a70a23d11916d8389a5d'/>
<id>af946046b922dc5d5285a70a23d11916d8389a5d</id>
<content type='text'>
- Rename `meth_pcall`.
- Make `pcall_err` raise an error if the function does not fail.
- Add `vim.pesc()` to treat a string as literal where a Lua pattern is
  expected.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Rename `meth_pcall`.
- Make `pcall_err` raise an error if the function does not fail.
- Add `vim.pesc()` to treat a string as literal where a Lua pattern is
  expected.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: use runtime from build for doc/tags with :help (#10479)</title>
<updated>2019-08-28T20:47:54+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>git@thequod.de</email>
</author>
<published>2019-08-28T20:47:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=6cc76194b2d67d6160a72f017a37b9d3a6b7dd3c'/>
<id>6cc76194b2d67d6160a72f017a37b9d3a6b7dd3c</id>
<content type='text'>
This is better practice in general, and allows to remove the "helptags
ALL" hacks.

Ref: https://github.com/neovim/neovim/issues/8824
Ref: https://github.com/neovim/neovim/commit/f1b67c3453c

* Makefile: fix dependencies with regard to helptags

- use the file as the main target to avoid unnecessary triggering
- use "make oldtest" on Travis to ensure it gets built</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is better practice in general, and allows to remove the "helptags
ALL" hacks.

Ref: https://github.com/neovim/neovim/issues/8824
Ref: https://github.com/neovim/neovim/commit/f1b67c3453c

* Makefile: fix dependencies with regard to helptags

- use the file as the main target to avoid unnecessary triggering
- use "make oldtest" on Travis to ensure it gets built</pre>
</div>
</content>
</entry>
<entry>
<title>tests: fix flaky "TermClose … fast-exiting terminal job stops"</title>
<updated>2019-08-05T01:52:17+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2019-08-05T01:17:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=c516586dc35b4ab8c691a5f234b90581582ccc85'/>
<id>c516586dc35b4ab8c691a5f234b90581582ccc85</id>
<content type='text'>
This extra retry() was removed (at my suggestion) in 5b94a2977a22, but
it is probably needed: jobwait(…, timeout=0) could return while
channel_process_exit_cb() is still queued (so TermClose event didn't
fire yet).

    20:46:21,288 INFO  - not ok 547 - TermClose event triggers when fast-exiting terminal job stops
    20:46:21,288 INFO  - # test/functional/autocmd/termclose_spec.lua @ 20
    20:46:21,288 INFO  - # Failure message: ./test/functional/helpers.lua:98: Vim:E121: Undefined variable: g:test_termclose
    20:46:21,288 INFO  - # stack traceback:
    20:46:21,288 INFO  - # 	./test/functional/helpers.lua:98: in function 'eval'
    20:46:21,288 INFO  - # 	test/functional/autocmd/termclose_spec.lua:25: in function &lt;test/functional/autocmd/termclose_spec.lua:20&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This extra retry() was removed (at my suggestion) in 5b94a2977a22, but
it is probably needed: jobwait(…, timeout=0) could return while
channel_process_exit_cb() is still queued (so TermClose event didn't
fire yet).

    20:46:21,288 INFO  - not ok 547 - TermClose event triggers when fast-exiting terminal job stops
    20:46:21,288 INFO  - # test/functional/autocmd/termclose_spec.lua @ 20
    20:46:21,288 INFO  - # Failure message: ./test/functional/helpers.lua:98: Vim:E121: Undefined variable: g:test_termclose
    20:46:21,288 INFO  - # stack traceback:
    20:46:21,288 INFO  - # 	./test/functional/helpers.lua:98: in function 'eval'
    20:46:21,288 INFO  - # 	test/functional/autocmd/termclose_spec.lua:25: in function &lt;test/functional/autocmd/termclose_spec.lua:20&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>:doautocmd : Never show "No matching autocommands" #10689</title>
<updated>2019-08-05T01:33:45+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2019-08-05T01:33:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=45c34bd84aa512b262f9d60e3f25f547cb5c189a'/>
<id>45c34bd84aa512b262f9d60e3f25f547cb5c189a</id>
<content type='text'>
The message is useless, it doesn't even mention the event name.

vim_dev discussion:
https://groups.google.com/forum/#!msg/vim_dev/RTbq58TMq9w/Xr4rSoUTCgAJ

ref: https://github.com/vim/vim/issues/4300</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The message is useless, it doesn't even mention the event name.

vim_dev discussion:
https://groups.google.com/forum/#!msg/vim_dev/RTbq58TMq9w/Xr4rSoUTCgAJ

ref: https://github.com/vim/vim/issues/4300</pre>
</div>
</content>
</entry>
<entry>
<title>TextYankPost: spurious/too-early dispatch during delete #10392</title>
<updated>2019-07-28T22:50:11+00:00</updated>
<author>
<name>Jit</name>
<email>jityao+github@gmail.com</email>
</author>
<published>2019-07-28T22:50:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=7cc2b723d43c73653daa41fcfac623632faa9695'/>
<id>7cc2b723d43c73653daa41fcfac623632faa9695</id>
<content type='text'>
Problem: delete-with-register dispatches TextYankPost before updating yank registers
Solution: Add flag to op_yank().

Fixes #10225</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: delete-with-register dispatches TextYankPost before updating yank registers
Solution: Add flag to op_yank().

Fixes #10225</pre>
</div>
</content>
</entry>
<entry>
<title>Fix missing CursorHoldI events (#3758)</title>
<updated>2019-07-15T23:35:43+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>git@thequod.de</email>
</author>
<published>2019-07-15T23:35:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=b06f29318df5adab76bba32b89b9af22043a39cb'/>
<id>b06f29318df5adab76bba32b89b9af22043a39cb</id>
<content type='text'>
Fixes https://github.com/neovim/neovim/issues/3757.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes https://github.com/neovim/neovim/issues/3757.</pre>
</div>
</content>
</entry>
<entry>
<title>tests: fix flaky "TermClose event triggers when fast-exiting terminal job stops" (#10377)</title>
<updated>2019-07-02T20:44:11+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>git@thequod.de</email>
</author>
<published>2019-07-02T20:44:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=5b94a2977a22852f74469337356348fe0fd640c5'/>
<id>5b94a2977a22852f74469337356348fe0fd640c5</id>
<content type='text'>
    [  ERROR   ]...neovim/neovim/test/functional/autocmd/termclose_spec.lua @ TermClose event triggers when fast-exiting terminal job stops
    test/functional/helpers.lua:96: Vim(call):E900: Invalid channel id

    stack traceback:
            test/functional/helpers.lua:96: in function 'request'
            test/functional/helpers.lua:254: in function 'command'
            ...neovim/neovim/test/functional/autocmd/termclose_spec.lua:23: in function &lt;...neovim/neovim/test/functional/autocmd/termclose_spec.lua:20&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    [  ERROR   ]...neovim/neovim/test/functional/autocmd/termclose_spec.lua @ TermClose event triggers when fast-exiting terminal job stops
    test/functional/helpers.lua:96: Vim(call):E900: Invalid channel id

    stack traceback:
            test/functional/helpers.lua:96: in function 'request'
            test/functional/helpers.lua:254: in function 'command'
            ...neovim/neovim/test/functional/autocmd/termclose_spec.lua:23: in function &lt;...neovim/neovim/test/functional/autocmd/termclose_spec.lua:20&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>messages: use proper multiline error message for rpcrequest and API wrappers</title>
<updated>2019-05-26T13:42:16+00:00</updated>
<author>
<name>Björn Linse</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2019-01-24T18:15:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=8ed54bbec3b07d16658547d6bf38a1e804800341'/>
<id>8ed54bbec3b07d16658547d6bf38a1e804800341</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: introduce XFREE_CLEAR()</title>
<updated>2019-05-25T08:01:17+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2019-05-21T22:10:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=a9d7ec4587d8eb20f12ebecc427ad818fb0e4971'/>
<id>a9d7ec4587d8eb20f12ebecc427ad818fb0e4971</id>
<content type='text'>
Unfortunately we cannot indiscriminately replace xfree() with
XFREE_CLEAR(), because comparing pointers after freeing them is a common
pattern. Example in `tv_list_remove_items()`:

    xfree(li);
    if (li == item2) {
      break;
    }

Instead we can do it selectively/explicitly.

ref #1375
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unfortunately we cannot indiscriminately replace xfree() with
XFREE_CLEAR(), because comparing pointers after freeing them is a common
pattern. Example in `tv_list_remove_items()`:

    xfree(li);
    if (li == item2) {
      break;
    }

Instead we can do it selectively/explicitly.

ref #1375
</pre>
</div>
</content>
</entry>
</feed>
