]> granicus.if.org Git - vim/log
vim
4 years agopatch 8.2.0429: no warning when test checks for option that never exists v8.2.0429
Bram Moolenaar [Sun, 22 Mar 2020 19:13:39 +0000 (20:13 +0100)]
patch 8.2.0429: no warning when test checks for option that never exists

Problem:    No warning when test checks for option that never exists.
Solution:   In tests check that the option can exist.

4 years agopatch 8.2.0428: buffer name may leak v8.2.0428
Bram Moolenaar [Sun, 22 Mar 2020 18:25:50 +0000 (19:25 +0100)]
patch 8.2.0428: buffer name may leak

Problem:    Buffer name may leak.
Solution:   Free the buffer name before overwriting it.

4 years agopatch 8.2.0427: it is not possible to check for a typo in a feature name v8.2.0427
Bram Moolenaar [Sun, 22 Mar 2020 15:17:14 +0000 (16:17 +0100)]
patch 8.2.0427: it is not possible to check for a typo in a feature name

Problem:    It is not possible to check for a typo in a feature name.
Solution:   Add an extra argument to has().

4 years agopatch 8.2.0426: some errors were not tested for v8.2.0426
Bram Moolenaar [Sun, 22 Mar 2020 13:41:22 +0000 (14:41 +0100)]
patch 8.2.0426: some errors were not tested for

