Bram Moolenaar
4cc45a3673
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 )
2020-07-23 14:51:02 +02:00
Bram Moolenaar
5a67c37a55
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 )
2020-07-23 14:39:47 +02:00
Bram Moolenaar
63be3d4ba0
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 )
2020-07-23 13:11:37 +02:00
Bram Moolenaar
c69950ac17
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 )
2020-07-22 22:23:40 +02:00
Bram Moolenaar
4cdb13ce81
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 )
2020-07-22 21:45:14 +02:00
Bram Moolenaar
0f60e80f9b
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 )
2020-07-22 20:16:11 +02:00
Bram Moolenaar
2f1980f7b7
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 )
2020-07-22 19:30:06 +02:00
Bram Moolenaar
054f14bbe5
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 )
2020-07-22 19:11:19 +02:00
Bram Moolenaar
e7e4838f25
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 )
2020-07-22 18:17:08 +02:00
Bram Moolenaar
2690b5aed8
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 )
2020-07-22 18:14:58 +02:00
Bram Moolenaar
bc6fcbe4ce
patch 8.2.1266: Makefile preference were accidentally included
...
Problem: Makefile preference were accidentally included.
Solution: Revert the Makefile changes.
2020-07-21 22:34:41 +02:00
Bram Moolenaar
7d5e744162
patch 8.2.1265: crash with EXITFREE when split() fails
...
Problem: Crash with EXITFREE when split() fails.
Solution: Restore 'cpoptions'.
2020-07-21 22:25:51 +02:00
Bram Moolenaar
420952175a
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.
2020-07-21 21:48:58 +02:00
Bram Moolenaar
c71f36a889
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 )
2020-07-21 21:31:00 +02:00
Bram Moolenaar
f868ba8903
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 )
2020-07-21 21:07:20 +02:00
Bram Moolenaar
c7db57788b
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.
2020-07-21 20:55:50 +02:00
Bram Moolenaar
7591116acf
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
2020-07-21 19:44:47 +02:00
Bram Moolenaar
f56c95fdad
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 )
2020-07-21 19:25:18 +02:00
Bram Moolenaar
08815a1d03
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.
2020-07-20 23:10:56 +02:00
Bram Moolenaar
b31be3f909
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 )
2020-07-20 22:37:44 +02:00
Bram Moolenaar
7892b953e0
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 )
2020-07-20 22:09:34 +02:00
Bram Moolenaar
d43906d2e5
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 )
2020-07-20 21:31:32 +02:00
Bram Moolenaar
470adb827f
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 )
2020-07-20 21:21:30 +02:00
Bram Moolenaar
b146e01a7e
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 )
2020-07-19 23:06:05 +02:00
Bram Moolenaar
54c3fcd852
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.
2020-07-19 22:09:06 +02:00
Bram Moolenaar
682d0a1546
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.
2020-07-19 20:48:59 +02:00
Bram Moolenaar
2f8ce0ae8a
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 )
2020-07-19 19:47:35 +02:00
Bram Moolenaar
747f11ad6e
patch 8.2.1249: Vim9: disassemble test fails
...
Problem: Vim9: disassemble test fails.
Solution: Change INDEX to LISTINDEX. Add test for STRINDEX.
2020-07-19 18:38:37 +02:00
Bram Moolenaar
956501594e
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 )
2020-07-19 18:24:32 +02:00
Bram Moolenaar
bf9d8c3765
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 )
2020-07-19 17:55:44 +02:00
Bram Moolenaar
b209750b5e
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 )
2020-07-19 17:17:02 +02:00
Bram Moolenaar
f398238a37
patch 8.2.1245: build failure in tiny version
...
Problem: Build failure in tiny version.
Solution: Add #ifdef.
2020-07-19 16:32:09 +02:00
Bram Moolenaar
6802cce407
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 )
2020-07-19 15:49:49 +02:00
Bram Moolenaar
75783bd84e
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.
2020-07-19 14:41:58 +02:00
Bram Moolenaar
65b9545f44
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 )
2020-07-19 14:03:09 +02:00
Bram Moolenaar
6434fc574d
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 )
2020-07-18 22:24:22 +02:00
Bram Moolenaar
10e1d01aaf
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 )
2020-07-18 22:03:11 +02:00
Bram Moolenaar
de2396fc87
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 )
2020-07-18 21:40:41 +02:00
Bram Moolenaar
d032f34a51
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.
2020-07-18 18:13:02 +02:00
Bram Moolenaar
447bfba24b
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 )
2020-07-18 16:07:16 +02:00
Bram Moolenaar
e859312e74
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.
2020-07-18 15:17:02 +02:00
Bram Moolenaar
2764d06ab7
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 )
2020-07-18 12:59:19 +02:00
Bram Moolenaar
066e7da3cd
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 )
2020-07-18 12:50:35 +02:00
Bram Moolenaar
f0b9f43c31
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.
2020-07-17 23:03:17 +02:00
Bram Moolenaar
b68ced5f07
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 )
2020-07-17 22:26:53 +02:00
Bram Moolenaar
945c857844
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 )
2020-07-17 22:17:03 +02:00
Bram Moolenaar
68d130c618
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 )
2020-07-17 22:06:44 +02:00
Bram Moolenaar
6e36b1c18e
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.
2020-07-17 20:47:51 +02:00
Bram Moolenaar
203ec7760d
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 )
2020-07-17 20:43:43 +02:00
Bram Moolenaar
f5be8cdb77
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.
2020-07-17 20:36:00 +02:00