0
0
mirror of https://github.com/vim/vim.git synced 2025-07-24 10:45:12 -04:00

12169 Commits

Author SHA1 Message Date
Bram Moolenaar
ae97b94176 patch 8.2.1166: once mouse move events are enabled getchar() returns them
Problem:    Once mouse move events are enabled getchar() returns them.
Solution:   Ignore K_MOUSEMOVE in getchar(). (closes #6424)
v8.2.1166
2020-07-09 19:16:35 +02:00
Bram Moolenaar
e4358906fd patch 8.2.1165: insufficient testing for the Tcl interface
Problem:    Insufficient testing for the Tcl interface.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #6423)
v8.2.1165
2020-07-09 18:49:23 +02:00
Bram Moolenaar
96916ac67a patch 8.2.1164: text cleared by checking terminal properties not redrawn
Problem:    Text cleared by checking terminal properties not redrawn. (Alexey
            Radkov)
Solution:   Mark the screen characters as invalid. (closes #6422)
v8.2.1164
2020-07-08 23:09:28 +02:00
Bram Moolenaar
6e13530ca0 patch 8.2.1163: build error
Problem:    Build error.
Solution:   Add missing change to globals.
v8.2.1163
2020-07-08 22:36:17 +02:00
Bram Moolenaar
efaaaa683b patch 8.2.1162: crash when using a lambda
Problem:    Crash when using a lambda.
Solution:   Check for evalarg to be NULL.
v8.2.1162
2020-07-08 22:24:09 +02:00
Bram Moolenaar
8e2730a315 patch 8.2.1161: Vim9: using freed memory
Problem:    Vim9: using freed memory.
Solution:   Put pointer back in evalarg instead of freeing it.
v8.2.1161
2020-07-08 22:01:49 +02:00
Bram Moolenaar
6110e79a58 patch 8.2.1160: Vim9: memory leak in allocated types
Problem:    Vim9: memory leak in allocated types.
Solution:   Free the type pointers.
v8.2.1160
2020-07-08 19:35:21 +02:00
Bram Moolenaar
6b7a0a8c20 patch 8.2.1159: Vim9: no error for missing space after a comma
Problem:    Vim9: no error for missing space after a comma.
Solution:   Check for white space.
v8.2.1159
2020-07-08 18:38:08 +02:00
Bram Moolenaar
b335b29e1c patch 8.2.1158: build error
Problem:    Build error.
Solution:   Add missing change to globals.
v8.2.1158
2020-07-08 18:34:57 +02:00
Bram Moolenaar
0a47e0970a patch 8.2.1157: Vim9: dict.name is not recognized as an expression
Problem:    Vim9: dict.name is not recognized as an expression.
Solution:   Recognize ".name". (closes #6418)
v8.2.1157
2020-07-08 18:30:06 +02:00
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