Justin M. Keyes
71450b54aa
Merge pull request #4743 from jamessan/vim-7.4.1037
...
vim-patch:7.4.1037,fa73534
2016-05-15 22:50:17 -04:00
Justin M. Keyes
8dd91ddb73
test: term_close use-after-free
...
References #4393
2016-05-15 19:47:24 -04:00
Jurica Bradaric
d81556513d
vim-patch:7.4.1513
...
Problem: "J" fails if there are not enough lines. (Christian Neukirchen)
Solution: Reduce the count, only fail on the last line.
41e0f2f48f
2016-05-15 22:42:17 +02:00
Justin M. Keyes
8cdf908ddb
Merge pull request #2717 from lucc/test68
...
tests: Migrate legacy test 68.
2016-05-15 12:18:41 -04:00
James McCoy
8c399d6b37
vim-patch:7.4.1037
...
Problem: Using "q!" when there is a modified hidden buffer does not unload
the current buffer, resulting in the need to abandon it again.
Solution: When using "q!" unload the current buffer when needed. (Yasuhiro
Matsumoto, Hirohito Higashi)
027387f70c
2016-05-14 17:16:18 -04:00
Justin M. Keyes
104181ea03
Merge pull request #4563 from KillTheMule/vim-patch-1259
...
vim-patch: 7.4.1259
2016-05-14 16:47:24 -04:00
Jurica Bradaric
36a57a9e8a
Fix linter warnings in test.
2016-05-14 16:05:41 +02:00
Jurica Bradaric
055c9e1be6
vim-patch:7.4.1161
...
Problem: ":argadd" without argument is supposed to add the current buffer
name to the arglist.
Solution: Make it work as documented. (Coot, closes vim/vim#577 )
2faa29f896
2016-05-14 15:57:50 +02:00
Jurica Bradaric
02fb6ee458
vim-patch:7.4.1132
...
Problem: Old style tests for the argument list.
Solution: Add more new style tests. (Yegappan Lakshmanan)
99dbe291f5
2016-05-14 15:51:30 +02:00
Jurica Bradaric
dfdf7c02be
vim-patch:7.4.1123
...
Problem: Using ":argadd" when there are no arguments results in the second
argument to be the current one. (Yegappan Lakshmanan)
Solution: Correct the w_arg_idx value.
a24f0a550f
2016-05-14 15:51:30 +02:00
Jurica Bradaric
1573aa0b0a
vim-patch:7.4.1119
...
Problem: argidx() has a wrong value after ":%argdelete". (Yegappan
Lakshmanan)
Solution: Correct the value of w_arg_idx. Add a test.
72defda84e
2016-05-14 12:39:41 +02:00
KillTheMule
6ed201c5b5
vim-patch:7.4.1259
...
Problem: No test for what patch 7.3.414 fixed.
Solution: Add a test. (Elias Diem)
3fc3e14282
2016-05-10 19:23:53 +02:00
Jurica Bradaric
1c4989c2a3
vim-patch:7.4.1049
...
Problem: Wordcount test still still fails on MS-Windows.
Solution: Set 'fileformats' to "unix".
485dace817
2016-05-10 20:59:32 +02:00
Jurica Bradaric
6e9e5d23ce
vim-patch:7.4.1048
...
Problem: Wordcount test still fail on MS-Windows.
Solution: Set 'fileformat' to "unix".
c7803a1c42
2016-05-10 20:58:39 +02:00
Jurica Bradaric
ae7500457e
vim-patch:7.4.1047
...
Problem: Tests fail on MS-Windows.
Solution: Set 'selection' to inclusive.
7f68203168
2016-05-10 20:57:32 +02:00
Jurica Bradaric
2b238814d7
vim-patch:7.4.1042
...
Problem: g-CTRL-G shows the word count, but there is no way to get the word
count in a script.
Solution: Add the wordcount() function. (Christian Brabandt)
ed767a2073
2016-05-08 00:23:42 +02:00
James McCoy
c6ff71e00c
vim-patch:27a82e3
...
Add new file left out from patch 7.4.1034.
27a82e31ee
2016-05-05 21:13:47 -04:00
Michael Ennen
6bb4b9f57f
vim-patch:7.4.1006 #4605
...
Problem: The fix in patch 7.3.192 is not tested.
Solution: Add a test, one for each regexp engine. (Elias Diem)
96c664af27
The patch was applied to 044_099_regexp_multibyte_magic_spec.lua as
these two legacy tests (44 and 99) were merged together (and
de-duplicated) in Neovim.
2016-04-27 00:37:05 -04:00
Justin M. Keyes
ef205c3851
Merge pull request #4325 from watiko/vim-7.4.984
...
vim-patch:7.4.{984,1093}
2016-04-25 04:17:45 -04:00
Justin M. Keyes
588bc1d958
Merge #4303 'vim-patch:7.4.{951,1143,1144}'.
2016-04-25 03:56:33 -04:00
Justin M. Keyes
121e76db6f
Merge pull request #4273 from watiko/vim-7.4.957
...
vim-patch:7.4.{941,942,957}
2016-04-25 03:20:45 -04:00
Justin M. Keyes
3d7a6e4d54
Merge pull request #4367 from jbradaric/vim-7.4.1107
...
vim-patch:7.4.{1107,1114,1116,1117,1120}
2016-04-22 04:11:45 -04:00
Björn Linse
ce17d03180
eval: let getreg() return valid list for an undefined register
...
vim-patch:7.4.1755
this prevents a crash when the list is used in setreg() later
2016-04-21 18:11:06 +02:00
Jurica Bradaric
5734e21873
delete_spec: Fix linter errors.
2016-04-20 08:25:51 +02:00
Jurica Bradaric
425fcdb5b4
vim-patch:7.4.1120
...
Problem: delete(x, 'rf') fails if a directory is empty. (Lcd)
Solution: Ignore not finding matches in an empty directory.
336bd622c3
2016-04-20 08:25:51 +02:00
Jurica Bradaric
88a735166b
vim-patch:7.4.1114
...
Problem: delete() does not work well with symbolic links.
Solution: Recognize symbolik links.
43a34f9f74
2016-04-20 08:25:51 +02:00
Jurica Bradaric
50a7517a6d
vim-patch:7.4.1107
...
Problem: Vim can create a directory but not delete it.
Solution: Add an argument to delete() to make it possible to delete a
directory, also recursively.
da440d21a6
2016-04-20 08:25:16 +02:00
Justin M. Keyes
8a14750dd3
test: convert test_marks.in.
...
vim-patch:35e7594
35e7594dd4
"Add missing test files from 7.4.634 to the repository."
The discrepancy between the expected getpos() result of the old test
[0, 15, 2, 0] and the converted test [0, 3, 2, 0] is just a matter of how
the buffer is constructed: in the old Vim test the buffer has a bunch of
junk at the top.
The central purpose of the test is to verify that the getpost("'a") does
*not* return [0, 0, 0, 0].
2016-04-18 03:00:43 -04:00
Justin M. Keyes
bf2c2b34cf
Merge pull request #4357 from jbradaric/vim-7.4.1105
...
vim-patch:7.4.1105
2016-04-09 14:14:55 -04:00
James McCoy
7558f42f7d
vim-patch:7.4.1654
...
Problem: Crash when using expand('%:S') in a buffer without a name.
Solution: Don't set a NUL. (James McCoy, closes vim/vim#714 )
52c6eaffd4
2016-03-30 08:30:35 -04:00
James McCoy
62c0d99474
vim-patch:7.4.1652
...
Problem: Old style test for fnamemodify().
Solution: Turn it into a new style test.
610cc1b9b3
2016-03-30 08:30:35 -04:00
James McCoy
e4d1bf7177
vim-patch:7.4.1643
...
Problem: Terminating file name has side effects.
Solution: Restore the character. (mostly by James McCoy, closes vim/vim#713 )
d4caf5c16a
2016-03-30 08:30:35 -04:00
James McCoy
5f0c76b243
vim-patch:7.4.1641
...
Problem: Using unterminated string.
Solution: Add NUL before calling vim_strsave_shellescape(). (James McCoy)
5ca84ce4aa
2016-03-30 08:30:35 -04:00
Lucas Hoffmann
316d38d98c
tests: Update migrated legacy test 88 for patch 7.4.639.
...
The patch was merged into master at d25a59f4
.
2016-03-09 23:55:16 +01:00
Lucas Hoffmann
925c020a1b
tests: Modernize legacy test 88.
2016-03-09 23:55:13 +01:00
Lucas Hoffmann
87c208a43f
tests: Migrate legacy test 88.
2016-03-09 23:54:26 +01:00
Thiago de Arruda
c6ec148f2d
Rewrite hexadecimal escape sequences as decimal in lua strings
...
The hexadecimal notation is a Luajit extension which is not compatible with Lua
5.1. While Lua 5.2 does support hexadecimal sequences, it is better to target
Lua 5.1 for maximum compatibility with Luajit(which has fully compatible with
5.1 API/ABI).
2016-03-07 03:58:35 -03:00
Thiago de Arruda
35d8d10a6a
Remove dependency on ffi module
2016-03-07 03:58:29 -03:00
watiko
6d2ed7c0eb
tests: Migrate legacy test tagcase
2016-03-06 00:32:58 +09:00
Marco Hinz
a528d56ba0
Tests: add autocmd_spec.lua
2016-03-02 12:37:50 +01:00
watiko
29a1807de8
tests: Migrate legacy test sort
2016-03-02 17:32:24 +09:00
watiko
313810ccad
vim-patch:7.4.1143
...
Problem: Can't sort on floating point numbers.
Solution: Add the "f" flag to ":sort". (Alex Jakushev) Also add the "f"
flag to sort().
f7edf40448
2016-03-02 17:32:24 +09:00
watiko
d5904160d7
tests: Migrate legacy test searchpos
2016-03-02 16:41:09 +09:00
Justin M. Keyes
badf227e6f
Merge pull request #4319 from watiko/vim-7.4.952
...
vim-patch:7.4.952
2016-03-02 01:31:45 -05:00
Marco Hinz
be7d6ba6c1
Trigger TabNew before TabEnter
2016-03-01 21:52:37 +01:00
Jurica Bradaric
11cf3680e4
vim-patch:7.4.1105
...
Problem: When using slices there is a mixup of variable name and namespace.
Solution: Recognize variables that can't be a namespace. (Hirohito Higashi)
9bbf63dbf8
2016-02-27 18:29:16 +01:00
Lucas Hoffmann
1e7c6380fe
tests: Migrate legacy test breakindent.
2016-02-25 17:15:09 +01:00
Lucas Hoffmann
2ced866925
tests: Migrate legacy test 68.
2016-02-24 22:21:25 +01:00
Marco Hinz
9a3b7fa906
Tests: fix according to lualint
2016-02-24 01:42:38 +01:00
watiko
f0add77de5
vim-patch:7.4.952
...
Problem: 'lispwords' is tested in the old way.
Solution: Make a new style test for 'lispwords'.
6cd1345307
2016-02-22 22:47:18 +09:00