]> granicus.if.org Git - vim/log
vim
4 years agopatch 8.2.0517: Vim9: cannot separate "func" and "func(): void" v8.2.0517
Bram Moolenaar [Sun, 5 Apr 2020 19:38:23 +0000 (21:38 +0200)]
patch 8.2.0517: Vim9: cannot separate "func" and "func(): void"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

4 years agopatch 8.2.0473: variables declared in an outer scope v8.2.0473
Bram Moolenaar [Sun, 29 Mar 2020 13:12:15 +0000 (15:12 +0200)]
patch 8.2.0473: variables declared in an outer scope

Problem:    Variables declared in an outer scope.
Solution:   Decleare variables only in the scope where they are used.

4 years agopatch 8.2.0472: terminal highlight name is set twice, leaking memory v8.2.0472
Bram Moolenaar [Sat, 28 Mar 2020 21:37:14 +0000 (22:37 +0100)]
patch 8.2.0472: terminal highlight name is set twice, leaking memory

Problem:    Terminal highlight name is set twice, leaking memory.
Solution:   Delete one.

4 years agopatch 8.2.0471: missing change to compile_list() v8.2.0471
Bram Moolenaar [Sat, 28 Mar 2020 21:06:23 +0000 (22:06 +0100)]
patch 8.2.0471: missing change to compile_list()

Problem:    Missing change to compile_list().
Solution:   Add error message.

4 years agopatch 8.2.0470: Test_confirm_cmd_cancel() can fail on a slow system v8.2.0470
Bram Moolenaar [Sat, 28 Mar 2020 20:48:55 +0000 (21:48 +0100)]
patch 8.2.0470: Test_confirm_cmd_cancel() can fail on a slow system

Problem:    Test_confirm_cmd_cancel() can fail on a slow system.
Solution:   Use WaitForAssert(). (Ozaki Kiichi, closes #5861)

4 years agopatch 8.2.0469: Vim9: no error for missing ] after list v8.2.0469
Bram Moolenaar [Sat, 28 Mar 2020 20:38:06 +0000 (21:38 +0100)]
patch 8.2.0469: Vim9: no error for missing ] after list

Problem:    Vim9: no error for missing ] after list.
Solution:   Add error message. Add more tests.

4 years agopatch 8.2.0468: GUI: pixel dust with some fonts and characters v8.2.0468
Bram Moolenaar [Sat, 28 Mar 2020 19:44:41 +0000 (20:44 +0100)]
patch 8.2.0468: GUI: pixel dust with some fonts and characters

