Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
| * | | ex_cmds: add const to fix_help_buffer() variables | Jan Edmund Lazo | 2018-08-01 | |
| | | | ||||
| * | | hardcopy: refactor mch_print_start_line() | Jan Edmund Lazo | 2018-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 TriState | Jan Edmund Lazo | 2018-08-01 | |
| | | | ||||
| * | | fold: use_level,maybe_small are bool | Jan Edmund Lazo | 2018-08-01 | |
| | | | | | | | | | | | | use_levelp, maybe_smallp in check_closed() are bool ptrs. | |||
| * | | globals: virtual_op is TriState | Jan Edmund Lazo | 2018-08-01 | |
| | | | ||||
| * | | fold: recursive in deleteFoldEntry() is bool | Jan Edmund Lazo | 2018-08-01 | |
| | | | ||||
| * | | fold: fold_changed is bool | Jan Edmund Lazo | 2018-08-01 | |
| | | | ||||
| * | | fold: finish in foldUpdateIEMSRecurse() is bool | Jan Edmund Lazo | 2018-08-01 | |
| | | | ||||
| * | | screen: screen_cleared is TriState | Jan Edmund Lazo | 2018-08-01 | |
| | | | ||||
| * | | fold: lineFolded() is bool | Jan Edmund Lazo | 2018-08-01 | |
| | | | ||||
| * | | fold: check_closed() returns bool | Jan Edmund Lazo | 2018-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 Lazo | 2018-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 TriState | Jan Edmund Lazo | 2018-08-01 | |
| | | | ||||
| * | | edit: dont_sync_undo is TriState | Jan Edmund Lazo | 2018-08-01 | |
| | | | ||||
| * | | ex_cmds: refactor utf8 variables to TriState | Jan Edmund Lazo | 2018-08-01 | |
| | | | | | | | | | | | | | | | - utf8 in helptags_one() - this_utf in fix_help_buffer() | |||
| * | | menu: enable in ex_menu() is TriState | Jan Edmund Lazo | 2018-08-01 | |
| | | | ||||
| * | | fold: fold_T.fd_small is TriState | Jan Edmund Lazo | 2018-08-01 | |
| | | | ||||
| * | | diff: refactor diff_a_works to use TriState | Jan Edmund Lazo | 2018-08-01 | |
| | | | ||||
| * | | clint: detect MAYBE and recommend TriState | Jan Edmund Lazo | 2018-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.1541 | Justin M. Keyes | 2018-08-04 | |
|\ \ | ||||
| * | | syntax: syn_pattern.sp_syncing is bool | Jan Edmund Lazo | 2018-07-30 | |
| | | | ||||
| * | | syntax: add const to get_syntax_attr() params | Jan Edmund Lazo | 2018-07-30 | |
| | | | ||||
| * | | syntax: add const to syn_finish_line() params,vars | Jan Edmund Lazo | 2018-07-30 | |
| | | | ||||
| * | | syntax: did_header is bool | Jan Edmund Lazo | 2018-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_t | Jan Edmund Lazo | 2018-07-29 | |
| | | | ||||
| * | | syntax: scl_id is int | Jan Edmund Lazo | 2018-07-29 | |
| | | | ||||
| * | | syntax: refactor get_id_list() | Jan Edmund Lazo | 2018-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 Lazo | 2018-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 Lazo | 2018-07-29 | |
| | | | ||||
| * | | syntax: refactor syn_current_attr() | Jan Edmund Lazo | 2018-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'. | |||
| * | | syntax: use const on check_keyword_id() variables | Jan Edmund Lazo | 2018-07-29 | |
| | | | | | | | | | | | | | | | Declare and initialize variables as close as possible. Use const pointers without changing semantics if possible. | |||
| * | | syntax: syn_state.sst_next_list is int16_t* | Jan Edmund Lazo | 2018-07-29 | |
| | | | ||||
| * | | syntax: current_next_list is int16_t* | Jan Edmund Lazo | 2018-07-29 | |
| | | | ||||
| * | | syntax: update types of stateitem_T members | Jan Edmund Lazo | 2018-07-29 | |
| | | | | | | | | | | | | | | | Replace 'short' with 'int16_t' to match lint changes from 8.0.1541. Update ID_LIST_ALL to match type of stateitem_T.si_cont_list. | |||
| * | | syntax: use const on syn_list_keywords() variables | Jan Edmund Lazo | 2018-07-29 | |
| | | | ||||
| * | | syntax: update types for keyentry_T,sp_syn | Jan Edmund Lazo | 2018-07-29 | |
| | | | | | | | | | | | | Replace 'short' with 'int16_t' | |||
| * | | syntax: use const on copy_id_list() params,vars | Jan Edmund Lazo | 2018-07-29 | |
| | | | ||||
| * | | syntax: use const on add_keyword() params,vars | Jan Edmund Lazo | 2018-07-29 | |
| | | | ||||
| * | | syntax: update types of syn_opt_arg_T members | Jan Edmund Lazo | 2018-07-29 | |
| | | | | | | | | | | | | | | | Use bool, not int, for booleans. Use int16_t, not short, to match lint changes from patch 8.0.1541. | |||
| * | | syntax: use const on put_id_list() variables | Jan Edmund Lazo | 2018-07-29 | |
| | | | ||||
| * | | vim-patch:8.0.1541: synpat_T is taking too much memory | Jan Edmund Lazo | 2018-07-29 | |
| |/ | | | | | | | | | | | Problem: synpat_T is taking too much memory. Solution: Reorder members to reduce padding. (Dominique Pelle, closes vim/vim#2671) https://github.com/vim/vim/commit/36f923014a7eb7e24c4b0b88719cad14351e3a60 | |||
* | | Merge pull request #8660 from ↵ | Björn Linse | 2018-08-02 | |
|\ \ | |/ |/| | | | | | phodge/7688-nvim-buf-lines-should-return-empty-list-for-unloaded-buffer handle unloaded buffers in nvim_buf_*() functions | |||
| * | DOC: regenerate api docs | Peter Hodge | 2018-07-25 | |
| | | ||||
| * | DOC: add support for intro sections in api docs | Peter Hodge | 2018-07-25 | |
| | | ||||
| * | functests: tests related to operations on unloaded buffers #7688 | Peter Hodge | 2018-07-25 | |
| | | ||||
| * | API: update docs WRT behaviours/methods for unloaded buffers #7688 | Peter Hodge | 2018-07-25 | |
| | | ||||
| * | API: add nvim_buf_is_loaded() #7688 | Peter Hodge | 2018-07-25 | |
| | | ||||
| * | API: buf_get_lines, buf_line_count handle unloaded buffers #7688 | Peter Hodge | 2018-07-25 | |
| | | ||||
| * | cmake: bump API version | Peter Hodge | 2018-07-25 | |
| | | ||||
* | | system(): handle profiling and 'verbose' #8730 | Marcos Almeida | 2018-07-29 | |
| | | | | | | | | | | | | | | | | | | | | | | | | closes #8362 Vim's code calls `call_shell` directly from `get_system_output_as_rettv` whereas in Nvim this function has been rewritten to not call `call_shell` but to call `os_system` via `do_os_system`, losing the support for profiling and verbose. Changing the code to call `call_shell` from `get_system_output_as_rettv` seems to be too complicated to be worth it on the current version of the code. So this commit duplicates the relevant code. |