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 )
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 )
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().
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 )
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.
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 )
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 )
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 )
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 )
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 )
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 )
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 )
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 )
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.
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 )
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.
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 )
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.
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 )
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 )
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 )
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 )
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 )
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 )
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 )
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.
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 )
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.
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 )
2020-08-20 15:02:42 +02:00
Bram Moolenaar
93ad14710b
patch 8.2.1490: Vim9: using /= with float and number doesn't work
...
Problem: Vim9: using /= with float and number doesn't work.
Solution: Better support assignment with operator. (closes #6742 )
2020-08-19 22:02:41 +02:00
Bram Moolenaar
191929b182
patch 8.2.1489: Vim9: error when setting an option with setbufvar()
...
Problem: Vim9: error when setting an option with setbufvar().
Solution: Do not get a number from a string value. (closes #6740 )
2020-08-19 21:20:49 +02:00
Bram Moolenaar
9dc1917f42
patch 8.2.1488: text does not scroll when inserting above first line
...
Problem: Text does not scroll when inserting above first line.
Solution: Adjust off-by-one error. (Ken Takata, closes #6739 )
2020-08-19 20:19:48 +02:00
Bram Moolenaar
a7c4e74763
patch 8.2.1487: Travis: installing snd-dummy is not always useful
...
Problem: Travis: installing snd-dummy is not always useful.
Solution: Only install snd-dummy on amd64. (Ozaki Kiichi, closes #6738 )
2020-08-19 19:46:12 +02:00
Bram Moolenaar
f8abbf37d6
patch 8.2.1486: Vim9: readdir() expression doesn't accept bool
...
Problem: Vim9: readdir() expression doesn't accept bool.
Solution: Merge with code for readdirex(). (closes #6737 )
2020-08-19 16:00:06 +02:00
Bram Moolenaar
af8822ce08
patch 8.2.1485: Vim9: readdirex() expression doesn't accept bool
...
Problem: Vim9: readdirex() expression doesn't accept bool.
Solution: Accept both -1 and bool. (closes #6737 )
2020-08-19 13:55:01 +02:00
Bram Moolenaar
9b02d64cff
patch 8.2.1484: flaky failure in assert_fails()
...
Problem: Flaky failure in assert_fails().
Solution: Only used fourth argument if there is a third argument.
2020-08-18 23:24:13 +02:00
Bram Moolenaar
165036ddba
patch 8.2.1483: Vim9: error for using special as number
...
Problem: Vim9: error for using special as number when returning "false"
from a popup filter.
Solution: Use tv_get_bool(). (closes #6733 )
2020-08-18 22:50:38 +02:00
Bram Moolenaar
aeb2bdd0de
patch 8.2.1482: Vim9: crash when using a nested lambda
...
Problem: Vim9: crash when using a nested lambda.
Solution: Do not clear the growarray when not evaluating. Correct pointer
when getting the next line. (closes #6731 )
2020-08-18 22:32:03 +02:00
Bram Moolenaar
3affe7a6c6
patch 8.2.1481: Vim9: line number reported with error may be wrong
...
Problem: Vim9: line number reported with error may be wrong.
Solution: Check line number in tests.
2020-08-18 20:34:13 +02:00
Bram Moolenaar
e15eebd202
patch 8.2.1480: Vim9: skip expression in search() gives error
...
Problem: Vim9: skip expression in search() gives error.
Solution: use tv_get_bool() eval_expr_to_bool(). (closes #6729 )
2020-08-18 19:11:38 +02:00
Bram Moolenaar
1d634542cf
patch 8.2.1479: Vim9: error for list index uses wrong line number
...
Problem: Vim9: error for list index uses wrong line number.
Solution: Set source line number. (closes #6724 ) Add a way to assert the
line number of the error with assert_fails().
2020-08-18 13:41:50 +02:00
Bram Moolenaar
558813314d
patch 8.2.1478: Vim9: cannot use "true" for some popup options
...
Problem: Vim9: cannot use "true" for some popup options.
Solution: Add dict_get_bool(). (closes #6725 )
2020-08-18 13:04:15 +02:00
Bram Moolenaar
f39397e515
patch 8.2.1477: Vim9: error when using bufnr('%')
...
Problem: Vim9: error when using bufnr('%').
Solution: Don't give an error for using a string argument. (closes #6723 )
2020-08-17 22:21:36 +02:00
Bram Moolenaar
aa9675a61d
patch 8.2.1476: filetype test fails on MS-Windows
...
Problem: Filetype test fails on MS-Windows.
Solution: Remove "^" from pattern.
2020-08-17 21:57:09 +02:00
Bram Moolenaar
36967b32fd
patch 8.2.1475: Vim9: can't use v:true for option flags
...
Problem: Vim9: can't use v:true for option flags.
Solution: Add tv_get_bool_chk(). (closes #6725 )
2020-08-17 21:41:02 +02:00
Bram Moolenaar
624b6eaf20
patch 8.2.1474: /usr/lib/udef/rules.d not recognized as udevrules
...
Problem: /usr/lib/udef/rules.d not recognized as udevrules.
Solution: Adjust match pattern. (Haochen Tong, closes 36722)
2020-08-17 21:17:25 +02:00
Bram Moolenaar
021bda5671
patch 8.2.1473: items in a list given to :const can still be modified
...
Problem: Items in a list given to :const can still be modified.
Solution: Work like ":lockvar! name" but don't lock referenced items.
Make locking a blob work.
2020-08-17 21:07:22 +02:00
Bram Moolenaar
7b22117c4e
patch 8.2.1472: ":argdel" does not work like ":.argdel" as documented
...
Problem: ":argdel" does not work like ":.argdel" as documented. (Alexey
Demin)
Solution: Make ":argdel" work like ":.argdel". (closes #6727 )
Also fix giving the error "0 more files to edit".
2020-08-17 19:34:10 +02:00
Bram Moolenaar
241572794f
patch 8.2.1471: :const only locks the variable, not the value
...
Problem: :const only locks the variable, not the value.
Solution: Lock the value as ":lockvar 1 var" would do. (closes #6719 )
2020-08-16 22:50:01 +02:00
Bram Moolenaar
c0f8823ee4
patch 8.2.1470: errors in spell file not tested
...
Problem: Errors in spell file not tested.
Solution: Add test for spell file errors. (Yegappan Lakshmanan,
closes #6721 )
2020-08-16 21:51:49 +02:00