Patch 8.2.1114

2020-07-01 Fir de Conversatie Bram Moolenaar
Patch 8.2.1114 Problem:Terminal test sometimes times out. Solution: Split the test in two parts. Files: src/testdir/Makefile, src/testdir/Make_all.mak, src/testdir/term_util.vim, src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim *** ../vim-8.2.1113

Re: Vim code coverage is at 85% now

2020-07-01 Fir de Conversatie Bram Moolenaar
Yegappan wrote: > On Fri, Mar 20, 2020 at 2:36 PM Yegappan Lakshmanan > wrote: > > > Hi all, > > > > With the recent addition of many new test cases, the Vim code coverage > > has reached 85%: > > > > https://codecov.io/gh/vim/vim/commits > > > > Some statistics: > > 98 out of the 118 source f

Re: [vim/vim] Why is VIM starting in REPLACE mode? (#6365)

2020-07-01 Fir de Conversatie Bram Moolenaar
IWAMOTO Kouichi wrote: > Windows Terminal (or windows console) seems to return a broken response to > two running CPR (cursor position report) requests. > > ## executed command > ``` > $ echo -ne "\e[2J\e[2;2H\e[6n\e[3;3H"; echo -ne "\e[6n"; hd > ``` > > ## expected result > ``` > ^[[2;2R^[

Patch 8.2.1113

2020-07-01 Fir de Conversatie Bram Moolenaar
Patch 8.2.1113 Problem:No test for verbose output of :call. Solution: Add a test. Files: src/testdir/test_user_func.vim *** ../vim-8.2.1112/src/testdir/test_user_func.vim 2020-04-08 19:48:53.551732882 +0200 --- src/testdir/test_user_func.vim 2020-07-01 20:18:51.377223450 +

Patch 8.2.1112

2020-07-01 Fir de Conversatie Bram Moolenaar
Patch 8.2.1112 Problem:Vim9: no line continuation allowed in method call. Solution: Handle line continuation in expression before method call. Files: src/ex_docmd.c, src/testdir/test_vim9_cmd.vim, src/testdir/test_vim9_script.vim, src/testdir/test_vim9_expr.vim

Re: Vim code coverage is at 85% now

2020-07-01 Fir de Conversatie Yegappan Lakshmanan
Hi all, On Fri, Mar 20, 2020 at 2:36 PM Yegappan Lakshmanan wrote: > Hi all, > > With the recent addition of many new test cases, the Vim code coverage > has reached 85%: > > https://codecov.io/gh/vim/vim/commits > > Some statistics: > 98 out of the 118 source files have greater than 80% code co

Re: [vim/vim] Why is VIM starting in REPLACE mode? (#6365)

2020-07-01 Fir de Conversatie Gary Johnson
On 2020-07-01, Bram Moolenaar wrote: > Apparently one of these checks causes the terminal to echo something > back with an "R" in it, which then starts replace mode. Can you find > out what that sequence is? The "script" command only records what is > sent to the terminal, there must be something

Patch 8.2.1111

2020-07-01 Fir de Conversatie Bram Moolenaar
Patch 8.2. Problem:Inconsistent naming of get_list_tv() and eval_dict(). Solution: Rename get_list_tv() to eval_list(). Similarly for eval_number(), eval_string(), eval_lit_string() and a few others. Files: src/eval.c, src/list.c, src/proto/list.pro, src/vim9compile.c,

Patch 8.2.1110

2020-07-01 Fir de Conversatie Bram Moolenaar
Patch 8.2.1110 Problem:Vim9: line continuation does not work in function arguments. Solution: Pass "evalarg" to get_func_tv(). Fix seeing double quoted string as comment. Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c, src/ex_eval.c, src/list.c, src/

Re: Vim wish list from two decades ago

2020-07-01 Fir de Conversatie Yegappan Lakshmanan
On Wed, Jul 1, 2020 at 4:18 AM Tony Mechelynck wrote: > cduOn Tue, Jun 30, 2020 at 11:35 PM Yegappan Lakshmanan > wrote: > > > > Hi, > > > > I came across the following Vim wish list (maintained by Sven Guckes who > used > > to regularly contribute to the vim list in those days) from two decade

Re: Vim wish list from two decades ago

2020-07-01 Fir de Conversatie Yegappan Lakshmanan
Hi Tony, On Wed, Jul 1, 2020 at 4:18 AM Tony Mechelynck wrote: > cduOn Tue, Jun 30, 2020 at 11:35 PM Yegappan Lakshmanan > wrote: > > > > Hi, > > > > I came across the following Vim wish list (maintained by Sven Guckes who > used > > to regularly contribute to the vim list in those days) from

Patch 8.2.1109

2020-07-01 Fir de Conversatie Bram Moolenaar
Patch 8.2.1109 (after 8.2.1106) Problem:Still crashing when using s:variable. Solution: Remove assignment. (Ken Takata) Files: src/vim9compile.c *** ../vim-8.2.1108/src/vim9compile.c 2020-07-01 14:38:05.201300224 +0200 --- src/vim9compile.c 2020-07-01 15:58:36.289613937 +0200 ***

Patch 8.2.1108

2020-07-01 Fir de Conversatie Bram Moolenaar
Patch 8.2.1108 Problem:Mouse left-right scroll is not supported in terminal window. Solution: Implement mouse codes 6 and 7. (Trygve Aaberge, closes #6363) Files: src/libvterm/src/mouse.c, src/mouse.c, src/terminal.c, src/testdir/mouse.vim, src/testdir/test_termcodes.vim

Patch 8.2.1107

2020-07-01 Fir de Conversatie Bram Moolenaar
Patch 8.2.1107 Problem:'imactivatefunc' and 'imstatusfunc' are not used in the GUI. Solution: Adjust the #ifdefs. (closes #6367) Files: runtime/doc/options.txt, src/gui_xim.c, src/testdir/test_iminsert.vim *** ../vim-8.2.1106/runtime/doc/options.txt 2020-06-12 20:19:3

Patch 8.2.1106

2020-07-01 Fir de Conversatie Bram Moolenaar
Patch 8.2.1106 Problem:Crash when trying to use s: variable in typed command. Solution: Don't use the script index when not set. (Ken Takata, closes #6366) Files: src/vim9compile.c, src/testdir/test_vimscript.vim *** ../vim-8.2.1105/src/vim9compile.c 2020-06-27 18:06:42

Patch 8.2.1105

2020-07-01 Fir de Conversatie Bram Moolenaar
Patch 8.2.1105 Problem:Insufficient test coverage for Lua. Solution: Add tests. (Yegappan Lakshmanan, closes #6368) Fix uncovered memory leak. Avoid unnecessary copy/free. Files: src/if_lua.c, src/testdir/test_lua.vim *** ../vim-8.2.1104/src/if_lua.c2020-06-28 2

Re: Vim wish list from two decades ago

2020-07-01 Fir de Conversatie Tony Mechelynck
cduOn Tue, Jun 30, 2020 at 11:35 PM Yegappan Lakshmanan wrote: > > Hi, > > I came across the following Vim wish list (maintained by Sven Guckes who used > to regularly contribute to the vim list in those days) from two decades ago. > > https://web.archive.org/web/20080520075925/http://www.vmunix.

Patch 8.2.1104

2020-07-01 Fir de Conversatie Bram Moolenaar
Patch 8.2.1104 Problem:Coverity warns for possible NULL pointer use. Solution: Check "pbyts" is not NULL. Files: src/spellsuggest.c *** ../vim-8.2.1103/src/spellsuggest.c 2020-06-29 23:18:39.731914331 +0200 --- src/spellsuggest.c 2020-07-01 13:14:41.066569692 +0200 ***

Patch 8.2.1103

2020-07-01 Fir de Conversatie Bram Moolenaar
Patch 8.2.1103 Problem:Coverity reports an unnecessary NULL check. Solution: Remove the check for NULL. Files: src/eval.c *** ../vim-8.2.1102/src/eval.c 2020-06-30 22:01:58.649556937 +0200 --- src/eval.c 2020-07-01 13:06:37.573523160 +0200 *** *** 5246,5252 i

Patch 8.2.1102

2020-07-01 Fir de Conversatie Bram Moolenaar
Patch 8.2.1102 Problem:Coverity gets confused by an unnecessary NULL check. Solution: Remove the check for NULL. Files: src/quickfix.c *** ../vim-8.2.1101/src/quickfix.c 2020-06-30 22:11:40.962938410 +0200 --- src/quickfix.c 2020-07-01 13:02:22.015385505 +0200 *

Re: matchit problems

2020-07-01 Fir de Conversatie Christian Brabandt
On Mo, 29 Jun 2020, Charles Campbell wrote: > Hello, Christian: > > I see that you've picked up maintaining the matchit plugin.  I've been > having problems with it recently -- problems that I didn't used to have. > > * I used to be able to use the % key, in vimscript, to jump between if .. >