<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/shada, branch v0.5.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>shada: fix failed assertion on exit (#12692)</title>
<updated>2020-07-31T14:08:34+00:00</updated>
<author>
<name>erw7</name>
<email>erw7.github@gmail.com</email>
</author>
<published>2020-07-31T14:08:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=a4fe8bdc97c9313eb4543427cde75c54f7be8895'/>
<id>a4fe8bdc97c9313eb4543427cde75c54f7be8895</id>
<content type='text'>
If set the number of history saves is 0, assertions fail when inserting an entry on exit.
Dont insert an entry when the number of saves is 0 fixes the issue.

fixes #11497</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If set the number of history saves is 0, assertions fail when inserting an entry on exit.
Dont insert an entry when the number of saves is 0 fixes the issue.

fixes #11497</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.0920: writing viminfo fails with a circular reference</title>
<updated>2020-06-09T14:54:07+00:00</updated>
<author>
<name>erw7</name>
<email>erw7.github@gmail.com</email>
</author>
<published>2020-06-06T17:00:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=f1cbd39f7b12d2f7a2a528dbd034bacfe72809d2'/>
<id>f1cbd39f7b12d2f7a2a528dbd034bacfe72809d2</id>
<content type='text'>
Problem:    Writing viminfo fails with a circular reference.
Solution:   Use copyID to detect the cycle. (closes vim/vim#6217)
https://github.com/vim/vim/commit/5b157fe2edfdce5f77080aeac2b4a03f39eb1c1a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Writing viminfo fails with a circular reference.
Solution:   Use copyID to detect the cycle. (closes vim/vim#6217)
https://github.com/vim/vim/commit/5b157fe2edfdce5f77080aeac2b4a03f39eb1c1a
</pre>
</div>
</content>
</entry>
<entry>
<title>shada: fix write E5004 error on exit</title>
<updated>2020-06-08T14:15:10+00:00</updated>
<author>
<name>erw7</name>
<email>erw7.github@gmail.com</email>
</author>
<published>2020-06-06T16:31:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=9fc3949841817921a14fa64ae3d657c936acdfc4'/>
<id>9fc3949841817921a14fa64ae3d657c936acdfc4</id>
<content type='text'>
Fix the problem of failing to write shada when the global variable contains
Funcref or Partial.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix the problem of failing to write shada when the global variable contains
Funcref or Partial.
</pre>
</div>
</content>
</entry>
<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>
</feed>
