]> granicus.if.org Git - vim/log
vim
4 years agopatch 8.2.1187: terminal2 test sometimes hangs in the GUI on Travis v8.2.1187
Bram Moolenaar [Sun, 12 Jul 2020 12:09:23 +0000 (14:09 +0200)]
patch 8.2.1187: terminal2 test sometimes hangs in the GUI on Travis

Problem:    Terminal2 test sometimes hangs in the GUI on Travis.
Solution:   Disable Test_zz2_terminal_guioptions_bang() for now.

4 years agopatch 8.2.1186: with SGR mouse codes balloon doesn't show up after click v8.2.1186
Bram Moolenaar [Sun, 12 Jul 2020 11:47:42 +0000 (13:47 +0200)]
patch 8.2.1186: with SGR mouse codes balloon doesn't show up after click

Problem:    With SGR mouse codes balloon doesn't show up after click.
Solution:   Add the MOUSE_RELEASE bits to mouse_code.

4 years agopatch 8.2.1185: some other tests fail v8.2.1185
Bram Moolenaar [Sat, 11 Jul 2020 20:49:59 +0000 (22:49 +0200)]
patch 8.2.1185: some other tests fail

Problem:    Some other tests fail.
Solution:   Adjust tests for different assert_fails() behavior.

4 years agopatch 8.2.1184: some tests fail v8.2.1184
Bram Moolenaar [Sat, 11 Jul 2020 20:25:57 +0000 (22:25 +0200)]
patch 8.2.1184: some tests fail

Problem:    Some tests fail.
Solution:   Adjust tests for different assert_fails() behavior.  Remove unused
            variable.

4 years agopatch 8.2.1183: assert_fails() checks the last error message v8.2.1183
Bram Moolenaar [Sat, 11 Jul 2020 20:14:59 +0000 (22:14 +0200)]
patch 8.2.1183: assert_fails() checks the last error message

Problem:    assert_fails() checks the last error message.
Solution:   Check the first error, it is more relevant.  Fix all the tests
            that rely on the old behavior.

4 years agopatch 8.2.1182: Vim9: no check for whitespace after comma in lambda v8.2.1182
Bram Moolenaar [Sat, 11 Jul 2020 13:20:48 +0000 (15:20 +0200)]
patch 8.2.1182: Vim9: no check for whitespace after comma in lambda

Problem:    Vim9: no check for whitespace after comma in lambda.
Solution:   Give error if white space is missing.

4 years agopatch 8.2.1181: json code not fully tested v8.2.1181
Bram Moolenaar [Sat, 11 Jul 2020 12:26:08 +0000 (14:26 +0200)]
patch 8.2.1181: json code not fully tested

