aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/screen.c
Commit message (Collapse)AuthorAge
* api/ext_tabline: `curtab` should be a Tabpage handle.Justin M. Keyes2017-04-28
|
* api/ext_tabline: List of Dicts.Justin M. Keyes2017-04-26
|
* api/ui: externalize tablineJustin M. Keyes2017-04-26
| | | | | | - Work with a bool[] array parallel to the UIWidget enum. - Rename some functions. - Documentation.
* api/ui: externalize tablineDongdong Zhou2017-04-26
|
* Merge #6550 from ZyX-I/pvs-check-commentJustin M. Keyes2017-04-20
|\
| * *: Add comment to all C filesZyX2017-04-19
| |
* | vim-patch:7.4.2152James McCoy2017-04-19
|/ | | | | | | Problem: No proper translation of messages with a count. Solution: Use ngettext(). (Sergey Alyoshin) https://github.com/vim/vim/commit/ee695f787ade7fd88fc5f5497553d95c0c3645b5
* *: Fix linter errorsZyX2017-04-16
|
* screen: Remove another portion of has_mbyte/friends-checking stuffZyX2017-04-16
|
* screen: Remove unneeded conditionZyX2017-04-16
| | | Already checked in outer if()
* screen: Silence NULL dereference false positiveZyX2017-04-16
| | | | Based on the loop condition when shl_flag is true cur != NULL.
* screen: Silence “buffer underflow” warningZyX2017-04-16
|
* screen: Remove unneeded checkZyX2017-04-16
|
* refactor: pos_T macros to functions (#6496)Felipe Oliveira Carvalho2017-04-11
|
* 'listchars': `Whitespace` highlight group #6367Yichao Zhou2017-04-03
|
* eval: Move remaining get_tv_string* functions to eval/typval.cZyX2017-03-29
|
* highlight: :match should override 'list' (#6343)Yichao Zhou2017-03-26
| | | Closes #4946
* vim-patch:8.0.0159Justin M. Keyes2017-03-22
| | | | | | | | | | | References #5406 Problem: Using a NULL pointer when using feedkeys() to trigger drawing a tabline. Solution: Skip drawing a tabline if TabPageIdxs is NULL. (Dominique Pelle) Also fix recursing into getcmdline() from the cmd window. https://github.com/vim/vim/commit/c695cec4698b41d7b9555efdd47dda9b1945d3ae
* vim-patch:8.0.0049Justin M. Keyes2017-03-22
| | | | | | | | | Problem: When a match ends in part of concealed text highlighting, it might mess up concealing by resetting prev_syntax_id. Solution: Do not reset prev_syntax_id and add a test to verify. (Christian Brabandt, closes vim/vim#1092) https://github.com/vim/vim/commit/2f97912800e86a296c001832bbbf2fc425f1e533
* Merge #6148 from delftswa2017/clang-scan-fix-dead-storesJustin M. Keyes2017-02-28
|\ | | | | vim-patch:8.0.0353
| * screen.c: remove dead codeSander Bosma2017-02-20
| | | | | | | | | | | | As stated in globals.h, mbyte flags are deprecated, and code using it can be refractored to remove dead code. Since has_mbyte is defined to true, this refractoring correct.
| * screen.c: account for translated string lengthJente Hidskes2017-02-20
| | | | | | | | | | | | | | | | | | | | `[RO]` is appended to the status line and `len` is increased with the length of this string (4). However, the string is marked for translation and may thus well be larger (or smaller) than 4. Therefore, we check the length at runtime. The resulting len is never actually used, and thus could be removed. However, by keeping this line, the body of this if-statement is kept consistent with surrounding code, and future changes can not forget to add this line when additional strings are added to p.
* | terminal: 'scrollback'Justin M. Keyes2017-02-26
|/ | | | Closes #2637
* *: Fix linter errorsZyX2017-02-15
|
* *: Partial string handling refactoringZyX2017-02-15
| | | | | | | | Main points: - Replace `char_u` with `char` in some cases. - Remove `str[len] = NUL` hack in some cases when `str` may be considered `const`.
* vim-patch:8.0.0275Justin M. Keyes2017-02-06
| | | | | | | | Problem: When checking for CTRL-C typed the GUI may detect a screen resize and redraw the screen, causing trouble. Solution: Set updating_screen in ui_breakcheck(). https://github.com/vim/vim/commit/e3caa1109072b9655f8d5103c92efd73177f8577
* vim-patch:8.0.0274Justin M. Keyes2017-02-04
| | | | | | | | Problem: When update_single_line() is called recursively, or another screen update happens while it is busy, errors may occur. Solution: Check and update updating_screen. (Christian Brabandt) https://github.com/vim/vim/commit/070b33da93ad3a191664bb61f5ccc50781460c03
* vim-patch:7.4.2099 (#5951)Shougo2017-01-15
| | | | | | | Problem: When a keymap is active only "(lang)" is displayed. (Ilya Dogolazky) Solution: Show the keymap name. (Dmitri Vereshchagin, closes vim/vim#933) https://github.com/vim/vim/commit/73ac0c4281a3606651604a3cbcc334bfb3859a87
* Merge pull request #5613 from jamessan/vim-7.4.2183James McCoy2017-01-01
|\ | | | | vim-patch:7.4.2183,7.4.2194,7.4.2201,7.4.2204,0952131,7.4.2215,7.4.2225,7.4.2226,7.4.2272,7.4.2273,7.4.2277,7.4.2294
| * lintJames McCoy2016-12-28
| |
| * vim-patch:7.4.2201Chris Lucas2016-12-28
| | | | | | | | | | | | | | Problem: The sign column disappears when the last sign is deleted. Solution: Add the 'signcolumn' option. (Christian Brabandt) https://github.com/vim/vim/commit/95ec9d6a6ab3117d60ff638670a803d43974ba51
* | vim-patch:7.4.1834 (#5854)Shougo2017-01-01
|/ | | | | | Problem: Possible crash when conceal is active. Solution: Check for the screen to be valid when redrawing a line. https://github.com/vim/vim/commit/908be438794619f10ef7fa25e24e5893b2ae0189
* vim-patch:8.0.0040Michael Ennen2016-12-07
| | | | | | | Problem: Whole line highlighting with matchaddpos() does not work. Solution: Check for zero length. (Hirohito Higashi) https://github.com/vim/vim/commit/8507747600bddfd6a68aed057840856bf5548e61
* vim-patch:8.0.0033Michael Ennen2016-12-06
| | | | | | | Problem: Cannot use overlapping positions with matchaddpos(). Solution: Check end of match. (Ozaki Kiichi) Add a test (Hirohito Higashi) https://github.com/vim/vim/commit/a6c27ee6db2c328e0ab0e6d143e2a295a0bb9c9a
* vim-patch:7.4.2269Michael Ennen2016-12-06
| | | | | | | | | Problem: Using 'hlsearch' highlighting instead of matchpos if there is no search match. Solution: Pass NULL as last item to next_search_hl() when searching for 'hlsearch' match. (Shane Harper, closes vim/vim#1013) https://github.com/vim/vim/commit/e17bdffff78ebd6a4e3cff26754cc667557ea810
* vim-patch:7.4.2217Michael Ennen2016-12-06
| | | | | | | | Problem: When using matchaddpos() a character after the end of the line can be highlighted. Solution: Only highlight existing characters. (Hirohito Higashi) https://github.com/vim/vim/commit/4f416e41243ca151b95d39d81ce23d00b1484755
* Merge pull request #5674 from brcolow/vim-7.4.1723James McCoy2016-12-01
|\ | | | | vim-patch:7.4.1723
| * vim-patch:7.4.1723Michael Ennen2016-11-26
| | | | | | | | | | | | | | | | Problem: When using try/catch in 'tabline' it is still considered an error and the tabline will be disabled. Solution: Check did_emsg instead of called_emsg. (haya14busa, closes #746) https://github.com/vim/vim/commit/f73d3bc253fa79ad220f52f04b93e782e95a9d43
* | Merge pull request #5665 from brcolow/vim-7.4.1711James McCoy2016-12-01
|\ \ | |/ |/| | | vim-patch:7.4.1711
| * vim-patch:7.4.1711Michael Ennen2016-11-25
| | | | | | | | | | | | | | | | Problem: When using try/catch in 'statusline' it is still considered an error and the status line will be disabled. Solution: Check did_emsg instead of called_emsg. (haya14busa, closes vim/vim#729) https://github.com/vim/vim/commit/a742e084b677f76c67e9e52c4f9fb9ab24002e20
* | vim-patch:7.4.1696Shougo Matsushita2016-11-24
|/ | | | | | | | Problem: When using :stopinsert in a silent mapping the "INSERT" message isn't cleared. (Coacher) Solution: Always clear the message. (Christian Brabandt, closes vim/vim#718) https://github.com/vim/vim/commit/fd773e9e88add7d1ffef890fb9f3a00d613b4326
* encoding: delete non-UTF-8 implementations of multibyte functionsBjörn Linse2016-11-05
| | | | Deleted documentation was duplicated at specific utf_ implementation
* encoding: cleanup mbyte.c given fixed encoding=utf-8Björn Linse2016-11-05
| | | | | | | | | Eliminate mb_init(): Set "enc_utf" and "has_mbyte" early. Eliminate "enc_unicode" and "enc_latin1like". init_chartab() and screenalloc() are already invoked elsewhere in the initialization process. The EncodingChanged autocmd cannot be triggered. At initialization, there is no spellfiles to reload
* vim-patch:7.4.2109 (#5518)Michael Ennen2016-10-25
| | | | | | | | | | vim-patch:7.4.2109 Problem: Setting 'display' to "lastline" is a drastic change, while omitting it results in lots of "@" lines. Solution: Add "truncate" to show "@@@" for a truncated line. https://github.com/vim/vim/commit/ad9c2a08f0509294269a2f11a59a438b944bdd5a
* vim-patch:7.4.1740Nova2016-09-22
| | | | | | | | Problem: syn-cchar defined with matchadd() does not appear if there are no other syntax definitions which matches buffer text. Solution: Check for startcol. (Ozaki Kiichi, haya14busa, closes vim/vim#757) https://github.com/vim/vim/commit/4d585022023b96f6507e8cae5ed8fc8d926f5140
* refactor: eliminate misc2.cJustin M. Keyes2016-09-13
| | | | | | | | | | move `call_shell` to misc1.c Move some fns to state.c Move some fns to option.c Move some fns to memline.c Move `vim_chdir*` fns to file_search.c Move some fns to new module, bytes.c Move some fns to fileio.c
* api/ui: allow popupmenu to be drawn by external uiBjörn Linse2016-08-29
|
* LintingTommy Allen2016-08-17
|
* highlight: Added QuickFixLine highlight groupTommy Allen2016-08-17
| | | | | | | | | | | | - Links to Search by default screen.c: Combine CursorLine with QuickFixLine - HLF_QFL takes priority over HLF_CUL docs: Updated to mention QuickFixLine runtime: Added QuickFixLine to nvimHLGroup tests: QuickFixLine highlight
* vim-patch:7.4.1147 (#5005)prollings2016-07-10
| | | | | | | Problem: Conflict for "chartab". (Kazunobu Kuriyama) Solution: Rename the global one to something less obvious. Move it into src/chartab.c. https://github.com/vim/vim/commit/88e8f9f14434a7cd538d0c159dc432bea869a5bd