Bram Moolenaar
acbae18df5
patch 8.2.2139: Vim9: unreachable code in assignment
...
Problem: Vim9: unreachable code in assignment.
Solution: Don't check "new_local" when "has_index" is set. Add test for
wrong type of list index.
2020-12-13 18:44:43 +01:00
Bram Moolenaar
b5b9480ee9
patch 8.2.2138: Vim9: "exit_cb" causes Vim to exit
...
Problem: Vim9: "exit_cb" causes Vim to exit.
Solution: Require white space after a command in Vim9 script. (closes #7467 )
Also fix that Vim9 style heredoc was not always recognized.
2020-12-13 17:50:20 +01:00
Bram Moolenaar
e498429087
patch 8.2.2137: Vim9: :echo and :execute give error for empty argument
...
Problem: Vim9: :echo and :execute give error for empty argument.
Solution: Ignore an empty argument. (closes #7468 )
2020-12-13 14:19:25 +01:00
Bram Moolenaar
c530852315
patch 8.2.2136: Vim9: Using uninitialized variable
...
Problem: Vim9: Using uninitialized variable.
Solution: Initialize "len" to zero. Clean up fnamemodify().
2020-12-13 12:25:35 +01:00
Bram Moolenaar
93f82cbee5
patch 8.2.2135: Vim9: #{ still seen as start of dict in some places
...
Problem: Vim9: #{ still seen as start of dict in some places.
Solution: Remove check for { after #. (closes #7456 )
2020-12-12 21:25:56 +01:00
Bram Moolenaar
57f799e6a4
patch 8.2.2134: Vim9: get E1099 when autocmd triggered in builtin function
...
Problem: Vim9: get E1099 when autocmd triggered in builtin function.
Solution: Check that did_emsg increased instead of checking that it changed.
(closes #7448 )
2020-12-12 20:42:19 +01:00
Bram Moolenaar
2a9d5d386b
patch 8.2.2133: Vim9: checking for a non-empty string is too strict
...
Problem: Vim9: checking for a non-empty string is too strict.
Solution: Check for any string. (closes #7447 )
2020-12-12 18:58:40 +01:00
Bram Moolenaar
3ae50c775c
patch 8.2.2132: padding not drawn properly for popup window with title
...
Problem: Padding not drawn properly for popup window with title.
Solution: Draw the padding below the title. (closes #7460 )
2020-12-12 18:18:06 +01:00
Bram Moolenaar
709664cca0
patch 8.2.2131: Vim9: crash when lambda uses same var as assignment
...
Problem: Vim9: crash when lambda uses same var as assignment.
Solution: Do not let lookup_local change lv_from_outer, make a copy.
(closes #7461 )
2020-12-12 14:33:41 +01:00
Bram Moolenaar
cc2335896b
patch 8.2.2130: Insert mode completion messages end up in message history
...
Problem: Insert mode completion messages end up in message history.
Solution: Set msg_hist_off. (closes #7452
2020-12-12 13:32:07 +01:00
Bram Moolenaar
0ea7421ae6
patch 8.2.2129: MS-Windows: Checking if a file name is absolute is slow
...
Problem: MS-Windows: Checking if a file name is absolute is slow.
Solution: Do not use mch_FullName(). (closes #7033 )
2020-12-11 20:10:50 +01:00
Bram Moolenaar
100118c73a
patch 8.2.2128: there is no way to do something on CTRL-Z
...
Problem: There is no way to do something on CTRL-Z.
Solution: Add VimSuspend and VimResume autocommand events. (closes #7450 )
2020-12-11 19:30:34 +01:00
Bram Moolenaar
70249ee831
patch 8.2.2127: Vim9: executing user command from Vim9 script not tested
...
Problem: Vim9: executing user command defined in Vim9 script not tested.
Solution: Add a test.
2020-12-10 21:01:30 +01:00
Bram Moolenaar
0e12140550
patch 8.2.2126: Ruby: missing function prototype
...
Problem: Ruby: missing function prototype.
Solution: Add the prototype.
2020-12-10 20:50:34 +01:00
Bram Moolenaar
8f1bf2ef78
patch 8.2.2125: Vim9: leaking memory
...
Problem: Vim9: leaking memory.
Solution: Free the saved 'cpo' value.
2020-12-10 20:21:24 +01:00
Bram Moolenaar
08597875b2
patch 8.2.2124: Vim9: a range cannot be computed at runtime
...
Problem: Vim9: a range cannot be computed at runtime.
Solution: Add the ISN_RANGE instruction.
2020-12-10 19:43:40 +01:00
Bram Moolenaar
d356fc65d2
patch 8.2.2123: after using a complete popup the buffer is listed
...
Problem: After using a complete popup the buffer is listed. (Boris
Staletic)
Solution: Make the buffer unlisted.
2020-12-09 18:13:44 +01:00
Bram Moolenaar
9ec7026f24
patch 8.2.2122: Vim9: crash when sourcing vim9script early
...
Problem: Vim9: crash when sourcing vim9script early.
Solution: Use set_option_value() instead of setting p_cpo directly.
(closes #7441 )
2020-12-09 17:16:59 +01:00
Bram Moolenaar
a7a691cc14
patch 8.2.2121: internal error when using \ze before \zs in a pattern
...
Problem: Internal error when using \ze before \zs in a pattern.
Solution: Check the end is never before the start. (closes #7442 )
2020-12-09 16:36:04 +01:00
Bram Moolenaar
730677a0da
patch 8.2.2120: not all Perl functionality is tested
...
Problem: Not all Perl functionality is tested.
Solution: Add a few more test cases. (Dominique Pellé, closes #7440 )
2020-12-09 16:05:45 +01:00
Bram Moolenaar
7988a6f0e9
patch 8.2.2119: GTK3: status line background color is wrong
...
Problem: GTK3: status line background color is wrong.
Solution: Don't change the code for earlier GTK3 versions. (closes #7444 )
2020-12-09 15:53:27 +01:00
Bram Moolenaar
f46bf5204c
patch 8.2.2118: dead code in the job support
...
Problem: Dead code in the job support. (Dominique Pellé)
Solution: Define USE_ARGV before checking for it.
2020-12-09 13:16:13 +01:00
Bram Moolenaar
7bb4e74c38
patch 8.2.2117: some functions use any value as a string
...
Problem: Some functions use any value as a string.
Solution: Check that the value is a non-empty string.
2020-12-09 12:41:50 +01:00
Bram Moolenaar
2c78a772fd
patch 8.2.2116: MS-Windows GUI: test for 'guifont' is incomplete
...
Problem: MS-Windows GUI: test for 'guifont' is incomplete.
Solution: Set 'renderoptions'. (Christian Brabandt)
2020-12-09 12:01:03 +01:00
Bram Moolenaar
7257af477b
patch 8.2.2115: Vim9: some errors not tested for; dead code
...
Problem: Vim9: some errors not tested for; dead code.
Solution: Add a test. Remove dead code.
2020-12-08 22:08:51 +01:00
Bram Moolenaar
61265b4000
patch 8.2.2114: Vim9: unreachable code in assignment
...
Problem: Vim9: unreachable code in assignment.
Solution: Remove impossible condition and code.
2020-12-08 21:53:28 +01:00
Bram Moolenaar
1b3e0727ce
patch 8.2.2113: MS-Windows GUI: crash after using ":set guifont=" four times
...
Problem: MS-Windows GUI: crash after using ":set guifont=" four times.
Solution: Check for NULL pointer. (Ken Takata, closes #7434 )
2020-12-08 21:12:40 +01:00
Bram Moolenaar
ac665c24c9
patch 8.2.2112: running tests may leave some files behind
...
Problem: Running tests may leave some files behind.
Solution: Delete the right files. Fix a few typos. (Dominique Pellé,
closes #7436
2020-12-08 20:39:15 +01:00
Bram Moolenaar
023fd5d213
patch 8.2.2111: GTK: menu background is the same color as the main window
...
Problem: GTK: Menu background is the same color as the main window.
Solution: Fix white space around the test in another way. (closes #7437 ,
closes #7427 )
2020-12-08 20:31:16 +01:00
Bram Moolenaar
8e1cbb55c3
patch 8.2.2110: cannot use ":shell" when reading from stdin
...
Problem: Cannot use ":shell" when reading from stdin. (Gary Johnson)
Solution: Revert patch 8.2.1833.
2020-12-08 19:36:21 +01:00
Bram Moolenaar
8a3da6a368
patch 8.2.2109: "vim -" does not work well when modifyOtherKeys is enabled
...
Problem: "vim -" does not work well when modifyOtherKeys is enabled and a
shell command is executed on startup.
Solution: Only change modifyOtherKeys when executing a shell command in raw
mode.
2020-12-08 19:18:37 +01:00
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_.
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.
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 )
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 )
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 )
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
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.
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.
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 )
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.
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.
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.
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.
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 )
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 )
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.
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.
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 )
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.
2020-12-04 19:12:14 +01:00