Bram Moolenaar
083966f671
patch 8.2.2108: Vim9: no test to check for :let error
...
Problem: Vim9: no test to check for :let error.
Solution: Add a test. Rename tests from _let_ to _var_.
v8.2.2108
2020-12-08 11:29:40 +01:00
Bram Moolenaar
8ff16e0183
patch 8.2.2107: Vim9: some errors not tested
...
Problem: Vim9: some errors not tested.
Solution: Add tests. Fix getting the right error.
v8.2.2107
2020-12-07 21:49:52 +01:00
Bram Moolenaar
b237ae7b83
patch 8.2.2106: TOML files are not recognized
...
Problem: TOML files are not recognized.
Solution: Match *.toml. (issue #7432 )
v8.2.2106
2020-12-07 18:05:02 +01:00
Bram Moolenaar
7b130b9738
patch 8.2.2105: sound test is a bit flaky
...
Problem: Sound test is a bit flaky.
Solution: Use WaitForAssert(). (Dominique Pellé, closes #7429 )
v8.2.2105
2020-12-06 21:43:44 +01:00
Bram Moolenaar
d5a986f460
patch 8.2.2104: build problem with Ruby 2.7
...
Problem: Build problem with Ruby 2.7.
Solution: Adjust function declarations. (Ozaki Kiichi, closes #7430 )
v8.2.2104
2020-12-06 21:11:31 +01:00
Bram Moolenaar
41d6196e30
patch 8.2.2103: Vim9: unreachable code
...
Problem: Vim9: unreachable code.
Solution: Remove the code to prepend s: to the variable name
v8.2.2103
2020-12-06 20:12:43 +01:00
Bram Moolenaar
5402175815
patch 8.2.2102: Vim9: not all error messages tested
...
Problem: Vim9: not all error messages tested.
Solution: Add a few test cases.
v8.2.2102
2020-12-06 18:50:36 +01:00
Bram Moolenaar
8bb0f5472c
patch 8.2.2101: Vim9: memory leak when literal dict has an error
...
Problem: Vim9: memory leak when literal dict has an error and when an
expression is not complete.
Solution: Clear the typval and the growarray.
v8.2.2101
2020-12-06 16:03:55 +01:00
Bram Moolenaar
67322bf74a
patch 8.2.2100: insufficient testing for function range and dict
...
Problem: Insufficient testing for function range and dict.
Solution: Add a few tests. (Dominique Pellé, closes #7428 )
v8.2.2100
2020-12-06 15:03:19 +01:00
Bram Moolenaar
918a424917
patch 8.2.2099: Vim9: some checks are not tested
...
Problem: Vim9: some checks are not tested.
Solution: Add a few more tests. Give better error messages.
v8.2.2099
2020-12-06 14:37:08 +01:00
Bram Moolenaar
08cf0c0d82
patch 8.2.2098: Vim9: function argument of sort() and map() not tested
...
Problem: Vim9: function argument of sort() and map() not tested.
Solution: Add a couple of tests.
v8.2.2098
2020-12-05 21:47:06 +01:00
Bram Moolenaar
56602ba153
patch 8.2.2097: Vim9: using :silent! when calling a function prevents abort
...
Problem: Vim9: using :silent! when calling a function prevents abortng that
function.
Solution: Add emsg_silent_def and did_emsg_def.
v8.2.2097
2020-12-05 21:22:08 +01:00
Bram Moolenaar
f665e97ffa
patch 8.2.2096: Vim9: command modifiers not restored after assignment
...
Problem: Vim9: command modifiers not restored after assignment.
Solution: Jump to nextline instead of using continue.
v8.2.2096
2020-12-05 19:17:16 +01:00
Bram Moolenaar
4029cabbe7
patch 8.2.2095: Vim9: crash when failed dict member is followed by concat
...
Problem: Vim9: crash when failed dict member is followed by concatenation.
Solution: Remove the dict from the stack. (closes #7416 )
v8.2.2095
2020-12-05 18:13:27 +01:00
Bram Moolenaar
d0fe620cbb
patch 8.2.2094: when an expression fails getting next command may be wrong
...
Problem: When an expression fails getting the next command may be wrong.
Solution: Do not check for a next command after :eval fails. (closes #7415 )
v8.2.2094
2020-12-05 17:11:12 +01:00
Bram Moolenaar
c0913d023b
patch 8.2.2093: Vim9: script test sometimes fails
...
Problem: Vim9: script test sometimes fails.
Solution: Do not find a script variable by its typval if the name was
cleared.
v8.2.2093
2020-12-05 14:44:37 +01:00
Bram Moolenaar
2d870f8d9e
patch 8.2.2092: Vim9: unpredictable errors for script tests
...
Problem: Vim9: unpredictable errors for script tests.
Solution: Use a different script file name for each run.
v8.2.2092
2020-12-05 13:41:01 +01:00
Bram Moolenaar
29d2f45c88
patch 8.2.2091: MS-Windows: build warnings
...
Problem: MS-Windows: build warnings.
Solution: Add a #pragma to suppress the deprecation warning. (Ken Takata)
Avoid using a non-ASCII character. (closes #7421 )
v8.2.2091
2020-12-04 19:42:52 +01:00
Bram Moolenaar
c5e6a7179d
patch 8.2.2090: Vim9: dict does not accept a key in quotes
...
Problem: Vim9: dict does not accept a key in quotes.
Solution: Recognize a key in single or double quotes.
v8.2.2090
2020-12-04 19:12:14 +01:00
Bram Moolenaar
6cd42db9dc
patch 8.2.2089: libvterm test fails to build on Mac
...
Problem: Libvterm test fails to build on Mac.
Solution: Adjust configure to remove a space between -L and the path that
follows.
v8.2.2089
2020-12-04 18:09:54 +01:00
Bram Moolenaar
f6c177ab3a
patch 8.2.2088: Vim9: script test sometimes fails
...
Problem: Vim9: script test sometimes fails.
Solution: Unlet variables.
v8.2.2088
2020-12-04 17:38:00 +01:00
Bram Moolenaar
21e51221f2
patch 8.2.2087: Vim9: memory leak when statement is truncated
...
Problem: Vim9: memory leak when statement is truncated.
Solution: Increment the number of local variables.
v8.2.2087
2020-12-04 12:43:29 +01:00
Bram Moolenaar
476268c387
patch 8.2.2086: libvterm tests are only run on Linux
...
Problem: Libvterm tests are only run on Linux.
Solution: Use static libraries. (Ozaki Kiichi, closes #7419 )
v8.2.2086
2020-12-03 21:24:07 +01:00
Bram Moolenaar
c0d670ce16
patch 8.2.2085: Qt translation file is recognized as typescript
...
Problem: Qt translation file is recognized as typescript.
Solution: Check the first line for "<?xml". (closes #7418 )
v8.2.2085
2020-12-03 21:08:37 +01:00
Bram Moolenaar
0684e36a7e
patch 8.2.2084: CTRL-V U doesn't work to enter a Unicode character
...
Problem: CTRL-V U doesn't work to enter a Unicode character when
modifyOtherKeys is effective. (Ken Takata)
Solution: Add a flag to get_literal() for the shift key. (closes #7413 )
v8.2.2084
2020-12-03 19:54:42 +01:00
Bram Moolenaar
af0df47a76
patch 8.2.2083: Vim9: crash when using ":silent!" and getting member fails
...
Problem: Vim9: crash when using ":silent!" and getting member fails.
Solution: Jump to on_fatal_error. (closes #7412 )
v8.2.2083
2020-12-02 20:51:22 +01:00
Bram Moolenaar
e0de171ecd
patch 8.2.2082: Vim9: can still use the depricated #{} dict syntax
...
Problem: Vim9: can still use the depricated #{} dict syntax.
Solution: Remove support for #{} in Vim9 script. (closes #7406 , closes #7405 )
v8.2.2082
2020-12-02 17:36:54 +01:00
Bram Moolenaar
7f76494aac
patch 8.2.2081: Vim9: cannot handle a linebreak after "=" in assignment
...
Problem: Vim9: cannot handle a linebreak after "=" in assignment.
Solution: Skip over linebreak. (closes #7407 )
v8.2.2081
2020-12-02 15:11:18 +01:00
Bram Moolenaar
ea87069d78
patch 8.2.2080: Vim9: no proper error message for using s:var in for loop
...
Problem: Vim9: no proper error message for using s:var in for loop.
Solution: Give a specific error.
v8.2.2080
2020-12-02 14:24:30 +01:00
Bram Moolenaar
38bd8de551
patch 8.2.2079: Vim9: cannot put a linebreak before or after "in" of ":for"
...
Problem: Vim9: cannot put a linebreak before or after "in" of ":for".
Solution: Skip over linebreak.
v8.2.2079
2020-12-02 13:23:36 +01:00
Bram Moolenaar
1cbfc9914d
patch 8.2.2078: illegal memory access when using :print on invalid text
...
Problem: Illegal memory access when using :print on invalid text. (Dhiraj
Mishra)
Solution: Check for more composing characters than supported. (closes #7399 )
v8.2.2078
2020-12-02 12:37:37 +01:00
Bram Moolenaar
a452b808b4
patch 8.2.2077: build failure with small features
...
Problem: Build failure with small features.
Solution: Add #ifdef.
v8.2.2077
2020-12-01 21:47:59 +01:00
Bram Moolenaar
c478ee3d83
patch 8.2.2076: MS-Windows console: sometimes drops typed characters
...
Problem: MS-Windows console: sometimes drops typed characters.
Solution: Do not wait longer than 10 msec for input. (issue #7164 )
v8.2.2076
2020-12-01 21:27:51 +01:00
Bram Moolenaar
57cf4973a2
patch 8.2.2075: error for const argument to mapnew()
...
Problem: Error for const argument to mapnew().
Solution: Don't give an error. (closes #7400 )
v8.2.2075
2020-12-01 21:08:05 +01:00
Bram Moolenaar
4324d87a44
patch 8.2.2074: Vim9: using :normal from Vim9 script can't handle range
...
Problem: Vim9: using :normal from Vim9 script can't handle range.
Solution: Execute a :normal command in legacy script context. (closes #7401 )
v8.2.2074
2020-12-01 20:12:24 +01:00
Bram Moolenaar
4b8a065145
patch 8.2.2073: Vim9: for with unpack only works for local variables
...
Problem: Vim9: for with unpack only works for local variables.
Solution: Recognize different destinations.
v8.2.2073
2020-12-01 16:30:44 +01:00
Bram Moolenaar
004d9b00ba
patch 8.2.2072: Vim9: list assign not well tested
...
Problem: Vim9: list assign not well tested.
Solution: Test with different destinations. Fix white space error.
v8.2.2072
2020-11-30 21:40:03 +01:00
Bram Moolenaar
da7c20c953
patch 8.2.2071: Vim9: list assign doesn't except empty remainder list
...
Problem: Vim9: list assign doesn't except empty remainder list.
Solution: Recognize list assignment with ";".
v8.2.2071
2020-11-30 21:12:19 +01:00
Bram Moolenaar
f0068c5154
patch 8.2.2070: can't get the exit value in VimLeave(Pre) autocommands
...
Problem: Can't get the exit value in VimLeave or VimLeavePre autocommands.
Solution: Add v:exiting like in Neovim. (Yegappan Lakshmanan, closes #7395 )
v8.2.2070
2020-11-30 17:42:10 +01:00
Bram Moolenaar
23515b4ef7
Update runtime files
2020-11-29 14:36:24 +01:00
Bram Moolenaar
287153c5d4
patch 8.2.2069: the quickfix window is not updated after setqflist()
...
Problem: The quickfix window is not updated after setqflist().
Solution: Update the quickfix buffer. (Yegappan Lakshmanan, closes #7390 ,
closes #7385 )
v8.2.2069
2020-11-29 14:20:27 +01:00
Bram Moolenaar
b46f57e87b
patch 8.2.2068: transparent syntax item uses start/end of containing region
...
Problem: Transparent syntax item uses start/end of containing region.
Solution: Do not change the startpos and endpos of a transparent region to
that of its containing region. (Adrian Ghizaru, closes #7349 ,
closes #7391 )
v8.2.2068
2020-11-29 14:11:41 +01:00
Bram Moolenaar
f5452691ba
patch 8.2.2067: cursor position in popup terminal is wrong
...
Problem: Cursor position in popup terminal is wrong.
Solution: Don't check the flags.
v8.2.2067
2020-11-28 21:56:06 +01:00
Bram Moolenaar
ce2c5444e2
patch 8.2.2066: Vim9: assignment with += doesn't work
...
Problem: Vim9: assignment with += doesn't work.
Solution: Do not see the "+" as an addition operator.
v8.2.2066
2020-11-28 21:21:17 +01:00
Bram Moolenaar
f8ca03bf91
patch 8.2.2065: using map() and filter() on a range() is inefficient
...
Problem: Using map() and filter() on a range() is inefficient.
Solution: Do not materialize the range. (closes #7388 )
v8.2.2065
2020-11-28 20:32:29 +01:00
Bram Moolenaar
ebec3e29b8
patch 8.2.2064: terminal: cursor is on while redrawing, causing flicker
...
Problem: terminal: cursor is on while redrawing, causing flicker.
Solution: Switch the cursor off while redrawing. Always add the top and
left offset to the cursor position when not done already.
(closes #5943 )
v8.2.2064
2020-11-28 20:22:06 +01:00
Bram Moolenaar
dc234caff2
patch 8.2.2063: Vim9: only one level of indexing supported
...
Problem: Vim9: only one level of indexing supported.
Solution: Handle more than one index in an assignment.
v8.2.2063
2020-11-28 18:52:33 +01:00
Bram Moolenaar
4a44120e3d
patch 8.2.2062: <Cmd> does not handle CTRL-V
...
Problem: <Cmd> does not handle CTRL-V.
Solution: Call get_literal() after encountering CTRL-V. (closes #7387 )
v8.2.2062
2020-11-28 14:43:26 +01:00
Bram Moolenaar
4d05af0a64
patch 8.2.2061: Vim9: E1030 error when using empty string for term_sendkeys()
...
Problem: Vim9: E1030 error when using empty string for term_sendkeys().
Solution: Don't check for an invalid type unless the terminal can't be
found. (closes #7382 )
v8.2.2061
2020-11-27 20:55:00 +01:00
Bram Moolenaar
aeb313f355
patch 8.2.2060: check for features implemented with "if"
...
Problem: Check for features implemented with "if".
Solution: Use the Check commands. (Ken Takata, closes #7383 )
v8.2.2060
2020-11-27 19:13:28 +01:00