]> granicus.if.org Git - vim/log
vim
4 years agopatch 8.2.0612: Vim9: no check for space before #comment v8.2.0612
Bram Moolenaar [Mon, 20 Apr 2020 17:42:10 +0000 (19:42 +0200)]
patch 8.2.0612: Vim9: no check for space before #comment

Problem:    Vim9: no check for space before #comment.
Solution:   Add space checks.

4 years agopatch 8.2.0611: Vim9: no check for space before #comment v8.2.0611
Bram Moolenaar [Mon, 20 Apr 2020 15:46:14 +0000 (17:46 +0200)]
patch 8.2.0611: Vim9: no check for space before #comment

Problem:    Vim9: no check for space before #comment.
Solution:   Add space checks.

4 years agopatch 8.2.0610: some tests are still old style v8.2.0610
Bram Moolenaar [Mon, 20 Apr 2020 14:50:00 +0000 (16:50 +0200)]
patch 8.2.0610: some tests are still old style

Problem:    Some tests are still old style.
Solution:   Convert to new style tests. (Yegappan Lakshmanan, closes #5957)

4 years agopatch 8.2.0609: configure does not detect moonjit correctly v8.2.0609
Bram Moolenaar [Mon, 20 Apr 2020 14:21:53 +0000 (16:21 +0200)]
patch 8.2.0609: configure does not detect moonjit correctly

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

4 years agopatch 8.2.0608: warning from clang when building message test v8.2.0608
Bram Moolenaar [Mon, 20 Apr 2020 14:12:09 +0000 (16:12 +0200)]
patch 8.2.0608: warning from clang when building message test

Problem:    Warning from clang when building message test.
Solution:   Use a void pointer.  (Dominique Pelle, closes #5958)

4 years agopatch 8.2.0607: gcc warns for using uninitialized variable v8.2.0607
Bram Moolenaar [Sun, 19 Apr 2020 20:57:44 +0000 (22:57 +0200)]
patch 8.2.0607: gcc warns for using uninitialized variable

Problem:    Gcc warns for using uninitialized variable. (John Marriott)
Solution:   Set name_end also for environment variables.

4 years agopatch 8.2.0606: several syntax HL errors not checked v8.2.0606
Bram Moolenaar [Sun, 19 Apr 2020 16:31:25 +0000 (18:31 +0200)]
patch 8.2.0606: several syntax HL errors not checked

Problem:    Several syntax HL errors not checked.
Solution:   Add tests. (Yegappan Lakshmanan, closes #5954)

4 years agopatch 8.2.0605: Vim9: cannot unlet an environment variable v8.2.0605
Bram Moolenaar [Sun, 19 Apr 2020 16:27:26 +0000 (18:27 +0200)]
patch 8.2.0605: Vim9: cannot unlet an environment variable

Problem:    Vim9: cannot unlet an environment variable.
Solution:   Implement unlet for $VAR.

4 years agopatch 8.2.0604: :startinsert in a terminal window used later v8.2.0604
Bram Moolenaar [Sun, 19 Apr 2020 16:13:19 +0000 (18:13 +0200)]
patch 8.2.0604: :startinsert in a terminal window used later

Problem:    :startinsert in a terminal window used later.
Solution:   Ignore :startinsert in a terminal window. (closes #5952)

4 years agopatch 8.2.0603: configure does not detect moonjit v8.2.0603
Bram Moolenaar [Sun, 19 Apr 2020 15:46:53 +0000 (17:46 +0200)]
patch 8.2.0603: configure does not detect moonjit

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

4 years agopatch 8.2.0602: :unlet $VAR does not work properly v8.2.0602
Bram Moolenaar [Sun, 19 Apr 2020 15:24:53 +0000 (17:24 +0200)]
patch 8.2.0602: :unlet $VAR does not work properly

Problem:    :unlet $VAR does not work properly.
Solution:   Make ":lockvar $VAR" fail.  Check the "skip" flag.

4 years agopatch 8.2.0601: Vim9: :unlet is not compiled v8.2.0601
Bram Moolenaar [Sun, 19 Apr 2020 14:28:59 +0000 (16:28 +0200)]
patch 8.2.0601: Vim9: :unlet is not compiled

Problem:    Vim9: :unlet is not compiled.
Solution:   Implement :unlet instruction and check for errors.

4 years agopatch 8.2.0600: Vim9: cannot read or write w:, t: and b: variables v8.2.0600
Bram Moolenaar [Sun, 19 Apr 2020 12:32:17 +0000 (14:32 +0200)]
patch 8.2.0600: Vim9: cannot read or write w:, t: and b: variables

Problem:    Vim9: cannot read or write w:, t: and b: variables.
Solution:   Implement load and store for w:, t: and b: variables.
            (closes #5950)

4 years agopatch 8.2.0599: Netbeans interface insufficiently tested v8.2.0599
Bram Moolenaar [Sun, 19 Apr 2020 12:02:26 +0000 (14:02 +0200)]
patch 8.2.0599: Netbeans interface insufficiently tested

Problem:    Netbeans interface insufficiently tested.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #5921)

4 years agopatch 8.2.0598: test_eval_stuff fails in normal terminal v8.2.0598
Bram Moolenaar [Sat, 18 Apr 2020 21:20:37 +0000 (23:20 +0200)]
patch 8.2.0598: test_eval_stuff fails in normal terminal

Problem:    Test_eval_stuff fails in normal terminal.
Solution:   Close the new window.

4 years agopatch 8.2.0597: test_eval is old style v8.2.0597
Bram Moolenaar [Sat, 18 Apr 2020 19:56:38 +0000 (21:56 +0200)]
patch 8.2.0597: test_eval is old style

Problem:    Test_eval is old style.
Solution:   Change some tests to a new style test.

4 years agopatch 8.2.0596: crash in test49 v8.2.0596
Bram Moolenaar [Sat, 18 Apr 2020 18:51:40 +0000 (20:51 +0200)]
patch 8.2.0596: crash in test49

Problem:    Crash in test49.
Solution:   Check the right pointer.

4 years agopatch 8.2.0595: Vim9: not all commands using ends_excmd() tested v8.2.0595
Bram Moolenaar [Sat, 18 Apr 2020 17:53:28 +0000 (19:53 +0200)]
patch 8.2.0595: Vim9: not all commands using ends_excmd() tested

Problem:    Vim9: not all commands using ends_excmd() tested.
Solution:   Find # comment after regular commands. Add more tests.  Report
            error for where it was caused.

4 years agopatch 8.2.0594: MS-Windows: cannot build with WINVER set to 0x0501 v8.2.0594
Bram Moolenaar [Sat, 18 Apr 2020 16:24:18 +0000 (18:24 +0200)]
patch 8.2.0594: MS-Windows: cannot build with WINVER set to 0x0501

Problem:    MS-Windows: cannot build with WINVER set to 0x0501.
Solution:   Only use inet_ntop() when available. (Ozaki Kiichi, closes #5946)

4 years agopatch 8.2.0593: finding a user command is not optimal v8.2.0593
Bram Moolenaar [Sat, 18 Apr 2020 15:45:38 +0000 (17:45 +0200)]
patch 8.2.0593: finding a user command is not optimal

Problem:    Finding a user command is not optimal.
Solution:   Start further down in the list of commands.

4 years agopatch 8.2.0592: MS-Windows with VTP: cursor is not made invisible v8.2.0592
Bram Moolenaar [Fri, 17 Apr 2020 19:13:01 +0000 (21:13 +0200)]
patch 8.2.0592: MS-Windows with VTP: cursor is not made invisible

Problem:    MS-Windows with VTP: cursor is not made invisible.
Solution:   Output the code to make the cursor visible or invisible. (Nobuhiro
            Takasaki, closes #5941)

4 years agopatch 8.2.0591: MS-Windows: should always support IPv6 v8.2.0591
Bram Moolenaar [Fri, 17 Apr 2020 18:48:57 +0000 (20:48 +0200)]
patch 8.2.0591: MS-Windows: should always support IPv6

Problem:    MS-Windows: should always support IPv6
Solution:   Add build flag. (Ozaki Kiichi, closes #5944)

4 years agopatch 8.2.0590: no 'backspace' value allows ignoring the insertion point v8.2.0590
Bram Moolenaar [Fri, 17 Apr 2020 17:41:21 +0000 (19:41 +0200)]
patch 8.2.0590: no 'backspace' value allows ignoring the insertion point

Problem:    No 'backspace' value allows ignoring the insertion point.
Solution:   Add the "nostop" and 3 values. (Christian Brabandt, closes #5940)

4 years agopatch 8.2.0589: .bsd file type not recognized v8.2.0589
Bram Moolenaar [Fri, 17 Apr 2020 17:23:06 +0000 (19:23 +0200)]
patch 8.2.0589: .bsd file type not recognized

Problem:    .bsd file type not recognized.
Solution:   Recognize .bsd as BSDL. (Daniel Kho, closes #5945)

4 years agopatch 8.2.0588: Putty does not use "sgr" 'ttymouse' by default v8.2.0588
Bram Moolenaar [Fri, 17 Apr 2020 14:40:31 +0000 (16:40 +0200)]
patch 8.2.0588: Putty does not use "sgr" 'ttymouse' by default

Problem:    Putty does not use "sgr" 'ttymouse' by default.
Solution:   Make "sgr" the default for Putty. (Christian Brabandt,
            closes #5942)

4 years agopatch 8.2.0587: compiler warning for unused variable v8.2.0587
Bram Moolenaar [Thu, 16 Apr 2020 21:01:50 +0000 (23:01 +0200)]
patch 8.2.0587: compiler warning for unused variable

Problem:    Compiler warning for unused variable.
Solution:   Add UNUSED.

4 years agopatch 8.2.0586: Vim9: # comment not sufficiently tested v8.2.0586
Bram Moolenaar [Thu, 16 Apr 2020 20:54:32 +0000 (22:54 +0200)]
patch 8.2.0586: Vim9: # comment not sufficiently tested

Problem:    Vim9: # comment not sufficiently tested
Solution:   Check for preceding white space.

4 years agopatch 8.2.0585: Vim9: # comment not recognized after :vim9script v8.2.0585
Bram Moolenaar [Thu, 16 Apr 2020 20:10:49 +0000 (22:10 +0200)]
patch 8.2.0585: Vim9: # comment not recognized after :vim9script

Problem:    Vim9: # comment not recognized after :vim9script.
Solution:   Check script type. Make comment after ":echo" work.  And in
            several other places.

4 years agopatch 8.2.0584: viminfo file uses obsolete function file_readable() v8.2.0584
Bram Moolenaar [Thu, 16 Apr 2020 19:04:41 +0000 (21:04 +0200)]
patch 8.2.0584: viminfo file uses obsolete function file_readable()

Problem:    Viminfo file uses obsolete function file_readable().
Solution:   Use filereadable(). (closes #5934)

4 years agopatch 8.2.0583: Vim9: # comment not recognized in :def function v8.2.0583
Bram Moolenaar [Thu, 16 Apr 2020 11:00:29 +0000 (13:00 +0200)]
patch 8.2.0583: Vim9: # comment not recognized in :def function

Problem:    Vim9: # comment not recognized in :def function.
Solution:   Recognize and skip # comment.

4 years agopatch 8.2.0582: color ramp test does not show text colors v8.2.0582
Bram Moolenaar [Wed, 15 Apr 2020 19:44:11 +0000 (21:44 +0200)]
patch 8.2.0582: color ramp test does not show text colors

Problem:    Color ramp test does not show text colors.
Solution:   Add a row of 16 text colors and 16 bold text colors.

4 years agopatch 8.2.0581: Win32 console: the cursor position is always top-left v8.2.0581
Bram Moolenaar [Wed, 15 Apr 2020 19:05:30 +0000 (21:05 +0200)]
patch 8.2.0581: Win32 console: the cursor position is always top-left

Problem:    Win32 console: the cursor position is always top-left.
Solution:   Revert the patch for restoring screen.

4 years agopatch 8.2.0580: window size wrong if 'ea' is off and 'splitright' is on v8.2.0580
Bram Moolenaar [Wed, 15 Apr 2020 18:05:47 +0000 (20:05 +0200)]
patch 8.2.0580: window size wrong if 'ea' is off and 'splitright' is on

Problem:    Window size wrong if 'ea' is off and 'splitright' is on and
            splitting then closing a window.
Solution:   Put abandoned window space in the right place. (Mark Waggoner)

4 years agopatch 8.2.0579: Coverity warns for unused value v8.2.0579
Bram Moolenaar [Tue, 14 Apr 2020 18:56:31 +0000 (20:56 +0200)]
patch 8.2.0579: Coverity warns for unused value

Problem:    Coverity warns for unused value.
Solution:   Change order and use "else if".

4 years agopatch 8.2.0578: heredoc for interfaces does not support "trim" v8.2.0578
Bram Moolenaar [Tue, 14 Apr 2020 18:15:49 +0000 (20:15 +0200)]
patch 8.2.0578: heredoc for interfaces does not support "trim"

Problem:    Heredoc for interfaces does not support "trim".
Solution:   Update the script heredoc support to be same as the :let command.
            (Yegappan Lakshmanan, closes #5916)

4 years agopatch 8.2.0577: not all modifiers supported for :options v8.2.0577
Bram Moolenaar [Mon, 13 Apr 2020 19:16:21 +0000 (21:16 +0200)]
patch 8.2.0577: not all modifiers supported for :options

Problem:    Not all modifiers supported for :options.
Solution:   Use all cmdmod.split flags. (closes #4401)

4 years agopatch 8.2.0576: some errors are not covered by tests v8.2.0576
Bram Moolenaar [Mon, 13 Apr 2020 17:55:50 +0000 (19:55 +0200)]
patch 8.2.0576: some errors are not covered by tests

Problem:    Some errors are not covered by tests.
Solution:   Add a few more tests. (Dominique Pelle, closes #5920)

4 years agopatch 8.2.0575: :digraph! not tested v8.2.0575
Bram Moolenaar [Mon, 13 Apr 2020 17:46:43 +0000 (19:46 +0200)]
patch 8.2.0575: :digraph! not tested

Problem:    :digraph! not tested.
Solution:   Add a test. (Dominique Pelle, closes #5925)

4 years agopatch 8.2.0574: ipv6 feature not shown in :version output v8.2.0574
Bram Moolenaar [Mon, 13 Apr 2020 17:04:21 +0000 (19:04 +0200)]
patch 8.2.0574: ipv6 feature not shown in :version output

Problem:    Ipv6 feature not shown in :version output.
Solution:   Add ipv6 in :version output. (Ozaki Kiichi, closes #5924)

4 years agopatch 8.2.0573: using :version twice leaks memory v8.2.0573
Bram Moolenaar [Mon, 13 Apr 2020 16:25:33 +0000 (18:25 +0200)]
patch 8.2.0573: using :version twice leaks memory

Problem:    using :version twice leaks memory
Solution:   Only initialize variables once. (Dominique Pelle, closes #5917)

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)