Problem:    Json code not fully tested.
Solution:   Add more test coverage. (Dominique Pellé, closes #6433)

4 years agopatch 8.2.1180: build failure in small version v8.2.1180
Bram Moolenaar [Sat, 11 Jul 2020 12:08:04 +0000 (14:08 +0200)]
patch 8.2.1180: build failure in small version

Problem:    Build failure in small version.
Solution:   Add #ifdef.

4 years agopatch 8.2.1179: Test_termwinscroll() sometimes hangs in the GUI v8.2.1179
Bram Moolenaar [Sat, 11 Jul 2020 12:04:28 +0000 (14:04 +0200)]
patch 8.2.1179: Test_termwinscroll() sometimes hangs in the GUI

Problem:    Test_termwinscroll() sometimes hangs in the GUI.
Solution:   Skip the test in the GUI.

4 years agopatch 8.2.1178: Vim9: filter function recognized as command modifier v8.2.1178
Bram Moolenaar [Sat, 11 Jul 2020 11:40:45 +0000 (13:40 +0200)]
patch 8.2.1178: Vim9: filter function recognized as command modifier

Problem:    Vim9: filter function recognized as command modifier, leading to a
            crash.
Solution:   Clear cmdmod after freeing items.  Do not recognize a command
            modifier followed by non-white space. (closes #6434)

4 years agopatch 8.2.1177: terminal2 test sometimes hangs in the GUI v8.2.1177
Bram Moolenaar [Sat, 11 Jul 2020 11:09:36 +0000 (13:09 +0200)]
patch 8.2.1177: terminal2 test sometimes hangs in the GUI

Problem:    Terminal2 test sometimes hangs in the GUI.
Solution:   Move some tests to other files to further locate the problem.
            Set the GUI to a fixed screen size.

4 years agopatch 8.2.1176: Vim9: not enough type checking in Vim9 script v8.2.1176
Bram Moolenaar [Fri, 10 Jul 2020 20:45:38 +0000 (22:45 +0200)]
patch 8.2.1176: Vim9: not enough type checking in Vim9 script

Problem:    Vim9: not enough type checking in Vim9 script.
Solution:   Use same type checking as in a :def function.

4 years agoUpdate runtime files
Bram Moolenaar [Fri, 10 Jul 2020 20:00:53 +0000 (22:00 +0200)]
Update runtime files

4 years agopatch 8.2.1175: Vim9: cannot split a line before ".member" v8.2.1175
Bram Moolenaar [Fri, 10 Jul 2020 19:50:41 +0000 (21:50 +0200)]
patch 8.2.1175: Vim9: cannot split a line before ".member"

Problem:    Vim9: Cannot split a line before ".member".
Solution:   Check for ".member" after line break.

4 years agopatch 8.2.1174: no test for the "recording @x" message v8.2.1174
Bram Moolenaar [Fri, 10 Jul 2020 19:17:51 +0000 (21:17 +0200)]
patch 8.2.1174: no test for the "recording @x" message

Problem:    No test for the "recording @x" message.
Solution:   Add a test. (Dominique Pellé, closes #6427)

4 years agopatch 8.2.1173: tee doesn't build on some systems v8.2.1173
Bram Moolenaar [Fri, 10 Jul 2020 18:45:31 +0000 (20:45 +0200)]
patch 8.2.1173: tee doesn't build on some systems

Problem:    Tee doesn't build on some systems.
Solution:   Include header files. (Dominique Pelle, closes #6431)

4 years agopatch 8.2.1172: error messages when doing "make clean" in doc or tee v8.2.1172
Bram Moolenaar [Fri, 10 Jul 2020 18:40:23 +0000 (20:40 +0200)]
patch 8.2.1172: error messages when doing "make clean" in doc or tee

Problem:    Error messages when doing "make clean" in the runtime/doc or
            src/tee directories.
Solution:   Use "rm -f".

4 years agopatch 8.2.1171: possible crash when out of memory v8.2.1171
Bram Moolenaar [Fri, 10 Jul 2020 18:30:12 +0000 (20:30 +0200)]
patch 8.2.1171: possible crash when out of memory

Problem:    Possible crash when out of memory.
Solution:   Check for NULL pointer. (Dominique Pellé, closes #6432)

4 years agopatch 8.2.1170: cursor off by one with block paste while 'virtualedit' "all" v8.2.1170
Bram Moolenaar [Fri, 10 Jul 2020 18:24:07 +0000 (20:24 +0200)]
patch 8.2.1170: cursor off by one with block paste while 'virtualedit' "all"

Problem:    Cursor off by one with block paste while 'virtualedit' is "all".
Solution:   Adjust condition. (Hugo Gualandi, closes #6430)

4 years agopatch 8.2.1169: write NUL past allocated space using corrupted spell file v8.2.1169
Bram Moolenaar [Fri, 10 Jul 2020 18:03:03 +0000 (20:03 +0200)]
patch 8.2.1169: write NUL past allocated space using corrupted spell file

Problem:    Write NUL past allocated space using corrupted spell file.
            (Markus Vervier)
Solution:   Init "c" every time.

4 years agopatch 8.2.1168: wrong method argument for appendbufline() v8.2.1168
Bram Moolenaar [Thu, 9 Jul 2020 20:53:30 +0000 (22:53 +0200)]
patch 8.2.1168: wrong method argument for appendbufline()

Problem:    Wrong method argument for appendbufline().
Solution:   Use FEARG_3.

4 years agopatch 8.2.1167: Vim9: builtin function method call only supports first arg v8.2.1167
Bram Moolenaar [Thu, 9 Jul 2020 19:20:47 +0000 (21:20 +0200)]
patch 8.2.1167: Vim9: builtin function method call only supports first arg

Problem:    Vim9: builtin function method call only supports first argument.
Solution:   Shift arguments when needed. (closes #6305, closes #6419)

4 years agopatch 8.2.1166: once mouse move events are enabled getchar() returns them v8.2.1166
Bram Moolenaar [Thu, 9 Jul 2020 17:16:35 +0000 (19:16 +0200)]
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)

4 years agopatch 8.2.1165: insufficient testing for the Tcl interface v8.2.1165
Bram Moolenaar [Thu, 9 Jul 2020 16:49:23 +0000 (18:49 +0200)]
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)

4 years agopatch 8.2.1164: text cleared by checking terminal properties not redrawn v8.2.1164
Bram Moolenaar [Wed, 8 Jul 2020 21:09:28 +0000 (23:09 +0200)]
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)

4 years agopatch 8.2.1163: build error v8.2.1163
Bram Moolenaar [Wed, 8 Jul 2020 20:36:17 +0000 (22:36 +0200)]
patch 8.2.1163: build error

Problem:    Build error.
Solution:   Add missing change to globals.

4 years agopatch 8.2.1162: crash when using a lambda v8.2.1162
Bram Moolenaar [Wed, 8 Jul 2020 20:24:09 +0000 (22:24 +0200)]
patch 8.2.1162: crash when using a lambda

Problem:    Crash when using a lambda.
Solution:   Check for evalarg to be NULL.

4 years agopatch 8.2.1161: Vim9: using freed memory v8.2.1161
Bram Moolenaar [Wed, 8 Jul 2020 20:01:49 +0000 (22:01 +0200)]
patch 8.2.1161: Vim9: using freed memory

Problem:    Vim9: using freed memory.
Solution:   Put pointer back in evalarg instead of freeing it.

4 years agopatch 8.2.1160: Vim9: memory leak in allocated types v8.2.1160
Bram Moolenaar [Wed, 8 Jul 2020 17:35:21 +0000 (19:35 +0200)]
patch 8.2.1160: Vim9: memory leak in allocated types

Problem:    Vim9: memory leak in allocated types.
Solution:   Free the type pointers.

4 years agopatch 8.2.1159: Vim9: no error for missing space after a comma v8.2.1159
Bram Moolenaar [Wed, 8 Jul 2020 16:38:08 +0000 (18:38 +0200)]
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.

4 years agopatch 8.2.1158: build error v8.2.1158
Bram Moolenaar [Wed, 8 Jul 2020 16:34:57 +0000 (18:34 +0200)]
patch 8.2.1158: build error

Problem:    Build error.
Solution:   Add missing change to globals.

4 years agopatch 8.2.1157: Vim9: dict.name is not recognized as an expression v8.2.1157
Bram Moolenaar [Wed, 8 Jul 2020 16:30:06 +0000 (18:30 +0200)]
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)

4 years agopatch 8.2.1156: Vim9: No error for invalid command in compiled function v8.2.1156
Bram Moolenaar [Wed, 8 Jul 2020 15:47:57 +0000 (17:47 +0200)]
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.

4 years agopatch 8.2.1155: Vim9: cannot handle line break inside lambda v8.2.1155
Bram Moolenaar [Wed, 8 Jul 2020 15:36:21 +0000 (17:36 +0200)]
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)

4 years agopatch 8.2.1154: Vim9: crash when using imported function v8.2.1154
Bram Moolenaar [Wed, 8 Jul 2020 13:16:19 +0000 (15:16 +0200)]
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)

4 years agopatch 8.2.1153: Vim9: script test fails on some systems v8.2.1153
Bram Moolenaar [Tue, 7 Jul 2020 21:31:36 +0000 (23:31 +0200)]
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().

4 years agopatch 8.2.1152: Vim9: function reference is missing script prefix v8.2.1152
Bram Moolenaar [Tue, 7 Jul 2020 20:50:12 +0000 (22:50 +0200)]
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)

