Justin M. Keyes
5faed57ac7
PVS/V571: condition was already verified
2019-05-06 08:59:13 +02:00
Justin M. Keyes
4658e9c1d9
vim-patch:8.0.1750: crash clearing location list #9968
...
Problem: Crash when clearing loccation list in autocommand.
Solution: Check if "qi" equals "ql_info". (Yegappan Lakshmanan)
3b9474b4ad
2019-05-05 23:18:47 +02:00
Justin M. Keyes
4b65a0059a
test: cleanup
...
Avoid hyper-granularity. Don't need subdirectories for every little
thing.
2019-05-05 23:01:35 +02:00
Justin M. Keyes
8a1880f041
Merge #9972 from janlazo/vim-8.1.1249
...
vim-patch:8.1.{613,1046,1249}
2019-05-05 20:04:35 +02:00
Justin M. Keyes
9d6c205a33
Merge #9842 from mhinz/vim-8.0.1782
...
vim-patch:8.0.{1353,1389,1406,1420,1432,1500,1569,1634,1678,1727,1782,1805,1831}
2019-05-05 20:01:27 +02:00
Jan Edmund Lazo
fb02e9f1e9
vim-patch:8.1.1046: the "secure" variable is used inconsistently
...
Problem: the "secure" variable is used inconsistently. (Justin M. Keyes)
Solution: Set it to one instead of incrementing.
82b033eff8
2019-05-05 11:40:19 -04:00
Jan Edmund Lazo
9c6476d81e
vim-patch:8.1.0613: when executing an insecure function the secure flag is stuck
...
Problem: When executing an insecure function the secure flag is stuck.
(Gabriel Barta)
Solution: Restore "secure" instead of decrementing it. (closes vim/vim#3705 )
48f377a476
2019-05-05 11:38:21 -04:00
Marco Hinz
5f903a1648
lint
2019-05-05 14:05:26 +02:00
Marco Hinz
720cb36cea
doc: update setqflist()
2019-05-05 14:05:25 +02:00
Marco Hinz
1eda387951
tests: adjust to latest Vim patches
2019-05-05 14:05:25 +02:00
Marco Hinz
daa82cbf69
vim-patch:8.0.1831: sometimes the quickfix title is incorrectly prefixed with ':'
...
Problem: Sometimes the quickfix title is incorrectly prefixed with ':'.
Solution: Prepend the colon in another way. (Yegappan Lakshmanan)
8b62e31003
2019-05-05 13:46:20 +02:00
Marco Hinz
446bfdd49f
vim-patch:8.0.1805: qf_parse_line() is too long
...
Problem: qf_parse_line() is too long.
Solution: Split it in parts. Properly handle vim_realloc() failing.
(Yegappan Lakshmanan)
18cebf4417
2019-05-05 13:46:20 +02:00
Marco Hinz
e6c21c4bc0
vim-patch:8.0.1782: no simple way to label quickfix entries
...
Problem: No simple way to label quickfix entries.
Solution: Add the "module" item, to be used instead of the file name for
display purposes. (Martin Szamotulski)
d76ce85266
2019-05-05 13:46:19 +02:00
Marco Hinz
ce0e083094
vim-patch:8.0.1727: qf_get_properties() function is too long
...
Problem: qf_get_properties() function is too long.
Solution: Refactor the code. (Yegappan Lakshmanan)
353eeeaca2
2019-05-05 13:46:19 +02:00
Marco Hinz
ced3598a96
vim-patch:8.0.1678: errorformat "%r" implies "%>"
...
Problem: Errorformat "%r" implies "%>". (Jan Gosmann)
Solution: Jump to before setting fmt_ptr. (Yegappan Lakshmanan)
e333e79f9b
2019-05-05 13:46:19 +02:00
Marco Hinz
98a8187764
vim-patch:8.0.1634: the ex_vimgrep() function is too long
...
Problem: The ex_vimgrep() function is too long.
Solution: Split it in smaller functions. (Yegappan Lakshmanan)
75b0a888e4
2019-05-05 13:46:19 +02:00
Marco Hinz
f75c48146a
vim-patch:8.0.1569: warning for uninitialized variable from gcc
...
Problem: Warning for uninitialized variable from gcc.
Solution: Initialize the variable.
28ada699c1
2019-05-05 13:44:50 +02:00
Jan Edmund Lazo
0673b0d251
test/old: set shellslash in Test_finddir
2019-05-04 23:09:25 -04:00
Jan Edmund Lazo
246807b8f4
test/old: enable Test_normal01_keymodel
...
It works now.
2019-05-04 08:26:41 -04:00
Jan Edmund Lazo
49b0d41c3c
vim-patch:8.1.1249: compiler warning for uninitialized variable
...
Problem: Compiler warning for uninitialized variable.
Solution: Initialize it. (Christian Brabandt)
c6b1cc967f
2019-05-03 23:15:06 -04:00
Marco Hinz
624dbfdd44
vim-patch:8.0.1500: possible NULL pointer dereference
...
Problem: Possible NULL pointer dereference. (Coverity)
Solution: Check for the pointer not being NULL.
0549a1e184
2019-05-04 01:40:11 +02:00
Marco Hinz
06b70bf1d6
vim-patch:8.0.1432: after ":copen" can't get the window-ID of the quickfix window
...
Problem: After ":copen" can't get the window-ID of the quickfix window.
(FalacerSelene)
Solution: Make it work without a quickfix list. Add a test. (Yegappan
Lakshmanan)
2ec364e94d
2019-05-04 01:40:11 +02:00
Marco Hinz
dc5f4a3cc2
vim-patch:8.0.1420: accessing freed memory in vimgrep
...
Problem: Accessing freed memory in vimgrep.
Solution: Check that the quickfix list is still valid. (Yegappan Lakshmanan)
3c09722600
2019-05-04 01:40:10 +02:00
Marco Hinz
37d666bc80
vim-patch:8.0.1406: difficult to track changes to a quickfix list
...
Problem: Difficult to track changes to a quickfix list.
Solution: Add a "changedtick" value. (Yegappan Lakshmanan)
b254af312d
2019-05-04 01:40:00 +02:00
Marco Hinz
6d314484d4
vim-patch:8.0.1389: getqflist() items are missing if not set
...
Problem: getqflist() items are missing if not set, that makes it more
difficult to handle the values.
Solution: When a value is not available return zero or another invalid
value. (Yegappan Lakshmanan)
a6d4849c71
2019-05-03 23:36:51 +02:00
Marco Hinz
f3b88013a8
vim-patch:8.0.1353: QuickFixCmdPost is not used consistently
...
Problem: QuickFixCmdPost is not used consistently.
Solution: Invoke QuickFixCmdPost consistently after QuickFixCmdPre.
(Yegappan Lakshmanan)
1ed2276fd5
2019-05-03 23:36:47 +02:00
Justin M. Keyes
6891d8aeca
Merge #9970 from janlazo/vim-8.1.0794
...
vim-patch:8.0.1708,8.1.{369,794,1242}
2019-05-03 11:03:49 +02:00
Jan Edmund Lazo
96a8b0ab78
vim-patch:8.1.0369: continuation lines cannot contain comments
...
Problem: Continuation lines cannot contain comments.
Solution: Support using "\ .
67f8ab8299
2019-05-03 02:08:18 -04:00
Jan Edmund Lazo
4b287119fe
vim-patch:8.0.1708: mkdir with 'p' flag fails on existing directory
...
Problem: Mkdir with 'p' flag fails on existing directory, which is
different from the mkdir shell command.
Solution: Don't fail if the directory already exists. (James McCoy,
closes vim/vim#2775 )
78a16b0f2a
2019-05-03 00:55:56 -04:00
Jan Edmund Lazo
56bae9b7d9
lint
2019-05-02 22:47:04 -04:00
Jan Edmund Lazo
049321c357
vim-patch:8.1.1242: no cmdline redraw when tabpages have different 'cmdheight'
...
Problem: No cmdline redraw when tabpages have different 'cmdheight'.
Solution: redraw the command line when 'cmdheight' changes when switching
tabpages. (closes vim/vim#4321 )
0fef0aeb1c
2019-05-02 22:43:02 -04:00
Jan Edmund Lazo
31755783e3
vim-patch:8.1.0794: white space before " -Ntabmove" causes problems
...
Problem: White space before " -Ntabmove" causes problems.
Solution: Skip whitespace. (Ozaki Kiichi, closes vim/vim#3841 )
82a12468bd
2019-05-02 22:40:10 -04:00
Justin M. Keyes
9d58a58980
Merge #9966 from justinmk/te-hl
...
terminal: swap priority of terminal, editor highlights
2019-05-02 22:52:28 +02:00
Justin M. Keyes
660fe979c1
terminal.c: remove unnecessary macro
2019-05-02 21:59:15 +02:00
Carlo Abelli
49c51f839b
ex_getln: fix statusline redraw logic #9967
...
fixes #9908
2019-05-02 11:38:21 +02:00
Justin M. Keyes
fd0fd752c8
terminal: swap priority of terminal, editor highlights
...
closes #9964
2019-05-02 09:56:22 +02:00
Justin M. Keyes
53cef34f16
Merge #9946 from justinmk/doc
2019-05-01 00:22:17 +02:00
Justin M. Keyes
c11e618133
gen_vimdoc.py: support <pre> preformatted text [ci skip]
2019-05-01 00:18:49 +02:00
Justin M. Keyes
afd947e0c3
doc [ci skip]
...
ref #9886
2019-05-01 00:18:43 +02:00
Justin M. Keyes
e22c475156
Merge #9951 'vim-patch:8.1.0519: save/restore tag stack'
2019-04-30 23:41:34 +02:00
Justin M. Keyes
8342b4486b
Merge #9957 from janlazo/vim-8.0.1263
...
vim-patch:8.0.{1263,1265,1267}
2019-04-30 12:24:56 +02:00
Jan Edmund Lazo
0e7048ae05
lint
2019-04-30 05:13:06 -04:00
Jan Edmund Lazo
c3edbf813a
vim-patch:8.0.1267: Test_swap_group may leave file behind
...
Problem: Test_swap_group may leave file behind.
Solution: Add a try/finally.
5842a748be
2019-04-29 20:59:51 -04:00
Jan Edmund Lazo
3a8ebda10a
vim-patch:8.0.1265: swap test not skipped when there is one group
...
Problem: Swap test not skipped when there is one group.
Solution: Convert list to string for the message.
ad7dac85c3
2019-04-29 20:48:18 -04:00
Jan Edmund Lazo
0cecf9f121
vim-patch:8.0.1263: others can read the swap file if a user is careless
...
Problem: Others can read the swap file if a user is careless with his
primary group.
Solution: If the group permission allows for reading but the world
permissions doesn't, make sure the group is right.
5a73e0ca54
2019-04-29 20:47:49 -04:00
Justin M. Keyes
63526f2eee
Merge #9956 from justinmk/vim-8.1.1231
...
vim-patch:8.1.1231, swap-related patches
2019-04-30 01:26:33 +02:00
Justin M. Keyes
aac731c22b
vim-patch:8.1.0642: swapinfo() leaks memory
...
Problem: swapinfo() leaks memory.
Solution: Avoid allocating the strings twice.
e6fdf79980
2019-04-29 22:41:16 +02:00
Justin M. Keyes
a01246c275
lint
2019-04-29 21:37:22 +02:00
Justin M. Keyes
7032562faf
vim-patch:8.1.1234: swap file test fails on MS-Windows
...
Problem: Swap file test fails on MS-Windows.
Solution: Only compare the tail of the file names.
701df4eb64
2019-04-29 21:22:55 +02:00
Justin M. Keyes
7f8f6ac8d7
test/old: skip Test_swapfile_delete() until "blob" is merged
2019-04-29 21:22:55 +02:00