aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* vim-patch:8.0.1446: acessing freed memory after window command in auto commandJan Edmund Lazo2018-08-06
| | | | | | | | Problem: Acessing freed memory after window command in auto command. (gy741) Solution: Adjust the pointer in the parent frame. (Christian Brabandt, closes vim/vim#2467) https://github.com/vim/vim/commit/6f361c991221e96d5068c77b854967d997b1529b
* vim-patch:8.0.1579: virtual replace test fails in GUIJan Edmund Lazo2018-08-06
| | | | | | Problem: Virtual replace test fails in GUI. Solution: Don't save key options if they were not set. https://github.com/vim/vim/commit/df0d24b62742edd3ea73795b96a771501e642970
* vim-patch:8.0.1577: virtual replace test fails on MS-WindowsJan Edmund Lazo2018-08-06
| | | | | | | Problem: Virtual replace test fails on MS-Windows. Solution: Make adding a termcap entry work for a builtin terminal. Restore terminal keys in a better way. https://github.com/vim/vim/commit/e7808481507b9e11ae73c8f865e95eb2d20f6cc8
* vim-patch:8.0.1575: crash when using virtual replaceJan Edmund Lazo2018-08-06
| | | | | | Problem: Crash when using virtual replace. Solution: Adjust orig_line_count. Add more tests. (Christian Brabandt) https://github.com/vim/vim/commit/63e82db6fc910b2d8f1cd018894e50e8b4448155
* vim-patch:8.0.0879: crash when shifting with huge numberJan Edmund Lazo2018-08-06
| | | | | | Problem: Crash when shifting with huge number. Solution: Check for overflow. (Dominique Pelle, closes vim/vim#1945) https://github.com/vim/vim/commit/bae5a17a738d1a3b5c51d9aa5d99e228d3911955
* vim-patch:8.0.1601: highlight test fails on Win32Jan Edmund Lazo2018-08-06
| | | | | | Problem: Highlight test fails on Win32. Solution: Check for vtp and vcon support. https://github.com/vim/vim/commit/ff1e8795772a0175017c4c4f74ce33614ea8e73a
* vim-patch:8.0.1600: crash when setting t_Co to zero when 'termguicolors' is setJan Edmund Lazo2018-08-06
| | | | | | | Problem: Crash when setting t_Co to zero when 'termguicolors' is set. Solution: Use IS_CTERM instead of checking the number of colors. (closes vim/vim#2710) https://github.com/vim/vim/commit/f708ac592f47100a36f2bc12ec98ea6357fdfa27
* vim-patch:8.0.1169: highlignting one char too many with 'list' and 'cul'Jan Edmund Lazo2018-08-06
| | | | | | Problem: Highlignting one char too many with 'list' and 'cul'. Solution: Check for 'list' being active. (Ozaki Kiichi, closes vim/vim#2177) https://github.com/vim/vim/commit/5ece3e359c4b96d0f9bf1ce690223545f40f34b8
* vim-patch:8.0.1168: wrong highlighting with combination of match and ↵Jan Edmund Lazo2018-08-06
| | | | | | | | | 'cursorline' Problem: wrong highlighting with combination of match and 'cursorline'. Solution: Use "line_attr" when appropriate. (Ozaki Kiichi, closes vim/vim#2111) But don't highlight more than one character. https://github.com/vim/vim/commit/0aa398f55a327282c70f56e0bac2dcb9521da378
* vim-patch:8.0.1216: tabline is not always updated for :file commandJan Edmund Lazo2018-08-06
| | | | | | Problem: Tabline is not always updated for :file command. (Norio Takagi) Solution: Set redraw_tabline. (Hirohito Higashi) https://github.com/vim/vim/commit/6ce650480844bfaa5410874416b4a2e15f40b870
* vim-patch:8.0.1160: getting tab-local variable fails after closing windowJan Edmund Lazo2018-08-06
| | | | | | Problem: Getting tab-local variable fails after closing window. Solution: set tp_firstwin and tp_lastwin. (Jason Franklin, closes vim/vim#2170) https://github.com/vim/vim/commit/816968defc8ae79eb7e2319e991e74661be8d750
* vim-patch:8.0.0890: still many old style testsJan Edmund Lazo2018-08-06
| | | | | | Problem: Still many old style tests. Solution: Convert several tests to new style. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/75373f38087dd756babdbbf9f14fd4711712c5de
* Merge #8820 from janlazo/vim-8.0.0671Justin M. Keyes2018-08-06
|\
| * lintJan Edmund Lazo2018-08-06
| |
| * globals: did_ai is boolJan Edmund Lazo2018-08-06
| |
| * globals: did_si is boolJan Edmund Lazo2018-08-06
| |
| * globals: can_si is boolJan Edmund Lazo2018-08-06
| |
| * globals: can_si_back is boolJan Edmund Lazo2018-08-06
| |
| * edit: haveto_redraw (local variable) is boolJan Edmund Lazo2018-08-06
| |
| * edit: can_cindent is boolJan Edmund Lazo2018-08-06
| |
| * edit: fix variables in ins_mousescroll()Jan Edmund Lazo2018-08-06
| | | | | | | | | | | | Declare and initialize them on same line. Add const if possible. Refactor 'did_scroll' local variable from int to bool.
| * globals: typebuf_was_filled is boolJan Edmund Lazo2018-08-06
| |
| * vim-patch:8.0.1507: timer test is a bit flakyJan Edmund Lazo2018-08-05
| | | | | | | | | | | | Problem: Timer test is a bit flaky. Solution: Add it to the list of flaky tests. https://github.com/vim/vim/commit/bfbea567d89fdaa08ed987fd80daa53a6ce399d1
| * vim-patch:8.0.0948: crash if timer closes window while dragging status lineJan Edmund Lazo2018-08-05
| | | | | | | | | | | | | | 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
| * vim-patch:8.0.0722: screen is messed by timer up at inputlist() promptJan Edmund Lazo2018-08-05
| | | | | | | | | | | | 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
| * vim-patch:8.0.0671: hang when typing CTRL-C in confirm() in timerJan Edmund Lazo2018-08-05
| | | | | | | | | | | | | | 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
* | vim-patch:8.1.0240: g:actual_curbuf set in wrong scope (#8818)Daniel Hahler2018-08-06
|/ | | | | 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
* eval, ex_getln: Fix incompatible pointer types (#8792)hyatskov2018-08-05
| | | | | | | | | | | 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,
* syntax.h: fix include #8742Justin M. Keyes2018-08-05
|
* Merge #8742 vim-patch:8.0.0791,0831,1072,1078,1088Justin M. Keyes2018-08-04
|\
| * vim-patch:8.0.1088: occasional memory use after freeJan Edmund Lazo2018-07-29
| | | | | | | | | | | | Problem: Occasional memory use after free. Solution: Use the highlight table directly, don't keep a pointer. https://github.com/vim/vim/commit/414168d97fad45387a3d7dd16449d15b27079ad8
| * vim-patch:8.0.1078: using freed memory with ":hi Normal"Jan Edmund Lazo2018-07-29
| | | | | | | | | | | | Problem: Using freed memory with ":hi Normal". Solution: Get "item" again after updating the table. https://github.com/vim/vim/commit/b4ea1914b8ca7c368253bd96e6b3cb9e3392da1c
| * vim-patch:8.0.1072: :highlight command causes a redraw even when nothing changedJan Edmund Lazo2018-07-29
| | | | | | | | | | | | 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
| * vim-patch:8.0.0831: with 8 colors the bold attribute is not set properlyJan Edmund Lazo2018-07-29
| | | | | | | | | | | | | | | | 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.
| * vim-patch:8.0.0791: terminal colors depend on the systemJan Edmund Lazo2018-07-29
| | | | | | | | | | | | Problem: Terminal colors depend on the system. Solution: Use the highlight color lookup tables. https://github.com/vim/vim/commit/b41bf8e6b45a773456031954bca1bc4212cbffbe
* | Merge #8749 from janlazo/clint-tristateJustin M. Keyes2018-08-04
|\ \
| * | misc: refactor plines_win{,_nofill}()Jan Edmund Lazo2018-08-02
| | | | | | | | | | | | | | | Add const to params and variables (declare and init on same line). winheight (param) is bool so replace TRUE/FALSE macros with true/false.
| * | fold: add const to foldSplit() variablesJan Edmund Lazo2018-08-02
| | |
| * | fold: add const to foldUpdateIEMSRecurse() varsJan Edmund Lazo2018-08-02
| | |
| * | fold: add const to foldUpdateIEMS() variablesJan Edmund Lazo2018-08-02
| | |
| * | fold: add const to checkSmall() variablesJan Edmund Lazo2018-08-02
| | |
| * | fold: declare and init vars in deleteFoldEntry()Jan Edmund Lazo2018-08-02
| | | | | | | | | | | | Use sizeof() on pointer value, not explicit type, for memmove.
| * | fold: add const to foldMoveTo() variablesJan Edmund Lazo2018-08-02
| | | | | | | | | | | | Declare and initialize variables on same line if possible.
| * | fold: add const to deleteFold() variablesJan Edmund Lazo2018-08-02
| | | | | | | | | | | | Declare and initialize variables on same line if possible.
| * | fold: add const to hasFoldingWin() variablesJan Edmund Lazo2018-08-02
| | | | | | | | | | | | cache is bool so update callers to pass true/false, not TRUE/FALSE.
| * | ex_cmds: add const to helptags_one() variablesJan Edmund Lazo2018-08-01
| | |
| * | ex_cmds: add const to fix_help_buffer() variablesJan Edmund Lazo2018-08-01
| | |
| * | hardcopy: refactor mch_print_start_line()Jan Edmund Lazo2018-08-01
| | | | | | | | | | | | | | | | | | | | | | | | Refactor the following affected functions: - prt_line_number() - prt_header() These use prt_set_font(), refactored in 872a76f3dac14fdcb7dc7b34cecd3acb4370d56f for TriState.
| * | hardcopy: bold,italic,underline are TriStateJan Edmund Lazo2018-08-01
| | |
| * | fold: use_level,maybe_small are boolJan Edmund Lazo2018-08-01
| | | | | | | | | | | | use_levelp, maybe_smallp in check_closed() are bool ptrs.