]> granicus.if.org Git - vim/log
vim
2 years agopatch 8.2.4625: old Coverity warning for resource leak v8.2.4625
Bram Moolenaar [Fri, 25 Mar 2022 14:54:18 +0000 (14:54 +0000)]
patch 8.2.4625: old Coverity warning for resource leak

Problem:    Old Coverity warning for resource leak.
Solution:   Call FreeWild() if expanding matches did not fail.

2 years agopatch 8.2.4624: old Coverity warning for resource leak v8.2.4624
Bram Moolenaar [Fri, 25 Mar 2022 14:46:47 +0000 (14:46 +0000)]
patch 8.2.4624: old Coverity warning for resource leak

Problem:    Old Coverity warning for resource leak.
Solution:   Close the file if memory allocation fails.

2 years agopatch 8.2.4623: Coverity warns for using uninitialized field v8.2.4623
Bram Moolenaar [Fri, 25 Mar 2022 14:39:51 +0000 (14:39 +0000)]
patch 8.2.4623: Coverity warns for using uninitialized field

Problem:    Coverity warns for using uninitialized field.
Solution:   Initialize he field to zero.

2 years agopatch 8.2.4622: Vim9: crash with :execute and :finish v8.2.4622
Bram Moolenaar [Fri, 25 Mar 2022 11:16:28 +0000 (11:16 +0000)]
patch 8.2.4622: Vim9: crash with :execute and :finish

