]> granicus.if.org Git - vim/log
vim
4 years agopatch 8.2.2343: Vim9: return type of readfile() is any v8.2.2343
Bram Moolenaar [Wed, 13 Jan 2021 19:38:03 +0000 (20:38 +0100)]
patch 8.2.2343: Vim9: return type of readfile() is any

Problem:    Vim9: return type of readfile() is any.
Solution:   Add readblob() so that readfile() can be expected to always
            return a list of strings. (closes #7671)

4 years agopatch 8.2.2342: "char" functions may return wrong column in Insert mode v8.2.2342
Bram Moolenaar [Wed, 13 Jan 2021 19:08:38 +0000 (20:08 +0100)]
patch 8.2.2342: "char" functions may return wrong column in Insert mode

Problem:    "char" functions return the wront column in Insert mode when the
            cursor is beyond the end of the line.
Solution:   Compute the column correctly. (Yegappan Lakshmanan, closes #7669)

4 years agopatch 8.2.2341: expresison command line completion incomplete after "g:" v8.2.2341
Bram Moolenaar [Wed, 13 Jan 2021 18:48:46 +0000 (19:48 +0100)]
patch 8.2.2341: expresison command line completion incomplete after "g:"

Problem:    Expresison command line completion shows variables but not
            functions after "g:". (Gary Johnson)
Solution:   Prefix "g:" when needed to a global function.

4 years agopatch 8.2.2340: win_execute() unexpectedly returns number zero when failing v8.2.2340
Bram Moolenaar [Tue, 12 Jan 2021 21:08:53 +0000 (22:08 +0100)]
patch 8.2.2340: win_execute() unexpectedly returns number zero when failing

Problem:    win_execute() unexpectedly returns number zero when failing.
Solution:   Return an empty string. (closes #7665)

4 years agopatch 8.2.2339: cannot get the type of a value as a string v8.2.2339
Bram Moolenaar [Tue, 12 Jan 2021 20:49:00 +0000 (21:49 +0100)]
patch 8.2.2339: cannot get the type of a value as a string

Problem:    Cannot get the type of a value as a string.
Solution:   Add typename().

4 years agopatch 8.2.2338: Vim9: no error if using job_info() result wrongly v8.2.2338
Bram Moolenaar [Tue, 12 Jan 2021 20:22:31 +0000 (21:22 +0100)]
patch 8.2.2338: Vim9: no error if using job_info() result wrongly

Problem:    Vim9: no error if using job_info() result wrongly.
Solution:   Adjust return type on number of arguments. (closes #7667)

4 years agopatch 8.2.2337: configure test for GTK only says "no" v8.2.2337
Bram Moolenaar [Tue, 12 Jan 2021 19:51:24 +0000 (20:51 +0100)]
patch 8.2.2337: configure test for GTK only says "no"

Problem:    Configure test for GTK only says "no". (Harm te Hennepe)
Solution:   Hint that a -def package is needed. (closes #5229)

4 years agopatch 8.2.2336: Vim9: not possible to extend dictionary with different type v8.2.2336
Bram Moolenaar [Tue, 12 Jan 2021 19:23:40 +0000 (20:23 +0100)]
patch 8.2.2336: Vim9: not possible to extend dictionary with different type

Problem:    Vim9: it is not possible to extend a dictionary with different
            item types.
Solution:   Add extendnew(). (closes #7666)

4 years agopatch 8.2.2335: Vim9: "silent return" does not restore command modifiers v8.2.2335
Bram Moolenaar [Tue, 12 Jan 2021 17:58:39 +0000 (18:58 +0100)]
patch 8.2.2335: Vim9: "silent return" does not restore command modifiers

Problem:    Vim9: "silent return" does not restore command modifiers.
Solution:   Resture command modifiers before returning. (closes #7649)

4 years agopatch 8.2.2334: Pascal-like filetypes not always detected v8.2.2334
Bram Moolenaar [Tue, 12 Jan 2021 16:42:24 +0000 (17:42 +0100)]
patch 8.2.2334: Pascal-like filetypes not always detected

Problem:    Pascal-like filetypes not always detected.
Solution:   Improved Puppet, InstantFPC and Pascal detection. (Doug Kearns,
            closes #7662)

4 years agopatch 8.2.2333: Vim9: warning for uninitialized variable v8.2.2333
Bram Moolenaar [Tue, 12 Jan 2021 16:17:01 +0000 (17:17 +0100)]
patch 8.2.2333: Vim9: warning for uninitialized variable

Problem:    Vim9: warning for uninitialized variable. (Tony Mechelynck)
Solution:   Initialize "res".

4 years agopatch 8.2.2332: Vim9: missing :endif not reported when using :windo v8.2.2332
Bram Moolenaar [Mon, 11 Jan 2021 21:16:30 +0000 (22:16 +0100)]
patch 8.2.2332: Vim9: missing :endif not reported when using :windo

Problem:    Vim9: missing :endif not reported when using :windo.
Solution:   Pass a getline function to do_cmdline(). (closes #7650)

4 years agopatch 8.2.2331: Vim9: wrong error when modifying dict declared with :final v8.2.2331
Bram Moolenaar [Mon, 11 Jan 2021 20:20:18 +0000 (21:20 +0100)]
patch 8.2.2331: Vim9: wrong error when modifying dict declared with :final

Problem:    Vim9: wrong error when modifying dict declared with :final.
Solution:   Do not check for writable variable when an index follows.
            (closes #7657)

4 years agopatch 8.2.2330: Vim9: crash when using :trow in a not executed block v8.2.2330
Bram Moolenaar [Mon, 11 Jan 2021 19:17:34 +0000 (20:17 +0100)]
patch 8.2.2330: Vim9: crash when using :trow in a not executed block

Problem:    Vim9: crash when using :trow in a not executed block.
Solution:   Don't generate the instruction when skipping. (closes #7659)

4 years agopatch 8.2.2329: not all ways Vim can be started are tested v8.2.2329
Bram Moolenaar [Mon, 11 Jan 2021 18:54:42 +0000 (19:54 +0100)]
patch 8.2.2329: not all ways Vim can be started are tested

Problem:    Not all ways Vim can be started are tested.
Solution:   Add a test for different program names. (Dominique Pellé,
            closes #7651)

4 years agoUpdate runtime files.
Bram Moolenaar [Mon, 11 Jan 2021 18:40:15 +0000 (19:40 +0100)]
Update runtime files.

4 years agopatch 8.2.2328: some test files may not be deleted v8.2.2328
Bram Moolenaar [Mon, 11 Jan 2021 17:47:00 +0000 (18:47 +0100)]
patch 8.2.2328: some test files may not be deleted

Problem:    Some test files may not be deleted.
Solution:   Add a delete() call, correct name. (Dominique Pellé, closes #7654)

4 years agopatch 8.2.2327: debugging code included v8.2.2327
Bram Moolenaar [Sun, 10 Jan 2021 22:58:28 +0000 (23:58 +0100)]
patch 8.2.2327: debugging code included

Problem:    Debugging code included.
Solution:   Remove the debugging code.

4 years agopatch 8.2.2326: build error with +eval feature but without +spell v8.2.2326
Bram Moolenaar [Sun, 10 Jan 2021 21:56:36 +0000 (22:56 +0100)]
patch 8.2.2326: build error with +eval feature but without +spell

Problem:    Build error with +eval feature but without +spell.
Solution:   Adjust #ifdef. (John Marriott)

4 years agopatch 8.2.2325: Vim9: crash if map() changes the item type v8.2.2325
Bram Moolenaar [Sun, 10 Jan 2021 21:42:50 +0000 (22:42 +0100)]
patch 8.2.2325: Vim9: crash if map() changes the item type

Problem:    Vim9: crash if map() changes the item type.
Solution:   Check that the item type is still OK. (closes #7652)
            Fix problem with mapnew() on range list.

4 years agopatch 8.2.2324: not easy to get mark en cursor posotion by character count v8.2.2324
Bram Moolenaar [Sun, 10 Jan 2021 19:22:54 +0000 (20:22 +0100)]
patch 8.2.2324: not easy to get mark en cursor posotion by character count

Problem:    Not easy to get mark en cursor posotion by character count.
Solution:   Add functions that use character index. (Yegappan Lakshmanan,
            closes #7648)

4 years agopatch 8.2.2323: Vim9: error when inferring type from empty dict/list v8.2.2323
Bram Moolenaar [Sun, 10 Jan 2021 18:23:27 +0000 (19:23 +0100)]
patch 8.2.2323: Vim9: error when inferring type from empty dict/list

Problem:    Vim9: error when inferring type from empty dict/list.
Solution:   When the member is t_unknown use t_any. (closes #7009)

4 years agopatch 8.2.2322: Vim9: closure nested limiting to one level v8.2.2322
Bram Moolenaar [Sun, 10 Jan 2021 17:33:11 +0000 (18:33 +0100)]
patch 8.2.2322: Vim9: closure nested limiting to one level

Problem:    Vim9: closure nested limiting to one level.
Solution:   Add outer_T.  Also make STOREOUTER work.

4 years agopatch 8.2.2321: Vim9: cannot nest closures v8.2.2321
Bram Moolenaar [Sun, 10 Jan 2021 13:02:28 +0000 (14:02 +0100)]
patch 8.2.2321: Vim9: cannot nest closures

Problem:    Vim9: cannot nest closures.
Solution:   Add the nesting level to ISN_LOADOUTER and ISN_STOREOUTER.
            (closes #7150, closes #7635)

4 years agopatch 8.2.2320: Vim9: no error for comparing bool with string v8.2.2320
Bram Moolenaar [Sat, 9 Jan 2021 15:21:37 +0000 (16:21 +0100)]
patch 8.2.2320: Vim9: no error for comparing bool with string

Problem:    Vim9: no error for comparing bool with string.
Solution:   Check for wrong types when comparing. (closes #7639)

4 years agopatch 8.2.2319: "exptype_T" can be read as "expected type" v8.2.2319
Bram Moolenaar [Sat, 9 Jan 2021 14:45:23 +0000 (15:45 +0100)]
patch 8.2.2319: "exptype_T" can be read as "expected type"

Problem:    "exptype_T" can be read as "expected type".
Solution:   Rename to "exprtype_T", expression type.

4 years agopatch 8.2.2318: Vim9: string and list index work differently v8.2.2318
Bram Moolenaar [Sat, 9 Jan 2021 12:20:37 +0000 (13:20 +0100)]
patch 8.2.2318: Vim9: string and list index work differently

Problem:    Vim9: string and list index work differently.
Solution:   Make string index work like list index. (closes #7643)

4 years agopatch 8.2.2317: Vim9: command modifier before list unpack doesn't work v8.2.2317
Bram Moolenaar [Sat, 9 Jan 2021 11:09:22 +0000 (12:09 +0100)]
patch 8.2.2317: Vim9: command modifier before list unpack doesn't work

Problem:    Vim9: command modifier before list unpack doesn't work.
Solution:   Only recognize "[" directly after the name. (closes #7641)

4 years agopatch 8.2.2316: Vim9: cannot list a lambda function v8.2.2316
Bram Moolenaar [Fri, 8 Jan 2021 21:24:19 +0000 (22:24 +0100)]
patch 8.2.2316: Vim9: cannot list a lambda function

Problem:    Vim9: cannot list a lambda function.
Solution:   Support the <lambda>9 notation, like :disassemble. (closes #7634)

4 years agopatch 8.2.2315: Vim9: "enddef" as dict key misintepreted as function end v8.2.2315
Bram Moolenaar [Fri, 8 Jan 2021 20:55:26 +0000 (21:55 +0100)]
patch 8.2.2315: Vim9: "enddef" as dict key misintepreted as function end

Problem:    Vim9: "enddef" as dict key misintepreted as function end.
Solution:   Check for following colon. (closes #7640)

4 years agopatch 8.2.2314: Vim9: returning zero takes two instructions v8.2.2314
Bram Moolenaar [Fri, 8 Jan 2021 19:53:09 +0000 (20:53 +0100)]
patch 8.2.2314: Vim9: returning zero takes two instructions

Problem:    Vim9: returning zero takes two instructions.
Solution:   Add ISN_RETURN_ZERO.

4 years agopatch 8.2.2313: Vim9: using uninitialized field when parsing range v8.2.2313
Bram Moolenaar [Fri, 8 Jan 2021 19:40:45 +0000 (20:40 +0100)]
patch 8.2.2313: Vim9: using uninitialized field when parsing range

Problem:    Vim9: using uninitialized field when parsing range. ":silent!" not
            respected when parsing range fails.
Solution:   Initialize ea.skip.  On pattern failure handle it like an error.
            (closes #7636)

4 years agopatch 8.2.2312: build failure with Ruby 3.0 and 32 bits v8.2.2312
Bram Moolenaar [Fri, 8 Jan 2021 18:31:39 +0000 (19:31 +0100)]
patch 8.2.2312: build failure with Ruby 3.0 and 32 bits

Problem:    Build failure with Ruby 3.0 and 32 bits.
Solution:   Add #ifdef. (closes #7638)

4 years agopatch 8.2.2311: Vim9: cannot assign to variable that shadows command modifier v8.2.2311
Bram Moolenaar [Thu, 7 Jan 2021 21:03:02 +0000 (22:03 +0100)]
patch 8.2.2311: Vim9: cannot assign to variable that shadows command modifier

Problem:    Vim9: cannot assign to a variable that shadows a command modifier.
Solution:   Check for assignment after possible command modifier.
            (closes #7632)

4 years agopatch 8.2.2310: Vim9: winsaveview() return type is too generic v8.2.2310
Bram Moolenaar [Thu, 7 Jan 2021 19:23:33 +0000 (20:23 +0100)]
patch 8.2.2310: Vim9: winsaveview() return type is too generic

Problem:    Vim9: winsaveview() return type is too generic.
Solution:   use dict<number> instead of dict<any>. (closes #7626)

4 years agopatch 8.2.2309: 0o777 not recognized as octal v8.2.2309
Bram Moolenaar [Thu, 7 Jan 2021 18:36:30 +0000 (19:36 +0100)]
patch 8.2.2309: 0o777 not recognized as octal

Problem:    0o777 not recognized as octal.
Solution:   Use vim_isodigit(). (Ken Takata, closes #7633, closes #7631)

4 years agopatch 8.2.2308: Vim9: no error when assigning lambda to funcref v8.2.2308
Bram Moolenaar [Thu, 7 Jan 2021 18:23:08 +0000 (19:23 +0100)]
patch 8.2.2308: Vim9: no error when assigning lambda to funcref

Problem:    Vim9: no error when assigning lambda to funcref without return
            value.
Solution:   Default return value to "any". (closes #7629)

4 years agopatch 8.2.2307: a shell command in the vimrc causes terminal output v8.2.2307
Bram Moolenaar [Thu, 7 Jan 2021 13:45:03 +0000 (14:45 +0100)]
patch 8.2.2307: a shell command in the vimrc causes terminal output

Problem:    A shell command in the vimrc causes terminal output.
Solution:   Do not call starttermcap() after a shell command if the termcap
            wasn't active before.

4 years agopatch 8.2.2306: Vim9: when using function reference type is not checked v8.2.2306
Bram Moolenaar [Wed, 6 Jan 2021 20:59:39 +0000 (21:59 +0100)]
patch 8.2.2306: Vim9: when using function reference type is not checked

Problem:    Vim9: when using function reference type is not checked.
Solution:   When using a function reference lookup the type and check the
            argument types. (issue #7629)

4 years agopatch 8.2.2305: Vim9: "++var" and "--var" are silently accepted v8.2.2305
Bram Moolenaar [Tue, 5 Jan 2021 21:08:20 +0000 (22:08 +0100)]
patch 8.2.2305: Vim9: "++var" and "--var" are silently accepted

Problem:    Vim9: "++var" and "--var" are silently accepted.
Solution:   Give an error message.

4 years agopatch 8.2.2304: Vim9: no test for unletting an imported variable v8.2.2304
Bram Moolenaar [Tue, 5 Jan 2021 19:58:25 +0000 (20:58 +0100)]
patch 8.2.2304: Vim9: no test for unletting an imported variable

Problem:    Vim9: no test for unletting an imported variable.
Solution:   Add a test.  Fix line number in error.

4 years agopatch 8.2.2303: Vim9: backtick expansion doesn't work for :foldopen v8.2.2303
Bram Moolenaar [Tue, 5 Jan 2021 18:23:28 +0000 (19:23 +0100)]
patch 8.2.2303: Vim9: backtick expansion doesn't work for :foldopen

Problem:    Vim9: backtick expansion doesn't work for :foldopen.
Solution:   Do recognize backtick expansion. (closes #7621)

4 years agopatch 8.2.2302: Vim9: using an option value may use uninitialized memory v8.2.2302
Bram Moolenaar [Tue, 5 Jan 2021 16:50:28 +0000 (17:50 +0100)]
patch 8.2.2302: Vim9: using an option value may use uninitialized memory

Problem:    Vim9: using an option value may use uninitialized memory.
Solution:   Clear v_lock. (closes #7620)

4 years agopatch 8.2.2301: Vim9: cannot unlet a dict or list item v8.2.2301
Bram Moolenaar [Mon, 4 Jan 2021 20:57:11 +0000 (21:57 +0100)]
patch 8.2.2301: Vim9: cannot unlet a dict or list item

Problem:    Vim9: cannot unlet a dict or list item.
Solution:   Add ISN_UNLETINDEX.  Refactor assignment code to use for unlet.

4 years agopatch 8.2.2300: Vim9: wrong order on type stack when using dict v8.2.2300
Bram Moolenaar [Mon, 4 Jan 2021 16:40:12 +0000 (17:40 +0100)]
patch 8.2.2300: Vim9: wrong order on type stack when using dict

Problem:    Vim9: wrong order on type stack when using dict.
Solution:   Generate constants before a dict. (closes #7619)

4 years agopatch 8.2.2299: Vim9: invalid memory access making error message flaky v8.2.2299
Bram Moolenaar [Mon, 4 Jan 2021 15:15:58 +0000 (16:15 +0100)]
patch 8.2.2299: Vim9: invalid memory access making error message flaky

Problem:    Vim9: invalid memory access making error message flaky.
Solution:   Do not check cmd_argt for CMD_USER. (issue #7467)

4 years agopatch 8.2.2298: Vim9: comment right after "(" of function not recognized v8.2.2298
Bram Moolenaar [Mon, 4 Jan 2021 13:09:43 +0000 (14:09 +0100)]
patch 8.2.2298: Vim9: comment right after "(" of function not recognized

Problem:    Vim9: comment right after "(" of function not recognized.
Solution:   Do not skip over white space before calling get_function_args().
            (closes #7613)

4 years agopatch 8.2.2297: Vim9: cannot set 'number' to a boolean value v8.2.2297
Bram Moolenaar [Mon, 4 Jan 2021 12:37:54 +0000 (13:37 +0100)]
patch 8.2.2297: Vim9: cannot set 'number' to a boolean value

Problem:    Vim9: cannot set 'number' to a boolean value.
Solution:   Use tv_get_bool(). (closes #7615)

4 years agopatch 8.2.2296: cannot use CTRL-N and CTRL-P in a popup menu v8.2.2296
Bram Moolenaar [Mon, 4 Jan 2021 12:18:30 +0000 (13:18 +0100)]
patch 8.2.2296: cannot use CTRL-N and CTRL-P in a popup menu

Problem:    Cannot use CTRL-N and CTRL-P in a popup menu.
Solution:   Use CTRL-N like <Down> and CTRL-P like <Up>. (closes #7614)

4 years agopatch 8.2.2295: incsearch does not detect empty pattern properly v8.2.2295
Bram Moolenaar [Mon, 4 Jan 2021 11:42:13 +0000 (12:42 +0100)]
patch 8.2.2295: incsearch does not detect empty pattern properly

Problem:    Incsearch does not detect empty pattern properly.
Solution:   Return magic state when skipping over a pattern. (Christian
            Brabandt, closes #7612, closes #6420)

4 years agopatch 8.2.2294: VMS: a few remaining problems v8.2.2294
Bram Moolenaar [Mon, 4 Jan 2021 09:47:26 +0000 (10:47 +0100)]
patch 8.2.2294: VMS: a few remaining problems

Problem:    VMS: a few remaining problems.
Solution:   Add VMS specific changes. Add Lua support. (Zoltan Arpadffy)

4 years agopatch 8.2.2293: build failure with Motif v8.2.2293
Bram Moolenaar [Sun, 3 Jan 2021 21:12:15 +0000 (22:12 +0100)]
patch 8.2.2293: build failure with Motif

Problem:    Build failure with Motif. (Tony Mechelynck)
Solution:   Use empty_option instead of empty_options.

4 years agopatch 8.2.2292: Vim: expr test fails v8.2.2292
Bram Moolenaar [Sun, 3 Jan 2021 21:05:19 +0000 (22:05 +0100)]
patch 8.2.2292: Vim: expr test fails

Problem:    Vim: expr test fails.
Solution:   Add missing part of "null" support.

4 years agopatch 8.2.2291: Vim9: cannot use "null" for v:null v8.2.2291
Bram Moolenaar [Sun, 3 Jan 2021 20:53:53 +0000 (21:53 +0100)]
patch 8.2.2291: Vim9: cannot use "null" for v:null

Problem:    Vim9: cannot use "null" for v:null.
Solution:   Support "null" like "true" and "false". (closes #7495)

4 years agopatch 8.2.2290: Vim9: unlet of global variable cannot be compiled v8.2.2290
Bram Moolenaar [Sun, 3 Jan 2021 19:55:26 +0000 (20:55 +0100)]
patch 8.2.2290: Vim9: unlet of global variable cannot be compiled

Problem:    Vim9: unlet of global variable cannot be compiled.
Solution:   Skip over variables that might be defined later. Give an error if
            a subscript is found. (closes #7585)

4 years agopatch 8.2.2289: Vim9: 'cpo' can become empty v8.2.2289
Bram Moolenaar [Sun, 3 Jan 2021 18:52:05 +0000 (19:52 +0100)]
patch 8.2.2289: Vim9: 'cpo' can become empty

Problem:    Vim9: 'cpo' can become empty.
Solution:   Use empty_option instead of an empty string.  Update quickfix
            buffer after restoring 'cpo'.  (closes #7608)

4 years agopatch 8.2.2288: Vim9: line break and comment not always skipped v8.2.2288
Bram Moolenaar [Sun, 3 Jan 2021 17:33:13 +0000 (18:33 +0100)]
patch 8.2.2288: Vim9: line break and comment not always skipped

Problem:    Vim9: line break and comment not always skipped.
Solution:   Skip over white space and then line break more consistently.
            (closes #7610)

4 years agopatch 8.2.2287: sort test fails when locale is French Canadian v8.2.2287
Bram Moolenaar [Sun, 3 Jan 2021 16:39:28 +0000 (17:39 +0100)]
patch 8.2.2287: sort test fails when locale is French Canadian

Problem:    Sort test fails when locale is French Canadian.
Solution:   Expect a different sort order. (Dominique Pellé, closes #7609)

4 years agopatch 8.2.2286: sort test fails when locale is Canadian English v8.2.2286
Bram Moolenaar [Sun, 3 Jan 2021 15:18:04 +0000 (16:18 +0100)]
patch 8.2.2286: sort test fails when locale is Canadian English

Problem:    Sort test fails when locale is Canadian English. (Neil H Watson)
Solution:   Expect a different sort order. (closes #7609)

4 years agopatch 8.2.2285: Vim9: cannot set an option to a false v8.2.2285
Bram Moolenaar [Sun, 3 Jan 2021 14:55:10 +0000 (15:55 +0100)]
patch 8.2.2285: Vim9: cannot set an option to a false

Problem:    Vim9: cannot set an option to a false.
Solution:   For VAR_BOOL use string "0". (closes #7603)

4 years agopatch 8.2.2284: Vim9: cannot set an option to a boolean value v8.2.2284
Bram Moolenaar [Sun, 3 Jan 2021 13:47:25 +0000 (14:47 +0100)]
patch 8.2.2284: Vim9: cannot set an option to a boolean value

Problem:    Vim9: cannot set an option to a boolean value.
Solution:   Check for VAR_BOOL. (closes #7603)

4 years agopatch 8.2.2283: Vim9: crash when lambda has fewer arguments than expected v8.2.2283
Bram Moolenaar [Sun, 3 Jan 2021 12:09:51 +0000 (13:09 +0100)]
patch 8.2.2283: Vim9: crash when lambda has fewer arguments than expected

Problem:    Vim9: crash when lambda has fewer arguments than expected.
Solution:   Don't check arguments when already failed. (closes #7606)

4 years agopatch 8.2.2282: length check mismatch with argument of strncmp() v8.2.2282
Bram Moolenaar [Sat, 2 Jan 2021 19:14:23 +0000 (20:14 +0100)]
patch 8.2.2282: length check mismatch with argument of strncmp()

Problem:    Length check mismatch with argument of strncmp(). (Christian
            Brabandt)
Solution:   Adjust length check.

4 years agopatch 8.2.2281: Vim9: compiled "wincmd" cannot be followed by bar v8.2.2281
Bram Moolenaar [Sat, 2 Jan 2021 18:44:56 +0000 (19:44 +0100)]
patch 8.2.2281: Vim9: compiled "wincmd" cannot be followed by bar

Problem:    Vim9: compiled "wincmd" cannot be followed by bar.
Solution:   Check for bar after "wincmd". (closes #7599)

4 years agopatch 8.2.2280: fuzzy matching doesn't give access to the scores v8.2.2280
Bram Moolenaar [Sat, 2 Jan 2021 17:31:32 +0000 (18:31 +0100)]
patch 8.2.2280: fuzzy matching doesn't give access to the scores

Problem:    Fuzzy matching doesn't give access to the scores.
Solution:   Return the scores with a third list. (Yegappan Lakshmanan,
            closes #7596)

4 years agopatch 8.2.2279: Vim9: memory leak with catch in skipped block v8.2.2279
Bram Moolenaar [Sat, 2 Jan 2021 17:17:26 +0000 (18:17 +0100)]
patch 8.2.2279: Vim9: memory leak with catch in skipped block

Problem:    Vim9: memory leak with catch in skipped block.
Solution:   Free the pattern if not used.

4 years agopatch 8.2.2278: falling back to old regexp engine can some patterns v8.2.2278
Bram Moolenaar [Sat, 2 Jan 2021 16:43:49 +0000 (17:43 +0100)]
patch 8.2.2278: falling back to old regexp engine can some patterns

Problem:    Falling back to old regexp engine can some patterns.
Solution:   Do not fall back once [[:lower:]] or [[:upper:]] is used.
            (Christian Brabandt, closes #7572)

4 years agopatch 8.2.2277: missing backslash v8.2.2277
Bram Moolenaar [Sat, 2 Jan 2021 16:06:16 +0000 (17:06 +0100)]
patch 8.2.2277: missing backslash

Problem:    Missing backslash.
Solution:   Add backslash.

4 years agopatch 8.2.2276: list of distributed files is outdated v8.2.2276
Bram Moolenaar [Sat, 2 Jan 2021 15:53:13 +0000 (16:53 +0100)]
patch 8.2.2276: list of distributed files is outdated

Problem:    List of distributed files is outdated.
Solution:   Update the file list.  Minor comment updates.

4 years agoUpdate runtime files.
Bram Moolenaar [Sat, 2 Jan 2021 15:39:53 +0000 (16:39 +0100)]
Update runtime files.

4 years agopatch 8.2.2275: CTRL-C not recognized in Mintty v8.2.2275
Bram Moolenaar [Sat, 2 Jan 2021 15:17:18 +0000 (16:17 +0100)]
patch 8.2.2275: CTRL-C not recognized in Mintty

Problem:    CTRL-C not recognized in Mintty.
Solution:   Recognize the modifyOtherKeys code ending in "u". (Christian
            Brabandt, closes #7575)

4 years agopatch 8.2.2274: badge for Travis is outdated v8.2.2274
Bram Moolenaar [Sat, 2 Jan 2021 15:06:44 +0000 (16:06 +0100)]
patch 8.2.2274: badge for Travis is outdated

Problem:    badge for Travis is outdated.
Solution:   Update badge for move from travis-ci.org to travis-ci.com.

4 years agopatch 8.2.2273: build failure v8.2.2273
Bram Moolenaar [Sat, 2 Jan 2021 14:49:28 +0000 (15:49 +0100)]
patch 8.2.2273: build failure

Problem:    Build failure.
Solution:   Add missing changes to header file.

4 years agopatch 8.2.2272: Vim9: extend() can violate the type of a variable v8.2.2272
Bram Moolenaar [Sat, 2 Jan 2021 14:41:03 +0000 (15:41 +0100)]
patch 8.2.2272: Vim9: extend() can violate the type of a variable

Problem:    Vim9: extend() can violate the type of a variable.
Solution:   Add the type to the dictionary or list and check items against it.
            (closes #7593)

4 years agopatch 8.2.2271: ml_get error when changing hidden buffer in Python v8.2.2271
Bram Moolenaar [Sat, 2 Jan 2021 12:53:59 +0000 (13:53 +0100)]
patch 8.2.2271: ml_get error when changing hidden buffer in Python

Problem:    ml_get error when changing hidden buffer in Python.
Solution:   Block updating folds. (closes #7598)

4 years agopatch 8.2.2270: warning for size_t to int conversion v8.2.2270
Bram Moolenaar [Sat, 2 Jan 2021 11:45:45 +0000 (12:45 +0100)]
patch 8.2.2270: warning for size_t to int conversion

Problem:    Warning for size_t to int conversion. (Randall W. Morris)
Solution:   Add a type cast.

4 years agopatch 8.2.2269: not all :hardcopy code covered by tests v8.2.2269
Bram Moolenaar [Fri, 1 Jan 2021 20:34:37 +0000 (21:34 +0100)]
patch 8.2.2269: not all :hardcopy code covered by tests

Problem:    Not all :hardcopy code covered by tests.
Solution:   Test more combinations. (Dominique Pellé, closes #7595)

4 years agopatch 8.2.2268: Vim9: list unpack seen as declaration v8.2.2268
Bram Moolenaar [Fri, 1 Jan 2021 20:05:55 +0000 (21:05 +0100)]
patch 8.2.2268: Vim9: list unpack seen as declaration

Problem:    Vim9: list unpack seen as declaration.
Solution:   Check for "var". (closes #7594)

4 years agopatch 8.2.2267: Vim9: cannot use unlet for a dict member v8.2.2267
Bram Moolenaar [Fri, 1 Jan 2021 18:40:02 +0000 (19:40 +0100)]
patch 8.2.2267: Vim9: cannot use unlet for a dict member

Problem:    Vim9: cannot use unlet for a dict member.
Solution:   Pass GLV_NO_DECL to get_lval(). (closes #7585)

4 years agopatch 8.2.2266: Vim9: it can be hard to see where white space is missing v8.2.2266
Bram Moolenaar [Fri, 1 Jan 2021 18:17:55 +0000 (19:17 +0100)]
patch 8.2.2266: Vim9: it can be hard to see where white space is missing

Problem:    Vim9: it can be hard to see where white space is missing.
Solution:   Mention the text where the error was seen. (closes #7580)

4 years agopatch 8.2.2265: error message for missing endfunc/enddef is last line v8.2.2265
Bram Moolenaar [Fri, 1 Jan 2021 17:54:34 +0000 (18:54 +0100)]
patch 8.2.2265: error message for missing endfunc/enddef is last line

Problem:    Error message for missing endfunc/enddef is last line.
Solution:   Report the line where the function starts. (closes #7582)

4 years agopatch 8.2.2264: Vim9: no error for mismatched :endfunc or :enddef v8.2.2264
Bram Moolenaar [Fri, 1 Jan 2021 17:43:51 +0000 (18:43 +0100)]
patch 8.2.2264: Vim9: no error for mismatched :endfunc or :enddef

Problem:    Vim9: no error for mismatched :endfunc or :enddef.
Solution:   Check for the mismatch. (issue #7582)

4 years agopatch 8.2.2263: Vim9: compilation error with try-catch in skipped block v8.2.2263
Bram Moolenaar [Fri, 1 Jan 2021 15:10:46 +0000 (16:10 +0100)]
patch 8.2.2263: Vim9: compilation error with try-catch in skipped block

Problem:    Vim9: compilation error with try-catch in skipped block.
Solution:   Do not bail out when generate_instr() returns NULL. (closes #7584)

4 years agopatch 8.2.2262: Vim9: converting bool to string prefixes v: v8.2.2262
Bram Moolenaar [Fri, 1 Jan 2021 14:11:04 +0000 (15:11 +0100)]
patch 8.2.2262: Vim9: converting bool to string prefixes v:

Problem:    Vim9: converting bool to string prefixes v:.
Solution:   Do not use the v: prefix.

4 years agopatch 8.2.2261: Vim9: boolean option gets string type v8.2.2261
Bram Moolenaar [Fri, 1 Jan 2021 13:49:15 +0000 (14:49 +0100)]
patch 8.2.2261: Vim9: boolean option gets string type

Problem:    Vim9: boolean option gets string type.
Solution:   Check for VAR_BOOL. (closes #7588)

4 years agopatch 8.2.2260: window resize test fails in very wide terminal v8.2.2260
Bram Moolenaar [Fri, 1 Jan 2021 13:31:34 +0000 (14:31 +0100)]
patch 8.2.2260: window resize test fails in very wide terminal

Problem:    Window resize test fails in very wide terminal.
Solution:   Resize using the 'columns' option.  (Vladimir Lomov, closes #7592)

4 years agopatch 8.2.2259: Test_Executable() fails when using chroot v8.2.2259
Bram Moolenaar [Fri, 1 Jan 2021 13:20:44 +0000 (14:20 +0100)]
patch 8.2.2259: Test_Executable() fails when using chroot

Problem:    Test_Executable() fails when using chroot.
Solution:   Ignore the difference between "sbin" and "bin".

4 years agopatch 8.2.2258: not all OCaml related files are detected v8.2.2258
Bram Moolenaar [Fri, 1 Jan 2021 12:54:00 +0000 (13:54 +0100)]
patch 8.2.2258: not all OCaml related files are detected

Problem:    Not all OCaml related files are detected.
Solution:   Update OCaml file type detection.  (Markus Mottl, closes #7590)

4 years agopatch 8.2.2257: Vim9: using -> for lambda is ambiguous v8.2.2257
Bram Moolenaar [Thu, 31 Dec 2020 20:28:47 +0000 (21:28 +0100)]
patch 8.2.2257: Vim9: using -> for lambda is ambiguous

Problem:    Vim9: using -> for lambda is ambiguous.
Solution:   Stop supporting ->, must use =>.

4 years agopatch 8.2.2256: Vim9: cannot use function( after line break in :def function v8.2.2256
Bram Moolenaar [Thu, 31 Dec 2020 17:28:18 +0000 (18:28 +0100)]
patch 8.2.2256: Vim9: cannot use function( after line break in :def function

Problem:    Vim9: cannot use function( after line break in :def function.
Solution:   Check for "(" after "function". (closes #7581)

4 years agopatch 8.2.2255: Tcl test fails v8.2.2255
Bram Moolenaar [Thu, 31 Dec 2020 17:11:16 +0000 (18:11 +0100)]
patch 8.2.2255: Tcl test fails

Problem:    Tcl test fails.
Solution:   Change option handling.

4 years agopatch 8.2.2254: Vim9: bool option type is number v8.2.2254
Bram Moolenaar [Thu, 31 Dec 2020 16:41:01 +0000 (17:41 +0100)]
patch 8.2.2254: Vim9: bool option type is number

Problem:    Vim9: bool option type is number.
Solution:   Have get_option_value() return a different value for bool and
            number options. (closes #7583)

4 years agopatch 8.2.2253: Vim9: expr test fails v8.2.2253
Bram Moolenaar [Thu, 31 Dec 2020 12:39:54 +0000 (13:39 +0100)]
patch 8.2.2253: Vim9: expr test fails

Problem:    Vim9: expr test fails.
Solution:   Add missing assignment.

4 years agopatch 8.2.2252: Vim9: crash when using lambda without return type in dict v8.2.2252
Bram Moolenaar [Thu, 31 Dec 2020 12:31:23 +0000 (13:31 +0100)]
patch 8.2.2252: Vim9: crash when using lambda without return type in dict

Problem:    Vim9: crash when using lambda without return type in dict.
Solution:   Without a return type use t_unknown. (closes #7587)

4 years agopatch 8.2.2251: test failures in legacy script v8.2.2251
Bram Moolenaar [Wed, 30 Dec 2020 20:16:37 +0000 (21:16 +0100)]
patch 8.2.2251: test failures in legacy script

Problem:    Test failures in legacy script.
Solution:   Check for Vim9 script.

4 years agopatch 8.2.2250: Vim9: sublist is ambiguous v8.2.2250
Bram Moolenaar [Wed, 30 Dec 2020 19:39:21 +0000 (20:39 +0100)]
patch 8.2.2250: Vim9: sublist is ambiguous

Problem:    Vim9: sublist is ambiguous.
Solution:   Require white space around the colon. (closes #7409)

4 years agopatch 8.2.2249: termcodes test is flaky when used over ssh v8.2.2249
Bram Moolenaar [Wed, 30 Dec 2020 13:59:23 +0000 (14:59 +0100)]
patch 8.2.2249: termcodes test is flaky when used over ssh

Problem:    Termcodes test is flaky when used over ssh with X forwarding.
Solution:   Set 'mousetime' to a larger value. (Dominique Pellé, closes #7576,
            closes #7563)

4 years agopatch 8.2.2248: ASAN error on exit with GUI v8.2.2248
Bram Moolenaar [Wed, 30 Dec 2020 13:08:35 +0000 (14:08 +0100)]
patch 8.2.2248: ASAN error on exit with GUI

Problem:    ASAN error on exit with GUI.
Solution:   Check the window still has lines. (Christian Brabandt,
            closes #7573)

4 years agopatch 8.2.2247: VMS: various smaller problems v8.2.2247
Bram Moolenaar [Wed, 30 Dec 2020 12:14:45 +0000 (13:14 +0100)]
patch 8.2.2247: VMS: various smaller problems

Problem:    VMS: various smaller problems.
Solution:   Fix VMS building and other problems. (Zoltan Arpadffy)

4 years agopatch 8.2.2246: cursor keys not recognized at the hit-Enter prompt v8.2.2246
Bram Moolenaar [Tue, 29 Dec 2020 19:53:33 +0000 (20:53 +0100)]
patch 8.2.2246: cursor keys not recognized at the hit-Enter prompt

Problem:    Cursor keys not recognized at the hit-Enter prompt after executing
            an external command.
Solution:   Change the codes for the extra cursor keys. (closes #7562)
            Tune the delays to avoid test flakyness.