]> granicus.if.org Git - vim/log
vim
2 years agopatch 8.2.4353: CI does not use the latest Lua and Python v8.2.4353
Philip H [Sat, 12 Feb 2022 10:53:07 +0000 (10:53 +0000)]
patch 8.2.4353: CI does not use the latest Lua and Python

Problem:    CI does not use the latest Lua and Python.
Solution:   Use Lua 5.4.2 and Python 3.10. (closes #9744)

2 years agopatch 8.2.4352: ReScript files are not recognized v8.2.4352
Ananda Umamil [Sat, 12 Feb 2022 10:33:56 +0000 (10:33 +0000)]
patch 8.2.4352: ReScript files are not recognized

Problem:    ReScript files are not recognized.
Solution:   Add the *.res and *.resi patterns. (Ananda Umamil, closes #9752)

2 years agopatch 8.2.4351: no coverage is measured on MS-Windows CI v8.2.4351
ichizok [Sat, 12 Feb 2022 10:13:13 +0000 (10:13 +0000)]
patch 8.2.4351: no coverage is measured on MS-Windows CI

Problem:    No coverage is measured on MS-Windows CI.
Solution:   Enable coverage on MS-Windows. (Ozaki Kiichi, closes #9750)

2 years agopatch 8.2.4350: FEAT_GUI_ENABLED defined but never used v8.2.4350
ola.soder@axis.com [Fri, 11 Feb 2022 21:13:35 +0000 (21:13 +0000)]
patch 8.2.4350: FEAT_GUI_ENABLED defined but never used

Problem:    FEAT_GUI_ENABLED defined but never used.
Solution:   Remove the #define. (Ola Söder, closes #9732)

2 years agopatch 8.2.4349: FileChangedShell test fails on MS-Windows v8.2.4349
Bram Moolenaar [Fri, 11 Feb 2022 20:55:16 +0000 (20:55 +0000)]
patch 8.2.4349: FileChangedShell test fails on MS-Windows

Problem:    FileChangedShell test fails on MS-Windows.
Solution:   Skip the test on MS-Windows.

2 years agopatch 8.2.4348: "legacy exe cmd" does not do what one would expect v8.2.4348
Bram Moolenaar [Fri, 11 Feb 2022 20:33:48 +0000 (20:33 +0000)]
patch 8.2.4348: "legacy exe cmd" does not do what one would expect

Problem:    "legacy exe cmd" does not do what one would expect.
Solution:   Apply the "legacy" and "vim9script" command modifiers to the
            argument of ":execute".

2 years agopatch 8.2.4347: in some build setups UNUSED is not defined v8.2.4347
ola.soder@axis.com [Fri, 11 Feb 2022 19:27:55 +0000 (19:27 +0000)]
patch 8.2.4347: in some build setups UNUSED is not defined

Problem:    In some build setups UNUSED is not defined.
Solution:   Change the logic of how UNUSED is defined. (Ola Söder,
            closes #9734)

2 years agopatch 8.2.4346: a custom statusline may cause Esc to work like Enter v8.2.4346
Bram Moolenaar [Fri, 11 Feb 2022 18:51:45 +0000 (18:51 +0000)]
patch 8.2.4346: a custom statusline may cause Esc to work like Enter

Problem:    A custom statusline may cause Esc to work like Enter on the
            command line when the popup menu is displayed.
Solution:   Save and restore KeyTyped. (closes #9749)

2 years agopatch 8.2.4345: <amatch> is expanded like a file name for DirChangedPre v8.2.4345
Bram Moolenaar [Fri, 11 Feb 2022 16:30:12 +0000 (16:30 +0000)]
patch 8.2.4345: <amatch> is expanded like a file name for DirChangedPre

Problem:    <amatch> is expanded like a file name for DirChangedPre.
Solution:   Do not expand <amatch>. (closes #9742)  Also for the User event.

2 years agopatch 8.2.4344: Amiga: header file included twice v8.2.4344
ola.soder@axis.com [Fri, 11 Feb 2022 16:11:14 +0000 (16:11 +0000)]
patch 8.2.4344: Amiga: header file included twice

Problem:    Amiga: header file included twice.
Solution:   Remove #include. (Ola Söder, closes #9733)

2 years agopatch 8.2.4343: when reloading not all properties are detected v8.2.4343
Rob Pilling [Fri, 11 Feb 2022 15:12:10 +0000 (15:12 +0000)]
patch 8.2.4343: when reloading not all properties are detected

Problem:    When reloading not all properties are detected.
Solution:   Add the "edit" value to v:fcs_choice. (Rob Pilling, closes #9579)

2 years agoUpdate runtime files. (closes #9741)
Bram Moolenaar [Fri, 11 Feb 2022 13:29:40 +0000 (13:29 +0000)]
Update runtime files.  (closes #9741)

2 years agopatch 8.2.4342: CI will soon switch to other windows version v8.2.4342
ichizok [Fri, 11 Feb 2022 11:09:40 +0000 (11:09 +0000)]
patch 8.2.4342: CI will soon switch to other windows version

Problem:    CI will soon switch to other windows version.
Solution:   Use "windows-2019" instead of "windows-latest". (Ozaki Kiichi,
            closes #9740)

2 years agopatch 8.2.4341: command line not redrawn when finishing popup menu v8.2.4341
Bram Moolenaar [Thu, 10 Feb 2022 21:09:45 +0000 (21:09 +0000)]
patch 8.2.4341: command line not redrawn when finishing popup menu

Problem:    Command line not redrawn when finishing popup menu and the screen
            has scrolled up.
Solution:   Redraw the command line after updating the screen. (closes #9722)

2 years agopatch 8.2.4340: Amiga: mch_can_exe() is not implemented v8.2.4340
ola.soder@axis.com [Thu, 10 Feb 2022 20:21:04 +0000 (20:21 +0000)]
patch 8.2.4340: Amiga: mch_can_exe() is not implemented

Problem:    Amiga: mch_can_exe() is not implemented.
Solution:   Implement mch_can_exe() for Amiga OS 4. (Ola Söder, closes #9731)

2 years agopatch 8.2.4339: CTRL-A does not work properly with the cmdline popup menu v8.2.4339
Yegappan Lakshmanan [Thu, 10 Feb 2022 19:52:10 +0000 (19:52 +0000)]
patch 8.2.4339: CTRL-A does not work properly with the cmdline popup menu

Problem:    CTRL-A does not work properly with the cmdline popup menu.
Solution:   Fix issues with CTRL-A.  Add more tests for the cmdline popup
            menu.  Remove TermWait() before VeriryScreenDump().  Refactor the
            cmdline popup code. (Yegappan Lakshmanan, closes #9735)

2 years agopatch 8.2.4338: an error from an expression mapping messes up the display v8.2.4338
Bram Moolenaar [Thu, 10 Feb 2022 14:07:41 +0000 (14:07 +0000)]
patch 8.2.4338: an error from an expression mapping messes up the display

Problem:    An error from an expression mapping messes up the display.
Solution:   When the expression results in an empty string return K_IGNORE.
            In cmdline mode redraw the command line. (closes #9726)

2 years agoUpdate runtime files
Bram Moolenaar [Wed, 9 Feb 2022 21:50:44 +0000 (21:50 +0000)]
Update runtime files

3 years agopatch 8.2.4337: part of condition is always true v8.2.4337
=?UTF-8?q?Dundar=20G=C3=B6c?= [Wed, 9 Feb 2022 15:20:39 +0000 (15:20 +0000)]
patch 8.2.4337: part of condition is always true

Problem:    Part of condition is always true.
Solution:   Remove that part of the condition. (closes #9729)

3 years agopatch 8.2.4336: using :filter for :scriptnames does not work v8.2.4336
Bram Moolenaar [Wed, 9 Feb 2022 14:31:05 +0000 (14:31 +0000)]
patch 8.2.4336: using :filter for :scriptnames does not work

Problem:    Using :filter for :scriptnames does not work. (Ben Jackson)
Solution:   Call message_filtered(). (closes #9720)

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)