]> granicus.if.org Git - vim/log
vim
4 years agopatch 8.2.0572: using two lines for free and reset v8.2.0572
Bram Moolenaar [Mon, 13 Apr 2020 16:13:33 +0000 (18:13 +0200)]
patch 8.2.0572: using two lines for free and reset

Problem:    Using two lines for free and reset.
Solution:   Use VIM_CLEAR() instead. (Yegappan Lakshmanan)

4 years agopatch 8.2.0571: double free when passing invalid argument to job_start() v8.2.0571
Bram Moolenaar [Mon, 13 Apr 2020 15:44:47 +0000 (17:44 +0200)]
patch 8.2.0571: double free when passing invalid argument to job_start()

Problem:    Double free when passing invalid argument to job_start().
Solution:   Clear the argument when freed. (Masato Nishihata, closes #5926)

4 years agopatch 8.2.0570: Vim9: no error when omitting type from argument v8.2.0570
Bram Moolenaar [Mon, 13 Apr 2020 15:21:00 +0000 (17:21 +0200)]
patch 8.2.0570: Vim9: no error when omitting type from argument

Problem:    Vim9: no error when omitting type from argument.
Solution:   Enforce specifying argument types.

4 years agopatch 8.2.0569: build failure with tiny version v8.2.0569
Bram Moolenaar [Mon, 13 Apr 2020 13:06:53 +0000 (15:06 +0200)]
patch 8.2.0569: build failure with tiny version

Problem:    Build failure with tiny version.
Solution:   Add #ifdef.

4 years agopatch 8.2.0568: the man filetype plugin overwrites the unnamed register v8.2.0568
Bram Moolenaar [Mon, 13 Apr 2020 12:58:37 +0000 (14:58 +0200)]
patch 8.2.0568: the man filetype plugin overwrites the unnamed register

Problem:    The man filetype plugin overwrites the unnamed register.
Solution:   Use the black hole register. (Jason Franklin)

4 years agopatch 8.2.0567: Vim9: cannot put comments halfway expressions v8.2.0567
Bram Moolenaar [Mon, 13 Apr 2020 12:41:35 +0000 (14:41 +0200)]
patch 8.2.0567: Vim9: cannot put comments halfway expressions

Problem:    Vim9: cannot put comments halfway expressions.
Solution:   Support # comments in many places.

4 years agopatch 8.2.0566: Vim9: variable can be used uninitialized v8.2.0566
Bram Moolenaar [Sun, 12 Apr 2020 21:09:25 +0000 (23:09 +0200)]
patch 8.2.0566: Vim9: variable can be used uninitialized

Problem:    Vim9: variable can be used uninitialized.
Solution:   Jump to after where variable is used.

4 years agopatch 8.2.0565: Vim9: tests contain superfluous line continuation v8.2.0565
Bram Moolenaar [Sun, 12 Apr 2020 20:53:54 +0000 (22:53 +0200)]
patch 8.2.0565: Vim9: tests contain superfluous line continuation

Problem:    Vim9: tests contain superfluous line continuation.
Solution:   Remove line continuation no longer needed.  Skip empty lines.

4 years agopatch 8.2.0564: Vim9: calling a def function from non-vim9 may fail v8.2.0564
Bram Moolenaar [Sun, 12 Apr 2020 20:22:31 +0000 (22:22 +0200)]
patch 8.2.0564: Vim9: calling a def function from non-vim9 may fail

Problem:    Vim9: calling a def function from non-vim9 may fail.
Solution:   Convert varargs to a list.

4 years agopatch 8.2.0563: Vim9: cannot split a function line v8.2.0563
Bram Moolenaar [Sun, 12 Apr 2020 19:53:00 +0000 (21:53 +0200)]
patch 8.2.0563: Vim9: cannot split a function line

Problem:    Vim9: cannot split a function line.
Solution:   Continue in next line so long as the function isn't done.

4 years agopatch 8.2.0562: Vim9: cannot split an expression into multiple lines v8.2.0562
Bram Moolenaar [Sun, 12 Apr 2020 18:55:20 +0000 (20:55 +0200)]
patch 8.2.0562: Vim9: cannot split an expression into multiple lines

Problem:    Vim9: cannot split an expression into multiple lines.
Solution:   Continue in next line after an operator.

4 years agopatch 8.2.0561: Vim9: cannot split function call in multiple lines v8.2.0561
Bram Moolenaar [Sun, 12 Apr 2020 18:19:16 +0000 (20:19 +0200)]
patch 8.2.0561: Vim9: cannot split function call in multiple lines

Problem:    Vim9: cannot split function call in multiple lines.
Solution:   Find more arguments in following lines.

4 years agopatch 8.2.0560: compiler warning in tiny build v8.2.0560
Bram Moolenaar [Sun, 12 Apr 2020 18:01:11 +0000 (20:01 +0200)]
patch 8.2.0560: compiler warning in tiny build

Problem:    Compiler warning in tiny build.
Solution:   Move declaration inside #ifdef. (Dominique Pelle, closes #5915)

4 years agopatch 8.2.0559: clearing a struct is verbose v8.2.0559
Bram Moolenaar [Sun, 12 Apr 2020 17:37:17 +0000 (19:37 +0200)]
patch 8.2.0559: clearing a struct is verbose

Problem:    Clearing a struct is verbose.
Solution:   Define and use CLEAR_FIELD() and CLEAR_POINTER().

4 years agopatch 8.2.0558: Vim9: dict code not covered by tests v8.2.0558
Bram Moolenaar [Sun, 12 Apr 2020 16:02:06 +0000 (18:02 +0200)]
patch 8.2.0558: Vim9: dict code not covered by tests

Problem:    Vim9: dict code not covered by tests.
Solution:   Remove dead code, adjust test case.

4 years agopatch 8.2.0557: no IPv6 support for channels v8.2.0557
Bram Moolenaar [Sun, 12 Apr 2020 15:53:12 +0000 (17:53 +0200)]
patch 8.2.0557: no IPv6 support for channels

Problem:    No IPv6 support for channels.
Solution:   Add IPv6 support. (Ozaki Kiichi, closes #5893)

4 years agopatch 8.2.0556: Vim9: memory leak when finding common type v8.2.0556
Bram Moolenaar [Sun, 12 Apr 2020 15:11:27 +0000 (17:11 +0200)]
patch 8.2.0556: Vim9: memory leak when finding common type

Problem:    Vim9: memory leak when finding common type.
Solution:   Store allocated memory in type growarray.

4 years agopatch 8.2.0555: Vim9: line continuation is not always needed v8.2.0555
Bram Moolenaar [Sun, 12 Apr 2020 14:38:57 +0000 (16:38 +0200)]
patch 8.2.0555: Vim9: line continuation is not always needed

Problem:    Vim9: line continuation is not always needed.
Solution:   Recognize continuation lines automatically in list and dict.

4 years agopatch 8.2.0554: the GUI doesn't set t_Co v8.2.0554
Bram Moolenaar [Sun, 12 Apr 2020 13:11:06 +0000 (15:11 +0200)]
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 #5903)

4 years agopatch 8.2.0553: error for unused argument v8.2.0553
Bram Moolenaar [Sun, 12 Apr 2020 12:50:26 +0000 (14:50 +0200)]
patch 8.2.0553: error for unused argument

Problem:    Error for unused argument.
Solution:   Add UNUSED.

4 years agopatch 8.2.0552: Vim9: some errors not covered by tests v8.2.0552
Bram Moolenaar [Sun, 12 Apr 2020 12:39:53 +0000 (14:39 +0200)]
patch 8.2.0552: Vim9: some errors not covered by tests

Problem:    Vim9: some errors not covered by tests.
Solution:   Add more tests.  Check Funcref argument types.

4 years agopatch 8.2.0551: not all code for options is tested v8.2.0551
Bram Moolenaar [Sun, 12 Apr 2020 11:50:26 +0000 (13:50 +0200)]
patch 8.2.0551: not all code for options is tested

Problem:    Not all code for options is tested.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #5913)

4 years agopatch 8.2.0550: some changes in the libvterm upstream code v8.2.0550
Bram Moolenaar [Sun, 12 Apr 2020 11:38:57 +0000 (13:38 +0200)]
patch 8.2.0550: some changes in the libvterm upstream code

Problem:    Some changes in the libvterm upstream code.
Solution:   Include some changes.

4 years agopatch 8.2.0549: user systemd files not recognized v8.2.0549
Bram Moolenaar [Sun, 12 Apr 2020 10:54:52 +0000 (12:54 +0200)]
patch 8.2.0549: user systemd files not recognized

Problem:    User systemd files not recognized.
Solution:   Add filetype patterns. (Kevin Locke, closes #5914)

4 years agopatch 8.2.0548: Vim9: not all possible func type errors tested v8.2.0548
Bram Moolenaar [Sat, 11 Apr 2020 21:17:17 +0000 (23:17 +0200)]
patch 8.2.0548: Vim9: not all possible func type errors tested

Problem:    Vim9: not all possible func type errors tested.
Solution:   Add more tests.

4 years agopatch 8.2.0547: Win32: restoring screen not always done right v8.2.0547
Bram Moolenaar [Sat, 11 Apr 2020 20:38:34 +0000 (22:38 +0200)]
patch 8.2.0547: Win32: restoring screen not always done right

Problem:    Win32: restoring screen not always done right.
Solution:   Use a more appropriate method. (Nobuhiro Takasaki, closes #5909)

4 years agopatch 8.2.0546: Vim9: varargs implementation is inefficient v8.2.0546
Bram Moolenaar [Sat, 11 Apr 2020 20:31:27 +0000 (22:31 +0200)]
patch 8.2.0546: Vim9: varargs implementation is inefficient

Problem:    Vim9: varargs implementation is inefficient.
Solution:   Create list without moving the arguments.

4 years agopatch 8.2.0545: unused arguments ignored in non-standard way v8.2.0545
Bram Moolenaar [Sat, 11 Apr 2020 19:42:48 +0000 (21:42 +0200)]
patch 8.2.0545: unused arguments ignored in non-standard way

Problem:    Unused arguments ignored in non-standard way.
Solution:   Add UNUSED instead of (void).

4 years agopatch 8.2.0544: memory leak in search test v8.2.0544
Bram Moolenaar [Sat, 11 Apr 2020 19:31:28 +0000 (21:31 +0200)]
patch 8.2.0544: memory leak in search test

Problem:    Memory leak in search test.
Solution:   Free msgbuf. (Dominique Pelle, closes #5912)

4 years agopatch 8.2.0543: Vim9: function with varargs does not work properly v8.2.0543
Bram Moolenaar [Sat, 11 Apr 2020 18:50:33 +0000 (20:50 +0200)]
patch 8.2.0543: Vim9: function with varargs does not work properly

Problem:    Vim9: function with varargs does not work properly.
Solution:   Improve function type spec and add tests.  Fix bugs.

4 years agopatch 8.2.0542: no test for E386 v8.2.0542
Bram Moolenaar [Sat, 11 Apr 2020 16:36:38 +0000 (18:36 +0200)]
patch 8.2.0542: no test for E386

Problem:    No test for E386.
Solution:   Add a test. (Dominique Pelle, closes #5911)

4 years agopatch 8.2.0541: Travis CI does not give compiler warnings v8.2.0541
Bram Moolenaar [Sat, 11 Apr 2020 16:01:41 +0000 (18:01 +0200)]
patch 8.2.0541: Travis CI does not give compiler warnings

Problem:    Travis CI does not give compiler warnings.
Solution:   Add flags for warnings.  Fix uncovered problems. (Ozaki Kiichi,
            closes #5898)

4 years agopatch 8.2.0540: regexp and other code not tested v8.2.0540
Bram Moolenaar [Sat, 11 Apr 2020 15:09:31 +0000 (17:09 +0200)]
patch 8.2.0540: regexp and other code not tested

Problem:    Regexp and other code not tested.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #5904)

4 years agoUpdate runtime files
Bram Moolenaar [Fri, 10 Apr 2020 20:10:56 +0000 (22:10 +0200)]
Update runtime files

4 years agopatch 8.2.0539: comparing two NULL list fails v8.2.0539
Bram Moolenaar [Thu, 9 Apr 2020 19:33:22 +0000 (21:33 +0200)]
patch 8.2.0539: comparing two NULL list fails

Problem:    Comparing two NULL list fails.
Solution:   Change the order of comparing two lists.

4 years agopatch 8.2.0538: Vim9: VAR_PARTIAL is not used during compilation v8.2.0538
Bram Moolenaar [Thu, 9 Apr 2020 19:08:09 +0000 (21:08 +0200)]
patch 8.2.0538: Vim9: VAR_PARTIAL is not used during compilation

Problem:    Vim9: VAR_PARTIAL is not used during compilation.
Solution:   Remove VAR_PARTIAL.

4 years agopatch 8.2.0537: Vim9: no check for sandbox when setting v:var v8.2.0537
Bram Moolenaar [Thu, 9 Apr 2020 18:10:55 +0000 (20:10 +0200)]
patch 8.2.0537: Vim9: no check for sandbox when setting v:var

Problem:    Vim9: no check for sandbox when setting v:var.
Solution:   Check for sandbox.

4 years agopatch 8.2.0536: Vim9: some compilation code not tested v8.2.0536
Bram Moolenaar [Thu, 9 Apr 2020 17:34:43 +0000 (19:34 +0200)]
patch 8.2.0536: Vim9: some compilation code not tested

Problem:    Vim9: some compilation code not tested.
Solution:   Add more test cases.

4 years agopatch 8.2.0535: regexp patterns not fully tested v8.2.0535
Bram Moolenaar [Thu, 9 Apr 2020 16:42:11 +0000 (18:42 +0200)]
patch 8.2.0535: regexp patterns not fully tested

Problem:    Regexp patterns not fully tested.
Solution:   Add more regexp tests and others. (Yegappan Lakshmanan,
            closes #5901)

4 years agopatch 8.2.0534: client-server test fails under valgrind v8.2.0534
Bram Moolenaar [Wed, 8 Apr 2020 20:56:34 +0000 (22:56 +0200)]
patch 8.2.0534: client-server test fails under valgrind

Problem:    Client-server test fails under valgrind.
Solution:   Use WaitForAssert().

4 years agopatch 8.2.0533: tests using term_wait() can still be flaky v8.2.0533
Bram Moolenaar [Wed, 8 Apr 2020 19:50:25 +0000 (21:50 +0200)]
patch 8.2.0533: tests using term_wait() can still be flaky

Problem:    Tests using term_wait() can still be flaky.
Solution:   Increase the wait time when rerunning a test. (James McCoy,
            closes #5899)  Halve the initial times to make tests run faster
            when there is no rerun.

4 years agopatch 8.2.0532: cannot use simplify() as a method v8.2.0532
Bram Moolenaar [Wed, 8 Apr 2020 18:03:52 +0000 (20:03 +0200)]
patch 8.2.0532: cannot use simplify() as a method

Problem:    Cannot use simplify() as a method.
Solution:   Add FEARG_1. (closes #5996)

4 years agopatch 8.2.0531: various errors not tested v8.2.0531
Bram Moolenaar [Wed, 8 Apr 2020 17:48:56 +0000 (19:48 +0200)]
patch 8.2.0531: various errors not tested

Problem:    Various errors not tested.
Solution:   Add tests. (Yegappan Lakshmanan, closes #5895)

4 years agopatch 8.2.0530: test crashes on s390 v8.2.0530
Bram Moolenaar [Wed, 8 Apr 2020 09:31:48 +0000 (11:31 +0200)]
patch 8.2.0530: test crashes on s390

Problem:    Test crashes on s390. (James McCoy)
Solution:   Explicitly define an 8 big signed type. (closes #5897)

4 years agopatch 8.2.0529: Vim9: function argument with default not checked v8.2.0529
Bram Moolenaar [Tue, 7 Apr 2020 20:45:00 +0000 (22:45 +0200)]
patch 8.2.0529: Vim9: function argument with default not checked

Problem:    Vim9: function argument with default not checked.
Solution:   Check type of argument with default value.

4 years agopatch 8.2.0528: Vim9: function arguments insufficiently tested v8.2.0528
Bram Moolenaar [Tue, 7 Apr 2020 20:05:08 +0000 (22:05 +0200)]
patch 8.2.0528: Vim9: function arguments insufficiently tested

Problem:    Vim9: function arguments insufficiently tested.
Solution:   Check types.  Add more tests.  Fix function with varargs only.

4 years agopatch 8.2.0527: Vim9: function types insufficiently tested v8.2.0527
Bram Moolenaar [Tue, 7 Apr 2020 18:53:39 +0000 (20:53 +0200)]
patch 8.2.0527: Vim9: function types insufficiently tested

Problem:    Vim9: function types insufficiently tested.
Solution:   Add more tests.  Fix white space check.  Add "test_vim9" target.

4 years agopatch 8.2.0526: Gcc 9 complains about empty statement v8.2.0526
Bram Moolenaar [Tue, 7 Apr 2020 17:57:29 +0000 (19:57 +0200)]
patch 8.2.0526: Gcc 9 complains about empty statement

Problem:    Gcc 9 complains about empty statement.
Solution:   Add {}. (Dominique Pelle, closes #5894)

4 years agopatch 8.2.0525: Win32: typo in assignment and misplaced paren v8.2.0525
Bram Moolenaar [Mon, 6 Apr 2020 21:49:50 +0000 (23:49 +0200)]
patch 8.2.0525: Win32: typo in assignment and misplaced paren

Problem:    Win32: typo in assignment and misplaced paren.
Solution:   Fix the syntax.

4 years agopatch 8.2.0524: Win32: searching for file matches is slow v8.2.0524
Bram Moolenaar [Mon, 6 Apr 2020 20:56:28 +0000 (22:56 +0200)]
patch 8.2.0524: Win32: searching for file matches is slow

Problem:    Win32: searching for file matches is slow.
Solution:   Instead of making another round to find any short filename, check
            for the short name right away. Avoid using an ordinary file like a
            directory.  (Nir Lichtman, closes #5883)

4 years agopatch 8.2.0523: loops are repeated v8.2.0523
Bram Moolenaar [Mon, 6 Apr 2020 20:13:01 +0000 (22:13 +0200)]
patch 8.2.0523: loops are repeated

Problem:    Loops are repeated.
Solution:   Use FOR_ALL_ macros. (Yegappan Lakshmanan, closes #5882)

4 years agopatch 8.2.0522: several errors are not tested for v8.2.0522
Bram Moolenaar [Mon, 6 Apr 2020 19:35:05 +0000 (21:35 +0200)]
patch 8.2.0522: several errors are not tested for

Problem:    Several errors are not tested for.
Solution:   Add tests. (Yegappan Lakshmanan, closes #5892)

4 years agopatch 8.2.0521: crash when reading a blob fails v8.2.0521
Bram Moolenaar [Mon, 6 Apr 2020 19:12:42 +0000 (21:12 +0200)]
patch 8.2.0521: crash when reading a blob fails

Problem:    Crash when reading a blob fails.
Solution:   Avoid keeping a pointer to a freed blob object. (Dominique Pelle,
            closes #5890)  Adjust error messages.

4 years agopatch 8.2.0520: tests are not listed in sorted order v8.2.0520
Bram Moolenaar [Sun, 5 Apr 2020 21:04:57 +0000 (23:04 +0200)]
patch 8.2.0520: tests are not listed in sorted order

Problem:    Tests are not listed in sorted order.
Solution:   Move test_ex_mode. (Doug Richardson, closes #5889)

4 years agopatch 8.2.0519: Vim9: return type not properly checked v8.2.0519
Bram Moolenaar [Sun, 5 Apr 2020 20:14:54 +0000 (22:14 +0200)]
patch 8.2.0519: Vim9: return type not properly checked

Problem:    Vim9: return type not properly checked.
Solution:   Check type properly, also at runtime.

4 years agopatch 8.2.0518: a terminal falls back to setting $TERM to "xterm" v8.2.0518
Bram Moolenaar [Sun, 5 Apr 2020 19:42:12 +0000 (21:42 +0200)]
patch 8.2.0518: a terminal falls back to setting $TERM to "xterm"

Problem:    A terminal falls back to setting $TERM to "xterm".
Solution:   Use "xterm-color" if more than 16 colors are supported and
            "xterm-256color" if at least 256 colors are supported.
            (closes #5887)

4 years agopatch 8.2.0517: Vim9: cannot separate "func" and "func(): void" v8.2.0517
Bram Moolenaar [Sun, 5 Apr 2020 19:38:23 +0000 (21:38 +0200)]
patch 8.2.0517: Vim9: cannot separate "func" and "func(): void"

Problem:    Vim9: cannot separate "func" and "func(): void".
Solution:   Use VAR_ANY for "any" and VAR_UNKNOWN for "no type".

4 years agopatch 8.2.0516: client-server code is spread out v8.2.0516
Bram Moolenaar [Sun, 5 Apr 2020 18:21:03 +0000 (20:21 +0200)]
patch 8.2.0516: client-server code is spread out

Problem:    Client-server code is spread out.
Solution:   Move client-server code to a new file. (Yegappan Lakshmanan,
            closes #5885)

4 years agopatch 8.2.0515: some compilers cannot add to "void *" v8.2.0515
Bram Moolenaar [Sun, 5 Apr 2020 17:09:05 +0000 (19:09 +0200)]
patch 8.2.0515: some compilers cannot add to "void *"

Problem:    Some compilers cannot add to "void *".
Solution:   Cast to "char *".

4 years agopatch 8.2.0514: several global functions are used in only one file v8.2.0514
Bram Moolenaar [Sun, 5 Apr 2020 16:56:05 +0000 (18:56 +0200)]
patch 8.2.0514: several global functions are used in only one file

Problem:    Several global functions are used in only one file.
Solution:   Make the functions static. (Yegappan Lakshmanan, closes #5884)

4 years agopatch 8.2.0513: reading past allocate memory when using varargs v8.2.0513
Bram Moolenaar [Sun, 5 Apr 2020 16:20:45 +0000 (18:20 +0200)]
patch 8.2.0513: reading past allocate memory when using varargs

Problem:    Reading past allocate memory when using varargs.
Solution:   Fix copying function argument types.

4 years agopatch 8.2.0512: Vim9: no optional arguments in func type v8.2.0512
Bram Moolenaar [Sun, 5 Apr 2020 15:08:17 +0000 (17:08 +0200)]
patch 8.2.0512: Vim9: no optional arguments in func type

Problem:    Vim9: no optional arguments in func type.
Solution:   Check for question mark after type.  Find function reference
            without function().

4 years agopatch 8.2.0511: Cscope code not fully tested v8.2.0511
Bram Moolenaar [Sun, 5 Apr 2020 13:36:16 +0000 (15:36 +0200)]
patch 8.2.0511: Cscope code not fully tested

Problem:    Cscope code not fully tested.
Solution:   Add more test cases. (Dominique Pelle, closes #5886)

4 years agopatch 8.2.0510: Coverity complains about using uninitialized variable v8.2.0510
Bram Moolenaar [Sat, 4 Apr 2020 12:50:32 +0000 (14:50 +0200)]
patch 8.2.0510: Coverity complains about using uninitialized variable

Problem:    Coverity complains about using uninitialized variable.
Solution:   Assign a value to "scol".  Move code inside NULL check.

4 years agopatch 8.2.0509: various code is not properly tested. v8.2.0509
Bram Moolenaar [Sat, 4 Apr 2020 12:00:39 +0000 (14:00 +0200)]
patch 8.2.0509: various code is not properly tested.

Problem:    various code is not properly tested.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #5871)

4 years agopatch 8.2.0508: Vim9: func and partial types not done yet v8.2.0508
Bram Moolenaar [Fri, 3 Apr 2020 19:59:57 +0000 (21:59 +0200)]
patch 8.2.0508: Vim9: func and partial types not done yet

Problem:    Vim9: func and partial types not done yet
Solution:   Fill in details about func declaration, drop a separate partial
            declaration.

4 years agopatch 8.2.0507: getbufvar() may get the wrong dictionary v8.2.0507
Bram Moolenaar [Fri, 3 Apr 2020 16:43:35 +0000 (18:43 +0200)]
patch 8.2.0507: getbufvar() may get the wrong dictionary

Problem:    Getbufvar() may get the wrong dictionary. (David le Blanc)
Solution:   Check for empty name. (closes #5878)

4 years agopatch 8.2.0506: Coverity complains about ignoring return value v8.2.0506
Bram Moolenaar [Fri, 3 Apr 2020 16:13:57 +0000 (18:13 +0200)]
patch 8.2.0506: Coverity complains about ignoring return value

Problem:    Coverity complains about ignoring return value.
Solution:   Add (void).

4 years agopatch 8.2.0505: term_getty() not sufficiently tested v8.2.0505
Bram Moolenaar [Fri, 3 Apr 2020 10:56:17 +0000 (12:56 +0200)]
patch 8.2.0505: term_getty() not sufficiently tested

Problem:    term_getty() not sufficiently tested.
Solution:   Add more asserts. (Dominique Pelle, closes #5877)

4 years agopatch 8.2.0504: Vim9: leaking scope memory when compilation fails v8.2.0504
Bram Moolenaar [Thu, 2 Apr 2020 20:57:36 +0000 (22:57 +0200)]
patch 8.2.0504: Vim9: leaking scope memory when compilation fails

Problem:    Vim9: leaking scope memory when compilation fails.
Solution:   Cleanup the scope list.

4 years agopatch 8.2.0503: Vim9: some code is not tested v8.2.0503
Bram Moolenaar [Thu, 2 Apr 2020 20:33:21 +0000 (22:33 +0200)]
patch 8.2.0503: Vim9: some code is not tested

Problem:    Vim9: some code is not tested.
Solution:   Add tests.  Fix uncovered problems.

4 years agopatch 8.2.0502: Vim9: some code is not tested v8.2.0502
Bram Moolenaar [Thu, 2 Apr 2020 19:13:25 +0000 (21:13 +0200)]
patch 8.2.0502: Vim9: some code is not tested

Problem:    Vim9: some code is not tested.
Solution:   Add more tests.  Fix uncovered problems.

4 years agopatch 8.2.0501: Vim9: script test fails when channel feature is missing v8.2.0501
Bram Moolenaar [Thu, 2 Apr 2020 17:12:08 +0000 (19:12 +0200)]
patch 8.2.0501: Vim9: script test fails when channel feature is missing

Problem:    Vim9: script test fails when channel feature is missing.
Solution:   Add a has() condition.

4 years agopatch 8.2.0500: using the same loop in many places v8.2.0500
Bram Moolenaar [Thu, 2 Apr 2020 16:50:46 +0000 (18:50 +0200)]
patch 8.2.0500: using the same loop in many places

Problem:    Using the same loop in many places.
Solution:   Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339)

4 years agopatch 8.2.0499: calling a lambda is slower than evaluating a string v8.2.0499
Bram Moolenaar [Thu, 2 Apr 2020 16:34:35 +0000 (18:34 +0200)]
patch 8.2.0499: calling a lambda is slower than evaluating a string

Problem:    Calling a lambda is slower than evaluating a string.
Solution:   Make calling a lambda faster. (Ken Takata, closes #5727)

4 years agopatch 8.2.0498: Coverity complains about uninitialized field v8.2.0498
Bram Moolenaar [Thu, 2 Apr 2020 14:00:04 +0000 (16:00 +0200)]
patch 8.2.0498: Coverity complains about uninitialized field

Problem:    Coverity complains about uninitialized field.
Solution:   Initialize the whole typval_T.

4 years agopatch 8.2.0497: too verbose output from the asan build in Travis v8.2.0497
Bram Moolenaar [Thu, 2 Apr 2020 13:17:32 +0000 (15:17 +0200)]
patch 8.2.0497: too verbose output from the asan build in Travis

Problem:    Too verbose output from the asan build in Travis.
Solution:   Filter out suppression messages. (Ozaki Kiichi, closes #5874)

4 years agopatch 8.2.0496: Vim9: disassemble test fails v8.2.0496
Bram Moolenaar [Thu, 2 Apr 2020 11:50:27 +0000 (13:50 +0200)]
patch 8.2.0496: Vim9: disassemble test fails

Problem:    Vim9: disassemble test fails.
Solution:   Separate test cases with recognized constant expressions.

4 years agopatch 8.2.0495: Vim9: some code not tested v8.2.0495
Bram Moolenaar [Wed, 1 Apr 2020 21:05:18 +0000 (23:05 +0200)]
patch 8.2.0495: Vim9: some code not tested

Problem:    Vim9: some code not tested.
Solution:   Add more tests.  Support more const expressions.

4 years agopatch 8.2.0494: Vim9: asan error v8.2.0494
Bram Moolenaar [Wed, 1 Apr 2020 20:36:49 +0000 (22:36 +0200)]
patch 8.2.0494: Vim9: asan error

Problem:    Vim9: asan error.
Solution:   Only get the type when there is one.

4 years agopatch 8.2.0493: Vim9: some error messages not tested v8.2.0493
Bram Moolenaar [Wed, 1 Apr 2020 20:11:01 +0000 (22:11 +0200)]
patch 8.2.0493: Vim9: some error messages not tested

Problem:    Vim9: some error messages not tested.
Solution:   Add more tests.  Fix uncovered bugs.

4 years agopatch 8.2.0492: Vim9: some error messages not tested v8.2.0492
Bram Moolenaar [Wed, 1 Apr 2020 19:17:24 +0000 (21:17 +0200)]
patch 8.2.0492: Vim9: some error messages not tested

Problem:    Vim9: some error messages not tested.
Solution:   Add more tests.  Remove dead code.  Fix uncovered bugs.

4 years agopatch 8.2.0491: cannot recognize a <script> mapping using maparg() v8.2.0491
Bram Moolenaar [Wed, 1 Apr 2020 17:22:12 +0000 (19:22 +0200)]
patch 8.2.0491: cannot recognize a <script> mapping using maparg()

Problem:    Cannot recognize a <script> mapping using maparg().
Solution:   Add the "script" key. (closes #5873)

4 years agopatch 8.2.0490: Win32: VTP doesn't respect 'restorescreen' v8.2.0490
Bram Moolenaar [Wed, 1 Apr 2020 16:29:10 +0000 (18:29 +0200)]
patch 8.2.0490: Win32: VTP doesn't respect 'restorescreen'

Problem:    Win32: VTP doesn't respect 'restorescreen'.
Solution:   Use escape codes to switch to alternate screen. (Nobuhiro
            Takasaki, closes #5872)

4 years agopatch 8.2.0489: Vim9: memory leaks v8.2.0489
Bram Moolenaar [Wed, 1 Apr 2020 14:34:17 +0000 (16:34 +0200)]
patch 8.2.0489: Vim9: memory leaks

Problem:    Vim9: memory leaks.
Solution:   Free memory in the right place.  Add hints for using asan.

4 years agopatch 8.2.0488: Vim9: compiling can break when using a lambda inside :def v8.2.0488
Bram Moolenaar [Tue, 31 Mar 2020 21:32:31 +0000 (23:32 +0200)]
patch 8.2.0488: Vim9: compiling can break when using a lambda inside :def

Problem:    Vim9: Compiling can break when using a lambda inside :def.
Solution:   Do not keep a pointer to the dfunc_T for longer time.

4 years agopatch 8.2.0487: Vim9: compiling not sufficiently tested v8.2.0487
Bram Moolenaar [Tue, 31 Mar 2020 21:13:10 +0000 (23:13 +0200)]
patch 8.2.0487: Vim9: compiling not sufficiently tested

Problem:    Vim9: compiling not sufficiently tested.
Solution:   Add more tests.  Fix bug with PCALL.

4 years agopatch 8.2.0486: Vim9: some code and error messages not tested v8.2.0486
Bram Moolenaar [Mon, 30 Mar 2020 20:51:24 +0000 (22:51 +0200)]
patch 8.2.0486: Vim9: some code and error messages not tested

Problem:    Vim9: some code and error messages not tested.
Solution:   Add more tests.

4 years agopatch 8.2.0485: Vim9 script test fails v8.2.0485
Bram Moolenaar [Mon, 30 Mar 2020 19:28:39 +0000 (21:28 +0200)]
patch 8.2.0485: Vim9 script test fails

Problem:    Vim9 script test fails.
Solution:   Stricter condition for adding new local variable.

4 years agopatch 8.2.0484: Vim9: some error messages not tested v8.2.0484
Bram Moolenaar [Mon, 30 Mar 2020 19:22:56 +0000 (21:22 +0200)]
patch 8.2.0484: Vim9: some error messages not tested

Problem:    Vim9: some error messages not tested.
Solution:   Add more tests.

4 years agopatch 8.2.0483: Vim9: "let x = x + 1" does not give an error v8.2.0483
Bram Moolenaar [Mon, 30 Mar 2020 19:05:45 +0000 (21:05 +0200)]
patch 8.2.0483: Vim9: "let x = x + 1" does not give an error

Problem:    Vim9: "let x = x + 1" does not give an error.
Solution:   Hide the variable when compiling the expression.

4 years agopatch 8.2.0482: channel and sandbox code not sufficiently tested v8.2.0482
Bram Moolenaar [Mon, 30 Mar 2020 17:32:53 +0000 (19:32 +0200)]
patch 8.2.0482: channel and sandbox code not sufficiently tested

Problem:    Channel and sandbox code not sufficiently tested.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #5855)

4 years agopatch 8.2.0481: Travis is still using trusty v8.2.0481
Bram Moolenaar [Mon, 30 Mar 2020 17:13:29 +0000 (19:13 +0200)]
patch 8.2.0481: Travis is still using trusty

Problem:    Travis is still using trusty.
Solution:   Adjust config to use bionic. (Ozaki Kiichi, closes #5868)

4 years agopatch 8.2.0480: Vim9: some code is not tested v8.2.0480
Bram Moolenaar [Sun, 29 Mar 2020 19:38:15 +0000 (21:38 +0200)]
patch 8.2.0480: Vim9: some code is not tested

Problem:    Vim9: some code is not tested.
Solution:   Add more tests.

4 years agopatch 8.2.0479: unloading shared libraries on exit has no purpose v8.2.0479
Bram Moolenaar [Sun, 29 Mar 2020 18:51:07 +0000 (20:51 +0200)]
patch 8.2.0479: unloading shared libraries on exit has no purpose

Problem:    Unloading shared libraries on exit has no purpose.
Solution:   Do not unload shared libraries on exit.

4 years agopatch 8.2.0478: new buffers are not added to the Buffers menu v8.2.0478
Bram Moolenaar [Sun, 29 Mar 2020 18:08:45 +0000 (20:08 +0200)]
patch 8.2.0478: new buffers are not added to the Buffers menu

Problem:    New buffers are not added to the Buffers menu.
Solution:   Turn number into string. (Yee Cheng Chin, closes #5864)

4 years agopatch 8.2.0477: Vim9: error messages not tested v8.2.0477
Bram Moolenaar [Sun, 29 Mar 2020 16:40:30 +0000 (18:40 +0200)]
patch 8.2.0477: Vim9: error messages not tested

Problem:    Vim9: error messages not tested.
Solution:   Add more tests.

4 years agopatch 8.2.0476: terminal nasty callback test fails sometimes v8.2.0476
Bram Moolenaar [Sun, 29 Mar 2020 15:50:48 +0000 (17:50 +0200)]
patch 8.2.0476: terminal nasty callback test fails sometimes

Problem:    Terminal nasty callback test fails sometimes.
Solution:   use term_wait() instead of a sleep. (Yee Cheng Chin,closes #5865)

4 years agopatch 8.2.0475: channel out_cb test still fails sometimes on Mac v8.2.0475
Bram Moolenaar [Sun, 29 Mar 2020 14:18:58 +0000 (16:18 +0200)]
patch 8.2.0475: channel out_cb test still fails sometimes on Mac

Problem:    Channel out_cb test still fails sometimes on Mac.
Solution:   Use an ever longer timeout.

4 years agopatch 8.2.0474: cannot use :write when using a plugin with BufWriteCmd v8.2.0474
Bram Moolenaar [Sun, 29 Mar 2020 14:06:29 +0000 (16:06 +0200)]
patch 8.2.0474: cannot use :write when using a plugin with BufWriteCmd

Problem:    Cannot use :write when using a plugin with BufWriteCmd.
Solution:   Reset BF_NOTEDITED after BufWriteCmd. (closes #5807)