Commit Graph

16333 Commits

Author SHA1 Message Date
Jan Edmund Lazo
4a6e201e37
vim-patch:8.1.1705: using ~{} for a literal dict is not nice
Problem:    Using ~{} for a literal dict is not nice.
Solution:   Use #{} instead.
4c6d90458b
2020-10-07 01:03:48 -04:00
Jan Edmund Lazo
20fc7ef161
vim-patch:8.1.1692: using *{} for literal dict is not backwards compatible
Problem:    Using *{} for literal dict is not backwards compatible. (Yasuhiro
            Matsumoto)
Solution:   Use ~{} instead.
b8be54dcc5
2020-10-07 00:56:38 -04:00
Jan Edmund Lazo
d109a33144
vim-patch:8.1.1686: "*" of "*{" is recognized as multipy operator
Problem:    "*" of "*{" is recognized as multipy operator. (Yasuhiro Matsumoto)
Solution:   Check for the "{".
2898ebb44c
2020-10-07 00:44:53 -04:00
Jan Edmund Lazo
7ca5dc2519
vim-patch:8.1.1683: dictionary with string keys is longer than needed
Problem:    Dictionary with string keys is longer than needed.
Solution:   Use *{key: val} for literaly keys.
d5abb4c877

Vim's popup,textprop features are N/A.
Neovim has not polyfilled their APIs.
Skip docs and tests for these features.
2020-10-07 00:36:48 -04:00
Jan Edmund Lazo
fa1e740e60
vim-patch:8.1.2325: crash when using balloon with empty line
Problem:    Crash when using balloon with empty line.
Solution:   Handle empty lines. (Markus Braun)
9ae862ebba

