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
Justin M. Keyes
8cf7daaaa8
verb_msg: remove char_u
2019-04-29 21:22:55 +02:00
Justin M. Keyes
3033b5a70a
vim-patch:8.1.1231: asking about existing swap file unnecessarily
...
Problem: Asking about existing swap file unnecessarily.
Solution: When it is safe, delete the swap file. Remove
HAS_SWAP_EXISTS_ACTION, it is always defined. (closes vim/vim#1237 )
67cf86bfff
N/A:
vim-patch:8.1.1232
vim-patch:8.1.1233
vim-patch:8.1.1236
2019-04-29 21:22:55 +02:00
Justin M. Keyes
04f0bc97b7
vim-patch:8.1.0401: can't get swap name of another buffer
...
Problem: Can't get swap name of another buffer.
Solution: Add swapname(). (Ozaki Kiichi, closes vim/vim#3441 )
110bd60985
2019-04-29 21:19:45 +02:00
Justin M. Keyes
035a41c218
vim-patch:8.1.0325: strings in swap file may not be NUL terminated
...
Problem: Strings in swap file may not be NUL terminated. (Coverity)
Solution: Limit the length of the used string.
7c60505e10
2019-04-29 21:19:45 +02:00
Justin M. Keyes
3a92040b44
vim-patch:8.1.0316: swapinfo() test fails on Travis
...
Problem: swapinfo() test fails on Travis.
Solution: Handle a long host name. (Ozaki Kiichi, closes vim/vim#3361 )
Also make the version check flexible. (James McCoy)
4c5765bc47
2019-04-29 21:19:45 +02:00
Justin M. Keyes
39e3783c69
vim-patch:8.1.0314: add swapinfo() "dirty" item
...
Problem: Build failure without the +eval feature. (Brenton Horne)
Solution: Add #ifdef. Also add the "dirty" item.
47ad5656e1
2019-04-29 21:19:45 +02:00
Justin M. Keyes
24b7462b3c
vim-patch:8.1.0313: information about a swap file is unavailable
...
Problem: Information about a swap file is unavailable.
Solution: Add swapinfo(). (Enzo Ferber)
00f123a565
2019-04-29 19:55:42 +02:00
Jan Edmund Lazo
a0d723db55
vim-patch:8.0.1563: getwinposx() timeout #9955
...
Problem: Timeout of getwinposx() can be too short. (lilydjwg)
Solution: Add getwinpos(). (closes vim/vim#2689 )
3f54fd319f
2019-04-29 11:53:44 +02:00
Justin M. Keyes
8aca932aa0
clipboard: setreg("*") with clipboard=unnamed #9954
...
Helped-by: Björn Linse <bjorn.linse@gmail.com>
fix #5646
2019-04-28 21:06:24 +02:00
rolag
fb6ff2a593
lint
2019-04-28 19:58:13 +01:00
Justin M. Keyes
c76c798bf6
vim-patch:8.1.0843: memory leak when running "make test_cd" #9944
...
closes #9921
reverts f0a702d116
Problem: Memory leak when running "make test_cd".
Solution: Free the stack element when failing. (Dominique Pelle,
closes vim/vim#3877 )
e0de2164f6
2019-04-28 16:54:00 +02:00
Justin M. Keyes
33b20ce7de
tui:cursor_goto(): remove dead code #9952
...
fix #9918
ref dbc25f5a87
Before 7ede14d191
the UGRID_FOREACH_CELL loop was never entered,
because it expanded to an always-false condition.
From build/src/nvim/auto/tui/tui.i:
do {
UCell *row_cells = (grid)->cells[grid->row];
for (int col = grid->col; col < col; col++) {
UCell *cell = row_cells + col;
(void)(cell);
{
print_cell(ui, cell);
};
}
} while (0);
After 7ede14d191
issue #9918 was reported.
$ ./build/bin/nvim -Nu NONE +'colo evening'
:h<tab> " causes cursor to change colors
Since the code was dead before 7ede14d191
, just remove it.
2019-04-28 16:19:36 +02:00
AlxHnr
fbd6666a06
runtime/Tutor: define highlights as "default" #9947
2019-04-28 12:55:38 +02:00
rolag
924dd6f14a
vim-patch:8.1.0519: cannot save and restore the tag stack
...
Problem: Cannot save and restore the tag stack.
Solution: Add gettagstack() and settagstack(). (Yegappan Lakshmanan,
closes vim/vim#3604 )
f49cc60aa8
2019-04-28 11:37:19 +01:00
erw7
8072f085d2
win: stream_init() issue with tty on Windows #9884
...
ref #9825
2019-04-28 11:46:48 +02:00
Justin M. Keyes
cf80fd9e02
Merge #9911 from justinmk/win-site-data
...
win/defaults: Use "…/nvim-data/site" in 'runtimepath'
2019-04-28 09:16:02 +02:00
Jan Edmund Lazo
070d9261b6
test/old: remove test16 ( #9949 )
...
Vim replaced it with a test in test_gui.vim, N/A for Neovim.
2019-04-28 08:55:13 +02:00
Justin M. Keyes
769f44e918
win/defaults: Use "…/nvim-data/site" in 'runtimepath'
...
On Windows we store non-config data in "$XDG_DATA_HOME/nvim-data". But
the "…/site" items in 'runtimepath' did not correctly point to that
location, they used "…/nvim/site".
Fix the init logic to use "…/nvim-data/site".
closes #9910
2019-04-28 00:27:07 +02:00
Jan Edmund Lazo
f86f0a8bc7
vim-patch:8.1.1214: old style tests #9948
...
Problem: Old style tests.
Solution: Move tests from test14 to new style test files. (Yegappan
Lakshmanan, closes vim/vim#4308 )
c6b37db1ba
2019-04-27 21:45:53 +02:00
Justin M. Keyes
83d571653b
spellfile.vim: store files in stdpath('data')
...
ref b9b2fb7d5d
#6664 #6272
2019-04-27 21:34:54 +02:00
Pedro Bortolli
1039e0621d
doc/API #9916
2019-04-27 17:28:18 +02:00
Justin M. Keyes
920ec8181b
Merge #9915 'test: clear(): args_rm param'
2019-04-27 17:11:34 +02:00
Justin M. Keyes
698c4f662d
test: clear(): remove opts.headless
parameter
...
Callers can instead specify `args_rm={'--headless'}`.
TODO: should `nvim_argv` have "--headless" by default? Need to inspect
some uses of spawn(nvim_argv) ...
2019-04-27 16:31:26 +02:00