Bram Moolenaar
98945560c1
patch 8.2.1540: the user cannot try out emoji character widths
...
Problem: The user cannot try out emoji character widths.
Solution: Move the emoji script to the runtime/tools directory.
v8.2.1540
2020-08-29 16:41:27 +02:00
Bram Moolenaar
e3d4685f1f
patch 8.2.1539: using invalid script ID causes a crash
...
Problem: Using invalid script ID causes a crash.
Solution: Check the script ID to be valid. (closes #6804 )
v8.2.1539
2020-08-29 13:39:17 +02:00
Bram Moolenaar
423a85a11a
patch 8.2.1538: Python: iteration over vim objects fails to keep reference
...
Problem: Python: iteration over vim objects fails to keep reference.
Solution: Keep a reference for the object. (Paul Ollis, closes #6803 ,
closes #6806 )
v8.2.1538
2020-08-29 12:57:16 +02:00
Bram Moolenaar
b06a6d59d1
patch 8.2.1537: memory acccess error when using setcellwidths()
...
Problem: Memory acccess error when using setcellwidths().
Solution: Use array and pointers correctly.
v8.2.1537
2020-08-28 23:27:20 +02:00
Bram Moolenaar
4e4473c927
patch 8.2.1536: cannot get the class of a character; emoji widths are wrong
...
Problem: Cannot get the class of a character; emoji widths are wrong in
some environments.
Solution: Add charclass(). Update some emoji widths. Add script to check
emoji widths.
v8.2.1536
2020-08-28 22:24:57 +02:00
Bram Moolenaar
08aac3c619
patch 8.2.1535: it is not possible to specify cell widths of characters
...
Problem: It is not possible to specify cell widths of characters.
Solution: Add setcellwidths().
v8.2.1535
2020-08-28 21:04:24 +02:00
Bram Moolenaar
ee8580e52e
patch 8.2.1534: Vim9: type error for argument type is not at call position
...
Problem: Vim9: type error for argument type is not at call position.
Solution: Set the context and stack after checking the arguments.
(issue #6785 )
v8.2.1534
2020-08-28 17:19:07 +02:00
Bram Moolenaar
6a950581da
patch 8.2.1533: Vim9: error when passing getreginfo() result to setreg()
...
Problem: Vim9: error when passing getreginfo() result to setreg().
Solution: Use dict_get_bool() for "isunnamed". (closes #6784 )
v8.2.1533
2020-08-28 16:39:33 +02:00
Bram Moolenaar
2566054a7f
patch 8.2.1532: compiler warning for conversion of size_t to long
...
Problem: Compiler warning for conversion of size_t to long.
Solution: Add type cast.
v8.2.1532
2020-08-28 16:38:11 +02:00
Bram Moolenaar
7a3330fc57
patch 8.2.1531: Vim9: test still fails on MS-Windows
...
Problem: Vim9: test still fails on MS-Windows.
Solution: When skipping expect function to be NULL.
v8.2.1531
2020-08-27 23:57:57 +02:00
Bram Moolenaar
5163fcce79
patch 8.2.1530: Vim9: test fails on MS-Windows
...
Problem: Vim9: test fails on MS-Windows.
Solution: Skip Ex command inside "if false".
v8.2.1530
2020-08-27 23:37:09 +02:00
Bram Moolenaar
749639ec72
patch 8.2.1529: Vim9: :elseif may be compiled when not needed
...
Problem: Vim9: :elseif may be compiled when not needed.
Solution: Do evaluate the :elseif expression.
v8.2.1529
2020-08-27 23:08:47 +02:00
Bram Moolenaar
3988f64f9d
patch 8.2.1528: Vim9: :endif not found after "if false"
...
Problem: Vim9: :endif not found after "if false".
Solution: When skipping still check for a following command. (closes #6797 )
v8.2.1528
2020-08-27 22:43:03 +02:00
Bram Moolenaar
601e76ac3c
patch 8.2.1527: Vim9: cannot use a function name at script level
...
Problem: Vim9: cannot use a function name as a function reference at script
level.
Solution: Check if a name is a function name. (closes #6789 )
v8.2.1527
2020-08-27 21:33:10 +02:00
Bram Moolenaar
228e62975e
patch 8.2.1526: line in testdir Makefile got commented out
...
Problem: Line in testdir Makefile got commented out. (Christian Brabandt)
Solution: Revert.
v8.2.1526
2020-08-27 16:06:46 +02:00
Bram Moolenaar
6e3aeec846
patch 8.2.1525: messages from tests were not always displayed
...
Problem: Messages from tests were not always displayed.
Solution: Always show messages, the timing is always useful. (Ken Takata,
closes #6792 )
v8.2.1525
2020-08-26 22:29:57 +02:00
Bram Moolenaar
2e0866128b
patch 8.2.1524: no longer get an error for string concatenation with float
...
Problem: No longer get an error for string concatenation with float.
(Tsuyoshi Cho)
Solution: Only convert float for Vim9 script. (closes #6787 )
v8.2.1524
2020-08-25 22:37:48 +02:00
Bram Moolenaar
b9fc192f92
patch 8.2.1523: still not enough test coverage for the spell file handling
...
Problem: Still not enough test coverage for the spell file handling.
Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6790 )
v8.2.1523
2020-08-25 21:19:36 +02:00
Bram Moolenaar
c8ec5fe56f
patch 8.2.1522: not enough test coverage for the spell file handling
...
Problem: Not enough test coverage for the spell file handling.
Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6763 )
v8.2.1522
2020-08-24 20:28:56 +02:00
Bram Moolenaar
07399e7f07
patch 8.2.1521: reading past end of buffer when reading spellfile
...
Problem: Reading past end of buffer when reading spellfile. (Yegappan
Lakshmanan)
Solution: Store the byte length and check for it.
v8.2.1521
2020-08-24 20:05:50 +02:00
Bram Moolenaar
b3ea36c5bc
patch 8.2.1520: Vim9: CTRL-] used in :def function does not work
...
Problem: Vim9: CTRL-] used in :def function does not work.
Solution: Omit count or prepend colon. (closes #6769 )
v8.2.1520
2020-08-23 21:46:32 +02:00
Bram Moolenaar
c2af0afff5
patch 8.2.1519: Vim9: Ex command default range is not set
...
Problem: Vim9: Ex command default range is not set.
Solution: When range is not given use default. (closes #6779 )
v8.2.1519
2020-08-23 21:06:02 +02:00
Bram Moolenaar
2e80095501
patch 8.2.1518: Vim9: cannot assign to local option
...
Problem: Vim9: cannot assign to local option.
Solution: Skip over "&l:" and "&g:". (closes #6749 )
v8.2.1518
2020-08-23 19:34:48 +02:00
Bram Moolenaar
6c53fca023
patch 8.2.1517: cannot easily get the character under the cursor
...
Problem: Cannot easily get the character under the cursor.
Solution: Add the {chars} argument to strpart().
v8.2.1517
2020-08-23 17:34:46 +02:00
Bram Moolenaar
430deb1945
patch 8.2.1516: Vim9: error for :exe has wrong line number
...
Problem: Vim9: error for :exe has wrong line number.
Solution: Set line number before calling do_cmdline_cmd(). (closes #6774 )
v8.2.1516
2020-08-23 16:29:11 +02:00
Bram Moolenaar
8436773fad
patch 8.2.1515: Vim9: can create s:var in legacy script but cannot unlet
...
Problem: Vim9: can create s:var in legacy script but cannot unlet.
Solution: Allow :unlet for legacy script var.
v8.2.1515
2020-08-23 15:21:55 +02:00
Bram Moolenaar
dc0cf1db3e
patch 8.2.1514: multibyte vertical separator is cleared when dragging popup
...
Problem: Multibyte vertical separator is cleared when dragging a popup
window using a multi-byte character for the border.
Solution: Only clear the character before the window if it is double width.
(closes #6766 )
v8.2.1514
2020-08-23 15:09:36 +02:00
Bram Moolenaar
0981c8729e
patch 8.2.1513: cannot interrupt shell used for filename expansion
...
Problem: Cannot interrupt shell used for filename expansion. (Dominique
Pellé)
Solution: Do set tmode in mch_delay(). (closes #6770 )
v8.2.1513
2020-08-23 14:28:37 +02:00
Bram Moolenaar
69e44552c5
patch 8.2.1512: failure after trinary expression fails
...
Problem: Failure after trinary expression fails.
Solution: Restore eval_flags. (Yasuhiro Matsumoto, closes #6776 )
v8.2.1512
2020-08-22 22:37:20 +02:00
Bram Moolenaar
cd94277f72
patch 8.2.1511: putting a string in Visual block mode ignores multi-byte
...
Problem: Putting a string in Visual block mode ignores multi-byte
characters.
Solution: Adjust the column for Visual block mode. (closes #6767 )
v8.2.1511
2020-08-22 21:08:44 +02:00
Bram Moolenaar
5390099a97
patch 8.2.1510: using "var" in :def function may refer to legacy script var
...
Problem: Using "var" in a :def function may refer to a legacy Vim script
variable.
Solution: Require using "s:" to refer to a legacy Vim script variable.
(closes #6771 )
v8.2.1510
2020-08-22 19:02:02 +02:00
Bram Moolenaar
9943b3d979
patch 8.2.1509: vertical separator is cleared when dragging a popup window
...
Problem: Vertical separator is cleared when dragging a popup window using a
multi-byte character for the border.
Solution: Only clear the character before the window if it is using a
multi-byte character. (closes #6766 )
v8.2.1509
2020-08-22 17:21:14 +02:00
Bram Moolenaar
c63b72b6dc
patch 8.2.1508: not all debugger commands covered by tests
...
Problem: Not all debugger commands covered by tests.
Solution: Add tests for going up/down in the stack. (Ben Jackson,
closes #6765 )
v8.2.1508
2020-08-22 16:04:52 +02:00
Bram Moolenaar
51b6eb47b3
patch 8.2.1507: using malloc() directly
...
Problem: Using malloc() directly.
Solution: Use ALLOC_ONE(). Remove superfluous typecast. (Hussam al-Homsi,
closes #6768 )
v8.2.1507
2020-08-22 15:19:18 +02:00
Bram Moolenaar
d70840ed68
patch 8.2.1506: Vim9: no error when using a number other than 0 or 1 as bool
...
Problem: Vim9: no error when using a number other than 0 or 1 as bool.
Solution: Check the number is 0 or 1.
v8.2.1506
2020-08-22 15:06:35 +02:00
Bram Moolenaar
1b04ce2d40
patch 8.2.1505: not all file read and writecode is tested
...
Problem: Not all file read and writecode is tested.
Solution: Add a few tests. (Dominique Pellé, closes #6764 )
v8.2.1505
2020-08-21 22:46:11 +02:00
Bram Moolenaar
7cb6fc29d0
patch 8.2.1504: Vim9: white space checks are only done for a :def function
...
Problem: Vim9: white space checks are only done for a :def function.
Solution: Also do checks at the script level. Adjust the name of a few
error messages.
v8.2.1504
2020-08-21 22:36:47 +02:00
Bram Moolenaar
81e17fbe00
patch 8.2.1503: Vim9: error for autocmd defined in :def in legacy script
...
Problem: Vim9: error for an autocmd defined in a :def function in legacy
Vim script.
Solution: Don't check the variable type. (closes #6758 )
v8.2.1503
2020-08-21 21:55:43 +02:00
Bram Moolenaar
122616d9c1
patch 8.2.1502: Vim9: can use += with a :let command at script level
...
Problem: Vim9: can use += with a :let command at script level.
Solution: Give an error.
v8.2.1502
2020-08-21 21:32:50 +02:00
Bram Moolenaar
3fc71285d5
patch 8.2.1501: Vim9: concatenating to constant reverses order
...
Problem: Vim9: concatenating to constant reverses order.
Solution: Generate constant before option, register and environment
variable. (closes #6757 )
v8.2.1501
2020-08-21 20:43:17 +02:00
Bram Moolenaar
5d72ce69c8
patch 8.2.1500: Vim9: error when using address without a command
...
Problem: Vim9: error when using address without a command.
Solution: Execute the range itself. (closes #6747 )
v8.2.1500
2020-08-20 23:04:06 +02:00
Bram Moolenaar
ec65d77fa2
patch 8.2.1499: Vim9: error when using "$" with col()
...
Problem: Vim9: error when using "$" with col().
Solution: Reorder getting the column value. (closes #6744 )
v8.2.1499
2020-08-20 22:29:12 +02:00
Bram Moolenaar
733d259a83
patch 8.2.1498: on slow systems tests can be flaky
...
Problem: On slow systems tests can be flaky.
Solution: Use TermWait() instead of term-wait(). (Yegappan Lakshmanan,
closes #6756 )
v8.2.1498
2020-08-20 18:59:06 +02:00
Bram Moolenaar
17f67547f3
patch 8.2.1497: CursorHold test is flaky
...
Problem: CursorHold test is flaky. (Jakub Kądziołka)
Solution: Use WaitForAssert() (closes #6754 )
v8.2.1497
2020-08-20 18:29:13 +02:00
Bram Moolenaar
b8a9296ced
patch 8.2.1496: Vim9: cannot use " #" in a mapping
...
Problem: Vim9: cannot use " #" in a mapping.
Solution: Do not remove a comment with the EX_NOTRLCOM flag. (closes #6746 )
v8.2.1496
2020-08-20 18:02:47 +02:00
Bram Moolenaar
df2524bbb4
patch 8.2.1495: "make clean" may delete too many files
...
Problem: "make clean" may delete too many files.
Solution: Do not delete $APPDIR. (closes #6751 )
v8.2.1495
2020-08-20 16:16:27 +02:00
Bram Moolenaar
825b54415f
patch 8.2.1494: missing change to calling eval_getline()
...
Problem: Missing change to calling eval_getline().
Solution: Change last argument.
v8.2.1494
2020-08-20 15:52:21 +02:00
Bram Moolenaar
fc2a47ffc4
patch 8.2.1493: not enough test coverage for the spell file handling
...
Problem: Not enough test coverage for the spell file handling.
Solution: Add spell file tests. (Yegappan Lakshmanan, closes #6728 )
v8.2.1493
2020-08-20 15:41:55 +02:00
Bram Moolenaar
20b23c6358
patch 8.2.1492: build failures
...
Problem: Build failures.
Solution: Move typedef out of #ifdef. Adjust argument types. Discover
America.
v8.2.1492
2020-08-20 15:25:00 +02:00
Bram Moolenaar
66250c932e
patch 8.2.1491: Vim9: crash when compiling heredoc lines start with comment
...
Problem: Vim9: crash when compiling heredoc lines start with comment.
Solution: Skip over NULL pointers. Do not remove comment and empty lines
when fetching function lines. (closes #6743 )
v8.2.1491
2020-08-20 15:02:42 +02:00