]>
granicus.if.org Git - vim/log
Bram Moolenaar [Sat, 27 Mar 2021 17:59:25 +0000 (18:59 +0100)]
patch 8.2.2664: Vim9: not enough function arguments checked for string
Problem: Vim9: not enough function arguments checked for string.
Solution: Check in balloon functions. Refactor function arguments.
Bram Moolenaar [Sat, 27 Mar 2021 14:40:11 +0000 (15:40 +0100)]
patch 8.2.2663: Vim9: leaking memory when inline function has an error
Problem: Vim9: leaking memory when inline function has an error.
Solution: Free the partially allocated function.
Bram Moolenaar [Sat, 27 Mar 2021 11:11:33 +0000 (12:11 +0100)]
patch 8.2.2662: there is no way to avoid some escape sequences
Problem: There is no way to avoid some escape sequences.
Solution: Suppress escape sequences when the --not-a-term argument is used.
(Gary Johnson)
Bram Moolenaar [Fri, 26 Mar 2021 21:15:26 +0000 (22:15 +0100)]
patch 8.2.2661: leaking memory when looping over a string
Problem: Leaking memory when looping over a string.
Solution: Free the memory.
Bram Moolenaar [Fri, 26 Mar 2021 20:27:52 +0000 (21:27 +0100)]
patch 8.2.2660: Vim9: no error for declaration with trailing text
Problem: Vim9: no error for declaration with trailing text.
Solution: Give an error. (closes #8014)
Bram Moolenaar [Fri, 26 Mar 2021 19:56:45 +0000 (20:56 +0100)]
patch 8.2.2659: eval test fails because for loop on string works
Problem: Eval test fails because for loop on string works.
Solution: Check looping over function reference fails.
Bram Moolenaar [Fri, 26 Mar 2021 19:41:29 +0000 (20:41 +0100)]
patch 8.2.2658: :for cannot loop over a string
Problem: :for cannot loop over a string.
Solution: Accept a string argument and iterate over its characters.
Bram Moolenaar [Fri, 26 Mar 2021 17:49:22 +0000 (18:49 +0100)]
patch 8.2.2657: Vim9: error message for declaring variable in for loop
Problem: Vim9: error message for declaring variable in for loop.
Solution: Clear variables when entering block again. (closes #8012)
Bram Moolenaar [Fri, 26 Mar 2021 16:24:34 +0000 (17:24 +0100)]
patch 8.2.2656: some command line arguments and regexp errors not tested
Problem: Some command line arguments and regexp errors not tested.
Solution: Add a few test cases. (Dominique Pellé, closes #8013)
Bram Moolenaar [Fri, 26 Mar 2021 13:14:18 +0000 (14:14 +0100)]
patch 8.2.2655: The -w command line argument doesn't work
Problem: The -w command line argument doesn't work.
Solution: Don't set 'window' when set with the -w argument. (closes #8011)
Bram Moolenaar [Fri, 26 Mar 2021 12:34:05 +0000 (13:34 +0100)]
patch 8.2.2654: Vim9: getting a character from a string can be slow
Problem: Vim9: getting a character from a string can be slow.
Solution: Avoid a function call to get the character byte size. (#8000)
Bram Moolenaar [Thu, 25 Mar 2021 21:22:30 +0000 (22:22 +0100)]
patch 8.2.2653: build failure
Problem: Build failure.
Solution: Add missing changes.
Bram Moolenaar [Thu, 25 Mar 2021 21:15:28 +0000 (22:15 +0100)]
patch 8.2.2652: Vim9: can use command modifier without an effect
Problem: Vim9: can use command modifier without an effect.
Solution: Give an error for a misplaced command modifier. Fix error message
number.
Bram Moolenaar [Thu, 25 Mar 2021 20:12:15 +0000 (21:12 +0100)]
patch 8.2.2651: Vim9: restoring command modifiers happens after jump
Problem: Vim9: restoring command modifiers happens after jump.
Solution: Move the restore instruction to before the jump. (closes #8006)
Also handle for and while.
Bram Moolenaar [Wed, 24 Mar 2021 21:00:56 +0000 (22:00 +0100)]
patch 8.2.2650: Vim9: command modifiers not handled in nested function
Problem: Vim9: command modifiers not handled in nested function.
Solution: Keep function-local info in a structure and save it on the stack.
Bram Moolenaar [Wed, 24 Mar 2021 19:08:12 +0000 (20:08 +0100)]
patch 8.2.2649: Vim9: some wincmd arguments cause a white space error
Problem: Vim9: some wincmd arguments cause a white space error.
Solution: Insert a space before the count. (closes #8001)
Bram Moolenaar [Tue, 23 Mar 2021 18:22:12 +0000 (19:22 +0100)]
patch 8.2.2648: terminal resize test sometimes hangs
Problem: Terminal resize test sometimes hangs.
Solution: Wait for the shell to display a prompt and other output.
Bram Moolenaar [Tue, 23 Mar 2021 15:25:09 +0000 (16:25 +0100)]
patch 8.2.2647: terminal test sometimes hangs
Problem: Terminal test sometimes hangs.
Solution: Wait for the shell to display a prompt.
Bram Moolenaar [Mon, 22 Mar 2021 21:21:26 +0000 (22:21 +0100)]
patch 8.2.2646: Vim9: error for not using string doesn't mentionargument
Problem: Vim9: error for not using string doesn't mention argument.
Solution: Add argument number.
Bram Moolenaar [Mon, 22 Mar 2021 19:49:02 +0000 (20:49 +0100)]
patch 8.2.2645: using inline function is not properly tested
Problem: Using inline function is not properly tested.
Solution: Add test cases, esp. for errors. Minor code improvements.
Bram Moolenaar [Mon, 22 Mar 2021 18:43:34 +0000 (19:43 +0100)]
patch 8.2.2644: prop_clear() causes a screen update even when nothing changed
Problem: prop_clear() causes a screen update even when nothing changed.
Solution: Only redraw when a property was cleared. (Dominique Pellé)
Bram Moolenaar [Mon, 22 Mar 2021 18:37:06 +0000 (19:37 +0100)]
patch 8.2.2643: various code not covered by tests
Problem: Various code not covered by tests.
Solution: Add a few more test. (Yegappan Lakshmanan, closes #7995)
Bram Moolenaar [Mon, 22 Mar 2021 17:22:30 +0000 (18:22 +0100)]
patch 8.2.2642: Vim9: no clear error for wrong inline function
Problem: Vim9: no clear error for wrong inline function.
Solution: Check for something following the "{".
Bram Moolenaar [Mon, 22 Mar 2021 16:30:47 +0000 (17:30 +0100)]
patch 8.2.2641: display test fails because of lacking redraw
Problem: Display test fails because of lacking redraw.
Solution: Add a redraw command.
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.
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.
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)
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.
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.
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.
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)
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)
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)
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)
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)
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)
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.
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)
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)
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)
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)
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.
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)
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)
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.
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.
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.
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.
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.
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.
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)
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.
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)
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)
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)
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)
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)
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.
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.
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)
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)
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)
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.
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.
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.
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.
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.
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.
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)
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)
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)
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.
Bram Moolenaar [Sat, 13 Mar 2021 12:28:13 +0000 (13:28 +0100)]
Update runtime files.
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)
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)
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)
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.
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.
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.
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)
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.
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)
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)
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.
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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.
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)
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)
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)
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)
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)