aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui
Commit message (Collapse)AuthorAge
...
| * win_redr_status(): skip if wildmenu is showingJustin M. Keyes2017-08-05
| | | | | | | | | | | | | | | | | | | | | | | | This might be too coarse, but it passes all tests ... A more nuanced approach might be: only skip the windows whose statuslines are overwritten by the wildmenu. Closes #2255 Closes #7108 vim-patch:8.0.0710 N/A because of the changes in this commit.
* | Merge branch 'master' into colored-cmdlineZyX2017-07-31
|\|
| * test: mouse_spec: remove obnoxious wait times (#7029)Justin M. Keyes2017-07-15
| | | | | | | | | | helpers.skip_fragile() already skips the problematic tests on the ASan build. But the 15s timeout plus 5s 'mousetime' cause the tests to take 1+ minutes anyways.
* | ex_getln: Cache highlight callback calling resultsZyX2017-07-26
| |
* | functests: Add sleep to <C-c> testZyX2017-07-18
| |
* | functests: Test input() nesting supportZyX2017-07-18
| |
* | functests: Check for previously unchecked errorsZyX2017-07-18
| |
* | ex_getln: Check prev_prompt_errors before running redrawcmdlineZyX2017-07-18
| | | | | | | | Otherwise there will be infinite recursion and shortly a crash. Running redrawcmdline recursively occurs under color_cmdline_error label.
* | api helpers: Also save and restore did_emsgZyX2017-07-18
| |
* | ex_getln: Do not goto color_cmdline_end without first cleaning upZyX2017-07-17
| | | | | | | | | | | | | | The issue with debug mode was actually not cleaning up after `try_enter`: location `&tstate` was pointing to got invalidated and received some “garbage” (actually, values that got stored on the stack afterwards). But pointer to that garbage was still stored in `msg_list`, so next attempt to check it resulted in a crash.
* | Merge branch 'master' into colored-cmdlineZyX2017-07-15
|\|
| * inccommand: improve performance #6949KillTheMule2017-07-08
| | | | | | | | | | | | | | | | During a preview, we can stop looking for matches after we got enough lines for the preview buffer. Because of this perf improvement, the 'redrawtime' test needs to be slowed down in a different way: _long_ lines instead of just many lines.
* | ex_getln: Save and restore try stateZyX2017-07-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: when processing cycle such as :for pat in [' \ze*', ' \zs*'] : try : let l = matchlist('x x', pat) : $put ='E888 NOT detected for ' . pat : catch : $put ='E888 detected for ' . pat : endtry :endfor `:let l = …` throwing an error causes this error to be caught after color_cmdline attempts to get callback for highlighting next line (the one with `$put = 'E888 NOT…`). Saving/restoring state prevents this from happening.
* | ex_getln: Do not make <C-c> interrupt input() after interrupting hl cbZyX2017-06-28
| |
* | ex_getln: Fix “echoerr msg not shown” problemZyX2017-06-28
| | | | | | | | | | This also attempted to fix problem with cancelling input() on error by avoiding standard error printing facilities (assumed thrown error message is the problem), but with no luck so far.
* | functests: Uncomment `{REDRAW}` part of “works” testZyX2017-06-28
| |
* | functests: Partially uncomment <C-c> testZyX2017-06-28
| |
* | ex_getln: Call highlight callback inside :tryZyX2017-06-28
| |
* | functests: Make “stops executing callback” test workZyX2017-06-28
| | | | | | | | Needed to be adjusted to use input() (previously relied on side-effects of executing `:cmd`) and dismiss something (hidden “Press ENTER” message?).
* | functests: Fix typoZyX2017-06-28
| |
* | functests: Make tests work with input()ZyX2017-06-27
| | | | | | There are still some issues: specifically, new “pending” test hangs busted.
* | functests: Comment out failing testZyX2017-06-27
| |
* | functests: Abstract away some ways to enter cmdline coloring modeZyX2017-06-27
| | | | | | | | Reason: should actually switch to using input() coloring because other coloring variants are eventually going away.
* | eval,ex_getln: Add support for coloring input() promptsZyX2017-06-27
| |
* | ex_getln: Add some more tests, fix some found errorsZyX2017-06-27
| |
* | functests: Start adding some testsZyX2017-06-27
|/
* functests: Fix screen.lua supplying dedent additional argumentZyX2017-06-21
|
* screen.c: make more highlights window specificBjörn Linse2017-06-14
|
* options: make 'highlight' read-onlyBjörn Linse2017-05-15
|
* tests: Add tests for vim_strchrZyX2017-05-09
|
* tests: add basic test for 'winhighlight`Björn Linse2017-05-08
|
* options: allow different highlights in windowsBjörn Linse2017-05-08
|
* Use vim_strchr(s, c) when c may be NUL (#6656)James McCoy2017-05-03
| | | | | | | | | | | As part of the refactoring in #5119, some vim_strchr() were changed to strchr(). However, vim_strchr() behaves differently than strchr() when c is NUL, returning NULL instead of a pointer to the NUL. Revert the strchr() calls where it isn't known whether c is NUL, since this causes a semantic change the surrounding code doesn't expect. In the case of #6650, this led to a heap overrun. Closes #6650
* 'guicursor': No color/blink by defaultJustin M. Keyes2017-04-30
| | | | Closes #6577
* api/ext_tabline: `curtab` should be a Tabpage handle.Justin M. Keyes2017-04-28
|
* test: inccommand_spec: Avoid indeterminism. (#6592)Justin M. Keyes2017-04-26
|
* api/ext_tabline: List of Dicts.Justin M. Keyes2017-04-26
|
* api: nvim_ui_attach(): Flatten ext_* options.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
|
* test: api: Do not truncate errors <1 MB.Justin M. Keyes2017-04-23
|
* ui: use an array for mode stylesBjörn Linse2017-04-21
|
* ui: add tests for new cursor shape modesBjörn Linse2017-04-21
|
* test: Cursor after `:hi clear|syntax reset`Justin M. Keyes2017-04-17
| | | | Also enable tests on Windows.
* test: helpers.execute() => helpers.feed_command()Justin M. Keyes2017-04-11
|
* functests: Fix some ui/*_spec testsZyX2017-04-09
|
* functests: Fix ui/bufhl_specZyX2017-04-09
|
* functests: Fix ui/screen_basic_specZyX2017-04-09
|
* functests: Replace execute with either command or feed_commandZyX2017-04-09
| | | | | | | | | | Hope this will make people using feed_command less likely: this hides bugs. Already found at least two: 1. msgpackparse() will show internal error: hash_add() in case of duplicate keys, though it will still work correctly. Currently silenced. 2. ttimeoutlen was spelled incorrectly, resulting in option not being set when expected. Test was still functioning somehow though. Currently fixed.
* tests: short form `screen:except(func)` expects condition only. #6440Björn Linse2017-04-06
| | | | | | - Use this to properly test cursor shape events. - tests: update screen_basic_spec to use `screen:expect` short form. Clearer than using `screen:wait` directy.