aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui
Commit message (Collapse)AuthorAge
* 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
* tests: add test for switching tabpage right after scrollBjörn Linse2018-07-24
|
* test: assert scroll region state for clearBjörn Linse2018-07-24
| | | | some clients assume this, so tests should check it
* tests: test for redrawing tabline when msgsep marker goes outside screenBjörn Linse2018-07-24
|
* ui: add tests for hlstate extensionBjörn Linse2018-07-21
|
* ui: use line-based rather than char-based updates in screen.cBjörn Linse2018-07-21
| | | | | | | | | | | | | Add ext_newgrid and ext_hlstate extensions. These use predefined highlights and line-segment based updates, for efficiency and simplicity.. The ext_hlstate extension in addition allows semantic identification of builtin and syntax highlights. Reimplement the old char-based updates in the remote UI layer, for compatibility. For the moment, this is still the default. The bulitin TUI uses the new line-based protocol. cmdline uses curwin cursor position when ext_cmdline is active.
* highlight: refactor to use stateful representationBjörn Linse2018-07-21
| | | | | This allows us to keep track of the source higlight groups, and not only the final combined highlights.
* Merge pull request #8721 from bfredl/quickresizeBjörn Linse2018-07-12
|\ | | | | Fix redrawing issues with narrow screen and remove extra wait in resize tests
| * screen: truncate showmode messagesBjörn Linse2018-07-12
| | | | | | | | | | Before this, bottom of screen got messed up when modemsg (+ one extra space to not force terminal scroll) didn't fit on one line.
| * tests/screen.lua: treat "resize" like any other eventBjörn Linse2018-07-11
| | | | | | | | Saves ~10 seconds in UI tests
* | transstr_buf: fix length comparison #8681Michael Hoffmann2018-07-10
|/ | | | | | | | | | | | | | | closes #8466 closes #8664 Regression by 0d7daaad98d5. - Fix length comparison. - Fix loop(s) which iterated over all fields of array `pcc` even if it was not filled up (try unicode 0x9f as statusline character). Note about the tests: - To input unicode with more than two hex digits you can use <C-v>U...: a + U+fe20: a︠ a + U+fe20 + U+fe21: a︠︡
* highlight: high-priority CursorLine if fg is set. #8578Yichao Zhou2018-06-28
| | | | | | | | | | | | closes #7383 closes #7715 This implements the compromise described in #7383: * low-priority CursorLine if foreground is not set * high-priority ("same as Vim" priority) CursorLine if foreground is set ref d1874ab2821d076397290cc154d87ec2dc352c79 ref 56eda2aa17c80ba380b606f9466f288fb8162dd3
* defaults: shortmess+=F (#8619)Justin M. Keyes2018-06-22
| | | | | | Because we default to laststatus=2 (statusline is always visible), the :edit message is not useful. ref #6289
* vim-patch:8.0.0609: some people still don't know how to quit (#8571)Jan Edmund Lazo2018-06-17
| | | | | | | | Problem: For some people the hint about quitting is not sufficient. Solution: Put <Enter> separately. Also use ":qa!" to get out even when there are changes. https://github.com/vim/vim/commit/28a8193e3113f676f89fb6312b099d849df881d3
* functionaltest: Use octal escapes for printfJames McCoy2018-06-13
| | | | | | | | According to POSIX[0], only octal escapes are supported by the printf command. GNU coreutils' printf and some shells' builtin printf versions which support hex escapes, but dash and non-GNU printf do not. [0]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/printf.html
* options: remove 'maxcombine` option (always use 6)Björn Linse2018-06-13
|
* test/ui: doublewidth rendering. multibyte and cmdwin chars in folded lines ↵Björn Linse2018-06-12
| | | | (#8534)
* ex_getln: don't redraw statusline on top of scrolled messagesBjörn Linse2018-06-02
|
* wildmenu: close before redrawing statusline (#8453)Alexander Karle2018-06-02
| | | Fixes #8385
* test: inccommand_spec: retry unreliable test (#8311)Justin M. Keyes2018-05-18
|
* UI: redraw statusline when entering cmdline (#8347)raichoo2018-05-10
|
* Merge pull request #8358 from mhinz/screenJames McCoy2018-05-04
|\ | | | | [RFC] screen: avoid artifacts
| * test: screen artifactsMarco Hinz2018-05-04
| |
* | messages: redraw tabline if it was overdrawn by messagesBjörn Linse2018-05-04
|/ | | | | | | fixes #8354 Regression from #8088, where we try to avoid clearing the screen if not absolutely necessary
* inccommand: pause :terminal redraws (#8307)Justin M. Keyes2018-04-22
| | | fix #5584
* inccommand: do not execute trailing commands #8256Nimit Bhardwaj2018-04-21
| | | | fix #7494
* terminal: do not call redraw_buf_later() (#8306)Justin M. Keyes2018-04-21
| | | fixes #8290
* events: VimSuspend, VimResume #8280geekodour2018-04-15
| | | | | closes #3648 ref #5959
* test/util: expect_err() (#8257)Justin M. Keyes2018-04-11
| | | other cleanup, ref #8245
* test/API: validate channel arg (#8245)Justin M. Keyes2018-04-08
|
* screen: winhl=Normal:Background should not override syntax (#8093)Björn Linse2018-04-02
| | | fixes #7375
* msg: do not scroll entire screen (#8088)Björn Linse2018-03-31
|
* TUI: implement "standout" attribute #8081Nimit Bhardwaj2018-03-27
| | | | closes #8054
* *: Make sure that !did_throw implies !current_exceptionZyX2018-03-25
| | | | Fixes #7876
* test: rename next_message() to next_msg()Justin M. Keyes2018-03-11
|
* message: don't output unprintable chars to screenBjörn Linse2018-03-04
| | | | fixes #7586 #8070
* 'fillchars': fix defaults logic; handle ambiwidth=double #7986Matthieu Coudron2018-02-23
| | | | Update tests.
* test: win: emulate yes with for loopJan Edmund Lazo2018-02-19
|
* test: win: enable ui/wildmode_spec.luaJan Edmund Lazo2018-02-19
|
* Merge pull request #8008 from bfredl/arrayfreeBjörn Linse2018-02-14
|\ | | | | ex_getln: clear cmdline_block after it's freed
| * ex_getln: clear cmdline_block after it's freedBjörn Linse2018-02-14
| |
* | ui: refactor ui optionsBjörn Linse2018-02-13
|/
* Merge #7939 "fix crash: 'spell' and long lines"Justin M. Keyes2018-02-11
|\
| * Merge #7939 "fix crash: 'spell' and long lines"Justin M. Keyes2018-02-11
| |\ | | | | | | | | | closes #7937
| | * screen.c: resolve neovim issue #7937Michael Brailsford2018-02-07
| | |
* | | ui/tui: highlighting refactorBjörn Linse2018-02-11
|/ / | | | | | | | | | | | | | | Make HlAttr contain highlighting state for both color modes (cterm and rgb). This allows us to implement termguicolors completely in the TUI. Simplify some logic duplicated between ui.c and screen.c. Also avoid some superfluous highlighting reset events.
* | win: enable backtick_expansion and shell output testsJan Edmund Lazo2018-02-10
| |
* | shell: handle split-up UTF-8 sequencesBjörn Linse2018-02-10
| |
* | tests: integrate ex_cmds/bang_filter_spec into ui/output_specBjörn Linse2018-02-10
| | | | | | | | they test the same thing. Filtering is tested elsewhere.
* | shell: support bellBjörn Linse2018-02-10
| |