Commit Graph

15642 Commits

Author SHA1 Message Date
Jan Edmund Lazo
63fc0e1d1c
vim-patch:8.2.0389: delayed redraw when shifting text from Insert mode
Problem:    Delayed redraw when shifting text from Insert mode.
Solution:   Use msg_attr_keep() instead of msg(). (closes vim/vim#5782)
e4fc746d13
2020-04-13 12:00:30 -04:00
Jan Edmund Lazo
351a1cff70
vim-patch:8.2.0387: error for possible NULL argument to qsort()
Problem:    Error for possible NULL argument to qsort().
Solution:   Don't call qsort() when there is nothing to sort. (Dominique
            Pelle, closes vim/vim#5780)
bb65a5690c
2020-04-13 12:00:30 -04:00
Jan Edmund Lazo
35e798c3a7
pvs/v595: check if extmark not NULL 2020-04-13 12:00:30 -04:00
Jan Edmund Lazo
69d019f3bd
pvs/v560: remove redundant line check 2020-04-13 12:00:30 -04:00
Jan Edmund Lazo
7ef2677ca6
vim-patch:8.2.0381: using freed memory with :lvimgrep and autocommand
Problem:    Using freed memory with :lvimgrep and autocommand. (extracted from
            POC by Dominique Pelle)
Solution:   Avoid deleting a dummy buffer used in a window. (closes vim/vim#5777)
2573af3519
2020-04-13 12:00:30 -04:00
Jan Edmund Lazo
e892dde369
vim-patch:8.2.0365: tag kind can't be a multi-byte character
Problem:    Tag kind can't be a multi-byte character. (Marcin Szamotulski)
Solution:   Recognize multi-byte character. (closes vim/vim#5724)
283e5f4e69
2020-04-13 12:00:29 -04:00
Jan Edmund Lazo
65b0bd6577
vim-patch:8.2.0366: hardcopy command not tested enough
Problem:    Hardcopy command not tested enough.
Solution:   Add tests for printing. (Dominique Pelle, closes vim/vim#5748)
2e09634a78
2020-04-13 12:00:29 -04:00
James McCoy
13b4a6fd4f
Merge pull request #12073 from janlazo/vim-8.2.0027
vim-patch:8.1.{2366,2378,2387,2387},8.2.{27,560}
2020-04-13 11:06:23 -04:00
Jan Edmund Lazo
a122f6c6d4
vim-patch:8.2.0560: compiler warning in tiny build
Problem:    Compiler warning in tiny build.
Solution:   Move declaration inside #ifdef. (Dominique Pelle, closes vim/vim#5915)
2196bce56f
2020-04-12 16:04:51 -04:00
Jan Edmund Lazo
0f18c718cd
vim-patch:8.2.0027: still some /* */ comments
Problem:    Still some /* */ comments.
Solution:   Convert to // comments.
aa2f0ee639
2020-04-12 15:57:54 -04:00
Jan Edmund Lazo
b3e249db7c
vim-patch:8.1.2387: using old C style comments
Problem:    Using old C style comments.
Solution:   Use // comments where appropriate.
2ab2e8608f
2020-04-12 15:57:54 -04:00
Jan Edmund Lazo
73dc9e943c
vim-patch:8.1.2378: using old C style comments
Problem:    Using old C style comments.
Solution:   Use // comments where appropriate.
5d18efecfd
2020-04-12 15:56:40 -04:00
Jan Edmund Lazo
2ec6fec20b
vim-patch:8.1.2366: using old C style comments
Problem:    Using old C style comments.
Solution:   Use // comments where appropriate.
9bf703d46a
2020-04-12 15:56:39 -04:00
Jan Edmund Lazo
81db53edec
vim-patch:8.1.2389: using old C style comments
Problem:    Using old C style comments.
Solution:   Use // comments where appropriate.
707d226ac5
2020-04-12 15:56:39 -04:00
Matthieu Coudron
46fdad255e
Merge pull request #12033 from janlazo/vim-8.1.1313
[RFC]vim-patch:8.1.{1313,1567,1568}
2020-04-12 20:37:57 +02:00
Santos Gallegos
1f56f9a4b3
netrw.vim: gx should ignore terminal buffers #12091
netrw thinks it's a remote file due the name of a terminal buffer (term://),
but a terminal buffer isn't a file.

Fixes https://github.com/neovim/neovim/issues/4612#issuecomment-600321171
2020-04-08 08:57:32 -07:00
Kerkko Pelttari
f47e574c87 Apply suggestions from code review
Improve error message for unsupported bash version, use double square bracket operator

Co-Authored-By: Daniel Hahler <github@thequod.de>
2020-04-07 10:43:17 +03:00
Kerkko Pelttari
d26a66a2b3 Check for bash version in vim-patch.sh 2020-04-06 09:59:25 +03:00
Marvim the Paranoid Android
30a6e374d4
version.c: update [ci skip] #11995
vim-patch:8.0.1388: char not overwritten with ambiguous width char

vim-patch:8.1.1316: duplicated localtime() call
vim-patch:8.1.2134: modifier keys are not always recognized
vim-patch:8.1.2135: with modifyOtherKeys Alt-a does not work properly

vim-patch:8.2.0373: type of term_sendkeys() is unknown
vim-patch:8.2.0376: nasty callback test fails on some systems
vim-patch:8.2.0377: no CI test for a big-endian system
vim-patch:8.2.0383: wrong feature check causes test not to be run
vim-patch:8.2.0384: Travis CI has warnings
vim-patch:8.2.0390: terminal postponed scrollback test is flaky
vim-patch:8.2.0391: CI test coverage dropped
vim-patch:8.2.0394: Coverity complains about using NULL pointer
vim-patch:8.2.0395: build fails with FEAT_EVAL but without FEAT_MENU
vim-patch:8.2.0405: MSVC: build fails with some combination of features
vim-patch:8.2.0410: channel test fails too often on slow Mac
vim-patch:8.2.0411: Mac: breakcheck is using a value from the stone ages
vim-patch:8.2.0412: MS-Windows: cannot use vimtutor from the start menu
vim-patch:8.2.0417: Travis CI config can be improved
vim-patch:8.2.0428: buffer name may leak
vim-patch:8.2.0431: some compilers don't support using \e for Esc
vim-patch:8.2.0434: MS-Windows with VTP: Normal color not working
vim-patch:8.2.0435: channel contents might be freed twice
vim-patch:8.2.0437: MS-Windows installer contains old stuff
vim-patch:8.2.0438: terminal noblock test is very flaky on BSD
vim-patch:8.2.0440: terminal noblock test is still very flaky on BSD
vim-patch:8.2.0441: terminal noblock test is still failing on BSD
vim-patch:8.2.0442: channel contents might be used after being freed
vim-patch:8.2.0445: png and xpm files not in MS-Windows zip file
vim-patch:8.2.0447: terminal scroll tests fails on some systems
vim-patch:8.2.0451: Win32: double-width character displayed incorrectly
vim-patch:8.2.0452: channel_parse_messages() fails when called recursively
vim-patch:8.2.0455: cannot set the highlight group for a specific terminal
vim-patch:8.2.0460: build failure because of wrong feature name
vim-patch:8.2.0463: typos and other small problems
vim-patch:8.2.0466: not parsing messages recursively breaks the govim plugin
vim-patch:8.2.0468: GUI: pixel dust with some fonts and characters
vim-patch:8.2.0472: terminal highlight name is set twice, leaking memory
vim-patch:8.2.0475: channel out_cb test still fails sometimes on Mac
vim-patch:8.2.0476: terminal nasty callback test fails sometimes
vim-patch:8.2.0479: unloading shared libraries on exit has no purpose
vim-patch:8.2.0481: Travis is still using trusty
vim-patch:8.2.0490: Win32: VTP doesn't respect 'restorescreen'
vim-patch:8.2.0497: too verbose output from the asan build in Travis
vim-patch:8.2.0505: term_getty() not sufficiently tested

WinBar requires `W_WINROW` macro but it is removed in 7f21665673. Thus, the following patch is N/A:
vim-patch:8.0.1129: window toolbar missing a part of the patch

https://github.com/neovim/neovim/issues/11513 makes the following patches for WinBar N/A:
vim-patch:8.0.1520: cursor in wrong line when using a WinBar in Terminal window
vim-patch:8.1.1263: mouse clicks in WinBar not tested
vim-patch:8.1.1266: winbar test doesn't test enough
vim-patch:8.1.1272: click on WinBar of other window not tested
vim-patch:8.1.1456: WinBar not redrawn after scrolling one line

Most `Test_termcodes.vim` tests require removed options like `ttymouse`.
The following patches do not have relevant source code changes:
vim-patch:8.1.1137: xterm mouse wheel escape sequence is not tested
vim-patch:8.1.1142: no test for dragging the window separators with the mouse
vim-patch:8.1.1155: termcodes tests can be improved
vim-patch:8.1.1160: termcodes test would fail in a very big terminal
vim-patch:8.1.1165: no test for mouse clicks in the terminal tabpage line
vim-patch:8.1.1167: no test for closing tab by click in tabline
vim-patch:8.1.1175: no test for dragging a tab and double click for new tab
vim-patch:8.1.1176: test for dragging a tab is flaky
vim-patch:8.1.1178: when mouse click tests fails value of 'ttytype' is unknown
vim-patch:8.1.1179: no test for mouse clicks in the fold column
vim-patch:8.1.1181: tests for mouse clicks are a bit flaky
vim-patch:8.1.1216: mouse middle click is not tested
vim-patch:8.1.1223: middle mouse click test fails without a clipboard
vim-patch:8.1.1244: no tests for CTRL-mouse-click
vim-patch:8.1.1247: urxvt mouse codes are not tested
vim-patch:8.1.1248: no test for dec mouse
vim-patch:8.1.1250: no test for netterm mouse
vim-patch:8.1.1469: no test for checking the cursor style response
vim-patch:8.1.1471: 'background' not correctly set for 2-digit rgb termresponse
vim-patch:8.1.1472: add_termcap_entry() is not tested
vim-patch:8.1.1474: 'ttybuiltin' is not tested
vim-patch:8.1.2106: no tests for dragging the mouse beyond the window
vim-patch:8.1.2118: termcodes test fails when $TERM is "dumb"
vim-patch:8.1.2137: parsing the termresponse is not tested
vim-patch:8.1.2150: no test for 'ttymouse' set from xterm version response
vim-patch:8.1.2169: terminal flags are never reset
vim-patch:8.1.2174: screen not recognized as supporting "sgr" mouse codes
vim-patch:8.1.2306: double and triple clicks are not tested
2020-04-04 06:55:08 -07:00
James McCoy
496faf2271
Merge pull request #12074 from jamessan/vim-patch-review
vim-patch.sh: Fix creation of commit list for PR review
2020-04-04 06:39:56 -04:00
erw7
b687a6c2b2 Change to canonicalize only when reparse point in included 2020-04-02 21:13:18 +09:00
erw7
f61331e184 Change resolve() to resolve symbolic links on Windows 2020-04-02 21:13:18 +09:00
Björn Linse
6ca7ebb346
Merge pull request #11748 from bfredl/viewport
win_viewport event for buffer range and buffer cursor pos
2020-04-01 20:52:04 +02:00
Björn Linse
1fe0b329fe api/ui: win_viewport event for visible range and cursor position in window 2020-04-01 19:43:55 +02:00
James McCoy
dc7f59e04b
vim-patch.sh: Fix creation of commit list for PR review
[ci skip]
2020-03-31 22:40:33 -04:00
Hirokazu Hata
4139678f97
vim.uri: fix uri_to_fname (#12059)
fix: #12056
If the colon of the drive letter of windows is URI encoded,
it doesn't match the expected pattern, so decode it first.
2020-03-30 14:30:24 +02:00
Jan Edmund Lazo
53fdd76181
vim-patch:8.1.1568: strftime() test fails on MS-Windows
Problem:    Strftime() test fails on MS-Windows.
Solution:   Skip the check for using the $TZ environment variable.
87652a7e3b
2020-03-29 14:17:57 -04:00
Jan Edmund Lazo
10c5434f9c
vim-patch:8.1.1567: localtime_r() does not respond to $TZ changes
Problem:    Localtime_r() does not respond to $TZ changes.
Solution:   If $TZ changes then call tzset(). (Tom Ryder)
db51730df1
2020-03-29 13:17:03 -04:00
Jan Edmund Lazo
573671b1fb
vim-patch:8.1.1313: warnings for using localtime() and ctime()
Problem:    Warnings for using localtime() and ctime().
Solution:   Use localtime_r() if available.  Avoid using ctime().
63d2555c9c
2020-03-29 09:41:17 -04:00
Matthieu Coudron
e700a88bb6
Merge pull request #11746 from Billy4195/add_wildmenu_key
[RFC] Wildmenu support C-E and C-Y as popupmenu
2020-03-28 14:25:54 +01:00
Zantox
4d53bdccc6 doc: Fix wildmenu doc inconsistencies and typos
Fix typos, capitalization to match block, and remove the angle brackets
on the CTRL keys to match other documentation.
2020-03-28 14:07:59 +08:00
Björn Linse
a8f7841924
Merge pull request #12043 from bfredl/pumrl
popupmenu: don't use 'rightleft' option in cmdline mode
2020-03-23 21:14:36 +01:00
Björn Linse
4dabbc19d4 popupmenu: don't use 'rightleft' option in cmdline mode
Cmdline is always drawn from the left to right, so using rightleft
popupmenu is not useful here
2020-03-23 19:14:33 +01:00
Björn Linse
9847306b95
Merge pull request #12030 from erw7/fix-tui-access-global-var
TUI: do not use nvim_get_option in tui thread
2020-03-22 19:43:21 +01:00
James McCoy
61d4b81d21
Merge pull request #12026 from jamessan/s390x-travis
Add big-endian, s390x job for Travis
2020-03-22 13:35:51 -04:00
erw7
9333f86ab7 TUI: do not use "nvim_get_option" in tui thread
Since "nvim_get_option" is executed on the tui thread as a C function
instead of msgpack-rpc, it accesses global variables that may change on the
main thread.
2020-03-21 18:06:59 +09:00
James McCoy
ca828eaed6
Install gettext for msgfmt/msgmerge
[skip appveyor]
2020-03-18 23:52:36 -04:00
James McCoy
be7cefdc4f
Set FUNCTIONALTEST=functionaltest-lua for s390x
LuaJIT doesn't support s390x yet.

[skip appveyor]
2020-03-18 23:52:29 -04:00
James McCoy
cca301d939
Install pynvim with --user to avoid permission issues
[skip appveyor]
2020-03-18 23:52:22 -04:00
James McCoy
0ab7cfa78b
Add big-endian, s390x job to Travis
This will help catch issues like #11388.

[skip appveyor]
2020-03-18 22:03:51 -04:00
Will Eccles
87d892afa0
vim-patch:8.1.0864 Make 'scrolloff' and 'sidescrolloff' options window local (#11854)
Problem: cannot have a local value for 'scrolloff' and 'sidescrolloff'

Author: Bram Moolenar

375e339007
2020-03-17 20:05:34 +01:00
Björn Linse
5a5c2f0290
Merge pull request #11927 from Jesse-Bakker/lsp-buf-version
LSP: Use buffer version instead of changedtick for edits
2020-03-16 21:57:51 +01:00
erw7
c2d288e293 Fix screen terminal family issues 2020-03-12 18:36:17 +09:00
erw7
8b64a77144 Fix splitting issue on gnu screen
gnu screen does not have smglr, but it inherits smglr from xterm and
splitting will cause drawing problems. So disable smglr.
2020-03-12 15:16:25 +09:00
Justin M. Keyes
2b00d1d09c
Merge #11977 from janlazo/vim-8.1.1279
vim-patch:8.1.1279,8.2.{360,361}
2020-03-08 13:36:52 -07:00
Jan Edmund Lazo
b00650cfe9
vim-patch:8.2.0361: internal error when using "0" for a callback
Problem:    Internal error when using "0" for a callback.
Solution:   Give a normal error. (closes vim/vim#5743)
14e57909e6
2020-03-07 23:37:27 -05:00
Jan Edmund Lazo
1ad414f6ee
version.c: update
vim-patch:8.0.1287: temp file used for viminfo may have wrong permissions
vim-patch:8.0.1345: race condition between stat() and open() for viminfo
vim-patch:8.0.1355: cursor keys don't work in MS-Windows console
vim-patch:8.0.1358: undercurl is not used in the terminal
vim-patch:8.0.1371: Shift-Insert doesn't always work in MS-Windows console
vim-patch:8.0.1422: no fallback to underline when undercurl is not set
vim-patch:8.2.0362: MS-Windows: channel test fails if grep is not available
2020-03-07 23:14:52 -05:00
Jan Edmund Lazo
716bebad48
vim-patch:8.2.0360: yaml files are only recognized by the file extension
Problem:    Yaml files are only recognized by the file extension.
Solution:   Check for a line starting with "%YAML". (Jason Franklin)
8eab731328
2020-03-07 23:14:43 -05:00
Jan Edmund Lazo
63d8f08b0b
vim-patch:8.1.1279: cannot set 'spellang' to "sr@latin"
Problem:    Cannot set 'spellang' to "sr@latin". (Bojan Stipic)
Solution:   Allow using '@' in 'spellang'. (closes vim/vim#4342)
9a061cb78c
2020-03-07 23:14:42 -05:00
Jan Edmund Lazo
45b8dc0c3d
Revert "ci/Appveyor: install diffutils via scoop"
This reverts commit 4faf30de3e.
2020-03-07 23:14:42 -05:00