Commit Graph

15664 Commits

Author SHA1 Message Date
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
Andrey Avramenko
ccb038dc6a LSP/completion: add textEdit support
According to lsp specification, value of insertText should be ignored if
textEdit is provided.
2020-03-06 19:40:46 +02:00
Justin M. Keyes
f8f41d088b diff.c: fix sprintf call
fix #11975
2020-03-03 00:26:21 -08:00
Hirokazu Hata
fbc4c4fd36
lsp: make showMessage and logMessage callbacks different (#11942)
According to the LSP specification, showMessage is what is displayed and logMessage is what is stored.
Since these are different things, I devide the callback into those that match.
2020-03-02 14:27:30 +01:00
Matthieu Coudron
d22fd58629
Merge pull request #11716 from teto/folds_auto_backup
[RFC] foldcolumn autowidth
2020-03-02 13:56:27 +01:00
Matthieu Coudron
6f261d2394 updating doc 2020-03-02 12:59:35 +01:00
Hirokazu Hata
e35ff7371f
lua: add vim.tbl_len() #11889 2020-03-01 23:38:43 -08:00
Marvim the Paranoid Android
e2e99b9f81
version.c: update [ci skip] #11721
vim-patch:8.0.1354: Shift-Insert doesn't always work in MS-Windows console
vim-patch:8.0.1783: cannot use 256 colors in a MS-Windows console

vim-patch:8.1.0028: prompt buffer test fails on MS-Windows
vim-patch:8.1.0030: stoping Vim running in a terminal may not work
vim-patch:8.1.0349: crash when wiping buffer in a callback
vim-patch:8.1.0350: Vim may block on ch_sendraw()
vim-patch:8.1.0442: GUI: cursor not drawn after ":redraw | sleep"
vim-patch:8.1.0446: options test fails in the GUI
vim-patch:8.1.0447: GUI scrollbar test fails with Athena and Motif
vim-patch:8.1.0522: :terminal does not show trailing empty lines
vim-patch:8.1.0649: setjmp() variables defined globally are used in one file
vim-patch:8.1.0788: cannot build with tiny features
vim-patch:8.1.0882: checking for FEAT_MBYTE which doesn't exist anymore
vim-patch:8.1.0967: stray dependency in test Makefile
vim-patch:8.1.0997: using GUI colors in vim.exe when 'termguicolors' is off
vim-patch:8.1.1042: the paste test doesn't work properly in the Windows console
vim-patch:8.1.1127: getwinpos() doesn't work in terminal on MS-Windows console
vim-patch:8.1.1164: gettitle test is failing when server name differs
vim-patch:8.1.1166: gettitle test can still fail when another Vim is running
vim-patch:8.1.1185: mapping for CTRL-X is inconsistent
vim-patch:8.1.1903: cannot build without the +eval feature
vim-patch:8.1.2238: error in docs tags goes unnoticed
vim-patch:8.1.2353: build failure on FreeBSD
vim-patch:8.1.2393: using old C style comments
vim-patch:8.1.2397: should not define __USE_XOPEN

vim-patch:8.2.0122: readme files still mention MS-DOS
vim-patch:8.2.0125: :mode no longer works for any system
vim-patch:8.2.0129: MS-Windows installer doesn't use Turkish translations
vim-patch:8.2.0138: memory leak when starting a job fails
vim-patch:8.2.0139: MS-Windows: default for IME is inconsistent
vim-patch:8.2.0140: CI does not test building doc tags
vim-patch:8.2.0143: Coverity warning for possible use of NULL pointer
vim-patch:8.2.0145: using #error for compilation errors should be OK now
vim-patch:8.2.0153: warning shows when listing version info
vim-patch:8.2.0157: Vim9 script files not in list of distributed files
vim-patch:8.2.0176: generating os headers does not work for Swedish
vim-patch:8.2.0181: problems parsing :term arguments
vim-patch:8.2.0192: build failure without +terminal feature
vim-patch:8.2.0193: still build failure without +terminal feature
vim-patch:8.2.0213: configure does not recognize gcc 10.0 and later
vim-patch:8.2.0217: terminal test fails on Mac
vim-patch:8.2.0219: terminal test still fails on Mac
vim-patch:8.2.0220: terminal test did pass on Mac
vim-patch:8.2.0228: configure does not recognize gcc version on BSD
vim-patch:8.2.0230: terminal popup test is flaky
vim-patch:8.2.0231: silent system command may clear the screen
vim-patch:8.2.0236: MS-Windows unintall doesn't delete vimtutur.bat
vim-patch:8.2.0237: crash when setting 'wincolor' on finished terminal window
vim-patch:8.2.0244: compiler warning in Lua interface
vim-patch:8.2.0245: MSVC: error message if the auto directory already exists
vim-patch:8.2.0246: MSVC: deprecation warnings with Ruby
vim-patch:8.2.0247: misleading comment in NSIS installer script
vim-patch:8.2.0249: MS-Windows: various warnings
vim-patch:8.2.0255: VMS: missing files in build
vim-patch:8.2.0259: terminal in popup test sometimes fails
vim-patch:8.2.0266: terminal in popup test sometimes fails on Mac
vim-patch:8.2.0273: MS-Windows uninstall may delete wrong batch file
vim-patch:8.2.0278: channel test is flaky on Mac
vim-patch:8.2.0297: compiler warnings for the Ruby interface
vim-patch:8.2.0304: terminal test if failing on some systems
vim-patch:8.2.0314: short name not set for terminal buffer
vim-patch:8.2.0317: MSVC: _CRT_SECURE_NO_DEPRECATE not defined on DEBUG build
vim-patch:8.2.0330: build error with popup window but without terminal
vim-patch:8.2.0333: terminal in popup test is flaky
vim-patch:8.2.0337: build fails on a few systems
vim-patch:8.2.0338: build failure without the channel feature
vim-patch:8.2.0345: compiler warning when building without the float feature

8.2.{212,243,250} are connected. 8.2.0250 makes 8.2.0212 N/A.
vim-patch:8.2.0212: missing search/substitute pattern hardly tested
2020-03-01 23:36:37 -08:00
Justin M. Keyes
0110735547
Merge #11929 from janlazo/vim-8.1.1510
vim-patch:8.0.1587,8.1.{253,881,883,885,896,939,1107,1108,1466,1489,1510,1552,1642,1793},8.2.{108,133,135}
2020-03-01 23:23:50 -08:00
Jan Edmund Lazo
f1923d4b92
vim-patch:8.1.1793: mixed comment style in globals
Problem:    Mixed comment style in globals.
Solution:   Use // comments where appropriate.
1ccaa35abf
2020-03-01 20:02:10 -05:00
Jan Edmund Lazo
ad0587133f
vim-patch:8.1.1108: test for 'visualbell' doesn't work
Problem:    Test for 'visualbell' doesn't work.
Solution:   Make 'belloff' empty.
7a66627cf4
2020-03-01 20:02:10 -05:00
Jan Edmund Lazo
e6c9db6ede
vim-patch:8.1.1107: no test for 'visualbell'
Problem:    No test for 'visualbell'.
Solution:   Add a test.
b4e6a2d075
2020-03-01 20:02:10 -05:00
Jan Edmund Lazo
4ccbc8d56e
vim-patch:8.2.0108: when sign text is changed a manual redraw is needed
Problem:    When sign text is changed a manual redraw is needed. (Pontus
            Lietzler)
Solution:   Redraw automatically. (closes vim/vim#5455)
bf0acff012
2020-03-01 20:02:10 -05:00
Jan Edmund Lazo
c40bb2de7a
vim-patch:8.1.0939: no completion for sign group names
Problem:    No completion for sign group names.
Solution:   Add completion for sign group names and buffer names. (Yegappan
            Lakshmanan, closes vim/vim#3980)
3678f65d43
2020-03-01 20:02:10 -05:00
Jan Edmund Lazo
b376bb49b5
vim-patch:8.1.1552: cursor position is wrong after sign column changes
Problem:    Cursor position is wrong after sign column appears or disappears.
            (Yegappan Lakshmanan)
Solution:   Call changed_line_abv_curs() instead of changed_cline_bef_curs().
f85e40afc2
2020-03-01 20:02:10 -05:00
Jan Edmund Lazo
c6481f70c2
vim-patch:8.1.1489: sign order wrong when priority was changed
Problem:    Sign order wrong when priority was changed.
Solution:   Reorder signs when priority is changed. (Yegappan Lakshmanan,
            closes vim/vim#4502)
64416127fc
2020-03-01 20:02:09 -05:00
Jan Edmund Lazo
1caa85b677
vim-patch:8.1.1466: not updating priority on existing sign
Problem:    Not updating priority on existing sign.
Solution:   Set the sign priority.  Add a test. (Yegappan Lakshmanan)
58a7f87c86
2020-03-01 20:02:09 -05:00
Jan Edmund Lazo
ca3dba482c
vim-patch:8.1.0896: tests for restricted mode no run for MS-Windows GUI
Problem:    Tests for restricted mode no run for MS-Windows GUI.
Solution:   Make tests also work in MS-Windows GUI.
5a6698169d
2020-03-01 20:02:09 -05:00
Jan Edmund Lazo
2a818f8901
vim-patch:8.1.0885: test for restricted hangs on MS-Windows GUI
Problem:    Test for restricted hangs on MS-Windows GUI.
Solution:   Skip the test.
18c5632cab
2020-03-01 20:02:09 -05:00
Jan Edmund Lazo
d846f47cc8
vim-patch:8.1.0881: can execute shell commands in rvim through interfaces
Problem:    Can execute shell commands in rvim through interfaces.
Solution:   Disable using interfaces in restricted mode. Allow for writing
            file with writefile(), histadd() and a few others.
8c62a08faf
2020-03-01 20:02:09 -05:00
Jan Edmund Lazo
3618fe9e8c
vim-patch:8.1.0883: missing some changes for Ex commands
Problem:    Missing some changes for Ex commands.
Solution:   Add mising changes in header file.
54d6fe5e60
2020-03-01 20:02:08 -05:00
Jan Edmund Lazo
ab38df2fc5
vim-patch:8.1.1642: may use uninitialized variable
Problem:    May use uninitialized variable. (Patrick Palka)
Solution:   Initialize variables earlier. (closes vim/vim#4623)
ec572ad6a6
2020-03-01 20:02:08 -05:00
Jan Edmund Lazo
a78e8f6e1b
vim-patch:8.1.0253: saving and restoring window title does not always work
Problem:    Saving and restoring window title does not always work.
Solution:   Use the stack push and pop commands. (Kouichi Iwamoto,
            closes vim/vim#3059)
40385dbcdf
2020-03-01 20:02:08 -05:00
Matthieu Coudron
4ffae76520 addressing reviews 2020-03-01 16:45:51 +01:00
Jan Edmund Lazo
fa6518b1da
vim-patch:8.2.0135: bracketed paste can still cause invalid memory access
Problem:    Bracketed paste can still cause invalid memory access. (Dominique
            Pelle)
Solution:   Check for NULL pointer.
fe4bbac116
2020-03-01 04:01:32 -05:00
Jan Edmund Lazo
55e3f21110
vim-patch:8.2.0133: invalid memory access with search command
Problem:    Invalid memory access with search command.
Solution:   When :normal runs out of characters in bracketed paste mode break
            out of the loop.(closes vim/vim#5511)
98a336dd49
2020-03-01 04:01:32 -05:00
Jan Edmund Lazo
4de2957a99
vim-patch:8.0.1587: inserting from the clipboard doesn't work literally
Problem:    inserting from the clipboard doesn't work literally
Solution:   When pasting from the * or + register always assume literally.
3324d0a864
2020-03-01 04:01:32 -05:00
Jan Edmund Lazo
607240a8ba
pvs/v1048: variable was assigned same value 2020-03-01 03:57:58 -05:00
Jan Edmund Lazo
0eb2f2be60
'clang/Logic error': zero-init MarkTreeIter vars 2020-03-01 03:57:58 -05:00
Jan Edmund Lazo
eba8a9ca1d
vim-patch:8.1.1510: a plugin cannot easily expand a command like done internally
Problem:    A plugin cannot easily expand a command like done internally.
Solution:   Add the expandcmd() function. (Yegappan Lakshmanan, closes vim/vim#4514)
80dad48c50
2020-03-01 03:57:58 -05:00
Rob Pilling
5e0c435ca1 man.vim: Handle man errors when looking for man-paths
Fallback to simply globbing the tag we're given. This matches the
original behaviour of `man.vim`, prior to c6afad78d3.

fixes #11794
closes #11918
2020-02-29 23:44:43 -08:00
Justin M. Keyes
1b0a770340 Merge #11805 'vim-patch:8.1.0619' 2020-02-29 17:37:15 -08:00