Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
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
Bram Moolenaar
4cc45a3673
patch 8.2.1276: MS-Windows: system test may fail if more.exe is installed
...
Problem: MS-Windows: system test may fail if more.exe is installed.
Solution: Explicitly use more.com. (Taro Muraoka, Ken Takata, closes #6517 )
2020-07-23 14:51:02 +02:00
Bram Moolenaar
5a67c37a55
patch 8.2.1275: Vim9: compiler warning for buffer size
...
Problem: Vim9: compiler warning for buffer size.
Solution: Change the offset from 10 to 15. (Dominique Pellé, closes #6518 )
2020-07-23 14:39:47 +02:00
Bram Moolenaar
63be3d4ba0
patch 8.2.1274: Vim9: no error for missing white space at script level
...
Problem: Vim9: no error for missing white space in assignment at script
level.
Solution: Check for white space. (closes #6495 )
2020-07-23 13:11:37 +02:00
Bram Moolenaar
c69950ac17
patch 8.2.1273: MS-Windows: terminal test may leave file behind
...
Problem: MS-Windows: terminal test may leave file behind.
Solution: Wait a moment for process to end before deleting the file.
(Taro Muraoka, closes #6513 )
2020-07-22 22:23:40 +02:00
Bram Moolenaar
4cdb13ce81
patch 8.2.1272: Vim9: type not checked if declaration also assigns value
...
Problem: Vim9: type not checked if declaration also assigns value.
Solution: Check the type. (issue #6507 )
2020-07-22 21:45:14 +02:00
Bram Moolenaar
0f60e80f9b
patch 8.2.1271: Vim9: Error for Funcref function argument type
...
Problem: Vim9: Error for Funcref function argument type.
Solution: Find the actual function type if possible. (issue #6507 )
2020-07-22 20:16:11 +02:00
Bram Moolenaar
2f1980f7b7
patch 8.2.1270: Vim9: not skipping over function type declaration
...
Problem: Vim9: not skipping over function type declaration with only a
return type.
Solution: Skip over the return type. (issue #6507 )
2020-07-22 19:30:06 +02:00