Jan Edmund Lazo
0785f8e8b1
vim-patch:8.1.2140: "gk" and "gj" do not work correctly in number column #11208
...
Problem: "gk" and "gj" do not work correctly in number column.
Solution: Allow for a negative "curswant". (Zach Wegner, closes vim/vim#4969 )
ceba3dd518
2019-10-17 01:24:23 -07:00
erw7
b89e970cfb
vim-patch 8.1.0085: no test for completing user name and language
...
Problem: No test for completing user name and language.
Solution: Add tests. (Dominique Pelle, closes #2978 )
5f8f2d378a
2019-10-13 17:48:01 +09:00
Justin M. Keyes
401398bc4b
vim-patch:8.1.2125: fnamemodify() fails when repeating :e
...
Problem: Fnamemodify() fails when repeating :e.
Solution: Do not go before the tail. (Rob Pilling, closes vim/vim#5024 )
b189295b72
2019-10-10 22:33:42 -07:00
Jurica Bradaric
c84b39150f
vim-patch:8.1.1362: code and data in tests can be hard to read
...
Problem: Code and data in tests can be hard to read.
Solution: Use the new heredoc style. (Yegappan Lakshmanan, closes vim/vim#4400 )
c79745a82f
2019-10-07 14:14:13 +02:00
Jurica Bradaric
b5ac11139e
vim-patch:8.1.1356: some text in heredoc assignment ends the text
...
Problem: Some text in heredoc assignment ends the text. (Ozaki Kiichi)
Solution: Recognize "let v =<<" and skip until the end.
8471e57026
2019-10-07 14:14:13 +02:00
Jurica Bradaric
b1ada8ec21
vim-patch:8.1.1354: getting a list of text lines is clumsy
...
Problem: Getting a list of text lines is clumsy.
Solution: Add the =<< assignment. (Yegappan Lakshmanan, closes vim/vim#4386 )
f5842c5a53
2019-10-07 14:14:13 +02:00
Daniel Hahler
c8fe2a8d23
test/old: add test_fnamemodify.vim ( #11168 )
...
Moved to a new-style test in vim/vim@610cc1b9b (v7.4.1652).
Ref: https://github.com/neovim/neovim/pull/11165#issuecomment-538785588
2019-10-06 23:35:52 +02:00
Justin M. Keyes
93bceac9bd
Merge #11157 from janlazo/vim-8.1.2113
...
vim-patch:8.1.{59, 586, 2113}
2019-10-06 12:32:27 -07:00
Jan Edmund Lazo
b007e5d882
vim-patch:8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
...
Problem: Displayed digraph for "ga" wrong with 'encoding' "cp1251".
Solution: Convert from 'encoding' to "utf-8" if needed. (closes vim/vim#3015 )
bc5020aa4d
2019-10-06 09:34:47 -04:00
Jurica Bradarić
fe074611cd
vim-patch:8.1.1371: cannot recover from a swap file #11081
...
Problem: Cannot recover from a swap file.
Solution: Do not expand environment variables in the swap file name.
Do not check the extension when we already know a file is a swap
file. (Ken Takata, closes 4415, closes vim/vim#4369 )
99499b1c05
2019-10-05 20:35:48 -07:00
Jan Edmund Lazo
5581ffac74
vim-patch:8.1.2113: ":help expr-!~?" only works after searching
...
Problem: ":help expr-!~?" only works after searching.
Solution: Escape "~" after "expr-". (closes vim/vim#5015 )
9ca250855b
2019-10-05 11:17:30 -04:00
Daniel Hahler
402afb0895
Makefile: use $TMPDIR below src/nvim/testdir ( #11153 )
...
This makes it ignored/cleaned automatically.
It was made absolute in 8821579ba , but to the root back then.
2019-10-04 22:10:16 +02:00
Daniel Hahler
c3ae5e1375
test/old: align with Vim #11096
2019-10-03 00:32:14 -07:00
Jan Edmund Lazo
ada2ec4416
vim-patch:8.1.0315: helpgrep with language doesn't work properly
...
Problem: Helpgrep with language doesn't work properly. (Takuya Fujiwara)
Solution: Check for the language earlier. (Hirohito Higashi)
c631f2df62
2019-10-01 22:27:45 -04:00
Jan Edmund Lazo
8732cce315
vim-patch:8.1.2074: test for SafeState autocommand is a bit flaky
...
Problem: Test for SafeState autocommand is a bit flaky.
Solution: Add to list of flaky tests.
0d0c3ca007
2019-10-01 22:27:44 -04:00
Jan Edmund Lazo
90c2abc53f
vim-patch:8.1.1347: fractional scroll position not restored after closing window
...
Problem: Fractional scroll position not restored after closing window.
Solution: Do restore fraction if topline is not one.
bd2d68c2f4
2019-10-01 22:27:44 -04:00
Jan Edmund Lazo
6ed20ff25c
vim-patch:8.1.1327: unnecessary scroll after horizontal split
...
Problem: Unnecessary scroll after horizontal split.
Solution: Don't adjust to fraction if all the text fits in the window.
(Martin Kunev, closes vim/vim#4367 )
a9b2535f44
2019-10-01 22:27:43 -04:00
Jan Edmund Lazo
e8144d204c
vim-patch:8.1.0518: Test_window_split_edit_bufnr() fails on AppVeyor
...
Problem: Test_window_split_edit_bufnr() fails on AppVeyor.
Solution: Disable the failing part for now.
8617b40159
2019-10-01 22:27:43 -04:00
Jan Edmund Lazo
14f3287b98
vim-patch:8.1.0517: Test_window_split_edit_alternate() fails on AppVeyor
...
Problem: Test_window_split_edit_alternate() fails on AppVeyor.
Solution: Disable the failing part for now.
d42333d8e9
2019-10-01 22:27:43 -04:00
Jan Edmund Lazo
17e96d96ba
vim-patch:8.1.0514: CTRL-W ^ does not work when alternate buffer has no name
...
Problem: CTRL-W ^ does not work when alternate buffer has no name.
Solution: Use another method to split and edit the alternate buffer. (Jason
Franklin)
1bbb619483
2019-10-01 22:27:43 -04:00
Jan Edmund Lazo
8d0bc3c189
vim-patch:8.1.1758: count of g$ not used correctly when text is not wrapped
...
Problem: Count of g$ not used correctly when text is not wrapped.
Solution: Do use the count. (Christian Brabandt, closes vim/vim#4729 , closes vim/vim#4566 )
d5c8234517
2019-10-01 22:27:43 -04:00
Jan Edmund Lazo
24c4d4e125
vim-patch:8.1.2072: "gk" moves to start of line instead of upwards
...
Problem: "gk" moves to start of line instead of upwards.
Solution: Fix off-by-one error. (Christian Brabandt, closes vim/vim#4969 )
03ac52fc02
2019-10-01 22:27:43 -04:00
Daniel Hahler
0d9a3c86a1
vim-patch:8.1.2083: multi-byte chars do not work properly with "%.*S" in printf() ( #11106 )
...
Problem: Multi-byte chars do not work properly with "%.*S" in printf().
Solution: Use mb_ptr2cells(). Daniel Hahler, closes vim/vim#4989 )
ce0fac2897
2019-09-28 00:32:22 +02:00
Jan Edmund Lazo
6d213593ed
vim-patch:8.0.1754: ex_helpgrep() is too long #11084
...
Problem: ex_helpgrep() is too long.
Solution: Refactor the function. (Yegappan Lakshmanan, closes vim/vim#2766 )
2225ebb486
2019-09-23 22:28:04 -07:00
Daniel Hahler
97b82553e0
vim-patch:8.1.2052: using "x" before a closed fold may delete that fold
...
Problem: Using "x" before a closed fold may delete that fold.
Solution: Do not translate 'x' do "dl". (Christian Brabandt, closes vim/vim#4927 )
7a9bd7c1e0
2019-09-22 20:11:04 +02:00
Justin M. Keyes
1654932498
vim-patch:8.1.2060: "precedes" in 'listchars' not used properly
...
(Credit: Zach Wegner, https://github.com/neovim/neovim/pull/11034 )
Problem: "precedes" in 'listchars' not used properly.
Solution: Correctly handle the "precedes" char in list mode for long lines.
bffba7f704
2019-09-21 22:13:55 -07:00
Daniel Hahler
ad0f97f412
vim-patch:8.1.2055: profile: adjust line format #11058
...
Problem: Not easy to jump to function line from profile.
Solution: Use "file:99" instead of "file line 99" so that "gf" works.
(Daniel Hahler, closes vim/vim#4951 )
181d4f58cc
2019-09-21 14:18:56 -07:00
Jan Edmund Lazo
2a7ffc6567
vim-patch:8.0.1776: in tests, when WaitFor() fails it doesn't say why
...
Problem: In tests, when WaitFor() fails it doesn't say why.
Solution: Turn a few more WaitFor() into WaitForAssert().
0e9d1ae321
2019-09-21 08:43:07 -04:00
Jan Edmund Lazo
3878b0822e
vim-patch:8.0.1771: in tests, when WaitFor() fails it doesn't say why
...
Problem: In tests, when WaitFor() fails it doesn't say why. (James McCoy)
Solution: Add WaitForAssert(), which produces an assert error when it fails.
50182fa84e
2019-09-21 08:43:07 -04:00
Jan Edmund Lazo
7cffc87868
vim-patch:8.0.1733: incomplete testing for completion fix
...
Problem: Incomplete testing for completion fix. (Lifepillar)
Solution: Add a test with CTRL-P.
bad0ce7b26
2019-09-21 08:43:07 -04:00
Jan Edmund Lazo
ca11662515
vim-patch:8.0.1539: no test for the popup menu positioning
...
Problem: No test for the popup menu positioning.
Solution: Add a screendump test for the popup menu.
6bb2cdfe60
2019-09-21 08:43:07 -04:00
Jan Edmund Lazo
b853b6e4ea
vim-patch:8.0.1109: timer causes error on exit from Ex mode
...
Problem: Timer causes error on exit from Ex mode. (xtal8)
Solution: save and restore the ex_pressedreturn flag. (Christian Brabandt,
closes vim/vim#2079 )
f5291f301e
2019-09-21 08:43:07 -04:00
Jan Edmund Lazo
1c71a3c657
vim-patch:8.1.2054: compiler test for Perl may fail
...
Problem: Compiler test for Perl may fail.
Solution: Accept any error line number. (James McCoy, closes vim/vim#4944 )
cebfcffa40
2019-09-21 08:43:06 -04:00
Jan Edmund Lazo
690cd4f012
vim-patch:8.1.1783: MS-Windows: compiler test may fail when using %:S
...
Problem: MS-Windows: compiler test may fail when using %:S.
Solution: Reset 'shellslash'.
dff2adc8dd
2019-09-21 08:43:06 -04:00
Jan Edmund Lazo
8db9e82e3e
vim-patch:8.0.1770: assert functions don't return anything
...
Problem: Assert functions don't return anything.
Solution: Return non-zero when the assertion fails.
65a5464985
2019-09-16 23:42:44 -04:00
Jan Edmund Lazo
792c290343
vim-patch:8.0.1523: cannot write and read terminal screendumps
...
Problem: Cannot write and read terminal screendumps.
Solution: Add term_dumpwrite(), term_dumpread() and term_dumpdiff().
Also add assert_equalfile().
d96ff16511
2019-09-16 21:36:46 -04:00
Jan Edmund Lazo
36a1670151
test/old: detect user modules for python,ruby
...
Set the environment variables before changing $HOME
so that python,ruby can find user modules not in $HOME.
Reference:
- 7be7ec98a2
- https://github.com/neovim/neovim/issues/10270#issuecomment-531516948
2019-09-15 08:26:54 -04:00
Jan Edmund Lazo
c65dd2d114
vim-patch:8.1.0220: Ruby converts v:true and v:false to a number
...
Problem: Ruby converts v:true and v:false to a number.
Solution: Use Qtrue and Qfalse instead. (Masataka Pocke Kuwabara,
closes vim/vim#3259 )
d84b26a03b
nvim does not support v:none.
2019-09-15 07:41:08 -04:00
Jan Edmund Lazo
cccfc1b603
test/old: skip python-bindeval tests
2019-09-14 17:53:52 -04:00
Jan Edmund Lazo
ce3d9503b2
vim-patch:8.1.0212: preferred cursor column not set in interfaces
...
Problem: Preferred cursor column not set in interfaces.
Solution: Set w_set_curswant when setting the cursor. (David Hotham,
closes vim/vim#3060 )
53901442f3
This contains test_ruby changes only.
test_python changes were ported before.
2019-09-14 17:46:07 -04:00
Jan Edmund Lazo
67bede0b27
test/old: skip failing ruby tests
...
These tests didn't pass in https://github.com/neovim/neovim/pull/9245
2019-09-14 17:05:04 -04:00
Jan Edmund Lazo
232cce9abe
vim-patch:8.0.1448: segfault with exception inside :rubyfile command
...
Problem: Segmentation fault when Ruby throws an exception inside :rubyfile
command.
Solution: Use rb_protect() instead of rb_load_protect(). (ujihisa,
closes vim/vim#2147 , greywolf, closes vim/vim#2512 , vim/vim#2511 )
37badc898b
2019-09-14 16:34:16 -04:00
Jan Edmund Lazo
1a718f4fae
vim-patch:8.1.2028: options test script does not work
...
Problem: Options test script does not work.
Solution: Use optiondefs.h for input.
d9b0d83b13
2019-09-14 13:07:58 -04:00
Jan Edmund Lazo
27fd4f31fd
vim-patch:8.1.0289: cursor moves to wrong column after quickfix jump
...
Problem: Cursor moves to wrong column after quickfix jump.
Solution: Set the curswant flag. (Andy Massimino, closes vim/vim#3331 )
2dfcef4c08
2019-09-14 12:31:47 -04:00
Daniel Hahler
8c88d98df9
vim-patch:8.1.2023: no test for synIDattr() returning "strikethrough" ( #11018 )
...
Problem: No test for synIDattr() returning "strikethrough".
Solution: Extend the synIDattr() test. (Jaskaran Singh, closes vim/vim#4929 )
dcb2b9cb08
2019-09-14 16:32:38 +02:00
Jan Edmund Lazo
fba9c72495
vim-patch:8.1.0259: no test for fixed quickfix issue
...
Problem: No test for fixed quickfix issue.
Solution: Add a test. Clean up the code a bit. (Yegappan Lakshmanan)
3f347e4716
2019-09-13 00:47:30 -04:00
Jan Edmund Lazo
8dde9b58e5
vim-patch:8.1.1197: when starting with multiple tabs file messages is confusing
...
Problem: When starting with multiple tabs file messages is confusing.
Solution: Set 'shortmess' when loading the other tabs. (Christian Brabandt)
c75e812623
2019-09-08 23:16:54 -04:00
Jan Edmund Lazo
554566ccea
vim-patch:8.1.2007: no test for what 8.1.1926 fixes #10970
...
Problem: No test for what 8.1.1926 fixes.
Solution: Add a test case.
fca068b977
2019-09-08 12:22:55 -07:00
Jan Edmund Lazo
a96b3677c6
vim-patch:8.1.1988: :startinsert! does not work the same way as "A"
...
Problem: :startinsert! does not work the same way as "A".
Solution: Use the same code to move the cursor. (closes vim/vim#4896 )
8d3b51084a
2019-09-06 23:27:14 -04:00
Justin M. Keyes
8b06231612
Merge #10869 'vim-patch:8.1.{0309,0362,0365,0515,1946}'
2019-09-05 14:10:32 -07:00