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
Justin M. Keyes
17291642bd
test: clear(): args_rm
parameter
2019-04-27 16:19:40 +02:00
Justin M. Keyes
f0a7e3fc9a
test: 'shadafile' default
...
ref 773bdd41ec
2019-04-27 16:19:40 +02:00
Justin M. Keyes
e5b53381a2
Merge #9942 from janlazo/vim-8.1.0837
...
vim-patch:8.1.{837,1180,1194,1203,1207,1209}
2019-04-27 14:27:55 +02:00
Justin M. Keyes
16cc3cf9eb
test/old: remove test.out files
...
Do this for new-style tests too, because they run after the old-style
tests which don't clean up their temp files.
Reverts ebd251c
2019-04-27 11:07:26 +02:00
Jan Edmund Lazo
6a9a729674
vim-patch:8.1.1209: clever compiler warns for buffer being too small
...
Problem: Clever compiler warns for buffer being too small.
Solution: Make the buffer bigger (even though it's not really needed).
5431589d25
2019-04-27 00:13:46 -04:00
Jan Edmund Lazo
66d86d8bdb
vim-patch:8.1.1207: some compilers give warning messages
...
Problem: Some compilers give warning messages.
Solution: Initialize variables, change printf() argument. (Christian
Brabandt, closes vim/vim#4305 )
1f3601e92e
2019-04-27 00:00:51 -04:00
Jan Edmund Lazo
2e339807ac
vim-patch:8.1.1180: Vim script debugger tests are old style
...
Problem: Vim script debugger tests are old style.
Solution: Turn into new style tests. (Yegappan Lakshmanan, closes vim/vim#4259 )
113bf0672b
2019-04-26 23:40:29 -04:00
Jan Edmund Lazo
ebd251cdf0
oldtests: pass Test_ReadWrite_Autocmds()
2019-04-26 23:40:29 -04:00
Jan Edmund Lazo
18fddad48b
vim-patch:8.1.1203: some autocmd tests are old style
...
Problem: Some autocmd tests are old style.
Solution: Turn the tests into new style. (Yegappan Lakshmanan, closes vim/vim#4295 )
69ea587289
2019-04-26 07:05:55 -04:00
Jan Edmund Lazo
7d90b90d63
vim-patch:8.1.1194: typos and small problems in source files
...
Problem: Typos and small problems in source files.
Solution: Small fixes.
ad3ec76bb8
2019-04-26 07:01:18 -04:00
Jan Edmund Lazo
ed6c7fbf0b
vim-patch:8.1.0837: timer interrupting cursorhold and mapping not tested
...
Problem: Timer interrupting cursorhold and mapping not tested.
Solution: Add tests with timers. (Ozaki Kiichi, closes vim/vim#3871 )
26d982185e
2019-04-26 00:02:12 -04:00
Jan Edmund Lazo
9d77a07686
vim-patch:8.0.1510: cannot assert beep #9938
...
Problem: Cannot test if a command causes a beep.
Solution: Add assert_beeps().
b48e96f61c
2019-04-25 14:31:33 +02:00
Justin M. Keyes
24a9516ff4
Merge #9906 from janlazo/vim-8.0.0647
...
vim-patch:8.0.{647,768,797,1085,1092,1107,1133,1408}
2019-04-24 11:23:32 +02:00
Gabriel Cruz
8c6f5b7f92
Spurious quote mark in command line when typing <C-R> ( #9934 )
...
Remove <C-R> special char after reading following chars
2019-04-24 10:41:07 +02:00
Jan Edmund Lazo
37c7c964ae
vim-patch:8.0.1408: crash in setqflist()
...
Problem: Crash in setqflist().
Solution: Check for string to be NULL. (Dominique Pelle, closes vim/vim#2464 )
a0ca7d002d
2019-04-23 00:03:48 -04:00
Jan Edmund Lazo
439bbe00ec
vim-patch:8.0.0768: terminal window status shows "[Scratch]"
...
Problem: Terminal window status shows "[Scratch]".
Solution: Show "[Terminal]" when no title was set. (Yasuhiro Matsumoto)
Store the terminal title that vterm sends and use it. Update the
special buffer name. (closes vim/vim#1869 )
2155441460
2019-04-23 00:03:48 -04:00
Jan Edmund Lazo
3bc8639c1a
vim-patch:8.0.0797: finished job in terminal window is not handled
...
Problem: Finished job in terminal window is not handled.
Solution: Add the scrollback buffer. Use it to fill the buffer when the job
has ended.
d85f271bf8
2019-04-23 00:03:48 -04:00
Jan Edmund Lazo
6dacfe7217
vim-patch:8.0.1133: syntax timeout not used correctly
...
Problem: Syntax timeout not used correctly.
Solution: Do not pass the timeout to syntax_start() but set it explicitly.
(Yasuhiro Matsumoto, closes vim/vim#2139 )
f3d769a585
2019-04-23 00:03:48 -04:00
Jan Edmund Lazo
b8128aee02
vim-patch:8.0.1107: terminal debugger jumps to non-existing file
...
Problem: Terminal debugger jumps to non-existing file.
Solution: Check that the file exists. Add an option to make the Vim wide
wide. Fix removing highlight groups.
38baa3e634
2019-04-23 00:03:47 -04:00
Jan Edmund Lazo
e6f22d0fdd
vim-patch:8.0.1092: terminal debugger can't evaluate expressions
...
Problem: Terminal debugger can't evaluate expressions.
Solution: Add :Evaluate and K. Various other improvements.
45d5f26d11
2019-04-23 00:03:47 -04:00
Jan Edmund Lazo
9e9015ee23
vim-patch:8.0.1085: terminal debugger can't set breakpoints
...
Problem: The terminal debugger can't set breakpoints.
Solution: Add :Break and :Delete commands. Also commands for stepping
through code.
e09ba7bae5
2019-04-23 00:03:47 -04:00
Jan Edmund Lazo
bbc32fc831
lint
2019-04-23 00:03:47 -04:00
Jan Edmund Lazo
07a182c6b5
vim-patch:8.0.0647: syntax highlighting can make cause a freeze
...
Problem: Syntax highlighting can make cause a freeze.
Solution: Apply 'redrawtime' to syntax highlighting, per window.
06f1ed2f78
2019-04-23 00:03:47 -04:00
Justin M. Keyes
eada8f5aaa
Merge pull request #9871 from justinmk/doc
2019-04-22 21:34:46 +02:00
Justin M. Keyes
c1887f465d
gen_vimdoc.py: skip "Parameters" header if all excluded
2019-04-22 21:24:46 +02:00
erw7
d0fd66ba82
health/provider.vim: check curl HTTPS support
...
closes #9925
closes #9928
2019-04-22 21:05:39 +02:00
Justin M. Keyes
544305e802
doc: clarify -Es
2019-04-22 20:56:16 +02:00