| Commit message (Collapse) | Author | Age |
... | |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: json_encode() does not handle NaN and inf properly. (David
Barnett)
Solution: For JSON turn them into "null". For JS use "NaN" and "Infinity".
Add isnan().
https://github.com/vim/vim/commit/f1b6ac72293e658bb6e68c5cfd926c405b1b6f34
|
| |
| |
| |
| |
| | |
Problem: Not easy to compute the space on the command line.
Solution: Add v:echospace. (Daniel Hahler, closes vim/vim#4732)
https://github.com/vim/vim/commit/37f4cbd46f5a6f2dd3a48d5fa4324dce37e4bd6c
|
| |
| |
| |
| |
| |
| | |
Problem: Using empty string for current buffer is unexpected.
Solution: Make the argument optional for bufname() and bufnr().
https://github.com/vim/vim/commit/a8eee21e75324d199acb1663cb5009e03014a13a
|
|/
|
|
|
|
| |
Problem: Text added with appendbufline() to another buffer isn't displayed.
Solution: Update topline. (partly by Christian Brabandt, closes vim/vim#4718)
https://github.com/vim/vim/commit/298466629119eda501cfdf7824797f05045e67ca
|
|\
| |
| | |
vim-patch:8.0.1386,8.1.{37,39,187}
|
| |
| |
| |
| |
| |
| | |
Problem: getwininfo() and win_screenpos() return different numbers.
Solution: Add one to "wincol" and "winrow" from getwininfo().
https://github.com/vim/vim/commit/7132ddc1014a4e1230f0080e418221e5843e1277
|
| |
| |
| |
| |
| |
| | |
Problem: Cannot select modified buffers with getbufinfo().
Solution: Add the "bufmodified" flag. (Yegappan Lakshmanan, closes vim/vim#2431)
https://github.com/vim/vim/commit/8e6a31df81113bbf0e4bb5324a74dc5f6c62a490
|
| |
| |
| |
| |
| |
| | |
Problem: Cannot easily delete lines in another buffer.
Solution: Add deletebufline().
https://github.com/vim/vim/commit/d79a26219d7161e9211fd144f0e874aa5f6d251e
|
| |
| |
| |
| |
| |
| | |
Problem: Cannot easily append lines to another buffer.
Solution: Add appendbufline().
https://github.com/vim/vim/commit/ca851593a660f08aba5c134f90c238d4a3e983e6
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Re-enable Test_BufLeave_Wipe. 66f5e5c7d7ce
This is my (probably-wrong) application of Zyx's suggestion in #9163:
> free_buffer_stuff() already removes changedtick. It is better to
> make `free_options` a flag variable and avoid calling
> buf_init_changedtick() based on some flag there: current workflow
> looks weird as it first removes `b:changedtick`, then re-adds it
> by calling buf_init_changedtick(), then remove again.
> Also based on my understanding it looks logical to not remove
> `b:changedtick`, but to *replace* it with something allocated if
> needed based on examining reference count before calling
> `unref_var_dict`. Because now you have key disappearing from
> dictionary for no good reason.
Patch-By: Nikolai Aleksandrovich Pavlov <kp-pav@yandex.ru>
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Script to summarize test results can be improved.
Solution: Use "silent" for substitute to avoid reporting number of matches.
Remove duplicate "set nocp". (Daniel Hahler, closes vim/vim#4845)
https://github.com/vim/vim/commit/f1e0544d413b8b2ea129db0655b4e123d54177a6
|
| |
| |
| |
| |
| |
| | |
Problem: Still an error when running tests with the tiny version.
Solution: Do not try reading test.log
https://github.com/vim/vim/commit/18250e291a5b4b8e32229d99ccb7c895ff0ca637
|
| |
| |
| |
| |
| |
| | |
Problem: Test summary fails in the tiny version.
Solution: set 'nocompatible'.
https://github.com/vim/vim/commit/c7500f9cb5b9fbedb9f1a385fdc3790335054bd3
|
| |
| |
| |
| |
| |
| | |
Problem: Summary of tests has incorrect failed count.
Solution: Add to the failed count instead of setting it. (Christian Brabandt)
https://github.com/vim/vim/commit/150f0550f45b836200a189e4d34417f4d3467455
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: No statistics displayed after running tests.
Solution: Summarize the test results. (Christian Brabandt, closes vim/vim#4391)
Also make it possible to report a skipped file.
https://github.com/vim/vim/commit/9c0cec65f891492314caadeef87a50251a21e630
Removes our custom no-inits from `$(RUN_VIMTEST)`, since we have
`$(NO_INITS)` now also.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Skipped tests are not properly listed.
Solution: Throw a "Skipped" exception instead of using ":finish" or ":return".
https://github.com/vim/vim/commit/5d30ff19648d2ff0696cea97582b902f6a4ec0ba
Skips quite some (N/A) tests.
vim-patch:8.1.0503: missing change to diff test (included in cf1ffa916)
|
| |
| |
| |
| |
| |
| | |
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, the final chapter.
https://github.com/vim/vim/commit/30276f2beb248557c6b33cd5418bca8b7084b0a5
|
| |
| |
| |
| |
| |
| | |
Vim turns on 'compatible' as a side effect of using the -u command line
option. As a result, viminfo is not used. But that is not the case with
neovim. neovim requires the -i command line option to avoid breaking
user's viminfo.
|
| |
| |
| |
| |
| |
| | |
Problem: The a: dict is not immutable as documented.
Solution: Make the a:dict immutable, add a test. (Ozaki Kiichi, Yasuhiro
Matsumoto, closes vim/vim#3929)
https://github.com/vim/vim/commit/31b816042fca879b11965ddd75287732563ba698
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Revert "oldtests: win: shellslash for cdpath,tags,:find"
This reverts commit 6245b4873d5e24fade9aadadf32645bfb3ebfc31.
* Revert "oldtests: set shellslash for ":cd" test"
This reverts commit eba1ebafe554fcf6dcd8c933f53b43ca9c5b3b6a.
* Revert "oldtests: set shellslash in Test_shellescape()"
This reverts commit e428fc4b52d986fec0d544e371b05e8c7e18db93.
* Revert "fixup! vim-patch:8.0.1782: no simple way to label quickfix entries"
This reverts commit ac1fbc28601a05cdca19f868449c86b8dd70328c.
* Revert "test/old: pass Test_statusline on Windows"
This reverts commit 6efa3bff09afb0e54ad71278ac60259bf41be286.
* Revert "oldtests: set shellslash for Test_non_zero_arg"
This reverts commit 42e1e2495cc51f659d505bfec8b72905c19e4094.
* Revert "oldtests: set shellslash in Test_true_false_arg()"
This reverts commit 8bd194f98aaf8d79886b78f4bd29f9525c1459c8.
* Remove unnecessary set shellslash
Since #10679 no longer requires individual set shellslash, it is removed.
Co-Authored-By: erw7 <erw7.github@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Ml_get error when deleting fold marker.
Solution: Check that the line number is not below the last line. Adjust the
fold when deleting the empty line. (Christian Brabandt,
closes vim/vim#4834)
https://github.com/vim/vim/commit/9a4a8c4d5993c6371486c895a515c2ad351e9aaa
|
| |
| |
| | |
closes #10806
|
|\ \ |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
set cpo+=S was added because the test failed because the cpo value
was different from vim(See #10730).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Test52 does nothing on UNIX. And vim on Windows performs mbyte-conversion
between Unicode and code page using Windows API(See :h mbyte-conversion).
Test52 seems to be testing its functionality. In neovim, the conversion
function by Windows API has been removed. Therefore, there is no point
in doing this test.
|
| | |
| | |
| | |
| | |
| | | |
Since neovim needs iconv to process cp932, it changes the test execution
condition.
|
| | |
| | |
| | |
| | |
| | | |
In Windows, since conversion of the line feed code is necessary, porting
fixff target from Make_mingw.mak of vim.
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
vim-patch:8.1.{1679,1839,1870}
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Insufficient info when test fails because of screen size.
Solution: Report the detected screen size.
https://github.com/vim/vim/commit/0b5dc644465c549ac54fe3c4ad232dd692000d26
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Test using SwapExists autocommand file may fail.
Solution: Remove the SwapExists autocommand.
https://github.com/vim/vim/commit/eaa49e40d7e7f84deef14424c84ef1da0796fa58
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Problem: Using :pedit from a help file sets the preview window to help
filetype. (Wang Shidong)
Solution: Do not set "keep_help_flag". (closes vim/vim#3536)
https://github.com/vim/vim/commit/026587b35c42301bcc2214207346b62ef2efed41
|
|/ / /
| | |
| | | |
- Test_libcall_libcallnr: pass libc name to dlopen.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Map timeout test is flaky.
Solution: Add test to list of flaky tests. Increase timeout.
https://github.com/vim/vim/commit/ea94c855163cf58a3389b5f3c54a0767c9e1be49
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Test for multi-byte mapping fails on some systems.
Solution: Test in another way.
https://github.com/vim/vim/commit/2f710afe7f166973c879bf7424678ba84368c1bb
|
|/ /
| |
| |
| |
| |
| |
| | |
Problem: Cannot use modifier with multi-byte character.
Solution: Allow using a multi-byte character, although it doesn't work
everywhere.
https://github.com/vim/vim/commit/c8fd33d18b49c3246f33782dd7b4a1c87504dd5f
|
| |
| |
| |
| |
| | |
Problem: Now another timer test is flaky.
Solution: Add test to list of flaky tests.
https://github.com/vim/vim/commit/973d5304a44c974e74e43c3790f8919b7d4193b4
|
| |
| |
| |
| |
| | |
Problem: Timers test is flaky.
Solution: Accept a larger count. Add test to list of flaky tests.
https://github.com/vim/vim/commit/7e6feb9eeb095ec424430ff4332c77f70372ce62
|
| |
| |
| |
| |
| |
| |
| | |
Uses `cat -A` with early "*San" check:
This prints terminal escape sequences as-is (for debugging), and does
not cause (display) issues with the Travis log.
Ref: https://github.com/neovim/neovim/pull/10591#issuecomment-521248233
|
| |
| |
| |
| | |
This should not make much of a difference, but increases the timeout
when `load_factor` is used slightly.
|
| |
| |
| |
| |
| |
| |
| | |
(#10764)
Problem: Running test hangs when the input file is being edited.
Solution: Use a SwapExists autocommand to ignore editing the test script.
https://github.com/vim/vim/commit/d8f27b30d6ec0bcfcb8f44c6201e36c003d1ce88
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Test listed as flaky should no longer be flaky.
Solution: Remove Test_popup_and_window_resize from the list of flaky tests.
(Daniel Hahler, close vim/vim#4807)
https://github.com/vim/vim/commit/9570aacdb82c1eb5645d0fbc35bf9728d7334b23
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Test_popup_and_window_resize() does not always pass.
Solution: Do not use $VIMPROG, pass the Vim executable in the vimcmd file.
(Ozaki Kiichi, closes vim/vim#2186)
https://github.com/vim/vim/commit/631820536e4084e01bf990f9314ec385b60b21d7
vim-patch:8.0.1526: no test using a screen dump yet
Problem: No test using a screen dump yet.
Solution: Add a test for C syntax highlighting. Add helper functions.
https://github.com/vim/vim/commit/da65058a9c4774dc534c7ae98d24c58b5db669fa
NOTE: uses modified `GetVimProg()` (which is used with skipped tests only
(mostly because of `!has('terminal')`)).
Vim uses a 'vimcmd' file, while Nvim uses `$NVIM_TEST_ARGX` environment
variables.
Ref: https://github.com/vim/vim/pull/4806
|