Justin M. Keyes
e30ccd56d9
shell.c: fix scan-build NPE warning #8932
2018-08-29 22:00:38 +02:00
Justin M. Keyes
93ee31bf65
spellfile.c: Remove dead assignment #8933
...
Looks like a harmless accident of ebe5051977
(which was a followup to its parent fa7ace446e
).
2018-08-29 21:56:06 +02:00
Tapan Prakash
c5c3b0b8f9
Fix dead assignment.
2018-08-29 16:54:21 +05:30
Justin M. Keyes
17ce06d1c9
Merge #8930 'vim-patch:8.1.0022'
2018-08-29 08:11:16 +02:00
Jan Edmund Lazo
81c2cbe099
getchar: fix {read,copy,start}_redo() params
...
Update function signature as follows:
- read_redo(bool, bool)
- copy_redo(bool)
- start_redo(long, bool)
2018-08-29 00:27:07 -04:00
Jan Edmund Lazo
9fab77c7fb
globals: cmd_silent is bool
2018-08-29 00:17:30 -04:00
Jan Edmund Lazo
7c38f60b3b
vim-patch:8.1.0022: repeating put from expression register fails
...
Problem: Repeating put from expression register fails.
Solution: Re-evaluate the expression register. (Andy Massimino,
closes vim/vim#2945 )
833093bfb0
2018-08-29 00:08:15 -04:00
Justin M. Keyes
461d46d8ac
Merge #8863 'refactor: Remove mb_head_off()'
2018-08-28 23:43:04 +02:00
Justin M. Keyes
a2403a0ed9
Merge #8863 'refactor: Remove mb_head_off() '
2018-08-28 23:37:30 +02:00
Justin M. Keyes
885ca3b7a6
Merge #8929 from janlazo/vim-8.0.0983
2018-08-28 22:39:02 +02:00
Justin M. Keyes
acdede50ce
test: Dump $NVIM_LOG_FILE contents ( #8926 )
...
Do this at the test-framework level instead of CI (Travis) scripts.
Then it works for QuickBuild and AppVeyor.
ref eb6dd3e42d
2018-08-28 22:13:34 +02:00
Jan Edmund Lazo
2996179482
lint
2018-08-28 16:09:26 -04:00
Jan Edmund Lazo
60f1acd0ef
ex_cmds2: checkall in dialog_changed() is bool
2018-08-28 16:01:16 -04:00
Justin M. Keyes
5a1c93584f
vim-patch:8.1.0214 fixup: remove feature-guard
...
FEAT_AUTOCHDIR is not defined for Nvim.
ref #8927
2018-08-28 21:49:41 +02:00
Vivek R
87904ae3c4
vim-patch:8.1.0214 ( #8927 )
...
Problem: +autochdir feature not reported by has() or :version.
Solution: Add the feature in the list.
Author: Bram Moolenaar <Bram@vim.org>
83ec2a7f5f
2018-08-28 21:41:30 +02:00
Jan Edmund Lazo
3dffc842fe
vim-patch:8.0.0983: unnecessary check for NULL pointer
...
Problem: Unnecessary check for NULL pointer.
Solution: Remove the NULL check in dialog_changed(), it already happens in
dialog_msg(). (Ken Takata)
3f9a1ff141
2018-08-28 15:41:15 -04:00
Jan Edmund Lazo
0a77dc7e05
options: do not use gettext for +printheader ( #8928 )
...
It is not translatable as of vim-patch:8.0.1001.
2018-08-28 21:33:32 +02:00
Daniel Hahler
643ef257b3
API: nvim_unsubscribe(): Handle unknown events #8745
...
close #8745
2018-08-28 10:20:19 +02:00
Jan Edmund Lazo
10e885bdfc
vim-patch:8.0.1001: setting 'encoding' makes 'printheader' invalid ( #8925 )
...
Problem: Setting 'encoding' makes 'printheader' invalid.
Solution: Do not translate the default value of 'printheader'. (Yasuhiro
Matsumoto, closes vim/vim#2026 )
0903d56f5c
2018-08-28 08:51:22 +02:00
Björn Linse
dee0d7f4e9
Merge pull request #8891 from bfredl/keyexpect
...
use keyword args for screen:expect{...} + hl fixup for ext_cmdline
2018-08-27 16:02:22 +02:00
Björn Linse
3d88287e30
tests: introduce screen:expect{...} form
2018-08-27 15:15:49 +02:00
Björn Linse
03978a0f29
ext_cmdline: use new highlight representation for cmdline_block
...
Make sure cmdline updates will receive highlight specifications the same
way as screen cells. This is controlled by the ext_newgrid option so
nothing is changed by default (as screen cells are also not changed by
default). This was already done for the cmdline itself in #8221 , this
extends it to cmdline_block. Which currently doesn't store highlights,
but the placeholder should be one that makes sense for future use.
2018-08-27 11:51:52 +02:00
Justin M. Keyes
a8b4d76a0a
health.vim: Detect missing init.vim
...
closes #4877
2018-08-27 01:35:58 +02:00
Jan Edmund Lazo
cbc8c0c625
vim-patch:8.1.0322: Test_copy_winopt() does not restore 'hidden' ( #8918 )
...
Problem: Test_copy_winopt() does not restore 'hidden'.
Solution: Restore the option, fix indent. (Ozaki Kiichi, closes vim/vim#3367 )
7cb33a14c9
2018-08-27 01:14:33 +02:00
Justin M. Keyes
cd1d9d8a7c
Merge #8916 from janlazo/vim-8.1.0144
2018-08-26 21:20:22 +02:00
Jan Edmund Lazo
246fa3e81d
oldtests: comment out test for 'set cpo+=.'
...
nvim does not support POSIX cpoptions.
2018-08-26 14:41:50 -04:00
Jan Edmund Lazo
ff8e239493
vim-patch:8.1.0144: the :cd command does not have good test coverage
...
Problem: The :cd command does not have good test coverage.
Solution: Add more tests. (Dominique Pelle, closes vim/vim#2972 )
b2e0c94a4d
2018-08-26 09:56:34 -04:00
Justin M. Keyes
fa285bde45
win/dist: nvim-qt v0.2.10 ( #8901 )
...
ref https://github.com/equalsraf/neovim-qt/issues/417
2018-08-26 15:29:00 +02:00
Justin M. Keyes
eb663d5367
Merge #8903 from janlazo/vim-8.0.0883
2018-08-26 15:20:59 +02:00
Justin M. Keyes
8f058dca89
Merge #8904 from janlazo/vim-8.0.0900
2018-08-26 15:17:54 +02:00
Jan Edmund Lazo
7898de5211
vim-patch:8.1.0327: the "g CTRL-G" command isn't tested much ( #8914 )
...
Problem: The "g CTRL-G" command isn't tested much.
Solution: Add more tests. (Dominique Pelle, closes vim/vim#3369 )
0529583ff1
2018-08-26 15:05:55 +02:00
Daniel Hahler
8a677f8a4b
src/nvim/testdir/Makefile: define NEW_TESTS automatically ( #8909 )
...
This avoids having to maintain this manually.
Tried to bring this upstream to Vim, but it does not work with non-GNU
make apparently in an easy way (https://github.com/vim/vim/pull/3376 ).
For Neovim GNU make can be used for this apparently.
diff (generated via):
$(shell printf '%s\n' $(NEW_TESTS) > 1)
$(shell printf '%s\n' $(NEW_TESTS2) > 2)
$(error $(shell echo $(NEW_TESTS) | wc -c) $(shell echo $(NEW_TESTS2) | wc -c))
Changes:
- Removed, already included in test_alot:
- test_changedtick.res
- test_filter_map.res
- test_findfile.res
- test_ga.res
- test_lambda.res
- test_put.res
- test_recover.res
- test_tabpage.res
- Added (apparently forgotten to be added to NEW_TESTS):
- test_breakindent.res: added in 49b671f8f
- test_display.res: added in a0c7e35ee
- test_help.res, added in 41bffeacf
- test_lispwords.res, added in 54b9510e0
- test_textformat.res, added in ef39f854d
2018-08-26 14:45:25 +02:00
Daniel Hahler
5c7237640f
CI/Codecov: enable changes status ( #8910 )
...
This helps to identify unexpected changes.
2018-08-26 14:24:22 +02:00
Justin M. Keyes
c581517f8a
Merge #8908 'build/doc: generate vimindex.html'
2018-08-26 14:08:45 +02:00
Jan Edmund Lazo
e85bed0830
vim-patch:8.0.1214: accessing freed memory when EXITFREE is set
...
Problem: Accessing freed memory when EXITFREE is set and there is more than
one tab and window. (Dominique Pelle)
Solution: Free options later. Skip redraw when exiting.
4f1982800f
2018-08-25 10:52:36 -04:00
Justin M. Keyes
add2a62398
runtime/doc: fix broken links found by make html
2018-08-25 16:38:24 +02:00
Matthieu Coudron
2e5c299f11
warn about tests without libintl
2018-08-25 23:13:34 +09:00
Justin M. Keyes
ff18d3b827
build/doc: generate vimindex.html
...
This note in runtime/doc/Makefile explains the special-case:
index.html is the starting point for HTML, but for the help files it
is help.txt. Therefore use vimindex.html for index.txt.
fix #8907
2018-08-25 15:25:49 +02:00
Jan Edmund Lazo
16b55d2e9d
vim-patch:8.0.1468: illegal memory access in del_bytes()
...
Problem: Illegal memory access in del_bytes().
Solution: Check for negative byte count. (Christian Brabandt, closes vim/vim#2466 )
191f18bad0
2018-08-24 23:02:51 -04:00
Jan Edmund Lazo
13f028e416
vim-patch:8.0.0900: :tab options doesn't open a new tab page
...
Problem: :tab options doesn't open a new tab page. (Aviany)
Solution: Support the :tab modifier. (closes vim/vim#1960 )
ab6c8587ba
2018-08-24 22:15:42 -04:00
Jan Edmund Lazo
bdffa01b52
vim-patch:8.0.1404: invalid memory access on exit
...
Problem: Invalid memory access on exit when autocommands wipe out a buffer.
(gy741, Dominique Pelle)
Solution: Check if the buffer is still valid. (closes vim/vim#2449 )
606d45ccd8
2018-08-24 21:19:13 -04:00
Jan Edmund Lazo
59b53e7bc7
vim-patch:8.0.1228: invalid memory access in GUI test
...
Problem: Invalid memory access in GUI test.
Solution: Check that the row is not outside of the screen.
0e19fc07e7
2018-08-24 20:41:52 -04:00
Jan Edmund Lazo
cba3025c43
vim-patch:8.0.0883: invalid memory access with nonsensical script
...
Problem: Invalid memory access with nonsensical script.
Solution: Check "dstlen" being positive. (Dominique Pelle)
1c864093f9
2018-08-24 20:03:29 -04:00
Justin M. Keyes
c0157e8fe0
remote/host.vim: specify {nosuf} for globpath() ( #8882 )
2018-08-24 10:17:59 +02:00
Justin M. Keyes
e7d020e08f
Merge #8894 from janlazo/editorconfig-makefile
2018-08-24 09:12:08 +02:00
Justin M. Keyes
2ab80b944b
Merge #8896 from janlazo/vim-8.1.0083
2018-08-24 09:09:46 +02:00
Jan Edmund Lazo
748cd91c20
search: fix types of findsent() variables
...
dir (param) is of type Direction (enum).
cpo_J, found_dot, noskip (local var) are bool. cpo_J is const.
startlnum (local var) is const int. Declare it in same scope as cpo_J.
2018-08-23 19:07:19 -04:00
Jan Edmund Lazo
42428b3f85
vim-patch:8.1.0083: "is" and "as" have trouble with quoted punctuation
...
Problem: "is" and "as" have trouble with quoted punctuation.
Solution: Check for punctuation before a quote. (Jason Franklin)
8516071124
2018-08-23 18:50:29 -04:00
A Brooks
925c153f86
doc: remove mention of "drop" register ( #8893 )
...
close #8881
2018-08-23 19:49:23 +02:00
Jan Edmund Lazo
c5b5eaabad
oldtests: reindent Makefile to 8-width tab
2018-08-23 13:48:47 -04:00