| Commit message (Collapse) | Author | Age |
| ... | |
| | |_|_|/ /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Treat dialogs in the same way as "silent mode" (`nvim -es`).
References #1984
References #3901
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This should avoid the hangs observed in the TSAN build on travis CI.
TODO: Find the root cause ...
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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>
|
| | |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | | |
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
|
| |\ \ \ \
| | | | |
| | | | | |
oldtests: Run nvim using --headless to avoid requesting user input
|
| | | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| |/ / /
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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).
|
| |/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: No completion for ":messages".
Solution: Complete "clear" argument. (Hirohito Higashi)
https://github.com/vim/vim/commit/9e507ca8a3e1535e62de4bd86374b0fcd18ef5b8
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Inconsistent use of spaces vs tabs in gd test.
Solution: Use tabs. (Anton Lindqvist)
https://github.com/vim/vim/commit/936c48f8ca82a0257640c8c9d0792538f5a7e813
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Problem: Conceal test passes even without the bug fix.
Solution: Add a redraw command. (Christian Brabandt)
https://github.com/vim/vim/commit/35a1f59d635d9a655e1267c18f7cc757afd0d5b0
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Using freed memory when adding to a quickfix list. (Domenique
Pelle)
Solution: Clear the directory name.
https://github.com/vim/vim/commit/7618e00d3b8bfe064cfc524640d754607361f9df
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Accessing freed memory in quickfix.
Solution: Reset pointer when freeing 'errorformat'. (Domenique Pelle)
https://github.com/vim/vim/commit/63bed3d319b5d90765dbdae93a3579b6322d79fb
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/ /
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| |
| |
| |
| | |
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
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \ |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\| | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Tests use assert_true(0) and assert_false(1) to report errors.
Solution: Use assert_report().
https://github.com/vim/vim/commit/37175409d766ce67f2548dffa6d73451379b5737
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: The client-server test may hang when failing.
Solution: Set a timer. Add assert_report()
https://github.com/vim/vim/commit/42205551b140bee8b419b24abe210f56bb80b35e
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Sometimes VimL is used, which is confusing.
Solution: Consistently use "Vim script". (Hirohito Higashi)
https://github.com/vim/vim/commit/b544f3c81f1e6a50322855681ac266ffaa8e313c
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Several float functions are not covered by tests.
Solution: Add float tests. (Dominique Pelle)
https://github.com/vim/vim/commit/453b576ee5d32e9b8e6876712748ae01f9be68dd
|