aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal
Commit message (Collapse)AuthorAge
...
* | defaults: 'showcmd', 'belloff', 'ruler'Justin M. Keyes2017-03-16
| | | | | | | | | | | | | | | | | | | | | | - Vim "unix default" of 'noshowcmd' is serving few users. And it's inconsistent. - 'ruler' and 'belloff=all' improve the out-of-the-box experience. - Continue to use 'noshowcmd' and 'noruler' by default in the functional tests to keep them fast. TODO: Add a "disable slow stuff" command or mapping to address the use-case of a very slow terminal connection.
* | test/scrollback: wiggle-room (#6256)Justin M. Keyes2017-03-11
| |
* | test: backtick expansion #6218Justin M. Keyes2017-03-06
| |
* | terminal.c: Reset cursor postion when using termopen() (#6212)oni-link2017-03-04
| | | | | | | | | | | | | | | | | | | | After using 'termopen("echo") the current buffer content is changed, but the cursor position of the current window is not updated. Because of this, a call to 'mb_adjust_cursor()' can lead to a heap-buffer-overflow. Fix this by resetting the cursor for the current window. Fixes #3161
* | terminal: Keep cursor position.Justin M. Keyes2017-03-01
| | | | | | | | | | | | Let the terminal dictate the normal-mode cursor position. This will be disorienting sometimes, but it is closer to what users expect vs always going to the last line.
* | test: screen_setup(): Detect spawn failures, usage errors.Justin M. Keyes2017-02-26
| |
* | test: screen_setup(): Support `cols` parameter.Justin M. Keyes2017-02-26
| |
* | test/window_split_tab_spec.lua: fixupJustin M. Keyes2017-02-26
| | | | | | | | | | Make the test work after the "follows cursor" changes. This "auto-resize" feature is going away soon, anyways.
* | terminal: Follow output only if cursor is at end.Justin M. Keyes2017-02-26
| | | | | | | | | | | | Closes #2257 Closes #2636 References #2683
* | terminal: 'scrollback'Justin M. Keyes2017-02-26
| | | | | | | | Closes #2637
* | terminal: Don't redraw the entire screen when resizing (#6167)Tommy Allen2017-02-26
| |
* | eval.c: Fix findfile(), :find, gf in :terminal. #6009Tommy Allen2017-01-31
| | | | | | | | Closes #4299
* | Add some tests and cleanup.Michael Ennen2016-12-12
| |
* | os/shell: Throttle :! output, pulse "..." message.Justin M. Keyes2016-12-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Periodically skip :! spam. This is a "cheat" that works for all UIs and greatly improves responsiveness when :! spams MB or GB of output: :!yes :!while true; do date; done :!git grep '' :grep -r '' * After ~10KB of data is seen from a single :! invocation, output will be skipped for ~1s and three dots "..." will pulse in the bottom-left. Thereafter the behavior alternates at every: * 10KB received * ~1s throttled This also avoids out-of-memory which could happen with large :! outputs. Note: This commit does not change the behavior of execute(':!foo'). execute(':!foo') returns the string ':!foo^M', it captures *only* Vim messages, *not* shell command output. Vim behaves the same way. Use system('foo') for capturing shell command output. Closes #1234 Helped-by: oni-link <knil.ino@gmail.com>
* | build: Target luacheck HEAD.Justin M. Keyes2016-11-17
| | | | | | | | | | | | | | | | | | | | | | | | https://github.com/mpeterv/luacheck/pull/81#issuecomment-261099606 > If you really want to use bleeding-edge version you should get the > rockspec from master branch, not a fixed commit ... > The correct way to install from a specific commit is cloning that > commit and running "luarocks make" from project directory. The reason > is that running "install" or "build" on an scm rockspec fetches > sources from master but uses build description from the rockspec > itself, which may be outdated.
* | test: window_spec: Remove flaky terminal resize testJames McCoy2016-11-13
| |
* | test: :terminal should not interrupt Press-ENTERJustin M. Keyes2016-10-20
| | | | | | | | References #2748
* | tests: fix racyness in terminal/api_spec.luaBjörn Linse2016-10-19
| | | | | | | | | | Previously, the nvim_input from the socket channels could be processed before the input from stdin in rare cases.
* | test/tui_spec: Force LANG=CJustin M. Keyes2016-10-13
| | | | | | | | References #5455
* | test/terminal: Cover race when :term shell process exits.Justin M. Keyes2016-10-12
| | | | | | | | | | | | References #5445 See https://github.com/neovim/neovim/pull/5445#issuecomment-252529766
* | test: api_specJustin M. Keyes2016-09-22
| | | | | | | | | | This is an (unsuccessful) attempt to cover #4163. It covers other behavior, so it's worth keeping.
* | test: synIDattr returns empty, not -1Stéphane Campinas2016-09-16
| | | | | | | | | | - Behavior changed in 7.4.1547 - Also removed N/A specs: nvim does not support ":hi term=..."
* | syntax.c: Support bg/fg special color-names. #5319Kerem Cakirer2016-09-16
| | | | | | | | Refresh colors if changing Normal group
* | Merge pull request #5225 from equalsraf/windows-functionaltestsBjörn Linse2016-08-31
|\ \ | | | | | | Enable functional tests in Appveyor
| * | Mark some functional tests as pending in WindowsRui Abreu Ferreira2016-08-26
| | |
* | | api/ui: add tests for popupmenu_external eventsBjörn Linse2016-08-29
|/ / | | | | | | update screen.lua to use new style nvim_ui_attach
* / tests: don't ignore highlights in terminal testsBjörn Linse2016-08-14
|/
* test: TUI colors: Skip TERM=linux on non-linux. (#5015)Justin M. Keyes2016-07-06
| | | Also skip TERM=screen (GNU, so probably not common on BSD)
* test: TUI colors ('t_Co')Justin M. Keyes2016-07-03
|
* Add tests for new featureMarco Hinz2016-06-20
|
* Make existing tests work with new featureMarco Hinz2016-06-20
|
* test/highlight_spec: Test "gui" arg of synIDattr().Justin M. Keyes2016-06-18
| | | | Also use less "regular" values for cterm colors.
* synIDattr(): return RRGGBB value for [fg|bg|sp]# #4851Rom Grk2016-06-18
| | | | | | | | | | add tests for synIDattr() with [fg|bg|sp]# add tests for synIDattr and various #RGB colors synIDattr: test for ui_rgb_attached() test: fix tests for synIDattr fg/bg/sp
* functests: Check logs in lua codeZyX2016-06-10
| | | | | | It is otherwise impossible to determine which test failed sanitizer/valgrind check. test/functional/helpers.lua module return was changed so that tests which do not provide after_each function to get new check will automatically fail.
* test: Screen also checks 'special' when testing attribute equalityAdnoC2016-05-17
|
* test: term_close use-after-freeJustin M. Keyes2016-05-15
| | | | References #4393
* ex_terminal(): fix double-freeJustin M. Keyes2016-05-15
| | | | Closes #4554
* test: ex_terminal() double-freeJustin M. Keyes2016-05-15
| | | | References #4554
* Fix tui_spec.lua for QB/TravisKillTheMule2016-05-14
| | | | | | This was not a problem locally, but would often/sometimes/etc. (YMMV) fail on QB and/or travis. This seems to fix it. Quoting @justinmk: "I have a feeling this is just a bug in the bracketed paste special-cases in the existing code".
* Mark cursor_spec.lua indeterministic test as pendingThiago de Arruda2016-04-11
|
* tests: update tests to use [gs]et_lines instead of [gs]et_line_sliceBjörn Linse2016-04-01
|
* Rewrite hexadecimal escape sequences as decimal in lua stringsThiago de Arruda2016-03-07
| | | | | | | The hexadecimal notation is a Luajit extension which is not compatible with Lua 5.1. While Lua 5.2 does support hexadecimal sequences, it is better to target Lua 5.1 for maximum compatibility with Luajit(which has fully compatible with 5.1 API/ABI).
* Tests: fix according to lualintMarco Hinz2016-02-29
|
* functests: Make test more robustZyX2016-02-28
|
* functests: Make sure that setting scrollback size works from TermOpenZyX2016-02-28
|
* main: Make using :edit term:// run TermOpen eventZyX2016-02-28
| | | | Ref #4306
* input: Do not set high-bit; preserve ALT modifier.Justin M. Keyes2016-01-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Background: Vim internally prefers to represent ALT/META chords as single-byte keys, by setting the high bit of the key byte. extract_modifiers() _discards_ the meta/alt modifier, but we need it for libvterm and libtermkey. Closes #2440 Closes #3727 Closes #2017 References #2277 References #2254 https://github.com/neovim/neovim/issues/2017#issuecomment-140423557 > We [not libtermkey] are setting the high bit for some reason https://github.com/neovim/neovim/issues/176#issuecomment-77834715 > libvtermkey requires the leading esc to parse alt/meta https://github.com/neovim/neovim/pull/3246#issuecomment-136328450 > A program could do better than the current logic on some terminals, by > asking for pure 8bit mode (S8C1T) and then immediately querying the > mode again. If the result comes back as an 8bit single-byte CSI, then > it can presume the mode setting was successful, and now the ESC prefix > byte won't be seen in multibyte sequences; only as an Alt- prefix or > a real Escape key. On such a terminal, it could therefore avoid > needing to use that waiting timeout.
* test/functional: clean up according to luacheck (part 2)Marco Hinz2015-11-23
|
* test/functional: clean up according to luacheck (part 1)Marco Hinz2015-11-23
|
* Reorganize focus events test into individual testsJoe Hermaszewski2015-11-23
| | | | | The focus event tests now live in their own `describe` block with each test testing the handling of focus events in a single mode.