Port Test_balloon_split() from patch 8.0.1318 for merging only.
It won't run because of the function check.
2020-10-06 23:48:15 -04:00
Jan Edmund Lazo
a260d5def3
Merge pull request #13060 from janlazo/vim-8.1.2310
vim-patch:8.1.{1619,1771,1624,2274,2310,2401},8.2.{554,1806}
2020-10-06 19:09:48 -04:00
Jan Edmund Lazo
7454b11ec1
vim-patch:8.1.1624: when testing in the GUI may try to run gvim in a terminal
Problem:    When testing in the GUI may try to run gvim in a terminal.
Solution:   Add the -v argument. (Yee Cheng Chin, closes vim/vim#4605)  Don't skip
            tests that work now.
0d702028fe
2020-10-06 17:57:05 -04:00
Jan Edmund Lazo
dfd1c6c417
vim-patch:8.1.1619: tests are not run with GUI on Travis
Problem:    Tests are not run with GUI on Travis.
Solution:   Add a testgui job. (Ozaki Kiichi, closes vim/vim#4609)
435f9f06ca

N/A patches for version.c:

vim-patch:8.1.1771: options test fails on MS-Windows

Problem:    Options test fails on MS-Windows.
Solution:   Add correct and incorrect values for 'completeslash'.
d4404b4391

vim-patch:8.1.2274: newlines in 'balloonexpr' result only work in the GUI

Problem:    Newlines in 'balloonexpr' result only work in the GUI.
Solution:   Also recognize newlines in the terminal. (closes vim/vim#5193)
d1c1c82389

vim-patch:8.2.0554: the GUI doesn't set t_Co

Problem:    The GUI doesn't set t_Co.
Solution:   In the GUI set t_Co to 256 * 256 * 256. (closes vim/vim#5903)
acc770a10f

vim-patch:8.2.1806: MS-Windows with Python: Vim freezes after import command

Problem:    MS-Windows with Python: Vim freezes after import command.
Solution:   Use either "NUL" or "CONIN$" when reopening stdin. (Yasuhiro
            Matsumoto, closes vim/vim#7083)
253b16a4ab
2020-10-06 17:56:41 -04:00
Jan Edmund Lazo
779b188db6
vim-patch:8.1.2401: :cexpr does not handle | in expression
Problem:    :cexpr does not handle | in expression.
Solution:   Remove EX_TRLBAR and set nextcmd pointer.
88a3e2b2ac
2020-10-06 17:45:19 -04:00
Jan Edmund Lazo
3ad6fb804f
vim-patch:8.1.2310: no proper test for directory changes in quickfix
Problem:    No proper test for directory changes in quickfix.
Solution:   Add a test that uses multiple directories. (Yegappan Lakshmanan,
            closes vim/vim#5230)
d8a8c4ca08
2020-10-06 17:45:18 -04:00
TJ DeVries
7b89353985
lua: vim.wait allows control of fast events (#13053)
* lua: vim.wait allows control of fast events

* fixup: remove requirement of function for easier waiting

* fixup: lint

* fixup: bfredl comments
2020-10-06 12:58:05 -04:00
Jan Edmund Lazo
07fde6c394
Merge pull request #13037 from janlazo/runtime-typescript
runtime: sync typescript runtime files with Vim
2020-10-06 09:03:21 -04:00
Thomas Vigouroux
753a86c01a
Merge pull request #13054 from erw7/fix-msg-is-a-directory-on-Windows
fileio: fix "is a directory" warning on Windows
2020-10-06 09:20:28 +02:00
Jan Edmund Lazo
3cc1b5c5b9
runtime/typescript: 3d1cde8a2f28dce2c82d2b2b4c5e35e6662030e0
Port typescript ftplugin and compiler files only.

3d1cde8a2f
2020-10-05 23:24:43 -04:00
Jan Edmund Lazo
95fd5ed8c9
runtime/typescript: 91359014b359cf816bf943fe2c7d492996263def
Port typescript syntax changes only.

91359014b3
2020-10-05 23:20:45 -04:00
Jan Edmund Lazo
0f1d679531
runtime/typescript: 09c6f265b21065ffa9437837b1d0955137175e45
Port typescript syntax files only.
Close https://github.com/neovim/neovim/issues/12125

09c6f265b2
2020-10-05 23:20:45 -04:00
Jan Edmund Lazo
8810973da4
runtime/typescript.vim: 96f45c0b6fc9e9d404e6805593ed1e0e6795e470
Port "runtime/indent/typescript.vim" changes only.
Close https://github.com/neovim/neovim/pull/12716.

96f45c0b6f
2020-10-05 23:20:45 -04:00
James McCoy
27b811dc1f
Merge pull request #13042 from godlygeek/unmapped_meta_is_esc
Treat unmapped ALT/META as ESC+c in all modes

Closes #7972
2020-10-05 22:07:52 -04:00
erw7
c043e806a5 fileio: fix "is a directory" warning on Windows
The porting of vim/vim@c8fe645 by #13040 on Windows was incomplete.
This fixes that and makes the "is a directory" warning appear properly
on Windows as well.
2020-10-06 10:31:50 +09:00
Jan Edmund Lazo
f8a5b4bdce
Merge pull request #13039 from janlazo/vim-8.2.1790
vim-patch:8.1.{1812,2024,2239,2242,2247,2249,2253},8.2.{354,603,609,665,1570,1790,1792,1801}
2020-10-05 20:31:19 -04:00
Jan Edmund Lazo
c76fc7942b
Merge pull request #13040 from Shougo/vim-8.2.1793
[RDY] vim-patch:8.2.1793: not consistently giving the "is a directory" warning
2020-10-05 20:28:55 -04:00
Shougo Matsushita
0f078bdde8 vim-patch:8.2.1793: not consistently giving the "is a directory" warning
Problem:    Not consistently giving the "is a directory" warning.
Solution:   Adjust check for illegal file name and directory. (Yasuhiro
            Matsumoto, closes vim/vim#7067)
c8fe645c19
2020-10-06 08:21:51 +09:00
Jan Edmund Lazo
674844086b
vim-patch:8.2.1801: undo file not found when using ":args" or ":next"
Problem:    Undo file not found when using ":args" or ":next".
Solution:   Handle like editing another file. (closes vim/vim#7072)
55b419b871
2020-10-05 18:18:14 -04:00
Jan Edmund Lazo
b35b7222ee
vim-patch:8.1.2024: delete call commented out for debugging
Problem:    Delete call commented out for debugging.
Solution:   Restore the delete call. (Christian Brabandt)
9283f92008
2020-10-05 18:18:14 -04:00
Jan Edmund Lazo
8bd38863e6
vim-patch:8.1.1812: reading a truncted undo file hangs Vim
Problem:    Reading a truncted undo file hangs Vim.
Solution:   Check for reading EOF. (closes vim/vim#4769)
fb06d767a8
2020-10-05 18:18:14 -04:00
Jan Edmund Lazo
da5bd45e5a
vim-patch:8.2.0665: wrongly assuming Python executable is called "python"
Problem:    Wrongly assuming Python executable is called "python".
Solution:   Use detected python command. (Ken Takata, closes vim/vim#6016)
            Also use CheckFunction if possible.
a161cb5ddd

CheckPython() is used only in test_terminal.vim as of patch 8.2.1794.
test_terminal.vim is no-opt in Neovim.
I ported it only for merging Vim patches.

N/A patches for version.c:

vim-patch:8.1.2239: CI fails when running tests without building Vim

Problem:    CI fails when running tests without building Vim.
Solution:   Skip creating doc tags if the execute does not exist.
1a577433ac

vim-patch:8.1.2242: creating docs tags uses user preferences

Problem:    Creating docs tags uses user preferences. (Tony Mechelynck)
Solution:   Add "--clean".
70def98a95

vim-patch:8.1.2247: "make vimtags" does not work in runtime/doc

Problem:    "make vimtags" does not work in runtime/doc.
Solution:   Test existence with "which" instead of "test -x". (Ken Takata)
e890b9f5dd

vim-patch:8.1.2249: "make vimtags" does not print any message

Problem:    "make vimtags" does not print any message.
Solution:   Add a message that the tags have been updated.
d047840ce4

vim-patch:8.1.2253: using "which" to check for an executable is not reliable

Problem:    Using "which" to check for an executable is not reliable.
Solution:   Use "command -v" instead.  Also exit with error code when
            generating tags has an error. (closes vim/vim#5174)
ad4de52510

vim-patch:8.2.0354: Python 3.9 does not define _Py_DEC_REFTOTAL

Problem:    Python 3.9 does not define _Py_DEC_REFTOTAL. (Zdenek Dohnal)
Solution:   Remove it, it was only for debugging.
a65bb53514

vim-patch:8.2.0603: configure does not detect moonjit

Problem:    Configure does not detect moonjit.
Solution:   Add check for moonjit. (Shlomi Fish, closes vim/vim#5947)
f49e564082

vim-patch:8.2.0609: configure does not detect moonjit correctly

Problem:    Configure does not detect moonjit correctly.
Solution:   Double the brackets. (Ozaki Kiichi)
ad4dc83389

vim-patch:8.2.1570: configure check for dirfd() does not work on HPUX

Problem:    Configure check for dirfd() does not work on HPUX. (Michael Osipov)
Solution:   Use AC_TRY_LINK instead of AC_TRY_COMPILE. (closes vim/vim#6838)
9d8bfae50f

vim-patch:8.2.1790: MS-Windows with Python: crash when executed from Vifm

Problem:    MS-Windows with Python: crash when executed from Vifm.
Solution:   Use NUL instead of CONIN. (Ken Takata, closes vim/vim#7061, closes vim/vim#7053)
794771cfd8

vim-patch:8.2.1792: Configure does not recognize Racket 6.1+

Problem:    Configure does not recognize Racket 6.1+.
Solution:   Add a check for "rktio". (closes vim/vim#7062)
588d241d44
2020-10-05 18:17:45 -04:00
Matt Wozniski
2f06413dfb Treat unmapped ALT/META as ESC+c in all modes
In #8226 <A-x> and <M-x> were changed to behave like <Esc>x in insert
mode when no mapping exists. This commit backs out that change and
replaces it with a more general one that makes unmapped ALT and META
keypresses as <Esc>+char in all modes. This fixes an unnecessary and
confusing inconsistency between modes.
2020-10-05 15:27:04 -04:00
James McCoy
e3afb30e69
Merge pull request #13045 from jamessan/unicode-13 2020-10-05 06:40:29 -04:00
Thomas Vigouroux
7996d9ece1
Merge pull request #13023 from G-flat/pvs-v1001
[RDY] PVS/V1001: Remove assignment to unused variable
2020-10-05 12:31:33 +02:00
G-flat
8972eea2e1
PVS/V1001: Remove assignment to unused variable 2020-10-05 15:17:14 +08:00
G-flat
b0769729c8
Merge pull request #1 from neovim/master
rebase
2020-10-05 15:15:10 +08:00
G-flat
1d08dfab5b
PVS/V1001: Prepare for rebase 2020-10-05 15:14:50 +08:00
G-flat
1a49346319
PVS/V1001: Remove assignment to unused variable 2020-10-05 14:16:51 +08:00
Jan Edmund Lazo
f7aeac7263
Merge pull request #12999 from PaperMountainStudio/resolv-ipv6
runtime: backport IPv6 support to resolv.vim
2020-10-04 16:22:19 -04:00
James McCoy
aadf85f3ca
Update unicode files 2020-10-04 11:50:38 -04:00
James McCoy
ec057d40f3
Download emoji-data from UNIDATA/ 2020-10-04 11:50:29 -04:00
Jan Edmund Lazo
f6ac375604
Merge pull request #13026 from janlazo/vim-8.2.1779
vim-patch:8.1.{2143},8.2.{841,1779,1780,1784,1787}
2020-10-03 02:12:54 -04:00
Jan Edmund Lazo
86ab4a1cb4
vim-patch:8.2.0841: 'verbose' value 16 causes duplicate output
Problem:    'verbose' value 16 causes duplicate output.
Solution:   Combine levels 15 and 16 into one message. (Christian Brabandt,
            closes vim/vim#6153)
823654bc06
2020-10-03 01:06:24 -04:00
Jan Edmund Lazo
970d6ee0d1
vim-patch:8.1.2143: cannot see each command even when 'verbose' is set
Problem:    Cannot see each command even when 'verbose' is set.
Solution:   List each command when 'verbose' is at least 16.
4facea310c

Cherry-pick Test_tselect() from patch 8.1.2141.
It requires screendump so it won't run.
I cannot port it to a lua screen test.
2020-10-02 23:13:28 -04:00
Jan Edmund Lazo
2000e1621d
vim-patch:8.2.1787: crash with 'incsearch' and very long line
Problem:    Crash with 'incsearch' and very long line.
Solution:   Check whether regprog becomes NULL. (closes vim/vim#7063)
795aaa1e84

N/A patches for version.c:

vim-patch:8.2.1784: commits are not scanned for security problems

Problem:    commits are not scanned for security problems
Solution:   Enable Github code scanning. (Christian Brabandt, closes vim/vim#7057)
fa79be6b10
2020-10-02 23:13:28 -04:00
Jan Edmund Lazo
25513049b3
vim-patch:8.2.1780: statusline not updated when splitting windows
Problem:    Statusline not updated when splitting windows.
Solution:   Call status_redraw_all(). (Jason Franklin, closes vim/vim#5496)
668008be66
2020-10-02 22:31:55 -04:00
Jan Edmund Lazo
72914cd7f2
vim-patch:8.2.1779: some debian changelog files are not recognized
Problem:    Some debian changelog files are not recognized.
Solution:   Add */debian/changelog. (Jason Franklin)
0022675aa3
2020-10-02 22:31:55 -04:00
Thomas Vigouroux
c10c2fab5b
Merge pull request #12968 from erw7/fix-substitute2
fix substitute problem with inccommand
2020-10-02 09:56:57 +02:00
erw7
f1b39f91a5 extmark: Change nvim_buf_set_extmark to not create undo data 2020-10-02 11:41:30 +09:00
erw7
b2f9c2b6c1 undo: fix possibility of aborting 2020-10-02 11:41:30 +09:00
erw7
620c8fdfe9 extmark: fix decoration ploblems with extmark
54ce101 changed the way undo entries are created when adding decorations.
This creates all sorts of problems.This change fixes the problem by
reverting to the previous behavior.
2020-10-02 11:41:30 +09:00
G-flat
62c53ac3cf
PVS/V1001: Add cast to return statement 2020-10-02 07:29:44 +08:00
G-flat
ccceab9659
PVS/V1001: Correct returned variable typo 2020-10-02 07:24:40 +08:00
Thomas Vigouroux
a9851bfbb1
Merge pull request #13014 from erw7/fix-fold
screen.c: fix buffer overflow due to folding
2020-10-01 17:21:41 +02:00
G-flat
06258772da
PVS/V1001: Remove assignment to unused variable 2020-10-01 22:37:14 +08:00