4 years agopatch 8.2.1151: insufficient test coverage for Python v8.2.1151
Bram Moolenaar [Tue, 7 Jul 2020 18:50:39 +0000 (20:50 +0200)]
patch 8.2.1151: insufficient test coverage for Python

Problem:    Insufficient test coverage for Python.
Solution:   Add more test cases. (Yegappan Lakshmanan, closes #6415)

4 years agopatch 8.2.1150: ml_get error when using Python v8.2.1150
Bram Moolenaar [Tue, 7 Jul 2020 18:12:54 +0000 (20:12 +0200)]
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".

4 years agopatch 8.2.1149: Vim9: :eval command not handled properly v8.2.1149
Bram Moolenaar [Mon, 6 Jul 2020 21:04:49 +0000 (23:04 +0200)]
patch 8.2.1149: Vim9: :eval command not handled properly

Problem:    Vim9: :eval command not handled properly.
Solution:   Compile the :eval command. (closes #6408)

4 years agopatch 8.2.1148: warning for using int instead of size_t v8.2.1148
Bram Moolenaar [Mon, 6 Jul 2020 19:53:17 +0000 (21:53 +0200)]
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)

4 years agopatch 8.2.1147: :confirm may happen in cooked mode v8.2.1147
Bram Moolenaar [Mon, 6 Jul 2020 19:24:57 +0000 (21:24 +0200)]
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)