Problem:    Some errors were not tested for.
Solution:   Add tests. (Dominique Pelle, closes #5824)

4 years agopatch 8.2.0425: code for modeless selection not sufficiently tested v8.2.0425
Bram Moolenaar [Sun, 22 Mar 2020 13:08:59 +0000 (14:08 +0100)]
patch 8.2.0425: code for modeless selection not sufficiently tested

Problem:    Code for modeless selection not sufficiently tested.
Solution:   Add tests.  Move mouse code functionality to a common script file.
            (Yegappan Lakshmanan, closes #5821)

4 years agopatch 8.2.0424: checking for wrong return value v8.2.0424
Bram Moolenaar [Sun, 22 Mar 2020 12:44:28 +0000 (13:44 +0100)]
patch 8.2.0424: checking for wrong return value

Problem:    Checking for wrong return value. (Tom)
Solution:   Invert the check and fix the test.

4 years agopatch 8.2.0423: in some environments a few tests are expected to fail v8.2.0423
Bram Moolenaar [Sat, 21 Mar 2020 14:17:20 +0000 (15:17 +0100)]
patch 8.2.0423: in some environments a few tests are expected to fail

Problem:    In some environments a few tests are expected to fail.
Solution:   Add $TEST_MAY_FAIL to list tests that should not cause make to
            fail.

4 years agopatch 8.2.0422: crash when passing popup window to win_splitmove() v8.2.0422
Bram Moolenaar [Fri, 20 Mar 2020 20:15:51 +0000 (21:15 +0100)]
patch 8.2.0422: crash when passing popup window to win_splitmove()

Problem:    Crash when passing popup window to win_splitmove(). (john Devin)
Solution:   Disallow moving a popup window. (closes #5816)

4 years agopatch 8.2.0421: interrupting with CTRL-C does not always work v8.2.0421
Bram Moolenaar [Fri, 20 Mar 2020 19:48:49 +0000 (20:48 +0100)]
patch 8.2.0421: interrupting with CTRL-C does not always work

Problem:    Interrupting with CTRL-C does not always work.
Solution:   Recognize CTRL-C while modifyOtherKeys is set.

4 years agopatch 8.2.0420: Vim9: cannot interrupt a loop with CTRL-C v8.2.0420
Bram Moolenaar [Fri, 20 Mar 2020 18:37:47 +0000 (19:37 +0100)]
patch 8.2.0420: Vim9: cannot interrupt a loop with CTRL-C

Problem:    Vim9: cannot interrupt a loop with CTRL-C.
Solution:   Check for CTRL-C once in a while.  Doesn't fully work yet.

4 years agopatch 8.2.0419: various memory leaks in Vim9 script code v8.2.0419
Bram Moolenaar [Fri, 20 Mar 2020 17:39:46 +0000 (18:39 +0100)]
patch 8.2.0419: various memory leaks in Vim9 script code

Problem:    Various memory leaks in Vim9 script code.
Solution:   Fix the leaks. (Ozaki Kiichi, closes #5814)

4 years agopatch 8.2.0418: code in eval.c not sufficiently covered by tests v8.2.0418
Bram Moolenaar [Fri, 20 Mar 2020 17:20:51 +0000 (18:20 +0100)]
patch 8.2.0418: code in eval.c not sufficiently covered by tests

Problem:    Code in eval.c not sufficiently covered by tests.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #5815)

4 years agopatch 8.2.0417: Travis CI config can be improved v8.2.0417
Bram Moolenaar [Fri, 20 Mar 2020 17:12:59 +0000 (18:12 +0100)]
patch 8.2.0417: Travis CI config can be improved

Problem:    Travis CI config can be improved.
Solution:   Remove COVERAGE variable. Add load-snd-dummy script. add "-i NONE"
            to avoid messages about viminfo. (Ozaki Kiichi, closes #5813)

4 years agoUpdate runtime files
Bram Moolenaar [Thu, 19 Mar 2020 19:37:11 +0000 (20:37 +0100)]
Update runtime files

4 years agopatch 8.2.0416: test leaves file behind v8.2.0416
Bram Moolenaar [Thu, 19 Mar 2020 19:33:33 +0000 (20:33 +0100)]
patch 8.2.0416: test leaves file behind

Problem:    Test leaves file behind.
Solution:   Delete the file.

4 years agopatch 8.2.0415: bsdl filetype is not detected v8.2.0415
Bram Moolenaar [Thu, 19 Mar 2020 19:32:01 +0000 (20:32 +0100)]
patch 8.2.0415: bsdl filetype is not detected

Problem:    Bsdl filetype is not detected.
Solution:   Add an entry in the filetype list. (Daniel Kho, closes #5810)

4 years agopatch 8.2.0414: channel connect_waittime() test is flaky v8.2.0414
Bram Moolenaar [Thu, 19 Mar 2020 18:44:32 +0000 (19:44 +0100)]
patch 8.2.0414: channel connect_waittime() test is flaky

Problem:    Channel connect_waittime() test is flaky.
Solution:   Set the test_is_flaky flag.  Use test_is_flaky for more tests.

4 years agopatch 8.2.0413: buffer menu does not handle special buffers properly v8.2.0413
Bram Moolenaar [Thu, 19 Mar 2020 17:46:57 +0000 (18:46 +0100)]
patch 8.2.0413: buffer menu does not handle special buffers properly

Problem:    Buffer menu does not handle special buffers properly.
Solution:   Keep a dictionary with buffer names to reliably keep track of
            entries.
            Also trigger BufFilePre and BufFilePost for command-line and
            terminal buffers when the name changes.

4 years agopatch 8.2.0412: MS-Windows: cannot use vimtutor from the start menu v8.2.0412
Bram Moolenaar [Thu, 19 Mar 2020 16:13:40 +0000 (17:13 +0100)]
patch 8.2.0412: MS-Windows: cannot use vimtutor from the start menu

Problem:    MS-Windows: cannot use vimtutor from the start menu.
Solution:   Better check for writable directory. Use the right path for the
            executable. (Wu Yongwei, closes #5774, closes #5756)

4 years agopatch 8.2.0411: Mac: breakcheck is using a value from the stone ages v8.2.0411
Bram Moolenaar [Thu, 19 Mar 2020 15:28:44 +0000 (16:28 +0100)]
patch 8.2.0411: Mac: breakcheck is using a value from the stone ages

Problem:    Mac: breakcheck is using a value from the stone ages.
Solution:   Delete BREAKCHECK_SKIP from the Mac header file. (Ben Jackson)

4 years agopatch 8.2.0410: channel test fails too often on slow Mac v8.2.0410
Bram Moolenaar [Thu, 19 Mar 2020 15:22:44 +0000 (16:22 +0100)]
patch 8.2.0410: channel test fails too often on slow Mac

Problem:    Channel test fails too often on slow Mac.
Solution:   Increase waiting time to 10 seconds.

4 years agopatch 8.2.0409: search test leaves file behind v8.2.0409
Bram Moolenaar [Thu, 19 Mar 2020 14:05:28 +0000 (15:05 +0100)]
patch 8.2.0409: search test leaves file behind

Problem:    Search test leaves file behind.
Solution:   Delete the file.  Also use Check commands.

4 years agopatch 8.2.0408: delete() commented out for testing v8.2.0408
Bram Moolenaar [Thu, 19 Mar 2020 13:52:20 +0000 (14:52 +0100)]
patch 8.2.0408: delete() commented out for testing

Problem:    Delete() commented out for testing.
Solution:   Undo commenting-out.

4 years agopatch 8.2.0407: no early check if :find and :sfind have an argument v8.2.0407
Bram Moolenaar [Thu, 19 Mar 2020 13:37:30 +0000 (14:37 +0100)]
patch 8.2.0407: no early check if :find and :sfind have an argument

Problem:    No early check if :find and :sfind have an argument.
Solution:   Add EX_NEEDARG.

4 years agopatch 8.2.0406: FileReadCmd event not well tested v8.2.0406
Bram Moolenaar [Thu, 19 Mar 2020 12:55:03 +0000 (13:55 +0100)]
patch 8.2.0406: FileReadCmd event not well tested

Problem:    FileReadCmd event not well tested.
Solution:   Add a test.

4 years agopatch 8.2.0405: MSVC: build fails with some combination of features v8.2.0405
Bram Moolenaar [Thu, 19 Mar 2020 12:36:56 +0000 (13:36 +0100)]
patch 8.2.0405: MSVC: build fails with some combination of features

Problem:    MSVC: build fails with some combination of features.
Solution:   Enable CHANNEL if TERMINAL is enabled. (Mike Williams)

4 years agopatch 8.2.0404: writefile() error does not give a hint v8.2.0404
Bram Moolenaar [Thu, 19 Mar 2020 12:08:45 +0000 (13:08 +0100)]
patch 8.2.0404: writefile() error does not give a hint

Problem:    Writefile() error does not give a hint.
Solution:   Add remark about first argument.

4 years agopatch 8.2.0403: when 'buftype' is "nofile" there is no overwrite check v8.2.0403
Bram Moolenaar [Thu, 19 Mar 2020 11:38:34 +0000 (12:38 +0100)]
patch 8.2.0403: when 'buftype' is "nofile" there is no overwrite check

Problem:    When 'buftype' is "nofile" there is no overwrite check.
Solution:   Also check for existing file when 'buftype' is set.
            (closes #5807)

4 years agopatch 8.2.0402: setting local instead of global flag v8.2.0402
Bram Moolenaar [Wed, 18 Mar 2020 20:10:44 +0000 (21:10 +0100)]
patch 8.2.0402: setting local instead of global flag

Problem:    Setting local instead of global flag.
Solution:   Prepend "g:" to "test_is_flaky".

4 years agopatch 8.2.0401: not enough test coverage for evalvars.c v8.2.0401
Bram Moolenaar [Wed, 18 Mar 2020 18:32:26 +0000 (19:32 +0100)]
patch 8.2.0401: not enough test coverage for evalvars.c

Problem:    Not enough test coverage for evalvars.c.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #5804)

4 years agopatch 8.2.0400: not all tests using a terminal are in the list of flaky tests v8.2.0400
Bram Moolenaar [Wed, 18 Mar 2020 18:18:10 +0000 (19:18 +0100)]
patch 8.2.0400: not all tests using a terminal are in the list of flaky tests

Problem:    Not all tests using a terminal are in the list of flaky tests.
Solution:   Introduce the test_is_flaky flag.

4 years agopatch 8.2.0399: various memory leaks v8.2.0399
Bram Moolenaar [Wed, 18 Mar 2020 14:23:16 +0000 (15:23 +0100)]
patch 8.2.0399: various memory leaks

Problem:    Various memory leaks.
Solution:   Avoid the leaks. (Ozaki Kiichi, closes #5803)

4 years agopatch 8.2.0398: profile test fails when two functions take same time v8.2.0398
Bram Moolenaar [Tue, 17 Mar 2020 19:57:09 +0000 (20:57 +0100)]
patch 8.2.0398: profile test fails when two functions take same time

Problem:    Profile test fails when two functions take same time.
Solution:   Add a short sleep in once function. (closes #5797)

4 years agopatch 8.2.0397: delayed screen update when using undo from Insert mode v8.2.0397
Bram Moolenaar [Mon, 16 Mar 2020 21:08:45 +0000 (22:08 +0100)]
patch 8.2.0397: delayed screen update when using undo from Insert mode

Problem:    Delayed screen update when using undo from Insert mode.
Solution:   Update w_topline and cursor shape before sleeping. (closes #5790)

4 years agopatch 8.2.0396: cmdexpand.c insufficiently tested v8.2.0396
Bram Moolenaar [Mon, 16 Mar 2020 20:25:24 +0000 (21:25 +0100)]
patch 8.2.0396: cmdexpand.c insufficiently tested

Problem:    Cmdexpand.c insufficiently tested.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #5789)

4 years agopatch 8.2.0395: build fails with FEAT_EVAL but without FEAT_MENU v8.2.0395
Bram Moolenaar [Mon, 16 Mar 2020 20:08:31 +0000 (21:08 +0100)]
patch 8.2.0395: build fails with FEAT_EVAL but without FEAT_MENU

Problem:    Build fails with FEAT_EVAL but without FEAT_MENU.
Solution:   Add #ifdef. (John Marriott)

4 years agopatch 8.2.0394: Coverity complains about using NULL pointer v8.2.0394
Bram Moolenaar [Mon, 16 Mar 2020 19:27:38 +0000 (20:27 +0100)]
patch 8.2.0394: Coverity complains about using NULL pointer

Problem:    Coverity complains about using NULL pointer.
Solution:   Use empty string when option value is NULL.

4 years agopatch 8.2.0393: Coverity warns for not using return value v8.2.0393
Bram Moolenaar [Mon, 16 Mar 2020 19:07:16 +0000 (20:07 +0100)]
patch 8.2.0393: Coverity warns for not using return value

Problem:    Coverity warns for not using return value.
Solution:   Add (void).

4 years agopatch 8.2.0392: Coverity warns for using array index out of range v8.2.0392
Bram Moolenaar [Mon, 16 Mar 2020 19:04:41 +0000 (20:04 +0100)]
patch 8.2.0392: Coverity warns for using array index out of range

Problem:    Coverity warns for using array index out of range.
Solution:   Add extra "if" to avoid warning.

4 years agopatch 8.2.0391: CI test coverage dropped v8.2.0391
Bram Moolenaar [Mon, 16 Mar 2020 11:09:30 +0000 (12:09 +0100)]
patch 8.2.0391: CI test coverage dropped

Problem:    CI test coverage dropped.
Solution:   Set $DISPLAY also for non-GUI builds. (James McCoy, closes #5788)

4 years agopatch 8.2.0390: terminal postponed scrollback test is flaky v8.2.0390
Bram Moolenaar [Sun, 15 Mar 2020 19:33:40 +0000 (20:33 +0100)]
patch 8.2.0390: terminal postponed scrollback test is flaky

Problem:    Terminal postponed scrollback test is flaky.
Solution:   Add delay in between sending keys.  Rename dump files.

4 years agopatch 8.2.0389: delayed redraw when shifting text from Insert mode v8.2.0389
Bram Moolenaar [Sun, 15 Mar 2020 18:17:50 +0000 (19:17 +0100)]
patch 8.2.0389: delayed redraw when shifting text from Insert mode

Problem:    Delayed redraw when shifting text from Insert mode.
Solution:   Use msg_attr_keep() instead of msg(). (closes #5782)

4 years agopatch 8.2.0388: printmbcharset option not tested v8.2.0388
Bram Moolenaar [Sun, 15 Mar 2020 17:27:43 +0000 (18:27 +0100)]
patch 8.2.0388: printmbcharset option not tested

Problem:    Printmbcharset option not tested.
Solution:   Add a test.  Enable PostScript for AppVeyor build. (Dominique
            Pelle, closes #5783)

4 years agopatch 8.2.0387: error for possible NULL argument to qsort() v8.2.0387
Bram Moolenaar [Sun, 15 Mar 2020 17:15:03 +0000 (18:15 +0100)]
patch 8.2.0387: error for possible NULL argument to qsort()

Problem:    Error for possible NULL argument to qsort().
Solution:   Don't call qsort() when there is nothing to sort. (Dominique
            Pelle, closes #5780)

4 years agopatch 8.2.0386: part from unfinished patch got included v8.2.0386
Bram Moolenaar [Sun, 15 Mar 2020 15:51:40 +0000 (16:51 +0100)]
patch 8.2.0386: part from unfinished patch got included

Problem:    Part from unfinished patch got included.
Solution:   Undo that part.

4 years agopatch 8.2.0385: menu functionality insufficiently tested v8.2.0385
Bram Moolenaar [Sun, 15 Mar 2020 15:13:53 +0000 (16:13 +0100)]
patch 8.2.0385: menu functionality insufficiently tested

Problem:    Menu functionality insufficiently tested.
Solution:   Add tests.  Add menu_info(). (Yegappan Lakshmanan, closes #5760)

4 years agopatch 8.2.0384: Travis CI has warnings v8.2.0384
Bram Moolenaar [Sun, 15 Mar 2020 14:10:11 +0000 (15:10 +0100)]
patch 8.2.0384: Travis CI has warnings

Problem:    Travis CI has warnings.
Solution:   Avoid warnings, clean up the config. (Ozaki Kiichi, closes #5779)

4 years agopatch 8.2.0383: wrong feature check causes test not to be run v8.2.0383
Bram Moolenaar [Sun, 15 Mar 2020 13:53:35 +0000 (14:53 +0100)]
patch 8.2.0383: wrong feature check causes test not to be run

Problem:    Wrong feature check causes test not to be run.
Solution:   Use CheckFunction instead of CheckFeature. (Ozaki Kiichi,
            closes #5781)

4 years agopatch 8.2.0382: some tests fail when run under valgrind v8.2.0382
Bram Moolenaar [Sun, 15 Mar 2020 13:19:26 +0000 (14:19 +0100)]
patch 8.2.0382: some tests fail when run under valgrind

Problem:    Some tests fail when run under valgrind.
Solution:   Increase timeouts.

4 years agopatch 8.2.0381: using freed memory with :lvimgrep and autocommand v8.2.0381
Bram Moolenaar [Sat, 14 Mar 2020 16:21:34 +0000 (17:21 +0100)]
patch 8.2.0381: using freed memory with :lvimgrep and autocommand

Problem:    Using freed memory with :lvimgrep and autocommand. (extracted from
            POC by Dominique Pelle)
Solution:   Avoid deleting a dummy buffer used in a window. (closes #5777)

4 years agopatch 8.2.0380: tiny popup when creating a terminal popup without minwidth v8.2.0380
Bram Moolenaar [Sat, 14 Mar 2020 14:28:08 +0000 (15:28 +0100)]
patch 8.2.0380: tiny popup when creating a terminal popup without minwidth

Problem:    Tiny popup when creating a terminal popup without minwidth.
Solution:   Use a default mininum size of 5 lines of 20 characters.

4 years agoUpdate runtime files
Bram Moolenaar [Sat, 14 Mar 2020 07:19:51 +0000 (08:19 +0100)]
Update runtime files

4 years agopatch 8.2.0379: gcc warns for ambiguous else v8.2.0379
Bram Moolenaar [Sat, 14 Mar 2020 06:46:40 +0000 (07:46 +0100)]
patch 8.2.0379: gcc warns for ambiguous else

Problem:    Gcc warns for ambiguous else.
Solution:   Add braces. (Dominique Pelle, closes #5778)

4 years agopatch 8.2.0378: prop_find() does not find all props v8.2.0378
Bram Moolenaar [Fri, 13 Mar 2020 20:36:40 +0000 (21:36 +0100)]
patch 8.2.0378: prop_find() does not find all props

Problem:    prop_find() does not find all props.
Solution:   Check being in the start line. (Axel Forsman, closes #5776)

4 years agopatch 8.2.0377: no CI test for a big-endian system v8.2.0377
Bram Moolenaar [Fri, 13 Mar 2020 14:44:49 +0000 (15:44 +0100)]
patch 8.2.0377: no CI test for a big-endian system

Problem:    No CI test for a big-endian system.
Solution:   Test with s390x. (James McCoy, closes #5772)

4 years agopatch 8.2.0376: nasty callback test fails on some systems v8.2.0376
Bram Moolenaar [Fri, 13 Mar 2020 13:55:23 +0000 (14:55 +0100)]
patch 8.2.0376: nasty callback test fails on some systems

Problem:    Nasty callback test fails on some systems.
Solution:   Increase the sleep time.

4 years agopatch 8.2.0375: Coverity warning for not using return value v8.2.0375
Bram Moolenaar [Fri, 13 Mar 2020 13:34:38 +0000 (14:34 +0100)]
patch 8.2.0375: Coverity warning for not using return value

Problem:    Coverity warning for not using return value.
Solution:   Move error message to separate function.

4 years agopatch 8.2.0374: using wrong printf directive for jump location v8.2.0374
Bram Moolenaar [Thu, 12 Mar 2020 18:15:45 +0000 (19:15 +0100)]
patch 8.2.0374: using wrong printf directive for jump location

Problem:    Using wrong printf directive for jump location.
Solution:   Change "%lld" to "%d". (James McCoy, closes #5773)

4 years agopatch 8.2.0373: type of term_sendkeys() is unknown v8.2.0373
Bram Moolenaar [Wed, 11 Mar 2020 18:30:01 +0000 (19:30 +0100)]
patch 8.2.0373: type of term_sendkeys() is unknown

Problem:    Type of term_sendkeys() is unknown.
Solution:   Just return zero. (closes #5762)

4 years agopatch 8.2.0372: prop_find() may not find text property at start of the line v8.2.0372
Bram Moolenaar [Wed, 11 Mar 2020 18:15:52 +0000 (19:15 +0100)]
patch 8.2.0372: prop_find() may not find text property at start of the line

Problem:    Prop_find() may not find text property at start of the line.
Solution:   Adjust the loop to find properties. (Axel Forsman, closes #5761,
            closes #5663)

4 years agopatch 8.2.0371: crash with combination of terminal popup and autocmd v8.2.0371
Bram Moolenaar [Wed, 11 Mar 2020 13:19:58 +0000 (14:19 +0100)]
patch 8.2.0371: crash with combination of terminal popup and autocmd

Problem:    Crash with combination of terminal popup and autocmd.
Solution:   Disallow closing a popup that is the current window.  Add a check
            that the current buffer is valid. (closes #5754)

4 years agopatch 8.2.0370: the typebuf_was_filled flag is sometimes not reset v8.2.0370
Bram Moolenaar [Wed, 11 Mar 2020 12:01:40 +0000 (13:01 +0100)]
patch 8.2.0370: the typebuf_was_filled flag is sometimes not reset

Problem:    The typebuf_was_filled flag is sometimes not reset, which may
            cause a hang.
Solution:   Make sure typebuf_was_filled is reset when the typeahead buffer is
            empty.

4 years agopatch 8.2.0369: various Normal mode commands not fully tested v8.2.0369
Bram Moolenaar [Tue, 10 Mar 2020 06:48:13 +0000 (07:48 +0100)]
patch 8.2.0369: various Normal mode commands not fully tested

Problem:    Various Normal mode commands not fully tested.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #5751)

4 years agopatch 8.2.0368: Vim9: import that redefines local variable does not fail v8.2.0368
Bram Moolenaar [Mon, 9 Mar 2020 18:25:27 +0000 (19:25 +0100)]
patch 8.2.0368: Vim9: import that redefines local variable does not fail

Problem:    Vim9: import that redefines local variable does not fail.
Solution:   Check for already defined symbols.

4 years agopatch 8.2.0367: can use :pedit in a popup window v8.2.0367
Bram Moolenaar [Mon, 9 Mar 2020 15:40:41 +0000 (16:40 +0100)]
patch 8.2.0367: can use :pedit in a popup window

Problem:    Can use :pedit in a popup window.
Solution:   Disallow it.

4 years agopatch 8.2.0366: hardcopy command not tested enough v8.2.0366
Bram Moolenaar [Mon, 9 Mar 2020 11:13:27 +0000 (12:13 +0100)]
patch 8.2.0366: hardcopy command not tested enough

Problem:    Hardcopy command not tested enough.
Solution:   Add tests for printing. (Dominique Pelle, closes #5748)

4 years agopatch 8.2.0365: tag kind can't be a multi-byte character v8.2.0365
Bram Moolenaar [Mon, 9 Mar 2020 07:17:52 +0000 (08:17 +0100)]
patch 8.2.0365: tag kind can't be a multi-byte character

Problem:    Tag kind can't be a multi-byte character. (Marcin Szamotulski)
Solution:   Recognize multi-byte character. (closes #5724)

4 years agopatch 8.2.0364: printf test failing on Haiku v8.2.0364
Bram Moolenaar [Sun, 8 Mar 2020 17:41:09 +0000 (18:41 +0100)]
patch 8.2.0364: printf test failing on Haiku

Problem:    Printf test failing on Haiku.
Solution:   Make a difference between int and short. (Dominique Pelle,
            closes #5749)

4 years agopatch 8.2.0363: some Normal mode commands not tested v8.2.0363
Bram Moolenaar [Sun, 8 Mar 2020 04:13:15 +0000 (05:13 +0100)]
patch 8.2.0363: some Normal mode commands not tested

Problem:    Some Normal mode commands not tested.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #5746)

4 years agopatch 8.2.0362: MS-Windows: channel test fails if grep is not available v8.2.0362
Bram Moolenaar [Sat, 7 Mar 2020 16:24:59 +0000 (17:24 +0100)]
patch 8.2.0362: MS-Windows: channel test fails if grep is not available

Problem:    MS-Windows: channel test fails if grep is not available.
Solution:   Use another command. (Ken Takata, closes #5739)

4 years agopatch 8.2.0361: internal error when using "0" for a callback v8.2.0361
Bram Moolenaar [Sat, 7 Mar 2020 15:59:25 +0000 (16:59 +0100)]
patch 8.2.0361: internal error when using "0" for a callback

Problem:    Internal error when using "0" for a callback.
Solution:   Give a normal error. (closes #5743)

4 years agopatch 8.2.0360: yaml files are only recognized by the file extension v8.2.0360
Bram Moolenaar [Fri, 6 Mar 2020 21:25:56 +0000 (22:25 +0100)]
patch 8.2.0360: yaml files are only recognized by the file extension

Problem:    Yaml files are only recognized by the file extension.
Solution:   Check for a line starting with "%YAML". (Jason Franklin)

4 years agopatch 8.2.0359: popup_atcursor() may hang v8.2.0359
Bram Moolenaar [Fri, 6 Mar 2020 20:43:17 +0000 (21:43 +0100)]
patch 8.2.0359: popup_atcursor() may hang

Problem:    popup_atcursor() may hang. (Yasuhiro Matsumoto)
Solution:   Take the decoration into account. (closes #5728)

4 years agopatch 8.2.0358: insufficient testing for indent.c v8.2.0358
Bram Moolenaar [Fri, 6 Mar 2020 19:36:04 +0000 (20:36 +0100)]
patch 8.2.0358: insufficient testing for indent.c

Problem:    Insufficient testing for indent.c.
Solution:   Add indent tests. (Yegappan Lakshmanan, closes #5736)

4 years agopatch 8.2.0357: cannot delete a text property matching both id and type v8.2.0357
Bram Moolenaar [Thu, 5 Mar 2020 20:52:55 +0000 (21:52 +0100)]
patch 8.2.0357: cannot delete a text property matching both id and type

Problem:    Cannot delete a text property matching both id and type. (Axel
            Forsman)
Solution:   Add the "both" argument.

4 years agopatch 8.2.0356: MS-Windows: feedkeys() with VIMDLL cannot handle CSI v8.2.0356
Bram Moolenaar [Wed, 4 Mar 2020 22:21:35 +0000 (23:21 +0100)]
patch 8.2.0356: MS-Windows: feedkeys() with VIMDLL cannot handle CSI

Problem:    MS-Windows: feedkeys() with VIMDLL cannot handle CSI correctly.
Solution:   Modify mch_inchar() to encode CSI bytes. (Ozaki Kiichi, Ken
            Takata, closes #5726)

4 years agopatch 8.2.0355: Vim9: str_val is confusing, it's a number v8.2.0355
Bram Moolenaar [Wed, 4 Mar 2020 21:20:26 +0000 (22:20 +0100)]
patch 8.2.0355: Vim9: str_val is confusing, it's a number

Problem:    Vim9: str_val is confusing, it's a number
Solution:   Rename to stnr_val.

4 years agopatch 8.2.0354: Python 3.9 does not define _Py_DEC_REFTOTAL v8.2.0354
Bram Moolenaar [Wed, 4 Mar 2020 21:06:07 +0000 (22:06 +0100)]
patch 8.2.0354: Python 3.9 does not define _Py_DEC_REFTOTAL

Problem:    Python 3.9 does not define _Py_DEC_REFTOTAL. (Zdenek Dohnal)
Solution:   Remove it, it was only for debugging.

4 years agopatch 8.2.0353: Vim9: while loop not tested v8.2.0353
Bram Moolenaar [Wed, 4 Mar 2020 20:50:46 +0000 (21:50 +0100)]
patch 8.2.0353: Vim9: while loop not tested

Problem:    Vim9: while loop not tested.
Solution:   Add test with "while", "break" and "continue"

4 years agopatch 8.2.0352: FreeBSD: test for sourcing utf-8 is skipped v8.2.0352
Bram Moolenaar [Tue, 3 Mar 2020 22:06:48 +0000 (23:06 +0100)]
patch 8.2.0352: FreeBSD: test for sourcing utf-8 is skipped

Problem:    FreeBSD: test for sourcing utf-8 is skipped.
Solution:   Run the matchadd_conceal test separately to avoid that setting
            'term' to "ansi" causes problems for other tests. (Ozaki Kiichi,
            closes #5721)

4 years agopatch 8.2.0351: terminal in popup test is still a bit flaky v8.2.0351
Bram Moolenaar [Tue, 3 Mar 2020 21:56:39 +0000 (22:56 +0100)]
patch 8.2.0351: terminal in popup test is still a bit flaky

Problem:    Terminal in popup test is still a bit flaky.
Solution:   Clear and redraw before opening the popup.

4 years agopatch 8.2.0350: Vim9: expression tests don't use recognized constants v8.2.0350
Bram Moolenaar [Tue, 3 Mar 2020 20:53:32 +0000 (21:53 +0100)]
patch 8.2.0350: Vim9: expression tests don't use recognized constants

Problem:    Vim9: expression tests don't use recognized constants.
Solution:   Recognize "true" and "false" as constants.  Make skipping work for
            assignment and expression evaluation.

4 years agopatch 8.2.0349: Vim9: constant expression not well tested v8.2.0349
Bram Moolenaar [Tue, 3 Mar 2020 18:02:12 +0000 (19:02 +0100)]
patch 8.2.0349: Vim9: constant expression not well tested

Problem:    Vim9: constant expression not well tested.
Solution:   Add tests for "if" with constant expression.

4 years agopatch 8.2.0348: Vim9: not all code tested v8.2.0348
Bram Moolenaar [Mon, 2 Mar 2020 21:53:32 +0000 (22:53 +0100)]
patch 8.2.0348: Vim9: not all code tested

Problem:    Vim9: not all code tested.
Solution:   Add a few more tests. fix using "b:" in literal dictionary.

4 years agopatch 8.2.0347: various code not covered by tests v8.2.0347
Bram Moolenaar [Mon, 2 Mar 2020 19:54:22 +0000 (20:54 +0100)]
patch 8.2.0347: various code not covered by tests

Problem:    Various code not covered by tests.
Solution:   Add more test coverage. (Yegappan Lakshmanan, closes #5720)

4 years agopatch 8.2.0346: Vim9: finding common list type not tested v8.2.0346
Bram Moolenaar [Sun, 1 Mar 2020 22:32:25 +0000 (23:32 +0100)]
patch 8.2.0346: Vim9: finding common list type not tested

Problem:    Vim9: finding common list type not tested.
Solution:   Add more tests.  Fix listing function.  Fix overwriting type.

4 years agopatch 8.2.0345: compiler warning when building without the float feature v8.2.0345
Bram Moolenaar [Sun, 1 Mar 2020 19:34:26 +0000 (20:34 +0100)]
patch 8.2.0345: compiler warning when building without the float feature

Problem:    Compiler warning when building without the float feature.
Solution:   Add #ifdef. (John Marriott)

4 years agopatch 8.2.0344: ":def" not skipped properly v8.2.0344
Bram Moolenaar [Sun, 1 Mar 2020 18:41:43 +0000 (19:41 +0100)]
patch 8.2.0344: ":def" not skipped properly

Problem:    ":def" not skipped properly.
Solution:   Add CMD_def to list of commands the require evaluation even when
            not being executed.

4 years agoUpdate runtime files
Bram Moolenaar [Sun, 1 Mar 2020 18:06:45 +0000 (19:06 +0100)]
Update runtime files

4 years agopatch 8.2.0343: Vim9: using wrong instruction, limited test coverage v8.2.0343
Bram Moolenaar [Sun, 1 Mar 2020 16:55:14 +0000 (17:55 +0100)]
patch 8.2.0343: Vim9: using wrong instruction, limited test coverage

Problem:    Vim9: using wrong instruction, limited test coverage.
Solution:   Use ISN_PUSHJOB.  Add a few more tests.

4 years agopatch 8.2.0342: some code in ex_getln.c not covered by tests v8.2.0342
Bram Moolenaar [Sun, 1 Mar 2020 15:53:09 +0000 (16:53 +0100)]
patch 8.2.0342: some code in ex_getln.c not covered by tests

Problem:    Some code in ex_getln.c not covered by tests.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #5717)

4 years agopatch 8.2.0341: using ":for" in Vim9 script gives an error v8.2.0341
Bram Moolenaar [Sun, 1 Mar 2020 15:22:40 +0000 (16:22 +0100)]
patch 8.2.0341: using ":for" in Vim9 script gives an error

Problem:    Using ":for" in Vim9 script gives an error.
Solution:   Pass the LET_NO_COMMAND flag. (closes #5715)

4 years agopatch 8.2.0340: Vim9: function and partial types not tested v8.2.0340
Bram Moolenaar [Sun, 1 Mar 2020 14:36:42 +0000 (15:36 +0100)]
patch 8.2.0340: Vim9: function and partial types not tested

Problem:    Vim9: function and partial types not tested.
Solution:   Support more for partial, add tests.

4 years agopatch 8.2.0339: Vim9: function return type may depend on arguments v8.2.0339
Bram Moolenaar [Sun, 1 Mar 2020 13:04:46 +0000 (14:04 +0100)]
patch 8.2.0339: Vim9: function return type may depend on arguments

Problem:    Vim9: function return type may depend on arguments.
Solution:   Instead of a fixed return type use a function to figure out the
            return type.

4 years agopatch 8.2.0338: build failure without the channel feature v8.2.0338
Bram Moolenaar [Sun, 1 Mar 2020 12:01:16 +0000 (13:01 +0100)]
patch 8.2.0338: build failure without the channel feature

Problem:    Build failure without the channel feature.
Solution:   Add #ifdef

4 years agopatch 8.2.0337: build fails on a few systems v8.2.0337
Bram Moolenaar [Sun, 1 Mar 2020 00:05:53 +0000 (01:05 +0100)]
patch 8.2.0337: build fails on a few systems

Problem:    Build fails on a few systems.
Solution:   Use vim_snprintf() instead of snprintf().

4 years agopatch 8.2.0336: Vim9: insufficient test coverage for compiling v8.2.0336
Bram Moolenaar [Sat, 29 Feb 2020 22:23:47 +0000 (23:23 +0100)]
patch 8.2.0336: Vim9: insufficient test coverage for compiling

Problem:    Vim9: insufficient test coverage for compiling.
Solution:   Add more tests.

4 years agopatch 8.2.0335: no completion for :disassemble v8.2.0335
Bram Moolenaar [Sat, 29 Feb 2020 21:06:30 +0000 (22:06 +0100)]
patch 8.2.0335: no completion for :disassemble

Problem:    No completion for :disassemble.
Solution:   Make completion work.  Also complete script-local functions if the
            name starts with "s:".

4 years agopatch 8.2.0334: abort called when using test_void() v8.2.0334
Bram Moolenaar [Sat, 29 Feb 2020 16:38:12 +0000 (17:38 +0100)]
patch 8.2.0334: abort called when using test_void()

Problem:    Abort called when using test_void(). (Dominique Pelle)
Solution:   Only give an error, don't abort.

5 years agopatch 8.2.0333: terminal in popup test is flaky v8.2.0333
Bram Moolenaar [Sat, 29 Feb 2020 15:09:16 +0000 (16:09 +0100)]
patch 8.2.0333: terminal in popup test is flaky

Problem:    Terminal in popup test is flaky.
Solution:   Make sure redraw is done before opening the popup.