aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | 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'.
| * | syntax: use const on check_keyword_id() variablesJan Edmund Lazo2018-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 Lazo2018-07-29
| | |
| * | syntax: current_next_list is int16_t*Jan Edmund Lazo2018-07-29
| | |
| * | syntax: update types of stateitem_T membersJan Edmund Lazo2018-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() variablesJan Edmund Lazo2018-07-29
| | |
| * | syntax: update types for keyentry_T,sp_synJan Edmund Lazo2018-07-29
| | | | | | | | | | | | Replace 'short' with 'int16_t'
| * | syntax: use const on copy_id_list() params,varsJan Edmund Lazo2018-07-29
| | |
| * | syntax: use const on add_keyword() params,varsJan Edmund Lazo2018-07-29
| | |
| * | syntax: update types of syn_opt_arg_T membersJan Edmund Lazo2018-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() variablesJan Edmund Lazo2018-07-29
| | |
| * | vim-patch:8.0.1541: synpat_T is taking too much memoryJan Edmund Lazo2018-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 Linse2018-08-02
|\ \ | |/ |/| | | | | phodge/7688-nvim-buf-lines-should-return-empty-list-for-unloaded-buffer handle unloaded buffers in nvim_buf_*() functions
| * API: update docs WRT behaviours/methods for unloaded buffers #7688Peter Hodge2018-07-25
| |
| * API: add nvim_buf_is_loaded() #7688Peter Hodge2018-07-25
| |
| * API: buf_get_lines, buf_line_count handle unloaded buffers #7688Peter Hodge2018-07-25
| |
* | system(): handle profiling and 'verbose' #8730Marcos Almeida2018-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.
* | Merge pull request #8770 from janlazo/vim-8.0.0726Justin M. Keyes2018-07-29
|\ \
| * | vim-patch:8.1.0111: .po files do not use recommended namesJan Edmund Lazo2018-07-23
| | | | | | | | | | | | | | | | | | | | | Problem: .po files do not use recommended names. Solution: Give a warning if the recommended name is not used. Accept the recommended name for conversion. (Christian Brabandt, Ken Takata) https://github.com/vim/vim/commit/d1d037e90192ab64e4cec00b9d008b33bc69d979
| * | vim-patch:8.0.1839: script to check .po file doesn't check for plural headerJan Edmund Lazo2018-07-23
| | | | | | | | | | | | | | | | | | Problem: Script to check .po file doesn't check for plural header. Solution: Add a check that the plural header is present when needed. https://github.com/vim/vim/commit/9cfc7d885cb3bf37362b11df19a38992893fb385
| * | vim-patch:8.0.1778: script to check translations does not always workJan Edmund Lazo2018-07-23
| | | | | | | | | | | | | | | | | | Problem: Script to check translations does not always work. Solution: Go to first line before searching for MIME. https://github.com/vim/vim/commit/b07bbb0d29493fcf4ed080fe018535e64441d663
| * | vim-patch:8.0.0835: translations check with msgfmt does not workJan Edmund Lazo2018-07-23
| | | | | | | | | | | | | | | | | | Problem: Translations check with msgfmt does not work. Solution: Add a space before the file name. https://github.com/vim/vim/commit/65cedb2074ce550d20a3069c200e2a5d4061d3f6
| * | vim-patch:8.0.0830: translating messages is not idealJan Edmund Lazo2018-07-23
| | | | | | | | | | | | | | | | | | | | | Problem: Translating messages is not ideal. Solution: Add a remark about obsolete messages. Use msgfmt in the check script. (Christian Brabandt) https://github.com/vim/vim/commit/aaef1bae3cc331e7a7bb9c698e707c90cd4ded15
| * | vim-patch:8.0.0794: checking translations fails with multiple NLJan Edmund Lazo2018-07-23
| | | | | | | | | | | | | | | | | | | | | Problem: The script to check translations fails if there is more than one NL in one line. Solution: Count the number of NL characters. Make count() accept a string. https://github.com/vim/vim/commit/9966b21a57277986217aa28237d6c247ebd060d7
| * | vim-patch:8.0.0734: the script to check translations can be improvedJan Edmund Lazo2018-07-23
| | | | | | | | | | | | | | | | | | | | | Problem: The script to check translations can be improved. Solution: Restore the view when no errors are found. Check for matching line break at the end of the message. (Christian Brabandt) https://github.com/vim/vim/commit/7f93703149a46980f1588ff6b819f52e13084141
| * | vim-patch:8.0.0726: translations cleanup script is too conservativeJan Edmund Lazo2018-07-23
| | | | | | | | | | | | | | | | | | Problem: Translations cleanup script is too conservative. Solution: Also delete untranslated messages. https://github.com/vim/vim/commit/4d2ba822fd80f5b5ff6d9195a5f0fd802aabf304
* | | log.c: Fix possible truncation in buffer (#8791)hyatskov2018-07-29
| | |
* | | lintJan Edmund Lazo2018-07-27
| | |
* | | screen: add const and reindent update_debug_signs()Jan Edmund Lazo2018-07-27
| | |
* | | vim-patch:8.0.0837: signs can be drawn on top of console messagesJan Edmund Lazo2018-07-27
| | | | | | | | | | | | | | | | | | | | | Problem: Signs can be drawn on top of console messages. Solution: don't redraw at a prompt or when scrolled up. (Christian Brabandt, closes vim/vim#1907) https://github.com/vim/vim/commit/0792048842493f224bbd7a5dfb348d834f61b205
* | | Merge pull request #8789 from bfredl/updatehlBjörn Linse2018-07-27
|\ \ \ | | | | | | | | screen.c: add update_window_hl to special redrawing entrypoints, fixes a crash
| * | | screen.c: add update_window_hl to special redrawing entrypointsBjörn Linse2018-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following (run as a script) used to cause a crash due to :sign using a special redraw (not updating nvim's specific highlight data structures) without proper redraw first, as split just flags for redraw later. set cursorline sign define piet text=>> texthl=Search split sign place 3 line=2 name=piet buffer=1
* | | | Merge pull request #8767 from janlazo/vim-8.0.0493James McCoy2018-07-27
|\ \ \ \ | | | | | | | | | | [RDY] vim-patch:8.0.0493
| * | | | file_search: free stackp if vim_findfile() failedJan Edmund Lazo2018-07-24
| | | | | | | | | | | | | | | | | | | | | | | | | ff_free_stack_element() accepts NULL ptr and returns early. This removes the need to check if stackp is not NULL.
| * | | | vim-patch:8.0.0493: crash with cd command with very long argumentJan Edmund Lazo2018-07-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash with cd command with very long argument. Solution: Check for running out of space. (Dominique Pellé, closes vim/vim#1576) https://github.com/vim/vim/commit/15618fa643867cf0d9c31f327022a22dff78a0cf