4 years agopatch 8.2.1146: not enough testing for Python v8.2.1146
Bram Moolenaar [Mon, 6 Jul 2020 19:03:06 +0000 (21:03 +0200)]
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)

4 years agopatch 8.2.1145: Vim9: "for" only accepts a list at compile time v8.2.1145
Bram Moolenaar [Sun, 5 Jul 2020 19:38:11 +0000 (21:38 +0200)]
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.

4 years agopatch 8.2.1144: Vim9: return type of reverse() is any v8.2.1144
Bram Moolenaar [Sun, 5 Jul 2020 19:10:24 +0000 (21:10 +0200)]
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.

4 years agopatch 8.2.1143: Vim9: return type of remove() is any v8.2.1143
Bram Moolenaar [Sun, 5 Jul 2020 18:55:29 +0000 (20:55 +0200)]
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.

4 years agopatch 8.2.1142: Vim9: return type of insert() is any v8.2.1142
Bram Moolenaar [Sun, 5 Jul 2020 18:47:18 +0000 (20:47 +0200)]
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.

4 years agopatch 8.2.1141: Vim9: return type of filter() is any v8.2.1141
Bram Moolenaar [Sun, 5 Jul 2020 18:16:41 +0000 (20:16 +0200)]
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.

4 years agopatch 8.2.1140: Vim9: return type of extend() is any v8.2.1140
Bram Moolenaar [Sun, 5 Jul 2020 18:08:39 +0000 (20:08 +0200)]
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.

4 years agopatch 8.2.1139: Vim9: test for silent echo fails in some environments v8.2.1139
Bram Moolenaar [Sun, 5 Jul 2020 16:48:23 +0000 (18:48 +0200)]
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.

4 years agopatch 8.2.1138: Vim9: return type of copy() and deepcopy() is any v8.2.1138
Bram Moolenaar [Sun, 5 Jul 2020 16:41:08 +0000 (18:41 +0200)]
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.

4 years agopatch 8.2.1137: Vim9: modifiers not cleared after compiling function v8.2.1137
Bram Moolenaar [Sun, 5 Jul 2020 16:18:42 +0000 (18:18 +0200)]
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)

4 years agopatch 8.2.1136: Vim9: return type of argv() is always any v8.2.1136
Bram Moolenaar [Sun, 5 Jul 2020 15:04:13 +0000 (17:04 +0200)]
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.

4 years agopatch 8.2.1135: Vim9: getting a dict member may not work v8.2.1135
Bram Moolenaar [Sun, 5 Jul 2020 14:51:26 +0000 (16:51 +0200)]
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.

4 years agopatch 8.2.1134: Vim9: getting a list member may not work v8.2.1134
Bram Moolenaar [Sun, 5 Jul 2020 14:42:13 +0000 (16:42 +0200)]
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)

4 years agopatch 8.2.1133: Vim9: return type of add() is not specific enough v8.2.1133
Bram Moolenaar [Sun, 5 Jul 2020 14:07:21 +0000 (16:07 +0200)]
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)

4 years agopatch 8.2.1132: Vim9: return type of repeat() is not specific enough v8.2.1132
Bram Moolenaar [Sun, 5 Jul 2020 14:01:56 +0000 (16:01 +0200)]
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)

4 years agopatch 8.2.1131: Vim9: error message for returning a value is not clear v8.2.1131
Bram Moolenaar [Sun, 5 Jul 2020 13:52:19 +0000 (15:52 +0200)]
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.

