]>
granicus.if.org Git - vim/log
Bram Moolenaar [Wed, 29 Jul 2020 19:37:43 +0000 (21:37 +0200)]
patch 8.2.1324: Vim9: line break after "=" does not work
Problem: Vim9: line break after "=" does not work.
Solution: Also allow for NUL after "=". (closes #6549)
Bram Moolenaar [Wed, 29 Jul 2020 19:20:41 +0000 (21:20 +0200)]
patch 8.2.1323: Vim9: invalid operators only rejected in :def function
Problem: Vim9: invalid operators only rejected in :def function.
Solution: Also reject them at script level. (closes #6564)
Bram Moolenaar [Wed, 29 Jul 2020 18:00:38 +0000 (20:00 +0200)]
patch 8.2.1322: Vim9: method on double quoted string doesn't work
Problem: Vim9: method on double quoted string doesn't work.
Solution: Recognize double quoted string. (closes #6562)
Bram Moolenaar [Wed, 29 Jul 2020 17:29:23 +0000 (19:29 +0200)]
patch 8.2.1321: GitHub CI also runs on tag push
Problem: GitHub CI also runs on tag push.
Solution: Skip CI on push. (Ken Takata, closes #6571)
Bram Moolenaar [Wed, 29 Jul 2020 17:18:00 +0000 (19:18 +0200)]
patch 8.2.1320: Vim9: cannot declare some single letter variables
Problem: Vim9: cannot declare some single letter variables.
Solution: Do not recognize a colon for a namespace for single letter
variables. (closes #6547)
Bram Moolenaar [Wed, 29 Jul 2020 15:43:55 +0000 (17:43 +0200)]
patch 8.2.1319: status badge for Github CI has wrong link
Problem: Status badge for Github CI has wrong link.
Solution: Rename and use the right link
Bram Moolenaar [Wed, 29 Jul 2020 15:34:33 +0000 (17:34 +0200)]
patch 8.2.1318: no status badge for Github CI
Problem: No status badge for Github CI.
Solution: Add a badge.
Bram Moolenaar [Wed, 29 Jul 2020 14:32:21 +0000 (16:32 +0200)]
patch 8.2.1317: MS-Windows tests on AppVeyor are slow
Problem: MS-Windows tests on AppVeyor are slow.
Solution: Use GitHub Actions. (Ken Takata, closes #6569)
Bram Moolenaar [Wed, 29 Jul 2020 14:08:21 +0000 (16:08 +0200)]
patch 8.2.1316: test 42 is still old style
Problem: Test 42 is still old style.
Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes #6561)
Bram Moolenaar [Wed, 29 Jul 2020 13:03:01 +0000 (15:03 +0200)]
patch 8.2.1315: MS-Windows: test log contains escape sequences
Problem: MS-Windows: test log contains escape sequences.
Solution: Do not use t_md and t_me but ANSI escape sequences. (Ken Takata,
closes #6559)
Bram Moolenaar [Wed, 29 Jul 2020 12:40:25 +0000 (14:40 +0200)]
patch 8.2.1314: Vim9: rule for comment after :function is confusing
Problem: Vim9: rule for comment after :function is confusing.
Solution: Allow double quoted comment after :function in vim9script.
(closes #6556)
Bram Moolenaar [Tue, 28 Jul 2020 20:38:37 +0000 (22:38 +0200)]
patch 8.2.1313: Vim9 script: cannot assign to environment variable
Problem: Vim9 script: cannot assign to environment variable.
Solution: Recognize environment variable assignment. (closes #6548)
Also options and registers.
Bram Moolenaar [Tue, 28 Jul 2020 19:40:27 +0000 (21:40 +0200)]
patch 8.2.1312: MS-Windows: terminal test may fail if dir.exe exists
Problem: MS-Windows: terminal test may fail if dir.exe exists.
Solution: Use dir.com. (Ken Takata, closes #6557)
Bram Moolenaar [Tue, 28 Jul 2020 19:15:07 +0000 (21:15 +0200)]
patch 8.2.1311: test failures with legacy Vim script
Problem: Test failures with legacy Vim script.
Solution: Actually check for Vim9 script.
Bram Moolenaar [Tue, 28 Jul 2020 19:03:37 +0000 (21:03 +0200)]
patch 8.2.1310: configure with Xcode 12 fails to check for tgetent
Problem: Configure with Xcode 12 fails to check for tgetent.
Solution: Declare tgetent(). (Ozaki Kiichi, closes #6558)
Bram Moolenaar [Tue, 28 Jul 2020 18:25:47 +0000 (20:25 +0200)]
patch 8.2.1309: build failure with tiny version
Problem: Build failure with tiny version.
Solution: Add #ifdef.
Bram Moolenaar [Tue, 28 Jul 2020 18:07:27 +0000 (20:07 +0200)]
patch 8.2.1308: Vim9: accidentally using "x" causes Vim to exit
Problem: Vim9: accidentally using "x" causes Vim to exit.
Solution: Disallow using ":x" or "xit" in Vim9 script. (closes #6399)
Bram Moolenaar [Mon, 27 Jul 2020 20:40:37 +0000 (22:40 +0200)]
patch 8.2.1307: popup window width does not include number of sign columns
Problem: popup window width does not include number, fold of sign column
width.
Solution: Take number, fold and sign column with into account.
Bram Moolenaar [Mon, 27 Jul 2020 19:43:28 +0000 (21:43 +0200)]
patch 8.2.1306: checking for first character of dict key is inconsistent
Problem: Checking for first character of dict key is inconsistent.
Solution: Add eval_isdictc(). (closes #6546)
Bram Moolenaar [Mon, 27 Jul 2020 18:02:41 +0000 (20:02 +0200)]
patch 8.2.1305: some tests are still old style
Problem: Some tests are still old style.
Solution: Convert tests 52 and 70 to new style. (Yegappan Lakshmanan,
closes #6544) Fix error in FinishTesting().
Bram Moolenaar [Mon, 27 Jul 2020 17:47:07 +0000 (19:47 +0200)]
patch 8.2.1304: debug backtrace isn't tested much
Problem: Debug backtrace isn't tested much.
Solution: Add more specific tests. (Ben Jackson, closes #6540)
Bram Moolenaar [Sun, 26 Jul 2020 20:20:54 +0000 (22:20 +0200)]
patch 8.2.1303: calling popup_setoptions() resets 'signcolumn'
Problem: Calling popup_setoptions() resets 'signcolumn'.
Solution: Only set 'signcolumn' when creating the popup. (closes #6542)
Bram Moolenaar [Sun, 26 Jul 2020 16:33:09 +0000 (18:33 +0200)]
patch 8.2.1302: Vim9: varargs arg after optional arg does not work
Problem: Vim9: varargs arg after optional arg does not work
Solution: Check for the "..." first. (issue #6507)
Bram Moolenaar [Sun, 26 Jul 2020 16:16:58 +0000 (18:16 +0200)]
patch 8.2.1301: Vim9: varargs argument type not parsed properly
Problem: Vim9: varargs argument type not parsed properly.
Solution: Skip over the "...". (issue #6507)
Bram Moolenaar [Sun, 26 Jul 2020 15:56:25 +0000 (17:56 +0200)]
patch 8.2.1300: Vim9: optional argument type not parsed properly
Problem: Vim9: optional argument type not parsed properly.
Solution: Skip over the "?". (issue #6507)
Bram Moolenaar [Sun, 26 Jul 2020 15:00:44 +0000 (17:00 +0200)]
Update runtime files.
Bram Moolenaar [Sun, 26 Jul 2020 13:55:25 +0000 (15:55 +0200)]
patch 8.2.1299: compiler warning for using size_t for int and void pointer
Problem: Compiler warning for using size_t for int and void pointer.
Solution: Add type casts.
Bram Moolenaar [Sun, 26 Jul 2020 13:51:06 +0000 (15:51 +0200)]
patch 8.2.1298: compiler warning for unused argument in small version
Problem: Compiler warning for unused argument in small version.
Solution: Add UNUSED.
Bram Moolenaar [Sun, 26 Jul 2020 13:37:02 +0000 (15:37 +0200)]
patch 8.2.1297: when a test fails it's often not easy to see where
Problem: When a test fails it's often not easy to see what the call stack
is.
Solution: Add more entries from the call stack in the exception message.
Bram Moolenaar [Sun, 26 Jul 2020 11:27:16 +0000 (13:27 +0200)]
patch 8.2.1296: some part of using 'smarcase' was not tested
Problem: Some part of using 'smarcase' was not tested.
Solution: Add more tests. (Dominique Pellé, closes #6538)
Bram Moolenaar [Sun, 26 Jul 2020 10:52:59 +0000 (12:52 +0200)]
patch 8.2.1295: tests 44 and 99 are old style
Problem: Tests 44 and 99 are old style.
Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #6536)
Bram Moolenaar [Sat, 25 Jul 2020 17:38:18 +0000 (19:38 +0200)]
patch 8.2.1294: 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)
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)
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)
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)
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.
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)
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)
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)
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)
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)
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.
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.
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.
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.
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.
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.
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)
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.
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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.
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'.
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.
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)
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)
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.
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
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)
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.
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)
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)
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)
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)
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)
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.
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.
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)
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.
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)
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)
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)
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.
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)
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.
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)
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)
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)
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)
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.
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)
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.
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)
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)
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.
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)
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)
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)
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.
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)
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.
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)