jing
73154bbae0
vim-patch:8.1.1832: win_execute() does not work in other tab
...
Problem: Win_execute() does not work in other tab. (Rick Howe)
Solution: Take care of the tab. (closes vim/vim#4792 )
820680b9ff
2021-05-06 23:45:16 +08:00
jing
3c00252248
vim-patch:8.1.1440: win_execute() test fails
...
Problem: Win_execute() test fails.
Solution: Adjust the expected error number. Move to popup test.
2d247849ce
2021-05-06 23:45:16 +08:00
jing
97abf8ee63
vim-patch:8.1.1425: win_execute() does not set window pointers properly
...
Problem: Win_execute() does not set window pointers properly.
Solution: Use switch_win_noblock(). Also execute autocommands in a popup
window.
89adc3a137
2021-05-06 23:45:16 +08:00
jing
f6518e5516
vim-patch:8.1.1418: win_execute() is not implemented yet
...
Problem: Win_execute() is not implemented yet.
Solution: Implement it.
868b7b6712
2021-05-06 23:44:47 +08:00
Jan Edmund Lazo
296711cfad
vim-patch:8.2.2829: some comments are not correct or clear
...
Problem: Some comments are not correct or clear.
Solution: Adjust the comments. Add test for cursor position.
df36514a64
2021-05-06 00:55:30 -04:00
Jan Edmund Lazo
dad17caa87
lint
2021-05-06 00:42:20 -04:00
Jan Edmund Lazo
de299724cd
vim-patch:8.2.2833: two key command cancelled by moving mouse when using popup
...
Problem: Two key command cancelled by moving mouse when using popup.
(Sergey Vlasov)
Solution: Ignore K_MOUSEMOVE in plain_vgetc().
3a00659db7
2021-05-06 00:32:35 -04:00
Jan Edmund Lazo
0be0f9895d
vim-patch:8.2.2832: operator cancelled by moving mouse when using popup
...
Problem: Operator cancelled by moving mouse when using popup. (Sergey
Vlasov)
Solution: Do not trigger an operator for a mouse move events. (closes vim/vim#8176 )
1ad72c8eb6
2021-05-06 00:31:18 -04:00
Jan Edmund Lazo
f70ecbd4dc
vim-patch:8.2.1166: once mouse move events are enabled getchar() returns them
...
Problem: Once mouse move events are enabled getchar() returns them.
Solution: Ignore K_MOUSEMOVE in getchar(). (closes vim/vim#6424 )
ae97b94176
2021-05-06 00:26:37 -04:00
Jan Edmund Lazo
51403d6d41
vim-patch:8.0.1309: cannot use 'balloonexpr' in a terminal
...
Problem: Cannot use 'balloonexpr' in a terminal.
Solution: Add 'balloonevalterm' and add code to handle mouse movements in a
terminal. Initial implementation for Unix with GUI.
51b0f3701e
2021-05-06 00:19:10 -04:00
Jan Edmund Lazo
4910ac9ab8
vim-patch:8.2.2828: Coverity complains about not checking rename() return value
...
Problem: Coverity complains about not checking the rename() return value.
Solution: Add "(void)", can't do anything in case of a failure.
97a6c6a1fb
2021-05-05 22:59:40 -04:00
Jan Edmund Lazo
5c6018ba2f
vim-patch:8.2.2827: test file was not deleted
...
Problem: Test file was not deleted.
Solution: Uncomment the delete() call. (Dominique Pellé, closes vim/vim#8172 )
5f8ed7408a
2021-05-05 22:57:47 -04:00
Jan Edmund Lazo
7d2e76e333
vim-patch:8.2.2825: code in checkreadonly() not fully tested
...
Problem: Code in checkreadonly() not fully tested.
Solution: Add more tests. (Dominique Pellé, closes vim/vim#8169 )
2bf6034e5c
2021-05-05 22:54:17 -04:00
Jan Edmund Lazo
44a331c36b
vim-patch:8.2.2820: session file may divide by zero
...
Problem: Session file may divide by zero.
Solution: Avoid writing difide by zero. (closes vim/vim#8162 )
b6c2e9a010
Avoid typecasts if possible.
Use PRIdLINENR, PRId64, to format line numbers.
2021-05-05 22:50:57 -04:00
Jan Edmund Lazo
dd935e1473
vim-patch:8.2.2819: finishing an abbreviation with multi-byte char may not work
...
Problem: Finishing an abbreviation with a multi-byte char may not work.
Solution: Escape K_SPECIAL in the typed character. (closes vim/vim#8160 )
4934ed34c3
2021-05-05 22:06:10 -04:00
Björn Linse
7fcc596557
Merge pull request #14483 from mjlbach/floating_window_border_fix
...
window.c: fix floating window border width calculation
2021-05-05 07:09:04 +02:00
Sean Dewar
b274b9887a
fix(gcc): compile warning in nvim_buf_set_extmark
2021-05-05 02:15:51 +01:00
Jan Edmund Lazo
4ad30f775e
Merge pull request #14424 from janlazo/vim-8.1.1726
...
vim-patch:8.1.1726,8.2.{296,860,1827,2388,2788,2790,2801}
2021-05-04 19:18:16 -04:00
Fabian Viöl
c9567704b7
get_str_line: Replace grow_array usage
...
A single xmemdupz is sufficient, as it is already
zero-terminating the string
2021-05-03 22:53:13 +02:00
Michael Lingelbach
d45e168a1d
window.c: fix floating window border width calculation
...
* lift calculation of w_border_adj into win_config_float
* Check max floating window height and width against
w_{height,width}_outer when positioning window
2021-05-03 00:29:49 -07:00
James McCoy
a0da4c3a49
Merge pull request #14455 from Sh3Rm4n/fix_get_str_line
...
[RDY] Fix get str line
2021-05-02 16:47:36 -04:00
Jan Edmund Lazo
0020858e1c
vim-patch:8.2.2788: Raku is now the only name what once was called perl6
...
Problem: Raku is now the only name what once was called perl6.
Solution: Adjust the filetype detection. (closes vim/vim#8120 )
3f88e71fa2
2021-05-02 12:54:02 -04:00
Jan Edmund Lazo
abb13dde98
vim-patch:130cbfc31235
...
Update runtime files
130cbfc312
2021-05-02 12:03:34 -04:00
Jan Edmund Lazo
6a8436065c
vim-patch:9faec4e3d439
...
Update runtime files.
9faec4e3d4
Omit vim9.
2021-05-02 10:23:35 -04:00
Jan Edmund Lazo
c1dd4e83b4
vim-patch:7e6a515ed14e
...
Update runtime files.
7e6a515ed1
Omit vim9.
2021-05-01 22:29:03 -04:00
Jan Edmund Lazo
710f0eae2f
vim-patch:1b884a005398
...
Update runtime files.
1b884a0053
Omit doc/autocmd.txt.
Omit tools/emoji_list.vim. Patch v8.2.1540 is not ported.
2021-05-01 22:29:03 -04:00
Jan Edmund Lazo
83b6a18598
vim-patch:23515b4ef758
...
Update runtime files
23515b4ef7
Omit filetype.txt changes for :Man.
2021-05-01 22:29:03 -04:00
Jan Edmund Lazo
330500a5bf
vim-patch:cb80aa2d53e5
...
Update runtime files.
cb80aa2d53
Omit runtime/doc/tabpage.txt.
Patch v8.2.1401 is not ported yet.
Port optwin.vim changes without gettext().
Patch v8.2.1544 is not ported yet.
2021-05-01 22:29:02 -04:00
statiolake
b227cedf82
signs: fix overflow during adjustment on Windows ( #14472 )
...
On Windows, `new_lnum + MAXLNUM` causes overflow and as a result the
line number of that sign becomes invalid negative number. This occurs
when the `set signcolumn=yes`, in other words `signcolumn` is not `auto`
and the sign column is less than 2 columns.
The related change was made in the commit
f2ed7605da
. Originally the above addition
is only executed if `amount != MAXLNUM`, so reintroducing this check
fixes the bug and will hardly produces a new bug.
Fixes https://github.com/neovim/neovim/issues/14460
2021-05-02 00:35:52 +02:00
Julian Berman
ef81999f4e
fix: make nvim_win_get_number() return win number ( #14470 )
...
Closes https://github.com/neovim/neovim/issues/14467
2021-05-01 16:57:05 +02:00
TJ DeVries
27da5511a0
docs: Treesitter ( #13260 )
...
* doc & fixes: Generate treesitter docs
* fixup to treesitter-core
* docs(treesitter): fix docs for most functions
Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com >
2021-05-01 08:19:48 -04:00
Björn Linse
9d4250d43d
Merge pull request #14380 from bfredl/virtcol
...
decorations: right_align and win_col
2021-05-01 12:39:15 +02:00
Björn Linse
0865f1238f
decorations: right_align and win_col
2021-05-01 11:48:04 +02:00
Jan Edmund Lazo
b084f49496
vim-patch:8.2.1827: filetype detection does not test enough file names
...
Problem: Filetype detection does not test enough file names.
Solution: Test more file names. (Adam Stankiewicz, closes vim/vim#7099 )
10a1a534d1
2021-05-01 02:27:32 -04:00
Björn Linse
b0a1d1eb64
startup: do "syntax enable" instead of "syntax on"
...
"syntax on" overwrites existing highlight groups, while "syntax enable"
just sets missing groups. This change prevents user defined highlights in
init.vim/lua to get overwritten. The manual recommends "syntax enable" for
new configurations anyway, "on" command was probably used as it is the
implicit default.
2021-04-30 16:48:12 +02:00
Fabian Viöl
4d5516dc05
get_str_line: Simplify growarray usage
2021-04-30 14:42:02 +02:00
Jan Edmund Lazo
f5d1f0bf03
vim-patch:1c6737b20a5c
...
Update runtime files.
1c6737b20a
2021-04-29 23:35:37 -04:00
Jan Edmund Lazo
1e03e76daf
vim-patch:207f009326c8
...
Update runtime files.
207f009326
Omit nl.po.
2021-04-29 21:56:34 -04:00
Jan Edmund Lazo
0a0034718c
vim-patch:2547aa930b59
...
Update runtime files.
2547aa930b
Omit modifyOtherKeys, vim9, vim.man.
2021-04-29 09:27:19 -04:00
Fabian Viöl
ef8afa0eb7
Fix documentation typos for msg_scroll_flush
2021-04-29 12:48:56 +02:00
Fabian Viöl
766f4c3f62
get_str_line: Use heap instead of stack
...
The stack allocated buffer does introduce an arbitrary limit,
to the length of the line.
Previously, if the line was too long, it might be catched by a
stack smash canary or resulted into a crash.
This is not guaranteed though, and thus could result into undefined
behavior.
To mitigate this, an dynamic allocated buffer is replacing the stack
allocated buffer, with the initial capacity of the copied line.
2021-04-29 11:48:51 +02:00
Jan Edmund Lazo
04a4bbbe56
vim-patch:8.2.0860: cannot use CTRL-A and CTRL-X on unsigned numbers
...
Problem: Cannot use CTRL-A and CTRL-X on unsigned numbers.
Solution: Add "unsigned" to 'nrformats'. (Naruhiko Nishino, closes vim/vim#6144 )
aaad995f83
2021-04-28 21:29:57 -04:00
Jan Edmund Lazo
0185625c04
vim-patch:47e13953ffdb
...
Update runtime files
47e13953ff
Ignore *.rej files, generated by vim-patch.sh.
Source of mistakes for 1st-time contributors.
2021-04-28 21:29:57 -04:00
Ikko Ashimine
136edab705
screen: fix typo in screen.c
...
accomodate -> accommodate
2021-04-29 01:45:19 +09:00
Jan Edmund Lazo
9d3576246b
vim-patch:8.2.2801: free Pascal makefile not recognized
...
Problem: Free Pascal makefile not recognized.
Solution: Add the fpcmake filetype. (Doug Kearns)
f6d9935a13
2021-04-27 22:54:38 -04:00
Jan Edmund Lazo
e612a0a76a
vim-patch:d1caa941d876
...
Update runtime files
d1caa941d8
Cherry-pick error E452 from patch v8.2.0486.
2021-04-27 22:40:39 -04:00
Jan Edmund Lazo
d894b3da1e
vim-patch:191acfdecabf
...
Update runtime files
191acfdeca
Skip has() changes for the "check" optional argument.
Patch v8.2.0427 is not ported yet.
Skip Vim9 (ex. :def).
2021-04-27 21:47:42 -04:00
Jan Edmund Lazo
95f02cb587
vim-patch:8.2.2388: no easy way to get the maximum or mininum number value
...
Problem: No easy way to get the maximum or mininum number value.
Solution: Add v:numbermax and v:numbermin.
57d5a01cb4
2021-04-27 09:21:36 -04:00
Jan Edmund Lazo
25c0675fe3
vim-patch:8.2.0296: mixing up "long long" and __int64 may cause problems
...
Problem: Mixing up "long long" and __int64 may cause problems. (John
Marriott)
Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize.
f9706e9df0
2021-04-27 09:21:35 -04:00
Jan Edmund Lazo
e257aff016
vim-patch:bc93cebb692f
...
Update runtime files.
bc93cebb69
2021-04-27 09:21:35 -04:00