4 years agopatch 8.2.1130: Vim9: bar not recognized after function call v8.2.1130
Bram Moolenaar [Sun, 5 Jul 2020 13:32:17 +0000 (15:32 +0200)]
patch 8.2.1130: Vim9: bar not recognized after function call

Problem:    Vim9: bar not recognized after function call
Solution:   Skip whitespace. (closes #6391)

4 years agopatch 8.2.1129: Vim9: bar not recognized after not compiled command v8.2.1129
Bram Moolenaar [Sun, 5 Jul 2020 12:57:51 +0000 (14:57 +0200)]
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)

4 years agopatch 8.2.1128: the write message mentions characters, but it's bytes v8.2.1128
Bram Moolenaar [Sun, 5 Jul 2020 12:10:13 +0000 (14:10 +0200)]
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".

4 years agopatch 8.2.1127: Vim9: getting a dict member may not work v8.2.1127
Bram Moolenaar [Sat, 4 Jul 2020 17:19:43 +0000 (19:19 +0200)]
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)

4 years agopatch 8.2.1126: Vim9: using :copen causes an error v8.2.1126
Bram Moolenaar [Sat, 4 Jul 2020 15:39:10 +0000 (17:39 +0200)]
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().

4 years agopatch 8.2.1125: Vim9: double quote can be a string or a comment v8.2.1125
Bram Moolenaar [Sat, 4 Jul 2020 12:15:00 +0000 (14:15 +0200)]
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.

4 years agopatch 8.2.1124: Vim9: no line break allowed in :import command v8.2.1124
Bram Moolenaar [Sat, 4 Jul 2020 11:15:31 +0000 (13:15 +0200)]
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.

4 years agopatch 8.2.1123: Python 3 test is old style v8.2.1123
Bram Moolenaar [Fri, 3 Jul 2020 19:17:34 +0000 (21:17 +0200)]
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)

4 years agopatch 8.2.1122: Vim9: line continuation in dict member not recognized v8.2.1122
Bram Moolenaar [Fri, 3 Jul 2020 19:09:52 +0000 (21:09 +0200)]
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.

4 years agopatch 8.2.1121: command completion not working after ++arg v8.2.1121
Bram Moolenaar [Fri, 3 Jul 2020 16:15:06 +0000 (18:15 +0200)]
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)

4 years agopatch 8.2.1120: Python code not tested properly v8.2.1120
Bram Moolenaar [Fri, 3 Jul 2020 16:00:05 +0000 (18:00 +0200)]
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)

4 years agopatch 8.2.1119: configure fails with Xcode 12 beta v8.2.1119
Bram Moolenaar [Thu, 2 Jul 2020 20:50:37 +0000 (22:50 +0200)]
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)

4 years agopatch 8.2.1118: condition can never be true, dead code v8.2.1118
Bram Moolenaar [Thu, 2 Jul 2020 19:23:42 +0000 (21:23 +0200)]
patch 8.2.1118: condition can never be true, dead code

Problem:    Condition can never be true, dead code.
Solution:   Remove the dead code.

4 years agopatch 8.2.1117: Coverity warns for unsing unitialized field v8.2.1117
Bram Moolenaar [Thu, 2 Jul 2020 19:17:57 +0000 (21:17 +0200)]
patch 8.2.1117: Coverity warns for unsing unitialized field

Problem:    Coverity warns for unsing unitialized field.
Solution:   Initialize v_lock.

4 years agopatch 8.2.1116: Vim9: parsing command checks for list twice v8.2.1116
Bram Moolenaar [Thu, 2 Jul 2020 19:11:34 +0000 (21:11 +0200)]
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.

4 years agopatch 8.2.1115: iminsert test fails when compiled with VIMDLL v8.2.1115
Bram Moolenaar [Thu, 2 Jul 2020 18:59:05 +0000 (20:59 +0200)]
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)

4 years agopatch 8.2.1114: terminal test sometimes times out v8.2.1114
Bram Moolenaar [Wed, 1 Jul 2020 19:53:50 +0000 (21:53 +0200)]
patch 8.2.1114: terminal test sometimes times out

Problem:    Terminal test sometimes times out.
Solution:   Split the test in two parts.

