Bram Moolenaar
002262f4de
patch 8.2.1156: Vim9: No error for invalid command in compiled function
...
Problem: Vim9: No error for invalid command in compiled function.
Solution: Handle CMD_SIZE.
v8.2.1156
2020-07-08 17:47:57 +02:00
Bram Moolenaar
7a4b8980ea
patch 8.2.1155: Vim9: cannot handle line break inside lambda
...
Problem: Vim9: cannot handle line break inside lambda.
Solution: Pass the compilation context through. (closes #6407 , closes #6409 )
v8.2.1155
2020-07-08 17:36:21 +02:00
Bram Moolenaar
c620c055ce
patch 8.2.1154: Vim9: crash when using imported function
...
Problem: Vim9: crash when using imported function.
Solution: Check for a function type. Set the script context when calling a
function. (closes #6412 )
v8.2.1154
2020-07-08 15:16:19 +02:00
Bram Moolenaar
bed36b939a
patch 8.2.1153: Vim9: script test fails on some systems
...
Problem: Vim9: script test fails on some systems.
Solution: Return proper value from Compare().
v8.2.1153
2020-07-07 23:31:36 +02:00
Bram Moolenaar
fe465a01cf
patch 8.2.1152: Vim9: function reference is missing script prefix
...
Problem: Vim9: function reference is missing script prefix.
Solution: Use the actual function name instead of the name searched for in
the script context. (closes #6412 )
v8.2.1152
2020-07-07 22:50:12 +02:00
Bram Moolenaar
0ab55d6201
patch 8.2.1151: insufficient test coverage for Python
...
Problem: Insufficient test coverage for Python.
Solution: Add more test cases. (Yegappan Lakshmanan, closes #6415 )
v8.2.1151
2020-07-07 20:50:39 +02:00
Bram Moolenaar
bb790dcc46
patch 8.2.1150: ml_get error when using Python
...
Problem: ml_get error when using Python. (Yegappan Lakshmanan)
Solution: Check the line number is not out of range. Call "Check" with
"fromObj" instead of "from".
v8.2.1150
2020-07-07 20:12:54 +02:00
Bram Moolenaar
007f9d6ed5
patch 8.2.1149: Vim9: :eval command not handled properly
...
Problem: Vim9: :eval command not handled properly.
Solution: Compile the :eval command. (closes #6408 )
v8.2.1149
2020-07-06 23:04:49 +02:00
Bram Moolenaar
cbb6bdcd89
patch 8.2.1148: warning for using int instead of size_t
...
Problem: Warning for using int instead of size_t.
Solution: Change "len" argument to size_t. (Mike Williams)
v8.2.1148
2020-07-06 21:53:17 +02:00
Bram Moolenaar
27321dbeed
patch 8.2.1147: :confirm may happen in cooked mode
...
Problem: :confirm may happen in cooked mode. (Jason Franklin)
Solution: Switch to raw mode before prompting. (Brandon Pfeifer)
v8.2.1147
2020-07-06 21:24:57 +02:00
Bram Moolenaar
ab58946384
patch 8.2.1146: not enough testing for Python
...
Problem: Not enough testing for Python.
Solution: Add more tests. Fix uncovered problems. (Yegappan Lakshmanan,
closes #6392 )
v8.2.1146
2020-07-06 21:03:06 +02:00
Bram Moolenaar
0ad3e894d7
patch 8.2.1145: Vim9: "for" only accepts a list at compile time
...
Problem: Vim9: "for" only accepts a list at compile time.
Solution: Also accept a list at runtime.
v8.2.1145
2020-07-05 21:38:11 +02:00
Bram Moolenaar
67627355ac
patch 8.2.1144: Vim9: return type of reverse() is any
...
Problem: Vim9: return type of reverse() is any.
Solution: Use the type of the first argument.
v8.2.1144
2020-07-05 21:10:24 +02:00
Bram Moolenaar
ad7c249327
patch 8.2.1143: Vim9: return type of remove() is any
...
Problem: Vim9: return type of remove() is any.
Solution: Use the member type of the first argument, if known.
v8.2.1143
2020-07-05 20:55:29 +02:00
Bram Moolenaar
252e88a785
patch 8.2.1142: Vim9: return type of insert() is any
...
Problem: Vim9: return type of insert() is any.
Solution: Use type of the first argument.
v8.2.1142
2020-07-05 20:47:18 +02:00
Bram Moolenaar
0d94ad6958
patch 8.2.1141: Vim9: return type of filter() is any
...
Problem: Vim9: return type of filter() is any.
Solution: Use type of the argument.
v8.2.1141
2020-07-05 20:16:41 +02:00
Bram Moolenaar
b3c019cbc3
patch 8.2.1140: Vim9: return type of extend() is any
...
Problem: Vim9: return type of extend() is any.
Solution: Use type of the argument.
v8.2.1140
2020-07-05 20:08:39 +02:00
Bram Moolenaar
8f510afcd6
patch 8.2.1139: Vim9: test for silent echo fails in some environments
...
Problem: Vim9: test for silent echo fails in some environments.
Solution: Use :function instead of :def.
v8.2.1139
2020-07-05 18:48:23 +02:00
Bram Moolenaar
a66ba01a5f
patch 8.2.1138: Vim9: return type of copy() and deepcopy() is any
...
Problem: Vim9: return type of copy() and deepcopy() is any.
Solution: Use type of the argument.
v8.2.1138
2020-07-05 18:41:08 +02:00
Bram Moolenaar
47e7d70b58
patch 8.2.1137: Vim9: modifiers not cleared after compiling function
...
Problem: Vim9: modifiers not cleared after compiling function.
Solution: Clear command modifiers. (closes #6396 )
v8.2.1137
2020-07-05 18:18:42 +02:00
Bram Moolenaar
846178a72c
patch 8.2.1136: Vim9: return type of argv() is always any
...
Problem: Vim9: return type of argv() is always any.
Solution: Use list<string> if there is no argument.
v8.2.1136
2020-07-05 17:04:13 +02:00
Bram Moolenaar
50788ef349
patch 8.2.1135: Vim9: getting a dict member may not work
...
Problem: Vim9: getting a dict member may not work.
Solution: Clear the dict only after copying the item.
v8.2.1135
2020-07-05 16:51:26 +02:00
Bram Moolenaar
435d89789e
patch 8.2.1134: Vim9: getting a list member may not work
...
Problem: Vim9: getting a list member may not work.
Solution: Clear the list only after copying the item. (closes #6393 )
v8.2.1134
2020-07-05 16:42:13 +02:00
Bram Moolenaar
fce82b3aa7
patch 8.2.1133: Vim9: return type of add() is not specific enough
...
Problem: Vim9: return type of add() is not specific enough.
Solution: Return the type of the first argument. (closes #6395 )
v8.2.1133
2020-07-05 16:07:21 +02:00
Bram Moolenaar
9978d473e3
patch 8.2.1132: Vim9: return type of repeat() is not specific enough
...
Problem: Vim9: return type of repeat() is not specific enough.
Solution: Return the type of the first argument. (closes #6395 )
v8.2.1132
2020-07-05 16:01:56 +02:00
Bram Moolenaar
05a5551a86
patch 8.2.1131: Vim9: error message for returning a value is not clear
...
Problem: Vim9: error message for returning a value in a function that does
not return anything is not clear.
Solution: Add a specific message.
v8.2.1131
2020-07-05 15:52:19 +02:00
Bram Moolenaar
788123c00c
patch 8.2.1130: Vim9: bar not recognized after function call
...
Problem: Vim9: bar not recognized after function call
Solution: Skip whitespace. (closes #6391 )
v8.2.1130
2020-07-05 15:32:17 +02:00
Bram Moolenaar
e9f262bdff
patch 8.2.1129: Vim9: bar not recognized after not compiled command
...
Problem: Vim9: bar not recognized after not compiled command.
Solution: Check for bar for commands where this is possible. (closes #6391 )
v8.2.1129
2020-07-05 14:57:51 +02:00
Bram Moolenaar
3f40ce78f5
patch 8.2.1128: the write message mentions characters, but it's bytes
...
Problem: The write message mentions characters, but it's actually bytes.
Solution: Change "C" to "B" and "characters" to "bytes".
v8.2.1128
2020-07-05 14:10:13 +02:00
Bram Moolenaar
fb9d5c51c8
patch 8.2.1127: Vim9: getting a dict member may not work
...
Problem: Vim9: getting a dict member may not work.
Solution: Clear the dict only after copying the item. (closes #6390 )
v8.2.1127
2020-07-04 19:19:43 +02:00
Bram Moolenaar
eeb27bfe28
patch 8.2.1126: Vim9: using :copen causes an error
...
Problem: Vim9: using :copen causes an error.
Solution: Add flag LET_NO_COMMAND in set_var().
v8.2.1126
2020-07-04 17:39:10 +02:00
Bram Moolenaar
962d721319
patch 8.2.1125: Vim9: double quote can be a string or a comment
...
Problem: Vim9: double quote can be a string or a comment.
Solution: Only support comments starting with # to avoid confusion.
v8.2.1125
2020-07-04 14:15:00 +02:00
Bram Moolenaar
1c991144c5
patch 8.2.1124: Vim9: no line break allowed in :import command
...
Problem: Vim9: no line break allowed in :import command.
Solution: Skip over line breaks.
v8.2.1124
2020-07-04 13:15:31 +02:00
Bram Moolenaar
effb0cd75d
patch 8.2.1123: Python 3 test is old style
...
Problem: Python 3 test is old style.
Solution: Turn into new style test. (Yegappan Lakshmanan, closes #6385 )
v8.2.1123
2020-07-03 21:17:34 +02:00
Bram Moolenaar
442af2f89e
patch 8.2.1122: Vim9: line continuation in dict member not recognized
...
Problem: Vim9: line continuation in dict member not recognized.
Solution: Check for line continuation.
v8.2.1122
2020-07-03 21:09:52 +02:00
Bram Moolenaar
743d062020
patch 8.2.1121: command completion not working after ++arg
...
Problem: Command completion not working after ++arg.
Solution: Move skipping up. (Christian Brabandt, closes #6382 )
v8.2.1121
2020-07-03 18:15:06 +02:00
Bram Moolenaar
92fdd1e75d
patch 8.2.1120: Python code not tested properly
...
Problem: Python code not tested properly.
Solution: Add more tests and convert old-style test into new-style test.
(Yegappan Lakshmanan, closes #6370 )
v8.2.1120
2020-07-03 18:00:05 +02:00
Bram Moolenaar
5289783e0b
patch 8.2.1119: configure fails with Xcode 12 beta
...
Problem: Configure fails with Xcode 12 beta.
Solution: use "return" instead of "exit()". (Nico Weber, closes #6381 )
v8.2.1119
2020-07-02 22:50:37 +02:00
Bram Moolenaar
810af5ea46
patch 8.2.1118: condition can never be true, dead code
...
Problem: Condition can never be true, dead code.
Solution: Remove the dead code.
v8.2.1118
2020-07-02 21:23:42 +02:00
Bram Moolenaar
a9a8e5f0dc
patch 8.2.1117: Coverity warns for unsing unitialized field
...
Problem: Coverity warns for unsing unitialized field.
Solution: Initialize v_lock.
v8.2.1117
2020-07-02 21:17:57 +02:00
Bram Moolenaar
d2ef6b320b
patch 8.2.1116: Vim9: parsing command checks for list twice
...
Problem: Vim9: parsing command checks for list twice.
Solution: Adjust how a command is parsed.
v8.2.1116
2020-07-02 21:11:34 +02:00
Bram Moolenaar
c19fd917be
patch 8.2.1115: iminsert test fails when compiled with VIMDLL
...
Problem: Iminsert test fails when compiled with VIMDLL.
Solution: Change condition. (Ken Takata, closes #6376 )
v8.2.1115
2020-07-02 20:59:05 +02:00
Bram Moolenaar
1112c0febb
patch 8.2.1114: terminal test sometimes times out
...
Problem: Terminal test sometimes times out.
Solution: Split the test in two parts.
v8.2.1114
2020-07-01 21:53:50 +02:00
Bram Moolenaar
a0d072ef82
patch 8.2.1113: no test for verbose output of :call
...
Problem: No test for verbose output of :call.
Solution: Add a test.
v8.2.1113
2020-07-01 20:19:37 +02:00
Bram Moolenaar
5f195938d4
patch 8.2.1112: Vim9: no line continuation allowed in method call
...
Problem: Vim9: no line continuation allowed in method call.
Solution: Handle line continuation in expression before method call.
v8.2.1112
2020-07-01 20:07:14 +02:00
Bram Moolenaar
9a78e6df17
patch 8.2.1111: inconsistent naming of get_list_tv() and eval_dict()
...
Problem: Inconsistent naming of get_list_tv() and eval_dict().
Solution: Rename get_list_tv() to eval_list(). Similarly for eval_number(),
eval_string(), eval_lit_string() and a few others.
v8.2.1111
2020-07-01 18:29:55 +02:00
Bram Moolenaar
e6b5324e3a
patch 8.2.1110: Vim9: line continuation does not work in function arguments
...
Problem: Vim9: line continuation does not work in function arguments.
Solution: Pass "evalarg" to get_func_tv(). Fix seeing double quoted string
as comment.
v8.2.1110
2020-07-01 17:28:33 +02:00
Bram Moolenaar
086eb18ba1
patch 8.2.1109: still crashing when using s:variable
...
Problem: Still crashing when using s:variable.
Solution: Remove assignment. (Ken Takata)
v8.2.1109
2020-07-01 16:00:44 +02:00
Bram Moolenaar
d58d4f90ae
patch 8.2.1108: mouse left-right scroll is not supported in terminal window
...
Problem: Mouse left-right scroll is not supported in terminal window.
Solution: Implement mouse codes 6 and 7. (Trygve Aaberge, closes #6363 )
v8.2.1108
2020-07-01 15:49:29 +02:00
Bram Moolenaar
ef8c617b9c
patch 8.2.1107: 'imactivatefunc' and 'imstatusfunc' are not used in the GUI
...
Problem: 'imactivatefunc' and 'imstatusfunc' are not used in the GUI.
Solution: Adjust the #ifdefs. (closes #6367 )
v8.2.1107
2020-07-01 15:12:44 +02:00