]>
granicus.if.org Git - vim/log
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.
Bram Moolenaar [Wed, 5 Jan 2022 16:50:40 +0000 (16:50 +0000)]
patch 8.2.4009: reading one byte beyond the end of the line
Problem: Reading one byte beyond the end of the line.
Solution: Check for NUL byte first.
Bram Moolenaar [Wed, 5 Jan 2022 16:09:06 +0000 (16:09 +0000)]
patch 8.2.4008: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
matveyt [Wed, 5 Jan 2022 14:01:30 +0000 (14:01 +0000)]
patch 8.2.4007: session does not restore help buffer properly
Problem: Session does not restore help buffer properly when "options' is
missing from 'sessionoptions'.
Solution: Use a ":help" command to create the help window. (closes #9475,
closes #9458, closes #9472)
Bram Moolenaar [Wed, 5 Jan 2022 10:16:30 +0000 (10:16 +0000)]
patch 8.2.4006: Vim9: crash when declaring variable on the command line
Problem: Vim9: crash when declaring variable on the command line.
Solution: Use a temporary type list. (closes #9474)
Bram Moolenaar [Tue, 4 Jan 2022 21:30:47 +0000 (21:30 +0000)]
patch 8.2.4005: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
Bram Moolenaar [Tue, 4 Jan 2022 20:05:04 +0000 (20:05 +0000)]
patch 8.2.4004: old compiler complains about struct init with variable
Problem: Old compiler complains about struct init with variable.
Solution: Set the struct member later. (John Marriott)
Bram Moolenaar [Tue, 4 Jan 2022 19:57:55 +0000 (19:57 +0000)]
patch 8.2.4003: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
zeertzjq [Tue, 4 Jan 2022 18:01:21 +0000 (18:01 +0000)]
patch 8.2.4002: first char typed in Select mode can be wrong
Problem: First char typed in Select mode can be wrong.
Solution: Escape special bytes in the input buffer. (closes #9469)
Yegappan Lakshmanan [Tue, 4 Jan 2022 17:01:44 +0000 (17:01 +0000)]
patch 8.2.4001: insert complete code uses global variables
Problem: Insert complete code uses global variables.
Solution: Make variables local to the file and use accessor functions.
(Yegappan Lakshmanan, closes #9470)
Bram Moolenaar [Tue, 4 Jan 2022 16:44:56 +0000 (16:44 +0000)]
patch 8.2.4000: Coverity warns for checking for NULL pointer after using it
Problem: Coverity warns for checking for NULL pointer after using it.
Solution: Remove check for NULL.
zeertzjq [Tue, 4 Jan 2022 16:22:52 +0000 (16:22 +0000)]
patch 8.2.3999: redundant check for NUL byte
Problem: Redundant check for NUL byte.
Solution: Remove the check for a NUL byte. (closes #9471)
Bram Moolenaar [Tue, 4 Jan 2022 16:05:48 +0000 (16:05 +0000)]
patch 8.2.3998: asan error for adding zero to NULL
Problem: Asan error for adding zero to NULL.
Solution: Do not compute pointer if there are no entries.
Bram Moolenaar [Tue, 4 Jan 2022 15:54:38 +0000 (15:54 +0000)]
patch 8.2.3997: Vim9: not enough testing for extend() and map()
Problem: Vim9: not enough testing for extend() and map().
Solution: Add more test cases. Fix uncovered problems. Remove unused type
fields.
Bram Moolenaar [Tue, 4 Jan 2022 15:17:03 +0000 (15:17 +0000)]
patch 8.2.3996: Vim9: type checking lacks information about declared type
Problem: Vim9: type checking for list and dict lacks information about
declared type.
Solution: Add dv_decl_type and lv_decl_type. Refactor the type stack to
store two types in each entry.
David Auer [Mon, 3 Jan 2022 17:32:46 +0000 (17:32 +0000)]
patch 8.2.3995: not all sshconfig files are detected as such
Problem: Not all sshconfig files are detected as such.
Solution: Adjust the patterns used for sshconfig detection. (David Auer,
closes #9322)
Bram Moolenaar [Mon, 3 Jan 2022 16:52:28 +0000 (16:52 +0000)]
patch 8.2.3994: Vim9: extend() complains about type when it was not declared
Problem: Vim9: extend() complains about the type even when it was not
declared.
Solution: Only check the list or dict type when it was declared.
Bram Moolenaar [Mon, 3 Jan 2022 13:47:50 +0000 (13:47 +0000)]
patch 8.2.3993: when recording a change in Select mode char appears twice
Problem: When recording a change in Select mode the first typed character
appears twice.
Solution: When putting the character back into typeahead remove it from
recorded characters. (closes #9462)
h-east [Mon, 3 Jan 2022 12:53:24 +0000 (12:53 +0000)]
patch 8.2.3992: wrong local-additions in the help with language mix
Problem: Wrong local-additions in the help with language mix.
Solution: Adjust how the local additions list is generated. (Hirohito
Higashi, closes #9464)
Bram Moolenaar [Mon, 3 Jan 2022 12:28:03 +0000 (12:28 +0000)]
patch 8.2.3991: Vim9: error when extending dict<any>
Problem: Vim9: error when extending dict<any> with another type that it was
initialized with.
Solution: Also set the type for dict<any> if the initializer has a more
specific type. (closes #9461)
naohiro ono [Mon, 3 Jan 2022 11:15:47 +0000 (11:15 +0000)]
patch 8.2.3990: testing wrong operator
Problem: Testing wrong operator.
Solution: Test "g@" instead of "r_". (Naohiro Ono, closes #9463)
Yegappan Lakshmanan [Mon, 3 Jan 2022 11:03:48 +0000 (11:03 +0000)]
patch 8.2.3989: some insert completion code is not tested
Problem: Some insert completion code is not tested.
Solution: Add a few tests. Refactor thesaurus completion. (Yegappan
Lakshmanan, closes #9460)
Bram Moolenaar [Sun, 2 Jan 2022 21:46:29 +0000 (21:46 +0000)]
patch 8.2.3988: tiny build fails
Problem: Tiny build fails.
Solution: Fix misplaced #ifdef.
Bram Moolenaar [Sun, 2 Jan 2022 21:26:16 +0000 (21:26 +0000)]
patch 8.2.3987: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
Bram Moolenaar [Sun, 2 Jan 2022 20:20:45 +0000 (20:20 +0000)]
patch 8.2.3986: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
Bram Moolenaar [Sun, 2 Jan 2022 19:25:26 +0000 (19:25 +0000)]
patch 8.2.3985: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
Bram Moolenaar [Sun, 2 Jan 2022 17:28:57 +0000 (17:28 +0000)]
patch 8.2.3984: debugger test fails
Problem: Debugger test fails.
Solution: Adjust the test for modified debugging of a for loop.
Bram Moolenaar [Sun, 2 Jan 2022 17:00:40 +0000 (17:00 +0000)]
patch 8.2.3983: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
Dominique Pelle [Sun, 2 Jan 2022 16:16:33 +0000 (16:16 +0000)]
patch 8.2.3982: some lines of code not covered by tests
Problem: Some lines of code not covered by tests.
Solution: Add a few more test cases. (Dominique Pellé, closes #9453)
Bram Moolenaar [Sun, 2 Jan 2022 14:08:18 +0000 (14:08 +0000)]
patch 8.2.3981: Vim9: debugging a for loop doesn't stop before it starts
Problem: Vim9: debugging a for loop doesn't stop before it starts.
Solution: Keep the DEBUG instruction before the expression is evaluated.
(closes #9456)
Bram Moolenaar [Sun, 2 Jan 2022 13:05:45 +0000 (13:05 +0000)]
patch 8.2.3980: if 'operatorfunc' invokes an operator Visual mode is changed
Problem: If 'operatorfunc' invokes an operator the remembered Visual mode
may be changed. (Naohiro Ono)
Solution: Save and restore the information for redoing the Visual area.
(closes #9455)
Bram Moolenaar [Sun, 2 Jan 2022 12:06:33 +0000 (12:06 +0000)]
patch 8.2.3979: Vim9: the feature is not mentioned in the right places
Problem: Vim9: the feature is not mentioned in the right places.
Solution: Add +vim9script to the help and :version output.
Bram Moolenaar [Sun, 2 Jan 2022 01:04:09 +0000 (01:04 +0000)]
patch 8.2.3978: build error when using dynamycally loaded Python 3
Problem: Build error when using dynamycally loaded Python 3.
Solution: Adjust #ifdef.
Bram Moolenaar [Sat, 1 Jan 2022 21:59:18 +0000 (21:59 +0000)]
patch 8.2.3977: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
Bram Moolenaar [Sat, 1 Jan 2022 19:42:16 +0000 (19:42 +0000)]
patch 8.2.3976: FEARG_LAST is never used
Problem: FEARG_LAST is never used. (Dominique Pellé)
Solution: Remove FEARG_LAST and the related code.
Bram Moolenaar [Sat, 1 Jan 2022 19:33:50 +0000 (19:33 +0000)]
patch 8.2.3975: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
Bram Moolenaar [Sat, 1 Jan 2022 18:29:21 +0000 (18:29 +0000)]
patch 8.2.3974: Vim9: LISTAPPEND instruction does not check for a locked list
Problem: Vim9: LISTAPPEND instruction does not check for a locked list.
Solution: Check whether the list is locked. (closes #9452)
Bram Moolenaar [Sat, 1 Jan 2022 16:31:48 +0000 (16:31 +0000)]
patch 8.2.3973: tiny build fails
Problem: Tiny build fails.
Solution: Adjust #ifdefs
Bram Moolenaar [Sat, 1 Jan 2022 16:21:00 +0000 (16:21 +0000)]
patch 8.2.3972: error messages are spread out
Problem: Error messages are spread out.
Solution: Move the last errors from globals.h to errors.h.
Bram Moolenaar [Sat, 1 Jan 2022 16:01:23 +0000 (16:01 +0000)]
patch 8.2.3971: build fails
Problem: Build fails.
Solution: Use the right error message name.
Bram Moolenaar [Sat, 1 Jan 2022 15:58:22 +0000 (15:58 +0000)]
patch 8.2.3970: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
naohiro ono [Sat, 1 Jan 2022 14:59:44 +0000 (14:59 +0000)]
patch 8.2.3969: value of MAXCOL not available in Vim script
Problem: Value of MAXCOL not available in Vim script.
Solution: Add v:maxcol. (Naohiro Ono, closes #9451)
Bram Moolenaar [Sat, 1 Jan 2022 14:25:55 +0000 (14:25 +0000)]
patch 8.2.3968: build failure
Problem: Build failure.
Solution: Add missing changes.
Bram Moolenaar [Sat, 1 Jan 2022 14:19:49 +0000 (14:19 +0000)]
patch 8.2.3967: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
Bram Moolenaar [Sat, 1 Jan 2022 12:42:56 +0000 (12:42 +0000)]
patch 8.2.3966: when using feedkeys() abbreviations may be blocked
Problem: When using feedkeys() abbreviations may be blocked.
Solution: Reset tb_no_abbr_cnt when running out of characters.
(closes #9448)
Bram Moolenaar [Sat, 1 Jan 2022 12:17:00 +0000 (12:17 +0000)]
patch 8.2.3965: Vim9: no easy way to check if Vim9 script is supported
Problem: Vim9: no easy way to check if Vim9 script is supported.
Solution: Add has('vim9script').
Alex Vear [Sat, 1 Jan 2022 11:38:42 +0000 (11:38 +0000)]
patch 8.2.3964: some common lisp and scheme files not recognized
Problem: Some common lisp and scheme files not recognized.
Solution: Recognize *.asd as lisp and *.sld as scheme. (Alex Vear,
closes #9447)
Bram Moolenaar [Sat, 1 Jan 2022 00:55:28 +0000 (00:55 +0000)]
patch 8.2.3963: build failure with tiny and small features
Problem: Build failure with tiny and small features. (Tony Mechelynck)
Solution: Adjust #ifdefs.
Bram Moolenaar [Fri, 31 Dec 2021 23:15:53 +0000 (23:15 +0000)]
patch 8.2.3962: build fails for missing error message
Problem: Build fails for missing error message.
Solution: Add changes in missed file.
Bram Moolenaar [Fri, 31 Dec 2021 22:49:24 +0000 (22:49 +0000)]
patch 8.2.3961: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
Bram Moolenaar [Fri, 31 Dec 2021 19:59:55 +0000 (19:59 +0000)]
patch 8.2.3960: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
Bram Moolenaar [Fri, 31 Dec 2021 18:49:43 +0000 (18:49 +0000)]
patch 8.2.3959: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
Yegappan Lakshmanan [Fri, 31 Dec 2021 17:33:47 +0000 (17:33 +0000)]
patch 8.2.3958: build failure compiling xxd with "-std=c2x"
Problem: Build failure compiling xxd with "-std=c2x".
Solution: define _XOPEN_SOURCE. (Yegappan Lakshmanan, closes #9444)
Bram Moolenaar [Fri, 31 Dec 2021 17:25:48 +0000 (17:25 +0000)]
patch 8.2.3957: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
zeertzjq [Fri, 31 Dec 2021 15:21:53 +0000 (15:21 +0000)]
patch 8.2.3956: duplicate assignment
Problem: Duplicate assignment.
Solution: Remove the second assignment. (closes #9442)
Bram Moolenaar [Fri, 31 Dec 2021 15:09:27 +0000 (15:09 +0000)]
patch 8.2.3955: error messages are spread out
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
Bram Moolenaar [Fri, 31 Dec 2021 14:06:45 +0000 (14:06 +0000)]
patch 8.2.3954: Vim9: no error for shadowing if script var is declared later
Problem: Vim9: no error for shadowing if script var is declared later.
Solution: Check argument names when compiling a function.
Yegappan Lakshmanan [Fri, 31 Dec 2021 12:59:53 +0000 (12:59 +0000)]
patch 8.2.3953: insert completion code is too complicated
Problem: Insert completion code is too complicated.
Solution: More refactoring. Move function arguments into a struct.
(Yegappan Lakshmanan, closes #9437)
zeertzjq [Fri, 31 Dec 2021 12:19:22 +0000 (12:19 +0000)]
patch 8.2.3952: first line not redrawn when adding lines to an empty buffer
Problem: First line not redrawn when adding lines to an empty buffer.
Solution: Adjust the argument to appended_lines(). (closes #9439,
closes #9438)
Bram Moolenaar [Thu, 30 Dec 2021 20:24:12 +0000 (20:24 +0000)]
Update runtime files
Bram Moolenaar [Thu, 30 Dec 2021 17:09:05 +0000 (17:09 +0000)]
patch 8.2.3951: Vim9: memory leak when text after a nested function
Problem: Vim9: memory leak when text after a nested function.
Solution: Free the function if text is found after "enddef".
Bram Moolenaar [Thu, 30 Dec 2021 15:29:18 +0000 (15:29 +0000)]
patch 8.2.3950: going beyond the end of the line with /\%V
Problem: Going beyond the end of the line with /\%V.
Solution: Check for valid column in getvcol().
Bram Moolenaar [Thu, 30 Dec 2021 14:49:43 +0000 (14:49 +0000)]
patch 8.2.3949: using freed memory with /\%V
Problem: Using freed memory with /\%V.
Solution: Get the line again after getvvcol().
Bram Moolenaar [Thu, 30 Dec 2021 13:59:20 +0000 (13:59 +0000)]
patch 8.2.3948: Vim9: failure with partial with unknown argument count
Problem: Vim9: failure with partial with unknown argument count.
Solution: Do not copy argument types if there aren't any.
zeertzjq [Thu, 30 Dec 2021 13:45:57 +0000 (13:45 +0000)]
patch 8.2.3947: unnecessary check for NULL pointer
Problem: Unnecessary check for NULL pointer.
Solution: Remove the check. (closes #9434)
Bram Moolenaar [Thu, 30 Dec 2021 13:32:09 +0000 (13:32 +0000)]
patch 8.2.3946: when an internal error makes Vim exit the error is not seen
Problem: When an internal error makes Vim exit the error is not seen.
Solution: Add the error to the test output.
Bram Moolenaar [Thu, 30 Dec 2021 13:29:00 +0000 (13:29 +0000)]
patch 8.2.3945: Vim9: partial variable argument types are wrong
Problem: Vim9: partial variable argument types are wrong, leading to a
crash.
Solution: When adjusting the argument count also adjust the argument types.
(closes #9433)
Yegappan Lakshmanan [Thu, 30 Dec 2021 11:40:53 +0000 (11:40 +0000)]
patch 8.2.3944: insert mode completion functions are too long
Problem: Insert mode completion functions are too long.
Solution: Split up into multiple functions. (Yegappan Lakshmanan,
closes #9431)
Bram Moolenaar [Thu, 30 Dec 2021 10:51:45 +0000 (10:51 +0000)]
patch 8.2.3943: compiler warning from gcc for uninitialized variable
Problem: Compiler warning from gcc for uninitialized variable.
Solution: Initialize variable. (closes #9429)
Bram Moolenaar [Thu, 30 Dec 2021 10:32:25 +0000 (10:32 +0000)]
patch 8.2.3942: Coverity reports a possible memory leak
Problem: Coverity reports a possible memory leak.
Solution: Free the array if allocation fails.
dbivolaru [Wed, 29 Dec 2021 19:41:47 +0000 (19:41 +0000)]
patch 8.2.3941: SIGTSTP is not handled
Problem: SIGTSTP is not handled.
Solution: Handle SIGTSTP like pressing CTRL-Z. (closes #9422)