| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Problem: When creating a bufref, then using :bwipe and :new it might get
the same memory and bufref_valid() returns true.
Solution: Add br_fnum to check the buffer number didn't change.
https://github.com/vim/vim/commit/45e5fd135da5710f24a1acc142692f120f8b0b78
|
| |
|
|
|
|
|
| |
Falling through a switch case should be commented so it's clear that
behavior is intentional.
|
|
|
|
| |
remove pointless control chars in the text stream
|
|\ |
|
| |
| |
| |
| | |
update note at options.c head about window options
|
|/
|
|
|
|
|
|
|
|
| |
References #3030
References https://github.com/radenling/vim-dispatch-neovim/issues/6
The terminal is updated by a timer, but on_exit needs the final state.
Before this change, on_exit callback could see a stale terminal buffer.
Helped-by: oni-link <knil.ino@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
Problem: Filter test fails.
Solution: Include missing changes.
https://github.com/vim/vim/commit/77401add71853d7a3da7ccc489f2a1bca58551ec
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
It is located there in Vim, but in dd7657c1605246e8f7ade35184069a09dc254e84
position was for some reason swapped.
|
| |
|
| |
|
|
|
|
| |
Function was renamed and changed to return `const char *`.
|
|
|
|
| |
Also fixes buffer reusage in setmatches() and complete().
|
| |
|
|
|
|
|
|
|
| |
Problem: Coverity complains about not checking curwin to be NULL.
Solution: Use firstwin to avoid the warning.
https://github.com/vim/vim/commit/030cddc7ec0c3d2fe3969140cd1b92b2f18633c0
|
| |
|
|
|
|
|
|
| |
Problem: Crash when BufWinLeave autocmd goes to another tab page.
(Hirohito Higashi)
Solution: Make close_buffer() go back to the right window.
|
|
|
|
|
|
|
|
|
|
| |
Problem: Crash when editing a new buffer and BufUnload autocommand wipes
out the new buffer. (Norio Takagi)
Solution: Don't allow wiping out this buffer. (partly by Hirohito Higashi)
Move old style test13 into test_autocmd. Avoid ml_get error when
editing a file.
https://github.com/vim/vim/commit/e0ab94e7123ca7855f45919114d948ef2bc1e8c3
|
|
|
|
|
|
|
| |
Problem: Crash on exit when EXITFREE is defined. (Dominique Pelle)
Solution: Don't access curwin when exiting.
https://github.com/vim/vim/commit/9a27c7fde6d453d9892b6f6baa756bce4d6d419d
|
|
|
|
|
|
|
|
| |
Problem: When freeing a buffer the local value of the 'formatprg' option is
not cleared.
Solution: Add missing change.
https://github.com/vim/vim/commit/24a2d416ec261829ff7fd29f7b66739c96dd6513
|
|
|
|
|
|
|
|
| |
Problem: Illegal memory access with ":1@". (Dominique Pelle)
Solution: Correct cursor column after setting the line number. Also avoid
calling end_visual_mode() when not in Visual mode.
https://github.com/vim/vim/commit/4930a76a0357f76a829eafe4985d04cf3ce0e9e0
|
|
|
|
|
|
|
|
|
| |
Problem: Crash when closing a buffer while Visual mode is active.
(Dominique Pelle)
Solution: Adjust the position before computing the number of lines.
When closing the current buffer stop Visual mode.
https://github.com/vim/vim/commit/c4a908e83690844b0d3a46124ba6af7d23485d69
|
| |
|
| |
|
|
|
|
| |
Closes #3744
|
| |
|
|
|
| |
Avoids loosing b:changedtick value at `:bdelete`.
|
| |
|
|
|
| |
Port of vim-patch:8.0.0345
|
| |
|
| |
|
|
|
| |
coverity claims that `valid_tabpage(NULL)` can return true...
|
|\
| |
| | |
vim-patch:7.4.2017,7.4.2018,7.4.2021,7.4.2022,7.4.2023,7.4.2024
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: More buf_valid() calls can be optimized.
Solution: Use bufref_valid() instead.
NOTE: Some changes related to channels and the Python and Netbeans interfaces
were obviously left out.
https://github.com/vim/vim/commit/7c0a2f367f2507669560b1a66423155c70d2e75b
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: buflist_findname_stat() may find a dummy buffer.
Solution: Set the BF_DUMMY flag after loading a dummy buffer. Start
finding buffers from the end of the list.
NOTE: In Neovim, buflist_findname_stat() was replaced by
buflist_findname_file_id() in c41535d69.
https://github.com/vim/vim/commit/ea3f2e7be447a8f0c4436869620f908de5e8ef1e
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Still too many buf_valid() calls.
Solution: Make au_new_curbuf a bufref. Use bufref_valid() in more places.
https://github.com/vim/vim/commit/19ff9bf454b7492be64dd87aaf0830fa7961871e
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: buf_valid() can be slow when there are many buffers.
Solution: Add bufref_valid(), only go through the buffer list
when a buffer was freed.
https://github.com/vim/vim/commit/b25f9a97e9aad3cbb4bc3fe87cdbd5700f8aa0c6
|