]>
granicus.if.org Git - vim/log
Bram Moolenaar [Sun, 16 Jan 2022 13:58:33 +0000 (13:58 +0000)]
patch 8.2.4108: going over the end of the w_lines array
Problem: Going over the end of the w_lines array.
Solution: Check not going over the end and limit to Rows. (issue #9540)
Bram Moolenaar [Sun, 16 Jan 2022 13:30:33 +0000 (13:30 +0000)]
patch 8.2.4107: script context not restored after using <ScriptCmd>
Problem: Script context not restored after using <ScriptCmd>.
Solution: Also restore context when not in a script. (closes #9536)
Add the 'c' flag to feedkeys() to be able to test this.
Bram Moolenaar [Sun, 16 Jan 2022 11:42:20 +0000 (11:42 +0000)]
patch 8.2.4106: going over the end of the w_lines array
Problem: Going over the end of the w_lines array.
Solution: Break out of the loop when "idx" is too big. (issue #9540)
K.Takata [Sun, 16 Jan 2022 11:25:26 +0000 (11:25 +0000)]
patch 8.2.4105: translation related comment in the wrong place
Problem: Translation related comment in the wrong place.
Solution: Move it back with the text. (Ken Takata, closes #9537)
Bram Moolenaar [Sun, 16 Jan 2022 11:12:12 +0000 (11:12 +0000)]
patch 8.2.4104: Vim9: lower casing the autoload prefix causes problems
Problem: Vim9: lower casing the autoload prefix causes problems.
Solution: Always store the prefix with case preserved.
Bram Moolenaar [Sat, 15 Jan 2022 21:44:44 +0000 (21:44 +0000)]
patch 8.2.4103: Vim9: variable declared in for loop not initialzed
Problem: Vim9: variable declared in for loop not initialzed.
Solution: Always initialze the variable. (closes #9535)
Bram Moolenaar [Sat, 15 Jan 2022 21:08:19 +0000 (21:08 +0000)]
patch 8.2.4102: Vim9: import cannot be used after method
Problem: Vim9: import cannot be used after method.
Solution: Recognize an imported function name. (closes #9496)
Bram Moolenaar [Sat, 15 Jan 2022 18:48:32 +0000 (18:48 +0000)]
patch 8.2.4101: warning for unused argument in tiny version
Problem: Warning for unused argument in tiny version.
Solution: Add "UNUSED".
Bram Moolenaar [Sat, 15 Jan 2022 18:31:43 +0000 (18:31 +0000)]
patch 8.2.4100: early return when getting the 'formatlistpat' value
Problem: Early return when getting the 'formatlistpat' value.
Solution: Remove the first line. (Christian Brabandt)
Bram Moolenaar [Sat, 15 Jan 2022 18:26:04 +0000 (18:26 +0000)]
patch 8.2.4099: Vim9: cannot use Vim9 syntax in mapping
Problem: Vim9: cannot use Vim9 syntax in mapping.
Solution: Add <ScriptCmd> to use the script context for a command.
Bram Moolenaar [Sat, 15 Jan 2022 15:23:44 +0000 (15:23 +0000)]
patch 8.2.4098: typing "interrupt" at debug prompt may keep exception around
Problem: Typing "interrupt" at debug prompt may keep exception around,
causing function calls to fail.
Solution: Discard any exception at the toplevel. (closes #9532)
Bram Moolenaar [Sat, 15 Jan 2022 14:16:37 +0000 (14:16 +0000)]
patch 8.2.4097: wrong number in error message on 32 bit system
Problem: Wrong number in error message on 32 bit system. (John Paul Adrian
Glaubitz)
Solution: Add type cast. (closes #9527)
ichizok [Sat, 15 Jan 2022 13:37:14 +0000 (13:37 +0000)]
patch 8.2.4096: Linux CI: unnecessarily installing packages
Problem: Linux CI: unnecessarily installing packages
Solution: Only install packages for huge build. (Ozaki Kiichi,
closes #9530)
Bram Moolenaar [Sat, 15 Jan 2022 12:27:09 +0000 (12:27 +0000)]
patch 8.2.4095: sed script not recognized by the first line
Problem: Sed script not recognized by the first line.
Solution: Recognize a sed script starting with "#n". (Doug Kearns)
zeertzjq [Sat, 15 Jan 2022 10:52:16 +0000 (10:52 +0000)]
patch 8.2.4094: 'virtualedit' is window-local but using buffer-local enum
Problem: 'virtualedit' is window-local but using buffer-local enum.
Solution: Use window-local enum. (closes #9529)
Christian Brabandt [Sat, 15 Jan 2022 10:01:05 +0000 (10:01 +0000)]
patch 8.2.4093: cached breakindent values not initialized properly
Problem: Cached breakindent values not initialized properly.
Solution: Initialize and cache formatlistpat. (Christian Brabandt,
closes #9526, closes #9512)
ichizok [Fri, 14 Jan 2022 21:28:59 +0000 (21:28 +0000)]
patch 8.2.4092: MacOS CI: unnecessarily doing "Install packages"
Problem: MacOS CI: unnecessarily doing "Install packages".
Solution: Only do "Install packages" for huge build. (Ozaki Kiichi,
closes #9521)
zeertzjq [Fri, 14 Jan 2022 20:11:38 +0000 (20:11 +0000)]
patch 8.2.4091: virtcol is recomputed for statusline unnecessarily
Problem: Virtcol is recomputed for statusline unnecessarily.
Solution: Just use "w_virtcol". (closes #9523)
Evgeni Chasnovski [Fri, 14 Jan 2022 13:19:43 +0000 (13:19 +0000)]
patch 8.2.4090: after restoring a session buffer order can be quite different
Problem: After restoring a session buffer order can be quite different.
Solution: Create buffers first. (Evgeni Chasnovski, closes #9520)
Bram Moolenaar [Fri, 14 Jan 2022 12:06:47 +0000 (12:06 +0000)]
patch 8.2.4089: terminal test for current directory fails on FreeBSD
Problem: Terminal test for current directory fails on FreeBSD.
Solution: Skip the test.
Erik Auerswald [Fri, 14 Jan 2022 11:58:48 +0000 (11:58 +0000)]
patch 8.2.4088: xxd cannot output everything in one line
Problem: Xxd cannot output everything in one line.
Solution: Make zero columns mean infinite columns. (Erik Auerswald,
closes #9524)
Bram Moolenaar [Thu, 13 Jan 2022 22:05:09 +0000 (22:05 +0000)]
patch 8.2.4087: cannot test items from an autoload script easily
Problem: Cannot test items from an autoload script easily.
Solution: Add the "autoload" value for test_override().
Bram Moolenaar [Thu, 13 Jan 2022 21:15:21 +0000 (21:15 +0000)]
patch 8.2.4086: "cctx" argument of find_func_even_dead() is unused
Problem: "cctx" argument of find_func_even_dead() is unused.
Solution: Remove the argument.
Bram Moolenaar [Thu, 13 Jan 2022 20:51:56 +0000 (20:51 +0000)]
patch 8.2.4085: Vim9: no test for using import in legacy script
Problem: Vim9: no test for using import in legacy script.
Solution: Add a test.
Bram Moolenaar [Thu, 13 Jan 2022 20:39:41 +0000 (20:39 +0000)]
patch 8.2.4084: memory leak when looking for autoload prefixed variable
Problem: Memory leak when looking for autoload prefixed variable.
Solution: Free the concatenated string.
Bram Moolenaar [Thu, 13 Jan 2022 20:18:56 +0000 (20:18 +0000)]
patch 8.2.4083: Vim9: no test for "vim9script autoload' using script variable
Problem: Vim9: no test for "vim9script autoload' and using script variable
in the same script.
Solution: Add a simple test. Fix uncovered problem.
Bram Moolenaar [Thu, 13 Jan 2022 19:25:50 +0000 (19:25 +0000)]
patch 8.2.4082: check for autoload file name and prefix fails
Problem: Check for autoload file name and prefix fails. (Christian J.
Robinson)
Solution: Only lower case the prefix on systems where the file name is not
case sensitive.
ichizok [Thu, 13 Jan 2022 18:09:11 +0000 (18:09 +0000)]
patch 8.2.4081: CodeQL reports problem in if_cscope causing it to fail
Problem: CodeQL reports problem in if_cscope causing it to fail.
Solution: Use execvp() instead of execl(). Merge the header file into the
source file. (Ozaki Kiichi, closes #9519)
Erik Auerswald [Thu, 13 Jan 2022 17:42:28 +0000 (17:42 +0000)]
patch 8.2.4080: not sufficient test coverage for xxd
Problem: Not sufficient test coverage for xxd.
Solution: Add a few more test cases. (Erki Auerswald, closes #9515)
K.Takata [Thu, 13 Jan 2022 16:06:45 +0000 (16:06 +0000)]
patch 8.2.4079: MS-Windows: "gvim --version" didn't work with VIMDLL
Problem: MS-Windows: "gvim --version" didn't work when build with VIMDLL.
Solution: Adjust #ifdef. (Ken Takata, closes #9517)
Bram Moolenaar [Thu, 13 Jan 2022 15:25:32 +0000 (15:25 +0000)]
patch 8.2.4078: terminal test for current directory not used on FreeBSD
Problem: Terminal test for current directory not used on FreeBSD.
Solution: Make it work on FreeBSD. (Ozaki Kiichi, closes #9516) Add
TermWait() inside Run_shell_in_terminal() as a generic solution.
Bram Moolenaar [Thu, 13 Jan 2022 14:49:10 +0000 (14:49 +0000)]
patch 8.2.4077: not all Libsensors files are recognized
Problem: Not all Libsensors files are recognized.
Solution: Add "sensors.d/*" pattern. (Doug Kearns)
Bram Moolenaar [Thu, 13 Jan 2022 13:47:43 +0000 (13:47 +0000)]
patch 8.2.4076: memory leak in autoload import
Problem: Memory leak in autoload import.
Solution: Do not overwrite the autoload prefix.
Bram Moolenaar [Thu, 13 Jan 2022 13:24:34 +0000 (13:24 +0000)]
patch 8.2.4075: test failures
Problem: Test failures.
Solution: Change check for NULL pointer.
Bram Moolenaar [Thu, 13 Jan 2022 13:08:14 +0000 (13:08 +0000)]
patch 8.2.4074: going over the end of NameBuff
Problem: Going over the end of NameBuff.
Solution: Check length when appending a space.
Bram Moolenaar [Thu, 13 Jan 2022 12:05:09 +0000 (12:05 +0000)]
patch 8.2.4073: Coverity warns for using NULL pointer
Problem: Coverity warns for using NULL pointer.
Solution: Bail out when running out of memory. Check for running over end of
a string.
Bram Moolenaar [Wed, 12 Jan 2022 19:54:00 +0000 (19:54 +0000)]
patch 8.2.4072: Vim9: compiling function fails when autoload is not loaded
Problem: Vim9: compiling function fails when autoload script is not loaded
yet.
Solution: Depend on runtime loading.
Bram Moolenaar [Wed, 12 Jan 2022 16:18:18 +0000 (16:18 +0000)]
patch 8.2.4071: Vim9: no detection of return in try/endtry
Problem: Vim9: no detection of return in try/endtry. (Dominique Pellé)
Solution: Check if any of the blocks inside try/endtry did not end in
return.
Dominique Pelle [Wed, 12 Jan 2022 15:24:40 +0000 (15:24 +0000)]
patch 8.2.4070: using uninitialized memory when reading empty file
Problem: Using uninitialized memory when reading empty file.
Solution: Check for empty file before checking for NL. (Dominique Pellé,
closes #9511)
Bram Moolenaar [Wed, 12 Jan 2022 15:15:27 +0000 (15:15 +0000)]
patch 8.2.4069: Vim9: import test fails on MS-Windows
Problem: Vim9: import test fails on MS-Windows.
Solution: Ignore case. Adjust test to avoid name that only differs in case.
Bram Moolenaar [Wed, 12 Jan 2022 12:54:55 +0000 (12:54 +0000)]
patch 8.2.4068: Vim9: import test fails
Problem: Vim9: import test fails.
Solution: Add missing change.
Bram Moolenaar [Wed, 12 Jan 2022 12:48:17 +0000 (12:48 +0000)]
patch 8.2.4067: Vim9: cannot call imported function with :call
Problem: Vim9: cannot call imported function with :call. (Drew Vogel)
Solution: Translate the function name. (closes #9510)
Bram Moolenaar [Wed, 12 Jan 2022 11:46:40 +0000 (11:46 +0000)]
patch 8.2.4066: Vim9: imported autoload script loaded again
Problem: Vim9: imported autoload script loaded again.
Solution: Do not create a new imported_T every time.
Bram Moolenaar [Tue, 11 Jan 2022 19:34:16 +0000 (19:34 +0000)]
patch 8.2.4065: computation overflow with large cound for :yank
Problem: Computation overflow with large cound for :yank.
Solution: Avoid an overflow.
Elwardi [Tue, 11 Jan 2022 18:14:23 +0000 (18:14 +0000)]
patch 8.2.4064: foam files are not detected
Problem: Foam files are not detected.
Solution: Detect the foam filetype by the path and file contents. (Mohammed
Elwardi Fadeli, closes #9501)
Bram Moolenaar [Tue, 11 Jan 2022 15:24:05 +0000 (15:24 +0000)]
patch 8.2.4063: Vim9: exported function in autoload script not found
Problem: Vim9: exported function in autoload script not found. (Yegappan
Lakshmanan)
Solution: Use the autoload prefix to search for the function.
Bram Moolenaar [Tue, 11 Jan 2022 13:14:54 +0000 (13:14 +0000)]
patch 8.2.4062: match highlighting of tab too short
Problem: Match highlighting of tab too short.
Solution: Do not stop match highlighting if on a Tab. (Christian Brabandt,
closes #9507, closes #9500)
ichizok [Tue, 11 Jan 2022 13:05:26 +0000 (13:05 +0000)]
patch 8.2.4061: codecov bash script is deprecated
Problem: Codecov bash script is deprecated.
Solution: Use the codecov action. (Ozaki Kiichi, closes #9505)
Bram Moolenaar [Tue, 11 Jan 2022 12:37:20 +0000 (12:37 +0000)]
patch 8.2.4060: win_execute() slow on systems where getcwd()/chdir() is slow
Problem: win_execute() is slow on systems where getcwd() or chdir() is
slow. (Rick Howe)
Solution: Avoid using getcwd() and chdir() if no local directory is used and
'acd' is not set. (closes #9504)
Bram Moolenaar [Tue, 11 Jan 2022 11:58:19 +0000 (11:58 +0000)]
patch 8.2.4059: Vim9: an expression of a map cannot access script-local items
Problem: Vim9: an expression of a map cannot access script-local items.
(Maxim Kim)
Solution: Use the script ID of where the map was defined.
Bram Moolenaar [Mon, 10 Jan 2022 21:39:03 +0000 (21:39 +0000)]
patch 8.2.4058: Vim9: import test failure in wrong line
Problem: Vim9: import test failure in wrong line.
Solution: Adjust line number.
Bram Moolenaar [Mon, 10 Jan 2022 21:29:57 +0000 (21:29 +0000)]
patch 8.2.4057: Vim9: not fully implementing the autoload mechanism
Problem: Vim9: not fully implementing the autoload mechanism.
Solution: Allow for exporting a legacy function. Improve test coverage.
Bram Moolenaar [Mon, 10 Jan 2022 19:21:06 +0000 (19:21 +0000)]
patch 8.2.4056: Vim9: memory leak when exporting function in autoload script
Problem: Vim9: memory leak when exporting function in autoload script.
Solution: Fee the name if replacing it.
Bram Moolenaar [Mon, 10 Jan 2022 18:50:52 +0000 (18:50 +0000)]
patch 8.2.4055: Vim9: line break in expression causes v:errmsg to be fillec
Problem: Vim9: line break in expression causes v:errmsg to be filled.
(Yegappan Lakshmanan)
Solution: Do not give an error when skipping over an expression.
Bram Moolenaar [Mon, 10 Jan 2022 18:42:52 +0000 (18:42 +0000)]
patch 8.2.4054: Vim9 script test fails
Problem: Vim9 script test fails.
Solution: Add missing change.
Bram Moolenaar [Mon, 10 Jan 2022 18:08:00 +0000 (18:08 +0000)]
patch 8.2.4053: Vim9: autoload mechanism doesn't fully work yet
Problem: Vim9: autoload mechanism doesn't fully work yet.
Solution: Define functions and variables with their autoload name, add the
prefix when calling a function, find the variable in the table of
script variables.
Daniel Steinberg [Mon, 10 Jan 2022 13:36:34 +0000 (13:36 +0000)]
patch 8.2.4052: not easy to resize a window from a plugin
Problem: Not easy to resize a window from a plugin.
Solution: Add win_move_separator() and win_move_statusline() functions.
(Daniel Steinberg, closes #9486)
Bram Moolenaar [Mon, 10 Jan 2022 11:26:33 +0000 (11:26 +0000)]
patch 8.2.4051: compiler complains about possibly uninitialized variable
Problem: Compiler complains about possibly uninitialized variable.
Solution: Add code to avoid a compiler warning. (John Marriott)
Bram Moolenaar [Sun, 9 Jan 2022 21:36:37 +0000 (21:36 +0000)]
patch 8.2.4050: Vim9: need to prefix every item in an autoload script
Problem: Vim9: need to prefix every item in an autoload script.
Solution: First step in supporting "vim9script autoload" and "import
autoload".
Bram Moolenaar [Sun, 9 Jan 2022 13:36:28 +0000 (13:36 +0000)]
patch 8.2.4049: Vim9: reading before the start of the line with "$"
Problem: Vim9: reading before the start of the line with "$" by itself.
Solution: Do not subtract one when reporting the error.
Dominique Pelle [Sun, 9 Jan 2022 12:57:48 +0000 (12:57 +0000)]
patch 8.2.4048: gcc complains about use of "%p" in printf
Problem: gcc complains about use of "%p" in printf.
Solution: Add (void *) typecast. (Dominique Pellé, closes #9494)
Dominique Pelle [Sun, 9 Jan 2022 12:49:31 +0000 (12:49 +0000)]
patch 8.2.4047: depending on the build features error messages are unused
Problem: Depending on the build features error messages are unused.
Solution: Add #ifdefs. (Dominique Pellé, closes #9493)
Bram Moolenaar [Sat, 8 Jan 2022 21:51:59 +0000 (21:51 +0000)]
Update runtime files
Bram Moolenaar [Sat, 8 Jan 2022 21:38:52 +0000 (21:38 +0000)]
patch 8.2.4046: some error messages not in the right place
Problem: Some error messages not in the right place.
Solution: Adjust the errors file. Fix typo.
Yegappan Lakshmanan [Sat, 8 Jan 2022 18:43:40 +0000 (18:43 +0000)]
patch 8.2.4045: some global functions are only used in one file
Problem: Some global functions are only used in one file.
Solution: Make the functions static. (Yegappan Lakshmanan, closes #9492)
Bram Moolenaar [Sat, 8 Jan 2022 17:03:55 +0000 (17:03 +0000)]
patch 8.2.4044: Vim9: no error when importing the same script twice
Problem: Vim9: no error when importing the same script twice.
Solution: Give an error, unless it is a reload.
Bram Moolenaar [Sat, 8 Jan 2022 16:19:22 +0000 (16:19 +0000)]
patch 8.2.4043: using int for second argument of ga_init2()
Problem: Using int for second argument of ga_init2().
Solution: Remove unnessary type cast (int) when using sizeof().
Bram Moolenaar [Sat, 8 Jan 2022 16:02:59 +0000 (16:02 +0000)]
patch 8.2.4042: Vim9: build error
Problem: Vim9: build error.
Solution: Use grow array instead of character pointer.
Bram Moolenaar [Sat, 8 Jan 2022 15:44:22 +0000 (15:44 +0000)]
patch 8.2.4041: using unitialized pointer
Problem: Using unitialized pointer.
Solution: Store "ht" when variable is in another script.
Bram Moolenaar [Sat, 8 Jan 2022 15:39:39 +0000 (15:39 +0000)]
patch 8.2.4040: keeping track of allocated lines is too complicated
Problem: Keeping track of allocated lines in user functions is too
complicated.
Solution: Instead of freeing individual lines keep them all until the end.
Bram Moolenaar [Sat, 8 Jan 2022 13:36:57 +0000 (13:36 +0000)]
patch 8.2.4039: the xdiff library is linked in even when not used
Problem: The xdiff library is linked in even when not used.
Solution: Use configure to decide whether xdiff object files are included.
Dominique Pelle [Sat, 8 Jan 2022 12:41:16 +0000 (12:41 +0000)]
patch 8.2.4038: various code not used when features are disabled
Problem: Various code not used when features are disabled.
Solution: Add #ifdefs. (Dominique Pellé, closes #9491)
Yegappan Lakshmanan [Sat, 8 Jan 2022 10:38:48 +0000 (10:38 +0000)]
patch 8.2.4037: Insert mode completion is insufficiently tested
Problem: Insert mode completion is insufficiently tested.
Solution: Add more tests. Fix uncovered memory leak. (Yegappan Lakshmanan,
closes #9489)
Bram Moolenaar [Fri, 7 Jan 2022 21:39:52 +0000 (21:39 +0000)]
patch 8.2.4036: Vim9: script test file is getting too long
Problem: Vim9: script test file is getting too long.
Solution: Split the import/export functionality to a separate file.
Bram Moolenaar [Fri, 7 Jan 2022 20:40:08 +0000 (20:40 +0000)]
patch 8.2.4035: timer triggered at the debug prompt may cause trouble
Problem: Timer triggered at the debug prompt may cause trouble.
Solution: Do not trigger any timer at the debug prompt. (closes #9481)
Bram Moolenaar [Fri, 7 Jan 2022 20:18:16 +0000 (20:18 +0000)]
patch 8.2.4034: Coverity warns for possibly using a NULL pointer
Problem: Coverity warns for possibly using a NULL pointer.
Solution: Check v_partial is not NULL.
zeertzjq [Fri, 7 Jan 2022 20:07:46 +0000 (20:07 +0000)]
patch 8.2.4033: running filetype tests leaves directory behind
Problem: Running filetype tests leaves directory behind.
Solution: Delete the top directory. (closes #9483)
ichizok [Fri, 7 Jan 2022 20:01:07 +0000 (20:01 +0000)]
patch 8.2.4032: ATTRIBUTE_NORETURN is not needed
Problem: ATTRIBUTE_NORETURN is not needed.
Solution: Use NORETURN(). (Ozaki Kiichi, closes #9487)
Bram Moolenaar [Fri, 7 Jan 2022 19:24:20 +0000 (19:24 +0000)]
patch 8.2.4031: crash in xterm with only two lines
Problem: Crash in xterm with only two lines. (Dominique Pellé)
Solution: Only perform xterm compatibility test if possible. (closes #9488)
Bram Moolenaar [Fri, 7 Jan 2022 18:20:55 +0000 (18:20 +0000)]
patch 8.2.4030: a script local funcref is not found from a mapping
Problem: A script local funcref is not found from a mapping.
Solution: When looking for a function, also find a script-local funcref.
(closes #9485)
Bram Moolenaar [Fri, 7 Jan 2022 16:55:32 +0000 (16:55 +0000)]
patch 8.2.4029: debugging NFA regexp my crash, cached indent may be wrong
Problem: Debugging NFA regexp my crash, cached indent may be wrong.
Solution: Fix some debug warnings in the NFA regexp code. Make sure log_fd
is set when used. Fix breakindent and indent caching. (Christian
Brabandt, closes #9482)
Bram Moolenaar [Fri, 7 Jan 2022 15:45:18 +0000 (15:45 +0000)]
patch 8.2.4028: ml_get error with :doautoall and Visual area
Problem: ml_get error with :doautoall and Visual area. (Sean Dewar)
Solution: Disable Visual mode while executing autocommands.
Bram Moolenaar [Fri, 7 Jan 2022 14:39:56 +0000 (14:39 +0000)]
patch 8.2.4027: import test fails on MS-Windows
Problem: Import test fails on MS-Windows.
Solution: Use a different directory name.
Bram Moolenaar [Fri, 7 Jan 2022 14:08:03 +0000 (14:08 +0000)]
patch 8.2.4026: ml_get error with specific win_execute() command
Problem: ml_get error with specific win_execute() command. (Sean Dewar)
Solution: Check cursor and Visual area are OK.
Bram Moolenaar [Fri, 7 Jan 2022 13:38:24 +0000 (13:38 +0000)]
patch 8.2.4025: error for import not ending in .vim does not work for .vimrc
Problem: Error for import not ending in .vim does not work for .vimrc.
Solution: Check that .vim is the end. (closes #9484)
Bram Moolenaar [Fri, 7 Jan 2022 12:45:29 +0000 (12:45 +0000)]
patch 8.2.4024: confusing error message if imported name is used directly
Problem: Confusing error message if imported name is used directly.
Solution: Give a better error message.
Bram Moolenaar [Thu, 6 Jan 2022 22:07:57 +0000 (22:07 +0000)]
patch 8.2.4023: using uninitialized variable
Problem: Using uninitialized variable.
Solution: Initialize "ufunc" also when an item is not exported.
Bram Moolenaar [Thu, 6 Jan 2022 21:41:11 +0000 (21:41 +0000)]
patch 8.2.4022: two error messages in the wrong file
Problem: Two error messages in the wrong file.
Solution: Use the error message from errors.h.
Bram Moolenaar [Thu, 6 Jan 2022 21:38:11 +0000 (21:38 +0000)]
patch 8.2.4021: missing part of the :import changes
Problem: Missing part of the :import changes.
Solution: Add changes in vim9cmds.c.
Bram Moolenaar [Thu, 6 Jan 2022 21:31:19 +0000 (21:31 +0000)]
patch 8.2.4020: debugger test fails
Problem: Debugger test fails.
Solution: Fix import statement.
Bram Moolenaar [Thu, 6 Jan 2022 21:10:28 +0000 (21:10 +0000)]
patch 8.2.4019: Vim9: import mechanism is too complicated
Problem: Vim9: import mechanism is too complicated.
Solution: Do not use the Javascript mechanism but a much simpler one.
Bram Moolenaar [Thu, 6 Jan 2022 13:24:51 +0000 (13:24 +0000)]
patch 8.2.4018: ml_get error when win_execute redraws with Visual selection
Problem: ml_get error when win_execute redraws with Visual selection.
Solution: Disable Visual area temporarily. (closes #9479)
Dominique Pelle [Thu, 6 Jan 2022 12:35:31 +0000 (12:35 +0000)]
patch 8.2.4017: gcc warns for misleading indent in Athena menu code
Problem: Gcc warns for misleading indent in Athena menu code.
Solution: Add curlies around the two statements. (Dominique Pellé,
closes #9480)
Bram Moolenaar [Thu, 6 Jan 2022 12:23:30 +0000 (12:23 +0000)]
patch 8.2.4016: Vim9: incorrect error for argument that is shadowing var
Problem: Vim9: incorrect error for argument that is shadowing var.
Solution: Ignore variable that is not in block where the function was
defined.
Bram Moolenaar [Thu, 6 Jan 2022 11:43:21 +0000 (11:43 +0000)]
patch 8.2.4015: build failure with tiny features
Problem: Build failure with tiny features. (Tony Mechelynck)
Solution: Adjust #ifdefs.
Bram Moolenaar [Wed, 5 Jan 2022 20:56:38 +0000 (20:56 +0000)]
patch 8.2.4014: git and gitcommit file types not properly recognized
Problem: Git and gitcommit file types not properly recognized.
Solution: Adjust filetype detection. (Tim Pope, closes #9477)
Bram Moolenaar [Wed, 5 Jan 2022 20:40:34 +0000 (20:40 +0000)]
patch 8.2.4013: build failure without the spell feature
Problem: Build failure without the spell feature.
Solution: Adjust #ifdefs.
Bram Moolenaar [Wed, 5 Jan 2022 20:24:39 +0000 (20:24 +0000)]
patch 8.2.4012: error messages are spread out
Problem: Error messages are spread out.
Solution: Move the last error messages to errors.h.
Bram Moolenaar [Wed, 5 Jan 2022 18:16:53 +0000 (18:16 +0000)]
patch 8.2.4011: test fails because of changed error number
Problem: Test fails because of changed error number.
Solution: Restore old duplicate error message.
Bram Moolenaar [Wed, 5 Jan 2022 17:49:15 +0000 (17:49 +0000)]
patch 8.2.4010: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.