3a53ec8bdd
patch 8.2.1330: Github workflow takes longer than needed
...
Problem: Github workflow takes longer than needed.
Solution: Do two test runs in parallel instead of sequentially. (Ken Takata,
closes #6579 )
2020-07-31 22:17:32 +02:00
38ddf333f6
patch 8.2.1329: Vim9: cannot define global function inside :def function
...
Problem: Vim9: cannot define global function inside :def function.
Solution: Assign to global variable instead of local. (closes #6584 )
2020-07-31 22:05:04 +02:00
4d4d1cd5c8
patch 8.2.1328: no space allowed before comma in list
...
Problem: No space allowed before comma in list.
Solution: Legacy Vim script allows it. (closes #6577 )
2020-07-30 22:14:33 +02:00
f4ee528086
patch 8.2.1327: Mac: configure can't find Tcl libraries
...
Problem: Mac: configure can't find Tcl libraries.
Solution: Adjust configure check. (closes #6575 )
2020-07-30 20:18:08 +02:00
9d48956681
patch 8.2.1326: Vim9: skipping over white space after list
...
Problem: Vim9: skipping over white space after list.
Solution: Do not skip white space, a following [] would be misinterpreted.
(closes #6552 ) Fix a few side effects.
2020-07-30 20:08:50 +02:00
ea2d8d2571
patch 8.2.1325: Vim9: using Vim9 script for autaload not tested
...
Problem: Vim9: using Vim9 script for autaload not tested.
Solution: Add a test. Update help.
2020-07-29 22:11:05 +02:00
c7e44a7e4c
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 )
2020-07-29 21:37:43 +02:00
696ba23149
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 )
2020-07-29 21:20:41 +02:00
1040956292
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 )
2020-07-29 20:00:38 +02:00
7b7f78f51d
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 )
2020-07-29 19:29:23 +02:00
33afa2447b
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 )
2020-07-29 19:18:00 +02:00
ac7bf8c4bf
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
2020-07-29 17:43:55 +02:00
ed3c7e6339
patch 8.2.1318: no status badge for Github CI
...
Problem: No status badge for Github CI.
Solution: Add a badge.
2020-07-29 17:34:33 +02:00
f9a343f8bd
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 )
2020-07-29 16:32:21 +02:00
b61ef01cce
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 )
2020-07-29 16:08:21 +02:00
45df2a01a7
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 )
2020-07-29 15:03:01 +02:00
9898107f54
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 )
2020-07-29 14:40:25 +02:00
b5ed266037
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.
2020-07-28 22:38:37 +02:00
066b12e36c
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 )
2020-07-28 21:40:27 +02:00
68e30449a2
patch 8.2.1311: test failures with legacy Vim script
...
Problem: Test failures with legacy Vim script.
Solution: Actually check for Vim9 script.
2020-07-28 21:15:07 +02:00
bd7f7c123d
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 )
2020-07-28 21:03:37 +02:00
461f21242a
patch 8.2.1309: build failure with tiny version
...
Problem: Build failure with tiny version.
Solution: Add #ifdef.
2020-07-28 20:25:47 +02:00
ae616494d7
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 )
2020-07-28 20:07:27 +02:00
0aac67a431
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.
2020-07-27 22:40:37 +02:00
b13ab99908
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 )
2020-07-27 21:43:28 +02:00
622b3568fa
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().
2020-07-27 20:02:41 +02:00
6ca6ca4889
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 )
2020-07-27 19:47:07 +02:00
6d585f4c5c
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 )
2020-07-26 22:20:54 +02:00
01865ade85
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 )
2020-07-26 18:33:09 +02:00
ace6132aa8
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 )
2020-07-26 18:16:58 +02:00
4fc224ca1c
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 )
2020-07-26 17:56:25 +02:00
2547aa930b
Update runtime files.
2020-07-26 17:00:44 +02:00
d3bb6a82a5
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.
2020-07-26 15:55:25 +02:00
cb4f69c2fd
patch 8.2.1298: compiler warning for unused argument in small version
...
Problem: Compiler warning for unused argument in small version.
Solution: Add UNUSED.
2020-07-26 15:51:06 +02:00
a5d0423fa1
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.
2020-07-26 15:37:02 +02:00
d66cdcd43a
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 )
2020-07-26 13:27:16 +02:00
7d40b8a532
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 )
2020-07-26 12:52:59 +02:00
37394ff752
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 )
2020-07-25 19:38:18 +02:00
2d6b20d6a9
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 )
2020-07-25 19:30:59 +02:00
2afc3b4f77
patch 8.2.1292: AIDL filetype not recognized
...
Problem: AIDL filetype not recognized.
Solution: Add filetype detection. (Dominique Pellé, closes #6533 )
2020-07-25 16:53:12 +02:00
24aa48b7a2
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 )
2020-07-25 16:33:02 +02:00
925e9fd633
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.
2020-07-25 15:41:11 +02:00
c841afff6a
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 )
2020-07-25 14:11:55 +02:00
13e12b8a3c
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 )
2020-07-24 18:47:22 +02:00
40f4f7a48c
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 )
2020-07-23 22:41:43 +02:00
43e969d3f9
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 )
2020-07-23 21:14:43 +02:00
b8070e3173
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 )
2020-07-23 20:56:04 +02:00
bfba8651a5
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.
2020-07-23 20:09:10 +02:00
637cd7d1c9
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.
2020-07-23 19:06:23 +02:00
6c4bfe4b31
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.
2020-07-23 18:26:30 +02:00
2d06bfde29
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.
2020-07-23 17:16:18 +02:00
8930caaa1a
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.
2020-07-23 16:37:03 +02:00
8d5f6af5e5
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.
2020-07-23 15:50:40 +02:00
dd1a9af00f
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 )
2020-07-23 15:38:03 +02:00
7a87b4e3fe
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.
2020-07-23 14:59:07 +02:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
98af99f2d7
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 )
2020-07-16 22:30:31 +02:00
ee1b93169d
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 )
2020-07-16 22:15:53 +02:00
a90afb9a59
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 )
2020-07-15 22:38:56 +02:00
e30f64b4b5
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 )
2020-07-15 19:48:20 +02:00
657a826c07
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.
2020-07-15 18:29:18 +02:00
02f9e6a60f
patch 8.2.1221: memory leak when updating popup window
...
Problem: Memory leak when updating popup window.
Solution: Clear search highlighting.
2020-07-15 18:27:08 +02:00
452143c6bf
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 )
2020-07-15 17:38:21 +02:00
5966ea105e
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 )
2020-07-15 15:30:05 +02:00
3d48e25dcb
patch 8.2.1218: Vim9: cannot use 'text'->func()
...
Problem: Vim9: cannot use 'text'->func().
Solution: Recognize string at start of command.
2020-07-15 14:15:52 +02:00
1e1f612bd4
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.
2020-07-15 11:19:11 +02:00
b6e4e4c6f7
patch 8.2.1216: startup test fails
...
Problem: Startup test fails.
Solution: Adjust expected values for deleted lines.
2020-07-15 01:37:36 +02:00
e3f915d12c
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.
2020-07-14 23:02:44 +02:00
ceb56ddbaf
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 )
2020-07-14 22:24:40 +02:00
297bec0731
patch 8.2.1213: mouse codes not tested sufficiently
...
Problem: Mouse codes not tested sufficiently.
Solution: Add more tests for mouse codes. (closes #6436 )
2020-07-14 22:11:04 +02:00
5551b131da
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 )
2020-07-14 21:54:28 +02:00
8455c5ed31
patch 8.2.1211: removed more than dead code
...
Problem: Removed more than dead code.
Solution: Put back the decrement.
2020-07-14 21:22:30 +02:00
1f22cc5cdb
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.
2020-07-14 21:08:49 +02:00
21c16f868d
patch 8.2.1209: Vim9: test failure
...
Problem: Vim9: test failure.
Solution: Add missing changes to hashtab.
2020-07-14 16:15:34 +02:00
49fe0d6b28
patch 8.2.1208: build failure
...
Problem: Build failure.
Solution: Add missing change.
2020-07-14 15:47:23 +02:00
7ce85be63b
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.
2020-07-14 15:01:05 +02:00
1bce831e13
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.
2020-07-13 23:22:54 +02:00
8c34ea54ad
patch 8.2.1205: Vim9: && and || work different when not compiled
...
Problem: Vim9: && and || work different when not compiled.
Solution: Keep the value.
2020-07-13 22:29:02 +02:00
5d2eb0fff0
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.
2020-07-13 21:59:33 +02:00
3ac9c4701a
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.
2020-07-13 21:28:03 +02:00
08f7a41b0a
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 )
2020-07-13 20:41:08 +02:00
f1a2368d81
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 )
2020-07-13 18:55:48 +02:00
bfd65589d9
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.
2020-07-13 18:18:00 +02:00
7177da9dd4
patch 8.2.1199: not all assert functions are fully tested
...
Problem: Not all assert functions are fully tested.
Solution: Test more assert functions.
2020-07-12 23:09:20 +02:00
a4b442614c
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.
2020-07-12 21:38:29 +02:00
c212dd0a34
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.
2020-07-12 20:49:29 +02:00
83e7450053
patch 8.2.1196: build failure with normal features
...
Problem: Build failure with normal features.
Solution: Add #ifdef.
2020-07-12 20:44:37 +02:00
4d57ba0202
patch 8.2.1195: clientserver test fails on MS-Windows
...
Problem: Clientserver test fails on MS-Windows.
Solution: Expect a different error message.
2020-07-12 20:00:24 +02:00
a4dc6f92bb
patch 8.2.1194: test failure because shell prompt differs
...
Problem: Test failure because shell prompt differs.
Solution: Set the shell prompt.
2020-07-12 19:52:36 +02:00
35910f2d54
patch 8.2.1193: terminal window not redrawn when dragging a popup window
...
Problem: Terminal window not redrawn when dragging a popup window over it.
Solution: Redraw terminal window. (fixes #6438 )
2020-07-12 19:24:10 +02:00
b898a029b0
patch 8.2.1192: Lua test fails with older Lua version
...
Problem: Lua test fails with older Lua version.
Solution: Adjust expected error messages. (closes #6444 )
2020-07-12 18:33:53 +02:00
985116ae0b
patch 8.2.1191: Vim9: crash when function calls itself
...
Problem: Vim9: crash when function calls itself.
Solution: Add status UF_COMPILING. (closes #6441 )
2020-07-12 17:31:09 +02:00
eb6880b6eb
patch 8.2.1190: Vim9: checking for Vim9 syntax is spread out
...
Problem: Vim9: checking for Vim9 syntax is spread out.
Solution: Use in_vim9script().
2020-07-12 17:07:05 +02:00
8af81d656a
patch 8.2.1189: Vim9: line continuation in lambda doesn't always work
...
Problem: Vim9: line continuation in lambda doesn't always work.
Solution: Do not use a local evalarg unless there isn't one. (closes #6439 )
2020-07-12 16:32:19 +02:00
6d3a7213f5
patch 8.2.1188: memory leak with invalid json input
...
Problem: Memory leak with invalid json input.
Solution: Free all keys at the end. (Dominique Pellé, closes #6443 ,
closes #6442 )
2020-07-12 14:34:00 +02:00
c85156bb89
patch 8.2.1187: terminal2 test sometimes hangs in the GUI on Travis
...
Problem: Terminal2 test sometimes hangs in the GUI on Travis.
Solution: Disable Test_zz2_terminal_guioptions_bang() for now.
2020-07-12 14:09:23 +02:00
13c046316b
patch 8.2.1186: with SGR mouse codes balloon doesn't show up after click
...
Problem: With SGR mouse codes balloon doesn't show up after click.
Solution: Add the MOUSE_RELEASE bits to mouse_code.
2020-07-12 13:47:42 +02:00
ecdd14a427
patch 8.2.1185: some other tests fail
...
Problem: Some other tests fail.
Solution: Adjust tests for different assert_fails() behavior.
2020-07-11 22:49:59 +02:00
2b6ef856fb
patch 8.2.1184: some tests fail
...
Problem: Some tests fail.
Solution: Adjust tests for different assert_fails() behavior. Remove unused
variable.
2020-07-11 22:25:57 +02:00
9b7bf9e98f
patch 8.2.1183: assert_fails() checks the last error message
...
Problem: assert_fails() checks the last error message.
Solution: Check the first error, it is more relevant. Fix all the tests
that rely on the old behavior.
2020-07-11 22:14:59 +02:00
914e7eaa67
patch 8.2.1182: Vim9: no check for whitespace after comma in lambda
...
Problem: Vim9: no check for whitespace after comma in lambda.
Solution: Give error if white space is missing.
2020-07-11 15:20:48 +02:00
21e5bdd271
patch 8.2.1181: json code not fully tested
...
Problem: Json code not fully tested.
Solution: Add more test coverage. (Dominique Pellé, closes #6433 )
2020-07-11 14:26:08 +02:00
1e624c912d
patch 8.2.1180: build failure in small version
...
Problem: Build failure in small version.
Solution: Add #ifdef.
2020-07-11 14:08:04 +02:00
f65927fc8d
patch 8.2.1179: Test_termwinscroll() sometimes hangs in the GUI
...
Problem: Test_termwinscroll() sometimes hangs in the GUI.
Solution: Skip the test in the GUI.
2020-07-11 14:04:28 +02:00
b074e8b8d4
patch 8.2.1178: Vim9: filter function recognized as command modifier
...
Problem: Vim9: filter function recognized as command modifier, leading to a
crash.
Solution: Clear cmdmod after freeing items. Do not recognize a command
modifier followed by non-white space. (closes #6434 )
2020-07-11 13:40:45 +02:00
18aa13d13b
patch 8.2.1177: terminal2 test sometimes hangs in the GUI
...
Problem: Terminal2 test sometimes hangs in the GUI.
Solution: Move some tests to other files to further locate the problem.
Set the GUI to a fixed screen size.
2020-07-11 13:09:36 +02:00
543e6f3467
patch 8.2.1176: Vim9: not enough type checking in Vim9 script
...
Problem: Vim9: not enough type checking in Vim9 script.
Solution: Use same type checking as in a :def function.
2020-07-10 22:45:38 +02:00
7ff78465f7
Update runtime files
2020-07-10 22:00:53 +02:00
a7eedf317a
patch 8.2.1175: Vim9: cannot split a line before ".member"
...
Problem: Vim9: Cannot split a line before ".member".
Solution: Check for ".member" after line break.
2020-07-10 21:50:41 +02:00
11a5b19a8c
patch 8.2.1174: no test for the "recording @x" message
...
Problem: No test for the "recording @x" message.
Solution: Add a test. (Dominique Pellé, closes #6427 )
2020-07-10 21:17:51 +02:00
4004315292
patch 8.2.1173: tee doesn't build on some systems
...
Problem: Tee doesn't build on some systems.
Solution: Include header files. (Dominique Pelle, closes #6431 )
2020-07-10 20:45:31 +02:00
08fc48492a
patch 8.2.1172: error messages when doing "make clean" in doc or tee
...
Problem: Error messages when doing "make clean" in the runtime/doc or
src/tee directories.
Solution: Use "rm -f".
2020-07-10 20:40:23 +02:00
58bb61cf5e
patch 8.2.1171: possible crash when out of memory
...
Problem: Possible crash when out of memory.
Solution: Check for NULL pointer. (Dominique Pellé, closes #6432 )
2020-07-10 20:30:12 +02:00
ef85a9b2d9
patch 8.2.1170: cursor off by one with block paste while 'virtualedit' "all"
...
Problem: Cursor off by one with block paste while 'virtualedit' is "all".
Solution: Adjust condition. (Hugo Gualandi, closes #6430 )
2020-07-10 20:24:07 +02:00
97d2f34c87
patch 8.2.1169: write NUL past allocated space using corrupted spell file
...
Problem: Write NUL past allocated space using corrupted spell file.
(Markus Vervier)
Solution: Init "c" every time.
2020-07-10 20:03:03 +02:00
92053ce59e
patch 8.2.1168: wrong method argument for appendbufline()
...
Problem: Wrong method argument for appendbufline().
Solution: Use FEARG_3.
2020-07-09 22:53:30 +02:00
389df259c4
patch 8.2.1167: Vim9: builtin function method call only supports first arg
...
Problem: Vim9: builtin function method call only supports first argument.
Solution: Shift arguments when needed. (closes #6305 , closes #6419 )
2020-07-09 21:20:47 +02:00
ae97b94176
patch 8.2.1166: once mouse move events are enabled getchar() returns them
...
Problem: Once mouse move events are enabled getchar() returns them.
Solution: Ignore K_MOUSEMOVE in getchar(). (closes #6424 )
2020-07-09 19:16:35 +02:00
e4358906fd
patch 8.2.1165: insufficient testing for the Tcl interface
...
Problem: Insufficient testing for the Tcl interface.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6423 )
2020-07-09 18:49:23 +02:00
96916ac67a
patch 8.2.1164: text cleared by checking terminal properties not redrawn
...
Problem: Text cleared by checking terminal properties not redrawn. (Alexey
Radkov)
Solution: Mark the screen characters as invalid. (closes #6422 )
2020-07-08 23:09:28 +02:00
6e13530ca0
patch 8.2.1163: build error
...
Problem: Build error.
Solution: Add missing change to globals.
2020-07-08 22:36:17 +02:00
efaaaa683b
patch 8.2.1162: crash when using a lambda
...
Problem: Crash when using a lambda.
Solution: Check for evalarg to be NULL.
2020-07-08 22:24:09 +02:00
8e2730a315
patch 8.2.1161: Vim9: using freed memory
...
Problem: Vim9: using freed memory.
Solution: Put pointer back in evalarg instead of freeing it.
2020-07-08 22:01:49 +02:00
6110e79a58
patch 8.2.1160: Vim9: memory leak in allocated types
...
Problem: Vim9: memory leak in allocated types.
Solution: Free the type pointers.
2020-07-08 19:35:21 +02:00
6b7a0a8c20
patch 8.2.1159: Vim9: no error for missing space after a comma
...
Problem: Vim9: no error for missing space after a comma.
Solution: Check for white space.
2020-07-08 18:38:08 +02:00
b335b29e1c
patch 8.2.1158: build error
...
Problem: Build error.
Solution: Add missing change to globals.
2020-07-08 18:34:57 +02:00
0a47e0970a
patch 8.2.1157: Vim9: dict.name is not recognized as an expression
...
Problem: Vim9: dict.name is not recognized as an expression.
Solution: Recognize ".name". (closes #6418 )
2020-07-08 18:30:06 +02:00
002262f4de
patch 8.2.1156: Vim9: No error for invalid command in compiled function
...
Problem: Vim9: No error for invalid command in compiled function.
Solution: Handle CMD_SIZE.
2020-07-08 17:47:57 +02:00
7a4b8980ea
patch 8.2.1155: Vim9: cannot handle line break inside lambda
...
Problem: Vim9: cannot handle line break inside lambda.
Solution: Pass the compilation context through. (closes #6407 , closes #6409 )
2020-07-08 17:36:21 +02:00
c620c055ce
patch 8.2.1154: Vim9: crash when using imported function
...
Problem: Vim9: crash when using imported function.
Solution: Check for a function type. Set the script context when calling a
function. (closes #6412 )
2020-07-08 15:16:19 +02:00
bed36b939a
patch 8.2.1153: Vim9: script test fails on some systems
...
Problem: Vim9: script test fails on some systems.
Solution: Return proper value from Compare().
2020-07-07 23:31:36 +02:00
fe465a01cf
patch 8.2.1152: Vim9: function reference is missing script prefix
...
Problem: Vim9: function reference is missing script prefix.
Solution: Use the actual function name instead of the name searched for in
the script context. (closes #6412 )
2020-07-07 22:50:12 +02:00
0ab55d6201
patch 8.2.1151: insufficient test coverage for Python
...
Problem: Insufficient test coverage for Python.
Solution: Add more test cases. (Yegappan Lakshmanan, closes #6415 )
2020-07-07 20:50:39 +02:00
bb790dcc46
patch 8.2.1150: ml_get error when using Python
...
Problem: ml_get error when using Python. (Yegappan Lakshmanan)
Solution: Check the line number is not out of range. Call "Check" with
"fromObj" instead of "from".
2020-07-07 20:12:54 +02:00
007f9d6ed5
patch 8.2.1149: Vim9: :eval command not handled properly
...
Problem: Vim9: :eval command not handled properly.
Solution: Compile the :eval command. (closes #6408 )
2020-07-06 23:04:49 +02:00
cbb6bdcd89
patch 8.2.1148: warning for using int instead of size_t
...
Problem: Warning for using int instead of size_t.
Solution: Change "len" argument to size_t. (Mike Williams)
2020-07-06 21:53:17 +02:00
27321dbeed
patch 8.2.1147: :confirm may happen in cooked mode
...
Problem: :confirm may happen in cooked mode. (Jason Franklin)
Solution: Switch to raw mode before prompting. (Brandon Pfeifer)
2020-07-06 21:24:57 +02:00
ab58946384
patch 8.2.1146: not enough testing for Python
...
Problem: Not enough testing for Python.
Solution: Add more tests. Fix uncovered problems. (Yegappan Lakshmanan,
closes #6392 )
2020-07-06 21:03:06 +02:00
0ad3e894d7
patch 8.2.1145: Vim9: "for" only accepts a list at compile time
...
Problem: Vim9: "for" only accepts a list at compile time.
Solution: Also accept a list at runtime.
2020-07-05 21:38:11 +02:00
67627355ac
patch 8.2.1144: Vim9: return type of reverse() is any
...
Problem: Vim9: return type of reverse() is any.
Solution: Use the type of the first argument.
2020-07-05 21:10:24 +02:00
ad7c249327
patch 8.2.1143: Vim9: return type of remove() is any
...
Problem: Vim9: return type of remove() is any.
Solution: Use the member type of the first argument, if known.
2020-07-05 20:55:29 +02:00
252e88a785
patch 8.2.1142: Vim9: return type of insert() is any
...
Problem: Vim9: return type of insert() is any.
Solution: Use type of the first argument.
2020-07-05 20:47:18 +02:00
0d94ad6958
patch 8.2.1141: Vim9: return type of filter() is any
...
Problem: Vim9: return type of filter() is any.
Solution: Use type of the argument.
2020-07-05 20:16:41 +02:00
b3c019cbc3
patch 8.2.1140: Vim9: return type of extend() is any
...
Problem: Vim9: return type of extend() is any.
Solution: Use type of the argument.
2020-07-05 20:08:39 +02:00
8f510afcd6
patch 8.2.1139: Vim9: test for silent echo fails in some environments
...
Problem: Vim9: test for silent echo fails in some environments.
Solution: Use :function instead of :def.
2020-07-05 18:48:23 +02:00
a66ba01a5f
patch 8.2.1138: Vim9: return type of copy() and deepcopy() is any
...
Problem: Vim9: return type of copy() and deepcopy() is any.
Solution: Use type of the argument.
2020-07-05 18:41:08 +02:00
47e7d70b58
patch 8.2.1137: Vim9: modifiers not cleared after compiling function
...
Problem: Vim9: modifiers not cleared after compiling function.
Solution: Clear command modifiers. (closes #6396 )
2020-07-05 18:18:42 +02:00
846178a72c
patch 8.2.1136: Vim9: return type of argv() is always any
...
Problem: Vim9: return type of argv() is always any.
Solution: Use list<string> if there is no argument.
2020-07-05 17:04:13 +02:00
50788ef349
patch 8.2.1135: Vim9: getting a dict member may not work
...
Problem: Vim9: getting a dict member may not work.
Solution: Clear the dict only after copying the item.
2020-07-05 16:51:26 +02:00
435d89789e
patch 8.2.1134: Vim9: getting a list member may not work
...
Problem: Vim9: getting a list member may not work.
Solution: Clear the list only after copying the item. (closes #6393 )
2020-07-05 16:42:13 +02:00
fce82b3aa7
patch 8.2.1133: Vim9: return type of add() is not specific enough
...
Problem: Vim9: return type of add() is not specific enough.
Solution: Return the type of the first argument. (closes #6395 )
2020-07-05 16:07:21 +02:00
9978d473e3
patch 8.2.1132: Vim9: return type of repeat() is not specific enough
...
Problem: Vim9: return type of repeat() is not specific enough.
Solution: Return the type of the first argument. (closes #6395 )
2020-07-05 16:01:56 +02:00
05a5551a86
patch 8.2.1131: Vim9: error message for returning a value is not clear
...
Problem: Vim9: error message for returning a value in a function that does
not return anything is not clear.
Solution: Add a specific message.
2020-07-05 15:52:19 +02:00
788123c00c
patch 8.2.1130: Vim9: bar not recognized after function call
...
Problem: Vim9: bar not recognized after function call
Solution: Skip whitespace. (closes #6391 )
2020-07-05 15:32:17 +02:00
e9f262bdff
patch 8.2.1129: Vim9: bar not recognized after not compiled command
...
Problem: Vim9: bar not recognized after not compiled command.
Solution: Check for bar for commands where this is possible. (closes #6391 )
2020-07-05 14:57:51 +02:00
3f40ce78f5
patch 8.2.1128: the write message mentions characters, but it's bytes
...
Problem: The write message mentions characters, but it's actually bytes.
Solution: Change "C" to "B" and "characters" to "bytes".
2020-07-05 14:10:13 +02:00
fb9d5c51c8
patch 8.2.1127: Vim9: getting a dict member may not work
...
Problem: Vim9: getting a dict member may not work.
Solution: Clear the dict only after copying the item. (closes #6390 )
2020-07-04 19:19:43 +02:00
eeb27bfe28
patch 8.2.1126: Vim9: using :copen causes an error
...
Problem: Vim9: using :copen causes an error.
Solution: Add flag LET_NO_COMMAND in set_var().
2020-07-04 17:39:10 +02:00
962d721319
patch 8.2.1125: Vim9: double quote can be a string or a comment
...
Problem: Vim9: double quote can be a string or a comment.
Solution: Only support comments starting with # to avoid confusion.
2020-07-04 14:15:00 +02:00
1c991144c5
patch 8.2.1124: Vim9: no line break allowed in :import command
...
Problem: Vim9: no line break allowed in :import command.
Solution: Skip over line breaks.
2020-07-04 13:15:31 +02:00
effb0cd75d
patch 8.2.1123: Python 3 test is old style
...
Problem: Python 3 test is old style.
Solution: Turn into new style test. (Yegappan Lakshmanan, closes #6385 )
2020-07-03 21:17:34 +02:00
442af2f89e
patch 8.2.1122: Vim9: line continuation in dict member not recognized
...
Problem: Vim9: line continuation in dict member not recognized.
Solution: Check for line continuation.
2020-07-03 21:09:52 +02:00
743d062020
patch 8.2.1121: command completion not working after ++arg
...
Problem: Command completion not working after ++arg.
Solution: Move skipping up. (Christian Brabandt, closes #6382 )
2020-07-03 18:15:06 +02:00
92fdd1e75d
patch 8.2.1120: Python code not tested properly
...
Problem: Python code not tested properly.
Solution: Add more tests and convert old-style test into new-style test.
(Yegappan Lakshmanan, closes #6370 )
2020-07-03 18:00:05 +02:00
5289783e0b
patch 8.2.1119: configure fails with Xcode 12 beta
...
Problem: Configure fails with Xcode 12 beta.
Solution: use "return" instead of "exit()". (Nico Weber, closes #6381 )
2020-07-02 22:50:37 +02:00
810af5ea46
patch 8.2.1118: condition can never be true, dead code
...
Problem: Condition can never be true, dead code.
Solution: Remove the dead code.
2020-07-02 21:23:42 +02:00
a9a8e5f0dc
patch 8.2.1117: Coverity warns for unsing unitialized field
...
Problem: Coverity warns for unsing unitialized field.
Solution: Initialize v_lock.
2020-07-02 21:17:57 +02:00
d2ef6b320b
patch 8.2.1116: Vim9: parsing command checks for list twice
...
Problem: Vim9: parsing command checks for list twice.
Solution: Adjust how a command is parsed.
2020-07-02 21:11:34 +02:00
c19fd917be
patch 8.2.1115: iminsert test fails when compiled with VIMDLL
...
Problem: Iminsert test fails when compiled with VIMDLL.
Solution: Change condition. (Ken Takata, closes #6376 )
2020-07-02 20:59:05 +02:00
1112c0febb
patch 8.2.1114: terminal test sometimes times out
...
Problem: Terminal test sometimes times out.
Solution: Split the test in two parts.
2020-07-01 21:53:50 +02:00
a0d072ef82
patch 8.2.1113: no test for verbose output of :call
...
Problem: No test for verbose output of :call.
Solution: Add a test.
2020-07-01 20:19:37 +02:00
5f195938d4
patch 8.2.1112: Vim9: no line continuation allowed in method call
...
Problem: Vim9: no line continuation allowed in method call.
Solution: Handle line continuation in expression before method call.
2020-07-01 20:07:14 +02:00
9a78e6df17
patch 8.2.1111: inconsistent naming of get_list_tv() and eval_dict()
...
Problem: Inconsistent naming of get_list_tv() and eval_dict().
Solution: Rename get_list_tv() to eval_list(). Similarly for eval_number(),
eval_string(), eval_lit_string() and a few others.
2020-07-01 18:29:55 +02:00
e6b5324e3a
patch 8.2.1110: Vim9: line continuation does not work in function arguments
...
Problem: Vim9: line continuation does not work in function arguments.
Solution: Pass "evalarg" to get_func_tv(). Fix seeing double quoted string
as comment.
2020-07-01 17:28:33 +02:00
086eb18ba1
patch 8.2.1109: still crashing when using s:variable
...
Problem: Still crashing when using s:variable.
Solution: Remove assignment. (Ken Takata)
2020-07-01 16:00:44 +02:00
d58d4f90ae
patch 8.2.1108: mouse left-right scroll is not supported in terminal window
...
Problem: Mouse left-right scroll is not supported in terminal window.
Solution: Implement mouse codes 6 and 7. (Trygve Aaberge, closes #6363 )
2020-07-01 15:49:29 +02:00
ef8c617b9c
patch 8.2.1107: 'imactivatefunc' and 'imstatusfunc' are not used in the GUI
...
Problem: 'imactivatefunc' and 'imstatusfunc' are not used in the GUI.
Solution: Adjust the #ifdefs. (closes #6367 )
2020-07-01 15:12:44 +02:00
8e6cbb7232
patch 8.2.1106: crash when trying to use s: variable in typed command
...
Problem: Crash when trying to use s: variable in typed command.
Solution: Don't use the script index when not set. (Ken Takata,
closes #6366 )
2020-07-01 14:38:12 +02:00
e49b8e8d75
patch 8.2.1105: insufficient test coverage for Lua
...
Problem: Insufficient test coverage for Lua.
Solution: Add tests. (Yegappan Lakshmanan, closes #6368 ) Fix uncovered
memory leak. Avoid unnecessary copy/free.
2020-07-01 13:52:55 +02:00
11b6600c88
patch 8.2.1104: Coverity warnts for possible NULL pointer use
...
Problem: Coverity warnts for possible NULL pointer use.
Solution: Check "pbyts" is not NULL.
2020-07-01 13:15:24 +02:00
e707c882b2
patch 8.2.1103: Coverity reports an unnecessary NULL check
...
Problem: Coverity reports an unnecessary NULL check.
Solution: Remove the check for NULL.
2020-07-01 13:07:37 +02:00
9004949221
patch 8.2.1102: Coverity gets confused by an unnecessary NULL check
...
Problem: Coverity gets confused by an unnecessary NULL check.
Solution: Remove the check for NULL.
2020-07-01 13:04:05 +02:00
be7a50c22f
patch 8.2.1101: no error when using wrong arguments for setqflist()
...
Problem: No error when using wrong arguments for setqflist() or
setloclist().
Solution: Check for the error.
2020-06-30 22:11:44 +02:00
47e880d6c1
patch 8.2.1100: Vim9: cannot use line break in :execute argument
...
Problem: Vim9: cannot use line break in :execute, :echomsg and :echoerr
argument.
Solution: Check for line break.
2020-06-30 22:02:02 +02:00
37c8371195
patch 8.2.1099: Vim9: cannot use line break in :cexpr argument
...
Problem: Vim9: cannot use line break in :cexpr argument.
Solution: Check for line break.
2020-06-30 21:18:36 +02:00
006ad48b8a
patch 8.2.1098: Vim9: cannot use line break in :throw argument
...
Problem: Vim9: cannot use line break in :throw argument.
Solution: Check for line break.
2020-06-30 20:55:15 +02:00
e46a440505
Runtime file updates
2020-06-30 20:38:27 +02:00
de8f0f47f6
patch 8.2.1097: highlight code not sufficiently tested
...
Problem: Highlight code not sufficiently tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6359 )
2020-06-30 18:45:43 +02:00
f151ad1c70
patch 8.2.1096: Vim9: return type of getqflist() is wrong
...
Problem: Vim9: return type of getqflist() is wrong.
Solution: Let the return type depend on the arguments. Also for
getloclist(). (closes #6367 )
2020-06-30 13:38:01 +02:00
6b949615ed
patch 8.2.1095: may use pointer after freeing it
...
Problem: May use pointer after freeing it when text properties are used.
Solution: Update redo buffer before calling ml_replace().
2020-06-29 23:18:42 +02:00
a53618dd1d
patch 8.2.1094: dead code in libvterm
...
Problem: Dead code in libvterm.
Solution: Remove condition that is always true.
2020-06-29 23:14:02 +02:00
de19b745ee
patch 8.2.1093: Python: double free when adding item to dict fails
...
Problem: Python: double free when adding item to dict fails.
Solution: Remove vim_free() call.
2020-06-29 23:07:44 +02:00
cf070112ca
patch 8.2.1092: not checking if saving for undo succeeds
...
Problem: Not checking if saving for undo succeeds.
Solution: Bail out if u_savesub() returns FAIL.
2020-06-29 23:02:21 +02:00
d034220c54
patch 8.2.1091: no check if opening a pty works
...
Problem: No check if opening a pty works.
Solution: Check for invalid file descriptor.
2020-06-29 22:40:42 +02:00
9b5384b97e
patch 8.2.1090: may use NULL pointer when skipping over name
...
Problem: May use NULL pointer when skipping over name.
Solution: Always set ll_name_end.
2020-06-29 22:31:36 +02:00
927b7dd0fe
patch 8.2.1089: Coverity warns for pointer computation
...
Problem: Coverity warns for pointer computation.
Solution: Avoid computing a pointer to invalid memory.
2020-06-29 22:24:56 +02:00
6378b21d6d
patch 8.2.1088: a very long translation might cause a buffer overflow
...
Problem: A very long translation might cause a buffer overflow.
Solution: Trunctate the message if needed.
2020-06-29 21:32:06 +02:00
566cc8c72b
patch 8.2.1087: possible memory leak when file expansion fails
...
Problem: Possible memory leak when file expansion fails.
Solution: Clear the grow array when returning FAIL. Use an error message
instead of an empty string.
2020-06-29 21:14:51 +02:00
cf30643ae6
patch 8.2.1086: possibly using freed memory when text properties used
...
Problem: Possibly using freed memory when text properties used when
changing indent of a line.
Solution: Compute the offset before calling ml_replace().
2020-06-29 20:40:37 +02:00
6d90c61c5a
patch 8.2.1085: Coverity complains about ignoring dict_add() return value
...
Problem: Coverity complains about ignoring dict_add() return value.
Solution: Add (void).
2020-06-29 20:23:32 +02:00
7d2ac92ebc
patch 8.2.1084: Lua: registering function has useless code
...
Problem: Lua: registering function has useless code.
Solution: Remove clearing grow arrays.
2020-06-29 20:20:33 +02:00
fda20c4cc5
patch 8.2.1083: crash when using reduce() on a NULL list
...
Problem: Crash when using reduce() on a NULL list.
Solution: Only access the list when not NULL.
2020-06-29 20:09:36 +02:00
91639195ef
patch 8.2.1082: Coverity complains about ignoring dict_add() return value
...
Problem: Coverity complains about ignoring dict_add() return value.
Solution: Add (void).
2020-06-29 19:55:58 +02:00
a1f9f8666e
patch 8.2.1081: Lua: cannot use table.insert() and table.remove()
...
Problem: Lua: cannot use table.insert() and table.remove().
Solution: Add the list functions. (Prabir Shrestha, closes #6353 )
2020-06-28 22:41:26 +02:00
b7a78f7a67
patch 8.2.1080: Vim9: no line break allowed in a for loop
...
Problem: Vim9: no line break allowed in a for loop.
Solution: Skip line breaks in for command.
2020-06-28 18:43:40 +02:00
d5053d015a
patch 8.2.1079: Vim9: no line break allowed in a while loop
...
Problem: Vim9: no line break allowed in a while loop.
Solution: Update stored loop lines when finding line breaks.
2020-06-28 15:51:16 +02:00
06cf97e714
patch 8.2.1078: highlight and match functionality together in one file
...
Problem: Highlight and match functionality together in one file.
Solution: Move match functionality to a separate file. (Yegappan Lakshmanan,
closes #6352 )
2020-06-28 13:17:26 +02:00
75e15670b8
patch 8.2.1077: no enough test coverage for highlighting
...
Problem: No enough test coverage for highlighting.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6351 )
2020-06-28 13:10:22 +02:00
faf8626b79
patch 8.2.1076: Vim9: no line break allowed in :if expression
...
Problem: Vim9: no line break allowed in :if expression.
Solution: Skip linebreak.
2020-06-27 23:07:36 +02:00
7e8967fdcd
patch 8.2.1075: Vim9: no line break allowed in :echo expression
...
Problem: Vim9: no line break allowed in :echo expression.
Solution: Skip linebreak.
2020-06-27 21:56:17 +02:00
9215f01218
patch 8.2.1074: Vim9: no line break allowed after some operators
...
Problem: Vim9: no line break allowed after some operators.
Solution: Skip a line break after the operator. Add
eval_may_get_next_line() to simplify checking for a line break.
2020-06-27 21:18:00 +02:00
7a4981b936
patch 8.2.1073: Vim9: no line break allowed in () expression
...
Problem: Vim9: no line break allowed in () expression.
Solution: Skip a line break.
2020-06-27 20:46:29 +02:00
a0a0c4147f
patch 8.2.1072: missing libvterm test
...
Problem: Missing libvterm test.
Solution: Sync with libvterm revision 768.
2020-06-27 18:13:10 +02:00
e40fbc2ca9
patch 8.2.1071: Vim9: no line break allowed inside a lambda
...
Problem: Vim9: no line break allowed inside a lambda.
Solution: Handle line break inside a lambda in Vim9 script.
2020-06-27 18:06:45 +02:00
ab19d495fd
patch 8.2.1070: Vim9: leaking memory when lacking white space in dict
...
Problem: Vim9: leaking memory when lacking white space in dict.
Solution: Clear the typval.
2020-06-27 17:04:05 +02:00
e6e031739c
patch 8.2.1069: Vim9: fail to check for white space in list
...
Problem: Vim9: fail to check for white space in list.
Solution: Add check for white space.
2020-06-27 16:36:05 +02:00
8ea9390b78
patch 8.2.1068: Vim9: no line break allowed inside a dict
...
Problem: Vim9: no line break allowed inside a dict.
Solution: Handle line break inside a dict in Vim9 script.
2020-06-27 14:11:53 +02:00
0b1cd52ff6
patch 8.2.1067: expression "!expr->func()" does not work
...
Problem: Expression "!expr->func()" does not work.
Solution: Apply plus and minus earlier. (closes #6348 )
2020-06-27 13:11:50 +02:00
bd84617d1a
patch 8.2.1066: Lua arrays are zero based
...
Problem: Lua arrays are zero based.
Solution: Make Lua arrays one based. (Prabir Shrestha, closes #6347 )
Note: this is not backwards compatible.
2020-06-27 12:32:57 +02:00
7147820cb9
patch 8.2.1065: Vim9: no line break allowed inside a list
...
Problem: Vim9: no line break allowed inside a list.
Solution: Handle line break inside a list in Vim9 script.
2020-06-26 22:46:27 +02:00
e6536aa766
patch 8.2.1064: Vim9: no line break allowed before comperators
...
Problem: Vim9: no line break allowed before comperators.
Solution: Check for comperator after line break.
2020-06-26 22:00:38 +02:00
be7ee48876
patch 8.2.1063: Vim9: no line break allowed before || or &&
...
Problem: Vim9: no line break allowed before || or &&.
Solution: Check for operator after line break.
2020-06-26 21:38:51 +02:00
793648fb56
patch 8.2.1062: Vim9: no line break allowed inside "cond ? val1 : val2"
...
Problem: Vim9: no line break allowed inside "cond ? val1 : val2".
Solution: Check for operator after line break.
2020-06-26 21:28:25 +02:00
5d3c9f8c2a
patch 8.2.1061: insufficient testing for src/window.c
...
Problem: Insufficient testing for src/window.c.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6345 )
2020-06-26 20:41:39 +02:00
5f36d5fbb8
patch 8.2.1060: not all elinks files are recognized
...
Problem: Not all elinks files are recognized.
Solution: Just check for "elinks.conf". (Guido Cella, closes #6337 )
2020-06-26 20:23:45 +02:00
cf8441704d
patch 8.2.1059: crash when using :tabonly in an autocommand
...
Problem: Crash when using :tabonly in an autocommand. (Yegappan Lakshmanan)
Solution: Do not allow the autocommand window to be closed.
2020-06-26 19:44:06 +02:00
fc838d6cb0
patch 8.2.1058: multiline conceal causes display errors
...
Problem: Multiline conceal causes display errors.
Solution: Do not allow conceal cross over EOL. (closes #6326 , closes #4854 ,
closes #6302 )
2020-06-25 22:23:48 +02:00
1e4c7d0ed2
patch 8.2.1057: cannot build with dynamic Lua
...
Problem: Cannot build with dynamic Lua.
Solution: Add dll variables.
2020-06-25 20:56:42 +02:00
211dd3fd82
patch 8.2.1056: wrong display when mixing match conceal and syntax conceal
...
Problem: Wrong display when mixing match conceal and syntax conceal.
Solution: Adjust how conceal flags are used. (closes #6327 , closes #6303 )
2020-06-25 20:07:04 +02:00
73b4465ba7
patch 8.2.1055: no filetype set for pacman config files
...
Problem: No filetype set for pacman config files.
Solution: Recognize pacman.conf and *.hook. (Guido Cella, closes #6335 )
2020-06-25 19:53:24 +02:00
801ab06934
patch 8.2.1054: not so easy to pass a lua function to Vim
...
Problem: Not so easy to pass a lua function to Vim.
Solution: Convert a Lua function and closure to a Vim funcref. (Prabir
Shrestha, closes #6246 )
2020-06-25 19:27:56 +02:00
832adf9bb8
patch 8.2.1053: insufficient testing for 'statusline' and 'tabline'
...
Problem: Insufficient testing for 'statusline' and 'tabline'.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6333 )
2020-06-25 19:01:36 +02:00
7acde51832
patch 8.2.1052: build failure with older compilers
...
Problem: Build failure with older compilers.
Solution: Move declaration to start of block.
2020-06-24 23:02:40 +02:00
ca275a05d8
patch 8.2.1051: crash when changing a list while using reduce() on it
...
Problem: Crash when changing a list while using reduce() on it.
Solution: Lock the list. (closes #6330 )
2020-06-24 22:07:46 +02:00
65a8ed37f7
patch 8.2.1050: missing change in struct
...
Problem: Missing change in struct.
Solution: Add missing change.
2020-06-24 21:00:25 +02:00
b171fb1790
patch 8.2.1049: Vim9: leaking memory when using continuation line
...
Problem: Vim9: leaking memory when using continuation line.
Solution: Keep a pointer to the continuation line in evalarg_T. Centralize
checking for a next command.
2020-06-24 20:34:03 +02:00
9d40c63c7d
patch 8.2.1048: build failure without the eval feature
...
Problem: Build failure without the eval feature.
Solution: Add dummy typedef.
2020-06-24 19:05:29 +02:00
5409f5d8c9
patch 8.2.1047: Vim9: script cannot use line continuation like :def function
...
Problem: Vim9: script cannot use line continuation like in a :def function.
Solution: Pass the getline function pointer to the eval() functions. Use it
for addition and multiplication operators.
2020-06-24 18:37:35 +02:00
b7e2483655
patch 8.2.1046: insufficient tests for src/buffer.c
...
Problem: Insufficient tests for src/buffer.c.
Solution: Add more tests. Move comments related tests to a separate file.
(Yegappan Lakshmanan, closes #6325 )
2020-06-24 13:37:35 +02:00
67fbdfefd2
patch 8.2.1045: Vim9: line break before operator does not work
...
Problem: Vim9: line break before operator does not work.
Solution: Peek the next line for an operator.
2020-06-23 22:26:05 +02:00
ef6d86c173
patch 8.2.1044: not all systemd file types are recognized
...
Problem: Not all systemd file types are recognized.
Solution: Match several more files. (Guido Cella, closes #6319 )
2020-06-23 21:01:38 +02:00
4014e2ceb0
patch 8.2.1043: %a item in 'statusline' not tested
...
Problem: %a item in 'statusline' not tested.
Solution: Add a test. (Dominique Pellé, closes #6318 )
2020-06-23 20:00:50 +02:00
df069eec3b
patch 8.2.1042: Vim9: cannot put an operator on the next line
...
Problem: Vim9: cannot put an operator on the next line.
Solution: Require a colon before a range to see if that causes problems.
2020-06-22 23:02:51 +02:00
7eaafe65ee
patch 8.2.1041: test summary is missing executed count
...
Problem: Test summary is missing executed count.
Solution: Adjust pattern used for counting.
2020-06-22 22:10:06 +02:00
bdd2c290d3
patch 8.2.1040: not enough testing for movement commands
...
Problem: Not enough testing for movement commands.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6313 )
2020-06-22 21:34:30 +02:00
25fd267287
patch 8.2.1039: cannot put NUL byte on clipboard
...
Problem: Cannot put NUL byte on clipboard.
Solution: Use the text length. (Christian Brabandt, closes #6312 ,
closes #6149 )
2020-06-22 20:30:27 +02:00
b2b218d89b
patch 8.2.1038: popupwin test fails
...
Problem: Popupwin test fails.
Solution: Fix WaitForAssert() argument.
2020-06-22 20:22:19 +02:00
acd4c5e914
patch 8.2.1037: Vim9: crash when using line continuation inside :def
...
Problem: Vim9: crash when using line continuation inside :def.
Solution: Check for no more lines available.
2020-06-22 19:39:03 +02:00
373c65104e
patch 8.2.1036: popupwin test fails sometimes
...
Problem: Popupwin test fails sometimes.
Solution: Use WaitForAssert() instead of a sleep.
2020-06-22 19:24:23 +02:00
7633fe595e
patch 8.2.1035: setreg() does not always clear the register
...
Problem: setreg() does not always clear the register.
Solution: Clear the register if the dict argument is empty. (Andy Massimino,
closes #3370 )
2020-06-22 19:10:56 +02:00
38041da1c2
patch 8.2.1034: compiler warning for uninitialized variables
...
Problem: Compiler warning for uninitialized variables.
Solution: Add initializations. (John Marriott)
2020-06-21 22:17:18 +02:00
73fef33014
Update runtime files
2020-06-21 22:12:03 +02:00
8d9437968b
patch 8.2.1033: not easy to read the test time in the test output
...
Problem: Not easy to read the test time in the test output.
Solution: Align the times. Make slow tests bold.
2020-06-21 20:39:37 +02:00
7fe875583b
patch 8.2.1032: error message for declaring a variable cannot be translated
...
Problem: Error message for declaring a variable cannot be translated.
Solution: Enclose in _(). Make environment variable a separate message.
2020-06-21 20:38:28 +02:00
f5433fbfe4
patch 8.2.1031: build failure with Perl5.32
...
Problem: Build failure with Perl5.32.
Solution: Define a few more functions. (Felix Yan, closes #6310 )
2020-06-21 20:06:54 +02:00
da58134eed
patch 8.2.1030: reducing size of a terminal window may cause a crash
...
Problem: Reducing size of a terminal window may cause a crash.
Solution: Make sure the row and column don't become negative. (closes #6273 )
2020-06-21 17:57:32 +02:00
23c5527373
patch 8.2.1029: Vim9: cannot chain function calls with -> at line start
...
Problem: Vim9: cannot chain function calls with -> at line start.
Solution: Peek ahead for a following line starting with "->". (closes #6306 )
2020-06-21 16:58:13 +02:00
e55b1c098d
patch 8.2.1028: Vim9: no error for declaring buffer, window, etc. variable
...
Problem: Vim9: no error for declaring buffer, window, etc. variable.
Solution: Give an error. Unify the error messages.
2020-06-21 15:52:59 +02:00
820ffa567c
patch 8.2.1027: GUI: multi-byte characters do not work in a terminal
...
Problem: GUI: multi-byte characters do not work in a terminal.
Solution: Do not assume a key is one byte. (closes #6304 )
2020-06-21 15:09:14 +02:00
a3b7fdc1bb
patch 8.2.1026: Vim9: cannot break the line after "->"
...
Problem: Vim9: cannot break the line after "->".
Solution: Check for a continuation line after "->", "[" and ".". Ignore
trailing white space.
2020-06-21 14:12:17 +02:00
8c524f76eb
patch 8.2.1025: tabpage menu and tabline not sufficiently tested
...
Problem: Tabpage menu and tabline not sufficiently tested.
Solution: Add tests. (Yegappan Lakshmanan, closes #6307 )
2020-06-21 13:23:45 +02:00
6797966dfc
patch 8.2.1024: Vim9: no error for using "let g:var = val"
...
Problem: Vim9: no error for using "let g:var = val".
Solution: Add an error.
2020-06-20 22:50:47 +02:00
0cb5bcf583
patch 8.2.1023: Vim9: redefining a function uses a new index every time
...
Problem: Vim9: redefining a function uses a new index every time.
Solution: When redefining a function clear the contents and re-use the
index.
2020-06-20 18:19:09 +02:00
845e0ee594
patch 8.2.1022: various parts of code not covered by tests
...
Problem: Various parts of code not covered by tests.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6300 )
2020-06-20 16:05:32 +02:00
a190548e91
patch 8.2.1021: Ruby interface not tested enough
...
Problem: Ruby interface not tested enough.
Solution: Add a couple more tests. (Dominique Pellé, closes #6301 )
2020-06-20 16:00:25 +02:00
b326edf5b3
patch 8.2.1020: popupwin test fails in the GUI
...
Problem: Popupwin test fails in the GUI.
Solution: Send GUI byte sequence for <C-S-a>.
2020-06-20 15:03:38 +02:00
ef6746f637
patch 8.2.1019: mapping <M-S-a> does not work in the GUI
...
Problem: Mapping <M-S-a> does not work in the GUI.
Solution: Move the logic to remove the shift modifier to
may_remove_shift_modifier() and also use it in the GUI.
2020-06-20 14:43:23 +02:00
280b0dc815
patch 8.2.1018: typo in enum value
...
Problem: Typo in enum value. (James McCoy)
Solution: Fix the typo.
2020-06-20 13:29:03 +02:00
1089374130
patch 8.2.1017: Appveyor output doesn't show MinGW console features
...
Problem: Appveyor output doesn't show MinGW console features.
Solution: List the features of the console build.
2020-06-19 22:37:47 +02:00
7e380030c1
patch 8.2.1016: Vim9: test fails when channel feature is missing
...
Problem: Vim9: test fails when channel feature is missing.
Solution: Process an :if command when skipping
2020-06-19 22:35:44 +02:00
20298ce679
patch 8.2.1015: popup filter gets key with modifier prepended
...
Problem: Popup filter gets key with modifier prepended when using
modifyOtherKeys.
Solution: Remove the shift modifier when it is included in the key, also
when the Alt or Meta modifier is used.
2020-06-19 21:46:52 +02:00
1e0b7b11db
patch 8.2.1014: using "name" for a string result is confusing
...
Problem: Using "name" for a string result is confusing.
Solution: Rename to "end".
2020-06-19 19:30:53 +02:00
ec9b017b87
patch 8.2.1013: channel tests can be a bit flaky
...
Problem: Channel tests can be a bit flaky.
Solution: Set the g:test_is_flaky flag in SetUp().
2020-06-19 19:10:59 +02:00
3b74b6b4bb
patch 8.2.1012: Vim9: cannot declare single character script variables
...
Problem: Vim9: cannot declare single character script variables.
Solution: Don't see "b:", "s:", etc. as namespace. Fix item size of
sn_var_vals.
2020-06-19 19:01:43 +02:00
c785b9a7f4
patch 8.2.1011: Vim9: some code not tested
...
Problem: Vim9: some code not tested.
Solution: Add a few more test cases. Reorder checks for clearer error.
Remove unreachable code.
2020-06-19 18:34:15 +02:00
128d307963
patch 8.2.1010: build failure in libvterm with debug enabled
...
Problem: Build failure in libvterm with debug enabled. (John Little)
Solution: Use "->" instead of ".".
2020-06-19 17:20:41 +02:00
c5b1c20b6b
patch 8.2.1009: Vim9: some failures not checked for
...
Problem: Vim9: some failures not checked for.
Solution: Add test cases. Remove unused code.
2020-06-18 22:43:27 +02:00
0779fab297
patch 8.2.1008: Vim9: no test for disassambling newly added instructions
...
Problem: Vim9: no test for disassambling newly added instructions.
Solution: Add a function and check disassembly.
2020-06-18 22:18:18 +02:00
c8cb883015
patch 8.2.1007: completion doesn't work after ":r ++arg !"
...
Problem: Completion doesn't work after ":r ++arg !".
Solution: Skip over "++arg". (Christian Brabandt, closes #6275 ,
closes #6258 )
2020-06-18 21:14:30 +02:00
efd8855594
patch 8.2.1006: Vim9: require unnecessary return statement
...
Problem: Vim9: require unnecessary return statement.
Solution: Improve the use of the had_return flag. (closes #6270 )
2020-06-18 20:50:10 +02:00
9b68c82b7c
patch 8.2.1005: Vim9: using TRUE/FALSE/MAYBE for ctx_skip is confusing
...
Problem: Vim9: using TRUE/FALSE/MAYBE for ctx_skip is confusing.
Solution: Use an enum value.
2020-06-18 19:31:08 +02:00
511feec6f0
patch 8.2.1004: line numbers below filler lines not always updated
...
Problem: Line numbers below filler lines not always updated.
Solution: Don't break out of the win_line() loop too early. (Christian
Brabandt, closes #6294 , closes #6138 )
2020-06-18 19:15:27 +02:00
865af6b990
patch 8.2.1003: Vim9: return type of sort() is too generic
...
Problem: Vim9: return type of sort() is too generic.
Solution: Get type from the first argument. (closes #6292 )
2020-06-18 18:45:49 +02:00
ceb2e77510
patch 8.2.1002: test may fail when run directly
...
Problem: Test may fail when run directly.
Solution: Check if g:run_nr exists. (Christian Brabandt, closes #6285 )
2020-06-18 18:33:59 +02:00
72abcf42d4
patch 8.2.1001: Vim9: crash with nested "if" and assignment
...
Problem: Vim9: crash with nested "if" and assignment.
Solution: Skip more of the assignment. Do not set ctx_skip when code is
reachable.
2020-06-18 18:26:24 +02:00
158ea175a9
patch 8.2.1000: get error when leaving Ex mode with :visual
...
Problem: Get error when leaving Ex mode with :visual and a CmdLineEnter
autocommand was used.
Solution: Reset ex_pressedreturn. (closes #6293 )
2020-06-18 17:28:39 +02:00
2f03e5a0a9
patch 8.2.0999: moving to next sentence gets stuck on quote
...
Problem: Moving to next sentence gets stuck on quote.
Solution: When moving to the next sentence doesn't result in moving, advance
a character and try again. (closes #6291 )
2020-06-18 15:33:25 +02:00
3d9207ad2f
patch 8.2.0998: not all tag code is tested
...
Problem: Not all tag code is tested.
Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #6284 )
2020-06-17 22:58:35 +02:00
856c1110c1
patch 8.2.0997: cannot execute a register containing line continuation
...
Problem: Cannot execute a register containing line continuation.
Solution: Concatenate lines where needed. (Yegappan Lakshmanan,
closes #6272 )
2020-06-17 21:47:23 +02:00
40a019f157
patch 8.2.0996: using "aucmdwin" in win_gettype() is not ideal
...
Problem: Using "aucmdwin" in win_gettype() is not ideal.
Solution: Rename to "autocmd".
2020-06-17 21:41:35 +02:00
e17f8817a1
patch 8.2.0995: insufficient testing for the readdir() sort option
...
Problem: Insufficient testing for the readdir() sort option.
Solution: Add a few more tests. (Christian Brabandt, closes #6278 )
2020-06-17 20:30:44 +02:00
9bb3eb3e02
patch 8.2.0994: Vim9: missing function causes compilation error
...
Problem: Vim9: missing function causes compilation error.
Solution: Call test function indirectly.
2020-06-17 20:03:36 +02:00
f7d267ef20
patch 8.2.0993: Vim9 script test fails with normal features
...
Problem: Vim9 script test fails with normal features.
Solution: Use :func instead of :def for now.
2020-06-17 12:04:54 +02:00
101f4810e2
patch 8.2.0992: Vim9: crash when using :import in the Vim command
...
Problem: Vim9: crash when using :import in the Vim command.
Solution: Give an error when using :import outside of a script.
(closes #6271 )
2020-06-16 23:18:51 +02:00
0fe937fd86
patch 8.2.0991: cannot get window type for autocmd and preview window
...
Problem: Cannot get window type for autocmd and preview window.
Solution: Add types to win_gettype(). (Yegappan Lakshmanan, closes #6277 )
2020-06-16 22:42:04 +02:00
a1bc6f1293
patch 8.2.0990: Using duplicate error number
...
Problem: Using duplicate error number.
Solution: Use an unused error number. Add a test for it.
2020-06-16 22:27:39 +02:00
a6e8bf2d89
patch 8.2.0989: crash after resizing a terminal window
...
Problem: Crash after resizing a terminal window. (August Masquelier)
Solution: Add check for valid row in libvterm. (closes #6273 )
2020-06-16 20:58:07 +02:00
84cf6bd81b
patch 8.2.0988: getting directory contents is always case sorted
...
Problem: Getting directory contents is always case sorted.
Solution: Add sort options and v:collate. (Christian Brabandt, closes #6229 )
2020-06-16 20:03:43 +02:00
9af78769ee
patch 8.2.0987: Vim9: cannot assign to [var; var]
...
Problem: Vim9: cannot assign to [var; var].
Solution: Assign rest of items to a list.
2020-06-16 11:34:42 +02:00
c70222d12a
patch 8.2.0986: MS-Windows: functions test fails
...
Problem: MS-Windows: functions test fails.
Solution: Only simplify ///path on Unix.
2020-06-15 23:18:12 +02:00
fdcbe3c3fe
patch 8.2.0985: simplify() does not remove slashes from "///path"
...
Problem: Simplify() does not remove slashes from "///path".
Solution: Reduce > 2 slashes to one. (closes #6263 )
2020-06-15 21:41:56 +02:00
ab176ce982
patch 8.2.0984: not using previous window when closing a shell popup window
...
Problem: Not using previous window when closing a shell popup window.
Solution: Use "prevwin" if it was set. (closes #6267 )
2020-06-15 21:19:08 +02:00
ad72350360
patch 8.2.0983: SConstruct file type not recognized
...
Problem: SConstruct file type not recognized.
Solution: Use python for SConstruct files. (Roland Hieber)
2020-06-15 20:24:58 +02:00
b340baed9f
patch 8.2.0982: insufficient testing for reading/writing files
...
Problem: Insufficient testing for reading/writing files.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6257 )
Add "ui_delay" to test_override() and use it for the CTRL-O test.
2020-06-15 19:51:56 +02:00
47a519a933
patch 8.2.0981: Vim9: cannot compile "[var, var] = list"
...
Problem: Vim9: cannot compile "[var, var] = list".
Solution: Implement list assignment.
2020-06-14 23:05:10 +02:00
a65d8b5bb9
patch 8.2.0980: raku file extension not recognized
...
Problem: Raku file extension not recognized. (Steven Penny)
Solution: Recognize .raku and .rakumod. (closes #6255 )
2020-06-14 20:04:32 +02:00
65e0d77a66
Update runtime files
2020-06-14 17:29:55 +02:00
8e20f75e58
patch 8.2.0979: a couple of screendump tests fail
...
Problem: A couple of screendump tests fail.
Solution: Do not redraw when clearing t_8u.
2020-06-14 16:43:47 +02:00
0c8059e0b6
patch 8.2.0978: leaking memory in termcodes test
...
Problem: Leaking memory in termcodes test.
Solution: Set t_8u with set_option_value().
2020-06-14 15:35:58 +02:00
8dff4cbf6d
patch 8.2.0977: t_8u is made empty for the wrong terminals
...
Problem: t_8u is made empty for the wrong terminals. (Dominique Pelle)
Solution: Invert the check for TPR_YES. (closes #6254 )
2020-06-14 14:34:16 +02:00
df7df59d85
patch 8.2.0976: some 'cpoptions' not tested
...
Problem: Some 'cpoptions' not tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6253 )
2020-06-14 13:50:55 +02:00
984dddbef4
patch 8.2.0975: Vim9: script variable does not accept optional s: prefix
...
Problem: Vim9: script variable does not accept optional s: prefix.
Solution: Adjust the accepted syntax.
2020-06-14 12:50:24 +02:00
f3decc5830
patch 8.2.0974: Vim9: memory leak when script var has wrong type
...
Problem: Vim9: memory leak when script var has wrong type.
Solution: Free the variable name.
2020-06-13 19:56:38 +02:00
34db91f7a4
patch 8.2.0973: Vim9: type is not checked when assigning to a script variable
...
Problem: Vim9: type is not checked when assigning to a script variable.
Solution: Check the type.
2020-06-13 19:00:10 +02:00
c82a5b5da5
patch 8.2.0972: Vim9 script variable declarations need a type
...
Problem: Vim9 script variable declarations need a type.
Solution: Make "let var: type" declare a script-local variable.
2020-06-13 18:09:19 +02:00
142499de33
patch 8.2.0971: build with tiny features fails
...
Problem: Build with tiny features fails.
Solution: Add #ifdef.
2020-06-13 16:39:31 +02:00
0c0eddd3dd
patch 8.2.0970: terminal properties are not available in Vim script
...
Problem: Terminal properties are not available in Vim script.
Solution: Add the terminalprops() function.
2020-06-13 15:47:25 +02:00
4a021dfbee
patch 8.2.0969: assert_equal() output for dicts is hard to figure out
...
Problem: Assert_equal() output for dicts is hard to figure out.
Solution: Only show the different items.
2020-06-13 15:13:38 +02:00
c9630d2658
patch 8.2.0968: no proper testing of the 'cpoptions' flags
...
Problem: No proper testing of the 'cpoptions' flags.
Solution: Add tests. (Yegappan Lakshmanan, closes #6251 )
2020-06-13 13:20:48 +02:00
71ccd03ee8
patch 8.2.0967: unnecessary type casts for vim_strnsave()
...
Problem: Unnecessary type casts for vim_strnsave().
Solution: Remove the type casts.
2020-06-12 22:59:11 +02:00
722e505d1a
patch 8.2.0966: 'shortmess' flag "n" not used in two places
...
Problem: 'shortmess' flag "n" not used in two places.
Solution: Make use of the "n" flag consistent. (Nick Jensen, closes #6245 ,
closes #6244 )
2020-06-12 22:31:00 +02:00
5055c56cfb
patch 8.2.0965: has_funcundefined() is not used
...
Problem: Has_funcundefined() is not used.
Solution: Delete the function. (Dominique Pellé, closes #6242 )
2020-06-12 22:15:31 +02:00
37d1673ce0
patch 8.2.0964: TextYankPost does not provide info about Visual selection
...
Problem: TextYankPost does not provide info about Visual selection.
Solution: Add the 'visual' key in v:event. (closes #6249 )
2020-06-12 22:09:01 +02:00
6c6be9e88d
patch 8.2.0963: number increment/decrement does not work with 'virtualedit'
...
Problem: Number increment/decrement does not work with 'virtualedit'.
Solution: Handle coladd changing. (Christian Brabandt, closes #6240 ,
closes #923 )
2020-06-12 20:19:44 +02:00
f6e020b122
patch 8.2.0962: terminal test sometimes hangs on Travis
...
Problem: Terminal test sometimes hangs on Travis.
Solution: Do show output for this test temporarily.
2020-06-12 20:11:55 +02:00
ec68028604
patch 8.2.0961: MS-Windows: no completion for locales
...
Problem: MS-Windows: no completion for locales.
Solution: Use the directories in $VIMRUNTIME/lang to complete locales.
(Christian Brabandt, closes 36248)
2020-06-12 19:35:32 +02:00
9721fb4ea3
patch 8.2.0960: cannot use :import in legacy Vim script
...
Problem: Cannot use :import in legacy Vim script.
Solution: Support :import in any Vim script.
2020-06-11 23:10:46 +02:00
00e260bb6c
patch 8.2.0959: using 'quickfixtextfunc' is a bit slow
...
Problem: Using 'quickfixtextfunc' is a bit slow.
Solution: Process a list of entries. (Yegappan Lakshmanan, closes #6234 )
2020-06-11 19:35:52 +02:00
1de5f7c81d
patch 8.2.0958: not sufficient testing for buffer writing
...
Problem: Not sufficient testing for buffer writing.
Solution: Add a few tests. (Yegappan Lakshmanan, closes #6238 )
2020-06-11 19:22:43 +02:00
2d4070d3b0
patch 8.2.0957: compiler warning for uninitialized variable
...
Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution: Initialize one variable.
2020-06-11 12:30:13 +02:00
e0ebeda4d8
patch 8.2.0956: spell test fails
...
Problem: Spell test fails.
Solution: Add missing change the spell checking.
2020-06-10 22:17:58 +02:00
215f49c4d7
patch 8.2.0955: build fails
...
Problem: Build fails.
Solution: Add missing struct change.
2020-06-10 22:12:04 +02:00
f1f0ff9557
patch 8.2.0954: not all desktop files are recognized
...
Problem: Not all desktop files are recognized.
Solution: Add the *.directory pattern. (Eisuke Kawashima, closes #3317 )
2020-06-10 22:07:52 +02:00
362b44bd4a
patch 8.2.0953: spell checking doesn't work for CamelCased words
...
Problem: Spell checking doesn't work for CamelCased words.
Solution: Add the "camel" value in the new option 'spelloptions'.
(closes #1235 )
2020-06-10 21:47:00 +02:00
be5ee8686a
patch 8.2.0952: no simple way to interrupt Vim
...
Problem: No simple way to interrupt Vim.
Solution: Add the SigUSR1 autocommand, triggered by SIGUSR1. (Jacob Hayes,
closes #1718 )
2020-06-10 20:56:58 +02:00
6ba24d8763
patch 8.2.0951: search stat test has leftover from debugging
...
Problem: Search stat test has leftover from debugging.
Solution: Remove line that writes a file. (Christian Brabandt, closes #6224 )
2020-06-10 20:21:09 +02:00
13b8205b44
patch 8.2.0950: tagjump test fails
...
Problem: Tagjump test fails.
Solution: Adjust expected text of the prompt.
2020-06-10 17:13:48 +02:00
ea1233fccf
patch 8.2.0949: strptime() does not use DST
...
Problem: Strptime() does not use DST.
Solution: Set the tm_isdst field to -1. (Tomáš Janoušek, closes #6230 )
2020-06-10 16:54:13 +02:00
d281b7c227
patch 8.2.0948: spell test fails
...
Problem: Spell test fails.
Solution: Adjust expected text of the prompt.
2020-06-10 16:39:32 +02:00
ab54032f29
patch 8.2.0947: readdirex() doesn't handle broken link properly
...
Problem: Readdirex() doesn't handle broken link properly.
Solution: Small fixes to readdirex(). (Christian Brabandt, closes #6226 ,
closes #6213 )
2020-06-10 15:55:36 +02:00
eebd555733
patch 8.2.0946: cannot use "q" to cancel a number prompt
...
Problem: Cannot use "q" to cancel a number prompt.
Solution: Recognize "q" instead of ignoring it.
2020-06-10 15:45:57 +02:00
152e79e94b
patch 8.2.0945: cannot use "z=" when 'spell' is off
...
Problem: Cannot use "z=" when 'spell' is off.
Solution: Make "z=" work even when 'spell' is off. (Christian Brabandt,
Gary Johnson, closes #6227 )
2020-06-10 15:32:08 +02:00
253ea9fa42
patch 8.2.0944: xxd test leaves file behind
...
Problem: Xxd test leaves file behind.
Solution: Delete the file "XXDfile". (Christian Brabandt, closes #6228 )
2020-06-10 14:21:20 +02:00
32ee627750
patch 8.2.0943: displaying ^M or ^J depends on current buffer
...
Problem: Displaying ^M or ^J depends on current buffer.
Solution: Pass the displayed buffer to transchar(). (closes #6225 )
2020-06-10 14:16:49 +02:00
0e390f40e9
patch 8.2.0942: expanding to local dir after homedir keeps "~/"
...
Problem: Expanding to local dir after homedir keeps "~/".
Solution: Adjust modify_fname(). (Christian Brabandt, closes #6205 ,
closes #5979 )
2020-06-10 13:12:28 +02:00
517f00f788
patch 8.2.0941: detecting terminal properties is unstructured
...
Problem: Detecting terminal properties is unstructured.
Solution: Add a table with terminal properties. Set properties when a
terminal is detected.
2020-06-10 12:15:51 +02:00
0ca8b5ba7b
patch 8.2.0940: build failure with tiny features
...
Problem: Build failure with tiny features.
Solution: Add #ifdef. Add UNUSED. A bit more cleaning up.
2020-06-09 21:35:36 +02:00
218cb0fb62
patch 8.2.0939: checking for term escape sequences is long and confusing
...
Problem: checking for term escape sequences is long and confusing
Solution: Refactor code into separate functions.
2020-06-09 21:26:36 +02:00
59de417b90
patch 8.2.0938: NFA regexp uses tolower ()to compare ignore-case
...
Problem: NFA regexp uses tolower() to compare ignore-case. (Thayne McCombs)
Solution: Use utf_fold() when possible. (ref. neovim #12456 )
2020-06-09 19:34:54 +02:00
dcf59c37d0
patch 8.2.0937: asan failure in the flatten() test
...
Problem: Asan failure in the flatten() test.
Solution: Free the flattened list.
2020-06-09 17:30:04 +02:00
a45551a535
patch 8.2.0936: some terminals misinterpret the code for getting cursor style
...
Problem: Some terminals misinterpret the code for getting cursor style.
Solution: Send a sequence to the terminal and check the result. (IWAMOTO
Kouichi, closes #2126 ) Merged with current code.
2020-06-09 15:57:37 +02:00
077a1e670a
patch 8.2.0935: flattening a list with existing code is slow
...
Problem: Flattening a list with existing code is slow.
Solution: Add flatten(). (Mopp, closes #3676 )
2020-06-08 20:50:43 +02:00
ec98e93a82
patch 8.2.0934: lhelpgrep twice in help window doesn't jump to the help topic
...
Problem: Running lhelpgrep twice in a help window doesn't jump to the help
topic.
Solution: Check whether any window with the location list is present.
(Yegappan Lakshmanan, closes #6215 )
2020-06-08 19:35:59 +02:00
7ba5a7eff3
patch 8.2.0933: 'quickfixtextfunc' does not get window ID of location list
...
Problem: 'quickfixtextfunc' does not get window ID of location list.
Solution: Add "winid" to the dict argument. (Yegappan Lakshmanan,
closes #6222 )
2020-06-08 19:20:27 +02:00
f154f3ab2c
patch 8.2.0932: missspelling spelllang
...
Problem: Missspelling spelllang.
Solution: Add an "l". (Dominique Pelle)
2020-06-08 18:54:49 +02:00
6938e27abd
patch 8.2.0931: some remarks about BeOS remain
...
Problem: Some remarks about BeOS remain.
Solution: Remove BeOS remarks from the help and other files. (Emir Sari,
closes #6221 )
2020-06-07 22:23:19 +02:00
b5e18f29fa
patch 8.2.0930: script filetype detection trips over env -S argument
...
Problem: Script filetype detection trips over env -S argument.
Solution: Remove "-S" and "--ignore-environment". (closes #5013 )
Add tests.
2020-06-07 21:58:54 +02:00
cc613031b9
patch 8.2.0929: v:register is not cleared after an operator was executed
...
Problem: v:register is not cleared after an operator was executed.
Solution: Clear v:register after finishing an operator (Andy Massimino,
closes #5305 )
2020-06-07 21:31:18 +02:00
acc2240640
Update runtime files
2020-06-07 21:07:18 +02:00
df44a27b53
patch 8.2.0928: many type casts are used for vim_strnsave()
...
Problem: Many type casts are used for vim_strnsave().
Solution: Make the length argument size_t instead of int. (Ken Takata,
closes #5633 ) Remove some type casts.
2020-06-07 20:49:05 +02:00
da84ac2a6f
patch 8.2.0927: some sshconfig and ssdhconfig files are not recognized
...
Problem: Some sshconfig and ssdhconfig files are not recognized.
Solution: Add filetype patterns.
2020-06-07 20:07:43 +02:00
951a2fb1b8
patch 8.2.0926: cmdline test fails on Appveyor
...
Problem: Cmdline test fails on Appveyor.
Solution: Add CR to the commands. (Naruhiko Nishino, closes #6220 )
2020-06-07 19:38:10 +02:00
1f1fd44ef7
patch 8.2.0925: getcompletion() does not return command line arguments
...
Problem: Getcompletion() does not return command line arguments.
Solution: Add the "cmdline" option. (Shougo, closes #1140 )
2020-06-07 18:45:14 +02:00
bb861e293e
patch 8.2.0924: cannot save and restore a register properly
...
Problem: Cannot save and restore a register properly.
Solution: Add getreginfo() and make setreg() accept a dictionary. (Andy
Massimino, closes #3370 )
2020-06-07 18:16:36 +02:00
c82dd86084
patch 8.2.0923: cmdline test is slow
...
Problem: Cmdline test is slow.
Solution: Use WaitForAssert().
2020-06-07 17:30:33 +02:00
48af321a33
patch 8.2.0922: search test fails
...
Problem: Search test fails.
Solution: Remove failure tests for calls that no longer fail.
2020-06-07 17:20:02 +02:00
4fdb8bd054
patch 8.2.0921: CTRL-W T in cmdline window causes trouble
...
Problem: CTRL-W T in cmdline window causes trouble.
Solution: Disallow CTRL-W T in the cmdline window. Add more tests.
(Naruhiko Nishino, closes #6219 )
2020-06-07 17:03:21 +02:00
5b157fe2ed
patch 8.2.0920: writing viminfo fails with a circular reference
...
Problem: Writing viminfo fails with a circular reference.
Solution: Use copyID to detect the cycle. (closes #6217 )
2020-06-07 16:08:08 +02:00
673fc3e23f
patch 8.2.0919: merging modifier for modifyOtherKeys is done twice
...
Problem: Merging modifier for modifyOtherKeys is done twice.
Solution: Remove the merging done in vgetc().
2020-06-07 15:46:11 +02:00
a9c0104947
patch 8.2.0918: duplicate code for evaluating expression argument
...
Problem: Duplicate code for evaluating expression argument.
Solution: Merge the code and make the use more flexible.
2020-06-07 14:50:50 +02:00
e928366de5
patch 8.2.0917: quickfix entries do not suport a "note" type
...
Problem: Quickfix entries do not suport a "note" type.
Solution: Add support for "note". (partly by Yegappan Lakshmanan,
closes #5527 , closes #6216 )
2020-06-07 14:10:47 +02:00
975a880a13
patch 8.2.0916: mapping with partly modifyOtherKeys code does not work
...
Problem: Mapping with partly modifyOtherKeys code does not work.
Solution: If there is no mapping with a separate modifier include the
modifier in the key and then try mapping again. (closes #6200 )
2020-06-06 22:36:24 +02:00
adc17a5f9d
patch 8.2.0915: search() cannot skip over matches like searchpair() can
...
Problem: Search() cannot skip over matches like searchpair() can.
Solution: Add an optional "skip" argument. (Christian Brabandt, closes #861 )
2020-06-06 18:37:51 +02:00
d8df304c59
patch 8.2.0914: MS-Windows: cannot specify a "modified by" text
...
Problem: MS-Windows: cannot specify a "modified by" text.
Solution: Add MODIFIED_BY in the MSVC build file. (Chen Lei, closes #1275 )
2020-06-06 16:18:46 +02:00
439c036ed0
patch 8.2.0913: code for resetting v:register is duplicated
...
Problem: Code for resetting v:register is duplicated.
Solution: Add reset_reg_var().
2020-06-06 15:58:03 +02:00
11f1ffd182
patch 8.2.0912: a few test cases for CJK formatting are disabled
...
Problem: A few test cases for CJK formatting are disabled.
Solution: Fix the tests and enable them. (closes #6212 )
2020-06-06 15:23:26 +02:00
9b7cce28d5
patch 8.2.0911: crash when opening a buffer for the cmdline window fails
...
Problem: Crash when opening a buffer for the cmdline window fails. (Chris
Barber)
Solution: Check do_ecmd() succeeds. Reset got_int if "q" was used at the
more prompt. (closes #6211 )
2020-06-06 15:14:08 +02:00
87fda407f8
Also fix the patch number.
2020-06-06 13:25:31 +02:00
fe712ced6e
Fix duplicated code that only appears in git.
2020-06-06 13:17:59 +02:00
8f1dde5021
patch 8.2.0910: Vim is not reproducibly buildable
...
Problem: Vim is not reproducibly buildable.
Solution: Use the $SOURCE_DATE_EPOCH environment variable in configure.
(James McCoy, closes #513 ) Give a warning about using it.
2020-06-05 23:16:29 +02:00
002bc79991
patch 8.2.0909: cannot go back to the previous local directory
...
Problem: Cannot go back to the previous local directory.
Solution: Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes #4362 )
2020-06-05 22:33:42 +02:00
3fffa97159
patch 8.2.0908: crash when changing the function table while listing it
...
Problem: Crash when changing the function table while listing it.
Solution: Bail out when the function table changes. (closes #6209 )
2020-06-05 21:06:10 +02:00
07188fc5ef
patch 8.2.0907: when using :global clipboard isn't set correctly
...
Problem: When using :global clipboard isn't set correctly.
Solution: Set "clip_unnamed_saved" instead of "clip_unnamed". (Christian
Brabandt, closes #6203 , closes #6198 )
2020-06-05 20:03:16 +02:00
ea563cc22b
patch 8.2.0906: when setting 'termguicolors' SpellBad is no longer red
...
Problem: When setting 'termguicolors' SpellBad is no longer red.
Solution: Only use the RGB guisp color for cterm when using the "underline"
or "undercurl" attributes to avoid the background color to be
cleared. Also make t_8u empty when the termresponse indicates a
real xterm. (closes #6207 )
2020-06-05 19:36:57 +02:00
e0c3c3d6cb
patch 8.2.0905: test coverage could be better
...
Problem: Test coverage could be better.
Solution: Add a couple of tests. (Dominique Pelle, closes #6202 )
2020-06-04 22:46:04 +02:00
46cd43bda1
patch 8.2.0904: assuming modifyOtherKeys for rhs of mapping
...
Problem: Assuming modifyOtherKeys for rhs of mapping.
Solution: Ignore seenModifyOtherKeys for mapped characters. (closes #6200 )
2020-06-04 22:22:11 +02:00
852ea366d6
patch 8.2.0903: comparing WINVER does not work correctly
...
Problem: comparing WINVER does not work correctly.
Solution: Use arithmethic expansion. (Ozaki Kiichi, closes #6197 )
2020-06-04 21:32:49 +02:00
442a85369f
patch 8.2.0902: using searchcount() in 'statusline' causes an error
...
Problem: Using searchcount() in 'statusline' causes an error.
Solution: Avoid saving/restoring the search patten recursively.
(closes #6194 )
2020-06-04 20:56:09 +02:00
e52702f003
patch 8.2.0901: formatting CJK text isn't optimal
...
Problem: Formatting CJK text isn't optimal.
Solution: Properly break CJK lines. (closes #3875 )
2020-06-04 18:22:13 +02:00
9155825b24
patch 8.2.0900: function list test fails on MS-Windows
...
Problem: Function list test fails on MS-Windows.
Solution: Make sure the fileformat is "unix"
2020-06-04 17:19:05 +02:00
30cc44a97f
patch 8.2.0899: assert_equalfile() does not give a hint about the difference
...
Problem: Assert_equalfile() does not give a hint about the difference.
Solution: Display the last seen text.
2020-06-04 16:52:40 +02:00
6b0e528368
patch 8.2.0898: missing help for a function goes unnoticed
...
Problem: Missing help for a function goes unnoticed.
Solution: Add a test. (Gary Johnson)
2020-06-04 15:52:25 +02:00
ebacddbc16
patch 8.2.0897: list of functions in patched version is outdated
...
Problem: List of functions in patched version is outdated.
Solution: Update the function lists only.
2020-06-04 15:22:21 +02:00
14681627f3
patch 8.2.0896: crash when calling searchcount() with a string
...
Problem: Crash when calling searchcount() with a string.
Solution: Check the argument is a dict. (closes #6192 )
2020-06-03 22:57:39 +02:00
408c23b079
patch 8.2.0895: :mkspell output does not mention the tree type
...
Problem: :mkspell output does not mention the tree type.
Solution: Back out increasing the limits, it has no effect. Mention the
tree being compressed. Only give a message once per second.
2020-06-03 22:15:45 +02:00
59f88fbf24
patch 8.2.0894: :mkspell can take very long if the word count is high
...
Problem: :mkspell can take very long if the word count is high.
Solution: Use long to avoid negative numbers. Increase the limits by 20% if
the compression did not have effect.
2020-06-03 20:51:11 +02:00
fb517bac23
patch 8.2.0893: assert_equalfile() does not take a third argument
...
Problem: Assert_equalfile() does not take a third argument.
Solution: Implement the third argument. (Gary Johnson)
2020-06-03 19:55:35 +02:00
c5acc0f7fe
patch 8.2.0892: ubsan warns for undefined behavior
...
Problem: Ubsan warns for undefined behavior.
Solution: Use unsigned instead of signed variable. (Dominique Pelle,
closes #6193 )
2020-06-03 18:55:38 +02:00
cc836556d9
patch 8.2.0891: clang warns for invalid conversion
...
Problem: Clang warns for invalid conversion.
Solution: Use zero instead of INVALCOLOR.
2020-06-03 10:04:49 +02:00
1e5f8f6d65
patch 8.2.0890: no color in terminal window when 'termguicolor' is set
...
Problem: No color in terminal window when 'termguicolor' is set.
Solution: Clear the underline color. (closes #6186 )
2020-06-02 23:18:24 +02:00
791fb1bcda
patch 8.2.0889: using old style comments
...
Problem: Using old style comments.
Solution: Use // comments. (Yegappan Lakshmanan, closes #6190 )
2020-06-02 22:24:36 +02:00
441d60efd8
patch 8.2.0888: readdirex() returns size -2 for a directory
...
Problem: Readdirex() returns size -2 for a directory.
Solution: Add missing "else". (Ken Takata, closes #6185 )
2020-06-02 22:19:50 +02:00
57f75a5a36
patch 8.2.0887: searchcount().exact_match is 1 right after a match
...
Problem: Searchcount().exact_match is 1 right after a match.
Solution: Use LT_POS() instead of LTOREQ_POS(). (closes #6189 )
2020-06-02 22:06:21 +02:00
c17e66c5c0
patch 8.2.0886: cannot use octal numbers in scriptversion 4
...
Problem: Cannot use octal numbers in scriptversion 4.
Solution: Add the "0o" notation. (Ken Takata, closes #5304 )
2020-06-02 21:38:22 +02:00
3ac498c8a1
patch 8.2.0885: "make shadow" does not link new lua test dir
...
Problem: "make shadow" does not link new lua test dir.
Solution: Also link testdir/testluaplugin. (Elimar Riesebieter)
2020-06-02 20:25:36 +02:00
ea6561af92
patch 8.2.0884: searchcount() test fails on slower systems
...
Problem: Searchcount() test fails on slower systems.
Solution: Set a longer timeout.
2020-06-01 21:32:45 +02:00
5fbf3bc3f9
patch 8.2.0883: memory leak in test 49
...
Problem: Memory leak in test 49.
Solution: Free "sfile" from the exception.
2020-06-01 21:13:11 +02:00
48b1c21809
patch 8.2.0882: leaking memory when using reduce()
...
Problem: Leaking memory when using reduce().
Solution: Free the intermediate value.
2020-06-01 20:11:02 +02:00
d6a77f95ee
patch 8.2.0881: compiler warning for argument type
...
Problem: Compiler warning for argument type.
Solution: Add type cast. (Mike Williams)
2020-06-01 19:14:12 +02:00
109aece79d
patch 8.2.0880: leaking memory when using searchcount()
...
Problem: Leaking memory when using searchcount().
Solution: Free the last used search pattern.
2020-06-01 19:08:54 +02:00
f9ca08e95f
patch 8.2.0879: compiler warning for unused function argument
...
Problem: Compiler warning for unused function argument.
Solution: Add UNUSED.
2020-06-01 18:56:03 +02:00
85629985b7
patch 8.2.0878: no reduce() function
...
Problem: No reduce() function.
Solution: Add a reduce() function. (closes #5481 )
2020-06-01 18:39:20 +02:00
e8f5ec0d30
patch 8.2.0877: cannot get the search statistics
...
Problem: Cannot get the search statistics.
Solution: Add the searchcount() function. (Fujiwara Takuya, closes #4446 )
2020-06-01 17:28:35 +02:00
950587242c
patch 8.2.0876: :pwd does not give a hint about the scope of the directory
...
Problem: :pwd does not give a hint about the scope of the directory
Solution: Make ":verbose pwd" show the scope. (Takuya Fujiwara, closes #5469 )
2020-06-01 16:26:19 +02:00
6c9ba04280
patch 8.2.0875: getting attributes for directory entries is slow
...
Problem: Getting attributes for directory entries is slow.
Solution: Add readdirex(). (Ken Takata, closes #5619 )
2020-06-01 16:09:41 +02:00
d14fd5285e
patch 8.2.0874: signals test is a bit flaky
...
Problem: Signals test is a bit flaky.
Solution: Flush the XautoOut file. Delete files that may be left behind
from a failure. (Dominique Pelle, closes #6179 )
2020-06-01 15:05:19 +02:00
2891459b81
patch 8.2.0873: a .jl file can be sawfish (lisp) or Julia
...
Problem: A .jl file can be sawfish (lisp) or Julia.
Solution: Do not recognize *.jl as lisp, since it might be Julia.
(closes #6178 )
2020-06-01 14:43:59 +02:00
f15c8b6eb3
patch 8.2.0872: XIM code is mixed with multi-byte code
...
Problem: XIM code is mixed with multi-byte code.
Solution: Move the XIM code to a separate file. (Yegappan Lakshmanan,
closes #6177 )
2020-06-01 14:34:43 +02:00
f17e7ea67a
patch 8.2.0871: cannot use getmarklist() as a method
...
Problem: Cannot use getmarklist() as a method.
Solution: Make getmarklist() work as a method. Add one to the column
number to match getpos(). (Yegappan Lakshmanan, closes #6176 )
2020-06-01 14:14:44 +02:00
ad772a63ec
patch 8.2.0870: MS-Windows: Control keys don't work in the GUI
...
Problem: MS-Windows: Control keys don't work in the GUI.
Solution: Don't set seenModifyOtherKeys for now. (Yasuhiro Matsumoto,
closes #6175 )
2020-06-01 14:07:49 +02:00
858ba06d5f
patch 8.2.0869: it is not possible to customize the quickfix window contents
...
Problem: It is not possible to customize the quickfix window contents.
Solution: Add 'quickfixtextfunc'. (Yegappan Lakshmanan, closes #5465 )
2020-05-31 23:11:59 +02:00
2245ae18e3
patch 8.2.0868: trim() always trims both ends
...
Problem: trim() always trims both ends.
Solution: Add an argument to only trim the beginning or end. (Yegappan
Lakshmanan, closes #6126 )
2020-05-31 22:20:36 +02:00
fccd93f091
patch 8.2.0867: using \{xxx} for encoding a modifier is not nice
...
Problem: Using \{xxx} for encoding a modifier is not nice.
Solution: Use \<*xxx> instead, since it's the same as \<xxx> but producing a
different code.
2020-05-31 22:06:51 +02:00
494e9069cb
patch 8.2.0866: not enough tests for buffer writing
...
Problem: Not enough tests for buffer writing.
Solution: Add more tests. Use CheckRunVimInTerminal in more places.
(Yegappan Lakshmanan, closes #6167 )
2020-05-31 21:28:02 +02:00
e35a52aee7
patch 8.2.0865: syntax foldlevel is taken from the start of the line
...
Problem: Syntax foldlevel is taken from the start of the line.
Solution: Add ":syn foldlevel" to be able to use the minimal foldlevel in
the line. (Brad King, closes #6087 )
2020-05-31 19:48:53 +02:00
d881b516da
patch 8.2.0864: pragmas are indented all the way to the left
...
Problem: Pragmas are indented all the way to the left.
Solution: Add an option to indent progmas like normal code. (Max Rumpf,
closes #5468 )
2020-05-31 17:49:30 +02:00
e023e88bed
patch 8.2.0863: cannot set a separate color for underline/undercurl
...
Problem: Cannot set a separate color for underline/undercurl.
Solution: Add the t_AU and t_8u termcap codes. (Timur Celik, closes #6011 )
2020-05-31 16:42:30 +02:00
b10090928c
patch 8.2.0862: ":term ++curwin" makes the current buffer hidden
...
Problem: ":term ++curwin" makes the current buffer hidden. (Harm te
Hennepe)
Solution: Do not hide the current buffer. (closes #6170 )
2020-05-31 16:04:42 +02:00
cfb4b47de0
patch 8.2.0861: cannot easily get all the current marks
...
Problem: Cannot easily get all the current marks.
Solution: Add getmarklist(). (Yegappan Lakshmanan, closes #6032 )
2020-05-31 15:41:57 +02:00
aaad995f83
patch 8.2.0860: cannot use CTRL-A and CTRL-X on unsigned numbers
...
Problem: Cannot use CTRL-A and CTRL-X on unsigned numbers.
Solution: Add "unsigned" to 'nrformats'. (Naruhiko Nishino, closes #6144 )
2020-05-31 15:08:59 +02:00
f09715bc5c
patch 8.2.0859: no Turkish translation of the manual
...
Problem: No Turkish translation of the manual.
Solution: Add Turkish translations. (Emir Sarı, closes #5641 )
2020-05-31 14:25:22 +02:00
788fbb4707
patch 8.2.0858: not easy to require Lua modules
...
Problem: Not easy to require Lua modules.
Solution: Improve use of Lua path. (Prabir Shrestha, closes #6098 )
2020-05-31 14:08:12 +02:00
5cd1cb9ff9
patch 8.2.0857: GTK cell height can be a pixel too much
...
Problem: GTK cell height can be a pixel too much.
Solution: Subtract 3 instead of 1 when rounding. (closes #6168 )
2020-05-31 13:53:04 +02:00
928eec649b
patch 8.2.0856: CTRL-S stops output
...
Problem: CTRL-S stops output.
Solution: Invert the IXON flag. (closes #6166 )
2020-05-31 13:09:47 +02:00
ebe9d34aa0
patch 8.2.0855: GUI tests fail because the test doesn't use a modifier
...
Problem: GUI tests fail because the test doesn't use a modifier.
Solution: Add "\{xxx}" to be able to encode a modifier.
2020-05-30 21:52:54 +02:00
363d6148df
patch 8.2.0854: xxd cannot show offset as a decimal number
...
Problem: Xxd cannot show offset as a decimal number.
Solution: Add the "-d" flag. (Aapo Rantalainen, closes #5616
2020-05-30 20:50:25 +02:00
ca70c07b72
patch 8.2.0853: ml_delete() often called with FALSE argument
...
Problem: ml_delete() often called with FALSE argument.
Solution: Use ml_delete_flags(x, ML_DEL_MESSAGE) when argument is TRUE.
2020-05-30 20:30:46 +02:00
d6cd5ffade
patch 8.2.0852: cannot map CTRL-S on some systems
...
Problem: Cannot map CTRL-S on some systems.
Solution: Do not use CTRL-S for flow control.
2020-05-30 20:05:02 +02:00
f4ae6b245a
patch 8.2.0851: can't distinguish <M-a> from accented "a" in the GUI
...
Problem: Can't distinguish <M-a> from accented "a" in the GUI.
Solution: Use another way to make mapping <C-bslash> work. (closes #6163 )
2020-05-30 19:52:46 +02:00
95da136142
patch 8.2.0850: MS-Windows: exepath() works different from cmd.exe
...
Problem: MS-Windows: exepath() works different from cmd.exe.
Solution: Make exepath() work better on MS-Windows. (closes #6115 )
2020-05-30 18:37:55 +02:00
041c7107f2
patch 8.2.0849: BeOS code is not maintained and probably unused
...
Problem: BeOS code is not maintained and probably unused.
Solution: Remove the BeOS code. (Emir Sari, closes #5817 )
2020-05-30 18:14:57 +02:00
06b7b58455
patch 8.2.0848: MS-Windows: the Windows terminal code has some flaws
...
Problem: MS-Windows: the Windows terminal code has some flaws.
Solution: Do not redraw the right edge of the screen. Remove the background
color trick. Flush the screen output buffer often. (Nobuhiro
Takasaki, #5546 )
2020-05-30 17:49:25 +02:00
367d59e6ba
patch 8.2.0847: typval related code is spread out
...
Problem: Typval related code is spread out.
Solution: Move code to new typval.c file. (Yegappan Lakshmanan, closes #6093 )
2020-05-30 17:06:14 +02:00
d5c2c7763d
patch 8.2.0846: build failure with small features
...
Problem: Build failure with small features.
Solution: Add #ifdef.
2020-05-30 16:17:33 +02:00
87be9be1db
patch 8.2.0845: text properties crossing lines not handled correctly
...
Problem: Text properties crossing lines not handled correctly.
Solution: When joining lines merge text properties if possible.
(Axel Forsman, closes #5839 , closes #5683 )
2020-05-30 15:32:02 +02:00
a9d4b84d97
patch 8.2.0844: text properties crossing lines not handled correctly
...
Problem: Text properties crossing lines not handled correctly.
Solution: When saving for undo include an extra line when needed and do not
adjust properties when undoing. (Axel Forsman, closes #5875 )
2020-05-30 14:46:52 +02:00
0016fd2e29
patch 8.2.0843: filetype elm not detected
...
Problem: Filetype elm not detected.
Solution: Recognize *.elm files. (closes #6157 )
2020-05-30 13:15:14 +02:00
208534d9ae
patch 8.2.0842: MS-Windows: channel tests fail
...
Problem: MS-Windows: channel tests fail.
Solution: Adjust #ifdefs. (closes #6162 )
2020-05-30 13:07:39 +02:00
823654bc06
patch 8.2.0841: 'verbose' value 16 causes duplicate output
...
Problem: 'verbose' value 16 causes duplicate output.
Solution: Combine levels 15 and 16 into one message. (Christian Brabandt,
closes #6153 )
2020-05-29 23:03:09 +02:00
6cb0726215
patch 8.2.0840: search match count wrong when only match is in fold
...
Problem: Search match count wrong when only match is in fold.
Solution: Update search stats when in a closed fold. (Christian Brabandt,
closes #6160 , closes #6152 )
2020-05-29 22:49:43 +02:00
b42c0d5427
patch 8.2.0839: dropping modifier when putting a character back in typeahead
...
Problem: Dropping modifier when putting a character back in typeahead.
Solution: Add modifier to ins_char_typebuf(). (closes #6158 )
2020-05-29 22:41:41 +02:00
09307e3bc1
patch 8.2.0838: MS-Windows: compiler warning for uninitialized variables
...
Problem: MS-Windows: compiler warning for uninitialized variables.
Solution: Initialize variables.
2020-05-29 21:42:55 +02:00
b60db8ba14
patch 8.2.0837: compiler warning for value set but not used
...
Problem: Compiler warning for value set but not used.
Solution: Move variable inside #ifdef.
2020-05-29 21:38:42 +02:00
14798ab9a5
patch 8.2.0836: not all :cdo output is visible
...
Problem: Not all :cdo output is visible.
Solution: Reset 'shortmess' temporarily. (Yegappan Lakshmanan, closes #6155 )
2020-05-28 21:30:11 +02:00
c998370562
patch 8.2.0835: Motif: mapping <C-bslash> still doesn't work
...
Problem: Motif: mapping <C-bslash> still doesn't work.
Solution: Accept CSI for K_SPECIAL. Do not apply CTRL to the character
early. (closes #6150 )
2020-05-28 21:03:53 +02:00
3f65c66df9
patch 8.2.0834: :drop command in terminal popup causes problems
...
Problem: :drop command in terminal popup causes problems.
Solution: Check for using a popup window. (closes #6151 )
2020-05-27 23:15:16 +02:00
ca5bc74607
patch 8.2.0833: mapping <C-bslash> doesn't work in the GUI
...
Problem: Mapping <C-bslash> doesn't work in the GUI.
Solution: Reset seenModifyOtherKeys when starting the GUI. (closes #6150 )
2020-05-27 22:08:34 +02:00
a55ba06f69
patch 8.2.0832: compiler warning for uninitialized variable
...
Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution: Add initial value.
2020-05-27 21:29:04 +02:00
f4b68e9056
patch 8.2.0831: compiler warnings for integer sizes
...
Problem: Compiler warnings for integer sizes.
Solution: Add type casts. (Mike Williams)
2020-05-27 21:22:14 +02:00
80a20df86a
patch 8.2.0830: Motif: can't map "!"
...
Problem: Motif: can't map "!". (Ben Jackson)
Solution: Remove the shift modifier if it's already included in the key.
(closes #6147 )
2020-05-26 22:14:27 +02:00
388a5d4f20
Update runtime files
2020-05-26 21:20:45 +02:00
fcb0b61d15
patch 8.2.0829: filter() may give misleading error message
...
Problem: filter() may give misleading error message.
Solution: Also mention Blob as an allowed argument.
2020-05-26 20:22:01 +02:00
92c098d18e
patch 8.2.0828: Travis: regexp patttern doesn't work everywhere
...
Problem: Travis: regexp patttern doesn't work everywhere.
Solution: Use [:blank:] instead of \b. (Ozaki Kiichi, closes #6146 )
2020-05-26 20:09:11 +02:00
285b189260
patch 8.2.0827: Vim9: crash in :defcompile
...
Problem: Vim9: crash in :defcompile.
Solution: Fix off-by-one error.
2020-05-26 11:37:26 +02:00
ebc3de634f
patch 8.2.0826: Vim9: crash in :defcompile
...
Problem: Vim9: crash in :defcompile.
Solution: Restart the loop after a call to compile_def_function() caused the
hash table to resize.
2020-05-26 11:08:28 +02:00
a14e697547
patch 8.2.0825: def_function() may return pointer that was freed
...
Problem: def_function() may return pointer that was freed.
Solution: Set "fp" to NULL after freeing it.
2020-05-25 23:29:28 +02:00
1919371b2b
patch 8.2.0824: still not enough memory allocated when converting string
...
Problem: Still not enough memory allocated when converting string with
special character.
Solution: Reserve space for expanding K_SPECIAL. (closes #6130 )
2020-05-25 23:01:42 +02:00
25e0f5863e
patch 8.2.0823: Vim9: script reload test is disabled
...
Problem: Vim9: script reload test is disabled.
Solution: Compile a function in the context of the script where it was
defined. Set execution stack for compiled function. Add a test
that an error is reported for the right file/function.
2020-05-25 22:36:50 +02:00
2eec37926d
patch 8.2.0822: Vim9: code left over from discovery phase
...
Problem: Vim9: code left over from discovery phase.
Solution: Remove the dead code.
2020-05-25 20:33:55 +02:00
45a1508a22
patch 8.2.0821: Vim9: memory leak in expr test
...
Problem: Vim9: memory leak in expr test.
Solution: Do not decrement the length of the list of functions if the
current function is not at the end.
2020-05-25 00:28:33 +02:00
6ff71d8b7f
patch 8.2.0820: Vim9: function type isn't set until compiled
...
Problem: Vim9: function type isn't set until compiled.
Solution: Set function type early.
2020-05-24 23:45:24 +02:00
f40e51a880
patch 8.2.0819: compiler warning for unused variable
...
Problem: Compiler warning for unused variable.
Solution: Remove the variable.
2020-05-24 23:14:23 +02:00
822ba24743
patch 8.2.0818: Vim9: using a discovery phase doesn't work well
...
Problem: Vim9: using a discovery phase doesn't work well.
Solution: Remove the discovery phase, instead compile a function only when
it is used. Add :defcompile to compile def functions earlier.
2020-05-24 23:00:18 +02:00
f7271e8316
patch 8.2.0817: not enough memory allocated when converting string
...
Problem: Not enough memory allocated when converting string with special
character.
Solution: Reserve space for modifier code. (closes #6130 )
2020-05-24 18:45:07 +02:00
87202264f8
patch 8.2.0816: terminal test fails when compiled with Athena
...
Problem: Terminal test fails when compiled with Athena.
Solution: Do give an error when the GUI is not running. (hint by Dominique
Pelle, closes #5928 , closes #6132 )
2020-05-24 17:23:45 +02:00
9c65253fe7
patch 8.2.0815: maparg() does not provide enough information for mapset()
...
Problem: maparg() does not provide enough information for mapset().
Solution: Add "lhsraw" and "lhsrawalt" items. Drop "simplified"
2020-05-24 13:10:18 +02:00
3718427ba3
patch 8.2.0814: clang warning for implicit conversion
...
Problem: Clang warning for implicit conversion.
Solution: Add type cast. (Dominique Pelle, closes #6124 )
2020-05-23 19:30:05 +02:00
591cec8366
patch 8.2.0813: libvterm code is slightly different from upstream
...
Problem: libvterm code is slightly different from upstream.
Solution: Use upstream text to avoid future merge problems. Mainly comment
style changes.
2020-05-22 22:06:06 +02:00
c94c1467b9
patch 8.2.0812: mapset() does not properly handle <> notation
...
Problem: mapset() does not properly handle <> notation.
Solution: Convert <> codes. (closes #6116 )
2020-05-22 20:01:06 +02:00
9cdcd1d0dc
patch 8.2.0811: terminal keycode test is flaky
...
Problem: Terminal keycode test is flaky.
Solution: Use WaitForAssert()
2020-05-22 14:44:26 +02:00
2e61e2d083
patch 8.2.0810: error when appending "tagfile" to 'wildoptions'
...
Problem: Error when appending "tagfile" to 'wildoptions'.
Solution: use flags P_ONECOMMA and P_NODUP. (Dmitri Vereshchagin,
closes #6105 )
2020-05-22 14:10:36 +02:00
5a80f8ad5d
patch 8.2.0809: build failure with small features
...
Problem: Build failure with small features. (Tony Mechelynck)
Solution: Move "expr" inside #ifdef.
2020-05-22 13:38:18 +02:00
98f1671cc0
patch 8.2.0808: not enough testing for the terminal window
...
Problem: Not enough testing for the terminal window.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6069 ) Fix memory
leak.
2020-05-22 13:34:01 +02:00
4c9243f9fb
patch 8.2.0807: cannot easily restore a mapping
...
Problem: Cannot easily restore a mapping.
Solution: Add mapset().
2020-05-22 13:10:44 +02:00
74fae513f8
patch 8.2.0806: using "func!" after vim9script gives confusing error
...
Problem: using "func!" after vim9script gives confusing error.
Solution: Give E477. (closes #6107 )
2020-05-21 21:50:58 +02:00
fe81389d60
patch 8.2.0805: terminal key codes test fails on some systems
...
Problem: Terminal key codes test fails on some systems.
Solution: Skip keypad 3 and 9. (Yegappan Lakshmanan, closes #6070 )
2020-05-21 20:38:31 +02:00
e5886ccb51
patch 8.2.0804: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revision 727, but add the index instead of switching
between RGB and indexed.
2020-05-21 20:10:04 +02:00
83a52533b2
patch 8.2.0803: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revisions 764 - 767
2020-05-20 19:30:19 +02:00
d863728913
patch 8.2.0802: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revisions 759 - 762.
2020-05-20 18:41:41 +02:00
eaa3e0dae5
patch 8.2.0801: terminal test fails on Mac
...
Problem: Terminal test fails on Mac.
Solution: Concatenate OSC pieces.
2020-05-19 23:11:00 +02:00
a09195f29e
patch 8.2.0800: errors from failing test are unclear
...
Problem: Errors from failing test are unclear.
Solution: Include text where parsing failed.
2020-05-19 22:38:59 +02:00
74c6963656
patch 8.2.0799: build fails if snprintf is not available
...
Problem: Build fails if snprintf is not available.
Solution: Use vim_snprintf().
2020-05-19 21:43:47 +02:00
be593bf135
patch 8.2.0798: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revisions 755 - 758.
2020-05-19 21:20:04 +02:00
904e48a22b
patch 8.2.0797: MS-Windows: compiler still can't handle C99 construct
...
Problem: MS-Windows: compiler still can't handle C99 construct.
Solution: Change to C90 construct. (Dominique Pelle, closes #6106 )
2020-05-19 10:33:02 +02:00
37ebd42f16
patch 8.2.0796: MS-Windows: compiler can't handle C99 construct in libvterm
...
Problem: MS-Windows: compiler can't handle C99 construct in libvterm.
Solution: Change to C90 construct.
2020-05-18 23:27:50 +02:00
88d68de95d
patch 8.2.0795: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revisions 748 - 754.
2020-05-18 21:51:01 +02:00
d098b824c1
patch 8.2.0794: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revisions 743 - 747.
2020-05-18 21:12:59 +02:00
1e1d2e89fa
patch 8.2.0793: MS-Windows: cannot build GUI with small features
...
Problem: MS-Windows: cannot build GUI with small features. (Michael Soyka)
Solution: Add #ifdef around use of windowsVersion. (Ken Takata)
2020-05-18 20:17:02 +02:00
c33b3216c8
patch 8.2.0792: build failure with small features
...
Problem: Build failure with small features.
Solution: Add #ifdef.
2020-05-18 20:12:09 +02:00
b5383b174b
patch 8.2.0791: a second popup window with terminal causes trouble
...
Problem: A second popup window with terminal causes trouble.
Solution: Disallow opening a second terminal-popup window. (closes #6101 ,
closes #6103 ) Avoid defaulting to an invalid line number.
2020-05-18 19:46:48 +02:00
843700875e
patch 8.2.0790: Vim9: list index not well tested
...
Problem: Vim9: list index not well tested.
Solution: Add a few more tests.
2020-05-18 14:20:36 +02:00
66b3101672
patch 8.2.0789: Vim9: expression testing lost coverage using constants
...
Problem: Vim9: expression testing lost coverage using constants.
Solution: Use a few variables instead of constants.
2020-05-18 13:38:02 +02:00
deb17451ed
patch 8.2.0788: memory leak in libvterm
...
Problem: Memory leak in libvterm.
Solution: free tmpbuffer.
2020-05-17 23:34:42 +02:00
a2e408f598
patch 8.2.0787: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revisions 741 - 742.
2020-05-17 23:00:52 +02:00
0b39ec3c7d
patch 8.2.0786: channel test is flaky on FreeBSD
...
Problem: Channel test is flaky on FreeBSD.
Solution: Set the sockiet TCP_NODELAY option. Adjust expected line count in
netbeans test. (Ozaki Kiichi, closes #6097 )
2020-05-17 22:33:53 +02:00
6fc3b59ee9
patch 8.2.0785: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revisions 734 - 740.
2020-05-17 22:27:55 +02:00
94d729cbe8
patch 8.2.0784: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revisions 730 - 733.
2020-05-17 21:50:16 +02:00
c4c9f7e43e
patch 8.2.0783: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revisions 728 - 729.
2020-05-17 20:52:45 +02:00
df1643a6a7
patch 8.2.0782: cannot build with Lua on MS-Windows
...
Problem: Cannot build with Lua on MS-Windows.
Solution: Add DLL symbol for luaL_Loadstring. (Ken Takata)
2020-05-17 18:53:27 +02:00
9309eb2f28
patch 8.2.0781: compiler warning for not using value in Lua
...
Problem: Compiler warning for not using value in Lua.
Solution: Add "(void)".
2020-05-17 16:53:56 +02:00
2d2970ea59
patch 8.2.0780: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revisions 724 - 726.
2020-05-17 16:29:47 +02:00
f4e16ae041
patch 8.2.0779: tmode_T not used everywhere
...
Problem: Tmode_T not used everywhere.
Solution: Also use tmode_T for settmode().
2020-05-17 16:10:11 +02:00
d4a5f40c0c
patch 8.2.0778: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revisions 720 - 723.
2020-05-17 16:04:44 +02:00
ed37d9b324
Update feature_request.md
2020-05-17 15:17:26 +02:00
79ea680e6b
patch 8.2.0777: terminal test fails
...
Problem: Terminal test fails.
Solution: Adjust character position for double-wide characters.
2020-05-17 15:09:27 +02:00
e178ba3654
patch 8.2.0776: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revision 719.
2020-05-17 14:59:47 +02:00
eb04f0893a
patch 8.2.0775: not easy to call a Vim function from Lua
...
Problem: Not easy to call a Vim function from Lua.
Solution: Add vim.call() and vim.fn(). (Prabir Shrestha, closes #6063 )
2020-05-17 14:32:35 +02:00
26e86445bf
patch 8.2.0774: t_TI and t_TE are output when using 'visualbell'
...
Problem: t_TI and t_TE are output when using 'visualbell'. (Dominique
Pelle)
Solution: Do not change the terminal mode for a short sleep. Do not output
t_TI and t_TE when switching to/from TMODE_SLEEP. Make tmode an
enum.
2020-05-17 14:06:16 +02:00
3b1f18f785
patch 8.2.0773: switching to raw mode every time ":" is used
...
Problem: Switching to raw mode every time ":" is used.
Solution: When executing a shell set cur_tmode to TMODE_UNKNOWN, so that the
next time TMODE_RAW is used it is set, but not every time.
2020-05-16 23:15:08 +02:00
df671b4629
patch 8.2.0772: Vim9: some variable initializations not tested
...
Problem: Vim9: some variable initializations not tested.
Solution: Add a few more tests
2020-05-16 22:33:33 +02:00
6f5b6dfb16
patch 8.2.0771: Vim9: cannot call a compiled closure from not compiled code
...
Problem: Vim9: cannot call a compiled closure from not compiled code.
Solution: Pass funcexe to call_user_func().
2020-05-16 21:20:12 +02:00
aa5fc4ec51
patch 8.2.0770: cannot map CTRL-B when using the GUI
...
Problem: Cannot map CTRL-B when using the GUI.
Solution: Reset the CTRL modifier when used. (closes #6092 )
2020-05-16 18:57:53 +02:00
129d6bf6b3
patch 8.2.0769: VimLeavePre not triggered when Vim is terminated
...
Problem: VimLeavePre not triggered when Vim is terminated.
Solution: Unblock autocommands.
2020-05-16 16:08:35 +02:00
e75ba268b3
patch 8.2.0768: Vim9: memory leak in script test
...
Problem: Vim9: memory leak in script test.
Solution: Clear typval before giving an error message.
2020-05-16 15:43:31 +02:00
645e3fe3fe
patch 8.2.0767: modifyOtherKeys active when using a shell command in autocmd
...
Problem: ModifyOtherKeys active when using a shell command in autocmd.
Solution: Output T_CTE when going to cooked mode. (closes 5617)
2020-05-16 15:05:04 +02:00
e882f7a73c
patch 8.2.0766: display error when using 'number' and 'breakindent'
...
Problem: Display error when using 'number' and 'breakindent'.
Solution: Adjust extra spaces in the first row. (Ken Takata, closes #6089 ,
closes #5986 )
2020-05-16 14:07:39 +02:00
fd615a3c90
patch 8.2.0765: In the GUI can't use all the modifiers.
...
Problem: In the GUI can't use all the modifiers. (Andri Möll)
Solution: Do not apply Alt/Meta early, do it later like with the terminal.
Avoid the Motif test from crashing.
2020-05-16 14:01:51 +02:00
a6e67e4f41
patch 8.2.0764: Vim9: assigning to option not fully tested
...
Problem: Vim9: assigning to option not fully tested.
Solution: Add more test cases. Allow using any type for assignment.
2020-05-15 23:36:40 +02:00
4457e1d98f
patch 8.2.0763: GUI test fails without the terminal feature
...
Problem: GUI test fails without the terminal feature.
Solution: Check the terminal feature is supported. (Ken Takata,
closes #6084 )
2020-05-15 22:46:44 +02:00
76cb683097
patch 8.2.0762: buffer is not considered modified after setting crypt key
...
Problem: Buffer is not considered modified after setting crypt key.
Solution: Set the modified flag. (Christian Brabandt, closes #6082 )
2020-05-15 22:30:38 +02:00
4aeeb63938
patch 8.2.0761: Vim9: instructions not tested
...
Problem: Vim9: instructions not tested
Solution: Use a variable instead of a constant.
2020-05-15 22:01:57 +02:00
4dac32caf3
patch 8.2.0760: Vim9: dict member errors not tested
...
Problem: Vim9: dict member errors not tested.
Solution: Delete unreachable error. Add tests.
2020-05-15 21:44:19 +02:00
270d0388d2
patch 8.2.0759: Vim9: missing changes for performance improvements
...
Problem: Vim9: missing changes for performance improvements
Solution: Use GA_GROW(). Don't call breakcheck so often.
2020-05-15 21:42:53 +02:00
cb7904016e
patch 8.2.0758: Vim9: no test for STORELIST and STOREDICT
...
Problem: Vim9: no test for STORELIST and STOREDICT.
Solution: Add a test. Make matches stricter.
2020-05-15 20:53:00 +02:00
4902ab16cb
patch 8.2.0757: Vim9: no test for MEMBER instruction
...
Problem: Vim9: no test for MEMBER instruction.
Solution: Add a test. Make matches stricter.
2020-05-15 19:21:31 +02:00
7e6f3fcc3c
patch 8.2.0756: MS-Windows: still a compiler warning
...
Problem: MS-Windows: still a compiler warning.
Solution: Move flag to another place in the Makefile. (Ken Takata,
closes #6083 )
2020-05-15 18:21:51 +02:00
227a69de1e
patch 8.2.0755: Vim9: No error when variable initializer is not a constant
...
Problem: Vim9: No error when variable initializer is not a constant.
Solution: Return FAIL when trying to get a variable value. Do not execute a
script when an error is deteted in the first or second phase.
2020-05-15 18:17:28 +02:00
a5d0077efb
patch 8.2.0754: Vim9: No test for forward declaration
...
Problem: Vim9: No test for forward declaration.
Solution: Add a test.
2020-05-14 23:20:55 +02:00
32e351179e
patch 8.2.0753: Vim9: expressions are evaluated in the discovery phase
...
Problem: Vim9: expressions are evaluated in the discovery phase.
Solution: Bail out if an expression is not a constant. Require a type for
declared constants.
2020-05-14 22:41:15 +02:00
e06a28f5e3
patch 8.2.0752: terminal in popup window test is a bit flaky
...
Problem: Terminal in popup window test is a bit flaky.
Solution: Wait for shell job status to be "run". Mark as flaky test.
2020-05-13 23:24:12 +02:00
2b72821924
Update version.c for missing patch number
2020-05-13 23:21:55 +02:00
7e9f351b2e
patch 8.2.0751: Vim9: performance can be improved
...
Problem: Vim9: performance can be improved.
Solution: Don't call break. Inline check for list materialize. Make an
inline version of ga_grow().
2020-05-13 22:44:22 +02:00
37d1b4f941
patch 8.2.0750: netbeans test is a bit flaky
...
Problem: Netbeans test is a bit flaky.
Solution: Allow for standard sign to be defined. Use WaitForAssert().
2020-05-13 17:16:04 +02:00
55ba4b844f
patch 8.2.0749: TERM signal test fails on FreeBSD
...
Problem: TERM signal test fails on FreeBSD.
Solution: Do not check the messages, the may appear anywhere. (Dominique
Pelle, closes #6075 )
2020-05-13 16:53:49 +02:00
ef6b979bfa
patch 8.2.0748: cannot get a list of all popups
...
Problem: Cannot get a list of all popups.
Solution: Add popup_list(). Use it in the test runner.
2020-05-13 16:34:15 +02:00
03a9f84817
patch 8.2.0747: cannot forcefully close all popups
...
Problem: Cannot forcefully close all popups.
Solution: Add the "force" argument to popup_clear(). Use it after running a
test. Put back the check for a popup when editing a file.
2020-05-13 13:40:16 +02:00
d502aa4c10
patch 8.2.0746: popup_clear() hangs when a popup can't be closed
...
Problem: popup_clear() hangs when a popup can't be closed.
Solution: Bail out when a popup can't be closed.
2020-05-13 01:04:32 +02:00
06f0853cb0
patch 8.2.0745: crash on exit when not all popups are closed
...
Problem: Crash on exit when not all popups are closed.
Solution: Close popups when freeing all memory. Disable checking for popup
when editing a file for now.
2020-05-12 23:45:16 +02:00
47e13953ff
Update runtime files
2020-05-12 22:49:12 +02:00
9e6ba8cbef
patch 8.2.0744: the name vim is not capatilized in a message
...
Problem: The name vim is not capatilized in a message.
Solution: Use "Vim" instead of "vim".
2020-05-12 22:21:26 +02:00
5aed0ccb96
patch 8.2.0743: can move to another buffer from a terminal in popup window
...
Problem: Can move to another buffer from a terminal in popup window.
Solution: Do not allow "gf" or editing a file. (closes #6072 )
2020-05-12 22:02:21 +02:00
48a687148c
patch 8.2.0742: handling of a TERM signal not tested
...
Problem: Handling of a TERM signal not tested.
Solution: Add a test for SIGTERM. (Dominique Pelle, closes #6055 )
2020-05-12 14:42:02 +02:00
c3fd98cf8e
patch 8.2.0741: Python tests fail because of changed message
...
Problem: Python tests fail because of changed message.
Solution: Adjust the expected messages (Dominique Pelle, closes #6066 )
2020-05-12 13:08:07 +02:00
86181df9f5
patch 8.2.0740: minor message mistakes
...
Problem: Minor message mistakes.
Solution: Change vim to Vim and other fixes.
2020-05-11 23:14:04 +02:00
b415168a98
patch 8.2.0739: incomplete profiling when exiting because of a dealy signal
...
Problem: Incomplete profiling when exiting because of a dealy signal.
Solution: Call __gcov_flush() if available.
2020-05-11 22:13:28 +02:00
91689ea8ae
patch 8.2.0738: mouse handling in a terminal window not well tested
...
Problem: Mouse handling in a terminal window not well tested.
Solution: Add tests. (Yegappan Lakshmanan, closes #6052 )
2020-05-11 22:04:53 +02:00
5c3128efe6
patch 8.2.0737: when shell doesn't support CTRL-Z Vim still handles it
...
Problem: When shell doesn't support CTRL-Z Vim still handles it.
Solution: Ignore the STOP signal if it was ignored on startup.
(Kurtis Rader, closes #5990 , closes #6058 )
2020-05-11 20:54:42 +02:00
aacc6afdb8
patch 8.2.0736: some files not recognized as pamenv
...
Problem: Some files not recognized as pamenv.
Solution: Add pam_inv.conf. (closes #6065 )
2020-05-11 19:46:36 +02:00
bc38f25c02
patch 8.2.0735: Vim9: using unitialized memory
...
Problem: Vim9: using unitialized memory.
Solution: Clear the arg_lvar field.
2020-05-10 23:20:06 +02:00
04816717df
patch 8.2.0734: Vim9: leaking memory when using :finish
...
Problem: Vim9: leaking memory when using :finish.
Solution: Do not check for next line in third pass.
2020-05-10 23:11:53 +02:00
cb2bdb1c6d
patch 8.2.0733: Vim9: assigning to dict or list argument does not work
...
Problem: Vim9: assigning to dict or list argument does not work.
Solution: Recognize an argument as assignment target.
2020-05-10 22:53:56 +02:00
f163bd5e41
patch 8.2.0732: Vim9: storing value in dict messes up stack
...
Problem: Vim9: storing value in dict messes up stack.
Solution: Correct item count of stack.
2020-05-10 21:47:43 +02:00
7e5bd91dc9
patch 8.2.0731: Vim9: parsing declarations continues after :finish
...
Problem: Vim9: parsing declarations continues after :finish.
Solution: Bail out when encountering :finish.
2020-05-10 21:20:29 +02:00
1cc2a94f80
patch 8.2.0730: Vim9: Assignment to dict member does not work
...
Problem: Vim9: Assignment to dict member does not work.
Solution: Parse dict assignment. Implement getting dict member.
2020-05-10 19:10:31 +02:00
89483d4043
patch 8.2.0729: Vim9: When reloading a script variables are not cleared
...
Problem: Vim9: When reloading a script variables are not cleared.
Solution: When sourcing a script again clear all script-local variables.
2020-05-10 15:24:44 +02:00
69212b11d1
patch 8.2.0728: messages about a deadly signal are not left aligned
...
Problem: Messages about a deadly signal are not left aligned.
Solution: Output a CR before the NL. (Dominique Pelle, #6055 )
2020-05-10 14:14:03 +02:00
d695ba732d
patch 8.2.0727: MS-Windows: new gcc compiler does not support scanf format
...
Problem: MS-Windows: new gcc compiler does not support scanf format.
Solution: Use "%ll" instead of "%I". (Ken Takata)
2020-05-10 13:42:43 +02:00
3b6a6eb7b4
patch 8.2.0726: Vim9: leaking memory when calling not compiled :def function
...
Problem: Vim9: leaking memory when calling not compiled :def function.
Solution: Check if function is compiled earlier.
2020-05-09 23:20:20 +02:00
09689a0284
patch 8.2.0725: Vim9: cannot call a function declared later in Vim9 script
...
Problem: Vim9: cannot call a function declared later in Vim9 script.
Solution: Make two passes through the script file.
2020-05-09 22:50:08 +02:00
396f3138ca
patch 8.2.0724: Vim9: appending to buffer/window/tab variable not tested
...
Problem: Vim9: appending to buffer/window/tab variable not tested
Solution: Add a test.
2020-05-09 18:44:56 +02:00
1c74721233
patch 8.2.0723: Vim9: nested constant expression not evaluated compile time
...
Problem: Vim9: nested constant expression not evaluated compile time.
Solution: Use compile_expr1() for parenthesis.
2020-05-09 18:28:34 +02:00
7f14155f42
patch 8.2.0722: Vim9: not handling constant expression for elseif
...
Problem: Vim9: not handling constant expression for elseif.
Solution: Use postponed constants. Delete the code for evaluating a
constant expression.
2020-05-09 17:35:53 +02:00
497f76bfbf
patch 8.2.0721: Vim9: leaking memory when skipping
...
Problem: Vim9: leaking memory when skipping.
Solution: Disable skipping in generate_ppconst().
2020-05-09 16:44:22 +02:00
b1062eb23e
patch 8.2.0720: occasional exit when encountering an X error
...
Problem: Occasional exit when encountering an X error. (Manfred Lotz)
Solution: On an X error do not exit, do preserve files.
2020-05-09 16:11:33 +02:00
a5565e4189
patch 8.2.0719: Vim9: more expressions can be evaluated at compile time
...
Problem: Vim9: more expressions can be evaluated at compile time
Solution: Recognize has('name').
2020-05-09 15:44:01 +02:00
7d3664df90
patch 8.2.0718: gcc warning for returning pointer to local variable
...
Problem: Gcc warning for returning pointer to local variable. (John
Marriott)
Solution: Return another pointer.
2020-05-09 13:06:24 +02:00
7d131b0715
patch 8.2.0717: Vim9: postponed constant expressions does not scale
...
Problem: Vim9: postponed constant expressions does not scale.
Solution: Add a structure to pass around postponed constants.
2020-05-08 19:10:34 +02:00
5c2fe64443
patch 8.2.0716: Vim9: another memory leak
...
Problem: Vim9: another memory leak.
Solution: Clear typval when failing.
2020-05-07 23:20:21 +02:00
cca34aa4be
patch 8.2.0715: Vim9: leaking memory
...
Problem: Vim9: leaking memory.
Solution: Free strings after concatenating them.
2020-05-07 22:23:58 +02:00
f0eefce93b
patch 8.2.0714: Vim9: handling constant expression does not scale
...
Problem: Vim9: handling constant expression does not scale.
Solution: Use another solution, passint typval_T.
2020-05-07 22:19:01 +02:00
2cfb4a2a72
Update runtime files
2020-05-07 18:56:00 +02:00
6115481053
patch 8.2.0713: the pam_environment file is not recognized
...
Problem: The pam_environment file is not recognized.
Solution: Add a filetype pattern for pamenv. (closes #6051 )
2020-05-07 18:51:27 +02:00
0ff5dedf0f
patch 8.2.0712: various code not fully tested
...
Problem: Various code not fully tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6049 )
2020-05-07 18:43:44 +02:00
b2d0e51366
patch 8.2.0711: temp directory might be cleared
...
Problem: With a long running Vim the temp directory might be cleared on
some systems.
Solution: Lock the temp directory. (closes #6044 )
2020-05-07 18:37:03 +02:00
4a070cc82e
patch 8.2.0710: Netbeans test sometimes fails
...
Problem: Netbeans test sometimes fails.
Solution: Mark any test using an external command as flaky.
2020-05-07 18:16:35 +02:00
ea554ca4fa
patch 8.2.0709: MS-Windows: compiler warning for int vs size_t
...
Problem: MS-Windows: compiler warning for int vs size_t.
Solution: Add type cast. (Mike Williams)
2020-05-07 17:46:59 +02:00
61a8981699
patch 8.2.0708: Vim9: constant expressions are not simplified
...
Problem: Vim9: constant expressions are not simplified.
Solution: Simplify string concatenation.
2020-05-07 16:58:17 +02:00
f391586f3f
patch 8.2.0707: Vim9 function test fails
...
Problem: Vim9 function test fails.
Solution: Adjust expected error code.
2020-05-07 14:37:19 +02:00
8a1c101315
patch 8.2.0706: Vim9: using assert_fails() causes function to finish
...
Problem: Vim9: using assert_fails() causes function to finish.
Solution: Check did_emsg instead of called_emsg.
2020-05-07 14:07:25 +02:00
3657686a0e
patch 8.2.0705: indent tests don't run on CI for FreeBSD
...
Problem: Indent tests don't run on CI for FreeBSD.
Solution: Set modeline. (Ozaki Kiichi, closes #6048 )
2020-05-06 22:25:05 +02:00
f821ddaa0c
patch 8.2.0704: Vim9: memory leak in disassemble test
...
Problem: Vim9: memory leak in disassemble test.
Solution: Decrement refcount when creating funccal.
2020-05-06 22:18:17 +02:00
b68b346e6d
patch 8.2.0703: Vim9: closure cannot store value in outer context
...
Problem: Vim9: closure cannot store value in outer context.
Solution: Make storing value in outer context work. Make :disassemble
accept a function reference.
2020-05-06 21:06:30 +02:00
54ed0dff29
patch 8.2.0702: running channel tests may leave running process behind
...
Problem: Running channel tests may leave running process behind.
Solution: Make Python client exit when running into EOF. (Kurtis Rader,
part of #6046 )
2020-05-06 19:38:30 +02:00
2a1381c305
patch 8.2.0701: Vim9 test fails without job feature
...
Problem: Vim9 test fails without job feature.
Solution: Add feature check.
2020-05-05 23:32:58 +02:00
40ee466c36
patch 8.2.0700: Vim9: converting error message to exception not tested
...
Problem: Vim9: converting error message to exception not tested.
Solution: Test exception from error. Do not continue after :echoerr.
2020-05-05 22:08:26 +02:00
015f4267f4
patch 8.2.0699: Vim9: not all errors tested
...
Problem: Vim9: not all errors tested.
Solution: Add test for deleted function. Bail out on first error.
2020-05-05 21:25:22 +02:00
f9ab52e155
patch 8.2.0698: insert mode completion not fully tested
...
Problem: Insert mode completion not fully tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6041 )
2020-05-05 19:57:18 +02:00
221fcc741a
patch 8.2.0697: Vim9: memory leak when using nested function
...
Problem: Vim9: memory leak when using nested function.
Solution: Unreference function when deleting instructions. Adjust reference
count for local variables.
2020-05-05 19:46:20 +02:00
0e65d3de0a
patch 8.2.0696: Vim9: nested function does not work properly
...
Problem: Vim9: nested function does not work properly
Solution: Create a function reference. Check argument count.
2020-05-05 17:53:16 +02:00
04b1269783
patch 8.2.0695: Vim9: cannot define a function inside a function
...
Problem: Vim9: cannot define a function inside a function.
Solution: Initial support for :def inside :def.
2020-05-04 23:24:44 +02:00
80a8d3889b
patch 8.2.0694: Haiku: channel and terminal do not work
...
Problem: Haiku: channel and terminal do not work.
Solution: Close files when the job has finished. (Ozaki Kiichi,
closes #6039 )
2020-05-03 22:57:32 +02:00
2fd4cd755c
patch 8.2.0693: closure using argument not tested
...
Problem: Closure using argument not tested.
Solution: Add a test, make it work.
2020-05-03 22:30:49 +02:00
4515bcdec8
patch 8.2.0692: startup test fails on MS-Windows
...
Problem: Startup test fails on MS-Windows.
Solution: Allow for any path.
2020-05-03 18:21:04 +02:00
7779ee30d9
patch 8.2.0691: startup test fails
...
Problem: Startup test fails.
Solution: Adjust expected output from -V2 argument.
2020-05-03 17:55:32 +02:00
5125874951
patch 8.2.0690: line number of option set by modeline is wrong
...
Problem: Line number of option set by modeline is wrong.
Solution: Do not double the line number. (Ozaki Kiichi, closes #6035 )
2020-05-03 17:19:33 +02:00
a38b2b737e
patch 8.2.0689: when using getaddrinfo() the error message is unclear
...
Problem: When using getaddrinfo() the error message is unclear.
Solution: Use gai_strerror() to get the message. (Ozaki Kiichi,
closes #6034 )
2020-05-03 17:03:29 +02:00
647a530b33
patch 8.2.0688: output clobbered if setting 'verbose' to see shell commands
...
Problem: Output clobbered if setting 'verbose' to see shell commands.
Solution: Only output "Searching for" when 'verbose' is 11 or higher.
2020-05-03 17:01:24 +02:00
41d4299f26
patch 8.2.0687: some tests do not work on FreeBSD
...
Problem: Some tests do not work on FreeBSD.
Solution: Enable modeline. Use WaitFor() in more cases. (Ozaki Kiichi,
closes #6036 )
2020-05-03 16:29:50 +02:00
2eaeaf3c31
patch 8.2.0686: formatoptions not sufficiently tested
...
Problem: Formatoptions not sufficiently tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #6031 )
2020-05-03 16:04:43 +02:00
3df02f507f
patch 8.2.0685: Build failure
...
Problem: Build failure.
Solution: Include missing changes.
2020-05-03 15:47:33 +02:00
f7779c63d4
patch 8.2.0684: Vim9: memory leak when using lambda
...
Problem: Vim9: memory leak when using lambda.
Solution: Move the funccal context to the partial. Free the function when
exiting.
2020-05-03 15:38:16 +02:00
5adc55cb74
patch 8.2.0683: Vim9: parsing type does not always work
...
Problem: Vim9: parsing type does not always work.
Solution: Handle func type without return value. Test more closures.
Fix type check offset. Fix garbage collection.
2020-05-02 23:12:58 +02:00
1c0d44f8ef
patch 8.2.0682: Vim9: parsing function argument type can get stuck
...
Problem: Vim9: parsing function argument type can get stuck.
Solution: Bail out when not making progress.
2020-05-02 19:04:58 +02:00
0b6849e9e3
patch 8.2.0681: pattern for 'hlsearch' highlighting may leak
...
Problem: Pattern for 'hlsearch' highlighting may leak. (Dominique Pelle)
Solution: Call end_search_hl() to make sure the previous pattern is freed.
(closes #6028 )
2020-05-02 18:33:25 +02:00
01f731e97c
patch 8.2.0680: PTYGROUP and PTYMODE are unused
...
Problem: PTYGROUP and PTYMODE are unused.
Solution: Remove from autoconf. (closes #6024 )
2020-05-02 18:14:37 +02:00
bf67ea1af0
patch 8.2.0679: Vim9: incomplete support for closures
...
Problem: Vim9: incomplete support for closures.
Solution: At the end of a function copy arguments and local variables if
they are still used by a referenced closure.
2020-05-02 17:52:42 +02:00
d58a662f44
patch 8.2.0678: rare crash for popup menu
...
Problem: Rare crash for popup menu.
Solution: Check for NULL pointer. (Nobuhiro Takasaki, closes #6027 )
2020-05-02 14:52:57 +02:00
c8cd2b34d1
patch 8.2.0677: Vim9: no support for closures
...
Problem: Vim9: no support for closures.
Solution: Find variables in the outer function scope, so long as the scope
exists.
2020-05-01 19:29:08 +02:00
37addecc42
patch 8.2.0676: pattern in list of distributed files does not match
...
Problem: Pattern in list of distributed files does not match.
Solution: Drop "testdir/test_[a-z]*.ok". Add CI sed files.
2020-05-01 16:08:11 +02:00
7ceefb35c8
Update runtime files
2020-05-01 16:07:38 +02:00
b84a381c75
patch 8.2.0675: Vim9: no support for closures
...
Problem: Vim9: no support for closures.
Solution: Do not re-use stack entries.
2020-05-01 15:44:29 +02:00
11abd09521
patch 8.2.0674: some source files are too big
...
Problem: Some source files are too big.
Solution: Move text formatting functions to a new file. (Yegappan
Lakshmanan, closes #6021 )
2020-05-01 14:26:37 +02:00
4cfde1d273
patch 8.2.0673: cannot build Haiku in shadow directory
...
Problem: Cannot build Haiku in shadow directory.
Solution: Add symlink. (Ozaki Kiichi, closes #6023 )
2020-05-01 14:14:07 +02:00
6ab0953fef
patch 8.2.0672: heredoc in scripts does not accept lower case marker
...
Problem: Heredoc in scripts does not accept lower case marker.
Solution: Allow lower case only in non-Vim scripts. (Ken Takata,
closes #6019 )
2020-05-01 14:10:13 +02:00
9e175141f3
patch 8.2.0671: Haiku: compiler warnings
...
Problem: Haiku: compiler warnings.
Solution: Avoid the warnings. Drop display_errors() copy. (Emir Sari,
closes #6018 )
2020-04-30 22:51:01 +02:00
6adb9ea0a6
patch 8.2.0670: cannot change window when evaluating 'completefunc'
...
Problem: Cannot change window when evaluating 'completefunc'.
Solution: Make a difference between not changing text or buffers and also
not changing window.
2020-04-30 22:31:18 +02:00
4e5534fab7
patch 8.2.0669: MS-Windows: display in VTP is a bit slow
...
Problem: MS-Windows: display in VTP is a bit slow.
Solution: Optimize the code. (Nobuhiro Takasaki, closes #6014 )
2020-04-30 20:59:57 +02:00
7f6f56f43c
patch 8.2.0668: compiler warning for int/size_t usage
...
Problem: Compiler warning for int/size_t usage.
Solution: Change "int" to "size_t". (Mike Williams)
2020-04-30 20:21:43 +02:00
2c5c1638a9
patch 8.2.0667: cannot install Haiku version from source
...
Problem: Cannot install Haiku version from source.
Solution: Update Makefile and rdef file. (Emir Sari, closes #6013 )
2020-04-30 19:54:38 +02:00
88e6cc2539
patch 8.2.0666: Ruby test fails on MS-Windows
...
Problem: Ruby test fails on MS-Windows.
Solution: Remove the "maintainer" line. (Ken Takata, closes #6015 )
2020-04-30 19:19:29 +02:00
a161cb5ddd
patch 8.2.0665: wrongly assuming Python executable is called "python"
...
Problem: Wrongly assuming Python executable is called "python".
Solution: Use detected python command. (Ken Takata, closes #6016 )
Also use CheckFunction if possible.
2020-04-30 19:09:35 +02:00
8dbafd0790
patch 8.2.0664: included undesired changes in Makefile
...
Problem: Included undesired changes in Makefile.
Solution: Revert the changes.
2020-04-29 23:11:32 +02:00
512fe833c3
patch 8.2.0663: not all systemd temp files are recognized
...
Problem: Not all systemd temp files are recognized.
Solution: Add two more patterns. (Jamie Macdonald, closes #6003 )
2020-04-29 23:02:40 +02:00
dfc33a665d
patch 8.2.0662: cannot use input() in a channel callback
...
Problem: Cannot use input() in a channel callback.
Solution: Reset vgetc_busy. (closes #6010 )
2020-04-29 22:30:13 +02:00
339d60c89b
patch 8.2.0661: eval test is still old style
...
Problem: Eval test is still old style.
Solution: Change into new style tests. (Yegappan Lakshmanan, closes #6009 )
2020-04-29 22:01:21 +02:00
ed8ce057b7
patch 8.2.0660: the search.c file is a bit big
...
Problem: The search.c file is a bit big.
Solution: Split off the text object code to a separate file. (Yegappan
Lakshmanan, closes #6007 )
2020-04-29 21:04:15 +02:00
939b5db480
patch 8.2.0659: Vim9: no test for equal func type
...
Problem: Vim9: no test for equal func type.
Solution: Add a test. Improve type check.
2020-04-28 22:49:08 +02:00
affc8fd2cd
patch 8.2.0658: HP-UX build fails when setenv() is not defined
...
Problem: HP-UX build fails when setenv() is not defined.
Solution: Change "colors" to "t_colors". (John Marriott)
2020-04-28 21:58:29 +02:00
a0a9f43ab2
patch 8.2.0657: Vim9: no check if called variable is a FuncRef
...
Problem: Vim9: no check if called variable is a FuncRef.
Solution: Add a type check.
2020-04-28 21:29:34 +02:00
7ed8f59ae0
patch 8.2.0656: MS-Windows: redrawing right screen edge may not be needed
...
Problem: MS-Windows: redrawing right screen edge may not be needed.
Solution: Check the build version. (Nobuhiro Takasaki, closes #6002 )
2020-04-28 20:44:42 +02:00
224a5f17c6
patch 8.2.0655: search code not sufficiently tested
...
Problem: Search code not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5999 )
2020-04-28 20:29:07 +02:00
a14bb7e113
patch 8.2.0654: building with Python fails
...
Problem: Building with Python fails.
Solution: Add missing argument.
2020-04-28 00:02:41 +02:00
03afdcf1f4
patch 8.2.0653: using uninitialized pointer
...
Problem: using uninitialized pointer.
Solution: Move assignment up. (John Marriott)
2020-04-27 23:39:30 +02:00
909ed7e902
patch 8.2.0652: compiler warning for char conversion
...
Problem: Compiler warning for char conversion.
Solution: Use unsigned char buffer.
2020-04-27 23:16:41 +02:00
57700ee4ac
patch 8.2.0651: old style benchmark test still in list of distributed files
...
Problem: Old style benchmark test still in list of distributed files.
Solution: Remove the files from the list.
2020-04-27 22:51:33 +02:00
4c17ad94ec
patch 8.2.0650: Vim9: script function can be deleted
...
Problem: Vim9: script function can be deleted.
Solution: Disallow deleting script function. Delete functions when sourcing
a script again.
2020-04-27 22:47:51 +02:00
db93495d27
patch 8.2.0649: undo problem whn an InsertLeave autocommand resets undo
...
Problem: Undo problem whn an InsertLeave autocommand resets undo. (Kutsan
Kaplan)
Solution: Do not create a new undo block when leaving Insert mode.
2020-04-27 20:18:31 +02:00
0e71704b77
patch 8.2.0648: semicolon search does not work in first line
...
Problem: Semicolon search does not work in first line.
Solution: Allow the cursor to be in line zero. (Christian Brabandt,
closes #5996 )
2020-04-27 19:29:01 +02:00
bc970da807
patch 8.2.0647: MS-Windows: repeat count for events was not used
...
Problem: MS-Windows: repeat count for events was not used.
Solution: Check the repeat count. (Nobuhiro Takasaki, closes #5989 )
2020-04-26 19:00:07 +02:00
759d81549c
patch 8.2.0646: t_Co uses the value of $COLORS in the GUI
...
Problem: t_Co uses the value of $COLORS in the GUI. (Masato Nishihata)
Solution: Ignore $COLORS for the GUI. (closes #5992 )
2020-04-26 16:52:49 +02:00
07b761a012
patch 8.2.0645: MS-Windows terminal: CTRL-C does not get to child job
...
Problem: MS-Windows terminal: CTRL-C does not get to child job.
Solution: Remove CREATE_NEW_PROCESS_GROUP from CreateProcessW(). (Nobuhiro
Takasaki, closes #5987 )
2020-04-26 16:06:01 +02:00
99fa721944
patch 8.2.0644: insufficient testing for invalid function arguments
...
Problem: Insufficient testing for invalid function arguments.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5988 )
2020-04-26 15:59:55 +02:00
e297802d6d
patch 8.2.0643: terminal uses brown instead of dark yellow
...
Problem: Terminal uses brown instead of dark yellow. (Romain Lafourcade)
Solution: Use color index 3 instead of 130. (closes #5993 )
2020-04-26 14:47:44 +02:00
7d41aa8874
patch 8.2.0642: Vim9: using invalid index
...
Problem: Vim9: using invalid index.
Solution: Check index for being valid. Fix memory leak.
2020-04-26 14:29:56 +02:00
6378c4fef3
patch 8.2.0641: Vim9: not expanded in :hardcopy and syn-include
...
Problem: Vim9: not expanded in :hardcopy and "syntax include".
Solution: Add the EX_EXPAND flag. Expend "syntax include".
2020-04-26 13:50:41 +02:00
cfe435d7fe
patch 8.2.0640: Vim9: expanding does not work
...
Problem: Vim9: expanding does not work.
Solution: Find wildcards in not compiled commands. Reorganize test files.
2020-04-25 20:02:55 +02:00
49b2fb36ca
patch 8.2.0639: MS-Windows: messages test still fails
...
Problem: MS-Windows: messages test still fails.
Solution: Filter out the maintainer message.
2020-04-25 17:13:56 +02:00
47a1a8baf9
patch 8.2.0638: MS-Windows: messages test fails
...
Problem: MS-Windows: messages test fails.
Solution: Clear environment variables.
2020-04-25 16:41:58 +02:00
333015a46e
patch 8.2.0637: incsearch highlighting does not work for ":sort!"
...
Problem: Incsearch highlighting does not work for ":sort!".
Solution: Skip over the exclamation point. (closes #5983 )
2020-04-25 15:54:16 +02:00
41f6918bf4
patch 8.2.0636: :messages does not show the maintainer when $LANG is unset
...
Problem: :messages does not show the maintainer when $LANG is unset.
Solution: Call get_mess_lang() if available. (closes #5978 )
2020-04-25 15:45:37 +02:00
e93c968f52
patch 8.2.0635: when using 256 colors DarkYellow does not show expected color
...
Problem: When using 256 colors DarkYellow does not show expected color.
Solution: Use color 3 instead of 130. (Romain Lafourcade, closes #5985 )
2020-04-25 15:35:32 +02:00
92b83ccfda
patch 8.2.0634: crash with null partial and blob
...
Problem: Crash with null partial and blob.
Solution: Check for NULL pointer. Add more tests. (Yegappan Lakshmanan,
closes #5984 )
2020-04-25 15:24:44 +02:00
9d8d0b5c64
patch 8.2.0633: crash when using null partial in filter()
...
Problem: Crash when using null partial in filter().
Solution: Fix crash. Add more tests. (Yegappan Lakshmanan, closes #5976 )
2020-04-24 22:47:31 +02:00
92c461ef1b
patch 8.2.0632: crash when using Haiku
...
Problem: Crash when using Haiku.
Solution: Lock the screen. (closes #5975 , closes #5973 )
2020-04-24 22:19:00 +02:00
b52575f9cf
patch 8.2.0631: Haiku file formatted with wrong tabstop
...
Problem: Haiku file formatted with wrong tabstop.
Solution: Use normal tabstop. Fix white space.
2020-04-24 22:16:13 +02:00
7714d7b31f
patch 8.2.0630: "make tags" does not cover Haiku GUI file
...
Problem: "make tags" does not cover Haiku GUI file.
Solution: Add *.cc files.
2020-04-24 21:21:06 +02:00
65d032c779
patch 8.2.0629: setting a boolean option to v:false does not work
...
Problem: Setting a boolean option to v:false does not work.
Solution: Do not use the string representation of the value. (Christian
Brabandt, closes #5974 )
2020-04-24 20:57:01 +02:00
e71ebb46a2
patch 8.2.0628: error in menu translations
...
Problem: Error in menu translations.
Solution: Insert a backslash before a space in one more file. (Shun Bai,
Emir Sari)
2020-04-23 23:54:04 +02:00
b8ce6b0005
patch 8.2.0627: Vim9: error message does not work
...
Problem: Vim9: error message does not work. (Yegappan Lakshmanan)
Solution: Swap lines.
2020-04-23 22:23:14 +02:00
f93c7fea08
patch 8.2.0626: Vim9: wrong syntax of function in Vim9 script
...
Problem: Vim9: wrong syntax of function in Vim9 script.
Solution: Give error for missing space. Implement :echomsg and :echoerr.
(closes #5670 )
2020-04-23 22:16:53 +02:00
1df8b3fb04
patch 8.2.0625: Vim9: confusing error when calling unknown function
...
Problem: Vim9: confusing error when calling unknown function.
Solution: Give error while compiling.
2020-04-23 18:13:23 +02:00
a72cfb80cd
patch 8.2.0624: Vim9: no check for space before #comment
...
Problem: Vim9: no check for space before #comment.
Solution: Add space checks. Fix :throw with double quoted string.
2020-04-23 17:07:30 +02:00
f7b398c6a9
patch 8.2.0623: typo in test comment
...
Problem: Typo in test comment. (Christ van Willegen)
Solution: Avoid mixing up a data structure with a body part.
2020-04-23 15:46:35 +02:00
beae4084fd
patch 8.2.0622: Haiku: GUI does not compile
...
Problem: Haiku: GUI does not compile.
Solution: Various fixes. (Emir Sari, closes #5961 )
2020-04-23 15:41:49 +02:00
95a467e7ee
patch 8.2.0621: after running tests asan files may remain
...
Problem: After running tests asan files may remain.
Solution: Clean up asan files with "make testclean".
2020-04-23 14:41:46 +02:00
0d6fe631f7
patch 8.2.0620: error in menu translations
...
Problem: Error in menu translations.
Solution: Insert a backslash before a space.
2020-04-23 13:58:12 +02:00
ea04a6e8ba
patch 8.2.0619: null dict is not handled like an empty dict
...
Problem: Null dict is not handled like an empty dict.
Solution: Fix the code and add tests. (Yegappan Lakshmanan, closes #5968 )
2020-04-23 13:38:02 +02:00
db950e4c03
patch 8.2.0618: echoing a null list results in no output
...
Problem: Echoing a null list results in no output. (Yegappan Lakshmanan)
Solution: Return "[]" instead of NULL in echo_string_core().
2020-04-22 19:13:19 +02:00
d2662ad2de
patch 8.2.0617: new error check triggers in Swedish menu
...
Problem: New error check triggers in Swedish menu.
Solution: Insert backslash. (Mats Tegner, closes #5966 )
2020-04-22 14:30:31 +02:00
e770598f31
patch 8.2.0616: build error when disabling the diff feature
...
Problem: Build error when disabling the diff feature.
Solution: Move parenthesis outside of #ifdef. (Tom Ryder)
2020-04-21 22:23:15 +02:00
ad48e6c159
patch 8.2.0615: regexp benchmark stest is old style
...
Problem: Regexp benchmark stest is old style.
Solution: Make it a new style test. Fix using a NULL list. Add more tests.
(Yegappan Lakshmanan, closes #5963 )
2020-04-21 22:19:45 +02:00
ff06f283e3
patch 8.2.0614: get ml_get error when deleting a line in 'completefunc'
...
Problem: Get ml_get error when deleting a line in 'completefunc'. (Yegappan
Lakshmanan)
Solution: Lock the text while evaluating 'completefunc'.
2020-04-21 22:01:14 +02:00
1966c24881
patch 8.2.0613: Vim9: no check for space before #comment
...
Problem: Vim9: no check for space before #comment.
Solution: Add space checks.
2020-04-20 22:42:32 +02:00
2c7f8c574f
Update runtime files
2020-04-20 19:52:53 +02:00
2c5ed4e330
patch 8.2.0612: Vim9: no check for space before #comment
...
Problem: Vim9: no check for space before #comment.
Solution: Add space checks.
2020-04-20 19:42:10 +02:00
faac410409
patch 8.2.0611: Vim9: no check for space before #comment
...
Problem: Vim9: no check for space before #comment.
Solution: Add space checks.
2020-04-20 17:46:14 +02:00
08f4157c5c
patch 8.2.0610: some tests are still old style
...
Problem: Some tests are still old style.
Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5957 )
2020-04-20 16:50:00 +02:00
ad4dc83389
patch 8.2.0609: configure does not detect moonjit correctly
...
Problem: Configure does not detect moonjit correctly.
Solution: Double the brackets. (Ozaki Kiichi)
2020-04-20 16:21:53 +02:00
4da6df40f5
patch 8.2.0608: warning from clang when building message test
...
Problem: Warning from clang when building message test.
Solution: Use a void pointer. (Dominique Pelle, closes #5958 )
2020-04-20 16:12:09 +02:00
2bb76accc6
patch 8.2.0607: gcc warns for using uninitialized variable
...
Problem: Gcc warns for using uninitialized variable. (John Marriott)
Solution: Set name_end also for environment variables.
2020-04-19 22:57:44 +02:00
fbf2122cf9
patch 8.2.0606: several syntax HL errors not checked
...
Problem: Several syntax HL errors not checked.
Solution: Add tests. (Yegappan Lakshmanan, closes #5954 )
2020-04-19 18:31:25 +02:00
7bdaea6e0d
patch 8.2.0605: Vim9: cannot unlet an environment variable
...
Problem: Vim9: cannot unlet an environment variable.
Solution: Implement unlet for $VAR.
2020-04-19 18:27:26 +02:00
eb58a24658
patch 8.2.0604: :startinsert in a terminal window used later
...
Problem: :startinsert in a terminal window used later.
Solution: Ignore :startinsert in a terminal window. (closes #5952 )
2020-04-19 18:13:19 +02:00
f49e564082
patch 8.2.0603: configure does not detect moonjit
...
Problem: Configure does not detect moonjit.
Solution: Add check for moonjit. (Shlomi Fish, closes #5947 )
2020-04-19 17:46:53 +02:00
7e0868efcf
patch 8.2.0602: :unlet $VAR does not work properly
...
Problem: :unlet $VAR does not work properly.
Solution: Make ":lockvar $VAR" fail. Check the "skip" flag.
2020-04-19 17:24:53 +02:00
d72c1bf0a6
patch 8.2.0601: Vim9: :unlet is not compiled
...
Problem: Vim9: :unlet is not compiled.
Solution: Implement :unlet instruction and check for errors.
2020-04-19 16:28:59 +02:00
d3aac2917d
patch 8.2.0600: Vim9: cannot read or write w:, t: and b: variables
...
Problem: Vim9: cannot read or write w:, t: and b: variables.
Solution: Implement load and store for w:, t: and b: variables.
(closes #5950 )
2020-04-19 14:32:17 +02:00
173d841e86
patch 8.2.0599: Netbeans interface insufficiently tested
...
Problem: Netbeans interface insufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5921 )
2020-04-19 14:02:26 +02:00
61fbb3371e
patch 8.2.0598: test_eval_stuff fails in normal terminal
...
Problem: Test_eval_stuff fails in normal terminal.
Solution: Close the new window.
2020-04-18 23:20:37 +02:00
90455cfa87
patch 8.2.0597: test_eval is old style
...
Problem: Test_eval is old style.
Solution: Change some tests to a new style test.
2020-04-18 21:56:38 +02:00
ec9749f33d
patch 8.2.0596: crash in test49
...
Problem: Crash in test49.
Solution: Check the right pointer.
2020-04-18 20:51:40 +02:00
a26b9700d7
patch 8.2.0595: Vim9: not all commands using ends_excmd() tested
...
Problem: Vim9: not all commands using ends_excmd() tested.
Solution: Find # comment after regular commands. Add more tests. Report
error for where it was caused.
2020-04-18 19:53:28 +02:00
b6fb0516ec
patch 8.2.0594: MS-Windows: cannot build with WINVER set to 0x0501
...
Problem: MS-Windows: cannot build with WINVER set to 0x0501.
Solution: Only use inet_ntop() when available. (Ozaki Kiichi, closes #5946 )
2020-04-18 18:24:18 +02:00
a494f56f88
patch 8.2.0593: finding a user command is not optimal
...
Problem: Finding a user command is not optimal.
Solution: Start further down in the list of commands.
2020-04-18 17:45:38 +02:00
2695de63e3
patch 8.2.0592: MS-Windows with VTP: cursor is not made invisible
...
Problem: MS-Windows with VTP: cursor is not made invisible.
Solution: Output the code to make the cursor visible or invisible. (Nobuhiro
Takasaki, closes #5941 )
2020-04-17 21:13:01 +02:00
aa82259fef
patch 8.2.0591: MS-Windows: should always support IPv6
...
Problem: MS-Windows: should always support IPv6
Solution: Add build flag. (Ozaki Kiichi, closes #5944 )
2020-04-17 20:48:57 +02:00
aa0489e12d
patch 8.2.0590: no 'backspace' value allows ignoring the insertion point
...
Problem: No 'backspace' value allows ignoring the insertion point.
Solution: Add the "nostop" and 3 values. (Christian Brabandt, closes #5940 )
2020-04-17 19:41:21 +02:00
0fc1288aef
patch 8.2.0589: .bsd file type not recognized
...
Problem: .bsd file type not recognized.
Solution: Recognize .bsd as BSDL. (Daniel Kho, closes #5945 )
2020-04-17 19:23:06 +02:00
314ca7cbb4
patch 8.2.0588: Putty does not use "sgr" 'ttymouse' by default
...
Problem: Putty does not use "sgr" 'ttymouse' by default.
Solution: Make "sgr" the default for Putty. (Christian Brabandt,
closes #5942 )
2020-04-17 16:40:31 +02:00
21cfe500f3
patch 8.2.0587: compiler warning for unused variable
...
Problem: Compiler warning for unused variable.
Solution: Add UNUSED.
2020-04-16 23:01:50 +02:00
4a8d9f2ed8
patch 8.2.0586: Vim9: # comment not sufficiently tested
...
Problem: Vim9: # comment not sufficiently tested
Solution: Check for preceding white space.
2020-04-16 22:54:32 +02:00
7a09224583
patch 8.2.0585: Vim9: # comment not recognized after :vim9script
...
Problem: Vim9: # comment not recognized after :vim9script.
Solution: Check script type. Make comment after ":echo" work. And in
several other places.
2020-04-16 22:10:49 +02:00
c5f33db888
patch 8.2.0584: viminfo file uses obsolete function file_readable()
...
Problem: Viminfo file uses obsolete function file_readable().
Solution: Use filereadable(). (closes #5934 )
2020-04-16 21:04:41 +02:00
cb711abf0f
patch 8.2.0583: Vim9: # comment not recognized in :def function
...
Problem: Vim9: # comment not recognized in :def function.
Solution: Recognize and skip # comment.
2020-04-16 13:00:29 +02:00
b4a549fb16
patch 8.2.0582: color ramp test does not show text colors
...
Problem: Color ramp test does not show text colors.
Solution: Add a row of 16 text colors and 16 bold text colors.
2020-04-15 21:44:11 +02:00
81ccbf199f
patch 8.2.0581: Win32 console: the cursor position is always top-left
...
Problem: Win32 console: the cursor position is always top-left.
Solution: Revert the patch for restoring screen.
2020-04-15 21:05:30 +02:00
edd327cc07
patch 8.2.0580: window size wrong if 'ea' is off and 'splitright' is on
...
Problem: Window size wrong if 'ea' is off and 'splitright' is on and
splitting then closing a window.
Solution: Put abandoned window space in the right place. (Mark Waggoner)
2020-04-15 20:05:47 +02:00
4d5d0dfe94
patch 8.2.0579: Coverity warns for unused value
...
Problem: Coverity warns for unused value.
Solution: Change order and use "else if".
2020-04-14 20:56:31 +02:00
6c2b7b8055
patch 8.2.0578: heredoc for interfaces does not support "trim"
...
Problem: Heredoc for interfaces does not support "trim".
Solution: Update the script heredoc support to be same as the :let command.
(Yegappan Lakshmanan, closes #5916 )
2020-04-14 20:15:49 +02:00
7a1637f4c0
patch 8.2.0577: not all modifiers supported for :options
...
Problem: Not all modifiers supported for :options.
Solution: Use all cmdmod.split flags. (closes #4401 )
2020-04-13 21:16:21 +02:00
067297e16a
patch 8.2.0576: some errors are not covered by tests
...
Problem: Some errors are not covered by tests.
Solution: Add a few more tests. (Dominique Pelle, closes #5920 )
2020-04-13 19:55:50 +02:00
e3242346cf
patch 8.2.0575: :digraph! not tested
...
Problem: :digraph! not tested.
Solution: Add a test. (Dominique Pelle, closes #5925 )
2020-04-13 19:46:43 +02:00
352f554b85
patch 8.2.0574: ipv6 feature not shown in :version output
...
Problem: Ipv6 feature not shown in :version output.
Solution: Add ipv6 in :version output. (Ozaki Kiichi, closes #5924 )
2020-04-13 19:04:21 +02:00
278e83863b
patch 8.2.0573: using :version twice leaks memory
...
Problem: using :version twice leaks memory
Solution: Only initialize variables once. (Dominique Pelle, closes #5917 )
2020-04-13 18:25:33 +02:00
df1956075d
patch 8.2.0572: using two lines for free and reset
...
Problem: Using two lines for free and reset.
Solution: Use VIM_CLEAR() instead. (Yegappan Lakshmanan)
2020-04-13 18:13:33 +02:00
0015795baa
patch 8.2.0571: double free when passing invalid argument to job_start()
...
Problem: Double free when passing invalid argument to job_start().
Solution: Clear the argument when freed. (Masato Nishihata, closes #5926 )
2020-04-13 17:44:47 +02:00
6e949784be
patch 8.2.0570: Vim9: no error when omitting type from argument
...
Problem: Vim9: no error when omitting type from argument.
Solution: Enforce specifying argument types.
2020-04-13 17:21:00 +02:00
fbda69b309
patch 8.2.0569: build failure with tiny version
...
Problem: Build failure with tiny version.
Solution: Add #ifdef.
2020-04-13 15:06:53 +02:00
55b0fb7001
patch 8.2.0568: the man filetype plugin overwrites the unnamed register
...
Problem: The man filetype plugin overwrites the unnamed register.
Solution: Use the black hole register. (Jason Franklin)
2020-04-13 14:58:37 +02:00
2c330432cf
patch 8.2.0567: Vim9: cannot put comments halfway expressions
...
Problem: Vim9: cannot put comments halfway expressions.
Solution: Support # comments in many places.
2020-04-13 14:41:35 +02:00
1a2f4bf6c8
patch 8.2.0566: Vim9: variable can be used uninitialized
...
Problem: Vim9: variable can be used uninitialized.
Solution: Jump to after where variable is used.
2020-04-12 23:09:25 +02:00
675f716efb
patch 8.2.0565: Vim9: tests contain superfluous line continuation
...
Problem: Vim9: tests contain superfluous line continuation.
Solution: Remove line continuation no longer needed. Skip empty lines.
2020-04-12 22:53:54 +02:00
23e032523e
patch 8.2.0564: Vim9: calling a def function from non-vim9 may fail
...
Problem: Vim9: calling a def function from non-vim9 may fail.
Solution: Convert varargs to a list.
2020-04-12 22:22:31 +02:00
5e774c7579
patch 8.2.0563: Vim9: cannot split a function line
...
Problem: Vim9: cannot split a function line.
Solution: Continue in next line so long as the function isn't done.
2020-04-12 21:53:00 +02:00
9c7e6dd653
patch 8.2.0562: Vim9: cannot split an expression into multiple lines
...
Problem: Vim9: cannot split an expression into multiple lines.
Solution: Continue in next line after an operator.
2020-04-12 20:55:20 +02:00
e6085c5350
patch 8.2.0561: Vim9: cannot split function call in multiple lines
...
Problem: Vim9: cannot split function call in multiple lines.
Solution: Find more arguments in following lines.
2020-04-12 20:19:16 +02:00
2196bce56f
patch 8.2.0560: compiler warning in tiny build
...
Problem: Compiler warning in tiny build.
Solution: Move declaration inside #ifdef. (Dominique Pelle, closes #5915 )
2020-04-12 20:01:11 +02:00
a80faa8930
patch 8.2.0559: clearing a struct is verbose
...
Problem: Clearing a struct is verbose.
Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
2020-04-12 19:37:17 +02:00
82de464f76
patch 8.2.0558: Vim9: dict code not covered by tests
...
Problem: Vim9: dict code not covered by tests.
Solution: Remove dead code, adjust test case.
2020-04-12 18:02:06 +02:00
bfe13ccc58
patch 8.2.0557: no IPv6 support for channels
...
Problem: No IPv6 support for channels.
Solution: Add IPv6 support. (Ozaki Kiichi, closes #5893 )
2020-04-12 17:53:12 +02:00
c5f1ef53c2
patch 8.2.0556: Vim9: memory leak when finding common type
...
Problem: Vim9: memory leak when finding common type.
Solution: Store allocated memory in type growarray.
2020-04-12 17:11:27 +02:00
4fdae9996f
patch 8.2.0555: Vim9: line continuation is not always needed
...
Problem: Vim9: line continuation is not always needed.
Solution: Recognize continuation lines automatically in list and dict.
2020-04-12 16:38:57 +02:00
acc770a10f
patch 8.2.0554: the GUI doesn't set t_Co
...
Problem: The GUI doesn't set t_Co.
Solution: In the GUI set t_Co to 256 * 256 * 256. (closes #5903 )
2020-04-12 15:11:06 +02:00
cd630becc8
patch 8.2.0553: error for unused argument
...
Problem: Error for unused argument.
Solution: Add UNUSED.
2020-04-12 14:50:26 +02:00
99aaf0ce7c
patch 8.2.0552: Vim9: some errors not covered by tests
...
Problem: Vim9: some errors not covered by tests.
Solution: Add more tests. Check Funcref argument types.
2020-04-12 14:39:53 +02:00
1363a30cef
patch 8.2.0551: not all code for options is tested
...
Problem: Not all code for options is tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5913 )
2020-04-12 13:50:26 +02:00
88c1ee84d6
patch 8.2.0550: some changes in the libvterm upstream code
...
Problem: Some changes in the libvterm upstream code.
Solution: Include some changes.
2020-04-12 13:38:57 +02:00
3b922f1138
patch 8.2.0549: user systemd files not recognized
...
Problem: User systemd files not recognized.
Solution: Add filetype patterns. (Kevin Locke, closes #5914 )
2020-04-12 12:54:52 +02:00
08938eeba4
patch 8.2.0548: Vim9: not all possible func type errors tested
...
Problem: Vim9: not all possible func type errors tested.
Solution: Add more tests.
2020-04-11 23:17:17 +02:00
e7f234120f
patch 8.2.0547: Win32: restoring screen not always done right
...
Problem: Win32: restoring screen not always done right.
Solution: Use a more appropriate method. (Nobuhiro Takasaki, closes #5909 )
2020-04-11 22:38:34 +02:00
fe27081724
patch 8.2.0546: Vim9: varargs implementation is inefficient
...
Problem: Vim9: varargs implementation is inefficient.
Solution: Create list without moving the arguments.
2020-04-11 22:31:27 +02:00
d19a8f97ad
patch 8.2.0545: unused arguments ignored in non-standard way
...
Problem: Unused arguments ignored in non-standard way.
Solution: Add UNUSED instead of (void).
2020-04-11 21:42:48 +02:00
880e4d9117
patch 8.2.0544: memory leak in search test
...
Problem: Memory leak in search test.
Solution: Free msgbuf. (Dominique Pelle, closes #5912 )
2020-04-11 21:31:28 +02:00
1378fbc459
patch 8.2.0543: Vim9: function with varargs does not work properly
...
Problem: Vim9: function with varargs does not work properly.
Solution: Improve function type spec and add tests. Fix bugs.
2020-04-11 20:50:33 +02:00
8832a34578
patch 8.2.0542: no test for E386
...
Problem: No test for E386.
Solution: Add a test. (Dominique Pelle, closes #5911 )
2020-04-11 18:36:38 +02:00
81ea1dfb97
patch 8.2.0541: Travis CI does not give compiler warnings
...
Problem: Travis CI does not give compiler warnings.
Solution: Add flags for warnings. Fix uncovered problems. (Ozaki Kiichi,
closes #5898 )
2020-04-11 18:01:41 +02:00
004a6781b3
patch 8.2.0540: regexp and other code not tested
...
Problem: Regexp and other code not tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5904 )
2020-04-11 17:09:31 +02:00
d1caa941d8
Update runtime files
2020-04-10 22:10:56 +02:00
7b293c730b
patch 8.2.0539: comparing two NULL list fails
...
Problem: Comparing two NULL list fails.
Solution: Change the order of comparing two lists.
2020-04-09 21:33:22 +02:00
9c8bb7c0e2
patch 8.2.0538: Vim9: VAR_PARTIAL is not used during compilation
...
Problem: Vim9: VAR_PARTIAL is not used during compilation.
Solution: Remove VAR_PARTIAL.
2020-04-09 21:08:09 +02:00
cab2767874
patch 8.2.0537: Vim9: no check for sandbox when setting v:var
...
Problem: Vim9: no check for sandbox when setting v:var.
Solution: Check for sandbox.
2020-04-09 20:10:55 +02:00
5da356e073
patch 8.2.0536: Vim9: some compilation code not tested
...
Problem: Vim9: some compilation code not tested.
Solution: Add more test cases.
2020-04-09 19:34:43 +02:00
4d23c52824
patch 8.2.0535: regexp patterns not fully tested
...
Problem: Regexp patterns not fully tested.
Solution: Add more regexp tests and others. (Yegappan Lakshmanan,
closes #5901 )
2020-04-09 18:42:11 +02:00
25d5700952
patch 8.2.0534: client-server test fails under valgrind
...
Problem: Client-server test fails under valgrind.
Solution: Use WaitForAssert().
2020-04-08 22:56:34 +02:00
6a2c5a7dd5
patch 8.2.0533: tests using term_wait() can still be flaky
...
Problem: Tests using term_wait() can still be flaky.
Solution: Increase the wait time when rerunning a test. (James McCoy,
closes #5899 ) Halve the initial times to make tests run faster
when there is no rerun.
2020-04-08 21:50:25 +02:00
7035fd9d90
patch 8.2.0532: cannot use simplify() as a method
...
Problem: Cannot use simplify() as a method.
Solution: Add FEARG_1. (closes #5996 )
2020-04-08 20:03:52 +02:00
476a613135
patch 8.2.0531: various errors not tested
...
Problem: Various errors not tested.
Solution: Add tests. (Yegappan Lakshmanan, closes #5895 )
2020-04-08 19:48:56 +02:00
a65c288134
patch 8.2.0530: test crashes on s390
...
Problem: Test crashes on s390. (James McCoy)
Solution: Explicitly define an 8 big signed type. (closes #5897 )
2020-04-08 11:31:48 +02:00
49cf7cc8d2
patch 8.2.0529: Vim9: function argument with default not checked
...
Problem: Vim9: function argument with default not checked.
Solution: Check type of argument with default value.
2020-04-07 22:45:00 +02:00
0b76b42d0a
patch 8.2.0528: Vim9: function arguments insufficiently tested
...
Problem: Vim9: function arguments insufficiently tested.
Solution: Check types. Add more tests. Fix function with varargs only.
2020-04-07 22:05:08 +02:00
ec5929d0fe
patch 8.2.0527: Vim9: function types insufficiently tested
...
Problem: Vim9: function types insufficiently tested.
Solution: Add more tests. Fix white space check. Add "test_vim9" target.
2020-04-07 20:53:39 +02:00
86b9a3e8cd
patch 8.2.0526: Gcc 9 complains about empty statement
...
Problem: Gcc 9 complains about empty statement.
Solution: Add {}. (Dominique Pelle, closes #5894 )
2020-04-07 19:57:29 +02:00
40655d5016
patch 8.2.0525: Win32: typo in assignment and misplaced paren
...
Problem: Win32: typo in assignment and misplaced paren.
Solution: Fix the syntax.
2020-04-06 23:49:50 +02:00
c74fbfedfa
patch 8.2.0524: Win32: searching for file matches is slow
...
Problem: Win32: searching for file matches is slow.
Solution: Instead of making another round to find any short filename, check
for the short name right away. Avoid using an ordinary file like a
directory. (Nir Lichtman, closes #5883 )
2020-04-06 22:56:28 +02:00
00d253e2b2
patch 8.2.0523: loops are repeated
...
Problem: Loops are repeated.
Solution: Use FOR_ALL_ macros. (Yegappan Lakshmanan, closes #5882 )
2020-04-06 22:13:01 +02:00
ee4e0c1e9a
patch 8.2.0522: several errors are not tested for
...
Problem: Several errors are not tested for.
Solution: Add tests. (Yegappan Lakshmanan, closes #5892 )
2020-04-06 21:35:05 +02:00
15352dc6ec
patch 8.2.0521: crash when reading a blob fails
...
Problem: Crash when reading a blob fails.
Solution: Avoid keeping a pointer to a freed blob object. (Dominique Pelle,
closes #5890 ) Adjust error messages.
2020-04-06 21:12:42 +02:00
6c307dcd55
patch 8.2.0520: tests are not listed in sorted order
...
Problem: Tests are not listed in sorted order.
Solution: Move test_ex_mode. (Doug Richardson, closes #5889 )
2020-04-05 23:04:57 +02:00
8922860afb
patch 8.2.0519: Vim9: return type not properly checked
...
Problem: Vim9: return type not properly checked.
Solution: Check type properly, also at runtime.
2020-04-05 22:14:54 +02:00
5ba8d3578c
patch 8.2.0518: a terminal falls back to setting $TERM to "xterm"
...
Problem: A terminal falls back to setting $TERM to "xterm".
Solution: Use "xterm-color" if more than 16 colors are supported and
"xterm-256color" if at least 256 colors are supported.
(closes #5887 )
2020-04-05 21:42:12 +02:00
4c68375057
patch 8.2.0517: Vim9: cannot separate "func" and "func(): void"
...
Problem: Vim9: cannot separate "func" and "func(): void".
Solution: Use VAR_ANY for "any" and VAR_UNKNOWN for "no type".
2020-04-05 21:38:23 +02:00
f87a0400fd
patch 8.2.0516: client-server code is spread out
...
Problem: Client-server code is spread out.
Solution: Move client-server code to a new file. (Yegappan Lakshmanan,
closes #5885 )
2020-04-05 20:21:03 +02:00
b8ed3aa9e7
patch 8.2.0515: some compilers cannot add to "void *"
...
Problem: Some compilers cannot add to "void *".
Solution: Cast to "char *".
2020-04-05 19:09:05 +02:00
bdff012f44
patch 8.2.0514: several global functions are used in only one file
...
Problem: Several global functions are used in only one file.
Solution: Make the functions static. (Yegappan Lakshmanan, closes #5884 )
2020-04-05 18:56:05 +02:00
5d905c2b96
patch 8.2.0513: reading past allocate memory when using varargs
...
Problem: Reading past allocate memory when using varargs.
Solution: Fix copying function argument types.
2020-04-05 18:20:45 +02:00
5deeb3f1f9
patch 8.2.0512: Vim9: no optional arguments in func type
...
Problem: Vim9: no optional arguments in func type.
Solution: Check for question mark after type. Find function reference
without function().
2020-04-05 17:08:17 +02:00
d7ffc0ba8c
patch 8.2.0511: Cscope code not fully tested
...
Problem: Cscope code not fully tested.
Solution: Add more test cases. (Dominique Pelle, closes #5886 )
2020-04-05 15:36:16 +02:00
8d4ed11da6
patch 8.2.0510: Coverity complains about using uninitialized variable
...
Problem: Coverity complains about using uninitialized variable.
Solution: Assign a value to "scol". Move code inside NULL check.
2020-04-04 14:50:32 +02:00
cde0ff39da
patch 8.2.0509: various code is not properly tested.
...
Problem: various code is not properly tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5871 )
2020-04-04 14:00:39 +02:00
d77a8525d5
patch 8.2.0508: Vim9: func and partial types not done yet
...
Problem: Vim9: func and partial types not done yet
Solution: Fill in details about func declaration, drop a separate partial
declaration.
2020-04-03 21:59:57 +02:00
5259275347
patch 8.2.0507: getbufvar() may get the wrong dictionary
...
Problem: Getbufvar() may get the wrong dictionary. (David le Blanc)
Solution: Check for empty name. (closes #5878 )
2020-04-03 18:43:35 +02:00
d1e9dc2723
patch 8.2.0506: Coverity complains about ignoring return value
...
Problem: Coverity complains about ignoring return value.
Solution: Add (void).
2020-04-03 18:13:57 +02:00
01603a9970
patch 8.2.0505: term_getty() not sufficiently tested
...
Problem: term_getty() not sufficiently tested.
Solution: Add more asserts. (Dominique Pelle, closes #5877 )
2020-04-03 12:56:17 +02:00
3cca299520
patch 8.2.0504: Vim9: leaking scope memory when compilation fails
...
Problem: Vim9: leaking scope memory when compilation fails.
Solution: Cleanup the scope list.
2020-04-02 22:57:36 +02:00
585fea7b98
patch 8.2.0503: Vim9: some code is not tested
...
Problem: Vim9: some code is not tested.
Solution: Add tests. Fix uncovered problems.
2020-04-02 22:33:21 +02:00
e8c4abbbd7
patch 8.2.0502: Vim9: some code is not tested
...
Problem: Vim9: some code is not tested.
Solution: Add more tests. Fix uncovered problems.
2020-04-02 21:13:25 +02:00
2c869deeb7
patch 8.2.0501: Vim9: script test fails when channel feature is missing
...
Problem: Vim9: script test fails when channel feature is missing.
Solution: Add a has() condition.
2020-04-02 19:12:08 +02:00
aeea72151c
patch 8.2.0500: using the same loop in many places
...
Problem: Using the same loop in many places.
Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339 )
2020-04-02 18:50:46 +02:00
f10806b250
patch 8.2.0499: calling a lambda is slower than evaluating a string
...
Problem: Calling a lambda is slower than evaluating a string.
Solution: Make calling a lambda faster. (Ken Takata, closes #5727 )
2020-04-02 18:34:35 +02:00
4227c789ff
patch 8.2.0498: Coverity complains about uninitialized field
...
Problem: Coverity complains about uninitialized field.
Solution: Initialize the whole typval_T.
2020-04-02 16:00:04 +02:00
e5bae13da3
patch 8.2.0497: too verbose output from the asan build in Travis
...
Problem: Too verbose output from the asan build in Travis.
Solution: Filter out suppression messages. (Ozaki Kiichi, closes #5874 )
2020-04-02 15:17:32 +02:00
a4d4cf490e
patch 8.2.0496: Vim9: disassemble test fails
...
Problem: Vim9: disassemble test fails.
Solution: Separate test cases with recognized constant expressions.
2020-04-02 13:50:27 +02:00
80c34ca312
patch 8.2.0495: Vim9: some code not tested
...
Problem: Vim9: some code not tested.
Solution: Add more tests. Support more const expressions.
2020-04-01 23:05:18 +02:00
ea94fbe83b
patch 8.2.0494: Vim9: asan error
...
Problem: Vim9: asan error.
Solution: Only get the type when there is one.
2020-04-01 22:36:49 +02:00
e69f6d044c
patch 8.2.0493: Vim9: some error messages not tested
...
Problem: Vim9: some error messages not tested.
Solution: Add more tests. Fix uncovered bugs.
2020-04-01 22:11:01 +02:00
a8c1770469
patch 8.2.0492: Vim9: some error messages not tested
...
Problem: Vim9: some error messages not tested.
Solution: Add more tests. Remove dead code. Fix uncovered bugs.
2020-04-01 21:17:24 +02:00
2da0f0c445
patch 8.2.0491: cannot recognize a <script> mapping using maparg()
...
Problem: Cannot recognize a <script> mapping using maparg().
Solution: Add the "script" key. (closes #5873 )
2020-04-01 19:22:12 +02:00
0afdcf8601
patch 8.2.0490: Win32: VTP doesn't respect 'restorescreen'
...
Problem: Win32: VTP doesn't respect 'restorescreen'.
Solution: Use escape codes to switch to alternate screen. (Nobuhiro
Takasaki, closes #5872 )
2020-04-01 18:29:10 +02:00
25b70c780a
patch 8.2.0489: Vim9: memory leaks
...
Problem: Vim9: memory leaks.
Solution: Free memory in the right place. Add hints for using asan.
2020-04-01 16:34:17 +02:00
05afceeddc
patch 8.2.0488: Vim9: compiling can break when using a lambda inside :def
...
Problem: Vim9: Compiling can break when using a lambda inside :def.
Solution: Do not keep a pointer to the dfunc_T for longer time.
2020-03-31 23:32:31 +02:00
bd5da371aa
patch 8.2.0487: Vim9: compiling not sufficiently tested
...
Problem: Vim9: compiling not sufficiently tested.
Solution: Add more tests. Fix bug with PCALL.
2020-03-31 23:13:10 +02:00
9be61bbb17
patch 8.2.0486: Vim9: some code and error messages not tested
...
Problem: Vim9: some code and error messages not tested.
Solution: Add more tests.
2020-03-30 22:51:24 +02:00
01b3862956
patch 8.2.0485: Vim9 script test fails
...
Problem: Vim9 script test fails.
Solution: Stricter condition for adding new local variable.
2020-03-30 21:28:39 +02:00
92dba36fc8
patch 8.2.0484: Vim9: some error messages not tested
...
Problem: Vim9: some error messages not tested.
Solution: Add more tests.
2020-03-30 21:22:56 +02:00
d25ec2cfa0
patch 8.2.0483: Vim9: "let x = x + 1" does not give an error
...
Problem: Vim9: "let x = x + 1" does not give an error.
Solution: Hide the variable when compiling the expression.
2020-03-30 21:05:45 +02:00
ca68ae1311
patch 8.2.0482: channel and sandbox code not sufficiently tested
...
Problem: Channel and sandbox code not sufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5855 )
2020-03-30 19:32:53 +02:00
7d333a900d
patch 8.2.0481: Travis is still using trusty
...
Problem: Travis is still using trusty.
Solution: Adjust config to use bionic. (Ozaki Kiichi, closes #5868 )
2020-03-30 19:13:29 +02:00
0b37a2f379
patch 8.2.0480: Vim9: some code is not tested
...
Problem: Vim9: some code is not tested.
Solution: Add more tests.
2020-03-29 21:38:15 +02:00
2027973b5b
patch 8.2.0479: unloading shared libraries on exit has no purpose
...
Problem: Unloading shared libraries on exit has no purpose.
Solution: Do not unload shared libraries on exit.
2020-03-29 20:51:07 +02:00
5908fdf72f
patch 8.2.0478: new buffers are not added to the Buffers menu
...
Problem: New buffers are not added to the Buffers menu.
Solution: Turn number into string. (Yee Cheng Chin, closes #5864 )
2020-03-29 20:08:45 +02:00
c58164c5cf
patch 8.2.0477: Vim9: error messages not tested
...
Problem: Vim9: error messages not tested.
Solution: Add more tests.
2020-03-29 18:40:30 +02:00
52ea92b19d
patch 8.2.0476: terminal nasty callback test fails sometimes
...
Problem: Terminal nasty callback test fails sometimes.
Solution: use term_wait() instead of a sleep. (Yee Cheng Chin,closes #5865 )
2020-03-29 17:50:48 +02:00
bf54dbeb5c
patch 8.2.0475: channel out_cb test still fails sometimes on Mac
...
Problem: Channel out_cb test still fails sometimes on Mac.
Solution: Use an ever longer timeout.
2020-03-29 16:18:58 +02:00
0fff44152d
patch 8.2.0474: cannot use :write when using a plugin with BufWriteCmd
...
Problem: Cannot use :write when using a plugin with BufWriteCmd.
Solution: Reset BF_NOTEDITED after BufWriteCmd. (closes #5807 )
2020-03-29 16:06:29 +02:00
8601545338
patch 8.2.0473: variables declared in an outer scope
...
Problem: Variables declared in an outer scope.
Solution: Decleare variables only in the scope where they are used.
2020-03-29 15:12:15 +02:00
360bdbda81
patch 8.2.0472: terminal highlight name is set twice, leaking memory
...
Problem: Terminal highlight name is set twice, leaking memory.
Solution: Delete one.
2020-03-28 22:37:14 +01:00
a30590d3e7
patch 8.2.0471: missing change to compile_list()
...
Problem: Missing change to compile_list().
Solution: Add error message.
2020-03-28 22:06:23 +01:00
7b1b36b1cb
patch 8.2.0470: Test_confirm_cmd_cancel() can fail on a slow system
...
Problem: Test_confirm_cmd_cancel() can fail on a slow system.
Solution: Use WaitForAssert(). (Ozaki Kiichi, closes #5861 )
2020-03-28 21:48:55 +01:00
ee619e5bc0
patch 8.2.0469: Vim9: no error for missing ] after list
...
Problem: Vim9: no error for missing ] after list.
Solution: Add error message. Add more tests.
2020-03-28 21:38:06 +01:00
7c003aa314
patch 8.2.0468: GUI: pixel dust with some fonts and characters
...
Problem: GUI: pixel dust with some fonts and characters.
Solution: Always redraw the character before the cursor. (Nir Lichtman,
closes #5549 , closes #5856 )
2020-03-28 20:44:41 +01:00
33fa29cf74
patch 8.2.0467: Vim9: some errors are not tested
...
Problem: Vim9: some errors are not tested
Solution: Add more tests. Fix that Vim9 script flag is not reset.
2020-03-28 19:41:33 +01:00
09c569038c
patch 8.2.0466: not parsing messages recursively breaks the govim plugin
...
Problem: Not parsing messages recursively breaks the govim plugin.
Solution: When called recursively do handle messages but do not close
channels.
2020-03-28 18:06:31 +01:00
599c89c82f
patch 8.2.0465: Vim9: dead code and wrong return type
...
Problem: Vim9: dead code and wrong return type.
Solution: Remove dead code. Fix return type. Add more tests.
2020-03-28 14:53:20 +01:00
495282b6e7
Correct list of patch numbers
2020-03-27 20:59:54 +01:00
14285cb801
patch 8.2.0464: typos and other small problems
...
Problem: Typos and other small problems.
Solution: Fix the typos. Add missing files to the distribution.
2020-03-27 20:58:37 +01:00
2d9d409ad4
patch 8.2.0464: typos and other small problems
...
Problem: Typos and other small problems.
Solution: Fix the typos. Add missing file to distribution.
2020-03-27 20:52:45 +01:00
191acfdeca
Update runtime files
2020-03-27 20:42:43 +01:00
37bb030cd9
patch 8.2.0462: previewwindow test fails on some systems
...
Problem: Previewwindow test fails on some systems. (James McCoy)
Solution: Wait a bit after sending the "o". (closes #5849 )
2020-03-27 20:24:14 +01:00
9207d1f523
patch 8.2.0461: confirm test fails on amd64 system
...
Problem: Confirm test fails on amd64 system. (Alimar Riesebieter)
Solution: Add an extra WaitForAssert(). (Dominique Pelle)
2020-03-27 19:41:02 +01:00
bd5e622bfa
patch 8.2.0460: build failure because of wrong feature name
...
Problem: Build failure because of wrong feature name.
Solution: Correct feature name.
2020-03-26 23:13:34 +01:00
15c476023f
patch 8.2.0459: cannot check if a function name is correct
...
Problem: Cannot check if a function name is correct.
Solution: Add "?funcname" to exists().
2020-03-26 22:16:48 +01:00
bea9023d42
patch 8.2.0458: missing feature check in test function
...
Problem: Missing feature check in test function.
Solution: Add check commands.
2020-03-26 22:09:52 +01:00
26bde6e2eb
patch 8.2.0457: Test_quotestar() often fails when run under valgrind
...
Problem: Test_quotestar() often fails when run under valgrind.
Solution: Wait longer for the GUI to start.
2020-03-26 21:11:58 +01:00
72749f062f
patch 8.2.0456: Test_confirm_cmd is flaky
...
Problem: Test_confirm_cmd is flaky.
Solution: Add a term_wait() call. (closes #5854 )
2020-03-26 20:51:43 +01:00
83d4790a04
patch 8.2.0455: cannot set the highlight group for a specific terminal
...
Problem: Cannot set the highlight group for a specific terminal.
Solution: Add the "highlight" option to term_start(). (closes #5818 )
2020-03-26 20:34:00 +01:00
3ed9efc2b1
patch 8.2.0454: some tests fail when the system is slow
...
Problem: Some tests fail when the system is slow.
Solution: Make the run number global, use in the test to increase the
waiting time. (closes #5841 )
2020-03-26 16:50:57 +01:00
7851b1ca99
patch 8.2.0453: trailing space in job_start() command causes empty argument
...
Problem: Trailing space in job_start() command causes empty argument.
Solution: Ignore trailing space. (closes #5851 )
2020-03-26 16:27:38 +01:00
a9c3a30891
patch 8.2.0452: channel_parse_messages() fails when called recursively
...
Problem: channel_parse_messages() fails when called recursively.
Solution: Return for a recursive call. (closes #5835 )
2020-03-26 16:03:45 +01:00
82e743c5b3
patch 8.2.0451: Win32: double-width character displayed incorrectly
...
Problem: Win32: double-width character displayed incorrectly.
Solution: First move the cursor to the first column. (Nobuhiro Takasaki,
closes #5848 )
2020-03-26 15:39:53 +01:00
7d941ee032
patch 8.2.0450: not enough testing for restricted mode and function calls
...
Problem: Not enough testing for restricted mode and function calls.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5847 )
2020-03-26 14:11:58 +01:00
cf3f8bf4dd
patch 8.2.0449: Vim9: crash if return type is invalid
...
Problem: Vim9: crash if return type is invalid. (Yegappan Lakshmanan)
Solution: Always return some type, not NULL.
2020-03-26 13:15:42 +01:00
0e05de4622
patch 8.2.0448: various functions not properly tested
...
Problem: Various functions not properly tested.
Solution: Add more tests, especially for failures. (Yegappan Lakshmanan,
closes #5843 )
2020-03-25 22:23:46 +01:00
bfcfd5784a
patch 8.2.0447: terminal scroll tests fails on some systems
...
Problem: Terminal scroll tests fails on some systems.
Solution: Remove the fixed 100msec wait for Win32. Add a loop to wait until
scrolling has finished. (James McCoy, closes #5842 )
2020-03-25 21:27:22 +01:00
a07e31af54
patch 8.2.0446: listener with undo of deleting all lines not tested
...
Problem: Listener with undo of deleting all lines not tested.
Solution: Add a test.
2020-03-25 21:13:46 +01:00
f66ca9f1df
patch 8.2.0445: png and xpm files not in MS-Windows zip file
...
Problem: Png and xpm files not in MS-Windows zip file.
Solution: Move files to shared between Unix and Windows target.
2020-03-25 20:17:00 +01:00
d36ef573b2
patch 8.2.0444: swap file test fails on some systems
...
Problem: Swap file test fails on some systems.
Solution: Preserve the swap file. Send NL terminated keys.
2020-03-24 21:44:51 +01:00
45fffdf10b
patch 8.2.0443: clipboard code is spread out
...
Problem: Clipboard code is spread out.
Solution: Move clipboard code to its own file. (Yegappan Lakshmanan,
closes #5827 )
2020-03-24 21:42:01 +01:00
71658f74ae
patch 8.2.0442: channel contents might be used after being freed
...
Problem: Channel contents might be used after being freed.
Solution: Reset the job channel before freeing the channel.
2020-03-24 20:35:19 +01:00
f3710ee22d
patch 8.2.0441: terminal noblock test is still failing on BSD
...
Problem: Terminal noblock test is still failing on BSD.
Solution: Reduce the amount of text.
2020-03-24 12:12:30 +01:00
d06dbf3f42
patch 8.2.0440: terminal noblock test is still very flaky on BSD
...
Problem: Terminal noblock test is still very flaky on BSD.
Solution: Increase the waiting time.
2020-03-24 10:33:00 +01:00
1082772f4c
patch 8.2.0439: :disassemble has minor flaws
...
Problem: :disassemble has minor flaws.
Solution: Format the code. Use (int) instead of (char) for %c.
(also by James McCoy, closes #5831 )
2020-03-23 22:53:22 +01:00
d7b7770f11
patch 8.2.0438: terminal noblock test is very flaky on BSD
...
Problem: Terminal noblock test is very flaky on BSD.
Solution: Change WaitFor() to WaitForAssert() to be able to see why it
failed. Add a short wait in between sending keys.
2020-03-23 22:46:44 +01:00
0df541963d
patch 8.2.0437: MS-Windows installer contains old stuff
...
Problem: MS-Windows installer contains old stuff.
Solution: Rely on Windows NT. (Ken Takata, closes #5832 )
2020-03-23 22:17:11 +01:00
db99f9f29a
patch 8.2.0436: no warnings for incorrect printf arguments
...
Problem: No warnings for incorrect printf arguments.
Solution: Fix attribute in declaration. Fix uncovered mistakes. (Dominique
Pelle, closes #5834 )
2020-03-23 22:12:22 +01:00
dbbb0ef729
patch 8.2.0435: channel contents might be freed twice
...
Problem: Channel contents might be freed twice.
Solution: Call either channel_free_channel() or channel_free(), not both.
(Nobuhiro Takasaki, closes #5835 )
2020-03-23 22:01:17 +01:00
a8bd349638
patch 8.2.0434: MS-Windows with VTP: Normal color not working
...
Problem: MS-Windows with VTP: Normal color not working.
Solution: After changing the Normal color update the VTP console color.
(Nobuhiro Takasaki, closes #5836 )
2020-03-23 21:45:29 +01:00
bad8804cdd
patch 8.2.0433: INT signal not properly tested
...
Problem: INT signal not properly tested.
Solution: Add a test. Also clean up some unnecessary lines. (Dominique
Pelle, closes #5828 )
2020-03-23 20:54:32 +01:00
ab505b1a48
patch 8.2.0432: a few tests fail in a huge terminal
...
Problem: A few tests fail in a huge terminal.
Solution: Make the tests pass. (Dominique Pelle, closes #5829 )
2020-03-23 19:28:44 +01:00
56ba21a156
patch 8.2.0431: some compilers don't support using \e for Esc
...
Problem: Some compilers don't support using \e for Esc. (Yegappan
Lakshmanan)
Solution: use \033 instead.
2020-03-23 19:17:29 +01:00
5080b0a047
patch 8.2.0430: window creation failure not properly tested
...
Problem: Window creation failure not properly tested.
Solution: Improve the test. (Yegappan Lakshmanan, closes #5826 )
2020-03-22 21:23:47 +01:00
c5a8fdc42d
patch 8.2.0429: no warning when test checks for option that never exists
...
Problem: No warning when test checks for option that never exists.
Solution: In tests check that the option can exist.
2020-03-22 20:13:39 +01:00
d5bc32df20
patch 8.2.0428: buffer name may leak
...
Problem: Buffer name may leak.
Solution: Free the buffer name before overwriting it.
2020-03-22 19:25:50 +01:00
7929651e05
patch 8.2.0427: it is not possible to check for a typo in a feature name
...
Problem: It is not possible to check for a typo in a feature name.
Solution: Add an extra argument to has().
2020-03-22 16:17:14 +01:00
9b9be007e7
patch 8.2.0426: some errors were not tested for
...
Problem: Some errors were not tested for.
Solution: Add tests. (Dominique Pelle, closes #5824 )
2020-03-22 14:41:22 +01:00
515545e11f
patch 8.2.0425: code for modeless selection not sufficiently tested
...
Problem: Code for modeless selection not sufficiently tested.
Solution: Add tests. Move mouse code functionality to a common script file.
(Yegappan Lakshmanan, closes #5821 )
2020-03-22 14:08:59 +01:00
97acfc781b
patch 8.2.0424: checking for wrong return value
...
Problem: Checking for wrong return value. (Tom)
Solution: Invert the check and fix the test.
2020-03-22 13:44:28 +01:00
ce436de5a9
patch 8.2.0423: in some environments a few tests are expected to fail
...
Problem: In some environments a few tests are expected to fail.
Solution: Add $TEST_MAY_FAIL to list tests that should not cause make to
fail.
2020-03-21 15:17:20 +01:00
0f1563ffee
patch 8.2.0422: crash when passing popup window to win_splitmove()
...
Problem: Crash when passing popup window to win_splitmove(). (john Devin)
Solution: Disallow moving a popup window. (closes #5816 )
2020-03-20 21:15:51 +01:00
9645e2d9fc
patch 8.2.0421: interrupting with CTRL-C does not always work
...
Problem: Interrupting with CTRL-C does not always work.
Solution: Recognize CTRL-C while modifyOtherKeys is set.
2020-03-20 20:48:49 +01:00
f1ec378b01
patch 8.2.0420: Vim9: cannot interrupt a loop with CTRL-C
...
Problem: Vim9: cannot interrupt a loop with CTRL-C.
Solution: Check for CTRL-C once in a while. Doesn't fully work yet.
2020-03-20 19:37:47 +01:00
20431c9dbb
patch 8.2.0419: various memory leaks in Vim9 script code
...
Problem: Various memory leaks in Vim9 script code.
Solution: Fix the leaks. (Ozaki Kiichi, closes #5814 )
2020-03-20 18:39:46 +01:00
8b63313510
patch 8.2.0418: code in eval.c not sufficiently covered by tests
...
Problem: Code in eval.c not sufficiently covered by tests.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5815 )
2020-03-20 18:20:51 +01:00
98be7fecac
patch 8.2.0417: Travis CI config can be improved
...
Problem: Travis CI config can be improved.
Solution: Remove COVERAGE variable. Add load-snd-dummy script. add "-i NONE"
to avoid messages about viminfo. (Ozaki Kiichi, closes #5813 )
2020-03-20 18:12:59 +01:00
ff78155aa1
Update runtime files
2020-03-19 20:37:11 +01:00
95e59a355b
patch 8.2.0416: test leaves file behind
...
Problem: Test leaves file behind.
Solution: Delete the file.
2020-03-19 20:33:33 +01:00
40d235e730
patch 8.2.0415: bsdl filetype is not detected
...
Problem: Bsdl filetype is not detected.
Solution: Add an entry in the filetype list. (Daniel Kho, closes #5810 )
2020-03-19 20:32:01 +01:00
373a876d0c
patch 8.2.0414: channel connect_waittime() test is flaky
...
Problem: Channel connect_waittime() test is flaky.
Solution: Set the test_is_flaky flag. Use test_is_flaky for more tests.
2020-03-19 19:44:32 +01:00
5e94a29ebb
patch 8.2.0413: buffer menu does not handle special buffers properly
...
Problem: Buffer menu does not handle special buffers properly.
Solution: Keep a dictionary with buffer names to reliably keep track of
entries.
Also trigger BufFilePre and BufFilePost for command-line and
terminal buffers when the name changes.
2020-03-19 18:46:57 +01:00
37f471df6e
patch 8.2.0412: MS-Windows: cannot use vimtutor from the start menu
...
Problem: MS-Windows: cannot use vimtutor from the start menu.
Solution: Better check for writable directory. Use the right path for the
executable. (Wu Yongwei, closes #5774 , closes #5756 )
2020-03-19 17:13:40 +01:00
24e9b6fe4b
patch 8.2.0411: Mac: breakcheck is using a value from the stone ages
...
Problem: Mac: breakcheck is using a value from the stone ages.
Solution: Delete BREAKCHECK_SKIP from the Mac header file. (Ben Jackson)
2020-03-19 16:28:44 +01:00
3696839ef1
patch 8.2.0410: channel test fails too often on slow Mac
...
Problem: Channel test fails too often on slow Mac.
Solution: Increase waiting time to 10 seconds.
2020-03-19 16:22:44 +01:00
b68df220c5
patch 8.2.0409: search test leaves file behind
...
Problem: Search test leaves file behind.
Solution: Delete the file. Also use Check commands.
2020-03-19 15:05:28 +01:00
22da5596d0
patch 8.2.0408: delete() commented out for testing
...
Problem: Delete() commented out for testing.
Solution: Undo commenting-out.
2020-03-19 14:52:20 +01:00
2d10cd4780
patch 8.2.0407: no early check if :find and :sfind have an argument
...
Problem: No early check if :find and :sfind have an argument.
Solution: Add EX_NEEDARG.
2020-03-19 14:37:30 +01:00
e32848780c
patch 8.2.0406: FileReadCmd event not well tested
...
Problem: FileReadCmd event not well tested.
Solution: Add a test.
2020-03-19 13:55:03 +01:00
3fa5e13262
patch 8.2.0405: MSVC: build fails with some combination of features
...
Problem: MSVC: build fails with some combination of features.
Solution: Enable CHANNEL if TERMINAL is enabled. (Mike Williams)
2020-03-19 13:36:56 +01:00
18a2b87ca2
patch 8.2.0404: writefile() error does not give a hint
...
Problem: Writefile() error does not give a hint.
Solution: Add remark about first argument.
2020-03-19 13:08:45 +01:00
a3a9c8ef69
patch 8.2.0403: when 'buftype' is "nofile" there is no overwrite check
...
Problem: When 'buftype' is "nofile" there is no overwrite check.
Solution: Also check for existing file when 'buftype' is set.
(closes #5807 )
2020-03-19 12:38:34 +01:00
30d53e2c11
patch 8.2.0402: setting local instead of global flag
...
Problem: Setting local instead of global flag.
Solution: Prepend "g:" to "test_is_flaky".
2020-03-18 21:10:44 +01:00
8dfcce3a78
patch 8.2.0401: not enough test coverage for evalvars.c
...
Problem: Not enough test coverage for evalvars.c.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5804 )
2020-03-18 19:32:26 +01:00
3cdcb090a6
patch 8.2.0400: not all tests using a terminal are in the list of flaky tests
...
Problem: Not all tests using a terminal are in the list of flaky tests.
Solution: Introduce the test_is_flaky flag.
2020-03-18 19:18:10 +01:00
292b90d4fa
patch 8.2.0399: various memory leaks
...
Problem: Various memory leaks.
Solution: Avoid the leaks. (Ozaki Kiichi, closes #5803 )
2020-03-18 15:23:16 +01:00
a21df1db3c
patch 8.2.0398: profile test fails when two functions take same time
...
Problem: Profile test fails when two functions take same time.
Solution: Add a short sleep in once function. (closes #5797 )
2020-03-17 20:57:09 +01:00
5715b3147b
patch 8.2.0397: delayed screen update when using undo from Insert mode
...
Problem: Delayed screen update when using undo from Insert mode.
Solution: Update w_topline and cursor shape before sleeping. (closes #5790 )
2020-03-16 22:08:45 +01:00
24ebd83e03
patch 8.2.0396: cmdexpand.c insufficiently tested
...
Problem: Cmdexpand.c insufficiently tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5789 )
2020-03-16 21:25:24 +01:00
a2cbdea968
patch 8.2.0395: build fails with FEAT_EVAL but without FEAT_MENU
...
Problem: Build fails with FEAT_EVAL but without FEAT_MENU.
Solution: Add #ifdef. (John Marriott)
2020-03-16 21:08:31 +01:00
7f009dfa06
patch 8.2.0394: Coverity complains about using NULL pointer
...
Problem: Coverity complains about using NULL pointer.
Solution: Use empty string when option value is NULL.
2020-03-16 20:27:38 +01:00
c030063329
patch 8.2.0393: Coverity warns for not using return value
...
Problem: Coverity warns for not using return value.
Solution: Add (void).
2020-03-16 20:07:16 +01:00
56cb337872
patch 8.2.0392: Coverity warns for using array index out of range
...
Problem: Coverity warns for using array index out of range.
Solution: Add extra "if" to avoid warning.
2020-03-16 20:04:41 +01:00
b2e1f8a28f
patch 8.2.0391: CI test coverage dropped
...
Problem: CI test coverage dropped.
Solution: Set $DISPLAY also for non-GUI builds. (James McCoy, closes #5788 )
2020-03-16 12:09:30 +01:00
ddbfe238a5
patch 8.2.0390: terminal postponed scrollback test is flaky
...
Problem: Terminal postponed scrollback test is flaky.
Solution: Add delay in between sending keys. Rename dump files.
2020-03-15 20:33:40 +01:00
e4fc746d13
patch 8.2.0389: delayed redraw when shifting text from Insert mode
...
Problem: Delayed redraw when shifting text from Insert mode.
Solution: Use msg_attr_keep() instead of msg(). (closes #5782 )
2020-03-15 19:17:50 +01:00
833805a486
patch 8.2.0388: printmbcharset option not tested
...
Problem: Printmbcharset option not tested.
Solution: Add a test. Enable PostScript for AppVeyor build. (Dominique
Pelle, closes #5783 )
2020-03-15 18:27:43 +01:00
bb65a5690c
patch 8.2.0387: error for possible NULL argument to qsort()
...
Problem: Error for possible NULL argument to qsort().
Solution: Don't call qsort() when there is nothing to sort. (Dominique
Pelle, closes #5780 )
2020-03-15 18:15:03 +01:00
0bdbc10e8a
patch 8.2.0386: part from unfinished patch got included
...
Problem: Part from unfinished patch got included.
Solution: Undo that part.
2020-03-15 16:51:40 +01:00
0eabd4dc8f
patch 8.2.0385: menu functionality insufficiently tested
...
Problem: Menu functionality insufficiently tested.
Solution: Add tests. Add menu_info(). (Yegappan Lakshmanan, closes #5760 )
2020-03-15 16:13:53 +01:00
5e4d1eba95
patch 8.2.0384: Travis CI has warnings
...
Problem: Travis CI has warnings.
Solution: Avoid warnings, clean up the config. (Ozaki Kiichi, closes #5779 )
2020-03-15 15:10:11 +01:00
4f32f9c90e
patch 8.2.0383: wrong feature check causes test not to be run
...
Problem: Wrong feature check causes test not to be run.
Solution: Use CheckFunction instead of CheckFeature. (Ozaki Kiichi,
closes #5781 )
2020-03-15 14:53:35 +01:00
353c351bd2
patch 8.2.0382: some tests fail when run under valgrind
...
Problem: Some tests fail when run under valgrind.
Solution: Increase timeouts.
2020-03-15 14:19:26 +01:00
2573af3519
patch 8.2.0381: using freed memory with :lvimgrep and autocommand
...
Problem: Using freed memory with :lvimgrep and autocommand. (extracted from
POC by Dominique Pelle)
Solution: Avoid deleting a dummy buffer used in a window. (closes #5777 )
2020-03-14 17:21:34 +01:00
1939826509
patch 8.2.0380: tiny popup when creating a terminal popup without minwidth
...
Problem: Tiny popup when creating a terminal popup without minwidth.
Solution: Use a default mininum size of 5 lines of 20 characters.
2020-03-14 15:28:08 +01:00
b17893aa94
Update runtime files
2020-03-14 08:19:51 +01:00
965fd8d4dc
patch 8.2.0379: gcc warns for ambiguous else
...
Problem: Gcc warns for ambiguous else.
Solution: Add braces. (Dominique Pelle, closes #5778 )
2020-03-14 07:46:40 +01:00
346f18e5fe
patch 8.2.0378: prop_find() does not find all props
...
Problem: prop_find() does not find all props.
Solution: Check being in the start line. (Axel Forsman, closes #5776 )
2020-03-13 21:36:40 +01:00
d47e6f0b4c
patch 8.2.0377: no CI test for a big-endian system
...
Problem: No CI test for a big-endian system.
Solution: Test with s390x. (James McCoy, closes #5772 )
2020-03-13 15:44:49 +01:00
fa5d8a191d
patch 8.2.0376: nasty callback test fails on some systems
...
Problem: Nasty callback test fails on some systems.
Solution: Increase the sleep time.
2020-03-13 14:55:23 +01:00
8210693795
patch 8.2.0375: Coverity warning for not using return value
...
Problem: Coverity warning for not using return value.
Solution: Move error message to separate function.
2020-03-13 14:34:38 +01:00
8a677a37d0
patch 8.2.0374: using wrong printf directive for jump location
...
Problem: Using wrong printf directive for jump location.
Solution: Change "%lld" to "%d". (James McCoy, closes #5773 )
2020-03-12 19:15:45 +01:00
3a05ce63fe
patch 8.2.0373: type of term_sendkeys() is unknown
...
Problem: Type of term_sendkeys() is unknown.
Solution: Just return zero. (closes #5762 )
2020-03-11 19:30:01 +01:00
66b98854d8
patch 8.2.0372: prop_find() may not find text property at start of the line
...
Problem: Prop_find() may not find text property at start of the line.
Solution: Adjust the loop to find properties. (Axel Forsman, closes #5761 ,
closes #5663 )
2020-03-11 19:15:52 +01:00
cee52204ca
patch 8.2.0371: crash with combination of terminal popup and autocmd
...
Problem: Crash with combination of terminal popup and autocmd.
Solution: Disallow closing a popup that is the current window. Add a check
that the current buffer is valid. (closes #5754 )
2020-03-11 14:19:58 +01:00
e49b4bb895
patch 8.2.0370: the typebuf_was_filled flag is sometimes not reset
...
Problem: The typebuf_was_filled flag is sometimes not reset, which may
cause a hang.
Solution: Make sure typebuf_was_filled is reset when the typeahead buffer is
empty.
2020-03-11 13:01:40 +01:00
1671f44881
patch 8.2.0369: various Normal mode commands not fully tested
...
Problem: Various Normal mode commands not fully tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #5751 )
2020-03-10 07:48:13 +01:00
5269bd2a72
patch 8.2.0368: Vim9: import that redefines local variable does not fail
...
Problem: Vim9: import that redefines local variable does not fail.
Solution: Check for already defined symbols.
2020-03-09 19:25:27 +01:00
3a2505cc18
patch 8.2.0367: can use :pedit in a popup window
...
Problem: Can use :pedit in a popup window.
Solution: Disallow it.
2020-03-09 16:40:41 +01:00
2e09634a78
patch 8.2.0366: hardcopy command not tested enough
...
Problem: Hardcopy command not tested enough.
Solution: Add tests for printing. (Dominique Pelle, closes #5748 )
2020-03-09 12:13:27 +01:00
283e5f4e69
patch 8.2.0365: tag kind can't be a multi-byte character
...
Problem: Tag kind can't be a multi-byte character. (Marcin Szamotulski)
Solution: Recognize multi-byte character. (closes #5724 )
2020-03-09 08:17:52 +01:00
693e80e938
patch 8.2.0364: printf test failing on Haiku
...
Problem: Printf test failing on Haiku.
Solution: Make a difference between int and short. (Dominique Pelle,
closes #5749 )
2020-03-08 18:41:09 +01:00