aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
Commit message (Collapse)AuthorAge
...
* | | | | | vim-patch:8.0.0086 (#7118)lonerover2017-08-06
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot add a comment after ":hide". (Norio Takagi) Solution: Make it work, add a test. (Hirohito Higashi) https://github.com/vim/vim/commit/2256c9947164229c0960803e2a2992b793c23298
* | | | | input: skip dialogs if no UI is activeJustin M. Keyes2017-08-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Treat dialogs in the same way as "silent mode" (`nvim -es`). References #1984 References #3901
* | | | | test/oldtest: avoid delete() on files used by a subprocessJustin M. Keyes2017-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should avoid the hangs observed in the TSAN build on travis CI. TODO: Find the root cause ...
* | | | | vim-patch:8.0.0133 (#7107)KunMing Xie2017-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: "2;'(" causes ml_get errors in an empty buffer. (Dominique Pelle) Solution: Check the cursor line earlier. https://github.com/vim/vim/commit/fe38b494fff56cd9b2fcaeef26a8fd7b6557d69c
* | | | | Revert "vim-patch:8.0.0133 (#7107)"Justin M. Keyes2017-08-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit eb40b7ec404e8651137513ced43d503bc6656f17. The change caused this error on QuickBuild: INFO - # test/functional/core/job_spec.lua @ 668: pty process teardown does not prevent/delay exit. #4798 #4900 INFO - not ok 321 - pty process teardown does not prevent/delay exit. #4798 #4900 INFO - # test/functional/core/job_spec.lua @ 668 INFO - # Failure message: ./test/functional/ui/screen.lua:302: Row 1 did not match. INFO - # Expected: INFO - # |* | INFO - # |[Process exited 0] | INFO - # | | INFO - # | | INFO - # | | INFO - # |-- TERMINAL -- | INFO - # Actual: INFO - # |*E575: Error while reading ShaD| INFO - # |a file: mark entry at position| INFO - # | 92 has invalid line number | INFO - # |Press ENTER or type command to| INFO - # | continue | INFO - # |-- TERMINAL -- | INFO - # INFO - # To print the expect() call that would assert the current screen state, use INFO - # screen:snaphot_util(). In case of non-deterministic failures, use INFO - # screen:redraw_debug() to show all intermediate screen states. INFO - # stack traceback: INFO - # ./test/functional/ui/screen.lua:302: in function 'wait' INFO - # ./test/functional/ui/screen.lua:216: in function 'expect' INFO - # test/functional/core/job_spec.lua:677: in function <test/functional/core/job_spec.lua:668>
* | | | | vim-patch:8.0.0133 (#7107)KunMing Xie2017-08-02
| |_|/ / |/| | | | | | | | | | | | | | | | | | | Problem: "2;'(" causes ml_get errors in an empty buffer. (Dominique Pelle) Solution: Check the cursor line earlier. https://github.com/vim/vim/commit/fe38b494fff56cd9b2fcaeef26a8fd7b6557d69c
* | | | Merge pull request #7104 from jamessan/run-oldtests-under-headlessJames McCoy2017-07-30
|\ \ \ \ | | | | | | | | | | oldtests: Run nvim using --headless to avoid requesting user input
| * | | | oldtests: Run nvim using --headless to avoid requesting user inputJames McCoy2017-07-30
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Certain functions (e.g. feedkeys(…, 'x!') and input()) will attempt to read from stdin, which shouldn't be expected to work during oldtests. In Debian/Ubuntu's build environment, it explicitly can't work because /dev/null is redirected to stdin, which causes read_error_exit() to exit. Running oldtests with --headless prevents nvim from setting up its input handling, thus avoiding the problem altogether. Reference #6794
* / | | vim-patch:8.0.0498 (#7103)Justin M. Keyes2017-07-31
|/ / / | | | | | | | | | | | | | | | Problem: Two autocmd tests are skipped on MS-Windows. Solution: Make the test pass on MS-Windows. Write the messages in a file instead of getting the output of system(). https://github.com/vim/vim/commit/e94260f3582cf928cc59e792b3b6ede57794a4a6
* | | vim-patch:8.0.0119 (#7091)KunMing Xie2017-07-30
| | | | | | | | | | | | | | | | | | Problem: No test for using CTRL-R on the command line. Solution: Add a test. (Dominique Pelle) And some more. https://github.com/vim/vim/commit/21efc3633edb58809c5dd89b025d34d7002e731c
* | | Merge #7093 from justinmk/fix-qbJustin M. Keyes2017-07-30
|\ \ \
| * | | test/legacy: avoid TSAN CI build hangJustin M. Keyes2017-07-29
| | | | | | | | | | | | | | | | | | | | | | | | This delete() sometimes hangs the TSAN build. Work around it by using a unique filename. Do it at the start instead of the end, for hygiene (though it doesn't actually matter on CI, it helps local dev).
* | | | vim-patch:8.0.0020Jurica Bradaric2017-07-29
|/ / / | | | | | | | | | | | | | | | | | | Problem: The regexp engines are not reentrant. Solution: Add regexec_T and save/restore the state when needed. https://github.com/vim/vim/commit/6100d02aab7c8294b581cb299250eea164b50e9d
* | | vim-patch:8.0.0088 (#7080)KunMing Xie2017-07-27
| | | | | | | | | | | | | | | | | | Problem: When a test fails in Setup or Teardown the problem is not reported. Solution: Add a try/catch. (Hirohito Higashi) https://github.com/vim/vim/commit/cc28e2d05d05552d8b72a520be8a193f3d9822d4
* | | vim-patch:8.0.0034Jurica Bradaric2017-07-25
| | | | | | | | | | | | | | | | | | | | | Problem: No completion for ":messages". Solution: Complete "clear" argument. (Hirohito Higashi) https://github.com/vim/vim/commit/9e507ca8a3e1535e62de4bd86374b0fcd18ef5b8
* | | Merge #7043 'vim-patch:8.0.{0023,0025}'Justin M. Keyes2017-07-24
|\ \ \
| * | | vim-patch:8.0.0025Jurica Bradaric2017-07-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Inconsistent use of spaces vs tabs in gd test. Solution: Use tabs. (Anton Lindqvist) https://github.com/vim/vim/commit/936c48f8ca82a0257640c8c9d0792538f5a7e813
| * | | vim-patch:8.0.0023Jurica Bradaric2017-07-16
| |/ / | | | | | | | | | | | | | | | | | | Problem: "gd" and "gD" may find a match in a comment or string. Solution: Ignore matches in comments and strings. (Anton Lindqvist) https://github.com/vim/vim/commit/226630a030c0d41145e1109f09633360fc9c999d
* | | vim-patch:8.0.0031 (#7050)KunMing Xie2017-07-22
| | | | | | | | | | | | | | | | | | Problem: After ":bwipeout" 'fileformat' is not set to the right default. Solution: Get the default from 'fileformats'. (Mike Williams) https://github.com/vim/vim/commit/e8ef3a093453b73594e15462d4de50b011c8ba66
* | | vim-patch:8.0.0052 (#7057)KunMing Xie2017-07-22
| | | | | | | | | | | | | | | | | | Problem: Conceal test passes even without the bug fix. Solution: Add a redraw command. (Christian Brabandt) https://github.com/vim/vim/commit/35a1f59d635d9a655e1267c18f7cc757afd0d5b0
* | | vim-patch:8.0.0085Jurica Bradaric2017-07-20
| | | | | | | | | | | | | | | | | | | | | Problem: Using freed memory with recursive function call. (Dominique Pelle) Solution: Make a copy of the function name. https://github.com/vim/vim/commit/8a01f969c198eeb655ad2f96f2796a6f6f4a1924
* | | vim-patch:8.0.0003lonerover2017-07-19
| | | | | | | | | | | | | | | | | | | | | | | | Problem: getwinvar() returns wrong Value of boolean and number options, especially non big endian systems. (James McCoy) Solution: Cast the pointer to long or int. (closes vim/vim#1060) https://github.com/vim/vim/commit/789a5c0e3d27f09456678f0cfb6c1bd2d8ab4a35
* | | Merge #7040 'vim-patch:8.0.{0017,0026,0078,0079,0084}'Justin M. Keyes2017-07-17
|\ \ \
| * | | vim-patch:8.0.0084Jurica Bradaric2017-07-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using freed memory when adding to a quickfix list. (Domenique Pelle) Solution: Clear the directory name. https://github.com/vim/vim/commit/7618e00d3b8bfe064cfc524640d754607361f9df
| * | | vim-patch:8.0.0079Jurica Bradaric2017-07-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Accessing freed memory in quickfix. (Domenique Pelle) Solution: Do not free the current list when adding to it. https://github.com/vim/vim/commit/2b946c9f9b0e0fd805fb8f3e4c16e0a68ae13129
| * | | vim-patch:8.0.0078Jurica Bradaric2017-07-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Accessing freed memory in quickfix. Solution: Reset pointer when freeing 'errorformat'. (Domenique Pelle) https://github.com/vim/vim/commit/63bed3d319b5d90765dbdae93a3579b6322d79fb
| * | | vim-patch:8.0.0026Jurica Bradaric2017-07-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Error format with %W, %C and %Z does not work. (Gerd Wachsmuth) Solution: Skip code when qf_multiignore is set. (Lcd) https://github.com/vim/vim/commit/9b4579481892a62e7e002498b9eddaaf75bbda49
| * | | vim-patch:8.0.0017Jurica Bradaric2017-07-16
| |/ / | | | | | | | | | | | | | | | | | | | | | Problem: Cannot get the number of the current quickfix or location list. Solution: Use the current list if "nr" in "what" is zero. (Yegappan Lakshmanan) Remove debug command from test. https://github.com/vim/vim/commit/890680ca6364386fabb271c85e0755bcaa6a33c1
* / / vim-patch:8.0.0004 (#7044)KunMing Xie2017-07-17
|/ / | | | | | | | | | | | | Problem: A string argument for function() that is not a function name results in an error message with NULL. (Christian Brabandt) Solution: Use the argument for the error message. https://github.com/vim/vim/commit/5582ef14384525e8cec86016876d97a6b32dd548
* | vim-patch:7.4.2189ckelsel2017-07-13
| | | | | | | | | | | | | | | | | | | | | | | | https://github.com/vim/vim/commit/f71d7b9ee5ceba75f70c30845332ddd728fd16c6 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 9 22:14:05 2016 +0200 patch 7.4.2189 Problem: Cannot detect encoding in a fifo. Solution: Extend the stdin way of detecting encoding to fifo. Add a test for detecting encoding on stdin and fifo. (Ken Takata)
* | vim-patch:7.4.2354Shougo Matsushita2017-07-12
| | | | | | | | | | | | | | | | Problem: The example that explains nested backreferences does not work properly with the new regexp engine. (Harm te Hennepe) Solution: Also save the end position when adding a state. (closes vim/vim#990) https://github.com/vim/vim/commit/d563883a1fb5ec6cf4a2758c5e36ac1ff4e9bb3d
* | vim-patch:7.4.2320James McCoy2017-06-26
| | | | | | | | | | | | | | | | | | Problem: Redraw problem when using 'incsearch'. Solution: Save the current view when deleting characters. (Christian Brabandt) Fix that the '" mark is set in the wrong position. Don't change the search start when using BS. https://github.com/vim/vim/commit/dda933d06c06c2792bd686d059f6ad19191ad30b
* | vim-patch:7.4.2268James McCoy2017-06-26
| | | | | | | | | | | | | | Problem: Using CTRL-N and CTRL-P for incsearch shadows completion keys. Solution: Use CTRL-T and CTRL-G instead. https://github.com/vim/vim/commit/1195669f9e434fa9ab8b57ee9470bf951e4990b8
* | functests/legacy: Add lua version of test_search.vimJames McCoy2017-06-26
| |
* | vim-patch:7.4.2259raichoo2017-06-26
| | | | | | | | | | | | | | | | Problem: With 'incsearch' can only see the next match. Solution: Make CTRL-N/CTRL-P move to the previous/next match. (Christian Brabandt) https://github.com/vim/vim/commit/4d6f32cbfbaf324ac4a25c0206a5db0e9f7a48f7
* | vim-patch:7.4.2356 (#6880)Shougo2017-06-19
| | | | | | | | | | | | | | Problem: Reading past end of line when using previous substitute pattern. (Dominique Pelle) Solution: Don't set "pat" only set "searchstr". https://github.com/vim/vim/commit/ea683da58cf9ecf3afab9d650d3d2da76e5298d3
* | vim-patch:7.4.2190 (#6882)Shougo2017-06-12
| | | | | | | | | | | | | | | | Problem: When startup test fails it's not easy to find out why. GUI test fails with Gnome. Solution: Add the help entry matches to a list an assert that. Set $HOME for Gnome to create .gnome2 directory. https://github.com/vim/vim/commit/50fa8dd00c241fa0786fe92ecc02fee4e5d28e06
* | Merge #6827 'Always enable logging'Justin M. Keyes2017-06-07
|\ \
| * | ci: Dump $NVIM_LOG_FILE contentsJustin M. Keyes2017-06-07
| | |
* | | vim-patch:8.0.0614James McCoy2017-06-06
| | | | | | | | | | | | | | | | | | | | | | | | Problem: float2nr() is not exactly right. Solution: Make float2nr() more accurate. Turn test64 into a new style test. (Hirohito Higashi, closes vim/vim#1688) https://github.com/vim/vim/commit/863e80b4451b5102b41bebf9ddca3a420de746fa
* | | Merge remote-tracking branch 'origin/master' into vim-7.4.1975James McCoy2017-06-06
|\| |
| * | vim-patch:8.0.0561James McCoy2017-06-06
| | | | | | | | | | | | | | | | | | | | | Problem: Undefined behavior when using backslash after empty line. Solution: Check for an empty line. (Dominique Pelle, closes vim/vim#1631) https://github.com/vim/vim/commit/478af67dd6a9adc456464c3736bda328ae3a28cb
| * | vim-patch:8.0.0176James McCoy2017-06-06
| | | | | | | | | | | | | | | | | | | | | Problem: Using :change in between :function and :endfunction fails. Solution: Recognize :change inside a function. (ichizok, closes vim/vim#1374) https://github.com/vim/vim/commit/70bcd7336f9f19304f32c52a86ed5b4b3de852c2
| * | vim-patch:8.0.0478James McCoy2017-06-06
| | | | | | | | | | | | | | | | | | | | | Problem: Tests use assert_true(0) and assert_false(1) to report errors. Solution: Use assert_report(). https://github.com/vim/vim/commit/37175409d766ce67f2548dffa6d73451379b5737
| * | vim-patch:8.0.0477James McCoy2017-06-06
| | | | | | | | | | | | | | | | | | | | | Problem: The client-server test may hang when failing. Solution: Set a timer. Add assert_report() https://github.com/vim/vim/commit/42205551b140bee8b419b24abe210f56bb80b35e
| * | vim-patch:8.0.0360James McCoy2017-06-06
| | | | | | | | | | | | | | | | | | | | | Problem: Sometimes VimL is used, which is confusing. Solution: Consistently use "Vim script". (Hirohito Higashi) https://github.com/vim/vim/commit/b544f3c81f1e6a50322855681ac266ffaa8e313c
| * | vim-patch:8.0.0168James McCoy2017-06-06
| | | | | | | | | | | | | | | | | | | | | Problem: Still some float functionality is not covered by tests. Solution: Add more tests. (Dominique Pelle, closes vim/vim#1364) https://github.com/vim/vim/commit/872004132f25cabe59352912889e042d6c7e6b4e
| * | vim-patch:8.0.0167James McCoy2017-06-06
| | | | | | | | | | | | | | | | | | | | | | | | Problem: str2nr() and str2float() do not always work with negative values. Solution: Be more flexible about handling signs. (LemonBoy, closes vim/vim#1332) Add more tests. https://github.com/vim/vim/commit/08243d26d22ad44a857d02c90071578577b8a55d
| * | vim-patch:8.0.0158James McCoy2017-06-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: On MS-Windows some float functions return a different value when passed unusual values. strtod() doesn't work for "inf" and "nan". Solution: Accept both results. Fix str2float() for MS-Windows. Also reorder assert function arguments. https://github.com/vim/vim/commit/6247361101dcccc0c877e90ad67cd0cc83df7c68
| * | vim-patch:8.0.0156James McCoy2017-06-06
| | | | | | | | | | | | | | | | | | | | | Problem: Several float functions are not covered by tests. Solution: Add float tests. (Dominique Pelle) https://github.com/vim/vim/commit/453b576ee5d32e9b8e6876712748ae01f9be68dd