Jan Edmund Lazo
8b60368c1b
vim-patch:8.1.0958: compiling weird regexp pattern is very slow
...
Problem: Compiling weird regexp pattern is very slow.
Solution: When reallocating post list increase size by 50%. (Kuang-che Wu,
closes vim/vim#4012 ) Make assert_inrange() accept float values.
https://github.com/vim/vim/commit/38f08e76acf7d21bb34cf8f79f0f82eb63cdc987
Omit changes to typval_compare()
because patch v8.0.1505 was not ported.
2021-03-29 08:23:02 -04:00
Tony Chen
aa6adacd77
Make sure window is still valid in the middle of calling :lopen ( #14240 )
...
Make sure that oldwin is not invalid after splitting
Revisit this when porting vim patch v8.1.0892 and related quickfix patches.
2021-03-29 08:19:59 -04:00
Jan Edmund Lazo
8665a96b92
clang: fix compile warnings in tab code ( #14239 )
...
https://github.com/neovim/neovim/pull/13851
2021-03-28 18:42:22 -04:00
Jan Edmund Lazo
63c2a7af2d
Merge pull request #13851 from VVKot/vim-8.1.0105
...
vim-patch:8.1.{0105,0114,0116,0126,0138,0154,0479,0542,0936}
2021-03-28 13:40:34 -04:00
Björn Linse
6d4a922e07
Merge pull request #14091 from euclidianAce/euclidianAce/nvim_win_hide
...
api: add vim.api.nvim_win_hide
2021-03-28 19:07:56 +02:00
Corey Williamson
45236981d8
run docgen
2021-03-28 19:03:35 +02:00
Michael Lingelbach
2ed5a77602
Merge pull request #14232 from mjlbach/fix_utf16_ranges_again
...
lsp: fix utf-16 ranges to use second return value for incremental sync
2021-03-28 03:02:29 -07:00
Michael Lingelbach
32cf278a19
lsp: fix utf-16 ranges to use second return value for incremental sync
2021-03-28 02:22:13 -07:00
VVKot
a70d904ad0
vim-patch:8.1.0936: may leak memory when using 'vartabstop'
...
Problem: May leak memory when using 'vartabstop'. (Kuang-che Wu)
Solution: Fix handling allocated memory for 'vartabstop'. (closes vim/vim#3976 )
https://github.com/vim/vim/commit/55c77cf2ea9c15e1ec75d1faf702ec3c9e325271
2021-03-28 08:40:37 +01:00
VVKot
7fc58ec99a
vim-patch:8.1.0542: shiftwidth() does not take 'vartabstop' into account
...
Problem: shiftwidth() does not take 'vartabstop' into account.
Solution: Use the cursor position or a position explicitly passed.
Also make >> and << work better with 'vartabstop'. (Christian
Brabandt)
https://github.com/vim/vim/commit/f951416a8396a54bbbe21de1a8b16716428549f2
2021-03-28 08:38:21 +01:00
VVKot
facb1d897e
vim-patch:8.1.0479: failure when setting 'varsofttabstop' to end in a comma
...
Problem: Failure when setting 'varsofttabstop' to end in a comma. (Ralf
Schandl)
Solution: Reject value with trailing command. Add test for invalid values
(closes vim/vim#3544 )
https://github.com/vim/vim/commit/64f410742f101d7d5ea9e65503e1e0019605eaa5
2021-03-28 08:37:04 +01:00
VVKot
6f23291b8d
vim-patch:8.1.0154: crash with "set smarttab shiftwidth=0 softtabstop=-1"
...
Problem: Crash with "set smarttab shiftwidth=0 softtabstop=-1".
Solution: Fall back to using 'tabstop'. (closes vim/vim#3155 )
https://github.com/vim/vim/commit/c9fe5ab3b093803b6e8d03358ba16aca6b6f0db1
2021-03-28 08:37:04 +01:00
VVKot
18b73ea3c8
vim-patch:8.1.0138: negative value of 'softtabstop' not used correctly
...
Problem: Negative value of 'softtabstop' not used correctly.
Solution: Use get_sts_value(). (Tom Ryder)
https://github.com/vim/vim/commit/33d5ab3795720b7d986f9f17f660ee9e448466e0
2021-03-28 08:37:04 +01:00
VVKot
2922f6e34b
vim-patch:8.1.0126: various problems with 'vartabstop'
...
Problem: Various problems with 'vartabstop'.
Solution: Fix memory leak. Fix crash. Add a few more tests. (Christian
Brabandt, closes vim/vim#3076 )
https://github.com/vim/vim/commit/307ac5c68e9e624ab713136d79f35bb73f780d2d
2021-03-28 08:37:04 +01:00
VVKot
7ee09c61fe
vim-patch:8.1.0116: display problem with 'vartabstop' and 'linebreak'
...
Problem: Display problem with 'vartabstop' and 'linebreak'. (Chauca
Fuentes)
Solution: Call tabstop_padding(). (Christian Brabandt, closes vim/vim#3076 )
https://github.com/vim/vim/commit/a87b72cc316e065d66dcbcf7ec1cde330adef3a3
2021-03-28 08:37:03 +01:00
VVKot
3e55811acf
vim-patch:8.1.0114: confusing variable name
...
Problem: Confusing variable name.
Solution: Rename new_ts to new_vts_array. Change zero to NULL.
https://github.com/vim/vim/commit/0119a59ffdfb21cf1c0a56e7ed6105e875150163
2021-03-28 08:37:03 +01:00
VVKot
6752ac4968
vim-patch:8.1.0105: all tab stops are the same
...
Problem: All tab stops are the same.
Solution: Add the variable tabstop feature. (Christian Brabandt,
closes vim/vim#2711 )
https://github.com/vim/vim/commit/04958cbaf25eea27eceedaa987adfb354ad5f7fd
2021-03-28 08:37:01 +01:00
Michael Lingelbach
b79596eb5e
Merge pull request #14231 from mjlbach/fix_utf16_ranges
...
lsp: fix utf16 ranges for incremental sync
2021-03-27 19:02:48 -07:00
Michael Lingelbach
af683fdb57
lsp: fix utf16 ranges for incremental sync
2021-03-27 18:31:29 -07:00
Marco Hinz
2b663c061b
viml: embed Lua syntax highlighting [skip ci] ( #14213 )
2021-03-28 00:43:06 +01:00
Jan Edmund Lazo
acd643bd49
Merge pull request #13621 from janlazo/vim-8.1.2326
...
vim-patch:8.1.{2326,2344,2398},8.2.0949
2021-03-27 11:29:32 -04:00
Jan Edmund Lazo
423f3bc3e2
test/old: skip Test_strptime() on Windows
...
POSIX strptime does not exist in Windows.
There is a C++ workaround but I don't know how to use it.
Julia ported BSD's "strptime()" but I can't compile the file
or embed the relevant code into src/nvim/os/time.c
I cannot use "#ifdef" in eval.lua because of function hashing.
"#ifdef" is required to point "strptime()" to NULL
such that "CheckFunction strptime" fails.
2021-03-27 10:58:01 -04:00
Jan Edmund Lazo
a7e0b0edbc
vim-patch:8.2.0949: strptime() does not use DST
...
Problem: Strptime() does not use DST.
Solution: Set the tm_isdst field to -1. (Tomáš Janoušek, closes vim/vim#6230 )
https://github.com/vim/vim/commit/ea1233fccf4f52f2b4eaab3788a087878d1336fc
2021-03-27 10:53:42 -04:00
Jan Edmund Lazo
93e9cf4b6c
vim-patch:8.1.2398: strptime() test fails on Japanese Mac
...
Problem: strptime() test fails on Japanese Mac.
Solution: Use %T instead of %X.
https://github.com/vim/vim/commit/9a838fe543b69582b0773f7c38a57f16fb32d765
2021-03-27 10:53:41 -04:00
Jan Edmund Lazo
3261ba98a2
vim-patch:8.1.2326: cannot parse a date/time string
...
Problem: Cannot parse a date/time string.
Solution: Add strptime(). (Stephen Wall, closes #)
https://github.com/vim/vim/commit/10455d43fef041309ce0613fa792c635dd71e3a8
N/A patches for version.c:
vim-patch:8.1.2344: Cygwin: warning for using strptime()
Problem: Cygwin: warning for using strptime().
Solution: Move defining _XOPEN_SOURCE and __USE_XOPEN to vim.h. (Ken Takata,
closes vim/vim#5265 ) Use 700 for _XOPEN_SOURCE for mkdtemp().
https://github.com/vim/vim/commit/6a228c6463935a73c8f21142cb7368545cfee317
2021-03-27 10:53:41 -04:00
Jan Edmund Lazo
75a9db5b7d
Merge pull request #14223 from janlazo/vim-8.2.2659
...
vim-patch:8.2.{1666,2045,2659,2662}
2021-03-27 10:10:11 -04:00
Jan Edmund Lazo
9118bf191e
vim-patch:8.2.1666: the initial value of 'backupskip' can have duplicate items
...
Problem: The initial value of 'backupskip' can have duplicate items.
Solution: Remove duplicates, like when it is set later. (Tom Ryder,
closes vim/vim#6940 )
https://github.com/vim/vim/commit/b00ef0508b22905379953a164bdb4300015d3705
2021-03-27 09:29:18 -04:00
Jan Edmund Lazo
6da06bc249
vim-patch:8.2.2662: there is no way to avoid some escape sequences
...
Problem: There is no way to avoid some escape sequences.
Solution: Suppress escape sequences when the --not-a-term argument is used.
(Gary Johnson)
https://github.com/vim/vim/commit/7007e31bde75b6360a1b54c7572e4f855458f37d
"Test_not_a_term" passes because Neovim does not support "--not-a-term" flag.
2021-03-27 08:27:44 -04:00
Jan Edmund Lazo
ff870232b8
test/old: run some tests from test_listlbr.vim
...
These tests pass without 'set encoding=latin1'.
2021-03-27 01:30:30 -04:00
Jan Edmund Lazo
1c49695d12
test/old: test_eval_func was removed
2021-03-27 01:18:07 -04:00
Jan Edmund Lazo
4bd919dc51
test/old: do not special-case test_autochdir
...
Use "CheckFunction" for standard error message
for missing "test_autochdir()".
Sync test_autochdir.vim to the latest Vim commit
because porting Vim patches for this file
modify other files and are too tedious to port.
2021-03-27 01:16:06 -04:00
Jan Edmund Lazo
ecd2729658
test/old: use CheckFunction, enable more tests
...
Some skipped tests have custom error messages.
Use ":CheckFunction" command for standard error message
on missing function.
2021-03-27 01:12:44 -04:00
Jan Edmund Lazo
618b17f575
vim-patch:8.2.2045: highlighting a character too much with incsearch
...
Problem: Highlighting a character too much with incsearch.
Solution: Check "search_match_endcol". (Christian Brabandt, closes vim/vim#7360 )
https://github.com/vim/vim/commit/448465e6872905967c97a56cd45307530795653c
2021-03-27 01:12:44 -04:00
Jan Edmund Lazo
31e2546cc9
vim-patch:8.2.2659: eval test fails because for loop on string works
...
Problem: Eval test fails because for loop on string works.
Solution: Check looping over function reference fails.
https://github.com/vim/vim/commit/c61cb8bfe1ec2cc50e6edd195cae2a3cd93d6590
2021-03-26 21:09:16 -04:00
Björn Linse
f0ace6d419
Merge pull request #13778 from steelsojka/fix-duplicate-query-files
...
fix(treesitter): dedupe runtime file list
2021-03-26 22:25:15 +01:00
Björn Linse
095f5da79c
Merge pull request #14210 from bfredl/bordaa2
...
floats: handle interaction with popupmenu and border correctly
2021-03-25 09:42:26 +01:00
Björn Linse
3000f6c56b
floats: handle interaction with popupmenu and border correctly
2021-03-25 09:06:09 +01:00
Jan Edmund Lazo
9481310c26
Merge pull request #14203 from janlazo/vim-8.2.2647
...
vim-patch:8.2.{400,402,2647,2648}
2021-03-24 19:10:38 -04:00
Jan Edmund Lazo
b951d1ff1d
vim-patch:8.2.0402: setting local instead of global flag
...
Problem: Setting local instead of global flag.
Solution: Prepend "g:" to "test_is_flaky".
https://github.com/vim/vim/commit/30d53e2c11e670845830bdfc29bf8c1615df61a8
2021-03-23 22:42:52 -04:00
Jan Edmund Lazo
f6585cae50
vim-patch:8.2.0400: not all tests using a terminal are in the list of flaky tests
...
Problem: Not all tests using a terminal are in the list of flaky tests.
Solution: Introduce the test_is_flaky flag.
https://github.com/vim/vim/commit/3cdcb090a664e182078f7cc0ca3e4e5a94bbb784
Cherry-pick g:test_is_flaky from patch v8.2.0557.
Ensure that test_is_flaky variable is set from the global scope..
N/A patches for version.c:
vim-patch:8.2.2647: terminal test sometimes hangs
Problem: Terminal test sometimes hangs.
Solution: Wait for the shell to display a prompt.
https://github.com/vim/vim/commit/f4a2ed071447ad4984fad55b9d1671b55140ae1c
vim-patch:8.2.2648: terminal resize test sometimes hangs
Problem: Terminal resize test sometimes hangs.
Solution: Wait for the shell to display a prompt and other output.
https://github.com/vim/vim/commit/c54f347d63bcca97ead673d01ac6b59914bb04e5
fixup! vim-patch:8.2.0400: not all tests using a terminal are in the list of flaky tests
2021-03-23 22:41:22 -04:00
Björn Linse
1186f7dd96
Merge pull request #14191 from chentau/extmark_blockpaste
...
Extmarks: send correct buffer events on blockwise paste for nonuniform lines
2021-03-24 00:27:55 +01:00
chentau
7fbabbaa57
Extmarks: correct buffer events on blockwise paste
2021-03-23 14:06:57 -07:00
Steven Sojka
2a794b8f5d
fix(treesitter): dedupe runtime file list
2021-03-23 12:58:27 -05:00
Michael Lingelbach
9f5c8226bb
Merge pull request #14186 from mjlbach/feature/make_signature_help_beautiful
...
lsp: add syntax highlighting to signature help
2021-03-23 09:38:21 -07:00
Björn Linse
ed20089877
Merge pull request #14194 from bfredl/provide_virt
...
memory error with ephemeral virt_text
2021-03-23 15:54:09 +01:00
Matthieu Coudron
a1a0bc618f
Merge pull request #14190 from teto/fix-cursorlinenr
...
fix CursorLineNr with diff
2021-03-23 14:01:57 +01:00
Björn Linse
06c191848b
decorations: memory error with ephemeral virt_text
2021-03-23 13:58:18 +01:00
Björn Linse
3e5efa50b6
Merge pull request #14193 from bfredl/msginit
...
screen: setup scrolling main screen when starting with display-=msgsep
2021-03-23 10:46:29 +01:00
Björn Linse
80e122ae5d
screen: setup scrolling main screen when starting with display-=msgsep
2021-03-23 09:34:36 +01:00
Björn Linse
691a72bb68
Merge pull request #14124 from chentau/extmark_tab
...
Correctly splice extmarks on tab with `noexpandtab`
2021-03-23 08:59:14 +01:00