Problem:    GUI: pixel dust with some fonts and characters.
Solution:   Always redraw the character before the cursor. (Nir Lichtman,
            closes #5549, closes #5856)

4 years agopatch 8.2.0467: Vim9: some errors are not tested v8.2.0467
Bram Moolenaar [Sat, 28 Mar 2020 18:41:33 +0000 (19:41 +0100)]
patch 8.2.0467: Vim9: some errors are not tested

Problem:    Vim9: some errors are not tested
Solution:   Add more tests.  Fix that Vim9 script flag is not reset.

4 years agopatch 8.2.0466: not parsing messages recursively breaks the govim plugin v8.2.0466
Bram Moolenaar [Sat, 28 Mar 2020 17:06:31 +0000 (18:06 +0100)]
patch 8.2.0466: not parsing messages recursively breaks the govim plugin

Problem:    Not parsing messages recursively breaks the govim plugin.
Solution:   When called recursively do handle messages but do not close
            channels.

4 years agopatch 8.2.0465: Vim9: dead code and wrong return type v8.2.0465
Bram Moolenaar [Sat, 28 Mar 2020 13:53:20 +0000 (14:53 +0100)]
patch 8.2.0465: Vim9: dead code and wrong return type

Problem:    Vim9: dead code and wrong return type.
Solution:   Remove dead code.  Fix return type.  Add more tests.

4 years agoCorrect list of patch numbers
Bram Moolenaar [Fri, 27 Mar 2020 19:59:54 +0000 (20:59 +0100)]
Correct list of patch numbers

4 years agopatch 8.2.0464: typos and other small problems v8.2.0464
Bram Moolenaar [Fri, 27 Mar 2020 19:58:37 +0000 (20:58 +0100)]
patch 8.2.0464: typos and other small problems

Problem:    Typos and other small problems.
Solution:   Fix the typos.  Add missing files to the distribution.

4 years agopatch 8.2.0464: typos and other small problems v8.2.0463
Bram Moolenaar [Fri, 27 Mar 2020 19:52:45 +0000 (20:52 +0100)]
patch 8.2.0464: typos and other small problems

Problem:    Typos and other small problems.
Solution:   Fix the typos.  Add missing file to distribution.

4 years agoUpdate runtime files
Bram Moolenaar [Fri, 27 Mar 2020 19:42:43 +0000 (20:42 +0100)]
Update runtime files

4 years agopatch 8.2.0462: previewwindow test fails on some systems v8.2.0462
Bram Moolenaar [Fri, 27 Mar 2020 19:24:14 +0000 (20:24 +0100)]
patch 8.2.0462: previewwindow test fails on some systems

Problem:    Previewwindow test fails on some systems. (James McCoy)
Solution:   Wait a bit after sending the "o". (closes #5849)

4 years agopatch 8.2.0461: confirm test fails on amd64 system v8.2.0461
Bram Moolenaar [Fri, 27 Mar 2020 18:41:02 +0000 (19:41 +0100)]
patch 8.2.0461: confirm test fails on amd64 system

Problem:    Confirm test fails on amd64 system. (Alimar Riesebieter)
Solution:   Add an extra WaitForAssert(). (Dominique Pelle)

4 years agopatch 8.2.0460: build failure because of wrong feature name v8.2.0460
Bram Moolenaar [Thu, 26 Mar 2020 22:13:34 +0000 (23:13 +0100)]
patch 8.2.0460: build failure because of wrong feature name

Problem:    Build failure because of wrong feature name.
Solution:   Correct feature name.

4 years agopatch 8.2.0459: cannot check if a function name is correct v8.2.0459
Bram Moolenaar [Thu, 26 Mar 2020 21:16:48 +0000 (22:16 +0100)]
patch 8.2.0459: cannot check if a function name is correct

Problem:    Cannot check if a function name is correct.
Solution:   Add "?funcname" to exists().

4 years agopatch 8.2.0458: missing feature check in test function v8.2.0458
Bram Moolenaar [Thu, 26 Mar 2020 21:09:52 +0000 (22:09 +0100)]
patch 8.2.0458: missing feature check in test function

Problem:    Missing feature check in test function.
Solution:   Add check commands.

4 years agopatch 8.2.0457: Test_quotestar() often fails when run under valgrind v8.2.0457
Bram Moolenaar [Thu, 26 Mar 2020 20:11:58 +0000 (21:11 +0100)]
patch 8.2.0457: Test_quotestar() often fails when run under valgrind

Problem:    Test_quotestar() often fails when run under valgrind.
Solution:   Wait longer for the GUI to start.

4 years agopatch 8.2.0456: Test_confirm_cmd is flaky v8.2.0456
Bram Moolenaar [Thu, 26 Mar 2020 19:51:43 +0000 (20:51 +0100)]
patch 8.2.0456: Test_confirm_cmd is flaky

Problem:    Test_confirm_cmd is flaky.
Solution:   Add a term_wait() call. (closes #5854)

4 years agopatch 8.2.0455: cannot set the highlight group for a specific terminal v8.2.0455
Bram Moolenaar [Thu, 26 Mar 2020 19:34:00 +0000 (20:34 +0100)]
patch 8.2.0455: cannot set the highlight group for a specific terminal

Problem:    Cannot set the highlight group for a specific terminal.
Solution:   Add the "highlight" option to term_start(). (closes #5818)

4 years agopatch 8.2.0454: some tests fail when the system is slow v8.2.0454
Bram Moolenaar [Thu, 26 Mar 2020 15:50:57 +0000 (16:50 +0100)]
patch 8.2.0454: some tests fail when the system is slow

Problem:    Some tests fail when the system is slow.
Solution:   Make the run number global, use in the test to increase the
            waiting time. (closes #5841)

4 years agopatch 8.2.0453: trailing space in job_start() command causes empty argument v8.2.0453
Bram Moolenaar [Thu, 26 Mar 2020 15:27:38 +0000 (16:27 +0100)]
patch 8.2.0453: trailing space in job_start() command causes empty argument

Problem:    Trailing space in job_start() command causes empty argument.
Solution:   Ignore trailing space. (closes #5851)

4 years agopatch 8.2.0452: channel_parse_messages() fails when called recursively v8.2.0452
Bram Moolenaar [Thu, 26 Mar 2020 15:03:45 +0000 (16:03 +0100)]
patch 8.2.0452: channel_parse_messages() fails when called recursively

Problem:    channel_parse_messages() fails when called recursively.
Solution:   Return for a recursive call. (closes #5835)

4 years agopatch 8.2.0451: Win32: double-width character displayed incorrectly v8.2.0451
Bram Moolenaar [Thu, 26 Mar 2020 14:39:53 +0000 (15:39 +0100)]
patch 8.2.0451: Win32: double-width character displayed incorrectly

Problem:    Win32: double-width character displayed incorrectly.
Solution:   First move the cursor to the first column. (Nobuhiro Takasaki,
            closes #5848)

4 years agopatch 8.2.0450: not enough testing for restricted mode and function calls v8.2.0450
Bram Moolenaar [Thu, 26 Mar 2020 13:11:58 +0000 (14:11 +0100)]
patch 8.2.0450: not enough testing for restricted mode and function calls

Problem:    Not enough testing for restricted mode and function calls.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #5847)

4 years agopatch 8.2.0449: Vim9: crash if return type is invalid v8.2.0449
Bram Moolenaar [Thu, 26 Mar 2020 12:15:42 +0000 (13:15 +0100)]
patch 8.2.0449: Vim9: crash if return type is invalid

Problem:    Vim9: crash if return type is invalid. (Yegappan Lakshmanan)
Solution:   Always return some type, not NULL.

4 years agopatch 8.2.0448: various functions not properly tested v8.2.0448
Bram Moolenaar [Wed, 25 Mar 2020 21:23:46 +0000 (22:23 +0100)]
patch 8.2.0448: various functions not properly tested

Problem:    Various functions not properly tested.
Solution:   Add more tests, especially for failures. (Yegappan Lakshmanan,
            closes #5843)

4 years agopatch 8.2.0447: terminal scroll tests fails on some systems v8.2.0447
Bram Moolenaar [Wed, 25 Mar 2020 20:27:22 +0000 (21:27 +0100)]
patch 8.2.0447: terminal scroll tests fails on some systems

Problem:    Terminal scroll tests fails on some systems.
Solution:   Remove the fixed 100msec wait for Win32.  Add a loop to wait until
            scrolling has finished. (James McCoy, closes #5842)

4 years agopatch 8.2.0446: listener with undo of deleting all lines not tested v8.2.0446
Bram Moolenaar [Wed, 25 Mar 2020 20:13:46 +0000 (21:13 +0100)]
patch 8.2.0446: listener with undo of deleting all lines not tested

Problem:    Listener with undo of deleting all lines not tested.
Solution:   Add a test.

4 years agopatch 8.2.0445: png and xpm files not in MS-Windows zip file v8.2.0445
Bram Moolenaar [Wed, 25 Mar 2020 19:17:00 +0000 (20:17 +0100)]
patch 8.2.0445: png and xpm files not in MS-Windows zip file

Problem:    Png and xpm files not in MS-Windows zip file.
Solution:   Move files to shared between Unix and Windows target.

4 years agopatch 8.2.0444: swap file test fails on some systems v8.2.0444
Bram Moolenaar [Tue, 24 Mar 2020 20:44:51 +0000 (21:44 +0100)]
patch 8.2.0444: swap file test fails on some systems

Problem:    Swap file test fails on some systems.
Solution:   Preserve the swap file. Send NL terminated keys.

4 years agopatch 8.2.0443: clipboard code is spread out v8.2.0443
Bram Moolenaar [Tue, 24 Mar 2020 20:42:01 +0000 (21:42 +0100)]
patch 8.2.0443: clipboard code is spread out

Problem:    Clipboard code is spread out.
Solution:   Move clipboard code to its own file. (Yegappan Lakshmanan,
            closes #5827)

4 years agopatch 8.2.0442: channel contents might be used after being freed v8.2.0442
Bram Moolenaar [Tue, 24 Mar 2020 19:35:19 +0000 (20:35 +0100)]
patch 8.2.0442: channel contents might be used after being freed

Problem:    Channel contents might be used after being freed.
Solution:   Reset the job channel before freeing the channel.

4 years agopatch 8.2.0441: terminal noblock test is still failing on BSD v8.2.0441
Bram Moolenaar [Tue, 24 Mar 2020 11:12:30 +0000 (12:12 +0100)]
patch 8.2.0441: terminal noblock test is still failing on BSD

Problem:    Terminal noblock test is still failing on BSD.
Solution:   Reduce the amount of text.

4 years agopatch 8.2.0440: terminal noblock test is still very flaky on BSD v8.2.0440
Bram Moolenaar [Tue, 24 Mar 2020 09:33:00 +0000 (10:33 +0100)]
patch 8.2.0440: terminal noblock test is still very flaky on BSD

Problem:    Terminal noblock test is still very flaky on BSD.
Solution:   Increase the waiting time.

4 years agopatch 8.2.0439: :disassemble has minor flaws v8.2.0439
Bram Moolenaar [Mon, 23 Mar 2020 21:53:22 +0000 (22:53 +0100)]
patch 8.2.0439: :disassemble has minor flaws

Problem:    :disassemble has minor flaws.
Solution:   Format the code.  Use (int) instead of (char) for %c.
            (also by James McCoy, closes #5831)

4 years agopatch 8.2.0438: terminal noblock test is very flaky on BSD v8.2.0438
Bram Moolenaar [Mon, 23 Mar 2020 21:46:44 +0000 (22:46 +0100)]
patch 8.2.0438: terminal noblock test is very flaky on BSD

Problem:    Terminal noblock test is very flaky on BSD.
Solution:   Change WaitFor() to WaitForAssert() to be able to see why it
            failed.  Add a short wait in between sending keys.

4 years agopatch 8.2.0437: MS-Windows installer contains old stuff v8.2.0437
Bram Moolenaar [Mon, 23 Mar 2020 21:17:11 +0000 (22:17 +0100)]
patch 8.2.0437: MS-Windows installer contains old stuff

Problem:    MS-Windows installer contains old stuff.
Solution:   Rely on Windows NT. (Ken Takata, closes #5832)

4 years agopatch 8.2.0436: no warnings for incorrect printf arguments v8.2.0436
Bram Moolenaar [Mon, 23 Mar 2020 21:12:22 +0000 (22:12 +0100)]
patch 8.2.0436: no warnings for incorrect printf arguments

Problem:    No warnings for incorrect printf arguments.
Solution:   Fix attribute in declaration.  Fix uncovered mistakes. (Dominique
            Pelle, closes #5834)

4 years agopatch 8.2.0435: channel contents might be freed twice v8.2.0435
Bram Moolenaar [Mon, 23 Mar 2020 21:01:17 +0000 (22:01 +0100)]
patch 8.2.0435: channel contents might be freed twice

Problem:    Channel contents might be freed twice.
Solution:   Call either channel_free_channel() or channel_free(), not both.
            (Nobuhiro Takasaki, closes #5835)

4 years agopatch 8.2.0434: MS-Windows with VTP: Normal color not working v8.2.0434
Bram Moolenaar [Mon, 23 Mar 2020 20:45:29 +0000 (21:45 +0100)]
patch 8.2.0434: MS-Windows with VTP: Normal color not working

Problem:    MS-Windows with VTP: Normal color not working.
Solution:   After changing the Normal color update the VTP console color.
            (Nobuhiro Takasaki, closes #5836)

4 years agopatch 8.2.0433: INT signal not properly tested v8.2.0433
Bram Moolenaar [Mon, 23 Mar 2020 19:54:32 +0000 (20:54 +0100)]
patch 8.2.0433: INT signal not properly tested

Problem:    INT signal not properly tested.
Solution:   Add a test.  Also clean up some unnecessary lines. (Dominique
            Pelle, closes #5828)

4 years agopatch 8.2.0432: a few tests fail in a huge terminal v8.2.0432
Bram Moolenaar [Mon, 23 Mar 2020 18:28:44 +0000 (19:28 +0100)]
patch 8.2.0432: a few tests fail in a huge terminal

Problem:    A few tests fail in a huge terminal.
Solution:   Make the tests pass. (Dominique Pelle, closes #5829)

4 years agopatch 8.2.0431: some compilers don't support using \e for Esc v8.2.0431
Bram Moolenaar [Mon, 23 Mar 2020 18:17:29 +0000 (19:17 +0100)]
patch 8.2.0431: some compilers don't support using \e for Esc

Problem:    Some compilers don't support using \e for Esc. (Yegappan
            Lakshmanan)
Solution:   use \033 instead.

4 years agopatch 8.2.0430: window creation failure not properly tested v8.2.0430
Bram Moolenaar [Sun, 22 Mar 2020 20:23:47 +0000 (21:23 +0100)]
patch 8.2.0430: window creation failure not properly tested

Problem:    Window creation failure not properly tested.
Solution:   Improve the test. (Yegappan Lakshmanan, closes #5826)

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.