Justin M. Keyes
ef57ee23bd
Merge #6312 from lonerover/vim-7.4.2255
...
vim-patch: 7.4.2255,7.42256
2017-03-22 12:32:52 +01:00
Justin M. Keyes
92d7cf4511
Merge #6331 from lonerover/vim-7.4.2283
...
vim-patch:7.4.2283,7.4.2296,7.4.2303
2017-03-22 11:42:17 +01:00
lonerover
114a18b935
vim-patch:7.4.2303
...
Problem: When using "is" the mode isn't always updated.
Solution: Redraw the command line. (Christian Brabandt)
https://github.com/vim/vim/commit/779f2fc3a7468e273897d2fd0672315812a2e3da
2017-03-22 15:36:10 +08:00
lonerover
c554b53040
vim-patch:7.4.2296
...
Problem: No tests for :undolist and "U" command.
Solution: Add tests. (Dominique Pelle)
https://github.com/vim/vim/commit/c628fdcd46e93c308f742efdf54248695960e290
2017-03-22 15:35:46 +08:00
John Szakmeister
56e400d800
vim_vsnprintf: fix conversion warning #6333
...
Re-apply fix from #6311 which was accidentally regressed in #6231 .
2017-03-22 03:21:32 +01:00
lonerover
ab16c07584
vim-patch:7.4.2283
...
Problem: Part of ":oldfiles" command isn't cleared. (Lifepillar)
Solution: Clear the rest of the line. (closes 1018)
https://github.com/vim/vim/commit/885c00eabe6d1fd757d4f0eb531ad3a15a35ec04
2017-03-22 08:33:12 +08:00
Justin M. Keyes
ab16535580
Merge #6231 from jbradaric/vim-7.4.2266
...
vim-patch:7.4.2266,7.4.2280,7.4.2291
2017-03-22 00:29:58 +01:00
Jurica Bradaric
3e33025133
strings: Fix problems found during code review
2017-03-21 22:56:05 +01:00
Justin M. Keyes
6baa669c10
vim-patch:7.4.2164 ( #6326 )
...
Problem: It is not possible to use plugins in an "after" directory to tune
the behavior of a package.
Solution: First load plugins from non-after directories, then packages and
finally plugins in after directories.
Reset 'loadplugins' before executing --cmd arguments.
https://github.com/vim/vim/commit/66459b7c98c67f8a9d39de8f08e8e8f1fca0e359
vim-patch:7.4.2172
vim-patch:7.4.2169
vim-patch:7.4.2177
vim-patch:7.4.2178
vim-patch:7.4.2184
vim-patch:8.0.0050
vim-patch:8.0.0105
vim-patch:8.0.0400
vim-patch:8.0.0405
Closes #6034
2017-03-21 17:07:00 +01:00
lonerover
7418adc143
move.c: add cursor adjustment for scrolloff ( #6319 )
2017-03-21 21:37:52 +08:00
lonerover
26d7757ccb
vim-patch:7.4.2256
...
Problem: Coverity complains about null pointer check.
Solution: Remove wrong and superfluous error check.
https://github.com/vim/vim/commit/db249f26edf7a5f88d1f4468d08ec5b84f5ab7ad
2017-03-21 21:16:11 +08:00
Jack Bracewell
66259e4c49
vim-patch:7.4.2293 ( #6307 )
...
The original patch makes all the modeline comments consistent, but these
have been removed in the neovim source. However there as a correction of
a comment included in the patch that we can use.
https://github.com/vim/vim/commit/edf3f97ae2af024708ebb4ac614227327033ca47
2017-03-21 11:11:32 +01:00
Jurica Bradaric
c6c8e1e8cc
version: Mark patch 2221 as applied.
...
It was implemented as a part of #3916 .
2017-03-21 07:34:08 +01:00
Jurica Bradaric
cad9a76be2
vim-patch:7.4.2291
...
Problem: printf() handles floats wrong when there is a sign.
Solution: Fix placing the sign. Add tests. (Dominique Pelle)
https://github.com/vim/vim/commit/04186095346daa60e82e981dad114de2b641d672
2017-03-20 22:47:09 +01:00
Jurica Bradaric
6ca580be9b
vim-patch:7.4.2280
...
Problem: printf() doesn't handle infinity float values correctly.
Solution: Add a table with possible infinity values. (Dominique Pelle)
https://github.com/vim/vim/commit/e999782e369999539a1783a7ebe4eadcc6da28a8
2017-03-20 22:45:26 +01:00
Jurica Bradaric
b4cb5fa610
vim-patch:7.4.2266
...
Problem: printf() test fails on Windows. "-inf" is not used.
Solution: Check for Windows-specific values for "nan". Add sign to "inf"
when appropriate.
https://github.com/vim/vim/commit/9992237a3e791fbc0c1ebf743ece1b75e1488410
2017-03-20 21:40:41 +01:00
Justin M. Keyes
df1e7b7eda
Merge #6320 from jamessan/vim-8.0.0116
...
vim-patch:8.0.0116,8.0.0190,8.0.0195,8.0.0190,8.0.0223,8.0.0393
2017-03-20 20:20:35 +01:00
James McCoy
a56615214d
lint
2017-03-19 23:43:49 -04:00
James McCoy
097d04ac71
vim-patch:8.0.0393
...
Problem: When the same tag appears more than once, the order is
unpredictable. (Charles Campbell)
Solution: Besides using a dict for finding duplicates, use a grow array for
keeping the tags in sequence.
https://github.com/vim/vim/commit/98e83b295628bc29bc67bcc1adb8ae75d01b8e07
2017-03-19 23:43:43 -04:00
James McCoy
d3f15f1e6d
vim-patch:8.0.0223
...
Problem: Coverity gets confused by the flags passed to find_tags() and
warnts for an uninitialized variable.
Solution: Disallow using cscope and help tags at the same time.
https://github.com/vim/vim/commit/fffbf308dd98d1129ba4914d921ab47dc6a6c9b1
2017-03-19 23:42:15 -04:00
James McCoy
e1af49b425
vim-patch:8.0.0195
...
Problem: Jumping to a tag that is a static item in the current file fails.
(Kazunobu Kuriyama)
Solution: Make sure the first byte of the tag key is not NUL. (Suggested by
James McCoy, closes vim/vim#1387 )
https://github.com/vim/vim/commit/a9d23c20879d0dcb289a4db54b3c7df060f87c3c
2017-03-19 23:42:14 -04:00
James McCoy
058516aaf9
vim-patch:8.0.0190
...
Problem: Detecting duplicate tags uses a slow linear search.
Solution: Use a much faster hash table solution. (James McCoy, closes vim/vim#1046 )
But don't add hi_keylen, it makes hash tables 50% bigger.
https://github.com/vim/vim/commit/810f9c361c83afb36b9f1cdadca2b93f1201d039
2017-03-19 23:42:01 -04:00
Justin M. Keyes
2f54d6927c
test/legacy: fix test_normal.vim
2017-03-19 23:52:17 +01:00
raichoo
db128974fc
vim-patch:7.4.2348
...
Problem: Crash on exit when EXITFREE is defined. (Dominique Pelle)
Solution: Don't access curwin when exiting.
https://github.com/vim/vim/commit/9a27c7fde6d453d9892b6f6baa756bce4d6d419d
2017-03-19 21:14:11 +01:00
raichoo
99f2dc1341
vim-patch:8.0.0229
...
Problem: When freeing a buffer the local value of the 'formatprg' option is
not cleared.
Solution: Add missing change.
https://github.com/vim/vim/commit/24a2d416ec261829ff7fd29f7b66739c96dd6513
2017-03-19 21:14:11 +01:00
raichoo
0f5c3f111a
vim-patch:8.0.0179
...
Problem: 'formatprg' is a global option but the value may depend on the
type of buffer. (Sung Pae)
Solution: Make 'formatprg' global-local. (closes vim/vim#1380 )
https://github.com/vim/vim/commit/9be7c04e6cd5b0facedcb56b09a5bcfc339efe03
2017-03-19 21:14:11 +01:00
raichoo
2ad25c0466
linter: make changes pass the linter
2017-03-19 21:14:11 +01:00
raichoo
86b1e7f583
vim-patch:7.4.2362
...
Problem: Illegal memory access with ":1@". (Dominique Pelle)
Solution: Correct cursor column after setting the line number. Also avoid
calling end_visual_mode() when not in Visual mode.
https://github.com/vim/vim/commit/4930a76a0357f76a829eafe4985d04cf3ce0e9e0
2017-03-19 21:14:11 +01:00
raichoo
a4f20db08c
vim-patch:8.0.0066
...
Problem: when calling an operator function when 'linebreak' is set, it is
internally reset before calling the operator function.
Solution: Restore 'linebreak' before calling op_function(). (Christian
Brabandt)
https://github.com/vim/vim/commit/4a08b0dc4dd70334056fc1bf069b5e938f2ed7d5
2017-03-19 21:14:11 +01:00
raichoo
88dd2e8a08
vim-patch:8.0.0064
...
Problem: Normal test fails on MS-Windows.
Solution: Don't try using an illegal file name.
https://github.com/vim/vim/commit/eb828d01d9c91791fa1fe217ba651cdc25746d1b
2017-03-19 21:14:11 +01:00
raichoo
151605cacc
vim-patch:8.0.0060
...
Problem: When using an Ex command for 'keywordprg' it is escaped as with a
shell command. (Romain Lafourcade)
Solution: Escape for an Ex command. (closes vim/vim#1175 )
https://github.com/vim/vim/commit/426f3754223c8ff8a1bc51d6ba1eba11e8982ebc
2017-03-19 21:14:11 +01:00
raichoo
707aea86bb
vim-patch:7.4.2353
...
Problem: Not enough test coverage for Normal mode commands.
Solution: Add more tests. (Christian Brabandt)
https://github.com/vim/vim/commit/2931f2a5df0d962032d41060af84d9fd2cb35c9f
2017-03-19 21:14:11 +01:00
raichoo
ae828982ce
vim-patch:7.4.2347
...
Problem: Crash when closing a buffer while Visual mode is active.
(Dominique Pelle)
Solution: Adjust the position before computing the number of lines.
When closing the current buffer stop Visual mode.
https://github.com/vim/vim/commit/c4a908e83690844b0d3a46124ba6af7d23485d69
2017-03-19 21:14:11 +01:00
raichoo
4500b16f15
vim-patch:7.4.2336
...
Problem: Running normal mode tests leave a couple of files behind.
(Yegappan Lakshmanan)
Solution: Delete the files. (Christian Brabandt)
https://github.com/vim/vim/commit/df0db16cf74281a83a9ea3388a2ef9aedccd013c
2017-03-19 21:14:11 +01:00
raichoo
1e33c88685
vim-patch:7.4.2333
...
Problem: Outdated comments in test.
Solution: Cleanup normal mode test. (Christian Brabandt)
https://github.com/vim/vim/commit/31845093b7f1b33e0c7e9e592bef65528674a1f2
2017-03-19 21:14:11 +01:00
raichoo
e888864c28
vim-patch:7.4.2326
...
Problem: Illegal memory access when Visual selection starts in invalid
position. (Dominique Pelle)
Solution: Correct position when needed.
https://github.com/vim/vim/commit/d5824ce1b5491df7d2eb0b66189d366fa67b4585
2017-03-19 21:14:11 +01:00
raichoo
42caeccce6
vim-patch:7.4.2322
...
Problem: Access memory beyond the end of the line. (Dominique Pelle)
Solution: Adjust the cursor column.
https://github.com/vim/vim/commit/bc54f3f3fed4dc3556df8c46cee6739d211b0eb2
2017-03-19 21:14:11 +01:00
raichoo
afd8eacb4e
vim-patch:7.4.2317
...
Problem: Normal mode tests fail on MS-Windows.
Solution: Do some tests only on Unix. Set 'fileformat' to "unix".
https://github.com/vim/vim/commit/0913a1089a07ac7b17abc3a1343dfa7cd25613f4
2017-03-19 21:14:11 +01:00
raichoo
b87cb77570
vim-patch:7.4.2315
...
Problem: Insufficient testing for Normal mode commands.
Solution: Add a big test. (Christian Brabandt, closes vim/vim#1029 )
https://github.com/vim/vim/commit/87bc3f74598ae8c648957e5755000cc6cdbc89ce
2017-03-19 21:14:11 +01:00
James McCoy
934137fb48
vim-patch:8.0.0116
...
Problem: When reading English help and using CTRl-] the language from
'helplang' is used.
Solution: Make help tag jumps keep the language. (Tatsuki, test by Hirohito
Higashi, closes vim/vim#1249 )
https://github.com/vim/vim/commit/6dbf66aa3e2197ce41f2b1cc7602bb9c15840548
2017-03-19 13:19:24 -04:00
Justin M. Keyes
0cab62ad6f
Merge #6305 from lonerover/vim-7.4.2228
...
vim-patch:7.4.2228,7.4.2248
2017-03-19 12:05:03 +01:00
Björn Linse
6a68a922b8
clipboard: set v:register after startup ( #5708 )
...
Fixes #5697
2017-03-18 19:33:25 +01:00
Vadim A. Misbakh-Soloviov
bdcb2a38b3
readfile(): Remove "Reading from stdin..." #6298
2017-03-18 13:43:47 +01:00
lonerover
a5481957c6
vim-patch:7.4.2255
...
Problem: The script that checks translations can't handle plurals.
Solution: Check for plural msgid and msgstr entries. Leave the cursor on
the first error.
https://github.com/vim/vim/commit/ec42059b78c1932a44f2bf36ac982109884dc7c7
2017-03-18 20:39:04 +08:00
lonerover
b65d5ff11b
vim-patch:7.4.2248
...
Problem: When cancelling the :ptjump prompt a preview window is opened for
a following command.
Solution: Reset g_do_tagpreview. (Hirohito Higashi) Add a test. Avoid that
the test runner gets stuck in trying to close a window.
https://github.com/vim/vim/commit/358308dd99abdd56c6540339e505585d8db7bdfe
2017-03-18 18:10:23 +08:00
lonerover
700e13da82
vim-patch:7.4.2228
...
Problem: Test files have inconsistant modelines.
Solution: Don't set 'tabstop' to 2, use 'sts' and 'sw'.
https://github.com/vim/vim/commit/9e4d8215d386100ab660d7d11e6620fd148b605e
2017-03-18 18:08:20 +08:00
John Szakmeister
c6b3975774
vim_vsnprintf: fix conversion error #6311
...
This looks mostly like a case where the compiler that ships with Ubuntu
12.04 has gone a little too far: `fmt_spec` is actually a char, as are
the literals, so there's really no issue.
2017-03-18 03:45:54 +01:00
Tommy Allen
b6502b868e
version.c: Add v prefix to NVIM_VERSION_MEDIUM ( #6310 )
2017-03-18 01:49:55 +01:00
Jack Bracewell
1de50acc41
vim-patch:7.4.2292 ( #6304 )
...
Problem: Not all systems understand %F in printf().
Solution: Use %f.
https://github.com/vim/vim/commit/965ed14973fd3f1b2aace7bae4d4722b71ca04f9
2017-03-17 18:30:18 +01:00
Jack Bracewell
147e115dd9
vim-patch:7.4.2249 ( #6303 )
...
Problem: Missing colon in error message.
Solution: Add the colon. (Dominique Pelle)
https://github.com/vim/vim/commit/ba2099034f92a2814494f37bddb0c57d034401b4
2017-03-17 18:26:33 +01:00