]> granicus.if.org Git - vim/log
vim
5 years agopatch 8.2.0233: crash when using garbagecollect() in between rand() v8.2.0233
Bram Moolenaar [Sat, 8 Feb 2020 15:40:39 +0000 (16:40 +0100)]
patch 8.2.0233: crash when using garbagecollect() in between rand()

Problem:    Crash when using garbagecollect() in between rand().
Solution:   Redesign the rand() and srand() implementation. (Yasuhiro
            Matsumoto, closes #5587, closes #5588)

5 years agopatch 8.2.0232: the :compiler command causes a crash v8.2.0232
Bram Moolenaar [Sat, 8 Feb 2020 15:00:46 +0000 (16:00 +0100)]
patch 8.2.0232: the :compiler command causes a crash

Problem:    The :compiler command causes a crash. (Daniel Steinberg)
Solution:   Do not use the script index if it isn't set.

5 years agopatch 8.2.0231: silent system command may clear the screen v8.2.0231
Bram Moolenaar [Sat, 8 Feb 2020 13:22:53 +0000 (14:22 +0100)]
patch 8.2.0231: silent system command may clear the screen

Problem:    Silent system command may clear the screen.
Solution:   Do not clear the screen in t_te.

5 years agopatch 8.2.0230: terminal popup test is flaky v8.2.0230
Bram Moolenaar [Fri, 7 Feb 2020 21:20:53 +0000 (22:20 +0100)]
patch 8.2.0230: terminal popup test is flaky

Problem:    Terminal popup test is flaky.
Solution:   Increase wait time a bit.

5 years agopatch 8.2.0229: compare instructions not tested v8.2.0229
Bram Moolenaar [Fri, 7 Feb 2020 21:09:54 +0000 (22:09 +0100)]
patch 8.2.0229: compare instructions not tested

Problem:    Compare instructions not tested.
Solution:   Add test cases.  Fix disassemble with line continuation.

5 years agopatch 8.2.0228: configure does not recognize gcc version on BSD v8.2.0228
Bram Moolenaar [Fri, 7 Feb 2020 19:50:07 +0000 (20:50 +0100)]
patch 8.2.0228: configure does not recognize gcc version on BSD

Problem:    Configure does not recognize gcc version on BSD.
Solution:   Do not use "\+" in the pattern matching the version number. (Ozaki
            Kiichi, closes #5590)

5 years agopatch 8.2.0227: compiling a few instructions not tested v8.2.0227
Bram Moolenaar [Thu, 6 Feb 2020 21:41:16 +0000 (22:41 +0100)]
patch 8.2.0227: compiling a few instructions not tested

Problem:    Compiling a few instructions not tested.
Solution:   Add more test cases.

5 years agopatch 8.2.0226: compiling for loop not tested v8.2.0226
Bram Moolenaar [Thu, 6 Feb 2020 21:06:54 +0000 (22:06 +0100)]
patch 8.2.0226: compiling for loop not tested

Problem:    Compiling for loop not tested.
Solution:   Add a test.  Make variable initialization work for more types.

5 years agopatch 8.2.0225: compiling lambda not tested yet v8.2.0225
Bram Moolenaar [Thu, 6 Feb 2020 20:27:08 +0000 (21:27 +0100)]
patch 8.2.0225: compiling lambda not tested yet

Problem:    compiling lambda not tested yet.
Solution:   Add test for lambda and funcref. Drop unused instruction arg.

5 years agopatch 8.2.0224: compiling :elseif not tested yet v8.2.0224
Bram Moolenaar [Thu, 6 Feb 2020 19:39:45 +0000 (20:39 +0100)]
patch 8.2.0224: compiling :elseif not tested yet

Problem:    compiling :elseif not tested yet.
Solution:   Add test for :elseif.  Fix generating jumps.

5 years agopatch 8.2.0223: some instructions not yet tested v8.2.0223
Bram Moolenaar [Thu, 6 Feb 2020 18:25:19 +0000 (19:25 +0100)]
patch 8.2.0223: some instructions not yet tested

Problem:    Some instructions not yet tested.
Solution:   Disassemble more instructions.  Move tests to a new file.  Compile
            call to s:function().

5 years agopatch 8.2.0222: Vim9: optional function arguments don't work yet v8.2.0222
Bram Moolenaar [Thu, 6 Feb 2020 16:51:35 +0000 (17:51 +0100)]
patch 8.2.0222: Vim9: optional function arguments don't work yet

Problem:    Vim9: optional function arguments don't work yet.
Solution:   Implement optional function arguments.

5 years agopatch 8.2.0221: no test for Vim9 += and ..= v8.2.0221
Bram Moolenaar [Thu, 6 Feb 2020 12:15:52 +0000 (13:15 +0100)]
patch 8.2.0221: no test for Vim9 += and ..=

Problem:    No test for Vim9 += and ..=.
Solution:   Add tests.

5 years agopatch 8.2.0220: terminal test did pass on Mac v8.2.0220
Bram Moolenaar [Thu, 6 Feb 2020 10:54:35 +0000 (11:54 +0100)]
patch 8.2.0220: terminal test did pass on Mac

Problem:    Terminal test did pass on Mac.
Solution:   Remove the skip again.

5 years agopatch 8.2.0219: terminal test still fails on Mac v8.2.0219
Bram Moolenaar [Wed, 5 Feb 2020 22:01:34 +0000 (23:01 +0100)]
patch 8.2.0219: terminal test still fails on Mac

Problem:    Terminal test still fails on Mac.
Solution:   Skip part of the test on Mac.

5 years agopatch 8.2.0218: several Vim9 instructions are not tested v8.2.0218
Bram Moolenaar [Wed, 5 Feb 2020 21:55:48 +0000 (22:55 +0100)]
patch 8.2.0218: several Vim9 instructions are not tested

Problem:    Several Vim9 instructions are not tested.
Solution:   Add more tests.

5 years agopatch 8.2.0217: terminal test fails on Mac v8.2.0217
Bram Moolenaar [Wed, 5 Feb 2020 21:21:08 +0000 (22:21 +0100)]
patch 8.2.0217: terminal test fails on Mac

Problem:    Terminal test fails on Mac.
Solution:   Add a short wait.

5 years agopatch 8.2.0216: several Vim9 instructions are not tested v8.2.0216
Bram Moolenaar [Wed, 5 Feb 2020 21:10:05 +0000 (22:10 +0100)]
patch 8.2.0216: several Vim9 instructions are not tested

Problem:    Several Vim9 instructions are not tested.
Solution:   Add more tests. Fix :disassamble output. Make catch with pattern
            work.

5 years agopatch 8.2.0215: wrong file name shortening v8.2.0215
Bram Moolenaar [Wed, 5 Feb 2020 20:14:00 +0000 (21:14 +0100)]
patch 8.2.0215: wrong file name shortening

Problem:    Wrong file name shortening. (Ingo Karkat)
Solution:   Better check for path separator. (Yasuhiro Matsumoto,
            closes #5583, closes #5584)

5 years agopatch 8.2.0214: a popup window with a terminal can be made hidden v8.2.0214
Bram Moolenaar [Wed, 5 Feb 2020 20:07:18 +0000 (21:07 +0100)]
patch 8.2.0214: a popup window with a terminal can be made hidden

Problem:    A popup window with a terminal can be made hidden.
Solution:   Disallow hiding a terminal popup.

5 years agopatch 8.2.0213: configure does not recognize gcc 10.0 and later v8.2.0213
Bram Moolenaar [Wed, 5 Feb 2020 19:44:24 +0000 (20:44 +0100)]
patch 8.2.0213: configure does not recognize gcc 10.0 and later

Problem:    Configure does not recognize gcc 10.0 and later.
Solution:   Adjust the pattern matching the version number. (Sergei
            Trofimovich, closes #5580)

5 years agopatch 8.2.0212: missing search/substitute pattern hardly tested v8.2.0212
Bram Moolenaar [Wed, 5 Feb 2020 19:38:22 +0000 (20:38 +0100)]
patch 8.2.0212: missing search/substitute pattern hardly tested

Problem:    Missing search/substitute pattern hardly tested.
Solution:   Add test_clear_search_pat() and tests. (Yegappan Lakshmanan,
            closes #5579)

5 years agopatch 8.2.0211: test for ANSI colors fails without an "ls" command v8.2.0211
Bram Moolenaar [Wed, 5 Feb 2020 19:10:33 +0000 (20:10 +0100)]
patch 8.2.0211: test for ANSI colors fails without an "ls" command

Problem:    Test for ANSI colors fails without an "ls" command.
Solution:   Use "dir". (Ken Takata, closes #5582)

5 years agopatch 8.2.0210: Coverity complains about uninitialized field v8.2.0210
Bram Moolenaar [Tue, 4 Feb 2020 22:08:14 +0000 (23:08 +0100)]
patch 8.2.0210: Coverity complains about uninitialized field

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

5 years agoUpdate runtime files.
Bram Moolenaar [Tue, 4 Feb 2020 21:53:05 +0000 (22:53 +0100)]
Update runtime files.

5 years agopatch 8.2.0209: function a bit far away from where it's used v8.2.0209
Bram Moolenaar [Tue, 4 Feb 2020 21:32:59 +0000 (22:32 +0100)]
patch 8.2.0209: function a bit far away from where it's used

Problem:    Function a bit far away from where it's used.
Solution:   Move function close to where it's used. (Ken Takata, closes #5569)

5 years agopatch 8.2.0208: fnamemodify() does not apply ":~" when followed by ":." v8.2.0208
Bram Moolenaar [Tue, 4 Feb 2020 21:23:09 +0000 (22:23 +0100)]
patch 8.2.0208: fnamemodify() does not apply ":~" when followed by ":."

Problem:    Fnamemodify() does not apply ":~" when followed by ":.".
Solution:   Don't let a failing ":." cause the ":~" to be skipped. (Yasuhiro
            Matsumoto, closes #5577)

5 years agopatch 8.2.0207: crash when missing member type on list argument v8.2.0207
Bram Moolenaar [Tue, 4 Feb 2020 20:54:07 +0000 (21:54 +0100)]
patch 8.2.0207: crash when missing member type on list argument

Problem:    Crash when missing member type on list argument.
Solution:   Check for invalid type. (closes #5572)

5 years agopatch 8.2.0206: calling Vim9 function using default argument fails v8.2.0206
Bram Moolenaar [Tue, 4 Feb 2020 20:24:15 +0000 (21:24 +0100)]
patch 8.2.0206: calling Vim9 function using default argument fails

Problem:    Calling Vim9 function using default argument fails.
Solution:   Give an appropriate error. (closes #5572)

5 years agopatch 8.2.0205: error code E899 used twice v8.2.0205
Bram Moolenaar [Mon, 3 Feb 2020 21:58:48 +0000 (22:58 +0100)]
patch 8.2.0205: error code E899 used twice

Problem:    Error code E899 used twice.
Solution:   Use E863 for the terminal in popup error.

5 years agopatch 8.2.0204: crash when using winnr('j') in a popup window v8.2.0204
Bram Moolenaar [Mon, 3 Feb 2020 21:15:26 +0000 (22:15 +0100)]
patch 8.2.0204: crash when using winnr('j') in a popup window

Problem:    Crash when using winnr('j') in a popup window.
Solution:   Do not search for neighbors in a popup window. (closes #5568)

5 years agopatch 8.2.0203: :helptags and some other functionality not tested v8.2.0203
Bram Moolenaar [Mon, 3 Feb 2020 20:40:04 +0000 (21:40 +0100)]
patch 8.2.0203: :helptags and some other functionality not tested

Problem:    :helptags and some other functionality not tested.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #5567)

5 years agopatch 8.2.0202: when 'lazyredraw' is set the window title may not be updated v8.2.0202
Bram Moolenaar [Mon, 3 Feb 2020 20:29:30 +0000 (21:29 +0100)]
patch 8.2.0202: when 'lazyredraw' is set the window title may not be updated

Problem:    When 'lazyredraw' is set the window title may not be updated.
Solution:   Set "do_redraw" before entering the main loop. (Jason Franklin)

5 years agopatch 8.2.0201: cannot assign to an imported variable v8.2.0201
Bram Moolenaar [Mon, 3 Feb 2020 19:50:59 +0000 (20:50 +0100)]
patch 8.2.0201: cannot assign to an imported variable

Problem:    Cannot assign to an imported variable.
Solution:   Make it work.

5 years agopatch 8.2.0200: Vim9 script commands not sufficiently tested v8.2.0200
Bram Moolenaar [Sun, 2 Feb 2020 21:24:04 +0000 (22:24 +0100)]
patch 8.2.0200: Vim9 script commands not sufficiently tested

Problem:    Vim9 script commands not sufficiently tested.
Solution:   Add more tests.  Fix storing global variable.  Make script
            variables work.

5 years agopatch 8.2.0199: Vim9 script commands not sufficiently tested v8.2.0199
Bram Moolenaar [Sun, 2 Feb 2020 16:22:27 +0000 (17:22 +0100)]
patch 8.2.0199: Vim9 script commands not sufficiently tested

Problem:    Vim9 script commands not sufficiently tested.
Solution:   Add more tests.  Fix script-local function use.

5 years agopatch 8.2.0198: no tests for y/n prompt v8.2.0198
Bram Moolenaar [Sun, 2 Feb 2020 14:55:19 +0000 (15:55 +0100)]
patch 8.2.0198: no tests for y/n prompt

Problem:    No tests for y/n prompt.
Solution:   Add tests. (Dominique Pelle, closes #5564)

5 years agopatch 8.2.0197: some Ex commands not sufficiently tested v8.2.0197
Bram Moolenaar [Sun, 2 Feb 2020 14:32:13 +0000 (15:32 +0100)]
patch 8.2.0197: some Ex commands not sufficiently tested

Problem:    Some Ex commands not sufficiently tested.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #5565)

5 years agopatch 8.2.0196: blocking commands for a finished job in a popup window v8.2.0196
Bram Moolenaar [Sun, 2 Feb 2020 14:25:16 +0000 (15:25 +0100)]
patch 8.2.0196: blocking commands for a finished job in a popup window

Problem:    Blocking commands for a finished job in a popup window.
Solution:   Do not block commands if the job has finished.  Adjust test.

5 years agopatch 8.2.0195: some tests fail when run in the GUI v8.2.0195
Bram Moolenaar [Sun, 2 Feb 2020 12:47:06 +0000 (13:47 +0100)]
patch 8.2.0195: some tests fail when run in the GUI

Problem:    Some tests fail when run in the GUI.
Solution:   Make sure the window width is enough.  In the GUI run terminal Vim
            in the terminal, if possible.

5 years agopatch 8.2.0194: some commands can cause problems in terminal popup v8.2.0194
Bram Moolenaar [Sat, 1 Feb 2020 22:04:24 +0000 (23:04 +0100)]
patch 8.2.0194: some commands can cause problems in terminal popup

Problem:    Some commands can cause problems in terminal popup.
Solution:   Disallow more commands.

5 years agopatch 8.2.0193: still build failure without +terminal feature v8.2.0193
Bram Moolenaar [Sat, 1 Feb 2020 21:39:32 +0000 (22:39 +0100)]
patch 8.2.0193: still build failure without +terminal feature

Problem:    Still build failure without +terminal feature.
Solution:   Add more #ifdefs.

5 years agopatch 8.2.0192: build failure without +terminal feature v8.2.0192
Bram Moolenaar [Sat, 1 Feb 2020 21:18:37 +0000 (22:18 +0100)]
patch 8.2.0192: build failure without +terminal feature

Problem:    Build failure without +terminal feature.
Solution:   Add #ifdefs.

5 years agopatch 8.2.0191: cannot put a terminal in a popup window v8.2.0191
Bram Moolenaar [Sat, 1 Feb 2020 20:57:29 +0000 (21:57 +0100)]
patch 8.2.0191: cannot put a terminal in a popup window

Problem:    Cannot put a terminal in a popup window.
Solution:   Allow opening a terminal in a popup window.  It will always have
            keyboard focus until closed.

5 years agopatch 8.2.0190: Kotlin files are not recognized v8.2.0190
Bram Moolenaar [Fri, 31 Jan 2020 21:57:59 +0000 (22:57 +0100)]
patch 8.2.0190: Kotlin files are not recognized

Problem:    Kotlin files are not recognized.
Solution:   Detect Kotlin files. (Alkeryn, closes #5560)

5 years agopatch 8.2.0189: cd() with NULL argument crashes v8.2.0189
Bram Moolenaar [Fri, 31 Jan 2020 21:41:38 +0000 (22:41 +0100)]
patch 8.2.0189: cd() with NULL argument crashes

Problem:    cd() with NULL argument crashes.
Solution:   Check for NULL. (Ken Takata, closes #5558)

5 years agopatch 8.2.0188: Check commands don't work well with Vim9 script v8.2.0188
Bram Moolenaar [Fri, 31 Jan 2020 21:12:41 +0000 (22:12 +0100)]
patch 8.2.0188: Check commands don't work well with Vim9 script

Problem:    Check commands don't work well with Vim9 script.
Solution:   Improve constant expression handling.

5 years agopatch 8.2.0187: reduntant code v8.2.0187
Bram Moolenaar [Fri, 31 Jan 2020 20:20:51 +0000 (21:20 +0100)]
patch 8.2.0187: reduntant code

Problem:    Reduntant code.
Solution:   Remove unused assignments. (Dominique Pelle, closes #5557)

5 years agopatch 8.2.0186: a couple of tests may fail when features are missing v8.2.0186
Bram Moolenaar [Fri, 31 Jan 2020 20:13:42 +0000 (21:13 +0100)]
patch 8.2.0186: a couple of tests may fail when features are missing

Problem:    A couple of tests may fail when features are missing.
Solution:   Check for features. (Dominique Pelle, closes #5561)

5 years agopatch 8.2.0185: Vim9 script: cannot use "if has()" to skip lines v8.2.0185
Bram Moolenaar [Fri, 31 Jan 2020 19:10:50 +0000 (20:10 +0100)]
patch 8.2.0185: Vim9 script: cannot use "if has()" to skip lines

Problem:    Vim9 script: cannot use "if has()" to skip lines.
Solution:   Evaluate constant expression at runtime.

5 years agopatch 8.2.0184: blob test fails v8.2.0184
Bram Moolenaar [Thu, 30 Jan 2020 18:39:04 +0000 (19:39 +0100)]
patch 8.2.0184: blob test fails

Problem:    Blob test fails.
Solution:   Check for different error when float feature is missing.

5 years agopatch 8.2.0183: tests fail when the float feature is disabled v8.2.0183
Bram Moolenaar [Thu, 30 Jan 2020 17:24:53 +0000 (18:24 +0100)]
patch 8.2.0183: tests fail when the float feature is disabled

Problem:    Tests fail when the float feature is disabled.
Solution:   Skip tests that don't work without float support.

5 years agopatch 8.2.0182: min() and max() materialize a range() list v8.2.0182
Bram Moolenaar [Thu, 30 Jan 2020 15:40:10 +0000 (16:40 +0100)]
patch 8.2.0182: min() and max() materialize a range() list

Problem:    Min() and max() materialize a range() list.
Solution:   Compute the result without materializing the list. (#5541)

5 years agopatch 8.2.0181: problems parsing :term arguments v8.2.0181
Bram Moolenaar [Thu, 30 Jan 2020 15:27:20 +0000 (16:27 +0100)]
patch 8.2.0181: problems parsing :term arguments

Problem:    Problems parsing :term arguments.
Solution:   Improve parsing, fix memory leak, add tests. (Ozaki Kiichi,
            closes #5536)

5 years agopatch 8.2.0180: test for wrapmargin fails if terminal is not 80 columns v8.2.0180
Bram Moolenaar [Thu, 30 Jan 2020 15:09:25 +0000 (16:09 +0100)]
patch 8.2.0180: test for wrapmargin fails if terminal is not 80 columns

Problem:    Test for wrapmargin fails if terminal is not 80 columns.
Solution:   Vertical split the window. (Ken Takata, closes #5554)

5 years agopatch 8.2.0179: still a few places where range() does not work v8.2.0179
Bram Moolenaar [Thu, 30 Jan 2020 13:55:42 +0000 (14:55 +0100)]
patch 8.2.0179: still a few places where range() does not work

Problem:    Still a few places where range() does not work.
Solution:   Fix using range() causing problems.

5 years agopatch 8.2.0178: with VTP the screen may not be restored properly v8.2.0178
Bram Moolenaar [Thu, 30 Jan 2020 10:53:59 +0000 (11:53 +0100)]
patch 8.2.0178: with VTP the screen may not be restored properly

Problem:    With VTP the screen may not be restored properly.
Solution:   Add another set of saved RGB values. (Nobuhiro Takasaki,
            closes #5548)

5 years agopatch 8.2.0177: memory leak in get_tags() v8.2.0177
Bram Moolenaar [Wed, 29 Jan 2020 21:38:45 +0000 (22:38 +0100)]
patch 8.2.0177: memory leak in get_tags()

Problem:    Memory leak in get_tags().
Solution:   Free matches when finding a pseudo-tag line. (Dominique Pelle,
            closes #5553)

5 years agopatch 8.2.0176: generating os headers does not work for Swedish v8.2.0176
Bram Moolenaar [Wed, 29 Jan 2020 21:29:40 +0000 (22:29 +0100)]
patch 8.2.0176: generating os headers does not work for Swedish

Problem:    Generating os headers does not work for Swedish.
Solution:   Set the locale to C. (Christian Brabandt, closes #5258)

5 years agopatch 8.2.0175: crash when removing list element in map() v8.2.0175
Bram Moolenaar [Wed, 29 Jan 2020 21:17:16 +0000 (22:17 +0100)]
patch 8.2.0175: crash when removing list element in map()

Problem:    Crash when removing list element in map().
Solution:   Lock the list. (closes #2652)

5 years agopatch 8.2.0174: various commands not completely tested v8.2.0174
Bram Moolenaar [Wed, 29 Jan 2020 20:57:34 +0000 (21:57 +0100)]
patch 8.2.0174: various commands not completely tested

Problem:    Various commands not completely tested.
Solution:   Add more test cases. (Yegappan Lakshmanan, closes #5551)

5 years agopatch 8.2.0173: build fails with old compiler v8.2.0173
Bram Moolenaar [Wed, 29 Jan 2020 20:27:21 +0000 (21:27 +0100)]
patch 8.2.0173: build fails with old compiler

Problem:    Build fails with old compiler.
Solution:   Do not use anonymous unions. (John Marriott)

5 years agopatch 8.2.0172: Coverity warning for not restoring character v8.2.0172
Bram Moolenaar [Tue, 28 Jan 2020 22:13:42 +0000 (23:13 +0100)]
patch 8.2.0172: Coverity warning for not restoring character

Problem:    Coverity warning for not restoring character.
Solution:   Restore the character also in case of failure.

5 years agopatch 8.2.0171: Coverity warning for using uninitialized buffer v8.2.0171
Bram Moolenaar [Tue, 28 Jan 2020 22:09:23 +0000 (23:09 +0100)]
patch 8.2.0171: Coverity warning for using uninitialized buffer

Problem:    Coverity warning for using uninitialized buffer.
Solution:   Check the skip flag.

5 years agopatch 8.2.0170: Coverity warning for ignoring return value v8.2.0170
Bram Moolenaar [Tue, 28 Jan 2020 22:04:06 +0000 (23:04 +0100)]
patch 8.2.0170: Coverity warning for ignoring return value

Problem:    Coverity warning for ignoring return value.
Solution:   Check the return value and return if failed.

5 years agopatch 8.2.0169: Coverity warning for dead code v8.2.0169
Bram Moolenaar [Tue, 28 Jan 2020 21:59:45 +0000 (22:59 +0100)]
patch 8.2.0169: Coverity warning for dead code

Problem:    Coverity warning for dead code.
Solution:   Check if inside try-finally.

5 years agopatch 8.2.0168: Coverity warning for assigning NULL to an option v8.2.0168
Bram Moolenaar [Tue, 28 Jan 2020 21:52:48 +0000 (22:52 +0100)]
patch 8.2.0168: Coverity warning for assigning NULL to an option

Problem:    Coverity warning for assigning NULL to an option.
Solution:   Use empty string instead of NULL.

5 years agopatch 8.2.0167: Coverity warning for ignoring return value v8.2.0167
Bram Moolenaar [Tue, 28 Jan 2020 21:46:22 +0000 (22:46 +0100)]
patch 8.2.0167: Coverity warning for ignoring return value

Problem:    Coverity warning for ignoring return value.
Solution:   Check the return value and jump if failed.

5 years agopatch 8.2.0166: Coverity warning for using uninitialized variable v8.2.0166
Bram Moolenaar [Tue, 28 Jan 2020 21:39:19 +0000 (22:39 +0100)]
patch 8.2.0166: Coverity warning for using uninitialized variable

Problem:    Coverity warning for using uninitialized variable.
Solution:   Check for failure.

5 years agopatch 8.2.0165: Coverity warning for using NULL pointer v8.2.0165
Bram Moolenaar [Tue, 28 Jan 2020 21:30:32 +0000 (22:30 +0100)]
patch 8.2.0165: Coverity warning for using NULL pointer

Problem:    Coverity warning for using NULL pointer.
Solution:   Add missing "else".

5 years agopatch 8.2.0164: test_alot takes too long v8.2.0164
Bram Moolenaar [Tue, 28 Jan 2020 20:53:28 +0000 (21:53 +0100)]
patch 8.2.0164: test_alot takes too long

Problem:    Test_alot takes too long.
Solution:   Run several tests individually.

5 years agopatch 8.2.0163: test hangs on MS-Windows console v8.2.0163
Bram Moolenaar [Tue, 28 Jan 2020 19:49:11 +0000 (20:49 +0100)]
patch 8.2.0163: test hangs on MS-Windows console

Problem:    Test hangs on MS-Windows console.
Solution:   use feedkeys() instead of test_feedinput(). (Ken Takata)

5 years agopatch 8.2.0162: balloon test fails in the GUI v8.2.0162
Bram Moolenaar [Mon, 27 Jan 2020 22:01:30 +0000 (23:01 +0100)]
patch 8.2.0162: balloon test fails in the GUI

Problem:    Balloon test fails in the GUI.
Solution:   Skip test in the GUI.

5 years agopatch 8.2.0161: not recognizing .gv file as dot filetype v8.2.0161
Bram Moolenaar [Mon, 27 Jan 2020 21:47:09 +0000 (22:47 +0100)]
patch 8.2.0161: not recognizing .gv file as dot filetype

Problem:    Not recognizing .gv file as dot filetype.
Solution:   Add *.gv to dot pattern. (closes #5544)

5 years agopatch 8.2.0160: range test fails v8.2.0160
Bram Moolenaar [Mon, 27 Jan 2020 21:37:23 +0000 (22:37 +0100)]
patch 8.2.0160: range test fails

Problem:    Range test fails.
Solution:   Include change in list code. (#5541)

5 years agopatch 8.2.0159: non-materialized range() list causes problems v8.2.0159
Bram Moolenaar [Mon, 27 Jan 2020 21:09:39 +0000 (22:09 +0100)]
patch 8.2.0159: non-materialized range() list causes problems

Problem:    Non-materialized range() list causes problems. (Fujiwara Takuya)
Solution:   Materialize the list where needed.

5 years agopatch 8.2.0158: triggering CompleteDone earlier is not backwards compatible v8.2.0158
Bram Moolenaar [Sun, 26 Jan 2020 21:43:31 +0000 (22:43 +0100)]
patch 8.2.0158: triggering CompleteDone earlier is not backwards compatible

Problem:    Triggering CompleteDone earlier is not backwards compatible.
            (Daniel Hahler)
Solution:   Add CompleteDonePre instead.

5 years agopatch 8.2.0157: Vim9 script files not in list of distributed files v8.2.0157
Bram Moolenaar [Sun, 26 Jan 2020 21:05:06 +0000 (22:05 +0100)]
patch 8.2.0157: Vim9 script files not in list of distributed files

Problem:    Vim9 script files not in list of distributed files.
Solution:   Add the entries.

5 years agopatch 8.2.0156: various typos in source files and tests v8.2.0156
Bram Moolenaar [Sun, 26 Jan 2020 21:00:26 +0000 (22:00 +0100)]
patch 8.2.0156: various typos in source files and tests

Problem:    Various typos in source files and tests.
Solution:   Fix the typos. (Emir Sari, closes #5532)

5 years agopatch 8.2.0155: warnings from MinGW compiler; tests fail without +float v8.2.0155
Bram Moolenaar [Sun, 26 Jan 2020 20:42:03 +0000 (21:42 +0100)]
patch 8.2.0155: warnings from MinGW compiler; tests fail without +float

Problem:    Warnings from MinGW compiler. (John Marriott) Json test fails when
            building without +float feature.
Solution:   Init variables. Fix Json parsing. Skip a few tests that require
            the +float feature.

5 years agopatch 8.2.0154: reallocating the list of scripts is inefficient v8.2.0154
Bram Moolenaar [Sun, 26 Jan 2020 18:26:46 +0000 (19:26 +0100)]
patch 8.2.0154: reallocating the list of scripts is inefficient

Problem:    Reallocating the list of scripts is inefficient.
Solution:   Instead of using a growarray of scriptitem_T, store pointers and
            allocate each scriptitem_T separately.  Also avoids that the
            growarray pointers change when sourcing a new script.

5 years agopatch 8.2.0153: warning shows when listing version info v8.2.0153
Bram Moolenaar [Sun, 26 Jan 2020 17:56:34 +0000 (18:56 +0100)]
patch 8.2.0153: warning shows when listing version info

Problem:    Warning shows when listing version info.
Solution:   Use "-u NONE". (Ozaki Kiichi, closes #5534)

5 years agopatch 8.2.0152: restoring ctrl_x_mode is not needed v8.2.0152
Bram Moolenaar [Sun, 26 Jan 2020 17:35:31 +0000 (18:35 +0100)]
patch 8.2.0152: restoring ctrl_x_mode is not needed

Problem:    Restoring ctrl_x_mode is not needed.
Solution:   Remove restoring the old value, it's changed again soon.

5 years agopatch 8.2.0151: detecting a script was already sourced is unreliable v8.2.0151
Bram Moolenaar [Sun, 26 Jan 2020 16:38:12 +0000 (17:38 +0100)]
patch 8.2.0151: detecting a script was already sourced is unreliable

Problem:    Detecting a script was already sourced is unreliable.
Solution:   Do not use the inode number.

5 years agopatch 8.2.0150: cannot define python function when using :execute v8.2.0150
Bram Moolenaar [Sun, 26 Jan 2020 15:50:05 +0000 (16:50 +0100)]
patch 8.2.0150: cannot define python function when using :execute

Problem:    Cannot define python function when using :execute. (Yasuhiro
            Matsumoto)
Solution:   Do not recognize "def" inside "function.

5 years agopatch 8.2.0149: maintaining a Vim9 branch separately is more work v8.2.0149
Bram Moolenaar [Sun, 26 Jan 2020 14:56:19 +0000 (15:56 +0100)]
patch 8.2.0149: maintaining a Vim9 branch separately is more work

Problem:    Maintaining a Vim9 branch separately is more work.
Solution:   Merge the Vim9 script changes.

5 years agoUpdate runtime files.
Bram Moolenaar [Sat, 25 Jan 2020 12:27:42 +0000 (13:27 +0100)]
Update runtime files.

5 years agopatch 8.2.0148: mapping related function in wrong source file v8.2.0148
Bram Moolenaar [Fri, 24 Jan 2020 19:21:19 +0000 (20:21 +0100)]
patch 8.2.0148: mapping related function in wrong source file

Problem:    Mapping related function in wrong source file.
Solution:   Move the function.  Add a few more test cases. (Yegappan
            Lakshmanan, closes #5528)

5 years agopatch 8.2.0147: block Visual mode operators not correct when 'linebreak' set v8.2.0147
Bram Moolenaar [Thu, 23 Jan 2020 19:58:09 +0000 (20:58 +0100)]
patch 8.2.0147: block Visual mode operators not correct when 'linebreak' set

Problem:    Block Visual mode operators not correct when 'linebreak' set.
Solution:   Set w_p_lbr to lbr_saved more often. (Ken Takata, closes #5524)

5 years agopatch 8.2.0146: wrong indent when 'showbreak' and 'breakindent' are set v8.2.0146
Bram Moolenaar [Thu, 23 Jan 2020 18:59:22 +0000 (19:59 +0100)]
patch 8.2.0146: wrong indent when 'showbreak' and 'breakindent' are set

Problem:    Wrong indent when 'showbreak' and 'breakindent' are set and
            'briopt' includes "sbr".
Solution:   Reset "need_showbreak" where needed. (Ken Takata, closes #5523)

5 years agopatch 8.2.0145: using #error for compilation errors should be OK now v8.2.0145
Bram Moolenaar [Thu, 23 Jan 2020 15:52:01 +0000 (16:52 +0100)]
patch 8.2.0145: using #error for compilation errors should be OK now

Problem:    Using #error for compilation errors should be OK now.
Solution:   Use #error. (Ken Takata, closes #5299)

5 years agopatch 8.2.0144: some mapping code is not fully tested v8.2.0144
Bram Moolenaar [Thu, 23 Jan 2020 15:19:54 +0000 (16:19 +0100)]
patch 8.2.0144: some mapping code is not fully tested

Problem:    Some mapping code is not fully tested.
Solution:   Add more test cases. (Yegappan Lakshmanan, closes #5519)

5 years agopatch 8.2.0143: Coverity warning for possible use of NULL pointer v8.2.0143
Bram Moolenaar [Thu, 23 Jan 2020 14:48:42 +0000 (15:48 +0100)]
patch 8.2.0143: Coverity warning for possible use of NULL pointer

Problem:    Coverity warning for possible use of NULL pointer.
Solution:   Check argv is not NULL.

5 years agopatch 8.2.0142: possible to enter popup window with CTRL-W p v8.2.0142
Bram Moolenaar [Thu, 23 Jan 2020 14:33:54 +0000 (15:33 +0100)]
patch 8.2.0142: possible to enter popup window with CTRL-W p

Problem:    Possible to enter popup window with CTRL-W p. (John Devin)
Solution:   Check entered window is not a popup window. (closes #5515)

5 years agopatch 8.2.0141: no swift filetype detection v8.2.0141
Bram Moolenaar [Wed, 22 Jan 2020 21:10:54 +0000 (22:10 +0100)]
patch 8.2.0141: no swift filetype detection

Problem:    No swift filetype detection.
Solution:   Add swift, swiftgyb and sil. (Emir Sarı, closes #5517)

5 years agoUpdate runtime files.
Bram Moolenaar [Tue, 21 Jan 2020 21:33:58 +0000 (22:33 +0100)]
Update runtime files.

5 years agopatch 8.2.0140: CI does not test building doc tags v8.2.0140
Bram Moolenaar [Tue, 21 Jan 2020 21:13:42 +0000 (22:13 +0100)]
patch 8.2.0140: CI does not test building doc tags

Problem:    CI does not test building doc tags.
Solution:   Add the vimtags/gcc build. Cleanup showing version. (Ozaki Kiichi,
            closes #5513)

5 years agopatch 8.2.0139: MS-Windows: default for IME is inconsistent v8.2.0139
Bram Moolenaar [Mon, 20 Jan 2020 21:05:34 +0000 (22:05 +0100)]
patch 8.2.0139: MS-Windows: default for IME is inconsistent

Problem:    MS-Windows: default for IME is inconsistent.
Solution:   Also make IME default enabled with MVC. (Ken Takata, closes #5508)

5 years agopatch 8.2.0138: memory leak when starting a job fails v8.2.0138
Bram Moolenaar [Mon, 20 Jan 2020 20:59:39 +0000 (21:59 +0100)]
patch 8.2.0138: memory leak when starting a job fails

Problem:    Memory leak when starting a job fails.
Solution:   Free the list of arguments. (Ozaki Kiichi, closes #5510)

5 years agopatch 8.2.0137: crash when using win_execute() from a new tab v8.2.0137
Bram Moolenaar [Mon, 20 Jan 2020 20:44:31 +0000 (21:44 +0100)]
patch 8.2.0137: crash when using win_execute() from a new tab

Problem:    Crash when using win_execute() from a new tab.
Solution:   Set the tp_*win pointers. (Ozaki Kiichi, closes #5512)