| Commit message (Collapse) | Author | Age |
... | |
|\ \ |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Declare and initialize them on same line.
Add const if possible.
Refactor 'did_scroll' local variable from int to bool.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Timer test is a bit flaky.
Solution: Add it to the list of flaky tests.
https://github.com/vim/vim/commit/bfbea567d89fdaa08ed987fd80daa53a6ce399d1
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Crash if timer closes window while dragging status line.
Solution: Check if the window still exists. (Yasuhiro Matsumoto, closes
vim/vim#1979)
https://github.com/vim/vim/commit/989a70c590c2bd109eb362d3a0e48cb1427ae13d
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Screen is messed by timer up at inputlist() prompt.
Solution: Set state to ASKMORE. (closes vim/vim#1843)
https://github.com/vim/vim/commit/c9041079a199d753e73d3b242f21cc8db620179a
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: When a function invoked from a timer calls confirm() and the user
types CTRL-C then Vim hangs.
Solution: Reset typebuf_was_filled. (Ozaki Kiichi, closes vim/vim#1791)
https://github.com/vim/vim/commit/4eb6531b03445b4d492bc52fea0b6dcd886583af
|
|/ /
| |
| |
| |
| | |
Problem: g:actual_curbuf set in wrong scope. (Daniel Hahler)
Solution: Prepend the "g:" name space. (closes vim/vim#3279)
https://github.com/vim/vim/commit/3cb4448b8a5c0192988f4e349aba6d7a91a9a4bd
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes #8786
gcc (GCC) 8.1.1 20180531 warning:
[76/182] Building C object src/nvim/CMakeFiles/nvim.dir/ex_getln.c.o
../src/nvim/ex_getln.c: In function ‘ExpandUserDefined’:
../src/nvim/ex_getln.c:5071:34: warning: cast between incompatible function types from ‘char * (*)(const char * const, const int, const char_u * const* const, const _Bool)’ {aka ‘char * (*)(const char * const, const int, const unsigned char * const* const, const _Bool)’} to ‘void * (*)(char_u *, int, char_u **, int)’ {aka ‘void * (*)(unsigned char *, int, unsigned char **, int)’} [-Wcast-function-type]
retstr = call_user_expand_func((user_expand_func_T)call_func_retstr, xp,
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Occasional memory use after free.
Solution: Use the highlight table directly, don't keep a pointer.
https://github.com/vim/vim/commit/414168d97fad45387a3d7dd16449d15b27079ad8
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Using freed memory with ":hi Normal".
Solution: Get "item" again after updating the table.
https://github.com/vim/vim/commit/b4ea1914b8ca7c368253bd96e6b3cb9e3392da1c
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: The :highlight command causes a redraw even when nothing changed.
Solution: Only set "need_highlight_changed" when an attribute changed.
https://github.com/vim/vim/commit/99433291b135094d9592c41f96d3ccd60073e2c1
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: With 8 colors the bold attribute is not set properly.
Solution: Move setting HL_TABLE() out of lookup_color. (closes vim/vim#1901)
https://github.com/vim/vim/commit/12d853fae1fc37c33874b5cf1e40a2dfaf04268c
Use TriState on lookup_color() to avoid 'NOLINT' comments.
|
| |/
| |
| |
| |
| |
| | |
Problem: Terminal colors depend on the system.
Solution: Use the highlight color lookup tables.
https://github.com/vim/vim/commit/b41bf8e6b45a773456031954bca1bc4212cbffbe
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Add const to params and variables (declare and init on same line).
winheight (param) is bool so replace TRUE/FALSE macros with true/false.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Use sizeof() on pointer value, not explicit type, for memmove.
|
| | |
| | |
| | |
| | | |
Declare and initialize variables on same line if possible.
|
| | |
| | |
| | |
| | | |
Declare and initialize variables on same line if possible.
|
| | |
| | |
| | |
| | | |
cache is bool so update callers to pass true/false, not TRUE/FALSE.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Refactor the following affected functions:
- prt_line_number()
- prt_header()
These use prt_set_font(), refactored in 872a76f3dac14fdcb7dc7b34cecd3acb4370d56f for TriState.
|
| | | |
|
| | |
| | |
| | |
| | | |
use_levelp, maybe_smallp in check_closed() are bool ptrs.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Update affected variables (ie. had_folded).
Add const to params to restrict usage.
TODO: refactor win_T.w_lines[idx].wl_folded from char to bool
|
| | |
| | |
| | |
| | |
| | | |
Combine declaration and initialization.
Refactor int variables, that use TRUE/FALSE macros (not MAYBE), to bool.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
- utf8 in helptags_one()
- this_utf in fix_help_buffer()
|
| | | |
|