aboutsummaryrefslogtreecommitdiff
path: root/test/functional
Commit message (Collapse)AuthorAge
...
* | | | 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
| | | |
* | | | api: Do not translate error messages.Justin M. Keyes2017-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also re-word some error messages: - "Key does not exist: %s" - "Invalid channel: %<PRIu64>" - "Request array size must be 4 (request) or 3 (notification)" - "String cannot contain newlines" References #6150
* | | | api: Do not truncate errors <1 MB. #6237Sander Bosma2017-04-23
| | | | | | | | | | | | | | | | Closes #5984
* | | | test: api: Do not truncate errors <1 MB.Justin M. Keyes2017-04-23
| | | |
* | | | Merge #6539 'More cursor shape modes'Justin M. Keyes2017-04-21
|\ \ \ \
| * | | | tests: detect invalid helpers.sleepBjörn Linse2017-04-21
| | | | |
| * | | | ui: use an array for mode stylesBjörn Linse2017-04-21
| | | | |
| * | | | ui: add tests for new cursor shape modesBjörn Linse2017-04-21
| | | | |
* | | | | ex_cmds.c: Fix bug in ex_z (#6557)sander22017-04-21
| | | | | | | | | | | | | | | | | | | | vim-patch:8.0.0571
* | | | | Merge #6550 from ZyX-I/pvs-check-commentJustin M. Keyes2017-04-20
|\ \ \ \ \
| * | | | | *: Add comment to all C filesZyX2017-04-19
| |/ / / /
* / / / / 'scrollback': Allow :setlocal -1 on normal buffersJustin M. Keyes2017-04-20
|/ / / / | | | | | | | | | | | | Avoids a spurious :loadview error.
* | | | test: Cursor after `:hi clear|syntax reset`Justin M. Keyes2017-04-17
| | | | | | | | | | | | | | | | Also enable tests on Windows.
* | | | fold: foldMoveRange(): fix :move bug #6534Matthew Malcomson2017-04-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #6540 In #6221 there was a mistake in calculating which folds need to be re-ordered. When there are no folds after those that have been adjusted, then `move_end` remains 0. This results in reverse_fold_order() swapping folds that have been adjusted with uninitialised folds in the remainder of the grow array. Add a check in foldMoveRange() to account for this case.
* | | | ops: fix i<c-r> with multi-byte text (#6524)Björn Linse2017-04-15
| | | |
* | | | win: default shellxescape, shellxquote to emptyRui Abreu Ferreira2017-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Calling cmd.exe in Windows follows a very different pattern from Vim. The primary difference is that Vim does a nested call to cmd.exe, e.g. the following call in Vim system('echo a 2>&1') spawns the following processes "C:\Program Files (x86)\Vim\vim80\vimrun" -s C:\Windows\system32\cmd.exe /c (echo a 2^>^&1 ^>C:\Users\dummy\AppData\Local\Temp\VIoC169.tmp 2^>^&1) C:\Windows\system32\cmd.exe /c C:\Windows\system32\cmd.exe /c (echo a 2^>^&1 ^>C:\Users\dummy\AppData\Local\Temp\VIo3C6C.tmp 2^>^&1) C:\Windows\system32\cmd.exe /c (echo a 2>&1 >C:\Users\dummy\AppData\Local\Temp\VIo3C6C.tmp 2>&1) The escaping with ^ is needed because cmd.exe calls itself and needs to preserve the special metacharacters for the last call. However in nvim no nested call is made, system('') spawns a single cmd.exe process. Setting shellxescape to "" disables escaping with ^. The previous default for shellxquote=( wrapped any command in parenthesis, in Vim this is more meaningful due to the use of tempfiles to store the output and redirection (also see &shellquote). There is a slight benefit in having the default be empty because some expressions that run in console will not run within parens e.g. due to unbalanced double quotes system('echo "a b')
* | | | win: libuv_process_spawn(): special-case cmd.exeRui Abreu Ferreira2017-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable CommandLineToArgvW-standard quoting for cmd.exe. libuv assumes spawned processes follow the convention expected by CommandLineToArgvW(). But cmd.exe is non-conformant, so for cmd.exe: - With system([]), the caller has full control (and responsibility) to quote arguments correctly. - With system(''), shell* options are used. libuv quoting is disabled if argv[0] is: - cmd.exe - cmd - $COMSPEC resolving to a path with filename cmd.exe Closes #6329 References #6387
* | | | win/test: Enable more system() testsRui Abreu Ferreira2017-04-12
| | | |
* | | | win: defaults: 'shellredir', 'shellxquote', 'shellxescape'Justin M. Keyes2017-04-12
| | | |
* | | | ci: install Turkish locale and make locale tests more reliableBjörn Linse2017-04-11
| | | |
* | | | test: helpers.execute() => helpers.feed_command()Justin M. Keyes2017-04-11
| | | |
* | | | win/test: Enable recover_spec.luaJustin M. Keyes2017-04-11
| | | |
* | | | test: `:file {name}`Justin M. Keyes2017-04-11
| | | |
* | | | test/rmdir(): fallback to Nvim delete()Justin M. Keyes2017-04-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Lua has too many pitfalls here: - os.execute() requires shell-escaping - os.execute() has breaking changes between Lua 5.1 and 5.2 - No native way in Lua to handle "readonly" etc. on Windows
* | | | test/rmdir(): Remove `readonly` attr on Windows.Justin M. Keyes2017-04-10
| |_|/ |/| |
* | | Merge #6479 from bfredl/tolowerJustin M. Keyes2017-04-10
|\ \ \ | | | | | | | | remove vim_tolower/etc functions with broken locale-dependent behavior
| * | | test: add tests for gu/gU behavior in Turkish localeBjörn Linse2017-04-10
| | | |
* | | | Merge #6488 from ZyX-I/coverity-fixesJustin M. Keyes2017-04-10
|\ \ \ \ | |/ / / |/| | |
| * | | coverity/56795: Fix NULL dereference in :syn keyword non-printableZyX2017-04-09
| | | | | | | | | | | | | | | | Bug was introduced 3 years earlier, in 13848aa: NULL keyword_copy was incorrectly treated as an indicator of OOM.
| * | | coverity/13689: Check file header with memcmpZyX2017-04-09
| | | | | | | | | | | | | | | | Not that it is actually useful (would fail in any case), but should fix coverity report.
| * | | coverity/13688: Check for NUL bytes in salfromZyX2017-04-09
| | | |
| * | | coverity/13687: Do not allow NUL byte in region namesZyX2017-04-09
| | | |
| * | | spellfile: Use old errorZyX2017-04-09
| | | | | | | | | | | | This makes first test not actually show any change in behaviour.
| * | | coverity/13686: Do not allow NUL byte in precondition regexZyX2017-04-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this commit it emitted e_spell_trunc in the first case and treated file as completely valid on the second. While first is fine (both errors are actually valid, though old error is probably better), second results in incorrect regex used.
* | | | Merge branch 'master' into rename-executeZyX2017-04-09
|\| | |
| * | | test: retry(): Report number of retries. (#6475)Justin M. Keyes2017-04-09
| | |/ | |/| | | | tui_spec.lua: Retry the terminal-mode test.
* | | functests: Fix linter errorsZyX2017-04-09
| | |
* | | functests: Fix some ui/*_spec testsZyX2017-04-09
| | |
* | | functests: Fix ui/bufhl_specZyX2017-04-09
| | |
* | | functests: Fix ui/screen_basic_specZyX2017-04-09
| | |
* | | functests: Fix terminal/highlight_specZyX2017-04-09
| | |
* | | functests: Fix terminal/cursor_specZyX2017-04-09
| | | | | | | | | | | | It looks like Neovim has a bug: if `startinsert` is called using `command()` then `-- TERMINAL --` gets replaced with `-- --` (and also a cursor appears).
* | | functests: Fix legacy/wordcount_specZyX2017-04-09
| | | | | | | | | Another test where bug was hidden by execute().
* | | functests: Fix legacy/eval_specZyX2017-04-09
| | |
* | | functests: Fix legacy/close_count_specZyX2017-04-09
| | |
* | | functests: Fix legacy/autocmd_option_specZyX2017-04-09
| | |
* | | functests: Fix legacy/arglist_specZyX2017-04-09
| | |
* | | functests: Fix legacy/107_adjust_window_and_contents_specZyX2017-04-09
| | |