aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
| | * | | | | | syntax.c: register 'Normal' highlight groupMatthieu Coudron2017-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - :hi Normal works with -u NONE - Makes HL_TABLE and ATTR_ENTYRY a function instead of a macro so that in can be used in gdb. - Introduces ATTRENTRY_INIT to init attrentry_t
| * | | | | | | vim-patch:8.0.0437James McCoy2017-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The packadd test does not create the symlink correctly and does not test the right thing. Solution: Create the directory and symlink correctly. https://github.com/vim/vim/commit/644df41c44cbdfacdedbba55ef77a6c6031eccd8
| * | | | | | | vim-patch:8.0.0326James McCoy2017-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Packadd test uses wrong directory name. Solution: Use the variable name value. (Hirohito Higashi) https://github.com/vim/vim/commit/24f8f543d4036c5d2ce4ea6973a174cf2176cb72
| * | | | | | | vim-patch:8.0.0325James McCoy2017-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Packadd test does not clean up symlink. Solution: Delete the link. (Hirohito Higashi) https://github.com/vim/vim/commit/913727e56761d57aaba61197c2d3485418dea7eb
| * | | | | | | vim-patch:8.0.0308James McCoy2017-08-21
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When using a symbolic link, the package path will not be inserted at the right position in 'runtimepath'. (Dugan Chen, Norio Takagi) Solution: Resolve symbolic links when finding the right position in 'runtimepath'. (Hirohito Higashi) https://github.com/vim/vim/commit/2f9e575583c2ad3978ee3d0f790eeff7df56bd6c
| * | | | | | Repair tui_spec functional testsDrew Neil2017-08-21
| | | | | | |
| * | | | | | Repair job_spec functional testsDrew Neil2017-08-21
| | | | | | |
| * | | | | | Repair ex_terminal_spec functional testsDrew Neil2017-08-21
| | |/ / / / | |/| | | |
| * | | | | clipboard: test g:clipboard validation, fix a bugJustin M. Keyes2017-08-20
| | | | | | | | | | | | | | | | | | | | | | | | Also fix `:help foo` highlighting in health.vim
| * | | | | clipboard: remove start_batch_changes() in redir_write()Justin M. Keyes2017-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | start_batch_changes() doesn't avoid invoking the clipboard once-per-line, because the loop is actually in ex_echo(), which calls redir_write() for each message. But we've already entered start_batch_changes() by then, so that was never the problem. redir_write at /home/vagrant/old.neovim/build/../src/nvim/message.c:2523 msg_puts_attr_len at /home/vagrant/old.neovim/build/../src/nvim/message.c:1600 msg_outtrans_len_attr at /home/vagrant/old.neovim/build/../src/nvim/message.c:1221 ex_echo at /home/vagrant/old.neovim/build/../src/nvim/eval.c:19433 do_one_cmd at /home/vagrant/old.neovim/build/../src/nvim/ex_docmd.c:2242 Trying to defer _explicit_ clipboard updates is difficult. :redir @+ | silent echo system('cat foo') | redir END is essentially equivalent to: for l in readfile('foo') let @+ .= l endfor We cannot make judgements about when to ignore a script's bad decisions. start_batch_changes() only works around the case of clipboard=unnamed, i.e. _implicit_ clipboard updates (`:g/foo/d`). Not explicit assignment.
| * | | | | clipboard: avoid error flood during :redirJustin M. Keyes2017-08-20
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | redir_write(): - This is a "batch" operation which was not yet covered by start_batch_changes() adjust_clipboard_name(): - msg() and friends during :redir will, of course, cause redir_write() to try to capture that message, which causes recursion. - EMSG() here is trouble: if it interrupts :redir it is a mess. Rather than deal with the mess, show a non-error message. closes #7182 closes #7184 closes #7183 ref #6048 ref #7032
| * | | | test/win: give up on this oneJustin M. Keyes2017-08-16
| | | | |
| * | | | test/win: place cursor at edge to tickle SIGWINCHJustin M. Keyes2017-08-16
| | | | |
| * | | | test: tty-test.c: keep `tty_out` handle aroundJustin M. Keyes2017-08-16
| | | | | | | | | | | | | | | | | | | | | | | | | Now the window_split_tab_spec.lua test seems to work. Also do some cleanup.
| * | | | win/test: enable more :terminal testsJustin M. Keyes2017-08-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To deal with SIGWINCH limitations on Windows, change some resize tests to _shrink_ the screen width. ... But this didn't work, so still ignoring those tests on Windows.
| * | | | test: tty-test.c: restore win32 SIGWINCH handlerJustin M. Keyes2017-08-16
| | | | |
| * | | | test: cleanupJustin M. Keyes2017-08-16
| | | | |
| * | | | win/pty: log errorserw72017-08-16
| | | | |
| * | | | win/test: tty-test: print screen size explicitly with CTRL-Qerw72017-08-16
| | | | | | | | | | | | | | | | | | | | | | | | | tty-test.exe causes abnormal termination with low repeatability, try changing it so as not to use SIGWINCH.
| * | | | win: support :terminalerw72017-08-16
| | | | |
| * | | | Merge #6364 'command-line color hook'Justin M. Keyes2017-08-16
| |\ \ \ \ | | |/ / / | |/| | |
| | * | | ex_getln: Make error messages look betterZyX2017-08-14
| | | | |
| | * | | functests: Alter commentZyX2017-08-14
| | | | |
| | * | | functests: Check that input is correctly silencedZyX2017-08-14
| | | | |
| | * | | Merge branch 'master' into colored-cmdlineZyX2017-08-06
| | |\ \ \
| | * | | | functests: Remove wait() from input_specZyX2017-08-06
| | | | | |
| | * | | | Merge branch 'master' into colored-cmdlineZyX2017-07-31
| | |\ \ \ \
| | * | | | | Revert "functests: Replace wait() with nvim_async"ZyX2017-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit e129607988b88719935bc4af517e7ee2689f5871. Tests stopped working in CI.
| | * | | | | ex_getln: Cache highlight callback calling resultsZyX2017-07-26
| | | | | | |
| | * | | | | functests: Replace wait() with nvim_asyncZyX2017-07-26
| | | | | | |
| | * | | | | functests: Remove unneeded wait()sZyX2017-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
| | |\ \ \ \ \
| | * | | | | | 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.
| | * | | | | | functests: Add missing wait()ZyX2017-06-27
| | | | | | | |