]> granicus.if.org Git - vim/log
vim
4 years agopatch 8.2.1392: Vim9: line number incorrect after skipping over comment lines v8.2.1392
Bram Moolenaar [Sat, 8 Aug 2020 12:26:31 +0000 (14:26 +0200)]
patch 8.2.1392: Vim9: line number incorrect after skipping over comment lines

Problem:    Vim9: error line number incorrect after skipping over comment
            lines.
Solution:   Insert empty lines for skipped lines.

4 years agopatch 8.2.1391: Vim9: no error for shadowing a script function v8.2.1391
Bram Moolenaar [Fri, 7 Aug 2020 20:00:26 +0000 (22:00 +0200)]
patch 8.2.1391: Vim9: no error for shadowing a script function

Problem:    Vim9: no error for shadowing a script function.
Solution:   Check for already defined items. (closes #6652)

4 years agopatch 8.2.1390: Vim9: type error after storing an option value v8.2.1390
Bram Moolenaar [Fri, 7 Aug 2020 19:28:34 +0000 (21:28 +0200)]
patch 8.2.1390: Vim9: type error after storing an option value

Problem:    Vim9: type error after storing an option value.
Solution:   Drop the type after a STOREOPT instruction. (closes #6632)

4 years agopatch 8.2.1389: file missing from the distribution v8.2.1389
Bram Moolenaar [Fri, 7 Aug 2020 18:47:39 +0000 (20:47 +0200)]
patch 8.2.1389: file missing from the distribution

Problem:    File missing from the distribution.
Solution:   Add script_util.vim to the list of distributes files.

4 years agopatch 8.2.1388: Vim9: += only works for numbers v8.2.1388
Bram Moolenaar [Fri, 7 Aug 2020 18:46:20 +0000 (20:46 +0200)]
patch 8.2.1388: Vim9: += only works for numbers

Problem:    Vim9: += only works for numbers.
Solution:   Use += as concatenate for a list. (closes #6646)

4 years agoUpdate runtime files.
Bram Moolenaar [Fri, 7 Aug 2020 17:54:59 +0000 (19:54 +0200)]
Update runtime files.

4 years agopatch 8.2.1387: Vim9: cannot assign to single letter variable with type v8.2.1387
Bram Moolenaar [Fri, 7 Aug 2020 17:28:08 +0000 (19:28 +0200)]
patch 8.2.1387: Vim9: cannot assign to single letter variable with type

Problem:    Vim9: cannot assign to single letter variable with type.
Solution:   Exclude the colon from the variable name. (closes #6647)

4 years agopatch 8.2.1386: backslash not removed afer space with space in 'isfname' v8.2.1386
Bram Moolenaar [Fri, 7 Aug 2020 17:12:41 +0000 (19:12 +0200)]
patch 8.2.1386: backslash not removed afer space with space in 'isfname'

Problem:    Backslash not removed afer space in option with space in
            'isfname'.
Solution:   Do remove backslash before space, also when it is in 'isfname'.
            (Yasuhiro Matsumoto, closes #6651)

4 years agopatch 8.2.1385: no testing on ARM v8.2.1385
Bram Moolenaar [Fri, 7 Aug 2020 16:33:19 +0000 (18:33 +0200)]
patch 8.2.1385: no testing on ARM

Problem:    No testing on ARM.
Solution:   Add a test on Travis for ARM. (Ozaki Kiichi, closes #6615)

4 years agopatch 8.2.1384: no ATTENTION prompt for :vimgrep first match file v8.2.1384
Bram Moolenaar [Fri, 7 Aug 2020 16:12:18 +0000 (18:12 +0200)]
patch 8.2.1384: no ATTENTION prompt for :vimgrep first match file

Problem:    No ATTENTION prompt for :vimgrep first match file.
Solution:   When there is an existing swap file do not keep the dummy buffer.
            (closes #6649)

4 years agopatch 8.2.1383: test 49 is old style v8.2.1383
Bram Moolenaar [Fri, 7 Aug 2020 14:49:11 +0000 (16:49 +0200)]
patch 8.2.1383: test 49 is old style

Problem:    Test 49 is old style.
Solution:   Convert test cases to new style. (Yegappan Lakshmanan,
            closes #6638)

4 years agopatch 8.2.1382: Vim9: using :import in filetype plugin gives an error v8.2.1382
Bram Moolenaar [Thu, 6 Aug 2020 20:11:06 +0000 (22:11 +0200)]
patch 8.2.1382: Vim9: using :import in filetype plugin gives an error

Problem:    Vim9: using :import in filetype plugin gives an error.
Solution:   Allow commands with the EX_LOCK_OK flag. (closes #6636)

4 years agopatch 8.2.1381: MS-Windows: crash with Python 3.5 when stdin is redirected v8.2.1381
Bram Moolenaar [Thu, 6 Aug 2020 19:47:11 +0000 (21:47 +0200)]
patch 8.2.1381: MS-Windows: crash with Python 3.5 when stdin is redirected

Problem:    MS-Windows: crash with Python 3.5 when stdin is redirected.
Solution:   Reconnect stdin. (Yasuhiro Matsumoto, Ken Takata, closes #6641)

4 years agopatch 8.2.1380: Vim9: return type of getreg() is always a string v8.2.1380
Bram Moolenaar [Thu, 6 Aug 2020 19:26:59 +0000 (21:26 +0200)]
patch 8.2.1380: Vim9: return type of getreg() is always a string

Problem:    Vim9: return type of getreg() is always a string.
Solution:   Use list of strings when there are three arguments. (closes #6633)

4 years agopatch 8.2.1379: curly braces expression ending in " }" does not work v8.2.1379
Bram Moolenaar [Thu, 6 Aug 2020 14:38:12 +0000 (16:38 +0200)]
patch 8.2.1379: curly braces expression ending in " }" does not work

Problem:    Curly braces expression ending in " }" does not work.
Solution:   Skip over white space when checking for "}". (closes #6634)

4 years agopatch 8.2.1378: cannot put space between function name and paren v8.2.1378
Bram Moolenaar [Thu, 6 Aug 2020 09:23:36 +0000 (11:23 +0200)]
patch 8.2.1378: cannot put space between function name and paren

Problem:    Cannot put space between function name and paren.
Solution:   Allow this for backwards compatibility.

4 years agopatch 8.2.1377: triggering the ATTENTION prompt causes typeahead mess up v8.2.1377
Bram Moolenaar [Wed, 5 Aug 2020 20:07:26 +0000 (22:07 +0200)]
patch 8.2.1377: triggering the ATTENTION prompt causes typeahead mess up

Problem:    Triggering the ATTENTION prompt causes typeahead to be messed up.
Solution:   Increment tb_change_cnt. (closes #6541)

4 years agopatch 8.2.1376: Vim9: expression mapping causes error for using :import v8.2.1376
Bram Moolenaar [Wed, 5 Aug 2020 14:20:03 +0000 (16:20 +0200)]
patch 8.2.1376: Vim9: expression mapping causes error for using :import

Problem:    Vim9: expression mapping causes error for using :import.
Solution:   Add EX_LOCK_OK to :import and :export. (closes 3606)

4 years agopatch 8.2.1375: Vim9: method name with digit not accepted v8.2.1375
Bram Moolenaar [Wed, 5 Aug 2020 13:43:44 +0000 (15:43 +0200)]
patch 8.2.1375: Vim9: method name with digit not accepted

Problem:    Vim9: method name with digit not accepted.
Solution:   Use eval_isnamec() instead of eval_isnamec1(). (closes #6613)

4 years agopatch 8.2.1374: Vim9: error for assigning empty list to script variable v8.2.1374
Bram Moolenaar [Wed, 5 Aug 2020 13:11:03 +0000 (15:11 +0200)]
patch 8.2.1374: Vim9: error for assigning empty list to script variable

Problem:    Vim9: error for assigning empty list to script variable.
Solution:   Use t_unknown for empty list member. (closes #6595)

4 years agopatch 8.2.1373: Vim9: no error for assigning to non-existing script var v8.2.1373
Bram Moolenaar [Wed, 5 Aug 2020 12:34:14 +0000 (14:34 +0200)]
patch 8.2.1373: Vim9: no error for assigning to non-existing script var

Problem:    Vim9: no error for assigning to non-existing script var.
Solution:   Check that in Vim9 script the variable was defined. (closes #6630)

4 years agopatch 8.2.1372: Vim9: no error for missing white space around operator v8.2.1372
Bram Moolenaar [Wed, 5 Aug 2020 10:44:41 +0000 (12:44 +0200)]
patch 8.2.1372: Vim9: no error for missing white space around operator

Problem:    Vim9: no error for missing white space around operator.
Solution:   Check for white space around ? and :.

4 years agopatch 8.2.1371: Vim9: no error for missing white space around operator v8.2.1371
Bram Moolenaar [Wed, 5 Aug 2020 10:32:38 +0000 (12:32 +0200)]
patch 8.2.1371: Vim9: no error for missing white space around operator

Problem:    Vim9: no error for missing white space around operator.
Solution:   Check for white space around && and ||.

4 years agopatch 8.2.1370: MS-Windows: warning for using fstat() with stat_T v8.2.1370
Bram Moolenaar [Wed, 5 Aug 2020 10:10:50 +0000 (12:10 +0200)]
patch 8.2.1370: MS-Windows: warning for using fstat() with stat_T

Problem:    MS-Windows: warning for using fstat() with stat_T.
Solution:   use _fstat64() if available. (Naruhiko Nishino, closes #6625)

4 years agopatch 8.2.1369: MS-Windows: autocommand test sometimes fails v8.2.1369
Bram Moolenaar [Wed, 5 Aug 2020 10:02:40 +0000 (12:02 +0200)]
patch 8.2.1369: MS-Windows: autocommand test sometimes fails

Problem:    MS-Windows: autocommand test sometimes fails.
Solution:   Do not rely on the cat command.

4 years agopatch 8.2.1368: Vim9: no error for missing white space around operator v8.2.1368
Bram Moolenaar [Wed, 5 Aug 2020 09:51:30 +0000 (11:51 +0200)]
patch 8.2.1368: Vim9: no error for missing white space around operator

Problem:    Vim9: no error for missing white space around operator.
Solution:   Check for white space around <, !=, etc.

4 years agopatch 8.2.1367: Vim9: no error for missing white space around operator v8.2.1367
Bram Moolenaar [Wed, 5 Aug 2020 09:36:52 +0000 (11:36 +0200)]
patch 8.2.1367: Vim9: no error for missing white space around operator

Problem:    Vim9: no error for missing white space around operator.
Solution:   Check for white space around *, / and %.

4 years agopatch 8.2.1366: test 49 is old style v8.2.1366
Bram Moolenaar [Wed, 5 Aug 2020 09:23:13 +0000 (11:23 +0200)]
patch 8.2.1366: test 49 is old style

Problem:    Test 49 is old style.
Solution:   Convert several tests to new style. (Yegappan Lakshmanan,
            closes #6629)

4 years agopatch 8.2.1365: Vim9: no error for missing white space around operator v8.2.1365
Bram Moolenaar [Wed, 5 Aug 2020 08:53:21 +0000 (10:53 +0200)]
patch 8.2.1365: Vim9: no error for missing white space around operator

Problem:    Vim9: no error for missing white space around operator.
Solution:   Check for white space. (closes #6618)

4 years agopatch 8.2.1364: invalid memory access when searching for raw string v8.2.1364
Bram Moolenaar [Tue, 4 Aug 2020 19:46:18 +0000 (21:46 +0200)]
patch 8.2.1364: invalid memory access when searching for raw string

Problem:    Invalid memory access when searching for raw string.
Solution:   Check for delimiter match before following quote. (closes #6578)

4 years agopatch 8.2.1363: test trying to run terminal when it is not supported v8.2.1363
Bram Moolenaar [Tue, 4 Aug 2020 19:04:57 +0000 (21:04 +0200)]
patch 8.2.1363: test trying to run terminal when it is not supported

Problem:    Test trying to run terminal when it is not supported.
Solution:   Check if Vim can be run in a terminal.

4 years agopatch 8.2.1362: last entry of ":set term=xxx" overwritten by error message v8.2.1362
Bram Moolenaar [Tue, 4 Aug 2020 18:17:31 +0000 (20:17 +0200)]
patch 8.2.1362: last entry of ":set term=xxx" overwritten by error message

Problem:    Last entry of ":set term=xxx" overwritten by error message when
            'cmdheight' is two or more. (Tony Mechelynck)
Solution:   Output extra line breaks.

4 years agopatch 8.2.1361: error for white space after expression in assignment v8.2.1361
Bram Moolenaar [Tue, 4 Aug 2020 13:53:01 +0000 (15:53 +0200)]
patch 8.2.1361: error for white space after expression in assignment

Problem:    Error for white space after expression in assignment.
Solution:   Skip over white space. (closes #6617)

4 years agopatch 8.2.1360: stray error for white space after expression v8.2.1360
Bram Moolenaar [Mon, 3 Aug 2020 20:39:28 +0000 (22:39 +0200)]
patch 8.2.1360: stray error for white space after expression

Problem:    Stray error for white space after expression.
Solution:   Ignore trailing white space. (closes #6608)

4 years agopatch 8.2.1359: Vim9: cannot assign to / register in Vim9 script v8.2.1359
Bram Moolenaar [Sun, 2 Aug 2020 18:40:43 +0000 (20:40 +0200)]
patch 8.2.1359: Vim9: cannot assign to / register in Vim9 script

Problem:    Vim9: cannot assign to / register in Vim9 script.
Solution:   Adjust check for assignment in Vim9 script. (closes #6567)

4 years agopatch 8.2.1358: Vim9: test fails with +dnd is not available v8.2.1358
Bram Moolenaar [Sun, 2 Aug 2020 18:03:25 +0000 (20:03 +0200)]
patch 8.2.1358: Vim9: test fails with +dnd is not available

Problem:    Vim9: test fails with +dnd is not available.
Solution:   Add condition.

4 years agopatch 8.2.1357: Vim9: cannot assign to / register v8.2.1357
Bram Moolenaar [Sun, 2 Aug 2020 16:58:54 +0000 (18:58 +0200)]
patch 8.2.1357: Vim9: cannot assign to / register

Problem:    Vim9: cannot assign to / register.
Solution:   Adjust check for assignment.

4 years agopatch 8.2.1356: Vim9: cannot get the percent register v8.2.1356
Bram Moolenaar [Sun, 2 Aug 2020 15:33:26 +0000 (17:33 +0200)]
patch 8.2.1356: Vim9: cannot get the percent register

Problem:    Vim9: cannot get the percent register.
Solution:   Check for readable registers instead of writable. (closes #6566)

4 years agopatch 8.2.1355: Vim9: no error using :let for options and registers v8.2.1355
Bram Moolenaar [Sun, 2 Aug 2020 14:59:00 +0000 (16:59 +0200)]
patch 8.2.1355: Vim9: no error using :let for options and registers

Problem:    Vim9: no error using :let for options and registers.
Solution:   Give an error. (closes #6568)

4 years agopatch 8.2.1354: test 59 is old style v8.2.1354
Bram Moolenaar [Sun, 2 Aug 2020 14:10:39 +0000 (16:10 +0200)]
patch 8.2.1354: test 59 is old style

Problem:    Test 59 is old style.
Solution:   Convert into a new style test. (Yegappan Lakshmanan, closes #6604)

4 years agopatch 8.2.1353: crash when drawing double-wide character in terminal window v8.2.1353
Bram Moolenaar [Sun, 2 Aug 2020 13:05:05 +0000 (15:05 +0200)]
patch 8.2.1353: crash when drawing double-wide character in terminal window

Problem:    Crash when drawing double-wide character in terminal window.
            (Masato Nishihata)
Solution:   Check getcell() returning NULL. (issue #6141)

4 years agopatch 8.2.1352: Vim9: no error for shadowing a script-local function v8.2.1352
Bram Moolenaar [Sat, 1 Aug 2020 21:22:18 +0000 (23:22 +0200)]
patch 8.2.1352: Vim9: no error for shadowing a script-local function

Problem:    Vim9: no error for shadowing a script-local function by a nested
            function.
Solution:   Check for script-local function. (closes #6586)

4 years agopatch 8.2.1351: Vim9: no proper error if using namespace for nested function v8.2.1351
Bram Moolenaar [Sat, 1 Aug 2020 20:35:13 +0000 (22:35 +0200)]
patch 8.2.1351: Vim9: no proper error if using namespace for nested function

Problem:    Vim9: no proper error if using namespace for nested function.
Solution:   Specifically check for a namespace. (closes #6582)

4 years agopatch 8.2.1350: Vim9: no test for error message when redefining function v8.2.1350
Bram Moolenaar [Sat, 1 Aug 2020 20:23:20 +0000 (22:23 +0200)]
patch 8.2.1350: Vim9: no test for error message when redefining function

Problem:    Vim9: no test for error message when redefining function.
Solution:   Add a test.

4 years agopatch 8.2.1349: Vim9: can define a function with the name of an import v8.2.1349
Bram Moolenaar [Sat, 1 Aug 2020 20:16:43 +0000 (22:16 +0200)]
patch 8.2.1349: Vim9: can define a function with the name of an import

Problem:    Vim9: can define a function with the name of an import.
Solution:   Disallow using an existing name. (closes #6585)

4 years agopatch 8.2.1348: build failure without the eval feature v8.2.1348
Bram Moolenaar [Sat, 1 Aug 2020 19:11:38 +0000 (21:11 +0200)]
patch 8.2.1348: build failure without the eval feature

Problem:    Build failure without the eval feature.
Solution:   Add #ifdef.

4 years agopatch 8.2.1347: cannot easily get the script ID v8.2.1347
Bram Moolenaar [Sat, 1 Aug 2020 18:45:11 +0000 (20:45 +0200)]
patch 8.2.1347: cannot easily get the script ID

Problem:    Cannot easily get the script ID.
Solution:   Support expand('<SID>').

4 years agopatch 8.2.1346: small build fails v8.2.1346
Bram Moolenaar [Sat, 1 Aug 2020 17:23:43 +0000 (19:23 +0200)]
patch 8.2.1346: small build fails

Problem:    Small build fails.
Solution:   Add #ifdef.

4 years agopatch 8.2.1345: Redraw error when using visual block and scroll v8.2.1345
Bram Moolenaar [Sat, 1 Aug 2020 17:14:13 +0000 (19:14 +0200)]
patch 8.2.1345: Redraw error when using visual block and scroll

Problem:    Redraw error when using visual block and scroll.
Solution:   Add check for w_topline. ( closes #6597)

4 years agopatch 8.2.1344: Vim9: No test for trying to redefine global function v8.2.1344
Bram Moolenaar [Sat, 1 Aug 2020 16:57:52 +0000 (18:57 +0200)]
patch 8.2.1344: Vim9: No test for trying to redefine global function

Problem:    Vim9: No test for trying to redefine global function.
Solution:   Add a test.

4 years agopatch 8.2.1343: Vim9: cannot find global function when using g: v8.2.1343
Bram Moolenaar [Sat, 1 Aug 2020 16:53:07 +0000 (18:53 +0200)]
patch 8.2.1343: Vim9: cannot find global function when using g:

Problem:    Vim9: cannot find global function when using g: when local
            function with the same name exists.
Solution:   Find global function when using g:.

4 years agopatch 8.2.1342: Vim9: accidentally using "t" gives a confusing error v8.2.1342
Bram Moolenaar [Sat, 1 Aug 2020 15:00:03 +0000 (17:00 +0200)]
patch 8.2.1342: Vim9: accidentally using "t" gives a confusing error

Problem:    Vim9: accidentally using "x" gives a confusing error.
Solution:   Disallow using ":t" in Vim9 script. (issue #6399)

4 years agopatch 8.2.1341: build failures v8.2.1341
Bram Moolenaar [Sat, 1 Aug 2020 14:35:08 +0000 (16:35 +0200)]
patch 8.2.1341: build failures

Problem:    Build failures.
Solution:   Add missing error message.

4 years agopatch 8.2.1340: some tests fail on Cirrus CI and/or with FreeBSD v8.2.1340
Bram Moolenaar [Sat, 1 Aug 2020 14:08:19 +0000 (16:08 +0200)]
patch 8.2.1340: some tests fail on Cirrus CI and/or with FreeBSD

Problem:    Some tests fail on Cirrus CI and/or with FreeBSD.
Solution:   Make 'backupskip' empty. Do not run tests as root. Check for
            directory when using viminfo. (Ozaki Kiichi, closes #6596)

4 years agopatch 8.2.1339: Vim9: assigning to global dict variable doesn't work v8.2.1339
Bram Moolenaar [Sat, 1 Aug 2020 13:53:19 +0000 (15:53 +0200)]
patch 8.2.1339: Vim9: assigning to global dict variable doesn't work

Problem:    Vim9: assigning to global dict variable doesn't work.
Solution:   Guess variable type based in index type. (issue #6591)

4 years agopatch 8.2.1338: Vim9: assigning to script-local variable doesn't check type v8.2.1338
Bram Moolenaar [Sat, 1 Aug 2020 13:38:38 +0000 (15:38 +0200)]
patch 8.2.1338: Vim9: assigning to script-local variable doesn't check type

Problem:    Vim9: assigning to script-local variable doesn't check type.
Solution:   Use the type. (issue #6591)

4 years agopatch 8.2.1337: Vim9: cannot use empty key in dict assignment v8.2.1337
Bram Moolenaar [Sat, 1 Aug 2020 12:06:38 +0000 (14:06 +0200)]
patch 8.2.1337: Vim9: cannot use empty key in dict assignment

Problem:    Vim9: cannot use empty key in dict assignment.
Solution:   Allow empty key. (closes #6591)

4 years agopatch 8.2.1336: build failure on non-Unix systems v8.2.1336
Bram Moolenaar [Sat, 1 Aug 2020 11:22:10 +0000 (13:22 +0200)]
patch 8.2.1336: build failure on non-Unix systems

Problem:    Build failure on non-Unix systems.
Solution:   Add #ifdef.

4 years agopatch 8.2.1335: CTRL-C in the GUI doesn't interrupt v8.2.1335
Bram Moolenaar [Sat, 1 Aug 2020 11:10:14 +0000 (13:10 +0200)]
patch 8.2.1335: CTRL-C in the GUI doesn't interrupt

Problem:    CTRL-C in the GUI doesn't interrupt. (Sergey Vlasov)
Solution:   Recognize "C" with CTRL modifier as CTRL-C. (issue #6565)

4 years agopatch 8.2.1334: Github workflow timeout needs tuning v8.2.1334
Bram Moolenaar [Sat, 1 Aug 2020 10:26:04 +0000 (12:26 +0200)]
patch 8.2.1334: Github workflow timeout needs tuning

Problem:    Github workflow timeout needs tuning
Solution:   Use a 10 minute timeout. Fail when timing out. (Ken Takata,
            closes #6590)

4 years agopatch 8.2.1333: Vim9: memory leak when using nested global function v8.2.1333
Bram Moolenaar [Fri, 31 Jul 2020 22:03:09 +0000 (00:03 +0200)]
patch 8.2.1333: Vim9: memory leak when using nested global function

Problem:    Vim9: memory leak when using nested global function.
Solution:   Swap from and to when copying the lines.

4 years agopatch 8.2.1332: Vim9: memory leak when using nested global function v8.2.1332
Bram Moolenaar [Fri, 31 Jul 2020 21:47:12 +0000 (23:47 +0200)]
patch 8.2.1332: Vim9: memory leak when using nested global function

Problem:    Vim9: memory leak when using nested global function.
Solution:   Delete the function when deleting the instruction.  Disable test
            that still causes a leak.

4 years agopatch 8.2.1331: Vim9: :echo with two lists doesn't work v8.2.1331
Bram Moolenaar [Fri, 31 Jul 2020 20:38:17 +0000 (22:38 +0200)]
patch 8.2.1331: Vim9: :echo with two lists doesn't work

Problem:    Vim9: :echo with two lists doesn't work.
Solution:   Do not skip white space before []. (closes #6552)

4 years agopatch 8.2.1330: Github workflow takes longer than needed v8.2.1330
Bram Moolenaar [Fri, 31 Jul 2020 20:17:32 +0000 (22:17 +0200)]
patch 8.2.1330: Github workflow takes longer than needed

Problem:    Github workflow takes longer than needed.
Solution:   Do two test runs in parallel instead of sequentially. (Ken Takata,
            closes #6579)

4 years agopatch 8.2.1329: Vim9: cannot define global function inside :def function v8.2.1329
Bram Moolenaar [Fri, 31 Jul 2020 20:05:04 +0000 (22:05 +0200)]
patch 8.2.1329: Vim9: cannot define global function inside :def function

Problem:    Vim9: cannot define global function inside :def function.
Solution:   Assign to global variable instead of local. (closes #6584)

4 years agopatch 8.2.1328: no space allowed before comma in list v8.2.1328
Bram Moolenaar [Thu, 30 Jul 2020 20:14:33 +0000 (22:14 +0200)]
patch 8.2.1328: no space allowed before comma in list

Problem:    No space allowed before comma in list.
Solution:   Legacy Vim script allows it. (closes #6577)

4 years agopatch 8.2.1327: Mac: configure can't find Tcl libraries v8.2.1327
Bram Moolenaar [Thu, 30 Jul 2020 18:18:08 +0000 (20:18 +0200)]
patch 8.2.1327: Mac: configure can't find Tcl libraries

Problem:    Mac: configure can't find Tcl libraries.
Solution:   Adjust configure check. (closes #6575)

4 years agopatch 8.2.1326: Vim9: skipping over white space after list v8.2.1326
Bram Moolenaar [Thu, 30 Jul 2020 18:08:50 +0000 (20:08 +0200)]
patch 8.2.1326: Vim9: skipping over white space after list

Problem:    Vim9: skipping over white space after list.
Solution:   Do not skip white space, a following [] would be misinterpreted.
            (closes #6552)  Fix a few side effects.

4 years agopatch 8.2.1325: Vim9: using Vim9 script for autaload not tested v8.2.1325
Bram Moolenaar [Wed, 29 Jul 2020 20:11:05 +0000 (22:11 +0200)]
patch 8.2.1325: Vim9: using Vim9 script for autaload not tested

Problem:    Vim9: using Vim9 script for autaload not tested.
Solution:   Add a test.  Update help.

4 years agopatch 8.2.1324: Vim9: line break after "=" does not work v8.2.1324
Bram Moolenaar [Wed, 29 Jul 2020 19:37:43 +0000 (21:37 +0200)]
patch 8.2.1324: Vim9: line break after "=" does not work

Problem:    Vim9: line break after "=" does not work.
Solution:   Also allow for NUL after "=". (closes #6549)

4 years agopatch 8.2.1323: Vim9: invalid operators only rejected in :def function v8.2.1323
Bram Moolenaar [Wed, 29 Jul 2020 19:20:41 +0000 (21:20 +0200)]
patch 8.2.1323: Vim9: invalid operators only rejected in :def function

Problem:    Vim9: invalid operators only rejected in :def function.
Solution:   Also reject them at script level. (closes #6564)

4 years agopatch 8.2.1322: Vim9: method on double quoted string doesn't work v8.2.1322
Bram Moolenaar [Wed, 29 Jul 2020 18:00:38 +0000 (20:00 +0200)]
patch 8.2.1322: Vim9: method on double quoted string doesn't work

Problem:    Vim9: method on double quoted string doesn't work.
Solution:   Recognize double quoted string. (closes #6562)

4 years agopatch 8.2.1321: GitHub CI also runs on tag push v8.2.1321
Bram Moolenaar [Wed, 29 Jul 2020 17:29:23 +0000 (19:29 +0200)]
patch 8.2.1321: GitHub CI also runs on tag push

Problem:    GitHub CI also runs on tag push.
Solution:   Skip CI on push. (Ken Takata, closes #6571)

4 years agopatch 8.2.1320: Vim9: cannot declare some single letter variables v8.2.1320
Bram Moolenaar [Wed, 29 Jul 2020 17:18:00 +0000 (19:18 +0200)]
patch 8.2.1320: Vim9: cannot declare some single letter variables

Problem:    Vim9: cannot declare some single letter variables.
Solution:   Do not recognize a colon for a namespace for single letter
            variables. (closes #6547)

4 years agopatch 8.2.1319: status badge for Github CI has wrong link v8.2.1319
Bram Moolenaar [Wed, 29 Jul 2020 15:43:55 +0000 (17:43 +0200)]
patch 8.2.1319: status badge for Github CI has wrong link

Problem:    Status badge for Github CI has wrong link.
Solution:   Rename and use the right link

4 years agopatch 8.2.1318: no status badge for Github CI v8.2.1318
Bram Moolenaar [Wed, 29 Jul 2020 15:34:33 +0000 (17:34 +0200)]
patch 8.2.1318: no status badge for Github CI

Problem:    No status badge for Github CI.
Solution:   Add a badge.

4 years agopatch 8.2.1317: MS-Windows tests on AppVeyor are slow v8.2.1317
Bram Moolenaar [Wed, 29 Jul 2020 14:32:21 +0000 (16:32 +0200)]
patch 8.2.1317: MS-Windows tests on AppVeyor are slow

Problem:    MS-Windows tests on AppVeyor are slow.
Solution:   Use GitHub Actions. (Ken Takata, closes #6569)

4 years agopatch 8.2.1316: test 42 is still old style v8.2.1316
Bram Moolenaar [Wed, 29 Jul 2020 14:08:21 +0000 (16:08 +0200)]
patch 8.2.1316: test 42 is still old style

Problem:    Test 42 is still old style.
Solution:   Turn it into a new style test. (Yegappan Lakshmanan, closes #6561)

4 years agopatch 8.2.1315: MS-Windows: test log contains escape sequences v8.2.1315
Bram Moolenaar [Wed, 29 Jul 2020 13:03:01 +0000 (15:03 +0200)]
patch 8.2.1315: MS-Windows: test log contains escape sequences

Problem:    MS-Windows: test log contains escape sequences.
Solution:   Do not use t_md and t_me but ANSI escape sequences. (Ken Takata,
            closes #6559)

4 years agopatch 8.2.1314: Vim9: rule for comment after :function is confusing v8.2.1314
Bram Moolenaar [Wed, 29 Jul 2020 12:40:25 +0000 (14:40 +0200)]
patch 8.2.1314: Vim9: rule for comment after :function is confusing

Problem:    Vim9: rule for comment after :function is confusing.
Solution:   Allow double quoted comment after :function in vim9script.
            (closes #6556)

4 years agopatch 8.2.1313: Vim9 script: cannot assign to environment variable v8.2.1313
Bram Moolenaar [Tue, 28 Jul 2020 20:38:37 +0000 (22:38 +0200)]
patch 8.2.1313: Vim9 script: cannot assign to environment variable

Problem:    Vim9 script: cannot assign to environment variable.
Solution:   Recognize environment variable assignment. (closes #6548)
            Also options and registers.

4 years agopatch 8.2.1312: MS-Windows: terminal test may fail if dir.exe exists v8.2.1312
Bram Moolenaar [Tue, 28 Jul 2020 19:40:27 +0000 (21:40 +0200)]
patch 8.2.1312: MS-Windows: terminal test may fail if dir.exe exists

Problem:    MS-Windows: terminal test may fail if dir.exe exists.
Solution:   Use dir.com. (Ken Takata, closes #6557)

4 years agopatch 8.2.1311: test failures with legacy Vim script v8.2.1311
Bram Moolenaar [Tue, 28 Jul 2020 19:15:07 +0000 (21:15 +0200)]
patch 8.2.1311: test failures with legacy Vim script

Problem:    Test failures with legacy Vim script.
Solution:   Actually check for Vim9 script.

4 years agopatch 8.2.1310: configure with Xcode 12 fails to check for tgetent v8.2.1310
Bram Moolenaar [Tue, 28 Jul 2020 19:03:37 +0000 (21:03 +0200)]
patch 8.2.1310: configure with Xcode 12 fails to check for tgetent

Problem:    Configure with Xcode 12 fails to check for tgetent.
Solution:   Declare tgetent(). (Ozaki Kiichi, closes #6558)

4 years agopatch 8.2.1309: build failure with tiny version v8.2.1309
Bram Moolenaar [Tue, 28 Jul 2020 18:25:47 +0000 (20:25 +0200)]
patch 8.2.1309: build failure with tiny version

Problem:    Build failure with tiny version.
Solution:   Add #ifdef.

4 years agopatch 8.2.1308: Vim9: accidentally using "x" causes Vim to exit v8.2.1308
Bram Moolenaar [Tue, 28 Jul 2020 18:07:27 +0000 (20:07 +0200)]
patch 8.2.1308: Vim9: accidentally using "x" causes Vim to exit

Problem:    Vim9: accidentally using "x" causes Vim to exit.
Solution:   Disallow using ":x" or "xit" in Vim9 script. (closes #6399)

4 years agopatch 8.2.1307: popup window width does not include number of sign columns v8.2.1307
Bram Moolenaar [Mon, 27 Jul 2020 20:40:37 +0000 (22:40 +0200)]
patch 8.2.1307: popup window width does not include number of sign columns

Problem:    popup window width does not include number, fold of sign column
            width.
Solution:   Take number, fold and sign column with into account.

4 years agopatch 8.2.1306: checking for first character of dict key is inconsistent v8.2.1306
Bram Moolenaar [Mon, 27 Jul 2020 19:43:28 +0000 (21:43 +0200)]
patch 8.2.1306: checking for first character of dict key is inconsistent

Problem:    Checking for first character of dict key is inconsistent.
Solution:   Add eval_isdictc(). (closes #6546)

4 years agopatch 8.2.1305: some tests are still old style v8.2.1305
Bram Moolenaar [Mon, 27 Jul 2020 18:02:41 +0000 (20:02 +0200)]
patch 8.2.1305: some tests are still old style

Problem:    Some tests are still old style.
Solution:   Convert tests 52 and 70 to new style. (Yegappan Lakshmanan,
            closes #6544)  Fix error in FinishTesting().

4 years agopatch 8.2.1304: debug backtrace isn't tested much v8.2.1304
Bram Moolenaar [Mon, 27 Jul 2020 17:47:07 +0000 (19:47 +0200)]
patch 8.2.1304: debug backtrace isn't tested much

Problem:    Debug backtrace isn't tested much.
Solution:   Add more specific tests. (Ben Jackson, closes #6540)

4 years agopatch 8.2.1303: calling popup_setoptions() resets 'signcolumn' v8.2.1303
Bram Moolenaar [Sun, 26 Jul 2020 20:20:54 +0000 (22:20 +0200)]
patch 8.2.1303: calling popup_setoptions() resets 'signcolumn'

Problem:    Calling popup_setoptions() resets 'signcolumn'.
Solution:   Only set 'signcolumn' when creating the popup. (closes #6542)

4 years agopatch 8.2.1302: Vim9: varargs arg after optional arg does not work v8.2.1302
Bram Moolenaar [Sun, 26 Jul 2020 16:33:09 +0000 (18:33 +0200)]
patch 8.2.1302: Vim9: varargs arg after optional arg does not work

Problem:    Vim9: varargs arg after optional arg does not work
Solution:   Check for the "..." first. (issue #6507)

4 years agopatch 8.2.1301: Vim9: varargs argument type not parsed properly v8.2.1301
Bram Moolenaar [Sun, 26 Jul 2020 16:16:58 +0000 (18:16 +0200)]
patch 8.2.1301: Vim9: varargs argument type not parsed properly

Problem:    Vim9: varargs argument type not parsed properly.
Solution:   Skip over the "...". (issue #6507)

4 years agopatch 8.2.1300: Vim9: optional argument type not parsed properly v8.2.1300
Bram Moolenaar [Sun, 26 Jul 2020 15:56:25 +0000 (17:56 +0200)]
patch 8.2.1300: Vim9: optional argument type not parsed properly

Problem:    Vim9: optional argument type not parsed properly.
Solution:   Skip over the "?". (issue #6507)

4 years agoUpdate runtime files.
Bram Moolenaar [Sun, 26 Jul 2020 15:00:44 +0000 (17:00 +0200)]
Update runtime files.

4 years agopatch 8.2.1299: compiler warning for using size_t for int and void pointer v8.2.1299
Bram Moolenaar [Sun, 26 Jul 2020 13:55:25 +0000 (15:55 +0200)]
patch 8.2.1299: compiler warning for using size_t for int and void pointer

Problem:    Compiler warning for using size_t for int and void pointer.
Solution:   Add type casts.

4 years agopatch 8.2.1298: compiler warning for unused argument in small version v8.2.1298
Bram Moolenaar [Sun, 26 Jul 2020 13:51:06 +0000 (15:51 +0200)]
patch 8.2.1298: compiler warning for unused argument in small version

Problem:    Compiler warning for unused argument in small version.
Solution:   Add UNUSED.

4 years agopatch 8.2.1297: when a test fails it's often not easy to see where v8.2.1297
Bram Moolenaar [Sun, 26 Jul 2020 13:37:02 +0000 (15:37 +0200)]
patch 8.2.1297: when a test fails it's often not easy to see where

Problem:    When a test fails it's often not easy to see what the call stack
            is.
Solution:   Add more entries from the call stack in the exception message.

4 years agopatch 8.2.1296: some part of using 'smarcase' was not tested v8.2.1296
Bram Moolenaar [Sun, 26 Jul 2020 11:27:16 +0000 (13:27 +0200)]
patch 8.2.1296: some part of using 'smarcase' was not tested

Problem:    Some part of using 'smarcase' was not tested.
Solution:   Add more tests. (Dominique PellĂ©, closes #6538)

4 years agopatch 8.2.1295: tests 44 and 99 are old style v8.2.1295
Bram Moolenaar [Sun, 26 Jul 2020 10:52:59 +0000 (12:52 +0200)]
patch 8.2.1295: tests 44 and 99 are old style

Problem:    Tests 44 and 99 are old style.
Solution:   Convert to new style tests. (Yegappan Lakshmanan, closes #6536)