4 years agopatch 8.2.1113: no test for verbose output of :call v8.2.1113
Bram Moolenaar [Wed, 1 Jul 2020 18:19:37 +0000 (20:19 +0200)]
patch 8.2.1113: no test for verbose output of :call

Problem:    No test for verbose output of :call.
Solution:   Add a test.

4 years agopatch 8.2.1112: Vim9: no line continuation allowed in method call v8.2.1112
Bram Moolenaar [Wed, 1 Jul 2020 18:07:14 +0000 (20:07 +0200)]
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.

4 years agopatch 8.2.1111: inconsistent naming of get_list_tv() and eval_dict() v8.2.1111
Bram Moolenaar [Wed, 1 Jul 2020 16:29:55 +0000 (18:29 +0200)]
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.

4 years agopatch 8.2.1110: Vim9: line continuation does not work in function arguments v8.2.1110
Bram Moolenaar [Wed, 1 Jul 2020 15:28:33 +0000 (17:28 +0200)]
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.

4 years agopatch 8.2.1109: still crashing when using s:variable v8.2.1109
Bram Moolenaar [Wed, 1 Jul 2020 14:00:44 +0000 (16:00 +0200)]
patch 8.2.1109: still crashing when using s:variable

Problem:    Still crashing when using s:variable.
Solution:   Remove assignment. (Ken Takata)

4 years agopatch 8.2.1108: mouse left-right scroll is not supported in terminal window v8.2.1108
Bram Moolenaar [Wed, 1 Jul 2020 13:49:29 +0000 (15:49 +0200)]
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)

4 years agopatch 8.2.1107: 'imactivatefunc' and 'imstatusfunc' are not used in the GUI v8.2.1107
Bram Moolenaar [Wed, 1 Jul 2020 13:12:44 +0000 (15:12 +0200)]
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)

4 years agopatch 8.2.1106: crash when trying to use s: variable in typed command v8.2.1106
Bram Moolenaar [Wed, 1 Jul 2020 12:38:12 +0000 (14:38 +0200)]
patch 8.2.1106: crash when trying to use s: variable in typed command

Problem:    Crash when trying to use s: variable in typed command.
Solution:   Don't use the script index when not set. (Ken Takata,
            closes #6366)

4 years agopatch 8.2.1105: insufficient test coverage for Lua v8.2.1105
Bram Moolenaar [Wed, 1 Jul 2020 11:52:55 +0000 (13:52 +0200)]
patch 8.2.1105: insufficient test coverage for Lua

