<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/api, branch v0.1.5</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>job control: reuse common job code for rpc jobs</title>
<updated>2016-08-20T10:55:35+00:00</updated>
<author>
<name>Björn Linse</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2016-05-12T20:25:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=2d60a15e25f487eda1ac00a9e6cdf9a6564fb416'/>
<id>2d60a15e25f487eda1ac00a9e6cdf9a6564fb416</id>
<content type='text'>
This makes stderr and exit callbacks work for rpc jobs
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes stderr and exit callbacks work for rpc jobs
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: don't ignore highlights in various tests</title>
<updated>2016-08-14T19:53:02+00:00</updated>
<author>
<name>Björn Linse</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2016-08-09T13:11:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=f282b8ecac37e7776674a7eb48397f29eb6d173e'/>
<id>f282b8ecac37e7776674a7eb48397f29eb6d173e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>XXX: CI: Disable hanging test on Travis OSX.</title>
<updated>2016-08-09T19:17:46+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2016-08-08T05:04:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=68d91985013f046b9dd160932781825e3856cf9f'/>
<id>68d91985013f046b9dd160932781825e3856cf9f</id>
<content type='text'>
Temporary change to avoid frequent hangs on Travis macOS/OSX builds.
Hang does not occur on Quickbuild OSX (Yosemite) build.
Reverting e9061117a5b8f195c3f26a5cb94e18ddd7752d86 avoids the hang, but causes
more serious regressions on many more systems.

Note that the job_spec hang only happens with the gcc-4.9 Travis OSX build.

References #5002
References #5029
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Temporary change to avoid frequent hangs on Travis macOS/OSX builds.
Hang does not occur on Quickbuild OSX (Yosemite) build.
Reverting e9061117a5b8f195c3f26a5cb94e18ddd7752d86 avoids the hang, but causes
more serious regressions on many more systems.

Note that the job_spec hang only happens with the gcc-4.9 Travis OSX build.

References #5002
References #5029
</pre>
</div>
</content>
</entry>
<entry>
<title>msgpack_rpc: Fix crash in log_server_msg</title>
<updated>2016-06-24T13:53:26+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2016-06-11T18:59:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=0d56118d862f0a366da57c82a6e995f1a51b0fc7'/>
<id>0d56118d862f0a366da57c82a6e995f1a51b0fc7</id>
<content type='text'>
It appears that used msgpack library is not able to parse back message created 
by msgpack_rpc_from_object() if nesting level is too high, so log_server_msg now 
cares about msgpack_unpack_next() return value. Also error message from 
server_notifications_spec.lua is not readable if something is wrong (though at 
least now it does not crash when parsing deeply nested structures).

log_server_msg() in the test reports

    [msgpack-rpc] nvim -&gt; client(1) [error]        "parse error"</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It appears that used msgpack library is not able to parse back message created 
by msgpack_rpc_from_object() if nesting level is too high, so log_server_msg now 
cares about msgpack_unpack_next() return value. Also error message from 
server_notifications_spec.lua is not readable if something is wrong (though at 
least now it does not crash when parsing deeply nested structures).

log_server_msg() in the test reports

    [msgpack-rpc] nvim -&gt; client(1) [error]        "parse error"</pre>
</div>
</content>
</entry>
<entry>
<title>msgpack_rpc: Also make msgpack_from_*/msgpack_to_* functions not recur</title>
<updated>2016-06-24T13:53:26+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2016-04-24T17:51:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=90b8cf133e2bd7b7aa59b3954e54ba7ebd118071'/>
<id>90b8cf133e2bd7b7aa59b3954e54ba7ebd118071</id>
<content type='text'>
This removes some stack overflows in new test regarding deeply nested variables.
Now in place of crashing vim_to_object/msgpack_rpc_from_object/etc it crashes
clear_tv with stack overflow.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes some stack overflows in new test regarding deeply nested variables.
Now in place of crashing vim_to_object/msgpack_rpc_from_object/etc it crashes
clear_tv with stack overflow.
</pre>
</div>
</content>
</entry>
<entry>
<title>api/helpers: Use typval_encode.h for vim_to_object</title>
<updated>2016-06-24T13:53:26+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2016-04-18T12:55:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=da15b5c1f3230b127ebdbe52d449d1ee8104b2ae'/>
<id>da15b5c1f3230b127ebdbe52d449d1ee8104b2ae</id>
<content type='text'>
This ought to prevent stack overflow, but I do not see this actually working:
*lua* code crashes with stack overflow when trying to deserialize msgpack from
Neovim, Neovim is fine even if nesting level is increased 100x (though test
becomes very slow); not sure how recursive function may survive this. So it
looks like there are currently only two positive effects:

1. NULL lists are returned as empty (#4596).
2. Functional tests are slightly more fast. Very slightly. Checked for Release
   build for test/functional/eval tests because benchmarking of debug mode is
   not very useful.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This ought to prevent stack overflow, but I do not see this actually working:
*lua* code crashes with stack overflow when trying to deserialize msgpack from
Neovim, Neovim is fine even if nesting level is increased 100x (though test
becomes very slow); not sure how recursive function may survive this. So it
looks like there are currently only two positive effects:

1. NULL lists are returned as empty (#4596).
2. Functional tests are slightly more fast. Very slightly. Checked for Release
   build for test/functional/eval tests because benchmarking of debug mode is
   not very useful.
</pre>
</div>
</content>
</entry>
<entry>
<title>functests: Check logs in lua code</title>
<updated>2016-06-10T18:50:49+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2016-04-23T23:53:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=ff470bb853397fcb25bfa5dd952ebb32307b7875'/>
<id>ff470bb853397fcb25bfa5dd952ebb32307b7875</id>
<content type='text'>
It is otherwise impossible to determine which test failed sanitizer/valgrind
check. test/functional/helpers.lua module return was changed so that tests which
do not provide after_each function to get new check will automatically fail.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It is otherwise impossible to determine which test failed sanitizer/valgrind
check. test/functional/helpers.lua module return was changed so that tests which
do not provide after_each function to get new check will automatically fail.
</pre>
</div>
</content>
</entry>
<entry>
<title>Satisfy testlint.</title>
<updated>2016-04-28T17:30:17+00:00</updated>
<author>
<name>KillTheMule</name>
<email>KillTheMule@users.noreply.github.com</email>
</author>
<published>2016-04-26T19:14:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=360d0513d1ba2d6e2b8948daad5bb56f11db7070'/>
<id>360d0513d1ba2d6e2b8948daad5bb56f11db7070</id>
<content type='text'>
For that, make luatest ignore the preload.lua files.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For that, make luatest ignore the preload.lua files.
</pre>
</div>
</content>
</entry>
<entry>
<title>functests: Make json_functions_spec use new NIL where appropriate</title>
<updated>2016-04-17T23:48:20+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2016-04-17T22:37:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=a64114eba017c0db3d1849186c9c54fb09308761'/>
<id>a64114eba017c0db3d1849186c9c54fb09308761</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>api: Replace set_var(name, NIL) with del_var(name)</title>
<updated>2016-04-17T23:47:13+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2016-02-10T23:01:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=f1ced96c28b7db7b3dad9b0ca2f71f8d046ef732'/>
<id>f1ced96c28b7db7b3dad9b0ca2f71f8d046ef732</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
