Justin M. Keyes
06b7561e78
build: remove contents of build/runtime/doc/* surgically ( #8024 )
...
Only remove the directory contents. If the directory itself is removed,
then `sudo make install` creates a root-owned …/doc/ directory. That
breaks the next non-root build.
This was an accident of 0b1904d835
.
Note: the following does not work, because it misses renamed help files
(which would no longer be in the build-tree definition)
COMMAND ${CMAKE_COMMAND} -E remove ${BUILDDOCFILES} ${GENERATED_HELP_TAGS}
2018-02-19 21:10:16 +01:00
Shougo
00665d3c70
vim-patch:8.0.1493: completion items cannot be annotated ( #8003 )
...
Problem: Completion items cannot be annotated.
Solution: Add a "user_data" entry to the completion item. (Ben Jackson,
coses vim/vim#2608 , closes vim/vim#2508 )
9b56a57cda
2018-02-18 23:56:59 +01:00
Justin M. Keyes
eccd60aaf4
runtime/doc: modeline is mandatory in help docs
...
see Vim 8.0.0650 e9134421ab
2018-02-18 22:17:47 +01:00
KunMing Xie
44071fe77a
vim-patch:8.0.0212: buffer for key name may be too small ( #8009 )
...
Problem: The buffer used to store a key name theoreticaly could be too
small. (Coverity)
Solution: Count all possible modifier characters. Add a check for the
length just in case.
423977d3ce
2018-02-18 21:55:39 +01:00
Justin M. Keyes
71e89cec23
Merge #8018 from justinmk/test-eq_any
2018-02-18 19:59:06 +01:00
Justin M. Keyes
7973847d02
test/util: remove eq_any()
...
It was added in the parent commit, but ended up not being used. And
I can't think of a case where it will be used: instead we would probably
want to generalize expect_msg_seq() if necessary.
2018-02-18 19:22:44 +01:00
Justin M. Keyes
e72ecdb7ca
test/util: expect_msg_seq()
...
job_spec.lua on AppVeyor (Windows) often fails like this:
FAILED ] C:/projects/neovim/test/functional\core\job_spec.lua @ 72: jobs changes to given `cwd` directory
C:/projects/neovim/test/functional\core\job_spec.lua:81: Expected objects to be the same.
Passed in:
(table) {
[1] = 'notification'
[2] = 'stdout'
*[3] = {
[1] = 0
*[2] = {
[1] = 'C:\projects\neovim\Xtest-tmpdir\nvimmSjq1S\0' } } }
Expected:
(table) {
[1] = 'notification'
[2] = 'stdout'
*[3] = {
[1] = 0
*[2] = {
[1] = 'C:\projects\neovim\Xtest-tmpdir\nvimmSjq1S\0'
*[2] = '' } } }
stack traceback:
Message chunking is non-deterministic, so we need to try different
variants.
2018-02-18 19:19:03 +01:00
Björn Linse
8b543d09d8
Merge pull request #8011 from nimitbhardwaj/vim-8.0.0649
...
vim-patch:8.0.0649 and vim-patch:8.0.0650
2018-02-17 12:09:44 +01:00
Marco Hinz
2f018b1833
third-party: upgrade libunibilium from 1.2.1 to 2.0.0 ( #8016 )
...
❯ git log --oneline v2.0.0...v1.2.1
e3b16d6 (HEAD -> master, tag: v2.0.0, origin/master, origin/HEAD) version 2.0.0
6f0037b (origin/wide-int) update README with build instructions / prerequisites
f40c97a explicitly mention the new "wide integer" format in the man pages
37aa305 use ncurses*-config to get TERMINFO_DIRS if possible
2461ee1 use perl instead of sed hackery to create unibilium.pc
23e9dea don't cast between pointer types of different alignments
1b5b8fd add basic test for wide format
cfe4216 add xterm-256color; regenerate static tests from ncurses 6.1
6e55e75 escape backslashes properly
42f3cdd add 32 bit number support (wide terminfo format)
73385ba unibi-dump: accept a filename as argument
ec9ef0a don't pass NULL to memcpy
b42315b (origin/typecheck) make unibi_var_t slightly more type-safe
2018-02-17 00:35:39 +01:00
Nimit Bhardwaj
e9134421ab
vim-patch-8.0.0649 and vim-patch-8.0.0650: autocmd open help 2 times
2018-02-17 00:02:16 +05:30
Danish Prakash
09b51bbf87
vim-patch:8.0.0323: one second pause when running cmdline test ( #8015 )
...
Problem: When running the command line tests there is a one second wait.
Solution: Change an Esc to Ctrl-C. (Yegappan Lakshmanan)
31eb139b88
2018-02-16 12:04:06 +01:00
Björn Linse
77286915a8
Merge pull request #8008 from bfredl/arrayfree
...
ex_getln: clear cmdline_block after it's freed
2018-02-14 19:23:11 +01:00
Björn Linse
d9497053e8
ex_getln: clear cmdline_block after it's freed
2018-02-14 19:20:28 +01:00
Justin M. Keyes
674cb2afde
cmake/GetCompileFlags: remove duplicate include dirs
...
Reduces noise in :version message.
2018-02-14 09:57:58 +01:00
Björn Linse
0daa45bd44
Merge pull request #7759 from bfredl/ext_options
...
ui: refactor external widget options
2018-02-13 21:57:15 +01:00
Björn Linse
6e5cb0debd
ui: refactor ui options
2018-02-13 20:48:51 +01:00
Justin M. Keyes
0f1bc5ddce
test/python: less-noisy Python skip-message
...
Developer can use :checkhealth to get more details, don't need to blast
the details in the skip-message every time.
2018-02-12 13:24:48 +01:00
Justin M. Keyes
9e9e4431c1
Merge #8001 from justinmk/vimpatches
2018-02-12 02:59:29 +01:00
Justin M. Keyes
7da4d1561b
lint
2018-02-12 01:32:52 +01:00
Justin M. Keyes
418947fcb3
Merge #7966 'vim-patch:8.0.0470,8.0.0471'
2018-02-12 00:55:56 +01:00
Justin M. Keyes
c68d89521f
vim-patch:8.0.1271: still too many old style tests
...
Problem: Still too many old style tests.
Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
closes vim/vim#2290 )
fb094e14c1
2018-02-12 00:48:30 +01:00
KunMing Xie
6bcee20806
vim-patch:8.0.0490: vertical split makes 'winfixwidth' window smaller ( #7990 )
...
Problem: Splitting a 'winfixwidth' window vertically makes it one column
smaller. (Dominique Pelle)
Solution: Add one to the width for the separator.
38e3483637
2018-02-12 00:00:24 +01:00
Justin M. Keyes
5191f963bf
test/old: skip encoding=latin1 test
2018-02-11 23:53:05 +01:00
Justin M. Keyes
ef39f854d7
vim-patch:8.0.1302: still too many old style tests
...
Problem: Still too many old style tests.
Solution: Convert a few more tests to new style. (Yegappan Lakshmanan,
closes vim/vim#2326 )
209d3874c1
2018-02-11 23:30:18 +01:00
Justin M. Keyes
04993f220a
vim-patch:8.0.1205: it is possible to unload a changed buffer
...
Problem: Using "1q" it is possible to unload a changed buffer. (Rick Howe)
Solution: Check the right window for changes.
ff930cad8a
2018-02-11 22:50:54 +01:00
Justin M. Keyes
2929dbf223
vim-patch:8.0.0858: can exit while a terminal is still running a job
...
Problem: Can exit while a terminal is still running a job.
Solution: Consider a buffer with a running job like a changed file.
eb44a68b42
2018-02-11 22:40:12 +01:00
Justin M. Keyes
3ffeceb851
vim-patch:8.0.1226: edit and popup tests failing
...
Problem: Edit and popup tests failing.
Solution: Make the tests pass.
2a45d64d0a
2018-02-11 22:40:12 +01:00
Justin M. Keyes
43631675d8
vim-patch:8.0.1333: some tests are run twice
...
Problem: Some tests are run twice.
Solution: Invoked most utf8 tests only from test_alot_utf8. (Yegappan
Lakshmanan, closes vim/vim#2369 )
2c997d7603
2018-02-11 22:40:12 +01:00
Justin M. Keyes
aaff91d925
vim-patch:8.0.0311: linebreak tests are old style
...
Problem: Linebreak tests are old style.
Solution: Turn the tests into new style. Share utility functions. (Ozaki
Kiichi, closes vim/vim#1444 )
544d3bc9f0
2018-02-11 22:40:12 +01:00
Justin M. Keyes
85e240c045
vim-patch:26a280c47a1c
...
Fix duplication of patch.
26a280c47a
2018-02-11 22:40:12 +01:00
Justin M. Keyes
67e3b1e0c5
vim-patch:8.0.0699: checksum tests are not actually run
...
Problem: Checksum tests are not actually run.
Solution: Add the tests to the list. (Dominique Pelle, closes vim/vim#1819 )
710b4a1646
2018-02-11 20:15:44 +01:00
Justin M. Keyes
e3cfe7853d
vim-patch:8.0.0684: old style tests are not nice
...
Problem: Old style tests are not nice.
Solution: Turn two tests into new style. (pschuh, closes vim/vim#1797 )
28b238225a
2018-02-11 20:15:44 +01:00
Justin M. Keyes
1257b04747
vim-patch:8.0.0446: the ";" command does not work after some characters
...
Problem: The ";" command does not work after characters with a lower byte
that is NUL.
Solution: Properly check for not having a previous character. (Hirohito
Higashi)
454709baff
2018-02-11 20:15:44 +01:00
Justin M. Keyes
ff4a628081
test/old: restore test_alot_utf8.vim
...
Needed for later Vim patches.
Stub test_alot_latin.vim to avoid merge-conflict noise.
vim-patch:7.4.1700
vim-patch:7.4.1734
vim-patch:7.4.1740
vim-patch:7.4.2086
vim-patch:7.4.2223
vim-patch:8.0.0250
2018-02-11 20:15:43 +01:00
Justin M. Keyes
f389196a34
Merge #7960 'vim patches'
2018-02-11 19:59:37 +01:00
Justin M. Keyes
f26a4d484b
lint
2018-02-11 19:03:29 +01:00
Justin M. Keyes
22173a64dd
vim-patch:8.0.0479: remote_peek() is not tested
...
Problem: remote_peek() is not tested.
Solution: Add a test.
6caf606b14
2018-02-11 19:03:29 +01:00
Justin M. Keyes
fda2b1e906
vim-patch:8.0.0295: test_viml hangs
...
Problem: test_viml hangs.
Solution: Put resetting 'more' before sourcing the script.
7a073549a3
2018-02-11 19:03:29 +01:00
Justin M. Keyes
7a91177bc9
vim-patch:8.0.0293: some tests have a one or three second wait
...
Problem: Some tests have a one or three second wait.
Solution: Reset the 'showmode' option. Use a test time of one to disable
sleep after an error or warning message.
e5f2a075e3
2018-02-11 19:03:29 +01:00
Justin M. Keyes
840a2bb67d
vim-patch:8.0.1370: channel test for callback is flaky
...
Problem: Channel test for callback is flaky.
Solution: Add the test to thelist of flaky tests.
1eca6f13d6
2018-02-11 19:03:28 +01:00
Justin M. Keyes
bef505c158
vim-patch:8.0.1365: when one channel test fails others fail as well
...
Problem: When one channel test fails others fail as well.
Solution: Stop the job after a failure. Also add a couple of tests to the
list of flaky tests.
24820691e6
2018-02-11 19:03:28 +01:00
Justin M. Keyes
44f275d518
vim-patch:8.0.1329: when a flaky test fails it also often fails the second time
...
Problem: When a flaky test fails it also often fails the second time.
Solution: Sleep a couple of seconds before the second try.
5505860152
2018-02-11 19:03:28 +01:00
Justin M. Keyes
1be0107168
vim-patch:8.0.0480: the remote_peek() test fails on MS-Windows
...
Problem: The remote_peek() test fails on MS-Windows.
Solution: Check for pending messages. Also report errors in the first run if
a flaky test fails twice.
15e737f768
2018-02-11 19:03:28 +01:00
Justin M. Keyes
bcd8541863
vim-patch:7.4.1477
...
Problem: Test_reltime is flaky, it depends on timing.
Solution: When it fails run it a second time.
b5760a1ce5
2018-02-11 19:03:28 +01:00
Justin M. Keyes
8dd63dbe31
vim-patch:8.0.1262: terminal redir test is flaky
...
Problem: Terminal redir test is flaky.
Solution: Add it to the list of flaky tests.
7dd88c5133
2018-02-11 19:03:28 +01:00
Justin M. Keyes
e4952ee006
vim-patch:8.0.1219: terminal test is flaky
...
Problem: Terminal test is flaky.
Solution: Add test function to list of flaky tests.
f204e05ae9
2018-02-11 19:03:28 +01:00
Justin M. Keyes
f69e0d314f
vim-patch:8.0.0975: using freed memory when setting 'backspace'
...
Problem: Using freed memory when setting 'backspace'.
Solution: When changing oldval also change origval.
edbc0d46cf
2018-02-11 19:03:28 +01:00
Justin M. Keyes
82a9051857
vim-patch:8.0.1188: autocmd test fails on MS-Windows
...
Problem: Autocmd test fails on MS-Windows.
Solution: Give the buffer a name and find the buffer to be wiped out by
name.
1d68d9b2bd
2018-02-11 19:03:28 +01:00
Justin M. Keyes
5c05cd43cb
test/old: skip test for unsupported 'cpoptions' flag
2018-02-11 19:03:28 +01:00
Justin M. Keyes
9bf9cc69c1
test/arglist_spec: update to Vim 8.0.0721 behavior
2018-02-11 19:03:28 +01:00