aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | | 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.
| * | globals: virtual_op is TriStateJan Edmund Lazo2018-08-01
| | |
| * | fold: recursive in deleteFoldEntry() is boolJan Edmund Lazo2018-08-01
| | |
| * | fold: fold_changed is boolJan Edmund Lazo2018-08-01
| | |
| * | fold: finish in foldUpdateIEMSRecurse() is boolJan Edmund Lazo2018-08-01
| | |
| * | screen: screen_cleared is TriStateJan Edmund Lazo2018-08-01
| | |
| * | fold: lineFolded() is boolJan Edmund Lazo2018-08-01
| | |
| * | fold: check_closed() returns boolJan Edmund Lazo2018-08-01
| | | | | | | | | | | | | | | | | | | | | 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
| * | search: refactor variables in findmatchlimit()Jan Edmund Lazo2018-08-01
| | | | | | | | | | | | | | | Combine declaration and initialization. Refactor int variables, that use TRUE/FALSE macros (not MAYBE), to bool.
| * | search: start_in_quotes in findmatchlimit is TriStateJan Edmund Lazo2018-08-01
| | |
| * | edit: dont_sync_undo is TriStateJan Edmund Lazo2018-08-01
| | |
| * | ex_cmds: refactor utf8 variables to TriStateJan Edmund Lazo2018-08-01
| | | | | | | | | | | | | | | - utf8 in helptags_one() - this_utf in fix_help_buffer()
| * | menu: enable in ex_menu() is TriStateJan Edmund Lazo2018-08-01
| | |
| * | fold: fold_T.fd_small is TriStateJan Edmund Lazo2018-08-01
| | |
| * | diff: refactor diff_a_works to use TriStateJan Edmund Lazo2018-08-01
| | |
| * | clint: detect MAYBE and recommend TriStateJan Edmund Lazo2018-08-01
| |/ | | | | | | | | Vim uses MAYBE for 3-value boolean with FALSE/TRUE/MAYBE. Use TriState type instead to restrict to 3 values, kFalse/kTrue/kNone.
* | Merge #8799 from janlazo/nvim-8.0.1541Justin M. Keyes2018-08-04
|\ \
| * | syntax: syn_pattern.sp_syncing is boolJan Edmund Lazo2018-07-30
| | |
| * | syntax: add const to get_syntax_attr() paramsJan Edmund Lazo2018-07-30
| | |
| * | syntax: add const to syn_finish_line() params,varsJan Edmund Lazo2018-07-30
| | |
| * | syntax: did_header is boolJan Edmund Lazo2018-07-29
| | | | | | | | | | | | | | | | | | | | | Refactor all affected functions: - add const - declare and initialize on same line - update boolean declarations from int with bool
| * | syntax: disptick_T is uint16_tJan Edmund Lazo2018-07-29
| | |
| * | syntax: scl_id is intJan Edmund Lazo2018-07-29
| | |
| * | syntax: refactor get_id_list()Jan Edmund Lazo2018-07-29
| | | | | | | | | | | | | | | | | | Add const to parameters and variables. Declare and init variables on same line. Use `sizeof(*ptr)` to calculate size for malloc().
| * | syntax: refactor syn_combine_list()Jan Edmund Lazo2018-07-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add const on parameters and variables. Update declarations to avoid typecasts. Use `sizeof(*ptr)` for malloc() to reduce effect of type changes. ie. short to int16_t Update syn_compare_stub() variable declarations for consistency.
| * | syntax: syn_cluster_T.scl_list is int16_t*Jan Edmund Lazo2018-07-29
| | |
| * | syntax: refactor syn_current_attr()Jan Edmund Lazo2018-07-29
| | | | | | | | | | | | | | | | | | | | | Declare and initialize variables on same line if possible. Add const to parameters and variables. Use bool for any parameter,variable using TRUE/FALSE macros. Replace 'short' type with 'int16_t'.