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
Bram Moolenaar
0aae4809fd
patch 8.2.1469: Vim9: cannot assign string to string option
...
Problem: Vim9: cannot assign string to string option.
Solution: Change checks for option value. (closes #6720 )
2020-08-16 21:29:05 +02:00
Bram Moolenaar
f923571ec1
patch 8.2.1468: Vim9: invalid error for missing white space
...
Problem: Vim9: invalid error for missing white space.
Solution: Don't skip over white space after index. (closes #6718 )
2020-08-16 18:42:53 +02:00
Bram Moolenaar
e5abf7af08
patch 8.2.1467: Vim9: :echomsg doesn't like a dict argument
...
Problem: Vim9: :echomsg doesn't like a dict argument.
Solution: Convert arguments like in legacy script. (closes #6717 )
2020-08-16 18:29:35 +02:00
Bram Moolenaar
cc673e746a
patch 8.2.1466: Vim9: cannot index or slice a variable with type "any"
...
Problem: Vim9: cannot index or slice a variable with type "any".
Solution: Add runtime index and slice.
2020-08-16 17:33:35 +02:00
Bram Moolenaar
56acb0943e
patch 8.2.1465: Vim9: subscript not handled properly
...
Problem: Vim9: subscript not handled properly.
Solution: Adjust error message. Remove dead code. Disallow string to
number conversion in scripts.
2020-08-16 14:48:19 +02:00
Bram Moolenaar
829ac868b7
patch 8.2.1464: Vim9: build warning for unused variable
...
Problem: Vim9: build warning for unused variable.
Solution: Delete the variable declaration.
2020-08-15 22:48:48 +02:00
Bram Moolenaar
ed5918771f
patch 8.2.1463: Vim9: list slice not supported yet
...
Problem: Vim9: list slice not supported yet.
Solution: Add support for list slicing.
2020-08-15 22:14:53 +02:00
Bram Moolenaar
11107bab7e
patch 8.2.1462: Vim9: string slice not supported yet
...
Problem: Vim9: string slice not supported yet.
Solution: Add support for string slicing.
2020-08-15 21:10:16 +02:00
Bram Moolenaar
e3c37d8ebf
patch 8.2.1461: Vim9: string indexes are counted in bytes
...
Problem: Vim9: string indexes are counted in bytes.
Solution: Use character indexes. (closes #6574 )
2020-08-15 18:39:05 +02:00
Bram Moolenaar
451c2e3536
patch 8.2.1460: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more messages into errors.h.
2020-08-15 16:33:28 +02:00
Bram Moolenaar
53b29e4845
patch 8.2.1459: Vim9: declaring script var in script does not infer the type
...
Problem: Vim9: declaring ascript variable at the script level does not
infer the type.
Solution: Get the type from the value. (closes #6716 )
2020-08-15 14:31:20 +02:00
Bram Moolenaar
9a5c553f79
patch 8.2.1458: .gawk files not recognized
...
Problem: .gawk files not recognized.
Solution: Recognize .gawk files. (Doug Kearns)
2020-08-15 14:07:23 +02:00
Bram Moolenaar
793dcc540d
patch 8.2.1457: Vim9: the output of :disassemble cannot be interrupted
...
Problem: Vim9: the output of :disassemble cannot be interrupted.
Solution: Check got_int. (closes #6715 )
2020-08-15 13:49:17 +02:00
Bram Moolenaar
1623619119
patch 8.2.1456: MS-Windows: test files are not deleted
...
Problem: MS-Windows: test files are not deleted.
Solution: use "del" instead of $(DEL).
2020-08-14 23:08:22 +02:00
Bram Moolenaar
d1103587cf
patch 8.2.1455: Vim9: crash when using typecast before constant
...
Problem: Vim9: crash when using typecast before constant.
Solution: Generate constant before checking type. Add tets.
2020-08-14 22:44:25 +02:00
Bram Moolenaar
79e8db9a21
patch 8.2.1454: Vim9: failure invoking lambda with wrong arguments
...
Problem: Vim9: failure invoking lambda with wrong arguments.
Solution: Handle invalid arguments. Add a test.
2020-08-14 22:16:33 +02:00