]> granicus.if.org Git - vim/log
vim
4 years agopatch 8.2.1293: Vim9: error when using vim9script in TextYankPost v8.2.1293
Bram Moolenaar [Sat, 25 Jul 2020 17:30:59 +0000 (19:30 +0200)]
patch 8.2.1293: Vim9: error when using vim9script in TextYankPost

Problem:    Vim9: error when using vim9script in TextYankPost.
Solution:   Use EX_LOCKOK instead of the EX_CMDWIN flag for command that can
            be used when text is locked. (closes #6529)

4 years agopatch 8.2.1292: AIDL filetype not recognized v8.2.1292
Bram Moolenaar [Sat, 25 Jul 2020 14:53:12 +0000 (16:53 +0200)]
patch 8.2.1292: AIDL filetype not recognized

Problem:    AIDL filetype not recognized.
Solution:   Add filetype detection. (Dominique Pellé, closes #6533)

4 years agopatch 8.2.1291: Vim9: type of varargs items is not checked v8.2.1291
Bram Moolenaar [Sat, 25 Jul 2020 14:33:02 +0000 (16:33 +0200)]
patch 8.2.1291: Vim9: type of varargs items is not checked

Problem:    Vim9: type of varargs items is not checked.
Solution:   Check the list item types. (closes #6523)

4 years agopatch 8.2.1290: Vim9: cannot replace a global function v8.2.1290
Bram Moolenaar [Sat, 25 Jul 2020 13:41:11 +0000 (15:41 +0200)]
patch 8.2.1290: Vim9: cannot replace a global function

Problem:    Vim9: cannot replace a global function.
Solution:   Allow for "!" on a global function. (closes #6524)  Also fix that
            :delfunc on a :def function only made it empty.

4 years agopatch 8.2.1289: crash when using a custom completion function v8.2.1289
Bram Moolenaar [Sat, 25 Jul 2020 12:11:55 +0000 (14:11 +0200)]
patch 8.2.1289: crash when using a custom completion function

Problem:    Crash when using a custom completion function.
Solution:   Initialize all of the expand_T. (closes #6532)

4 years agopatch 8.2.1288: Vim9: cannot use mark in range v8.2.1288
Bram Moolenaar [Fri, 24 Jul 2020 16:47:22 +0000 (18:47 +0200)]
patch 8.2.1288: Vim9: cannot use mark in range

Problem:    Vim9: cannot use mark in range.
Solution:   Use the flag that a colon was seen. (closes #6528)

4 years agopatch 8.2.1287: Vim9: crash when using an imported function v8.2.1287
Bram Moolenaar [Thu, 23 Jul 2020 20:41:43 +0000 (22:41 +0200)]
patch 8.2.1287: Vim9: crash when using an imported function

Problem:    Vim9: crash when using an imported function.
Solution:   Add the function type to the imported entry. (closes #6522)

4 years agopatch 8.2.1286: Vim9: No error when using a type to a window variable v8.2.1286
Bram Moolenaar [Thu, 23 Jul 2020 19:14:43 +0000 (21:14 +0200)]
patch 8.2.1286: Vim9: No error when using a type to a window variable

Problem:    Vim9: No error when using a type to a window variable
Solution:   Recognize the syntax and give an error. (closes #6521)

4 years agopatch 8.2.1285: Vim9: argument types are not checked on assignment v8.2.1285
Bram Moolenaar [Thu, 23 Jul 2020 18:56:04 +0000 (20:56 +0200)]
patch 8.2.1285: Vim9: argument types are not checked on assignment

Problem:    Vim9: argument types are not checked on assignment.
Solution:   Check function argument types. (issue #6507)

4 years agopatch 8.2.1284: Vim9: skipping over type includes following white space v8.2.1284
Bram Moolenaar [Thu, 23 Jul 2020 18:09:10 +0000 (20:09 +0200)]
patch 8.2.1284: Vim9: skipping over type includes following white space

Problem:    Vim9: skipping over type includes following white space, leading
            to an error for missing white space.
Solution:   Do not skip over white space after the type.

4 years agopatch 8.2.1283: Vim9: error for misplaced -> lacks argument v8.2.1283
Bram Moolenaar [Thu, 23 Jul 2020 17:06:23 +0000 (19:06 +0200)]
patch 8.2.1283: Vim9: error for misplaced -> lacks argument

Problem:    Vim9: error for misplaced -> lacks argument.
Solution:   Use the pointer before it was advanced.

4 years agopatch 8.2.1282: Vim9: crash when using CheckScriptFailure() v8.2.1282
Bram Moolenaar [Thu, 23 Jul 2020 16:26:30 +0000 (18:26 +0200)]
patch 8.2.1282: Vim9: crash when using CheckScriptFailure()

Problem:    Vim9: crash when using CheckScriptFailure() in
            Test_vim9script_call_fail_decl().
Solution:   Do not decrement the def_functions len unless the function was
            newly added.

4 years agopatch 8.2.1281: the "trailing characters" error can be hard to understand v8.2.1281
Bram Moolenaar [Thu, 23 Jul 2020 15:16:18 +0000 (17:16 +0200)]
patch 8.2.1281: the "trailing characters" error can be hard to understand

Problem:    The "trailing characters" error can be hard to understand.
Solution:   Add the trailing characters to the message.

4 years agopatch 8.2.1280: Ex command error cannot contain an argument v8.2.1280
Bram Moolenaar [Thu, 23 Jul 2020 14:37:03 +0000 (16:37 +0200)]
patch 8.2.1280: Ex command error cannot contain an argument

Problem:    Ex command error cannot contain an argument.
Solution:   Add ex_errmsg() and translate earlier.  Use e_trailing_arg where
            possible.

4 years agopatch 8.2.1279: some tests on Travis have EXITFREE duplicated v8.2.1279
Bram Moolenaar [Thu, 23 Jul 2020 13:50:40 +0000 (15:50 +0200)]
patch 8.2.1279: some tests on Travis have EXITFREE duplicated

Problem:    Some tests on Travis have EXITFREE duplicated.
Solution:   Remove EXITFREE from shadowopt.  Add "shadow" to job name.

4 years agopatch 8.2.1278: Vim9: line break after "->" only allowed in :def function v8.2.1278
Bram Moolenaar [Thu, 23 Jul 2020 13:38:03 +0000 (15:38 +0200)]
patch 8.2.1278: Vim9: line break after "->" only allowed in :def function

Problem:    Vim9: line break after "->" only allowed in :def function.
Solution:   Only allow line break after "->". (closes #6492)

4 years agopatch 8.2.1277: tests on Travis do not run with EXITFREE v8.2.1277
Bram Moolenaar [Thu, 23 Jul 2020 12:59:07 +0000 (14:59 +0200)]
patch 8.2.1277: tests on Travis do not run with EXITFREE

Problem:    Tests on Travis do not run with EXITFREE.
Solution:   Add EXITFREE to all builds to uncover any mistakes.

4 years agopatch 8.2.1276: MS-Windows: system test may fail if more.exe is installed v8.2.1276
Bram Moolenaar [Thu, 23 Jul 2020 12:51:02 +0000 (14:51 +0200)]
patch 8.2.1276: MS-Windows: system test may fail if more.exe is installed

Problem:    MS-Windows: system test may fail if more.exe is installed.
Solution:   Explicitly use more.com. (Taro Muraoka, Ken Takata, closes #6517)

4 years agopatch 8.2.1275: Vim9: compiler warning for buffer size v8.2.1275
Bram Moolenaar [Thu, 23 Jul 2020 12:39:47 +0000 (14:39 +0200)]
patch 8.2.1275: Vim9: compiler warning for buffer size

Problem:    Vim9: compiler warning for buffer size.
Solution:   Change the offset from 10 to 15. (Dominique Pellé, closes #6518)

4 years agopatch 8.2.1274: Vim9: no error for missing white space at script level v8.2.1274
Bram Moolenaar [Thu, 23 Jul 2020 11:11:37 +0000 (13:11 +0200)]
patch 8.2.1274: Vim9: no error for missing white space at script level

Problem:    Vim9: no error for missing white space in assignment at script
            level.
Solution:   Check for white space. (closes #6495)

4 years agopatch 8.2.1273: MS-Windows: terminal test may leave file behind v8.2.1273
Bram Moolenaar [Wed, 22 Jul 2020 20:23:40 +0000 (22:23 +0200)]
patch 8.2.1273: MS-Windows: terminal test may leave file behind

Problem:    MS-Windows: terminal test may leave file behind.
Solution:   Wait a moment for process to end before deleting the file.
            (Taro Muraoka, closes #6513)

4 years agopatch 8.2.1272: Vim9: type not checked if declaration also assigns value v8.2.1272
Bram Moolenaar [Wed, 22 Jul 2020 19:45:14 +0000 (21:45 +0200)]
patch 8.2.1272: Vim9: type not checked if declaration also assigns value

Problem:    Vim9: type not checked if declaration also assigns value.
Solution:   Check the type. (issue #6507)

4 years agopatch 8.2.1271: Vim9: Error for Funcref function argument type v8.2.1271
Bram Moolenaar [Wed, 22 Jul 2020 18:16:11 +0000 (20:16 +0200)]
patch 8.2.1271: Vim9: Error for Funcref function argument type

Problem:    Vim9: Error for Funcref function argument type.
Solution:   Find the actual function type if possible. (issue #6507)

4 years agopatch 8.2.1270: Vim9: not skipping over function type declaration v8.2.1270
Bram Moolenaar [Wed, 22 Jul 2020 17:30:06 +0000 (19:30 +0200)]
patch 8.2.1270: Vim9: not skipping over function type declaration

Problem:    Vim9: not skipping over function type declaration with only a
            return type.
Solution:   Skip over the return type. (issue #6507)

4 years agopatch 8.2.1269: language and locale code spread out v8.2.1269
Bram Moolenaar [Wed, 22 Jul 2020 17:11:19 +0000 (19:11 +0200)]
patch 8.2.1269: language and locale code spread out

Problem:    Language and locale code spread out.
Solution:   Move relevant code to src/locale.c. (Yegappan Lakshmanan,
            closes #6509)

4 years agopatch 8.2.1268: Vim9: no error for using double quote comment v8.2.1268
Bram Moolenaar [Wed, 22 Jul 2020 16:17:08 +0000 (18:17 +0200)]
patch 8.2.1268: Vim9: no error for using double quote comment

Problem:    Vim9: no error for using double quote comment after :func or :def.
Solution:   Only accept double quote when not in Vim9 script and not after
            :def. (closes #6483)

4 years agopatch 8.2.1267: MS-Windows: tests may fail due to $PROMPT value v8.2.1267
Bram Moolenaar [Wed, 22 Jul 2020 16:14:58 +0000 (18:14 +0200)]
patch 8.2.1267: MS-Windows: tests may fail due to $PROMPT value

Problem:    MS-Windows: tests may fail due to $PROMPT value.
Solution:   Set $PROMPT for testing. (Taro Muraoka, closes #6510)

4 years agopatch 8.2.1266: Makefile preference were accidentally included v8.2.1266
Bram Moolenaar [Tue, 21 Jul 2020 20:34:41 +0000 (22:34 +0200)]
patch 8.2.1266: Makefile preference were accidentally included

Problem:    Makefile preference were accidentally included.
Solution:   Revert the Makefile changes.

4 years agopatch 8.2.1265: crash with EXITFREE when split() fails v8.2.1265
Bram Moolenaar [Tue, 21 Jul 2020 20:25:51 +0000 (22:25 +0200)]
patch 8.2.1265: crash with EXITFREE when split() fails

Problem:    Crash with EXITFREE when split() fails.
Solution:   Restore 'cpoptions'.

4 years agopatch 8.2.1264: terminal getwinpos() test is a bit flaky v8.2.1264
Bram Moolenaar [Tue, 21 Jul 2020 19:48:58 +0000 (21:48 +0200)]
patch 8.2.1264: terminal getwinpos() test is a bit flaky

Problem:    Terminal getwinpos() test is a bit flaky.
Solution:   Call getwinpos() a bit later.

4 years agopatch 8.2.1263: Vim9: comperators use 'ignorecase' in Vim9 script v8.2.1263
Bram Moolenaar [Tue, 21 Jul 2020 19:31:00 +0000 (21:31 +0200)]
patch 8.2.1263: Vim9: comperators use 'ignorecase' in Vim9 script

Problem:    Vim9: comperators use 'ignorecase' in Vim9 script.
Solution:   Ignore 'ignorecase'.  Use true and false instead of 1 and 0.
            (closes #6497)

4 years agopatch 8.2.1262: src/ex_cmds.c file is too big v8.2.1262
Bram Moolenaar [Tue, 21 Jul 2020 19:07:20 +0000 (21:07 +0200)]
patch 8.2.1262: src/ex_cmds.c file is too big

Problem:    src/ex_cmds.c file is too big.
Solution:   Move help related code to src/help.c. (Yegappan Lakshmanan,
            closes #6506)

4 years agopatch 8.2.1261: Vim9: common type of function not tested v8.2.1261
Bram Moolenaar [Tue, 21 Jul 2020 18:55:50 +0000 (20:55 +0200)]
patch 8.2.1261: Vim9: common type of function not tested

Problem:    Vim9: common type of function not tested.
Solution:   Add a test.  Fix uncovered problems.

4 years agopatch 8.2.1260: there is no good test for CursorHold v8.2.1260
Bram Moolenaar [Tue, 21 Jul 2020 17:44:47 +0000 (19:44 +0200)]
patch 8.2.1260: there is no good test for CursorHold

Problem:    There is no good test for CursorHold.
Solution:   Add a test.  Remove duplicated test. (Yegappan Lakshmanan,
            closes #6503

4 years agopatch 8.2.1259: empty group in 'tabline' may cause using an invalid pointer v8.2.1259
Bram Moolenaar [Tue, 21 Jul 2020 17:25:18 +0000 (19:25 +0200)]
patch 8.2.1259: empty group in 'tabline' may cause using an invalid pointer

Problem:    Empty group in 'tabline' may cause using an invalid pointer.
Solution:   Set the group start position. (closes #6505)

4 years agopatch 8.2.1258: CursorHold does not work well v8.2.1258
Bram Moolenaar [Mon, 20 Jul 2020 21:10:56 +0000 (23:10 +0200)]
patch 8.2.1258: CursorHold does not work well

Problem:    CursorHold does not work well.a (Shane-XB-Qian)
Solution:   Only restore did_cursorhold when using :normal.

4 years agopatch 8.2.1257: Vim9: list unpack doesn't work at the script level v8.2.1257
Bram Moolenaar [Mon, 20 Jul 2020 20:37:44 +0000 (22:37 +0200)]
patch 8.2.1257: Vim9: list unpack doesn't work at the script level

Problem:    Vim9: list unpack doesn't work at the script level.
Solution:   Detect unpack assignment better. (closes #6494)

4 years agopatch 8.2.1256: Vim9: type wrong after getting dict item in lambda v8.2.1256
Bram Moolenaar [Mon, 20 Jul 2020 20:09:34 +0000 (22:09 +0200)]
patch 8.2.1256: Vim9: type wrong after getting dict item in lambda

Problem:    Vim9: type wrong after getting dict item in lambda.
Solution:   Set the type to "any" after enforcing dict type. (closes #6491)

4 years agopatch 8.2.1255: cannot use a lambda with quickfix functions v8.2.1255
Bram Moolenaar [Mon, 20 Jul 2020 19:31:32 +0000 (21:31 +0200)]
patch 8.2.1255: cannot use a lambda with quickfix functions

Problem:    Cannot use a lambda with quickfix functions.
Solution:   Add support for lambda. (Yegappan Lakshmanan, closes #6499)

4 years agopatch 8.2.1254: MS-Windows: regexp test may fail if 'iskeyword' set wrongly v8.2.1254
Bram Moolenaar [Mon, 20 Jul 2020 19:21:30 +0000 (21:21 +0200)]
patch 8.2.1254: MS-Windows: regexp test may fail if 'iskeyword' set wrongly

Problem:    MS-Windows: regexp test may fail if 'iskeyword' set wrongly.
Solution:   Override the 'iskeyword' value. (Taro Muraoka, closes #6502)

4 years agopatch 8.2.1253: CTRL-K in Insert mode gets <CursorHold> inserted v8.2.1253
Bram Moolenaar [Sun, 19 Jul 2020 21:06:05 +0000 (23:06 +0200)]
patch 8.2.1253: CTRL-K in Insert mode gets <CursorHold> inserted

Problem:    CTRL-K in Insert mode gets <CursorHold> inserted. (Roland
            Puntaier)
Solution:   Do not reset did_cursorhold, restore it. (closes #6447)

4 years agopatch 8.2.1252: ":marks" may show '< and '> mixed up v8.2.1252
Bram Moolenaar [Sun, 19 Jul 2020 20:09:06 +0000 (22:09 +0200)]
patch 8.2.1252: ":marks" may show '< and '> mixed up

Problem:    ":marks" may show '< and '> mixed up.
Solution:   Show the mark position as where '< and '> would jump.

4 years agopatch 8.2.1251: Vim9: warning for pointer usage, test failure undetected v8.2.1251
Bram Moolenaar [Sun, 19 Jul 2020 18:48:59 +0000 (20:48 +0200)]
patch 8.2.1251: Vim9: warning for pointer usage, test failure undetected

Problem:    Vim9: warning for pointer usage, test failure undetected.
Solution:   Fix pointer indirection.  Give error when executing function
            failed for any reason.  Fix instruction names.

4 years agopatch 8.2.1250: Vim9: cannot use the g:, b:, t: and w: namespaces v8.2.1250
Bram Moolenaar [Sun, 19 Jul 2020 17:47:35 +0000 (19:47 +0200)]
patch 8.2.1250: Vim9: cannot use the g:, b:, t: and w: namespaces

Problem:    Vim9: cannot use the g:, b:, t: and w: namespaces.
Solution:   Add instructions to push a dict for the namespaces. (closes #6480)

4 years agopatch 8.2.1249: Vim9: disassemble test fails v8.2.1249
Bram Moolenaar [Sun, 19 Jul 2020 16:38:37 +0000 (18:38 +0200)]
patch 8.2.1249: Vim9: disassemble test fails

Problem:    Vim9: disassemble test fails.
Solution:   Change INDEX to LISTINDEX.  Add test for STRINDEX.

4 years agopatch 8.2.1248: Netbeans test is flaky in the GUI v8.2.1248
Bram Moolenaar [Sun, 19 Jul 2020 16:24:32 +0000 (18:24 +0200)]
patch 8.2.1248: Netbeans test is flaky in the GUI

Problem:    Netbeans test is flaky in the GUI.
Solution:   Filter out geometry messages. (Taro Muraoka, closes #6487)

4 years agopatch 8.2.1247: Vim9: cannot index a character in a string v8.2.1247
Bram Moolenaar [Sun, 19 Jul 2020 15:55:44 +0000 (17:55 +0200)]
patch 8.2.1247: Vim9: cannot index a character in a string

Problem:    Vim9: cannot index a character in a string.
Solution:   Add ISN_STRINDEX instruction. (closes #6478)

4 years agopatch 8.2.1246: Vim9: comment after assignment doesn't work v8.2.1246
Bram Moolenaar [Sun, 19 Jul 2020 15:17:02 +0000 (17:17 +0200)]
patch 8.2.1246: Vim9: comment after assignment doesn't work

Problem:    Vim9: comment after assignment doesn't work.
Solution:   Skip over white space. (closes #6481)

4 years agopatch 8.2.1245: build failure in tiny version v8.2.1245
Bram Moolenaar [Sun, 19 Jul 2020 14:32:09 +0000 (16:32 +0200)]
patch 8.2.1245: build failure in tiny version

Problem:    Build failure in tiny version.
Solution:   Add #ifdef.

4 years agopatch 8.2.1244: Vim9: in lambda index assumes a list v8.2.1244
Bram Moolenaar [Sun, 19 Jul 2020 13:49:49 +0000 (15:49 +0200)]
patch 8.2.1244: Vim9: in lambda index assumes a list

Problem:    Vim9: in lambda index assumes a list.
Solution:   Use the value type to decide about list or dict. (closes #6479)

4 years agopatch 8.2.1243: Vim9: cannot have a comment line halfway a list v8.2.1243
Bram Moolenaar [Sun, 19 Jul 2020 12:41:58 +0000 (14:41 +0200)]
patch 8.2.1243: Vim9: cannot have a comment line halfway a list

Problem:    Vim9: cannot have a comment or empty line halfway a list at script
            level.
Solution:   Skip more than one line if needed.

4 years agopatch 8.2.1242: Vim9: no error if calling a function with wrong type v8.2.1242
Bram Moolenaar [Sun, 19 Jul 2020 12:03:09 +0000 (14:03 +0200)]
patch 8.2.1242: Vim9: no error if calling a function with wrong type

Problem:    Vim9: no error if calling a function with wrong argument type.
Solution:   Check types of arguments. (closes #6469)

4 years agopatch 8.2.1241: cannot use getbufinfo() as a method v8.2.1241
Bram Moolenaar [Sat, 18 Jul 2020 20:24:22 +0000 (22:24 +0200)]
patch 8.2.1241: cannot use getbufinfo() as a method

Problem:    Cannot use getbufinfo() as a method.
Solution:   Support using getbufinfo() as a method. (closes #6458)

4 years agopatch 8.2.1240: GUI tests sometimes fail because of translations v8.2.1240
Bram Moolenaar [Sat, 18 Jul 2020 20:03:11 +0000 (22:03 +0200)]
patch 8.2.1240: GUI tests sometimes fail because of translations

Problem:    GUI tests sometimes fail because of translations.
Solution:   Reload the menus without translation. (Taro Muraoka, closes #6486)

4 years agopatch 8.2.1239: "maxwidth" in 'completepopup' not obeyed v8.2.1239
Bram Moolenaar [Sat, 18 Jul 2020 19:40:41 +0000 (21:40 +0200)]
patch 8.2.1239: "maxwidth" in 'completepopup' not obeyed

Problem:    "maxwidth" in 'completepopup' not obeyed. (Jay Sitter)
Solution:   Add separate field for value from option. (closes #6470)

4 years agopatch 8.2.1238: Vim9: a few remaining errors not caught by try/catch v8.2.1238
Bram Moolenaar [Sat, 18 Jul 2020 16:13:02 +0000 (18:13 +0200)]
patch 8.2.1238: Vim9: a few remaining errors not caught by try/catch

Problem:    Vim9: a few remaining errors not caught by try/catch.
Solution:   Do not bail out if an error is inside try/catch.

4 years agopatch 8.2.1237: changing 'completepopup' after opening popup has no effect v8.2.1237
Bram Moolenaar [Sat, 18 Jul 2020 14:07:16 +0000 (16:07 +0200)]
patch 8.2.1237: changing 'completepopup' after opening popup has no effect

Problem:    Changing 'completepopup' after opening a popup has no effect. (Jay
            Sitter)
Solution:   Close the popup when the options are changed. (closes #6471)

4 years agopatch 8.2.1236: Vim9: a few errors not caught by try/catch v8.2.1236
Bram Moolenaar [Sat, 18 Jul 2020 13:17:02 +0000 (15:17 +0200)]
patch 8.2.1236: Vim9: a few errors not caught by try/catch

Problem:    Vim9: a few errors not caught by try/catch.
Solution:   Do not bail out if an error is inside try/catch.  Fix that a not
            matching catch doesn't jump to :endtry.

4 years agopatch 8.2.1235: Not all mouse codes covered by tests v8.2.1235
Bram Moolenaar [Sat, 18 Jul 2020 10:59:19 +0000 (12:59 +0200)]
patch 8.2.1235: Not all mouse codes covered by tests

Problem:    Not all mouse codes covered by tests.
Solution:   Add more tests for the mouse. (Yegappan Lakshmanan, closes #6472)

4 years agopatch 8.2.1234: Lua build problem with old compiler v8.2.1234
Bram Moolenaar [Sat, 18 Jul 2020 10:50:35 +0000 (12:50 +0200)]
patch 8.2.1234: Lua build problem with old compiler

Problem:    Lua build problem with old compiler.
Solution:   Move declarations to start of the block. (Taro Muraoka,
            closes #6477)

4 years agopatch 8.2.1233: Vim9: various errors not caught by try/catch v8.2.1233
Bram Moolenaar [Fri, 17 Jul 2020 21:03:17 +0000 (23:03 +0200)]
patch 8.2.1233: Vim9: various errors not caught by try/catch

Problem:    Vim9: various errors not caught by try/catch.
Solution:   Do not bail out if an error is inside try/catch.

4 years agopatch 8.2.1232: MS-Windows GUI: Snap cancelled by split command v8.2.1232
Bram Moolenaar [Fri, 17 Jul 2020 20:26:53 +0000 (22:26 +0200)]
patch 8.2.1232: MS-Windows GUI: Snap cancelled by split command

Problem:    MS-Windows GUI: Snap cancelled by split command.
Solution:   Do not cancel Snap when splitting a window. (Ken Takata,
            closes #6467)

4 years agopatch 8.2.1231: MS-Windows: GUI code can be cleaned up v8.2.1231
Bram Moolenaar [Fri, 17 Jul 2020 20:17:03 +0000 (22:17 +0200)]
patch 8.2.1231: MS-Windows: GUI code can be cleaned up

Problem:    MS-Windows: GUI code can be cleaned up.
Solution:   Do a bit of cleaning up. (Ken Takata, closes #6465)

4 years agopatch 8.2.1230: Vim9: list index error not caught by try/catch v8.2.1230
Bram Moolenaar [Fri, 17 Jul 2020 20:06:44 +0000 (22:06 +0200)]
patch 8.2.1230: Vim9: list index error not caught by try/catch

Problem:    Vim9: list index error not caught by try/catch.
Solution:   Do not bail out if an error is inside try/catch. (closes #6462)

4 years agopatch 8.2.1229: build error without the eval feature v8.2.1229
Bram Moolenaar [Fri, 17 Jul 2020 18:47:51 +0000 (20:47 +0200)]
patch 8.2.1229: build error without the eval feature

Problem:    Build error without the eval feature.
Solution:   Declare starts_with_colon. Make function local.

4 years agopatch 8.2.1228: scrollbars not flush against the window edges when maximised v8.2.1228
Bram Moolenaar [Fri, 17 Jul 2020 18:43:43 +0000 (20:43 +0200)]
patch 8.2.1228: scrollbars not flush against the window edges when maximised

Problem:    Scrollbars not flush against the window edges when maximised.
Solution:   Add padding. (Ken Takata, closes #5602, closes #6466)

4 years agopatch 8.2.1227: Vim9: allowing both quoted and # comments is confusing v8.2.1227
Bram Moolenaar [Fri, 17 Jul 2020 18:36:00 +0000 (20:36 +0200)]
patch 8.2.1227: Vim9: allowing both quoted and # comments is confusing

Problem:    Vim9: allowing both quoted and # comments is confusing.
Solution:   Only support # comments in Vim9 script.

4 years agopatch 8.2.1226: MS-Windows: windows positioning wrong depending on taskbar v8.2.1226
Bram Moolenaar [Thu, 16 Jul 2020 20:30:31 +0000 (22:30 +0200)]
patch 8.2.1226: MS-Windows: windows positioning wrong depending on taskbar

Problem:    MS-Windows: windows positioning wrong when the taskbar is placed
            at the top or left of the screen.
Solution:   Use GetWindowRect and MoveWindow APIs. (Yukihiro Nakadaira,
            Ken Takata, closes #6455)

4 years agopatch 8.2.1225: linker errors when building with dynamic Python 3.9 v8.2.1225
Bram Moolenaar [Thu, 16 Jul 2020 20:15:53 +0000 (22:15 +0200)]
patch 8.2.1225: linker errors when building with dynamic Python 3.9

Problem:    Linker errors when building with dynamic Python 3.9.
Solution:   Add #defined items. (closes #6461)

4 years agopatch 8.2.1224: Vim9: arguments from partial are not used v8.2.1224
Bram Moolenaar [Wed, 15 Jul 2020 20:38:56 +0000 (22:38 +0200)]
patch 8.2.1224: Vim9: arguments from partial are not used

Problem:    Vim9: arguments from partial are not used.
Solution:   Put the partial arguments on the stack. (closes #6460)

4 years agopatch 8.2.1223: Vim9: invalid type error for function default value v8.2.1223
Bram Moolenaar [Wed, 15 Jul 2020 17:48:20 +0000 (19:48 +0200)]
patch 8.2.1223: Vim9: invalid type error for function default value

Problem:    Vim9: invalid type error for function default value.
Solution:   Use right argument index. (closes #6458)

4 years agopatch 8.2.1222: using valgrind in Vim command started by test doesn't work v8.2.1222
Bram Moolenaar [Wed, 15 Jul 2020 16:29:18 +0000 (18:29 +0200)]
patch 8.2.1222: using valgrind in Vim command started by test doesn't work

Problem:    When using valgrind a Vim command started by a test uses the same
            log file name which gets overwritten.
Solution:   Fix regexp to rename the log file.

4 years agopatch 8.2.1221: memory leak when updating popup window v8.2.1221
Bram Moolenaar [Wed, 15 Jul 2020 16:27:08 +0000 (18:27 +0200)]
patch 8.2.1221: memory leak when updating popup window

Problem:    Memory leak when updating popup window.
Solution:   Clear search highlighting.

4 years agopatch 8.2.1220: memory access error when dragging a popup window v8.2.1220
Bram Moolenaar [Wed, 15 Jul 2020 15:38:21 +0000 (17:38 +0200)]
patch 8.2.1220: memory access error when dragging a popup window

Problem:    memory access error when dragging a popup window over a buffer
            with folding.
Solution:   Avoid going over the end of the cache. (closes #6438)

4 years agopatch 8.2.1219: symlink not followed if dirname ends in // v8.2.1219
Bram Moolenaar [Wed, 15 Jul 2020 13:30:05 +0000 (15:30 +0200)]
patch 8.2.1219: symlink not followed if dirname ends in //

Problem:    Symlink not followed if dirname ends in //.
Solution:   Resolve symlink earlier. (Tomáš Janoušek, closes #6454)

4 years agopatch 8.2.1218: Vim9: cannot use 'text'->func() v8.2.1218
Bram Moolenaar [Wed, 15 Jul 2020 12:15:52 +0000 (14:15 +0200)]
patch 8.2.1218: Vim9: cannot use 'text'->func()

Problem:    Vim9: cannot use 'text'->func().
Solution:   Recognize string at start of command.

4 years agopatch 8.2.1217: startup test depends on random source file v8.2.1217
Bram Moolenaar [Wed, 15 Jul 2020 09:19:11 +0000 (11:19 +0200)]
patch 8.2.1217: startup test depends on random source file

Problem:    Startup test depends on random source file.
Solution:   Write a test file to find quickfix errors in.

4 years agopatch 8.2.1216: startup test fails v8.2.1216
Bram Moolenaar [Tue, 14 Jul 2020 23:37:36 +0000 (01:37 +0200)]
patch 8.2.1216: startup test fails

Problem:    Startup test fails.
Solution:   Adjust expected values for deleted lines.

4 years agopatch 8.2.1215: Atari MiNT support is outdated v8.2.1215
Bram Moolenaar [Tue, 14 Jul 2020 21:02:44 +0000 (23:02 +0200)]
patch 8.2.1215: Atari MiNT support is outdated

Problem:    Atari MiNT support is outdated.
Solution:   Nobody responded this code is still useful, so let's delete it.

4 years agopatch 8.2.1214: MS-Windows: default _vimrc not correct in silent install mode v8.2.1214
Bram Moolenaar [Tue, 14 Jul 2020 20:24:40 +0000 (22:24 +0200)]
patch 8.2.1214: MS-Windows: default _vimrc not correct in silent install mode

Problem:    MS-Windows: default _vimrc not correct in silent install mode.
Solution:   Add the LoadDefaultVimrc macro. (Ken Takata, closes #6451)

4 years agopatch 8.2.1213: mouse codes not tested sufficiently v8.2.1213
Bram Moolenaar [Tue, 14 Jul 2020 20:11:04 +0000 (22:11 +0200)]
patch 8.2.1213: mouse codes not tested sufficiently

Problem:    Mouse codes not tested sufficiently.
Solution:   Add more tests for mouse codes. (closes #6436)

4 years agopatch 8.2.1212: cannot build with Lua 5.4 v8.2.1212
Bram Moolenaar [Tue, 14 Jul 2020 19:54:28 +0000 (21:54 +0200)]
patch 8.2.1212: cannot build with Lua 5.4

Problem:    Cannot build with Lua 5.4.
Solution:   Use luaL_typeerror instead defining it. (closes #6454)

4 years agopatch 8.2.1211: removed more than dead code v8.2.1211
Bram Moolenaar [Tue, 14 Jul 2020 19:22:30 +0000 (21:22 +0200)]
patch 8.2.1211: removed more than dead code

Problem:    Removed more than dead code.
Solution:   Put back the decrement.

4 years agopatch 8.2.1210: using ht_used when looping through a hashtab is less reliable v8.2.1210
Bram Moolenaar [Tue, 14 Jul 2020 19:08:49 +0000 (21:08 +0200)]
patch 8.2.1210: using ht_used when looping through a hashtab is less reliable

Problem:    Using ht_used when looping through a hashtab is less reliable.
Solution:   Use ht_changed in a few more places.

4 years agopatch 8.2.1209: Vim9: test failure v8.2.1209
Bram Moolenaar [Tue, 14 Jul 2020 14:15:34 +0000 (16:15 +0200)]
patch 8.2.1209: Vim9: test failure

Problem:    Vim9: test failure.
Solution:   Add missing changes to hashtab.

4 years agopatch 8.2.1208: build failure v8.2.1208
Bram Moolenaar [Tue, 14 Jul 2020 13:47:23 +0000 (15:47 +0200)]
patch 8.2.1208: build failure

Problem:    Build failure.
Solution:   Add missing change.

4 years agopatch 8.2.1207: Vim9: crash in expr test when run in the GUI v8.2.1207
Bram Moolenaar [Tue, 14 Jul 2020 13:01:05 +0000 (15:01 +0200)]
patch 8.2.1207: Vim9: crash in expr test when run in the GUI

Problem:    Vim9: crash in expr test when run in the GUI.
Solution:   Break out of loop over hashtab also when function got removed and
            added.

4 years agopatch 8.2.1206: Vim9: crash in expr test when run in the GUI v8.2.1206
Bram Moolenaar [Mon, 13 Jul 2020 21:22:54 +0000 (23:22 +0200)]
patch 8.2.1206: Vim9: crash in expr test when run in the GUI

Problem:    Vim9: crash in expr test when run in the GUI.
Solution:   Temporarily comment out two test lines.

4 years agopatch 8.2.1205: Vim9: && and || work different when not compiled v8.2.1205
Bram Moolenaar [Mon, 13 Jul 2020 20:29:02 +0000 (22:29 +0200)]
patch 8.2.1205: Vim9: && and || work different when not compiled

Problem:    Vim9: && and || work different when not compiled.
Solution:   Keep the value.

4 years agopatch 8.2.1204: Vim9: true and false not recognized in Vim9 script v8.2.1204
Bram Moolenaar [Mon, 13 Jul 2020 19:59:33 +0000 (21:59 +0200)]
patch 8.2.1204: Vim9: true and false not recognized in Vim9 script

Problem:    Vim9: true and false not recognized in Vim9 script.
Solution:   Recognize true and false.

4 years agopatch 8.2.1203: unused assignments in expression evaluation v8.2.1203
Bram Moolenaar [Mon, 13 Jul 2020 19:28:03 +0000 (21:28 +0200)]
patch 8.2.1203: unused assignments in expression evaluation

Problem:    Unused assignments in expression evaluation.
Solution:   Move declarations and assignments to inner blocks where possible.

4 years agopatch 8.2.1202: Vim9: crash when calling a closure from a builtin function v8.2.1202
Bram Moolenaar [Mon, 13 Jul 2020 18:41:08 +0000 (20:41 +0200)]
patch 8.2.1202: Vim9: crash when calling a closure from a builtin function

Problem:    Vim9: crash when calling a closure from a builtin function.
Solution:   Use the current execution context. (closes #6441)

4 years agopatch 8.2.1201: Vim9: crash when passing number as dict key v8.2.1201
Bram Moolenaar [Mon, 13 Jul 2020 16:55:48 +0000 (18:55 +0200)]
patch 8.2.1201: Vim9: crash when passing number as dict key

Problem:    Vim9: crash when passing number as dict key.
Solution:   Check key type to be string. (closes #6449)

4 years agopatch 8.2.1200: Vim9: cannot disassemble a lambda function v8.2.1200
Bram Moolenaar [Mon, 13 Jul 2020 16:18:00 +0000 (18:18 +0200)]
patch 8.2.1200: Vim9: cannot disassemble a lambda function

Problem:    Vim9: cannot disassemble a lambda function.
Solution:   Recognize "<lambda>123" as a function name.

4 years agopatch 8.2.1199: not all assert functions are fully tested v8.2.1199
Bram Moolenaar [Sun, 12 Jul 2020 21:09:20 +0000 (23:09 +0200)]
patch 8.2.1199: not all assert functions are fully tested

Problem:    Not all assert functions are fully tested.
Solution:   Test more assert functions.

4 years agopatch 8.2.1198: terminal2 test sometimes hangs in the GUI on Travis v8.2.1198
Bram Moolenaar [Sun, 12 Jul 2020 19:38:29 +0000 (21:38 +0200)]
patch 8.2.1198: terminal2 test sometimes hangs in the GUI on Travis

Problem:    Terminal2 test sometimes hangs in the GUI on Travis.
Solution:   Move test function to terminal3 to see if the problem moves too.

4 years agopatch 8.2.1197: clientserver test still fails on MS-Windows v8.2.1197
Bram Moolenaar [Sun, 12 Jul 2020 18:49:29 +0000 (20:49 +0200)]
patch 8.2.1197: clientserver test still fails on MS-Windows

Problem:    Clientserver test still fails on MS-Windows.
Solution:   Expect a different error message.

4 years agopatch 8.2.1196: build failure with normal features v8.2.1196
Bram Moolenaar [Sun, 12 Jul 2020 18:44:37 +0000 (20:44 +0200)]
patch 8.2.1196: build failure with normal features

Problem:    Build failure with normal features.
Solution:   Add #ifdef.

4 years agopatch 8.2.1195: clientserver test fails on MS-Windows v8.2.1195
Bram Moolenaar [Sun, 12 Jul 2020 18:00:24 +0000 (20:00 +0200)]
patch 8.2.1195: clientserver test fails on MS-Windows

Problem:    Clientserver test fails on MS-Windows.
Solution:   Expect a different error message.

4 years agopatch 8.2.1194: test failure because shell prompt differs v8.2.1194
Bram Moolenaar [Sun, 12 Jul 2020 17:52:36 +0000 (19:52 +0200)]
patch 8.2.1194: test failure because shell prompt differs

Problem:    Test failure because shell prompt differs.
Solution:   Set the shell prompt.