Problem:    Insufficient test coverage for Lua.
Solution:   Add tests. (Yegappan Lakshmanan, closes #6368)  Fix uncovered
            memory leak.  Avoid unnecessary copy/free.

4 years agopatch 8.2.1104: Coverity warnts for possible NULL pointer use v8.2.1104
Bram Moolenaar [Wed, 1 Jul 2020 11:15:24 +0000 (13:15 +0200)]
patch 8.2.1104: Coverity warnts for possible NULL pointer use

Problem:    Coverity warnts for possible NULL pointer use.
Solution:   Check "pbyts" is not NULL.

4 years agopatch 8.2.1103: Coverity reports an unnecessary NULL check v8.2.1103
Bram Moolenaar [Wed, 1 Jul 2020 11:07:37 +0000 (13:07 +0200)]
patch 8.2.1103: Coverity reports an unnecessary NULL check

Problem:    Coverity reports an unnecessary NULL check.
Solution:   Remove the check for NULL.

4 years agopatch 8.2.1102: Coverity gets confused by an unnecessary NULL check v8.2.1102
Bram Moolenaar [Wed, 1 Jul 2020 11:04:05 +0000 (13:04 +0200)]
patch 8.2.1102: Coverity gets confused by an unnecessary NULL check

Problem:    Coverity gets confused by an unnecessary NULL check.
Solution:   Remove the check for NULL.

4 years agopatch 8.2.1101: no error when using wrong arguments for setqflist() v8.2.1101
Bram Moolenaar [Tue, 30 Jun 2020 20:11:44 +0000 (22:11 +0200)]
patch 8.2.1101: no error when using wrong arguments for setqflist()

Problem:    No error when using wrong arguments for setqflist() or
            setloclist().
Solution:   Check for the error.

4 years agopatch 8.2.1100: Vim9: cannot use line break in :execute argument v8.2.1100
Bram Moolenaar [Tue, 30 Jun 2020 20:02:02 +0000 (22:02 +0200)]
patch 8.2.1100: Vim9: cannot use line break in :execute argument

Problem:    Vim9: cannot use line break in :execute, :echomsg and :echoerr
            argument.
Solution:   Check for line break.

4 years agopatch 8.2.1099: Vim9: cannot use line break in :cexpr argument v8.2.1099
Bram Moolenaar [Tue, 30 Jun 2020 19:18:36 +0000 (21:18 +0200)]
patch 8.2.1099: Vim9: cannot use line break in :cexpr argument

Problem:    Vim9: cannot use line break in :cexpr argument.
Solution:   Check for line break.

4 years agopatch 8.2.1098: Vim9: cannot use line break in :throw argument v8.2.1098
Bram Moolenaar [Tue, 30 Jun 2020 18:55:15 +0000 (20:55 +0200)]
patch 8.2.1098: Vim9: cannot use line break in :throw argument

Problem:    Vim9: cannot use line break in :throw argument.
Solution:   Check for line break.

4 years agoRuntime file updates
Bram Moolenaar [Tue, 30 Jun 2020 18:38:27 +0000 (20:38 +0200)]
Runtime file updates

4 years agopatch 8.2.1097: highlight code not sufficiently tested v8.2.1097
Bram Moolenaar [Tue, 30 Jun 2020 16:45:43 +0000 (18:45 +0200)]
patch 8.2.1097: highlight code not sufficiently tested

Problem:    Highlight code not sufficiently tested.
Solution:   Add a few more tests. (Yegappan Lakshmanan, closes #6359)

4 years agopatch 8.2.1096: Vim9: return type of getqflist() is wrong v8.2.1096
Bram Moolenaar [Tue, 30 Jun 2020 11:38:01 +0000 (13:38 +0200)]
patch 8.2.1096: Vim9: return type of getqflist() is wrong

Problem:    Vim9: return type of getqflist() is wrong.
Solution:   Let the return type depend on the arguments.  Also for
            getloclist(). (closes #6367)

4 years agopatch 8.2.1095: may use pointer after freeing it v8.2.1095
Bram Moolenaar [Mon, 29 Jun 2020 21:18:42 +0000 (23:18 +0200)]
patch 8.2.1095: may use pointer after freeing it

Problem:    May use pointer after freeing it when text properties are used.
Solution:   Update redo buffer before calling ml_replace().

4 years agopatch 8.2.1094: dead code in libvterm v8.2.1094
Bram Moolenaar [Mon, 29 Jun 2020 21:14:02 +0000 (23:14 +0200)]
patch 8.2.1094: dead code in libvterm

Problem:    Dead code in libvterm.
Solution:   Remove condition that is always true.

4 years agopatch 8.2.1093: Python: double free when adding item to dict fails v8.2.1093
Bram Moolenaar [Mon, 29 Jun 2020 21:07:44 +0000 (23:07 +0200)]
patch 8.2.1093: Python: double free when adding item to dict fails

Problem:    Python: double free when adding item to dict fails.
Solution:   Remove vim_free() call.

4 years agopatch 8.2.1092: not checking if saving for undo succeeds v8.2.1092
Bram Moolenaar [Mon, 29 Jun 2020 21:02:21 +0000 (23:02 +0200)]
patch 8.2.1092: not checking if saving for undo succeeds

Problem:    Not checking if saving for undo succeeds.
Solution:   Bail out if u_savesub() returns FAIL.

4 years agopatch 8.2.1091: no check if opening a pty works v8.2.1091
Bram Moolenaar [Mon, 29 Jun 2020 20:40:42 +0000 (22:40 +0200)]
patch 8.2.1091: no check if opening a pty works

Problem:    No check if opening a pty works.
Solution:   Check for invalid file descriptor.

4 years agopatch 8.2.1090: may use NULL pointer when skipping over name v8.2.1090
Bram Moolenaar [Mon, 29 Jun 2020 20:31:36 +0000 (22:31 +0200)]
patch 8.2.1090: may use NULL pointer when skipping over name

Problem:    May use NULL pointer when skipping over name.
Solution:   Always set ll_name_end.