<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/shada, 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>shada: initialize jumplist before search pattern (#10964)</title>
<updated>2019-09-08T01:02:29+00:00</updated>
<author>
<name>Abdelhakeem Osama</name>
<email>abdelhakeem.osama@hotmail.com</email>
</author>
<published>2019-09-08T01:02:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=6692c0958f476456b59cd9f36b35b1c5b3202145'/>
<id>6692c0958f476456b59cd9f36b35b1c5b3202145</id>
<content type='text'>
Since 8b8ecf4, the shada module loads files in the jumplist to properly
clear duplicates. This can trigger some autocommands, which in turn
saves and restores search and substitute patterns, freeing the previous
strings in "spats" which are held in "wms" as well (heap-use-after-free).
To avoid this, initialize the jumplist in "wms" before search patterns.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since 8b8ecf4, the shada module loads files in the jumplist to properly
clear duplicates. This can trigger some autocommands, which in turn
saves and restores search and substitute patterns, freeing the previous
strings in "spats" which are held in "wms" as well (heap-use-after-free).
To avoid this, initialize the jumplist in "wms" before search patterns.</pre>
</div>
</content>
</entry>
<entry>
<title>test: Minimize shada/helpers.lua #10728</title>
<updated>2019-08-09T08:23:57+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2019-08-09T08:23:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=4bb728dfa093d462dfbe581643c3ac7953b54937'/>
<id>4bb728dfa093d462dfbe581643c3ac7953b54937</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>jumplist: avoid extra tail entry #9805</title>
<updated>2019-04-01T22:50:28+00:00</updated>
<author>
<name>Abdelhakeem Osama</name>
<email>abdelhakeem.osama@hotmail.com</email>
</author>
<published>2019-04-01T22:50:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=35362495c965554f45634bcde3c4ce6d5eca52aa'/>
<id>35362495c965554f45634bcde3c4ce6d5eca52aa</id>
<content type='text'>
fixes #9775</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fixes #9775</pre>
</div>
</content>
</entry>
<entry>
<title>startup: always wait for UI with --embed, unless --headless also is supplied</title>
<updated>2018-09-22T08:18:28+00:00</updated>
<author>
<name>Björn Linse</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2018-09-20T17:19:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=4da5cb38d396d76d8072815d150725f7c9a85078'/>
<id>4da5cb38d396d76d8072815d150725f7c9a85078</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>functests: Use proper path in `eq()`</title>
<updated>2018-04-02T08:14:11+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2018-04-02T08:14:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=5d9bb16d66043f10dc14435c0594ca6f31b1795f'/>
<id>5d9bb16d66043f10dc14435c0594ca6f31b1795f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>shada: Fix some memory leaks and completely ignore numbered mark names</title>
<updated>2018-04-01T18:29:47+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2018-04-01T18:29:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=dd1b493f7560244162f4051443fb42dabaee0254'/>
<id>dd1b493f7560244162f4051443fb42dabaee0254</id>
<content type='text'>
Problems:
- In two places in shada_read_when_writing() memory just was not freed. Both 
  places were verified to cause test failures.
- Numbered marks got assigned incorrect (off-by-one compared to position in the 
  array) numbers in replace_numbered_mark.
- It was possible to have non-continuously populated array of numbered marks 
  which messed up code for merging them.

(Note about tests: marks with additional data are always compared different when 
merging, that caused some confusion regarding why test did not work the way 
I expected.)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problems:
- In two places in shada_read_when_writing() memory just was not freed. Both 
  places were verified to cause test failures.
- Numbered marks got assigned incorrect (off-by-one compared to position in the 
  array) numbers in replace_numbered_mark.
- It was possible to have non-continuously populated array of numbered marks 
  which messed up code for merging them.

(Note about tests: marks with additional data are always compared different when 
merging, that caused some confusion regarding why test did not work the way 
I expected.)</pre>
</div>
</content>
</entry>
<entry>
<title>functests: Add test for merging with file with only numeric mark</title>
<updated>2018-04-01T17:04:35+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2018-04-01T17:04:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=1ac1f520f02afc934523ce76a99a3d17d0d6a670'/>
<id>1ac1f520f02afc934523ce76a99a3d17d0d6a670</id>
<content type='text'>
Known to cause memory leak, but not an expected crash.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Known to cause memory leak, but not an expected crash.</pre>
</div>
</content>
</entry>
<entry>
<title>functests: Fix existing functional tests</title>
<updated>2018-03-26T22:33:59+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2017-01-08T02:23:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=17ea0f2214f13b11305e380d9e93e7577b7675aa'/>
<id>17ea0f2214f13b11305e380d9e93e7577b7675aa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: stderr output contains `cp` noise</title>
<updated>2018-01-05T17:18:26+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2018-01-05T09:54:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=b616ef9b220fdf7a7b842a95a8a9d088cfbf472d'/>
<id>b616ef9b220fdf7a7b842a95a8a9d088cfbf472d</id>
<content type='text'>
closes #7811
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
closes #7811
</pre>
</div>
</content>
</entry>
<entry>
<title>mark: Make sure that jumplist item will not have zero lnum</title>
<updated>2017-12-23T21:32:43+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2017-12-23T21:29:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=6b45dbca0429c52cb70908497bc7a0fed9db2d8d'/>
<id>6b45dbca0429c52cb70908497bc7a0fed9db2d8d</id>
<content type='text'>
Fixes #7169
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #7169
</pre>
</div>
</content>
</entry>
</feed>
