]> granicus.if.org Git - vim/log
vim
3 years agopatch 8.2.4335: no autocommand event triggered before changing directory v8.2.4335
Bram Moolenaar [Wed, 9 Feb 2022 12:58:20 +0000 (12:58 +0000)]
patch 8.2.4335: no autocommand event triggered before changing directory

Problem:    No autocommand event triggered before changing directory. (Ronnie
            Magatti)
Solution:   Add DirChangedPre. (closes #9721)

3 years agopatch 8.2.4334: command line popup menu not positioned correctly v8.2.4334
rbtnn [Wed, 9 Feb 2022 11:55:47 +0000 (11:55 +0000)]
patch 8.2.4334: command line popup menu not positioned correctly

Problem:    Command line popup menu not positioned correctly.
Solution:   Also use vim_strsize() on the existing text. (Naruhiko Nishino,
            closes #9727)

3 years agopatch 8.2.4333: cstack not always passed to where it is needed v8.2.4333
Bram Moolenaar [Tue, 8 Feb 2022 21:17:22 +0000 (21:17 +0000)]
patch 8.2.4333: cstack not always passed to where it is needed

Problem:    cstack not always passed to where it is needed.
Solution:   Pass ctack through functions.

3 years agopatch 8.2.4332: Vim9: incomplete test for existing script variable in block v8.2.4332
Bram Moolenaar [Tue, 8 Feb 2022 20:35:30 +0000 (20:35 +0000)]
patch 8.2.4332: Vim9: incomplete test for existing script variable in block

Problem:    Vim9: incomplete test for existing script variable in block.
Solution:   Add a couple more tests.  Fix uncovered problem.

3 years agopatch 8.2.4331: Vim9: no test for existing script variable in block v8.2.4331
Bram Moolenaar [Tue, 8 Feb 2022 19:23:35 +0000 (19:23 +0000)]
patch 8.2.4331: Vim9: no test for existing script variable in block

Problem:    Vim9: no test for existing script variable in block.
Solution:   Add a test.

3 years agopatch 8.2.4330: Vim9: no error if script imports itself v8.2.4330
Bram Moolenaar [Tue, 8 Feb 2022 19:12:19 +0000 (19:12 +0000)]
patch 8.2.4330: Vim9: no error if script imports itself

Problem:    Vim9: no error if script imports itself.
Solution:   Give an error when a script imports itself.

3 years agopatch 8.2.4329: no support for end line number and column in 'errorformat' v8.2.4329
haya14busa [Tue, 8 Feb 2022 18:09:29 +0000 (18:09 +0000)]
patch 8.2.4329: no support for end line number and column in 'errorformat'

Problem:    No support for end line number and column in 'errorformat'.
Solution:   Add %e and %k. (closes #9624)

3 years agopatch 8.2.4328: command line complete matches cleard when typing character v8.2.4328
Bram Moolenaar [Tue, 8 Feb 2022 17:40:36 +0000 (17:40 +0000)]
patch 8.2.4328: command line complete matches cleard when typing character

Problem:    Command line complete matches cleard when typing character.
            (Dominique Pellé)
Solution:   Only remove a popup menu if there is one.

3 years agopatch 8.2.4327: may end up with no current buffer v8.2.4327
Bram Moolenaar [Tue, 8 Feb 2022 15:05:20 +0000 (15:05 +0000)]
patch 8.2.4327: may end up with no current buffer

Problem:    May end up with no current buffer.
Solution:   When deleting the current buffer to not pick a quickfix buffer as
            the new current buffer.

3 years agopatch 8.2.4326: "o" and "O" copying comment not sufficiently tested v8.2.4326
zeertzjq [Tue, 8 Feb 2022 12:58:37 +0000 (12:58 +0000)]
patch 8.2.4326: "o" and "O" copying comment not sufficiently tested

Problem:    "o" and "O" copying comment not sufficiently tested.
Solution:   Add a test case. (closes #9718)

3 years agopatch 8.2.4325: 'wildmenu' only shows few matches v8.2.4325
Yegappan Lakshmanan [Tue, 8 Feb 2022 12:08:07 +0000 (12:08 +0000)]
patch 8.2.4325: 'wildmenu' only shows few matches

Problem:    'wildmenu' only shows few matches.
Solution:   Add the "pum" option: use a popup menu to show the matches.
            (Yegappan Lakshmanan et al., closes #9707)

3 years agopatch 8.2.4324: Vim9: script-local function name can start with "_" v8.2.4324
Bram Moolenaar [Mon, 7 Feb 2022 21:54:01 +0000 (21:54 +0000)]
patch 8.2.4324: Vim9: script-local function name can start with "_"

Problem:    Vim9: script-local function name can start with "_".
Solution:   Check for leading capital after "s:".  Correct error message.

3 years agopatch 8.2.4323: Vim9: nested function name can start with "_" v8.2.4323
Bram Moolenaar [Mon, 7 Feb 2022 20:30:57 +0000 (20:30 +0000)]
patch 8.2.4323: Vim9: nested function name can start with "_"

Problem:    Vim9: nested function name can start with "_".
Solution:   Use same rule for function name for nested functions.
            (closes #9713)

3 years agopatch 8.2.4322: Vim9: crash when using funcref with closure v8.2.4322
Bram Moolenaar [Mon, 7 Feb 2022 19:56:43 +0000 (19:56 +0000)]
patch 8.2.4322: Vim9: crash when using funcref with closure

Problem:    Vim9: crash when using funcref with closure.
Solution:   Keep a reference to the funcref that has the outer context.
            (closes #9716)

3 years agopatch 8.2.4321: Vim9: crash when using a funcref to a closure v8.2.4321
Bram Moolenaar [Mon, 7 Feb 2022 17:50:39 +0000 (17:50 +0000)]
patch 8.2.4321: Vim9: crash when using a funcref to a closure

Problem:    Vim9: crash when using a funcref to a closure.
Solution:   Copy pt_outer to the new partial. (closes #9714)

3 years agopatch 8.2.4320: Athena and Motif: when maximized scrollbar position is wrong v8.2.4320
qsmodo [Mon, 7 Feb 2022 15:57:50 +0000 (15:57 +0000)]
patch 8.2.4320: Athena and Motif: when maximized scrollbar position is wrong

Problem:    Athena and Motif: when maximized scrollbar position is wrong.
Solution:   Implement the scrollbar padding functions. (closes #9712)

3 years agopatch 8.2.4319: :put does not work properly in compiled function v8.2.4319
Bram Moolenaar [Mon, 7 Feb 2022 15:31:37 +0000 (15:31 +0000)]
patch 8.2.4319: :put does not work properly in compiled function

Problem:    :put does not work properly in compiled function. (John Beckett)
Solution:   Adjust the direction when using line zero.

3 years agopatch 8.2.4318: various comment and indent mistakes, returning wrong zero v8.2.4318
Bram Moolenaar [Mon, 7 Feb 2022 13:56:44 +0000 (13:56 +0000)]
patch 8.2.4318: various comment and indent mistakes, returning wrong zero

Problem:    Various comment and indent mistakes, returning wrong zero.
Solution:   Fix the mistakes.  Return NULL instead of FAIL.

3 years agopatch 8.2.4317: MS-Windows: Vim exits when Python 3 initialisation fails v8.2.4317
Bram Moolenaar [Mon, 7 Feb 2022 13:54:01 +0000 (13:54 +0000)]
patch 8.2.4317: MS-Windows: Vim exits when Python 3 initialisation fails

Problem:    MS-Windows: Vim exits when Python 3 initialisation fails.
Solution:   Hook into the exit() function to recover from the failure.
            (Ken Takata, closes #9710)

3 years agopatch 8.2.4316: __CYGWIN32__ is not defined on 64 bit systems v8.2.4316
K.Takata [Mon, 7 Feb 2022 10:45:23 +0000 (10:45 +0000)]
patch 8.2.4316: __CYGWIN32__ is not defined on 64 bit systems

Problem:    __CYGWIN32__ is not defined on 64 bit systems.
Solution:   Update #ifdefs. (Ken Takata, closes #9709)

3 years agopatch 8.2.4315: put in Visual mode not fully tested v8.2.4315
zeertzjq [Mon, 7 Feb 2022 10:33:20 +0000 (10:33 +0000)]
patch 8.2.4315: put in Visual mode not fully tested

Problem:    Put in Visual mode not fully tested.
Solution:   Add a few more test cases. (closes #9708)

3 years agopatch 8.2.4314: test fails where lines are skipped v8.2.4314
Bram Moolenaar [Sun, 6 Feb 2022 20:28:13 +0000 (20:28 +0000)]
patch 8.2.4314: test fails where lines are skipped

Problem:    Test fails where lines are skipped.
Solution:   Only give an error when not skipping commands.

3 years agopatch 8.2.4313: Vim9: cannot change type of list after making a slice v8.2.4313
Bram Moolenaar [Sun, 6 Feb 2022 18:36:53 +0000 (18:36 +0000)]
patch 8.2.4313: Vim9: cannot change type of list after making a slice

Problem:    Vim9: cannot change type of list after making a slice.
Solution:   Adjust the declared member type. (closes #9696)

3 years agopatch 8.2.4312: no error for using :vim9script in a :def function v8.2.4312
Bram Moolenaar [Sun, 6 Feb 2022 17:30:41 +0000 (17:30 +0000)]
patch 8.2.4312: no error for using :vim9script in a :def function

Problem:    No error for using :vim9script in a :def function.
Solution:   Give an error when compiling.

3 years agopatch 8.2.4311: Vim9: changing script variable type not caught compile time v8.2.4311
Bram Moolenaar [Sun, 6 Feb 2022 17:17:02 +0000 (17:17 +0000)]
patch 8.2.4311: Vim9: changing script variable type not caught compile time

Problem:    Vim9: changing script variable type not caught at compile time.
Solution:   Set the declared type.

3 years agopatch 8.2.4310: Vim9: constant list and dict get a declaration type v8.2.4310
Bram Moolenaar [Sun, 6 Feb 2022 15:49:35 +0000 (15:49 +0000)]
patch 8.2.4310: Vim9: constant list and dict get a declaration type

Problem:    Vim9: constant list and dict get a declaration type other than
            "any".
Solution:   A constant list and dict have a declared member type "any".
            (closes #9701)

3 years agopatch 8.2.4309: Vim9: crash when using a partial in the wrong context v8.2.4309
Bram Moolenaar [Sun, 6 Feb 2022 13:55:03 +0000 (13:55 +0000)]
patch 8.2.4309: Vim9: crash when using a partial in the wrong context

Problem:    Vim9: crash when using a partial in the wrong context.
Solution:   Don't use an NULL outer pointer. (closes #9706)

3 years agopatch 8.2.4308: Vim9: cannot list autoload function v8.2.4308
Bram Moolenaar [Sun, 6 Feb 2022 13:08:41 +0000 (13:08 +0000)]
patch 8.2.4308: Vim9: cannot list autoload function

Problem:    Vim9: cannot list autoload function.
Solution:   Don't give an error for using # when listing a function.
            (closes #9703)

3 years agopatch 8.2.4307: a few more messages should not be translated v8.2.4307
Bram Moolenaar [Sun, 6 Feb 2022 11:41:57 +0000 (11:41 +0000)]
patch 8.2.4307: a few more messages should not be translated

Problem:    A few more messages should not be translated.
Solution:   Remove _().

3 years agopatch 8.2.4306: no test for fixed perl filetype check v8.2.4306
Bram Moolenaar [Sat, 5 Feb 2022 20:23:59 +0000 (20:23 +0000)]
patch 8.2.4306: no test for fixed perl filetype check

Problem:    No test for fixed perl filetype check.
Solution:   Add a test. Sort test functions.

3 years agopatch 8.2.4305: tex filetype detection fails v8.2.4305
Bram Moolenaar [Sat, 5 Feb 2022 19:50:34 +0000 (19:50 +0000)]
patch 8.2.4305: tex filetype detection fails

Problem:    Tex filetype detection fails.
Solution:   Check value to be positive. (closes #9704)

3 years agopatch 8.2.4304: Vim9: slice() makes a copy but doesn't change the type v8.2.4304
Bram Moolenaar [Sat, 5 Feb 2022 19:23:18 +0000 (19:23 +0000)]
patch 8.2.4304: Vim9: slice() makes a copy but doesn't change the type

Problem:    Vim9: slice() makes a copy but doesn't change the type.
Solution:   Change the declared type like copy(). (closes #9696)

3 years agopatch 8.2.4303: a few messages should not be translated v8.2.4303
Dominique Pelle [Sat, 5 Feb 2022 18:53:06 +0000 (18:53 +0000)]
patch 8.2.4303: a few messages should not be translated

Problem:    A few messages should not be translated.
Solution:   Remove _(). (Dominique Pellé, closes #9702)

3 years agopatch 8.2.4302: Vim9: return type of getline() is too strict v8.2.4302
Bram Moolenaar [Sat, 5 Feb 2022 18:12:34 +0000 (18:12 +0000)]
patch 8.2.4302: Vim9: return type of getline() is too strict

Problem:    Vim9: return type of getline() is too strict.
Solution:   Make the declared type list<any>.  Also do this for other
            functions returning a list of a specific type.

3 years agopatch 8.2.4301: Vim9: type error for copy of dict v8.2.4301
Bram Moolenaar [Sat, 5 Feb 2022 14:05:51 +0000 (14:05 +0000)]
patch 8.2.4301: Vim9: type error for copy of dict

Problem:    Vim9: type error for copy of dict.
Solution:   Do not use dict<any> but no type. (closes #9696)

3 years agopatch 8.2.4300: cannot build tiny version v8.2.4300
Bram Moolenaar [Sat, 5 Feb 2022 12:39:24 +0000 (12:39 +0000)]
patch 8.2.4300: cannot build tiny version

Problem:    Cannot build tiny version. (Tony Mechelynck)
Solution:   Add #ifdef.

3 years agopatch 8.2.4299: SafeState autocommand interferes with debugging v8.2.4299
Bram Moolenaar [Sat, 5 Feb 2022 12:10:52 +0000 (12:10 +0000)]
patch 8.2.4299: SafeState autocommand interferes with debugging

Problem:    SafeState autocommand interferes with debugging.
Solution:   Do not trigger SafeState while debugging. (closes #9697)

3 years agopatch 8.2.4298: divide by zero with huge tabstop value v8.2.4298
Bram Moolenaar [Sat, 5 Feb 2022 11:13:05 +0000 (11:13 +0000)]
patch 8.2.4298: divide by zero with huge tabstop value

Problem:    Divide by zero with huge tabstop value.
Solution:   Reject tabstop value that overflows to zero.

3 years agopatch 8.2.4297: Vim9: not all code covered by tests v8.2.4297
Bram Moolenaar [Fri, 4 Feb 2022 21:58:58 +0000 (21:58 +0000)]
patch 8.2.4297: Vim9: not all code covered by tests

Problem:    Vim9: not all code covered by tests.
Solution:   Add a couple more tests.

3 years agopatch 8.2.4296: Vim9: not all code covered by tests v8.2.4296
Bram Moolenaar [Fri, 4 Feb 2022 21:17:58 +0000 (21:17 +0000)]
patch 8.2.4296: Vim9: not all code covered by tests

Problem:    Vim9: not all code covered by tests.
Solution:   Add a few more tests for corner cases.  Fix hang when single quote
            is missing.

3 years agoUpdate runtime files; use compiled functions
Bram Moolenaar [Fri, 4 Feb 2022 19:48:06 +0000 (19:48 +0000)]
Update runtime files; use compiled functions

3 years agoUpdate runtime files.
Bram Moolenaar [Fri, 4 Feb 2022 16:09:54 +0000 (16:09 +0000)]
Update runtime files.

3 years agopatch 8.2.4295: Vim9: concatenating two lists may result in wrong type v8.2.4295
Bram Moolenaar [Fri, 4 Feb 2022 11:36:51 +0000 (11:36 +0000)]
patch 8.2.4295: Vim9: concatenating two lists may result in wrong type

Problem:    Vim9: concatenating two lists may result in wrong type.
Solution:   Remove the type instead of using list<any>. (closes #9692)

3 years agopatch 8.2.4294: MS-Windows: #ifdefs for Cygwin are too complicated v8.2.4294
K.Takata [Fri, 4 Feb 2022 10:45:38 +0000 (10:45 +0000)]
patch 8.2.4294: MS-Windows: #ifdefs for Cygwin are too complicated

Problem:    MS-Windows: #ifdefs for Cygwin are too complicated.
Solution:   Simplify the conditions. (Ken Takata, closes #9693)

3 years agopatch 8.2.4293: Vim9: when copying a list it gets type list<any> v8.2.4293
Bram Moolenaar [Thu, 3 Feb 2022 21:47:34 +0000 (21:47 +0000)]
patch 8.2.4293: Vim9: when copying a list it gets type list<any>

Problem:    Vim9: when copying a list it gets type list<any> even when the
            original list did not have a type.
Solution:   Only set the type when the original list has a type. (closes #9692)

3 years agopatch 8.2.4292: test fails v8.2.4292
Bram Moolenaar [Thu, 3 Feb 2022 21:29:39 +0000 (21:29 +0000)]
patch 8.2.4292: test fails

Problem:    Test fails.
Solution:   Adjust the expected error number.

3 years agopatch 8.2.4291: error number used twice v8.2.4291
Bram Moolenaar [Thu, 3 Feb 2022 20:09:19 +0000 (20:09 +0000)]
patch 8.2.4291: error number used twice

Problem:    Error number used twice.
Solution:   Renumber of of the errors.

3 years agopatch 8.2.4290: MS-Windows: using type casts for timer IDs v8.2.4290
K.Takata [Thu, 3 Feb 2022 14:32:33 +0000 (14:32 +0000)]
patch 8.2.4290: MS-Windows: using type casts for timer IDs

Problem:    MS-Windows: using type casts for timer IDs.
Solution:   Remove type casts and use the right type. (Ken Takata,
            closes #9690)  Remove old debug comments.  Rename variables and
            functions.

3 years agopatch 8.2.4289: warnings reported by MSVC v8.2.4289
K.Takata [Thu, 3 Feb 2022 13:33:03 +0000 (13:33 +0000)]
patch 8.2.4289: warnings reported by MSVC

Problem:    Warnings reported by MSVC.
Solution:   Rename variables and other fixes. (Ken Takata, closes #9689)

3 years agopatch 8.2.4288: preprocessor indents are inconsistent v8.2.4288
K.Takata [Thu, 3 Feb 2022 13:05:32 +0000 (13:05 +0000)]
patch 8.2.4288: preprocessor indents are inconsistent

Problem:    Preprocessor indents are inconsistent.
Solution:   Fix preprocessor indents. (Ken Takata, closes #9691)

3 years agopatch 8.2.4287: cannot assign empty list with type to variable with list type v8.2.4287
Bram Moolenaar [Thu, 3 Feb 2022 12:34:05 +0000 (12:34 +0000)]
patch 8.2.4287: cannot assign empty list with type to variable with list type

Problem:    Cannot assign empty list with any list type to variable with
            specific list type.
Solution:   Use unknown list type for empty list if the specified type is any.

3 years agopatch 8.2.4286: Vim9: strict type checking after copy() and deepcopy() v8.2.4286
Bram Moolenaar [Wed, 2 Feb 2022 20:01:27 +0000 (20:01 +0000)]
patch 8.2.4286: Vim9: strict type checking after copy() and deepcopy()

Problem:    Vim9: strict type checking after copy() and deepcopy().
Solution:   Allow type to change after making a copy. (closes #9644)

3 years agopatch 8.2.4285: Vim9: type of item in for loop not checked properly v8.2.4285
Bram Moolenaar [Wed, 2 Feb 2022 16:20:26 +0000 (16:20 +0000)]
patch 8.2.4285: Vim9: type of item in for loop not checked properly

Problem:    Vim9: type of item in for loop not checked properly.
Solution:   Adjust the type checking. (closes #9683)

3 years agopatch 8.2.4284: old mac resources files are no longer used v8.2.4284
ichizok [Wed, 2 Feb 2022 15:19:38 +0000 (15:19 +0000)]
patch 8.2.4284: old mac resources files are no longer used

Problem:    Old mac resources files are no longer used.
Solution:   Delete the unused files. (Ozaki Kiichi, closes #9688)

3 years agopatch 8.2.4283: using a variable for the return value is not needed v8.2.4283
zeertzjq [Wed, 2 Feb 2022 13:16:37 +0000 (13:16 +0000)]
patch 8.2.4283: using a variable for the return value is not needed

Problem:    Using a variable for the return value is not needed.
Solution:   Return the value directly. (closes #9687)

3 years agopatch 8.2.4282: restricted mode requires the -Z command line option v8.2.4282
matveyt [Tue, 1 Feb 2022 17:26:12 +0000 (17:26 +0000)]
patch 8.2.4282: restricted mode requires the -Z command line option

Problem:    Restricted mode requires the -Z command line option.
Solution:   Use restricted mode when $SHELL ends in "nologin" or "false".
            (closes #9681)

3 years agopatch 8.2.4281: using freed memory with :lopen and :bwipe v8.2.4281
Bram Moolenaar [Tue, 1 Feb 2022 13:54:17 +0000 (13:54 +0000)]
patch 8.2.4281: using freed memory with :lopen and :bwipe

Problem:    Using freed memory with :lopen and :bwipe.
Solution:   Do not use a wiped out buffer.

3 years agopatch 8.2.4280: list-dict test crashes v8.2.4280
Bram Moolenaar [Tue, 1 Feb 2022 12:47:07 +0000 (12:47 +0000)]
patch 8.2.4280: list-dict test crashes

Problem:    list-dict test crashes.
Solution:   Check declared type for add().

3 years agopatch 8.2.4279: Vim9: cannot change item type with map() after range() v8.2.4279
Bram Moolenaar [Tue, 1 Feb 2022 12:11:58 +0000 (12:11 +0000)]
patch 8.2.4279: Vim9: cannot change item type with map() after range()

Problem:    Vim9: cannot change item type with map() after range().
Solution:   Split the return type in current type and declared type.
            (closes #9665)

3 years agopatch 8.2.4278: build with Athena GUI fails v8.2.4278
Bram Moolenaar [Tue, 1 Feb 2022 10:16:00 +0000 (10:16 +0000)]
patch 8.2.4278: build with Athena GUI fails

Problem:    Build with Athena GUI fails. (Elimar Riesebieter)
Solution:   Add #ifdef.

3 years agopatch 8.2.4277: Vim9: an import does not shadow a command modifier v8.2.4277
Bram Moolenaar [Mon, 31 Jan 2022 18:59:13 +0000 (18:59 +0000)]
patch 8.2.4277: Vim9: an import does not shadow a command modifier

Problem:    Vim9: an import does not shadow a command modifier.
Solution:   Do not accept a command modifier followed by a dot.

3 years agopatch 8.2.4276: separate test function for the GUI scrollbar v8.2.4276
Yegappan Lakshmanan [Mon, 31 Jan 2022 17:40:55 +0000 (17:40 +0000)]
patch 8.2.4276: separate test function for the GUI scrollbar

Problem:    Separate test function for the GUI scrollbar.
Solution:   Use test_gui_event(). (Yegappan Lakshmanan, closes #9674)

3 years agopatch 8.2.4275: cannot use an autoload function from a package under start v8.2.4275
=?UTF-8?q?Bj=C3=B6rn=20Linse?= [Mon, 31 Jan 2022 17:26:05 +0000 (17:26 +0000)]
patch 8.2.4275: cannot use an autoload function from a package under start

Problem:    Cannot use an autoload function from a package under start.
Solution:   Also look in the "start" package directory. (Bjorn Linse,
            closes #7193)

3 years agopatch 8.2.4274: Basic and form filetype detection is incomplete v8.2.4274
Doug Kearns [Mon, 31 Jan 2022 17:09:14 +0000 (17:09 +0000)]
patch 8.2.4274: Basic and form filetype detection is incomplete

Problem:    Basic and form filetype detection is incomplete.
Solution:   Add a separate function for .frm files. (Doug Kearns, closes #9675)

3 years agoUpdate runtime files
Bram Moolenaar [Mon, 31 Jan 2022 15:40:56 +0000 (15:40 +0000)]
Update runtime files

3 years agopatch 8.2.4273: the EBCDIC support is outdated v8.2.4273
Bram Moolenaar [Mon, 31 Jan 2022 14:59:41 +0000 (14:59 +0000)]
patch 8.2.4273: the EBCDIC support is outdated

Problem:    The EBCDIC support is outdated.
Solution:   Remove the EBCDIC support.

3 years agopatch 8.2.4272: Vim9 expr test fails without the channel feature v8.2.4272
Bram Moolenaar [Mon, 31 Jan 2022 13:36:36 +0000 (13:36 +0000)]
patch 8.2.4272: Vim9 expr test fails without the channel feature

Problem:    Vim9 expr test fails without the channel feature. (Dominique
            Pellé)
Solution:   Remove "g:" before "CheckFeature". (closes #9671)

3 years agopatch 8.2.4271: MS-Windows: cannot build with Ruby 3.1.0 v8.2.4271
K.Takata [Mon, 31 Jan 2022 13:25:36 +0000 (13:25 +0000)]
patch 8.2.4271: MS-Windows: cannot build with Ruby 3.1.0

Problem:    MS-Windows: cannot build with Ruby 3.1.0.
Solution:   Adjust the DLL name and include directory. (Ken Takata,
            closes #9666)

3 years agopatch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice v8.2.4270
ichizok [Mon, 31 Jan 2022 12:27:18 +0000 (12:27 +0000)]
patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice

Problem:    Generating nv_cmdidxs.h requires building Vim twice.
Solution:   Move the table into a separate file and use a separate executable
            to extract the command characters. (Ozaki Kiichi, closes #9669)

3 years agopatch 8.2.4269: Coverity warns for using a NULL pointer v8.2.4269
Bram Moolenaar [Mon, 31 Jan 2022 11:44:48 +0000 (11:44 +0000)]
patch 8.2.4269: Coverity warns for using a NULL pointer

Problem:    Coverity warns for using a NULL pointer.
Solution:   Check for "name" to not be NULL.

3 years agopatch 8.2.4268: CI log output is long v8.2.4268
ichizok [Mon, 31 Jan 2022 11:38:53 +0000 (11:38 +0000)]
patch 8.2.4268: CI log output is long

Problem:    CI log output is long.
Solution:   Group output in sections. (Ozaki Kiichi, closes #9670)

3 years agopatch 8.2.4267: unused entry in keymap enum v8.2.4267
Bram Moolenaar [Mon, 31 Jan 2022 11:29:51 +0000 (11:29 +0000)]
patch 8.2.4267: unused entry in keymap enum

Problem:    Unused entry in keymap enum.
Solution:   Remove the entry.

3 years agopatch 8.2.4266: compiler warning for uninitialized variable v8.2.4266
Bram Moolenaar [Sun, 30 Jan 2022 19:37:52 +0000 (19:37 +0000)]
patch 8.2.4266: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable.
Solution:   Initialize saved_did_emsg.

3 years agopatch 8.2.4265: autoload tests fails v8.2.4265
Bram Moolenaar [Sun, 30 Jan 2022 18:56:35 +0000 (18:56 +0000)]
patch 8.2.4265: autoload tests fails

Problem:    Autoload tests fails.
Solution:   Use export instead of name with #.

3 years agopatch 8.2.4264: Vim9: can use old style autoload function name v8.2.4264
Bram Moolenaar [Sun, 30 Jan 2022 18:40:44 +0000 (18:40 +0000)]
patch 8.2.4264: Vim9: can use old style autoload function name

Problem:    Vim9: can use old style autoload function name.
Solution:   Give an error for old style autoload function name.

3 years agopatch 8.2.4263: no test for the GUI find/replace dialog v8.2.4263
Yegappan Lakshmanan [Sun, 30 Jan 2022 18:01:24 +0000 (18:01 +0000)]
patch 8.2.4263: no test for the GUI find/replace dialog

Problem:    No test for the GUI find/replace dialog.
Solution:   Add a test function and a test. (Yegappan Lakshmanan,
            closes #9662)

3 years agopatch 8.2.4262: some search tests fail v8.2.4262
Bram Moolenaar [Sun, 30 Jan 2022 17:17:41 +0000 (17:17 +0000)]
patch 8.2.4262: some search tests fail

Problem:    Some search tests fail.
Solution:   Use a better way to reject searching for the Visual area.

3 years agopatch 8.2.4261: accessing invalid memory in a regular expression v8.2.4261
Bram Moolenaar [Sun, 30 Jan 2022 16:42:56 +0000 (16:42 +0000)]
patch 8.2.4261: accessing invalid memory in a regular expression

Problem:    Accessing invalid memory when a regular expression checks the
            Visual area while matching in a string.
Solution:   Do not try matching the Visual area in a string.

3 years agopatch 8.2.4260: Vim9: can still use a global function without g: v8.2.4260
Bram Moolenaar [Sun, 30 Jan 2022 15:28:30 +0000 (15:28 +0000)]
patch 8.2.4260: Vim9: can still use a global function without g:

Problem:    Vim9: can still use a global function without g: at the script
            level.
Solution:   Also check for g: at the script level. (issue #9637)

3 years agopatch 8.2.4259: number of test functions for GUI events is growing v8.2.4259
Yegappan Lakshmanan [Sun, 30 Jan 2022 12:37:29 +0000 (12:37 +0000)]
patch 8.2.4259: number of test functions for GUI events is growing

Problem:    Number of test functions for GUI events is growing.
Solution:   Use one function with a dictionary. (Yegappan Lakshmanan,
            closes #9660)

3 years agopatch 8.2.4258: Coverity warns for array overrun v8.2.4258
Bram Moolenaar [Sun, 30 Jan 2022 12:10:39 +0000 (12:10 +0000)]
patch 8.2.4258: Coverity warns for array overrun

Problem:    Coverity warns for array overrun.
Solution:   Restrict depth to MAXWLEN - 1.

3 years agoUpdate runtime files
Bram Moolenaar [Sat, 29 Jan 2022 22:20:48 +0000 (22:20 +0000)]
Update runtime files

3 years agopatch 8.2.4257: Vim9: finding global function without g: prefix inconsistent v8.2.4257
Bram Moolenaar [Sat, 29 Jan 2022 21:45:34 +0000 (21:45 +0000)]
patch 8.2.4257: Vim9: finding global function without g: prefix inconsistent

Problem:    Vim9: finding global function without g: prefix but not finding
            global variable is inconsistent.
Solution:   Require using g: for a global function.  Change the vim9.vim
            script into a Vim9 script with exports.  Fix that import in legacy
            script does not work.

3 years agopatch 8.2.4256: MS-Windows: compiler warnings when compiled with /W4 v8.2.4256
K.Takata [Sat, 29 Jan 2022 15:27:58 +0000 (15:27 +0000)]
patch 8.2.4256: MS-Windows: compiler warnings when compiled with /W4

Problem:    MS-Windows: compiler warnings when compiled with /W4.
Solution:   Small adjustments to the code. (Ken Takata, closes #9659)

3 years agopatch 8.2.4255: theoretical computation overflow v8.2.4255
=?UTF-8?q?Dundar=20G=C3=B6c?= [Sat, 29 Jan 2022 15:19:23 +0000 (15:19 +0000)]
patch 8.2.4255: theoretical computation overflow

Problem:    Theoretical computation overflow.
Solution:   Perform multiplication in a wider type. (closes #9657)

3 years agopatch 8.2.4254: using short instead of int v8.2.4254
=?UTF-8?q?Dundar=20G=C3=B6c?= [Sat, 29 Jan 2022 15:12:39 +0000 (15:12 +0000)]
patch 8.2.4254: using short instead of int

Problem:    Using short instead of int.
Solution:   Use int. (closes #9658)

3 years agopatch 8.2.4253: using freed memory when substitute with function call v8.2.4253
Bram Moolenaar [Sat, 29 Jan 2022 14:21:51 +0000 (14:21 +0000)]
patch 8.2.4253: using freed memory when substitute with function call

Problem:    Using freed memory when substitute uses a recursive function call.
Solution:   Make a copy of the substitute text.

3 years agopatch 8.2.4252: generating the normal command table at runtime is inefficient v8.2.4252
Yegappan Lakshmanan [Sat, 29 Jan 2022 13:06:40 +0000 (13:06 +0000)]
patch 8.2.4252: generating the normal command table at runtime is inefficient

Problem:    Generating the normal command table at runtime is inefficient.
Solution:   Generate the table with a Vim script and put it in a header file.
            (Yegappan Lakshmanan, closes #9648)

3 years agopatch 8.2.4251: vala files are not recognized v8.2.4251
Bram Moolenaar [Sat, 29 Jan 2022 12:45:47 +0000 (12:45 +0000)]
patch 8.2.4251: vala files are not recognized

Problem:    Vala files are not recognized.
Solution:   Add the *.vala pattern. (closes #9654)

3 years agopatch 8.2.4250: channel out callback test is flaky on Mac v8.2.4250
ichizok [Sat, 29 Jan 2022 12:10:43 +0000 (12:10 +0000)]
patch 8.2.4250: channel out callback test is flaky on Mac

Problem:    Channel out callback test is flaky on Mac.
Solution:   Assign high priority to the test process. (Ozaki Kiichi,
            closes #9653)

3 years agopatch 8.2.4249: the timeout limit for spell suggestions is always 5000 v8.2.4249
Bram Moolenaar [Sat, 29 Jan 2022 11:22:17 +0000 (11:22 +0000)]
patch 8.2.4249: the timeout limit for spell suggestions is always 5000

Problem:    The timeout limit for spell suggestions is always 5000 milli
            seconds.
Solution:   Add the "timeout" entry to 'spellsuggest'.

3 years agopatch 8.2.4248: no proper test for moving the window separator v8.2.4248
zeertzjq [Sat, 29 Jan 2022 10:59:53 +0000 (10:59 +0000)]
patch 8.2.4248: no proper test for moving the window separator

Problem:    No proper test for moving the window separator.
Solution:   Add a test.  Add comment in code. (closes #9656)

3 years agopatch 8.2.4247: stack corruption when looking for spell suggestions v8.2.4247
Bram Moolenaar [Sat, 29 Jan 2022 10:51:59 +0000 (10:51 +0000)]
patch 8.2.4247: stack corruption when looking for spell suggestions

Problem:    Stack corruption when looking for spell suggestions.
Solution:   Prevent the depth increased too much.  Add a five second time
            limit to finding suggestions.

3 years agopatch 8.2.4246: one error message not in errors.h v8.2.4246
Bram Moolenaar [Fri, 28 Jan 2022 21:00:51 +0000 (21:00 +0000)]
patch 8.2.4246: one error message not in errors.h

Problem:    One error message not in errors.h. (Antonio Colombo)
Solution:   Move the message and rename.

3 years agopatch 8.2.4245: ":retab 0" may cause illegal memory access v8.2.4245
Bram Moolenaar [Fri, 28 Jan 2022 20:47:49 +0000 (20:47 +0000)]
patch 8.2.4245: ":retab 0" may cause illegal memory access

Problem:    ":retab 0" may cause illegal memory access.
Solution:   Limit the value of 'tabstop' to 10000.

3 years agopatch 8.2.4244: MS-Windows: warning from MSVC on debug build v8.2.4244
K.Takata [Fri, 28 Jan 2022 18:54:13 +0000 (18:54 +0000)]
patch 8.2.4244: MS-Windows: warning from MSVC on debug build

Problem:    MS-Windows: warning from MSVC on debug build.
Solution:   Adjust "/opt"o options.  Remove unused variables.  Make variables
            uppercase for consistency. (Ken Takata, closes #9647)

3 years agopatch 8.2.4243: Lua tests fail with Lua 5.4.4 v8.2.4243
=?UTF-8?q?Jakub=20Kul=C3=ADk?= [Fri, 28 Jan 2022 17:20:03 +0000 (17:20 +0000)]
patch 8.2.4243: Lua tests fail with Lua 5.4.4

Problem:    Lua tests fail with Lua 5.4.4.
Solution:   Check messages like before Lua 5.4.3. (Jakub Kulík, closes #9652)

3 years agopatch 8.2.4242: put in Visual mode cannot be repeated v8.2.4242
Shougo Matsushita [Fri, 28 Jan 2022 16:01:13 +0000 (16:01 +0000)]
patch 8.2.4242: put in Visual mode cannot be repeated

Problem:    Put in Visual mode cannot be repeated.
Solution:   Use "P" to put without yanking the deleted text into the unnamed
            register. (Shougo Matsushita, closes #9591)

3 years agopatch 8.2.4241: some type casts are redundant v8.2.4241
=?UTF-8?q?Dundar=20G=C3=B6c?= [Fri, 28 Jan 2022 15:28:04 +0000 (15:28 +0000)]
patch 8.2.4241: some type casts are redundant

Problem:    Some type casts are redundant.
Solution:   Remove the type casts. (closes #9643)

3 years agopatch 8.2.4240: error for using flatten() in Vim9 script is unclear v8.2.4240
Bram Moolenaar [Fri, 28 Jan 2022 15:01:47 +0000 (15:01 +0000)]
patch 8.2.4240: error for using flatten() in Vim9 script is unclear

Problem:    Error for using flatten() in Vim9 script is unclear.
Solution:   Add a remark to use flattennew().