Problem:    Vim9: Crash with :execute and :finish. (Sergey Vlasov)
Solution:   Check for NULL. (closes #10011)

2 years agopatch 8.2.4621: crash when using the tabline right-click menu v8.2.4621
Bram Moolenaar [Thu, 24 Mar 2022 18:04:49 +0000 (18:04 +0000)]
patch 8.2.4621: crash when using the tabline right-click menu

Problem:    Crash when using the tabline right-click menu.
Solution:   Use XtPointer for XmNuserData. (closes #10009)

2 years agopatch 8.2.4620: two letter substitute commands don't work v8.2.4620
Bram Moolenaar [Thu, 24 Mar 2022 15:24:45 +0000 (15:24 +0000)]
patch 8.2.4620: two letter substitute commands don't work

Problem:    Two letter substitute commands don't work. (Yegappan Lakshmanan)
Solution:   Invert condition.

2 years agopatch 8.2.4619: mapping is cancelled when mouse moves and popup is visible v8.2.4619
Bram Moolenaar [Thu, 24 Mar 2022 15:15:15 +0000 (15:15 +0000)]
patch 8.2.4619: mapping is cancelled when mouse moves and popup is visible

Problem:    Mapping is cancelled when mouse moves and popup is visible.
Solution:   Only generate mouse moved events when a popup may use them.
            (closes #10004)

2 years agopatch 8.2.4618: cmdline completion does not recognize single letter commands v8.2.4618
Bram Moolenaar [Thu, 24 Mar 2022 13:08:36 +0000 (13:08 +0000)]
patch 8.2.4618: cmdline completion does not recognize single letter commands

Problem:    Command line completion does not recognize single letter commands.
Solution:   Use the condition from find_ex_command().

2 years agopatch 8.2.4617: no completion for :scriptnames v8.2.4617
Yegappan Lakshmanan [Thu, 24 Mar 2022 11:22:13 +0000 (11:22 +0000)]
patch 8.2.4617: no completion for :scriptnames

Problem:    No completion for :scriptnames.
Solution:   Implement :scriptnames completion. (Yegappan Lakshmanan,
            closes #10005)

2 years agopatch 8.2.4616: Vim9: Declarations in a {} block of a user command remain v8.2.4616
Bram Moolenaar [Wed, 23 Mar 2022 21:36:27 +0000 (21:36 +0000)]
patch 8.2.4616: Vim9: Declarations in a {} block of a user command remain

Problem:    Vim9: Declarations in a {} block of a user command do not use Vim9
            rules if defined in a legacy script. (Yegappan Lakshmanan)
Solution:   Pretend the script is Vim9 script.

2 years agopatch 8.2.4615: mapping with escaped bar does not work in :def function v8.2.4615
Bram Moolenaar [Wed, 23 Mar 2022 19:45:01 +0000 (19:45 +0000)]
patch 8.2.4615: mapping with escaped bar does not work in :def function

Problem:    Mapping with escaped bar does not work in :def function. (Sergey
            Vlasov)
Solution:   Do not remove the backslash. (closes #10002)

2 years agopatch 8.2.4614: redrawing too much when 'cursorline' is set v8.2.4614
zeertzjq [Wed, 23 Mar 2022 14:55:23 +0000 (14:55 +0000)]
patch 8.2.4614: redrawing too much when 'cursorline' is set

Problem:    Redrawing too much when 'cursorline' is set and jumping around.
Solution:   Rely on win_update() to redraw the current and previous cursor
            line, do not mark lines as modified. (closes #9996)

2 years agopatch 8.2.4613: return type of swapfile_unchanged() is wrong v8.2.4613
zeertzjq [Wed, 23 Mar 2022 13:54:51 +0000 (13:54 +0000)]
patch 8.2.4613: return type of swapfile_unchanged() is wrong

Problem:    Return type of swapfile_unchanged() is wrong.
Solution:   Use "int". (closes #10000  Yeah!)

2 years agopatch 8.2.4612: Vim9: cannot use a recursive call in a nested function v8.2.4612
Bram Moolenaar [Wed, 23 Mar 2022 11:29:15 +0000 (11:29 +0000)]
patch 8.2.4612: Vim9: cannot use a recursive call in a nested function

Problem:    Vim9: cannot use a recursive call in a nested function. (Sergey
            Vlasov)
Solution:   Define the funcref before compiling the function. (closes #9989)

2 years agopatch 8.2.4611: typos in tests; one lua line not covered by test v8.2.4611
Dominique Pelle [Tue, 22 Mar 2022 21:14:55 +0000 (21:14 +0000)]
patch 8.2.4611: typos in tests; one lua line not covered by test

Problem:    Typos in tests; one lua line not covered by test.
Solution:   Fix typos. Add test case. (Dominique Pellé, closes #9994)

2 years agopatch 8.2.4610: some conditions are always true v8.2.4610
Bram Moolenaar [Tue, 22 Mar 2022 20:42:12 +0000 (20:42 +0000)]
patch 8.2.4610: some conditions are always true

Problem:    Some conditions are always true.
Solution:   Remove the useless conditions. (closes #9993)

2 years agopatch 8.2.4609: :unhide does not check for failing to close a window v8.2.4609
Bram Moolenaar [Tue, 22 Mar 2022 18:13:01 +0000 (18:13 +0000)]
patch 8.2.4609: :unhide does not check for failing to close a window

Problem:    :unhide does not check for failing to close a window.
Solution:   When closing a window fails continue with the next one.  Do not
            try closing the autocmd window. (closes #9984)

2 years agopatch 8.2.4608: getcompletion() does not work when 'wildoptions' has "fuzzy" v8.2.4608
Yegappan Lakshmanan [Tue, 22 Mar 2022 16:06:31 +0000 (16:06 +0000)]
patch 8.2.4608: getcompletion() does not work when 'wildoptions' has "fuzzy"

Problem:    getcompletion() does not work properly when 'wildoptions
            contains "fuzzy".
Solution:   Do not use addstar(). (Yegappan Lakshmanan, closes #9992,
            closes #9986)

2 years agopatch 8.2.4607: sourcing buffer lines may lead to errors for conflicts v8.2.4607
Yegappan Lakshmanan [Tue, 22 Mar 2022 12:13:54 +0000 (12:13 +0000)]
patch 8.2.4607: sourcing buffer lines may lead to errors for conflicts

Problem:    Sourcing buffer lines may lead to errors for conflicts.
Solution:   Add the ++clear argument. (Yegappan Lakshmanan, closes #9991)

2 years agopatch 8.2.4606: test fails because of changed error message v8.2.4606
Bram Moolenaar [Mon, 21 Mar 2022 20:40:35 +0000 (20:40 +0000)]
patch 8.2.4606: test fails because of changed error message

Problem:    Test fails because of changed error message.
Solution:   Update the expected error message

2 years agopatch 8.2.4604: error for redefining a script item may be confusing v8.2.4604
Bram Moolenaar [Mon, 21 Mar 2022 19:47:31 +0000 (19:47 +0000)]
patch 8.2.4604: error for redefining a script item may be confusing

Problem:    Error for redefining a script item may be confusing.
Solution:   Put quotes around the name.

2 years agopatch 8.2.4603: sourcing buffer lines is too complicated v8.2.4603
Yegappan Lakshmanan [Mon, 21 Mar 2022 19:45:17 +0000 (19:45 +0000)]
patch 8.2.4603: sourcing buffer lines is too complicated

Problem:    Sourcing buffer lines is too complicated.
Solution:   Simplify the code. Make it possible to source Vim9 script lines.
            (Yegappan Lakshmanan, closes #9974)

2 years agopatch 8.2.4602: Vim9: not enough test coverage for executing :def function v8.2.4602
Bram Moolenaar [Sun, 20 Mar 2022 21:14:15 +0000 (21:14 +0000)]
patch 8.2.4602: Vim9: not enough test coverage for executing :def function

Problem:    Vim9: not enough test coverage for executing :def function.
Solution:   Add a few more tests.  Fix uncovered problem.  Remove dead code.

2 years agopatch 8.2.4601: Vim9: not enough test coverage for executing :def function v8.2.4601
Bram Moolenaar [Sun, 20 Mar 2022 18:51:00 +0000 (18:51 +0000)]
patch 8.2.4601: Vim9: not enough test coverage for executing :def function

Problem:    Vim9: not enough test coverage for executing :def function.
Solution:   Add a few more tests.

2 years agopatch 8.2.4600: Vim9: not enough test coverage for executing :def function v8.2.4600
Bram Moolenaar [Sun, 20 Mar 2022 17:46:06 +0000 (17:46 +0000)]
patch 8.2.4600: Vim9: not enough test coverage for executing :def function

Problem:    Vim9: not enough test coverage for executing :def function.
Solution:   Add a few more tests.  Fix inconsistencies.

2 years agopatch 8.2.4599: GTK: get assertion errors when scrolling a split window v8.2.4599
Bram Moolenaar [Sun, 20 Mar 2022 15:43:01 +0000 (15:43 +0000)]
patch 8.2.4599: GTK: get assertion errors when scrolling a split window

Problem:    GTK: get assertion errors when scrolling a split window.
Solution:   Use GDK_IS_DRAWABLE() on the scrollbar window. (closes #9982)

2 years agopatch 8.2.4598: profile completion test sometimes fails v8.2.4598
Bram Moolenaar [Sun, 20 Mar 2022 13:40:41 +0000 (13:40 +0000)]
patch 8.2.4598: profile completion test sometimes fails

Problem:    Profile completion test sometimes fails.
Solution:   Delete the .res file before running tests.

2 years agopatch 8.2.4597: LuaV_debug() not covered by tests v8.2.4597
Dominique Pelle [Sun, 20 Mar 2022 11:46:01 +0000 (11:46 +0000)]
patch 8.2.4597: LuaV_debug() not covered by tests

Problem:    LuaV_debug() not covered by tests.
Solution:   Add a test. (Dominique Pellé, closes #9980)

2 years agopatch 8.2.4596: installing tutor binary may fail v8.2.4596
Sergei Trofimovich [Sun, 20 Mar 2022 11:26:36 +0000 (11:26 +0000)]
patch 8.2.4596: installing tutor binary may fail

Problem:    Installing tutor binary may fail.
Solution:   Fix the dependency. (Sergei Trofimovich, closes #9978)

2 years agopatch 8.2.4595: X11: using --remote-wait may keep the CPU busy v8.2.4595
jsecchiero [Sun, 20 Mar 2022 11:07:17 +0000 (11:07 +0000)]
patch 8.2.4595: X11: using --remote-wait may keep the CPU busy

Problem:    X11: using --remote-wait may keep the CPU busy.
Solution:   Set the timeout for select() on every call. (Jacopo Secchiero,
            closes #9973)

2 years agoUpdate runtime files
Bram Moolenaar [Sat, 19 Mar 2022 15:18:53 +0000 (15:18 +0000)]
Update runtime files

2 years agopatch 8.2.4594: need to write script to a file to be able to source them v8.2.4594
Yegappan Lakshmanan [Sat, 19 Mar 2022 12:56:51 +0000 (12:56 +0000)]
patch 8.2.4594: need to write script to a file to be able to source them

Problem:    Need to write script to a file to be able to source them.
Solution:   Make ":source" use lines from the current buffer. (Yegappan
            Lakshmanan et al., closes #9967)

2 years agopatch 8.2.4593: unnecessary call to redraw_later() v8.2.4593
zeertzjq [Sat, 19 Mar 2022 11:42:16 +0000 (11:42 +0000)]
patch 8.2.4593: unnecessary call to redraw_later()

Problem:    Unnecessary call to redraw_later().
Solution:   Remove the call to redraw_later() in op_yank(). (closes #9971)

2 years agopatch 8.2.4592: search continues after giving E1204 v8.2.4592
Bram Moolenaar [Sat, 19 Mar 2022 11:31:38 +0000 (11:31 +0000)]
patch 8.2.4592: search continues after giving E1204

Problem:    Search continues after giving E1204.
Solution:   Return failure after giving E1204. (closes #9972)

2 years agopatch 8.2.4591: cursor line not updated when a callback moves the cursor v8.2.4591
Bram Moolenaar [Sat, 19 Mar 2022 11:10:15 +0000 (11:10 +0000)]
patch 8.2.4591: cursor line not updated when a callback moves the cursor

Problem:    Cursor line not updated when a callback moves the cursor.
Solution:   Check if the cursor moved. (closes #9970)

2 years agopatch 8.2.4590: Vim9: range type check has wrong offset v8.2.4590
Bram Moolenaar [Fri, 18 Mar 2022 21:41:47 +0000 (21:41 +0000)]
patch 8.2.4590: Vim9: range type check has wrong offset

Problem:    Vim9: range type check has wrong offset.
Solution:   Adjust offset for CHECKTYPE.  Remove other type check.

2 years agopatch 8.2.4589: cannot index the g: dictionary v8.2.4589
Bram Moolenaar [Fri, 18 Mar 2022 19:44:48 +0000 (19:44 +0000)]
patch 8.2.4589: cannot index the g: dictionary

Problem:    Cannot index the g: dictionary.
Solution:   Recognize using "g:[key]". (closes #9969)

2 years agopatch 8.2.4588: mapping with key after other matching mapping does not work v8.2.4588
Bram Moolenaar [Fri, 18 Mar 2022 15:41:17 +0000 (15:41 +0000)]
patch 8.2.4588: mapping with key after other matching mapping does not work

Problem:    Mapping with key code after other matching mapping does not work.
Solution:   Change ">" to ">=". (closes #9903)

2 years agopatch 8.2.4587: Vim9: double free after unpacking a list v8.2.4587
Bram Moolenaar [Fri, 18 Mar 2022 13:10:48 +0000 (13:10 +0000)]
patch 8.2.4587: Vim9: double free after unpacking a list

Problem:    Vim9: double free after unpacking a list.
Solution:   Make a copy of the value instead of moving it. (closes #9968)

2 years agopatch 8.2.4586: Vim9: no error for using lower case name for "func" argument v8.2.4586
Bram Moolenaar [Thu, 17 Mar 2022 16:30:03 +0000 (16:30 +0000)]
patch 8.2.4586: Vim9: no error for using lower case name for "func" argument

Problem:    Vim9: no error for using lower case name for "func" argument.
            (Ernie Rael)
Solution:   Check the name as soon as the type is known.

2 years agopatch 8.2.4585: cannot use keypad page-up/down for completion menu v8.2.4585
Yegappan Lakshmanan [Thu, 17 Mar 2022 13:03:09 +0000 (13:03 +0000)]
patch 8.2.4585: cannot use keypad page-up/down for completion menu

Problem:    Cannot use keypad page-up/down for completion menu.
Solution:   Recognize the keypad keys. (Yegappan Lakshmanan, closes #9963)

2 years agopatch 8.2.4584: error for using autoload function in custom completion v8.2.4584
Bram Moolenaar [Thu, 17 Mar 2022 11:46:55 +0000 (11:46 +0000)]
patch 8.2.4584: error for using autoload function in custom completion

Problem:    Error for using autoload function in custom completion.
Solution:   Do not check for errors when using an autoload function.
            (closes #9962)

2 years agopatch 8.2.4583: screendump test fails v8.2.4583
Bram Moolenaar [Wed, 16 Mar 2022 20:26:02 +0000 (20:26 +0000)]
patch 8.2.4583: screendump test fails

Problem:    Screendump test fails.
Solution:   Check that making a screendump is possible.

2 years agopatch 8.2.4582: useless code handling a type declaration v8.2.4582
Bram Moolenaar [Wed, 16 Mar 2022 20:01:39 +0000 (20:01 +0000)]
patch 8.2.4582: useless code handling a type declaration

Problem:    Useless code handling a type declaration.
Solution:   Remove the code and give an error.

2 years agopatch 8.2.4581: null types not fully tested v8.2.4581
Bram Moolenaar [Wed, 16 Mar 2022 17:56:33 +0000 (17:56 +0000)]
patch 8.2.4581: null types not fully tested

Problem:    Null types not fully tested.
Solution:   Add some more tests using null types.

2 years agopatch 8.2.4580: Vim9: incorrect error for shadowing variable v8.2.4580
Bram Moolenaar [Wed, 16 Mar 2022 17:54:17 +0000 (17:54 +0000)]
patch 8.2.4580: Vim9: incorrect error for shadowing variable

Problem:    Vim9: incorrect error for shadowing variable.
Solution:   Do not pass the context when compiling a referenced function.

2 years agopatch 8.2.4579: cannot use page-up and page-down in the cmdline popup menu v8.2.4579
Yegappan Lakshmanan [Wed, 16 Mar 2022 13:33:53 +0000 (13:33 +0000)]
patch 8.2.4579: cannot use page-up and page-down in the cmdline popup menu

Problem:    Cannot use page-up and page-down in the command line completion
            popup menu.
Solution:   Check for to page-up and page-down keys. (Yegappan Lakshmanan,
            closes #9960)

2 years agopatch 8.2.4578: no warning when autoload script for completion has an error v8.2.4578
Bram Moolenaar [Wed, 16 Mar 2022 13:09:15 +0000 (13:09 +0000)]
patch 8.2.4578: no warning when autoload script for completion has an error

Problem:    No warning when an autoload script for completion function has an
            error.
Solution:   Do not ignore errors when a function name is given with a dot or
            '#' character. (closes #9958)

2 years agopatch 8.2.4577: message test is flaky v8.2.4577
Bram Moolenaar [Wed, 16 Mar 2022 11:14:57 +0000 (11:14 +0000)]
patch 8.2.4577: message test is flaky

Problem:    Message test is flaky. (Elimar Riesebieter)
Solution:   Trigger the autocommand event only after startup is finished.

2 years agopatch 8.2.4576: Vim9: error for comparing with null can be annoying v8.2.4576
Bram Moolenaar [Tue, 15 Mar 2022 20:21:33 +0000 (20:21 +0000)]
patch 8.2.4576: Vim9: error for comparing with null can be annoying

Problem:    Vim9: error for comparing with null can be annoying.
Solution:   Allow comparing anything with null. (closes #9948)

2 years agopatch 8.2.4575: Vim9: test for profiling still fails v8.2.4575
Bram Moolenaar [Tue, 15 Mar 2022 19:29:30 +0000 (19:29 +0000)]
patch 8.2.4575: Vim9: test for profiling still fails

Problem:    Vim9: test for profiling still fails.
Solution:   Update flags for profiling and breakpoints when obtaining the
            compile type.  Do not set the FC_CLOSURE flag for a toplevel
            function.

2 years agopatch 8.2.4574: Vim9: test for profiling fails v8.2.4574
Bram Moolenaar [Tue, 15 Mar 2022 16:16:47 +0000 (16:16 +0000)]
patch 8.2.4574: Vim9: test for profiling fails

Problem:    Vim9: test for profiling fails.
Solution:   Mark function for profiling earlier to avoid E1271.

2 years agopatch 8.2.4573: a nested function is compiled for debugging without context v8.2.4573
Bram Moolenaar [Tue, 15 Mar 2022 15:57:04 +0000 (15:57 +0000)]
patch 8.2.4573: a nested function is compiled for debugging without context

Problem:    A nested function (closure) is compiled for debugging without
            context.
Solution:   Check if a nested function is marked for debugging before
            compiling it.  Give an error when trying to compile a closure
            without its context. (closes #9951)

2 years agopatch 8.2.4572: Vim9: return type "any" is changed to first returned type v8.2.4572
Bram Moolenaar [Tue, 15 Mar 2022 12:28:10 +0000 (12:28 +0000)]
patch 8.2.4572: Vim9: return type "any" is changed to first returned type

Problem:    Vim9: return type "any" is sometimes changed to first returned
            type.  (Virginia Senioria)
Solution:   Do not change the return type if declared as "any". (closes #9949)

2 years agopatch 8.2.4571: not all gdb files are recognized v8.2.4571
Jade Lovelace [Tue, 15 Mar 2022 12:00:23 +0000 (12:00 +0000)]
patch 8.2.4571: not all gdb files are recognized

Problem:    Not all gdb files are recognized.
Solution:   Add a few more patterns for gdb. (Jade Lovelace, closes #9956)

2 years agopatch 8.2.4570: no command line completion for :profile and :profdel v8.2.4570
Yegappan Lakshmanan [Tue, 15 Mar 2022 10:53:09 +0000 (10:53 +0000)]
patch 8.2.4570: no command line completion for :profile and :profdel

Problem:    No command line completion for :profile and :profdel.
Solution:   Implement completion. (Yegappan Lakshmanan, closes #9955)

2 years agopatch 8.2.4569: Coverity warning for not using a return value v8.2.4569
Bram Moolenaar [Tue, 15 Mar 2022 10:22:39 +0000 (10:22 +0000)]
patch 8.2.4569: Coverity warning for not using a return value

Problem:    Coverity warning for not using a return value.
Solution:   Add "(void)".

2 years agopatch 8.2.4568: getmousepos() does not compute the column below the last line v8.2.4568
Sean Dewar [Tue, 15 Mar 2022 09:46:54 +0000 (09:46 +0000)]
patch 8.2.4568: getmousepos() does not compute the column below the last line

Problem:    getmousepos() does not compute the column below the last line.
Solution:   Also compute the column when the mouse is below the last line.
            (Sean Dewar, closes #9946)

2 years agopatch 8.2.4567: bracketed paste doesn't work well in Visual linewise mode v8.2.4567
zeertzjq [Mon, 14 Mar 2022 20:46:41 +0000 (20:46 +0000)]
patch 8.2.4567: bracketed paste doesn't work well in Visual linewise mode

Problem:    Bracketed paste doesn't work well in Visual linewise mode.
Solution:   Handle linewise Visual mode differently. (closes #9947)

2 years agopatch 8.2.4566: check for existing buffer in session file may not work v8.2.4566
James Cherti [Mon, 14 Mar 2022 20:24:51 +0000 (20:24 +0000)]
patch 8.2.4566: check for existing buffer in session file may not work

Problem:    Check for existing buffer in session file does not work for files
            in the home directory.
Solution:   Use fnamemodify(). (James Cherti, closes #9945)  Add a test.

2 years agopatch 8.2.4565: no command line completion for :breakadd and :breakdel v8.2.4565
Bram Moolenaar [Mon, 14 Mar 2022 19:24:46 +0000 (19:24 +0000)]
patch 8.2.4565: no command line completion for :breakadd and :breakdel

Problem:    No command line completion for :breakadd and :breakdel.
Solution:   Add completion for :breakadd and :breakdel. (Yegappan Lakshmanan,
            closes #9950)

2 years agopatch 8.2.4564: running test leaves file behind v8.2.4564
Bram Moolenaar [Mon, 14 Mar 2022 10:50:23 +0000 (10:50 +0000)]
patch 8.2.4564: running test leaves file behind

Problem:    Running test leaves file behind.  (Dominique Pellé)
Solution:   Run the profiling in a separate Vim instance. (closes #9952)

2 years agopatch 8.2.4563: "z=" in Visual mode may go beyond the end of the line v8.2.4563
Bram Moolenaar [Sun, 13 Mar 2022 20:12:25 +0000 (20:12 +0000)]
patch 8.2.4563: "z=" in Visual mode may go beyond the end of the line

Problem:    "z=" in Visual mode may go beyond the end of the line.
Solution:   Adjust "badlen".

2 years agopatch 8.2.4562: linear tag search is not optimal v8.2.4562
Yegappan Lakshmanan [Sun, 13 Mar 2022 19:23:48 +0000 (19:23 +0000)]
patch 8.2.4562: linear tag search is not optimal

Problem:    Linear tag search is not optimal.
Solution:   Improve linear tag search performance. (Yegappan Lakshmanan,
            closes #9944)

2 years agopatch 8.2.4561: build failure with some combination of features v8.2.4561
Bram Moolenaar [Sun, 13 Mar 2022 19:08:48 +0000 (19:08 +0000)]
patch 8.2.4561: build failure with some combination of features

Problem:    Build failure with some combination of features. (John Marriott)
Solution:   Adjust #ifdef.

2 years agopatch 8.2.4560: suspending with CTRL-Z does not work on DragonFlyBSD v8.2.4560
ichizok [Sun, 13 Mar 2022 17:27:38 +0000 (17:27 +0000)]
patch 8.2.4560: suspending with CTRL-Z does not work on DragonFlyBSD

Problem:    Suspending with CTRL-Z does not work on DragonFlyBSD.
Solution:   Adjust #ifdef. (Ozaki Kiichi, closes #9943)

2 years agopatch 8.2.4559: getmousepos() returns the screen column v8.2.4559
Bram Moolenaar [Sun, 13 Mar 2022 15:52:44 +0000 (15:52 +0000)]
patch 8.2.4559: getmousepos() returns the screen column

Problem:    getmousepos() returns the screen column. (Ernie Rael)
Solution:   Return the text column, as documented.

2 years agopatch 8.2.4558: Motif: using default colors does not work as expected v8.2.4558
Bram Moolenaar [Sun, 13 Mar 2022 14:45:03 +0000 (14:45 +0000)]
patch 8.2.4558: Motif: using default colors does not work as expected

Problem:    Motif: using default colors does not work as expected.
Solution:   Do not try to store the default colors, use the resources.
            (closes #9933)

2 years agopatch 8.2.4557: confusing comment about 'cursorlineopt' v8.2.4557
zeertzjq [Sun, 13 Mar 2022 13:40:45 +0000 (13:40 +0000)]
patch 8.2.4557: confusing comment about 'cursorlineopt'

Problem:    Confusing comment about 'cursorlineopt'.
Solution:   Adjust comment.  (closes #9939)  Add parenthesis around logical
            OR.

2 years agopatch 8.2.4556: test fails without the +job or +channel feature v8.2.4556
Bram Moolenaar [Sun, 13 Mar 2022 13:12:27 +0000 (13:12 +0000)]
patch 8.2.4556: test fails without the +job or +channel feature

Problem:    Test fails without the +job or +channel feature. (Dominique Pellé)
Solution:   Adjust #ifdefs.  Pass on skip flag. (closes #9942)

2 years agopatch 8.2.4555: getmousepos() returns the wrong column v8.2.4555
Bram Moolenaar [Sun, 13 Mar 2022 12:06:07 +0000 (12:06 +0000)]
patch 8.2.4555: getmousepos() returns the wrong column

Problem:    getmousepos() returns the wrong column. (Ernie Rael)
Solution:   Limit to the text size, not the number of bytes.

2 years agopatch 8.2.4554: Vim9: using null values not sufficiently tested v8.2.4554
Bram Moolenaar [Sat, 12 Mar 2022 21:28:22 +0000 (21:28 +0000)]
patch 8.2.4554: Vim9: using null values not sufficiently tested

Problem:    Vim9: using null values not sufficiently tested.
Solution:   Add more tests.  Fix uncovered problem.

2 years agopatch 8.2.4553: linear tag search is a bit slow v8.2.4553
Yegappan Lakshmanan [Sat, 12 Mar 2022 17:38:29 +0000 (17:38 +0000)]
patch 8.2.4553: linear tag search is a bit slow

Problem:    Linear tag search is a bit slow.
Solution:   Remove a vim_ftell() call. (Yegappan Lakshmanan, closes #9937)

2 years agopatch 8.2.4552: in a :def function "put = expr" does not work v8.2.4552
Bram Moolenaar [Sat, 12 Mar 2022 14:51:16 +0000 (14:51 +0000)]
patch 8.2.4552: in a :def function "put = expr" does not work

Problem:    In a :def function "put = expr" does not work.
Solution:   Skip over white space. (closes #9936)

2 years agopatch 8.2.4551: when mapping <Esc> terminal codes are not recognized v8.2.4551
Bram Moolenaar [Sat, 12 Mar 2022 13:48:39 +0000 (13:48 +0000)]
patch 8.2.4551: when mapping <Esc> terminal codes are not recognized

Problem:    When mapping <Esc> terminal codes are not recognized.
Solution:   Specifically recognize a mapping with just <Esc> and check for
            terminal codes even though there is no partial mapping.
            (closes #9903)

2 years agopatch 8.2.4550: Motif: cannot set the color of the scrollbar thumb v8.2.4550
Bram Moolenaar [Sat, 12 Mar 2022 12:21:28 +0000 (12:21 +0000)]
patch 8.2.4550: Motif: cannot set the color of the scrollbar thumb

Problem:    Motif: cannot set the color of the scrollbar thumb.
Solution:   Remove #ifdef.

2 years agopatch 8.2.4549: cannot build with Motif and editres v8.2.4549
Bram Moolenaar [Sat, 12 Mar 2022 11:57:25 +0000 (11:57 +0000)]
patch 8.2.4549: cannot build with Motif and editres

Problem:    Cannot build with Motif and editres. (Tony Mechelynck)
Solution:   Fix configure mistake.

2 years agopatch 8.2.4548: script-local function is deleted when used in a funcref v8.2.4548
Bram Moolenaar [Fri, 11 Mar 2022 18:54:17 +0000 (18:54 +0000)]
patch 8.2.4548: script-local function is deleted when used in a funcref

Problem:    Script-local function is deleted when used in a funcref.
Solution:   Do not consider a function starting with "<SNR>" reference
            counted. (closes #9916, closes #9820)

2 years agopatch 8.2.4547: the neXTaw GUI is old and does not work well v8.2.4547
Bram Moolenaar [Fri, 11 Mar 2022 16:01:26 +0000 (16:01 +0000)]
patch 8.2.4547: the neXTaw GUI is old and does not work well

Problem:    The neXTaw GUI is old and does not work well.
Solution:   Remove the neXTaw GUI from configure to find out who still wants
            support for this GUI.

2 years agopatch 8.2.4546: duplicate #undef v8.2.4546
zeertzjq [Fri, 11 Mar 2022 15:33:53 +0000 (15:33 +0000)]
patch 8.2.4546: duplicate #undef

Problem:    Duplicate #undef.
Solution:   Remove one #undef. (closes #9932)

2 years agopatch 8.2.4545: MS-Windows: the installed icon is low resolution v8.2.4545
Christian Brabandt [Fri, 11 Mar 2022 15:24:11 +0000 (15:24 +0000)]
patch 8.2.4545: MS-Windows: the installed icon is low resolution

Problem:    MS-Windows: the installed icon is low resolution.
Solution:   Use a better icon.  Install vim.ico. (Christian Brabandt,
            closes #9931, closes #9930)

2 years agopatch 8.2.4544: Coverity warnings for not using returned value v8.2.4544
Bram Moolenaar [Fri, 11 Mar 2022 14:54:03 +0000 (14:54 +0000)]
patch 8.2.4544: Coverity warnings for not using returned value

Problem:    Coverity warnings for not using returned value.
Solution:   Assign to vim_ignored.

2 years agopatch 8.2.4543: Coverity warning for refactored tag search code v8.2.4543
Yegappan Lakshmanan [Fri, 11 Mar 2022 12:05:18 +0000 (12:05 +0000)]
patch 8.2.4543: Coverity warning for refactored tag search code

Problem:    Coverity warning for refactored tag search code.
Solution:   Avoid the warnings.  Update comments.  Add one more test case.
            (Yegappan Lakshmanan, closes #9928)

2 years agopatch 8.2.4542: Vim9: "break" inside try/catch not handled correctly v8.2.4542
Bram Moolenaar [Thu, 10 Mar 2022 21:53:44 +0000 (21:53 +0000)]
patch 8.2.4542: Vim9: "break" inside try/catch not handled correctly

Problem:    Vim9: "break" inside try/catch not handled correctly.
Solution:   First jump to :endtry. (closes #9927)

2 years agopatch 8.2.4541: Crash in debugger when a variable is not available v8.2.4541
Bram Moolenaar [Thu, 10 Mar 2022 20:47:43 +0000 (20:47 +0000)]
patch 8.2.4541: Crash in debugger when a variable is not available

Problem:    Crash in debugger when a variable is not available in the current
            block.
Solution:   Check for a NULL name. (closes #9926)

2 years agopatch 8.2.4540: line number for error is off by one v8.2.4540
Bram Moolenaar [Thu, 10 Mar 2022 20:01:50 +0000 (20:01 +0000)]
patch 8.2.4540: line number for error is off by one

Problem:    Line number for error is off by one.
Solution:   Remember the line number of the comparison. (closes #9923)

2 years agopatch 8.2.4539: when comparing special v:none and v:null are handled the same v8.2.4539
Bram Moolenaar [Thu, 10 Mar 2022 19:23:28 +0000 (19:23 +0000)]
patch 8.2.4539: when comparing special v:none and v:null are handled the same

Problem:    When comparing special v:none and v:null are handled the same when
            compiling.
Solution:   Pass more information so that v:none can be handled differently at
            compile time.  (issue #9923)

2 years agopatch 8.2.4538: the find_tags_in_file() function is too long v8.2.4538
Yegappan Lakshmanan [Thu, 10 Mar 2022 18:36:54 +0000 (18:36 +0000)]
patch 8.2.4538: the find_tags_in_file() function is too long

Problem:    The find_tags_in_file() function is too long.
Solution:   Refactor into smaller functions. (Yegappan Lakshmanan,
            closes #9920)

2 years agopatch 8.2.4537: output from linter and language server shows up in git v8.2.4537
=?UTF-8?q?Dundar=20G=C3=B6c?= [Thu, 10 Mar 2022 15:51:24 +0000 (15:51 +0000)]
patch 8.2.4537: output from linter and language server shows up in git

Problem:    Output from linter and language server shows up in git.
Solution:   Add patterns to .gitignore. (Goc Dundar, closes #9925)

2 years agopatch 8.2.4536: debugger test fails when breaking on expression v8.2.4536
Bram Moolenaar [Thu, 10 Mar 2022 13:29:20 +0000 (13:29 +0000)]
patch 8.2.4536: debugger test fails when breaking on expression

Problem:    Debugger test fails when breaking on expression.
Solution:   Compare strings with "==" instead of "is".

2 years agopatch 8.2.4535: filename modifer ":8" removes the filename v8.2.4535
Christian Brabandt [Thu, 10 Mar 2022 12:24:02 +0000 (12:24 +0000)]
patch 8.2.4535: filename modifer ":8" removes the filename

Problem:    Filename modifer ":8" removes the filename.
Solution:   Use strncpy() instead of vim_strncpy(). (Christian Brabandt,
            closes #9918, closes #8600)

2 years agopatch 8.2.4534: Vim9: "is" operator with empty string and null returns true v8.2.4534
Bram Moolenaar [Thu, 10 Mar 2022 12:20:53 +0000 (12:20 +0000)]
patch 8.2.4534: Vim9: "is" operator with empty string and null returns true

Problem:    Vim9: "is" operator with empty string and null returns true.
Solution:   Consider empty string and null to be different for "is".

2 years agopatch 8.2.4533: Vim9: no test that after assigning null type is still checked v8.2.4533
Bram Moolenaar [Wed, 9 Mar 2022 19:46:48 +0000 (19:46 +0000)]
patch 8.2.4533: Vim9: no test that after assigning null type is still checked

Problem:    Vim9: no test that after assigning null the type is still checked.
Solution:   Add a test.

2 years agopatch 8.2.4532: suspending with CTRL-Z does not work on OpenBSD v8.2.4532
Stuart Henderson [Wed, 9 Mar 2022 14:33:02 +0000 (14:33 +0000)]
patch 8.2.4532: suspending with CTRL-Z does not work on OpenBSD

Problem:    Suspending with CTRL-Z does not work on OpenBSD.
Solution:   Adjust #ifdef for SIGTSTP. (Stuart Henderson, closes #9912)

2 years agopatch 8.2.4531: LGTM warnings for condition and buffer size v8.2.4531
=?UTF-8?q?Dundar=20G=C3=B6c?= [Wed, 9 Mar 2022 13:00:54 +0000 (13:00 +0000)]
patch 8.2.4531: LGTM warnings for condition and buffer size

Problem:    LGTM warnings for condition always true and buffer size too small.
Solution:   Remove the useless condition.  Make the buffer larger. (Goc
            Dundar, closes #9914)

2 years agopatch 8.2.4530: making comparison with null work changes legacy behavior v8.2.4530
Bram Moolenaar [Wed, 9 Mar 2022 11:56:21 +0000 (11:56 +0000)]
patch 8.2.4530: making comparison with null work changes legacy behavior

Problem:    Making comparison with null work changes legacy behavior.
Solution:   Only use the better comparison in Vim9 script. (closes #9910)

2 years agoUpdate runtime files
Bram Moolenaar [Tue, 8 Mar 2022 21:35:07 +0000 (21:35 +0000)]
Update runtime files

2 years agopatch 8.2.4529: Vim9: comparing partial with function fails v8.2.4529
Bram Moolenaar [Tue, 8 Mar 2022 19:43:55 +0000 (19:43 +0000)]
patch 8.2.4529: Vim9: comparing partial with function fails

Problem:    Vim9: comparing partial with function fails.
Solution:   Support this comparison.  Avoid a crash. (closes #9909)
            Add more test cases.

2 years agopatch 8.2.4528: crash when using null_function for a partial v8.2.4528
Bram Moolenaar [Tue, 8 Mar 2022 16:52:24 +0000 (16:52 +0000)]
patch 8.2.4528: crash when using null_function for a partial

Problem:    Crash when using null_function for a partial.
Solution:   Don't call fname_trans_sid() with NULL. (closes #9908)

2 years agopatch 8.2.4527: the Athena GUI is old and does not work well v8.2.4527
Bram Moolenaar [Tue, 8 Mar 2022 13:32:37 +0000 (13:32 +0000)]
patch 8.2.4527: the Athena GUI is old and does not work well

Problem:    The Athena GUI is old and does not work well.
Solution:   Remove the Athena GUI from configure to find out who still wants
            support for this GUI.