]> granicus.if.org Git - vim/log
vim
3 years agopatch 8.2.2640: screenstring() returns non-existing composing characters v8.2.2640
Bram Moolenaar [Mon, 22 Mar 2021 16:11:15 +0000 (17:11 +0100)]
patch 8.2.2640: screenstring() returns non-existing composing characters

Problem:    screenstring() returns non-existing composing characters.
Solution:   Only use composing characters if there is a base character.

3 years agopatch 8.2.2639: build failure when fsync() is not available v8.2.2639
Bram Moolenaar [Mon, 22 Mar 2021 15:45:35 +0000 (16:45 +0100)]
patch 8.2.2639: build failure when fsync() is not available

Problem:    Build failure when fsync() is not available.
Solution:   Add #ifdef.

3 years agopatch 8.2.2638: cannot write a message to the terminal from the GUI v8.2.2638
Bram Moolenaar [Mon, 22 Mar 2021 15:19:45 +0000 (16:19 +0100)]
patch 8.2.2638: cannot write a message to the terminal from the GUI

Problem:    Cannot write a message to the terminal from the GUI.
Solution:   Add :echoconsole and use it in the test runner. (issue #7975)

3 years agopatch 8.2.2637: prop_remove() causes a redraw even when nothing changed v8.2.2637
Bram Moolenaar [Sun, 21 Mar 2021 21:29:54 +0000 (22:29 +0100)]
patch 8.2.2637: prop_remove() causes a redraw even when nothing changed

Problem:    prop_remove() causes a redraw even when nothing changed.
Solution:   Only redraw if a property was removed.

3 years agopatch 8.2.2636: memory leak when compiling inline function v8.2.2636
Bram Moolenaar [Sun, 21 Mar 2021 21:12:34 +0000 (22:12 +0100)]
patch 8.2.2636: memory leak when compiling inline function

Problem:    Memory leak when compiling inline function.
Solution:   Free the prefetched line.

3 years agopatch 8.2.2635: Vim9: cannot define an inline function v8.2.2635
Bram Moolenaar [Sun, 21 Mar 2021 19:53:29 +0000 (20:53 +0100)]
patch 8.2.2635: Vim9: cannot define an inline function

Problem:    Vim9: cannot define an inline function.
Solution:   Make an inline function mostly work.

3 years agopatch 8.2.2634: 'tagfunc' does not indicate using a pattern v8.2.2634
Bram Moolenaar [Sun, 21 Mar 2021 13:49:57 +0000 (14:49 +0100)]
patch 8.2.2634: 'tagfunc' does not indicate using a pattern

Problem:    'tagfunc' does not indicate using a pattern.
Solution:   Add the "r" flag. (Andy Massimino, closes #7982)

3 years agopatch 8.2.2633: multi-byte 'fillchars' for folding do not show properly v8.2.2633
Bram Moolenaar [Sun, 21 Mar 2021 13:39:19 +0000 (14:39 +0100)]
patch 8.2.2633: multi-byte 'fillchars' for folding do not show properly

Problem:    Multi-byte 'fillchars' for folding do not show properly.
Solution:   Handle multi-byte characters correctly. (Yegappan Lakshmanan,
            closes #7983, closes #7955)

3 years agopatch 8.2.2632: not all command line arguments are tested v8.2.2632
Bram Moolenaar [Sat, 20 Mar 2021 21:16:56 +0000 (22:16 +0100)]
patch 8.2.2632: not all command line arguments are tested

Problem:    Not all command line arguments are tested.
Solution:   Add tests for -D and -serverlist. (Dominique Pellé, closes #7992)

3 years agopatch 8.2.2631: commands from winrestcmd() do not always work properly v8.2.2631
Bram Moolenaar [Sat, 20 Mar 2021 18:55:35 +0000 (19:55 +0100)]
patch 8.2.2631: commands from winrestcmd() do not always work properly

Problem:    Commands from winrestcmd() do not always work properly. (Leonid V.
            Fedorenchik)
Solution:   Repeat the size commands twice. (closes #7988)

3 years agopatch 8.2.2630: hard to see where a test gets stuck v8.2.2630
Bram Moolenaar [Sat, 20 Mar 2021 15:44:25 +0000 (16:44 +0100)]
patch 8.2.2630: hard to see where a test gets stuck

Problem:    Hard to see where a test gets stuck.
Solution:   Print the executed test function. (Dominique Pellé, closes #7975)

3 years agopatch 8.2.2629: Vim9: error for #{{ is not desired v8.2.2629
Bram Moolenaar [Sat, 20 Mar 2021 14:00:01 +0000 (15:00 +0100)]
patch 8.2.2629: Vim9: error for #{{ is not desired

Problem:    Vim9: error for #{{ is not desired.
Solution:   Adjust the checks. (closes #7990)

3 years agopatch 8.2.2628: Vim9: #{ can still be used at the script level v8.2.2628
Bram Moolenaar [Sat, 20 Mar 2021 12:29:38 +0000 (13:29 +0100)]
patch 8.2.2628: Vim9: #{ can still be used at the script level

Problem:    Vim9: #{ can still be used at the script level.
Solution:   Give an error for #{ like in a :def function.

3 years agopatch 8.2.2627: no need to check for BSD after checking for not root v8.2.2627
Bram Moolenaar [Sat, 20 Mar 2021 11:49:15 +0000 (12:49 +0100)]
patch 8.2.2627: no need to check for BSD after checking for not root

Problem:    No need to check for BSD after checking for not root.
Solution:   Remove CheckNotBSD. (Ozaki Kiichi, closes #7989)

3 years agopatch 8.2.2626: GTK3: error when starting up and -geometry is given v8.2.2626
Bram Moolenaar [Sat, 20 Mar 2021 11:36:46 +0000 (12:36 +0100)]
patch 8.2.2626: GTK3: error when starting up and -geometry is given

Problem:    GTK3: error when starting up and -geometry is given. (Dominique
            Pellé)
Solution:   Use another function to get the monitor if the window has not been
            created yet. (closes #7978)

3 years agopatch 8.2.2625: rss files not recognized v8.2.2625
Bram Moolenaar [Fri, 19 Mar 2021 19:27:40 +0000 (20:27 +0100)]
patch 8.2.2625: rss files not recognized

Problem:    Rss files not recognized.
Solution:   Recognize .rss as XML. (Kivin Locke, closes #7987)

3 years agopatch 8.2.2624: atom files not recognized v8.2.2624
Bram Moolenaar [Fri, 19 Mar 2021 19:19:12 +0000 (20:19 +0100)]
patch 8.2.2624: atom files not recognized

Problem:    Atom files not recognized.
Solution:   Recognize .atom as XML. (Kivin Locke, closes #7986)

3 years agopatch 8.2.2623: some tests fail when run as root v8.2.2623
Bram Moolenaar [Fri, 19 Mar 2021 13:38:12 +0000 (14:38 +0100)]
patch 8.2.2623: some tests fail when run as root

Problem:    Some tests fail when run as root.
Solution:   Use CheckNotRoot.

3 years agopatch 8.2.2622: GTK: error when starting up and -geometry is given v8.2.2622
Bram Moolenaar [Thu, 18 Mar 2021 21:28:57 +0000 (22:28 +0100)]
patch 8.2.2622: GTK: error when starting up and -geometry is given

Problem:    GTK: error when starting up and -geometry is given. (Dominique
            Pellé)
Solution:   Use another function to get the monitor if the window has not been
            created yet. (closes #7978)

3 years agopatch 8.2.2621: typval2type() cannot handle recursive structures v8.2.2621
Bram Moolenaar [Thu, 18 Mar 2021 21:15:04 +0000 (22:15 +0100)]
patch 8.2.2621: typval2type() cannot handle recursive structures

Problem:    typval2type() cannot handle recursive structures.
Solution:   Use copyID. (closes #7979)

3 years agopatch 8.2.2620: Vim9: Using #{ for a dictionary gives strange errors v8.2.2620
Bram Moolenaar [Thu, 18 Mar 2021 20:37:55 +0000 (21:37 +0100)]
patch 8.2.2620: Vim9: Using #{ for a dictionary gives strange errors

Problem:    Vim9: Using #{ for a dictionary gives strange errors.
Solution:   Give an error when using #{ for a comment after a command.

3 years agopatch 8.2.2619: Vim9: no test for return type of lambda v8.2.2619
Bram Moolenaar [Wed, 17 Mar 2021 20:29:29 +0000 (21:29 +0100)]
patch 8.2.2619: Vim9: no test for return type of lambda

Problem:    Vim9: no test for return type of lambda.
Solution:   Add a test.

3 years agopatch 8.2.2618: Vim9: cannot use a normal list name to store function refs v8.2.2618
Bram Moolenaar [Wed, 17 Mar 2021 19:56:38 +0000 (20:56 +0100)]
patch 8.2.2618: Vim9: cannot use a normal list name to store function refs

Problem:    Vim9: cannot use a normal list name to store function refs.
Solution:   Allow a lower case name if it is indexed.

3 years agopatch 8.2.2617: Vim9: script variable in block not found by function v8.2.2617
Bram Moolenaar [Wed, 17 Mar 2021 17:42:08 +0000 (18:42 +0100)]
patch 8.2.2617: Vim9: script variable in block not found by function

Problem:    Vim9: script variable in a block scope not found by a nested
            function.
Solution:   Copy the block scope IDs before compiling the function.

3 years agopatch 8.2.2616: Vim9: if 'cpo' is change in Vim9 script it may be restored v8.2.2616
Bram Moolenaar [Wed, 17 Mar 2021 16:46:00 +0000 (17:46 +0100)]
patch 8.2.2616: Vim9: if 'cpo' is change in Vim9 script it may be restored

Problem:    Vim9: if 'cpo' is change in Vim9 script it may be restored.
Solution:   Apply the changes to 'cpo' to the restored value.

3 years agopatch 8.2.2615: test is sourcing the wrong file v8.2.2615
Bram Moolenaar [Wed, 17 Mar 2021 14:23:16 +0000 (15:23 +0100)]
patch 8.2.2615: test is sourcing the wrong file

Problem:    Test is sourcing the wrong file.
Solution:   Correct the file name.

3 years agopatch 8.2.2614: Vim9: function is deleted while executing v8.2.2614
Bram Moolenaar [Wed, 17 Mar 2021 14:03:04 +0000 (15:03 +0100)]
patch 8.2.2614: Vim9: function is deleted while executing

Problem:    Vim9: function is deleted while executing.
Solution:   increment the call count, when more than zero do not delete the
            function but mark it as dead. (closes #7977)

3 years agopatch 8.2.2613: new test throws exception v8.2.2613
Bram Moolenaar [Wed, 17 Mar 2021 12:39:33 +0000 (13:39 +0100)]
patch 8.2.2613: new test throws exception

Problem:    New test throws exception.
Solution:   Adjust the function cleanup.

3 years agopatch 8.2.2612: col('.') may get outdated column value v8.2.2612
Bram Moolenaar [Wed, 17 Mar 2021 12:28:05 +0000 (13:28 +0100)]
patch 8.2.2612: col('.') may get outdated column value

Problem:    col('.') may get outdated column value.
Solution:   Add a note to the help how to make this work and add a test for
            it. (closes #7971)

3 years agopatch 8.2.2611: conditions for startup tests are not exactly right v8.2.2611
Bram Moolenaar [Wed, 17 Mar 2021 11:27:23 +0000 (12:27 +0100)]
patch 8.2.2611: conditions for startup tests are not exactly right

Problem:    Conditions for startup tests are not exactly right.
Solution:   Check for type of GUI instead of MS-Windows. (Ozaki Kiichi,
            closes #7976)

3 years agopatch 8.2.2610: mouse click test fails when using remote connection v8.2.2610
Bram Moolenaar [Tue, 16 Mar 2021 20:17:16 +0000 (21:17 +0100)]
patch 8.2.2610: mouse click test fails when using remote connection

Problem:    Mouse click test fails when using remote connection.
Solution:   Use a larger 'mousetime'. (Dominique Pellé, closes #7968)

3 years agopatch 8.2.2609: test disabled on MS-Windows even though it should work v8.2.2609
Bram Moolenaar [Tue, 16 Mar 2021 12:23:30 +0000 (13:23 +0100)]
patch 8.2.2609: test disabled on MS-Windows even though it should work

Problem:    Test disabled on MS-Windows even though it should work.
Solution:   Restore the condition for skipping the test. (Ken Takata,
            closes #7970)

3 years agopatch 8.2.2608: character input not fully tested v8.2.2608
Bram Moolenaar [Mon, 15 Mar 2021 17:36:20 +0000 (18:36 +0100)]
patch 8.2.2608: character input not fully tested

Problem:    Character input not fully tested.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #7963)

3 years agopatch 8.2.2607: strcharpart() cannot include composing characters v8.2.2607
Bram Moolenaar [Sun, 14 Mar 2021 18:46:45 +0000 (19:46 +0100)]
patch 8.2.2607: strcharpart() cannot include composing characters

Problem:    strcharpart() cannot include composing characters.
Solution:   Add the {skipcc} argument.

3 years agopatch 8.2.2606: strchars() defaults to counting composing characters v8.2.2606
Bram Moolenaar [Sun, 14 Mar 2021 18:02:09 +0000 (19:02 +0100)]
patch 8.2.2606: strchars() defaults to counting composing characters

Problem:    strchars() defaults to counting composing characters.
Solution:   Add strcharlen() which ignores composing characters.

3 years agopatch 8.2.2605: Vim9: string index and slice does not include composing chars v8.2.2605
Bram Moolenaar [Sun, 14 Mar 2021 17:40:19 +0000 (18:40 +0100)]
patch 8.2.2605: Vim9: string index and slice does not include composing chars

Problem:    Vim9: string index and slice does not include composing chars.
Solution:   Include composing characters. (issue #6563)

3 years agopatch 8.2.2604: GUI-specific command line arguments not tested v8.2.2604
Bram Moolenaar [Sun, 14 Mar 2021 15:20:37 +0000 (16:20 +0100)]
patch 8.2.2604: GUI-specific command line arguments not tested

Problem:    GUI-specific command line arguments not tested.
Solution:   Add tests for several arguments. (Dominique Pellé, closes #7962)

3 years agopatch 8.2.2603: Vim9: no effect if user command is also a function v8.2.2603
Bram Moolenaar [Sun, 14 Mar 2021 12:21:35 +0000 (13:21 +0100)]
patch 8.2.2603: Vim9: no effect if user command is also a function

Problem:    Vim9: no effect if user command is also a function.
Solution:   Check for paren following. (closes #7960)

3 years agopatch 8.2.2602: Vim9: continue doesn't work if :while is very first command v8.2.2602
Bram Moolenaar [Sun, 14 Mar 2021 11:13:33 +0000 (12:13 +0100)]
patch 8.2.2602: Vim9: continue doesn't work if :while is very first command

Problem:    Vim9: continue doesn't work if :while is very first command.
            (Yegappan Lakshmanan)
Solution:   Add one to the continue instruction index.

3 years agopatch 8.2.2601: memory usage test often fails on FreeBSD v8.2.2601
Bram Moolenaar [Sat, 13 Mar 2021 21:11:51 +0000 (22:11 +0100)]
patch 8.2.2601: memory usage test often fails on FreeBSD

Problem:    Memory usage test often fails on FreeBSD.
Solution:   Increase multiplier for upper limit.

3 years agopatch 8.2.2600: Vim9: crash when putting an unknown type in a dictionary v8.2.2600
Bram Moolenaar [Sat, 13 Mar 2021 20:24:56 +0000 (21:24 +0100)]
patch 8.2.2600: Vim9: crash when putting an unknown type in a dictionary

Problem:    Vim9: crash when putting an unknown type in a dictionary.
            (Yegappan Lakshmanan)
Solution:   Handle a NULL type pointer.

3 years agopatch 8.2.2599: build failure v8.2.2599
Bram Moolenaar [Sat, 13 Mar 2021 20:14:18 +0000 (21:14 +0100)]
patch 8.2.2599: build failure

Problem:    Build failure.
Solution:   Add missing change.

3 years agopatch 8.2.2598: Vim9: :open does not need to be supported v8.2.2598
Bram Moolenaar [Sat, 13 Mar 2021 20:07:21 +0000 (21:07 +0100)]
patch 8.2.2598: Vim9: :open does not need to be supported

Problem:    Vim9: :open does not need to be supported.
Solution:   Do not support :open in Vim9 script.

3 years agopatch 8.2.2597: Vim9: "import * as" does not work at script level v8.2.2597
Bram Moolenaar [Sat, 13 Mar 2021 19:57:19 +0000 (20:57 +0100)]
patch 8.2.2597: Vim9: "import * as" does not work at script level

Problem:    Vim9: "import * as" does not work at script level.
Solution:   Implement using an imported namespace.

3 years agopatch 8.2.2596: :doautocmd may confuse scripts listening to WinEnter v8.2.2596
Bram Moolenaar [Sat, 13 Mar 2021 14:47:56 +0000 (15:47 +0100)]
patch 8.2.2596: :doautocmd may confuse scripts listening to WinEnter

Problem:    :doautocmd may confuse scripts listening to WinEnter.
Solution:   Do the current buffer last. (closes #7958)

3 years agopatch 8.2.2595: setting 'winminheight' may cause 'lines' to change v8.2.2595
Bram Moolenaar [Sat, 13 Mar 2021 13:29:05 +0000 (14:29 +0100)]
patch 8.2.2595: setting 'winminheight' may cause 'lines' to change

Problem:    Setting 'winminheight' may cause 'lines' to change.
Solution:   Also take minimal height of other tabpages into account. (#7899)

3 years agopatch 8.2.2594: alternate buffer added to session file even when it's hidden v8.2.2594
Bram Moolenaar [Sat, 13 Mar 2021 12:52:33 +0000 (13:52 +0100)]
patch 8.2.2594: alternate buffer added to session file even when it's hidden

Problem:    Alternate buffer added to session file even when it's hidden.
Solution:   Check the 'buflisted' option. (closes #7951)

3 years agopatch 8.2.2593: list of distributed files is incomplete v8.2.2593
Bram Moolenaar [Sat, 13 Mar 2021 12:30:03 +0000 (13:30 +0100)]
patch 8.2.2593: list of distributed files is incomplete

Problem:    List of distributed files is incomplete.
Solution:   Add a file and rename another.

3 years agoUpdate runtime files.
Bram Moolenaar [Sat, 13 Mar 2021 12:28:13 +0000 (13:28 +0100)]
Update runtime files.

3 years agopatch 8.2.2592: code coverage could be improved v8.2.2592
Bram Moolenaar [Sat, 13 Mar 2021 12:14:04 +0000 (13:14 +0100)]
patch 8.2.2592: code coverage could be improved

Problem:    Code coverage could be improved.
Solution:   Add a few more tests. (Dominique Pellé, closes #7957)

3 years agopatch 8.2.2591: Poke files are not recognized v8.2.2591
Bram Moolenaar [Fri, 12 Mar 2021 21:16:41 +0000 (22:16 +0100)]
patch 8.2.2591: Poke files are not recognized

Problem:    Poke files are not recognized.
Solution:   Add a filetype entry. (Matt Ihlenfield)

3 years agopatch 8.2.2590: Vim9: default argument value may cause internal error v8.2.2590
Bram Moolenaar [Thu, 11 Mar 2021 19:04:04 +0000 (20:04 +0100)]
patch 8.2.2590: Vim9: default argument value may cause internal error

Problem:    Vim9: default argument value may cause internal error.
Solution:   Hide later function arguments when compiling the expression.
            (closes #7948)

3 years agopatch 8.2.2589: recover test hangs in the GUI v8.2.2589
Bram Moolenaar [Wed, 10 Mar 2021 21:27:48 +0000 (22:27 +0100)]
patch 8.2.2589: recover test hangs in the GUI

Problem:    Recover test hangs in the GUI.
Solution:   Add g:skipped_reason to skip a _nocatch_ test.

3 years agopatch 8.2.2588: build failure with tiny features v8.2.2588
Bram Moolenaar [Wed, 10 Mar 2021 20:55:46 +0000 (21:55 +0100)]
patch 8.2.2588: build failure with tiny features

Problem:    Build failure with tiny features.
Solution:   Add #ifdef.  Run recover test separately.

3 years agopatch 8.2.2587: recover test fails on FreeBSD v8.2.2587
Bram Moolenaar [Wed, 10 Mar 2021 20:46:39 +0000 (21:46 +0100)]
patch 8.2.2587: recover test fails on FreeBSD

Problem:    Recover test fails on FreeBSD.
Solution:   Check for Linux.

3 years agopatch 8.2.2586: process id may be invalid v8.2.2586
Bram Moolenaar [Wed, 10 Mar 2021 20:26:37 +0000 (21:26 +0100)]
patch 8.2.2586: process id may be invalid

Problem:    Process id may be invalid.
Solution:   Use sysinfo.uptime to check for recent reboot. (suggested by Hugo
            van der Sanden, closes #7947)

3 years agopatch 8.2.2585: Vim9: illegal memory access v8.2.2585
Bram Moolenaar [Wed, 10 Mar 2021 18:04:07 +0000 (19:04 +0100)]
patch 8.2.2585: Vim9: illegal memory access

Problem:    Vim9: illegal memory access.
Solution:   Check byte right after "null", not one more.

3 years agopatch 8.2.2584: Vim9: type error for assigning "any" to a list v8.2.2584
Bram Moolenaar [Wed, 10 Mar 2021 17:43:09 +0000 (18:43 +0100)]
patch 8.2.2584: Vim9: type error for assigning "any" to a list

Problem:    Vim9: type error for assigning the result of list concatenation to
            a list.
Solution:   Do not consider concatenation result in a constant. (closes #7942)

3 years agopatch 8.2.2583: Vim9: cannot compare result of getenv() with null v8.2.2583
Bram Moolenaar [Wed, 10 Mar 2021 15:08:26 +0000 (16:08 +0100)]
patch 8.2.2583: Vim9: cannot compare result of getenv() with null

Problem:    Vim9: cannot compare result of getenv() with null.
Solution:   Make the return type of getenv() "any". (closes #7943)

3 years agopatch 8.2.2582: Vim9: screendump test fails on MS-Windows v8.2.2582
Bram Moolenaar [Wed, 10 Mar 2021 13:00:18 +0000 (14:00 +0100)]
patch 8.2.2582: Vim9: screendump test fails on MS-Windows

Problem:    Vim9: screendump test fails on MS-Windows.
Solution:   Use :function instead of :def.

3 years agopatch 8.2.2581: Vim9: sourcing Vim9 script triggers a redraw v8.2.2581
Bram Moolenaar [Wed, 10 Mar 2021 12:40:08 +0000 (13:40 +0100)]
patch 8.2.2581: Vim9: sourcing Vim9 script triggers a redraw

Problem:    Vim9: sourcing Vim9 script triggers a redraw.
Solution:   Do not let setting/restoring 'cpoptions' cause a redraw.
            (closes #7920)

3 years agopatch 8.2.2580: Vim9: checking vararg type may be wrong v8.2.2580
Bram Moolenaar [Mon, 8 Mar 2021 20:47:13 +0000 (21:47 +0100)]
patch 8.2.2580: Vim9: checking vararg type may be wrong

Problem:    Vim9: checking vararg type is wrong when function is auto-loaded.
Solution:   Use the member type. (closes #7933)

3 years agopatch 8.2.2579: Vim9: crash in garbagecollect after for loop v8.2.2579
Bram Moolenaar [Mon, 8 Mar 2021 19:47:14 +0000 (20:47 +0100)]
patch 8.2.2579: Vim9: crash in garbagecollect after for loop

Problem:    Vim9: crash in garbagecollect after for loop.
Solution:   Do not set a reference in script item when the name was cleared.
            (closes #7935)

3 years agopatch 8.2.2578: Lua cannot handle a passed in lambda v8.2.2578
Bram Moolenaar [Mon, 8 Mar 2021 18:50:24 +0000 (19:50 +0100)]
patch 8.2.2578: Lua cannot handle a passed in lambda

Problem:    Lua cannot handle a passed in lambda.
Solution:   Handle VAR_PARTIAL. (Prabir Shrestha, closes #7937, closes #7936)

3 years agopatch 8.2.2577: compiler warning for type conversion v8.2.2577
Bram Moolenaar [Mon, 8 Mar 2021 18:04:05 +0000 (19:04 +0100)]
patch 8.2.2577: compiler warning for type conversion

Problem:    Compiler warning for type conversion.
Solution:   Add a typecast. (Mike Williams)

3 years agopatch 8.2.2576: Vim9: defining a :func function checks for white space v8.2.2576
Bram Moolenaar [Sat, 6 Mar 2021 21:33:12 +0000 (22:33 +0100)]
patch 8.2.2576: Vim9: defining a :func function checks for white space

Problem:    Vim9: defining a :func function checks for white space after a
            comma in the arguments.
Solution:   Only check for white space in a :def function. (closes #7930)

3 years agopatch 8.2.2575: Vim9: a function name with "->" in the next line doesn't work v8.2.2575
Bram Moolenaar [Sat, 6 Mar 2021 20:01:09 +0000 (21:01 +0100)]
patch 8.2.2575: Vim9: a function name with "->" in the next line doesn't work

Problem:    Vim9: a function name with "->" in the next line doesn't work.
Solution:   Recognize a function name by itself. (closes #7770)

3 years agopatch 8.2.2574: Vim9: crash when calling partial with wrong function v8.2.2574
Bram Moolenaar [Sat, 6 Mar 2021 18:26:46 +0000 (19:26 +0100)]
patch 8.2.2574: Vim9: crash when calling partial with wrong function

Problem:    Vim9: crash when calling partial with wrong function.
Solution:   Check argument types of called function. (closes #7912)

3 years agopatch 8.2.2573: Vim9: using inalid pointer for error message v8.2.2573
Bram Moolenaar [Sat, 6 Mar 2021 17:18:19 +0000 (18:18 +0100)]
patch 8.2.2573: Vim9: using inalid pointer for error message

Problem:    Vim9: using inalid pointer for error message.
Solution:   Use the right pointer. (closes #7921)

3 years agopatch 8.2.2572: Vim9: crash when getting the types for a legacy function v8.2.2572
Bram Moolenaar [Fri, 5 Mar 2021 20:35:47 +0000 (21:35 +0100)]
patch 8.2.2572: Vim9: crash when getting the types for a legacy function

Problem:    Vim9: crash when getting the types for a legacy function.
Solution:   Initialize the type list growarray. (closes #7929)

3 years agopatch 8.2.2571: test may leave file behind v8.2.2571
Bram Moolenaar [Fri, 5 Mar 2021 19:58:22 +0000 (20:58 +0100)]
patch 8.2.2571: test may leave file behind

Problem:    Test may leave file behind.
Solution:   Delete the temporary file.  Don't profile in the running Vim
            instance.

3 years agopatch 8.2.2570: tests fail when run as root v8.2.2570
Bram Moolenaar [Fri, 5 Mar 2021 19:47:44 +0000 (20:47 +0100)]
patch 8.2.2570: tests fail when run as root

Problem:    Tests fail when run as root.
Solution:   Add a comment mentioning the expected failure. (issue #7919)

3 years agopatch 8.2.2569: 'fillchars' "stl" and "stlnc" items must be single byte v8.2.2569
Bram Moolenaar [Thu, 4 Mar 2021 20:55:58 +0000 (21:55 +0100)]
patch 8.2.2569: 'fillchars' "stl" and "stlnc" items must be single byte

Problem:    'fillchars' "stl" and "stlnc" items must be single byte.
Solution:   Accept multi-byte characters. (Christian Wellenbrock, Yegappan
            Lakshmanan, closes #7927)

3 years agopatch 8.2.2568: second time a preview popup is opened highlight is not set v8.2.2568
Bram Moolenaar [Thu, 4 Mar 2021 20:35:07 +0000 (21:35 +0100)]
patch 8.2.2568: second time a preview popup is opened highlight is not set

Problem:    Second time a preview popup is opened highlight is not set.
            (Gabriel Dupras)
Solution:   Apply 'previewpopup' after getting the file. (closes #7928)

3 years agopatch 8.2.2567: Vim9: no error if variable is defined for existing function v8.2.2567
Bram Moolenaar [Thu, 4 Mar 2021 11:38:21 +0000 (12:38 +0100)]
patch 8.2.2567: Vim9: no error if variable is defined for existing function

Problem:    Vim9: no error if variable is defined for existing function.
Solution:   Check if name isn't already in use. (closes #7897)

3 years agopatch 8.2.2566: Vim9: Function name is not recognized v8.2.2566
Bram Moolenaar [Wed, 3 Mar 2021 20:22:41 +0000 (21:22 +0100)]
patch 8.2.2566: Vim9: Function name is not recognized

Problem:    Vim9: Function name is not recognized.
Solution:   Change lookup_scriptvar() to also find function names.
            (closes #7770)

3 years agopatch 8.2.2565: Vim9: "..=" not always recognized v8.2.2565
Bram Moolenaar [Wed, 3 Mar 2021 16:58:16 +0000 (17:58 +0100)]
patch 8.2.2565: Vim9: "..=" not always recognized

Problem:    Vim9: "..=" not always recognized.
Solution:   Do not consider "..=" to be string concatenation. (closes #7905)

3 years agopatch 8.2.2564: focus events end Insert mode if 'esckeys' is not set v8.2.2564
Bram Moolenaar [Wed, 3 Mar 2021 14:24:28 +0000 (15:24 +0100)]
patch 8.2.2564: focus events end Insert mode if 'esckeys' is not set

Problem:    Focus events end Insert mode if 'esckeys' is not set.
Solution:   Do not enable focus events when 'esckeys' is off. (closes #7926)

3 years agopatch 8.2.2563: cannot use multibyte characters for folding in 'fillchars' v8.2.2563
Bram Moolenaar [Wed, 3 Mar 2021 12:26:02 +0000 (13:26 +0100)]
patch 8.2.2563: cannot use multibyte characters for folding in 'fillchars'

Problem:    Cannot use multibyte characters for folding in 'fillchars'.
Solution:   Port pull request 11568 to Vim. (Yegappan Lakshmanan,
            closes #7924)

3 years agopatch 8.2.2562: GUI: star register changed when 'clipboard is "unnamedplus" v8.2.2562
Bram Moolenaar [Tue, 2 Mar 2021 18:04:11 +0000 (19:04 +0100)]
patch 8.2.2562: GUI: star register changed when 'clipboard is "unnamedplus"

Problem:    GUI: star register changed when 'clipboard is "unnamedplus". (Ingo
            Karkat)
Solution:   Do not change the star register when 'clipboard' contains
            "unnamedplus" and not "unnamed". (closes #1516)

3 years agopatch 8.2.2561: not all textprop code is covered by tests v8.2.2561
Bram Moolenaar [Tue, 2 Mar 2021 12:36:47 +0000 (13:36 +0100)]
patch 8.2.2561: not all textprop code is covered by tests

Problem:    Not all textprop code is covered by tests.
Solution:   Add a few more test cases. (Dominique Pellé, closes #7908)

3 years agopatch 8.2.2560: setting 'winminheigt' does not take tabline into account v8.2.2560
Bram Moolenaar [Mon, 1 Mar 2021 20:02:46 +0000 (21:02 +0100)]
patch 8.2.2560: setting 'winminheigt' does not take tabline into account

Problem:    Setting 'winminheigt' does not take tabline into account.
Solution:   Subtract the tabline from the available height. (closes #7899)

3 years agopatch 8.2.2559: MS-Windows: guifont test fails on Windows XP v8.2.2559
Bram Moolenaar [Sun, 28 Feb 2021 22:13:40 +0000 (23:13 +0100)]
patch 8.2.2559: MS-Windows: guifont test fails on Windows XP

Problem:    MS-Windows: guifont test fails on Windows XP.
Solution:   Check windowsversion().

3 years agopatch 8.2.2558: no error if a lambda argument shadows a variable v8.2.2558
Bram Moolenaar [Sun, 28 Feb 2021 15:55:11 +0000 (16:55 +0100)]
patch 8.2.2558: no error if a lambda argument shadows a variable

Problem:    No error if a lambda argument shadows a variable.
Solution:   Check that the argument name shadows a local, argument or script
            variable. (closes #7898)

3 years agopatch 8.2.2557: compiler warning for shadowd variable v8.2.2557
Bram Moolenaar [Sat, 27 Feb 2021 22:39:22 +0000 (23:39 +0100)]
patch 8.2.2557: compiler warning for shadowd variable

Problem:    Compiler warning for shadowd variable.
Solution:   Declare "p" only once.

3 years agopatch 8.2.2556: Vim9: :import with "as" not fully supported v8.2.2556
Bram Moolenaar [Sat, 27 Feb 2021 21:41:19 +0000 (22:41 +0100)]
patch 8.2.2556: Vim9: :import with "as" not fully supported

Problem:    Vim9: :import with "as" not fully supported.
Solution:   Implement "as" for more cases.

3 years agopatch 8.2.2555: Vim9: missing test for 8.2.2553 v8.2.2555
Bram Moolenaar [Sat, 27 Feb 2021 21:36:43 +0000 (22:36 +0100)]
patch 8.2.2555: Vim9: missing test for 8.2.2553

Problem:    Vim9: missing test for 8.2.2553.
Solution:   Add a simple test.

3 years agopatch 8.2.2554: Vim9: exporting a final is not tested v8.2.2554
Bram Moolenaar [Sat, 27 Feb 2021 21:33:21 +0000 (22:33 +0100)]
patch 8.2.2554: Vim9: exporting a final is not tested

Problem:    Vim9: exporting a final is not tested.
Solution:   Add a test.

3 years agoUpdate runtime files.
Bram Moolenaar [Sat, 27 Feb 2021 15:38:07 +0000 (16:38 +0100)]
Update runtime files.

3 years agopatch 8.2.2553: Vim9: Cannot put "|" after "{" v8.2.2553
Bram Moolenaar [Fri, 26 Feb 2021 21:21:23 +0000 (22:21 +0100)]
patch 8.2.2553: Vim9: Cannot put "|" after "{"

Problem:    Vim9: Cannot put "|" after "{".
Solution:   Add the EX_TRLBAR flag. (issue #7904)

3 years agopatch 8.2.2552: Vim9: no reason to consider "{{{{{{{{" a command v8.2.2552
Bram Moolenaar [Fri, 26 Feb 2021 20:56:47 +0000 (21:56 +0100)]
patch 8.2.2552: Vim9: no reason to consider "{{{{{{{{" a command

Problem:    Vim9: no reason to consider "{{{{{{{{" a command.
Solution:   Just use "{". (issue #7904)

3 years agopatch 8.2.2551: MS-Windows: colors test file is not installed v8.2.2551
Bram Moolenaar [Fri, 26 Feb 2021 19:25:35 +0000 (20:25 +0100)]
patch 8.2.2551: MS-Windows: colors test file is not installed

Problem:    MS-Windows: colors test file is not installed.
Solution:   Also copy runtime/colors/tools. (Ken Takata, closes #7902)

3 years agopatch 8.2.2550: signal stack size is wrong with latest glibc 2.34 v8.2.2550
Bram Moolenaar [Thu, 25 Feb 2021 16:17:56 +0000 (17:17 +0100)]
patch 8.2.2550: signal stack size is wrong with latest glibc 2.34

Problem:    Signal stack size is wrong with latest glibc 2.34.
Solution:   Use sysconf(_SC_SIGSTKSZ) if available. (Zdenek Dohnal, closes
            #7895)

3 years agopatch 8.2.2549: crash after using "g:" in a for loop v8.2.2549
Bram Moolenaar [Wed, 24 Feb 2021 11:27:31 +0000 (12:27 +0100)]
patch 8.2.2549: crash after using "g:" in a for loop

Problem:    Crash after using "g:" in a for loop.
Solution:   Increment the reference count. (closes #7892)

3 years agopatch 8.2.2548: May get stuck in the cmdline window using :normal v8.2.2548
Bram Moolenaar [Tue, 23 Feb 2021 18:39:20 +0000 (19:39 +0100)]
patch 8.2.2548: May get stuck in the cmdline window using :normal

Problem:    May get stuck in the cmdline window using :normal.
Solution:   Have nv_esc() return K_IGNORE.

3 years agopatch 8.2.2547: "%" command not accurate for big files v8.2.2547
Bram Moolenaar [Tue, 23 Feb 2021 18:32:03 +0000 (19:32 +0100)]
patch 8.2.2547: "%" command not accurate for big files

Problem:    "%" command not accurate for big files.
Solution:   Make it more accurate for files up to 21M lines. (Dominique Pellé,
            closes #7889)

3 years agopatch 8.2.2546: typo in mouse key name v8.2.2546
Bram Moolenaar [Tue, 23 Feb 2021 18:19:58 +0000 (19:19 +0100)]
patch 8.2.2546: typo in mouse key name

Problem:    Typo in mouse key name.
Solution:   Fix the typo. (issue #4725)

3 years agopatch 8.2.2545: errors and crash when terminal window is zero height v8.2.2545
Bram Moolenaar [Tue, 23 Feb 2021 16:47:23 +0000 (17:47 +0100)]
patch 8.2.2545: errors and crash when terminal window is zero height

Problem:    Errors and crash when terminal window is zero height. (Leonid V.
            Fedorenchik)
Solution:   Do not resize when width or height is zero. (closes #7890)

3 years agopatch 8.2.2544: Vim9: error for argument when checking for lambda v8.2.2544
Bram Moolenaar [Tue, 23 Feb 2021 11:05:46 +0000 (12:05 +0100)]
patch 8.2.2544: Vim9: error for argument when checking for lambda

Problem:    Vim9: error for argument when checking for lambda.
Solution:   Respect the skip flag. (closes #7887)

3 years agopatch 8.2.2543: Vim9: a return inside try/catch does not restore properly v8.2.2543
Bram Moolenaar [Mon, 22 Feb 2021 21:45:10 +0000 (22:45 +0100)]
patch 8.2.2543: Vim9: a return inside try/catch does not restore properly

Problem:    Vim9: a return inside try/catch does not restore exception state
            properly.
Solution:   When there is no ":finally" jump to ":endtry". (closes #7882)