aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_timers.vim
Commit message (Collapse)AuthorAge
* test_timers.vim: Adjust timing to handle difference in implementationJames McCoy2017-04-15
|
* vim-patch:7.4.2359James McCoy2017-04-06
| | | | | | | Problem: Memory leak in timer_start(). Solution: Check the right field to be NULL. https://github.com/vim/vim/commit/26fe0d56912e42c2b16a61b2480e19ba569aee98
* vim-patch:7.4.2332James McCoy2017-04-06
| | | | | | | | | Problem: Crash when stop_timer() is called in a callback of a callback. Vim hangs when the timer callback uses too much time. Solution: Set tr_id to -1 when a timer is to be deleted. Don't keep calling callbacks forever. (Ozaki Kiichi) https://github.com/vim/vim/commit/75537a93e985ef32e6c267b06ce93629855dd983
* vim-patch:7.4.2304James McCoy2017-04-06
| | | | | | | | | Problem: In a timer callback the timer itself can't be found or stopped. (Thinca) Solution: Do not remove the timer from the list, remember whether it was freed. https://github.com/vim/vim/commit/417ccd7138d4d230d328de8b0d3892dd82ff1bee
* vim-patch:7.4.2281James McCoy2017-04-06
| | | | | | | Problem: Timer test fails sometimes. Solution: Reduce minimum time by 1 msec. https://github.com/vim/vim/commit/0426bae2abede764d0dd366a28663d1c6e6ab0fe
* vim-patch:7.4.2242Jurica Bradaric2017-03-20
| | | | | | | Problem: Timer test sometimes fails. Solution: Increase the maximum time for callback timer test. https://github.com/vim/vim/commit/17f1347b867cbcc0ce380bf9a2466b4c31896f04
* vim-patch:7.4.2241Jurica Bradaric2017-03-20
| | | | | | | Problem: Timer test sometimes fails. Solution: Increase the maximum time for repeating timer. https://github.com/vim/vim/commit/973365dcc40a41e6b72ece56f15cebfee69b1329
* vim-patch:7.4.2240Jurica Bradaric2017-03-20
| | | | | | | Problem: Tests using the sleep time can be flaky. Solution: Use reltime() if available. (Partly by Shane Harper) https://github.com/vim/vim/commit/f267f8bdf777073e392ada5b31d837c7b6090eb4
* vim-patch:7.4.2180Jurica Bradaric2017-03-20
| | | | | | | | Problem: There is no easy way to stop all timers. There is no way to temporary pause a timer. Solution: Add timer_stopall() and timer_pause(). https://github.com/vim/vim/commit/b73598e2f022a22fec512ea681c70d2775e8fd87
* vim-patch:7.4.2228lonerover2017-03-18
| | | | | | | Problem: Test files have inconsistant modelines. Solution: Don't set 'tabstop' to 2, use 'sts' and 'sw'. https://github.com/vim/vim/commit/9e4d8215d386100ab660d7d11e6620fd148b605e
* Make partials work with jobs, timers, and dictwatchers.Björn Linse2016-12-12
|
* vim-patch:7.4.1860Michael Ennen2016-12-12
| | | | | | | Problem: Using a partial for timer_start() may cause a crash. Solution: Set the copyID in timer objects. (Ozaki Kiichi) https://github.com/vim/vim/commit/e3188e261569ae512fb1ae2653b57fdd9e259ca3
* vim-patch:7.4.1719Michael Ennen2016-12-12
| | | | | | | | | | Problem: Leaking memory when there is a cycle involving a job and a partial. Solution: Add a copyID to job and channel. Set references in items referred by them. Go through all jobs and channels to find unreferenced items. Also, decrement reference counts when garbage collecting. https://github.com/vim/vim/commit/107e1eef1df3b786ad3ad49fbdb9e058649303b5
* eval: implement timers. vim-patch: 7.4.1578, 7.4.1831Björn Linse2016-05-24
For the moment, timers are triggered during sleep, but not in wait-for-input modes, like press-RETURN or f_getchar()