]> granicus.if.org Git - vim/log
vim
3 years agopatch 8.2.2564: focus events end Insert mode if 'esckeys' is not set v8.2.2564
Bram Moolenaar [Wed, 3 Mar 2021 14:24:28 +0000 (15:24 +0100)]
patch 8.2.2564: focus events end Insert mode if 'esckeys' is not set

Problem:    Focus events end Insert mode if 'esckeys' is not set.
Solution:   Do not enable focus events when 'esckeys' is off. (closes #7926)

3 years agopatch 8.2.2563: cannot use multibyte characters for folding in 'fillchars' v8.2.2563
Bram Moolenaar [Wed, 3 Mar 2021 12:26:02 +0000 (13:26 +0100)]
patch 8.2.2563: cannot use multibyte characters for folding in 'fillchars'

Problem:    Cannot use multibyte characters for folding in 'fillchars'.
Solution:   Port pull request 11568 to Vim. (Yegappan Lakshmanan,
            closes #7924)

3 years agopatch 8.2.2562: GUI: star register changed when 'clipboard is "unnamedplus" v8.2.2562
Bram Moolenaar [Tue, 2 Mar 2021 18:04:11 +0000 (19:04 +0100)]
patch 8.2.2562: GUI: star register changed when 'clipboard is "unnamedplus"

Problem:    GUI: star register changed when 'clipboard is "unnamedplus". (Ingo
            Karkat)
Solution:   Do not change the star register when 'clipboard' contains
            "unnamedplus" and not "unnamed". (closes #1516)

3 years agopatch 8.2.2561: not all textprop code is covered by tests v8.2.2561
Bram Moolenaar [Tue, 2 Mar 2021 12:36:47 +0000 (13:36 +0100)]
patch 8.2.2561: not all textprop code is covered by tests

Problem:    Not all textprop code is covered by tests.
Solution:   Add a few more test cases. (Dominique Pellé, closes #7908)

3 years agopatch 8.2.2560: setting 'winminheigt' does not take tabline into account v8.2.2560
Bram Moolenaar [Mon, 1 Mar 2021 20:02:46 +0000 (21:02 +0100)]
patch 8.2.2560: setting 'winminheigt' does not take tabline into account

Problem:    Setting 'winminheigt' does not take tabline into account.
Solution:   Subtract the tabline from the available height. (closes #7899)

3 years agopatch 8.2.2559: MS-Windows: guifont test fails on Windows XP v8.2.2559
Bram Moolenaar [Sun, 28 Feb 2021 22:13:40 +0000 (23:13 +0100)]
patch 8.2.2559: MS-Windows: guifont test fails on Windows XP

Problem:    MS-Windows: guifont test fails on Windows XP.
Solution:   Check windowsversion().

3 years agopatch 8.2.2558: no error if a lambda argument shadows a variable v8.2.2558
Bram Moolenaar [Sun, 28 Feb 2021 15:55:11 +0000 (16:55 +0100)]
patch 8.2.2558: no error if a lambda argument shadows a variable

Problem:    No error if a lambda argument shadows a variable.
Solution:   Check that the argument name shadows a local, argument or script
            variable. (closes #7898)

3 years agopatch 8.2.2557: compiler warning for shadowd variable v8.2.2557
Bram Moolenaar [Sat, 27 Feb 2021 22:39:22 +0000 (23:39 +0100)]
patch 8.2.2557: compiler warning for shadowd variable

Problem:    Compiler warning for shadowd variable.
Solution:   Declare "p" only once.

3 years agopatch 8.2.2556: Vim9: :import with "as" not fully supported v8.2.2556
Bram Moolenaar [Sat, 27 Feb 2021 21:41:19 +0000 (22:41 +0100)]
patch 8.2.2556: Vim9: :import with "as" not fully supported

Problem:    Vim9: :import with "as" not fully supported.
Solution:   Implement "as" for more cases.

3 years agopatch 8.2.2555: Vim9: missing test for 8.2.2553 v8.2.2555
Bram Moolenaar [Sat, 27 Feb 2021 21:36:43 +0000 (22:36 +0100)]
patch 8.2.2555: Vim9: missing test for 8.2.2553

Problem:    Vim9: missing test for 8.2.2553.
Solution:   Add a simple test.

3 years agopatch 8.2.2554: Vim9: exporting a final is not tested v8.2.2554
Bram Moolenaar [Sat, 27 Feb 2021 21:33:21 +0000 (22:33 +0100)]
patch 8.2.2554: Vim9: exporting a final is not tested

Problem:    Vim9: exporting a final is not tested.
Solution:   Add a test.

3 years agoUpdate runtime files.
Bram Moolenaar [Sat, 27 Feb 2021 15:38:07 +0000 (16:38 +0100)]
Update runtime files.

3 years agopatch 8.2.2553: Vim9: Cannot put "|" after "{" v8.2.2553
Bram Moolenaar [Fri, 26 Feb 2021 21:21:23 +0000 (22:21 +0100)]
patch 8.2.2553: Vim9: Cannot put "|" after "{"

Problem:    Vim9: Cannot put "|" after "{".
Solution:   Add the EX_TRLBAR flag. (issue #7904)

3 years agopatch 8.2.2552: Vim9: no reason to consider "{{{{{{{{" a command v8.2.2552
Bram Moolenaar [Fri, 26 Feb 2021 20:56:47 +0000 (21:56 +0100)]
patch 8.2.2552: Vim9: no reason to consider "{{{{{{{{" a command

Problem:    Vim9: no reason to consider "{{{{{{{{" a command.
Solution:   Just use "{". (issue #7904)

3 years agopatch 8.2.2551: MS-Windows: colors test file is not installed v8.2.2551
Bram Moolenaar [Fri, 26 Feb 2021 19:25:35 +0000 (20:25 +0100)]
patch 8.2.2551: MS-Windows: colors test file is not installed

Problem:    MS-Windows: colors test file is not installed.
Solution:   Also copy runtime/colors/tools. (Ken Takata, closes #7902)

3 years agopatch 8.2.2550: signal stack size is wrong with latest glibc 2.34 v8.2.2550
Bram Moolenaar [Thu, 25 Feb 2021 16:17:56 +0000 (17:17 +0100)]
patch 8.2.2550: signal stack size is wrong with latest glibc 2.34

Problem:    Signal stack size is wrong with latest glibc 2.34.
Solution:   Use sysconf(_SC_SIGSTKSZ) if available. (Zdenek Dohnal, closes
            #7895)

3 years agopatch 8.2.2549: crash after using "g:" in a for loop v8.2.2549
Bram Moolenaar [Wed, 24 Feb 2021 11:27:31 +0000 (12:27 +0100)]
patch 8.2.2549: crash after using "g:" in a for loop

Problem:    Crash after using "g:" in a for loop.
Solution:   Increment the reference count. (closes #7892)

3 years agopatch 8.2.2548: May get stuck in the cmdline window using :normal v8.2.2548
Bram Moolenaar [Tue, 23 Feb 2021 18:39:20 +0000 (19:39 +0100)]
patch 8.2.2548: May get stuck in the cmdline window using :normal

Problem:    May get stuck in the cmdline window using :normal.
Solution:   Have nv_esc() return K_IGNORE.

3 years agopatch 8.2.2547: "%" command not accurate for big files v8.2.2547
Bram Moolenaar [Tue, 23 Feb 2021 18:32:03 +0000 (19:32 +0100)]
patch 8.2.2547: "%" command not accurate for big files

Problem:    "%" command not accurate for big files.
Solution:   Make it more accurate for files up to 21M lines. (Dominique Pellé,
            closes #7889)

3 years agopatch 8.2.2546: typo in mouse key name v8.2.2546
Bram Moolenaar [Tue, 23 Feb 2021 18:19:58 +0000 (19:19 +0100)]
patch 8.2.2546: typo in mouse key name

Problem:    Typo in mouse key name.
Solution:   Fix the typo. (issue #4725)

3 years agopatch 8.2.2545: errors and crash when terminal window is zero height v8.2.2545
Bram Moolenaar [Tue, 23 Feb 2021 16:47:23 +0000 (17:47 +0100)]
patch 8.2.2545: errors and crash when terminal window is zero height

Problem:    Errors and crash when terminal window is zero height. (Leonid V.
            Fedorenchik)
Solution:   Do not resize when width or height is zero. (closes #7890)

3 years agopatch 8.2.2544: Vim9: error for argument when checking for lambda v8.2.2544
Bram Moolenaar [Tue, 23 Feb 2021 11:05:46 +0000 (12:05 +0100)]
patch 8.2.2544: Vim9: error for argument when checking for lambda

Problem:    Vim9: error for argument when checking for lambda.
Solution:   Respect the skip flag. (closes #7887)

3 years agopatch 8.2.2543: Vim9: a return inside try/catch does not restore properly v8.2.2543
Bram Moolenaar [Mon, 22 Feb 2021 21:45:10 +0000 (22:45 +0100)]
patch 8.2.2543: Vim9: a return inside try/catch does not restore properly

Problem:    Vim9: a return inside try/catch does not restore exception state
            properly.
Solution:   When there is no ":finally" jump to ":endtry". (closes #7882)

3 years agopatch 8.2.2542: highlight of char beyond line end is not correct v8.2.2542
Bram Moolenaar [Mon, 22 Feb 2021 21:13:49 +0000 (22:13 +0100)]
patch 8.2.2542: highlight of char beyond line end is not correct

Problem:    Highlight of char beyond line end is not correct. (Chuan Wei Foo)
Solution:   Fix counting NUL as one cell.  Draw one more character if the EOL
            is part of the match. (closes #7883)

3 years agopatch 8.2.2541: popup_create() does not allow boolean for "cursorline" v8.2.2541
Bram Moolenaar [Sun, 21 Feb 2021 22:12:18 +0000 (23:12 +0100)]
patch 8.2.2541: popup_create() does not allow boolean for "cursorline"

Problem:    Popup_create() does not allow boolean for "cursorline".
Solution:   Use dict_get_bool(). (issue #7869)

3 years agopatch 8.2.2540: Vim9: no error for using script var name for argument v8.2.2540
Bram Moolenaar [Sun, 21 Feb 2021 21:20:24 +0000 (22:20 +0100)]
patch 8.2.2540: Vim9: no error for using script var name for argument

Problem:    Vim9: no error for using script var name for argument.
Solution:   Check for this error. (closes #7868)

3 years agopatch 8.2.2539: Vim9: return from finally block causes a hang v8.2.2539
Bram Moolenaar [Sun, 21 Feb 2021 20:32:45 +0000 (21:32 +0100)]
patch 8.2.2539: Vim9: return from finally block causes a hang

Problem:    Vim9: return from finally block causes a hang.
Solution:   Store both the finally and endtry indexes. (closes #7885)

3 years agopatch 8.2.2538: crash when using Python list iterator v8.2.2538
Bram Moolenaar [Sun, 21 Feb 2021 18:12:47 +0000 (19:12 +0100)]
patch 8.2.2538: crash when using Python list iterator

Problem:    Crash when using Python list iterator.
Solution:   Increment the list reference count. (closes #7886)

3 years agopatch 8.2.2537: Vim9: crash when map() fails v8.2.2537
Bram Moolenaar [Sun, 21 Feb 2021 15:20:18 +0000 (16:20 +0100)]
patch 8.2.2537: Vim9: crash when map() fails

Problem:    Vim9: crash when map() fails.
Solution:   Clear typval before using it. (closes #7884)

3 years agopatch 8.2.2536: Coverity complains about unchecked return value v8.2.2536
Bram Moolenaar [Sat, 20 Feb 2021 19:26:16 +0000 (20:26 +0100)]
patch 8.2.2536: Coverity complains about unchecked return value

Problem:    Coverity complains about unchecked return value.
Solution:   Add (void).

3 years agopatch 8.2.2535: MS-Windows: cannot run all vim9 tests v8.2.2535
Bram Moolenaar [Sat, 20 Feb 2021 19:13:42 +0000 (20:13 +0100)]
patch 8.2.2535: MS-Windows: cannot run all vim9 tests

Problem:    MS-Windows: cannot run all vim9 tests.
Solution:   Make test_vim9 target work.

3 years agopatch 8.2.2534: missing test coverage v8.2.2534
Bram Moolenaar [Sat, 20 Feb 2021 18:21:36 +0000 (19:21 +0100)]
patch 8.2.2534: missing test coverage

Problem:    Missing test coverage.
Solution:   Improve test coverage for completion with different encodings,
            mapset(), and term function failures. (Dominique Pellé,
            closes #7877)

3 years agopatch 8.2.2533: Vim9: cannot use a range with :unlet v8.2.2533
Bram Moolenaar [Sat, 20 Feb 2021 16:04:02 +0000 (17:04 +0100)]
patch 8.2.2533: Vim9: cannot use a range with :unlet

Problem:    Vim9: cannot use a range with :unlet.
Solution:   Implement ISN_UNLETRANGE.

3 years agopatch 8.2.2532: Vim9: confusing error if :k is used with a range v8.2.2532
Bram Moolenaar [Sat, 20 Feb 2021 07:16:51 +0000 (08:16 +0100)]
patch 8.2.2532: Vim9: confusing error if :k is used with a range

Problem:    Vim9: confusing error if :k is used with a range.
Solution:   Give an error about the range. (issue #7874)

3 years agopatch 8.2.2531: Vim9: the :k command is obscure v8.2.2531
Bram Moolenaar [Fri, 19 Feb 2021 20:42:57 +0000 (21:42 +0100)]
patch 8.2.2531: Vim9: the :k command is obscure

Problem:    Vim9: the :k command is obscure.
Solution:   Disallow using :k, can use :mark instead. (closes #7874)

3 years agopatch 8.2.2530: Vim9: not enough testing for profiling v8.2.2530
Bram Moolenaar [Fri, 19 Feb 2021 18:13:21 +0000 (19:13 +0100)]
patch 8.2.2530: Vim9: not enough testing for profiling

Problem:    Vim9: not enough testing for profiling.
Solution:   Add a test with nested functions and a lambda.  Fix profiling
            for calling a compiled function.

3 years agopatch 8.2.2529: Vim9: Not possible to use legacy and Vim9 script in one file v8.2.2529
Bram Moolenaar [Wed, 17 Feb 2021 20:57:03 +0000 (21:57 +0100)]
patch 8.2.2529: Vim9: Not possible to use legacy and Vim9 script in one file

Problem:    Vim9: Not possible to use legacy and Vim9 script in one file.
Solution:   Vim9: allow for "if false" before :vim9script. (closes #7851)

3 years agopatch 8.2.2528: Vim9: crash when compiling lambda fails v8.2.2528
Bram Moolenaar [Wed, 17 Feb 2021 17:49:11 +0000 (18:49 +0100)]
patch 8.2.2528: Vim9: crash when compiling lambda fails

Problem:    Vim9: crash when compiling lambda fails.
Solution:   Bail out after compilation fails. (closes #7862)

3 years agopatch 8.2.2527: Vim9: lambda return type is not determined at script level v8.2.2527
Bram Moolenaar [Wed, 17 Feb 2021 16:00:27 +0000 (17:00 +0100)]
patch 8.2.2527: Vim9: lambda return type is not determined at script level

Problem:    Vim9: lambda return type is not determined at script level.
Solution:   Compile the lambda to get the return type. (closes #7843)

3 years agopatch 8.2.2526: build failure v8.2.2526
Bram Moolenaar [Wed, 17 Feb 2021 14:05:45 +0000 (15:05 +0100)]
patch 8.2.2526: build failure

Problem:    Build failure.
Solution:   Change lookup_scriptvar() arguments.

3 years agopatch 8.2.2525: Vim9: only local variables checked for a name v8.2.2525
Bram Moolenaar [Wed, 17 Feb 2021 13:52:14 +0000 (14:52 +0100)]
patch 8.2.2525: Vim9: only local variables checked for a name

Problem:    Vim9: only local variables checked for a name.
Solution:   Also check arguments and script variables. (closes #7838)

3 years agopatch 8.2.2524: cannot change the characters displayed in the foldcolumn v8.2.2524
Bram Moolenaar [Wed, 17 Feb 2021 12:14:07 +0000 (13:14 +0100)]
patch 8.2.2524: cannot change the characters displayed in the foldcolumn

Problem:    Cannot change the characters displayed in the foldcolumn.
Solution:   Add fields to 'fillchars'. (Yegappan Lakshmanan, Matthieu Coudron,
            closes #7860)

3 years agopatch 8.2.2523: Svelte filetype not recognized v8.2.2523
Bram Moolenaar [Wed, 17 Feb 2021 11:29:17 +0000 (12:29 +0100)]
patch 8.2.2523: Svelte filetype not recognized

Problem:    Svelte filetype not recognized.
Solution:   Add a detection rule. (Brian Ryall, closes #7858)

3 years agopatch 8.2.2522: Beancount filetype not recognized v8.2.2522
Bram Moolenaar [Wed, 17 Feb 2021 11:25:49 +0000 (12:25 +0100)]
patch 8.2.2522: Beancount filetype not recognized

Problem:    Beancount filetype not recognized.
Solution:   Add a detection rule. (Brian Ryall, closes #7859)

3 years agopatch 8.2.2521: some compilers can't handle pointer initialization v8.2.2521
Bram Moolenaar [Tue, 16 Feb 2021 21:22:13 +0000 (22:22 +0100)]
patch 8.2.2521: some compilers can't handle pointer initialization

Problem:    Some compilers can't handle pointer initialization. (John
            Marriott)
Solution:   Use a local struct and assign it afterwards.

3 years agopatch 8.2.2520: missing tests for 'listchars' v8.2.2520
Bram Moolenaar [Tue, 16 Feb 2021 20:14:33 +0000 (21:14 +0100)]
patch 8.2.2520: missing tests for 'listchars'

Problem:    Missing tests for 'listchars'.
Solution:   Add a few more checks. (Yegappan Lakshmanan, closes #7854)

3 years agopatch 8.2.2519: Vim9: no reason to keep strange Vi behavior v8.2.2519
Bram Moolenaar [Mon, 15 Feb 2021 20:30:30 +0000 (21:30 +0100)]
patch 8.2.2519: Vim9: no reason to keep strange Vi behavior

Problem:    Vim9: no reason to keep strange Vi behavior.
Solution:   ":3" and ":3|" both go to line 3. ":|" does not print the line.
            (closes #7840)

3 years agopatch 8.2.2518: 'listchars' should be window-local v8.2.2518
Bram Moolenaar [Mon, 15 Feb 2021 19:38:25 +0000 (20:38 +0100)]
patch 8.2.2518: 'listchars' should be window-local

Problem:    'listchars' should be window-local.
Solution:   Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz,
            closes #5206, closes #7850)

3 years agopatch 8.2.2517: Vim9: fix for s390 not tested on other systems v8.2.2517
Bram Moolenaar [Sun, 14 Feb 2021 21:40:57 +0000 (22:40 +0100)]
patch 8.2.2517: Vim9: fix for s390 not tested on other systems

Problem:    Vim9: fix for s390 not tested on other systems.
Solution:   Add a test.

3 years agopatch 8.2.2516: test failure on s390 v8.2.2516
Bram Moolenaar [Sun, 14 Feb 2021 15:34:59 +0000 (16:34 +0100)]
patch 8.2.2516: test failure on s390

Problem:    Test failure on s390. (analyses by James McCoy)
Solution:   Only set the try_finally label when not skipping.

3 years agopatch 8.2.2515: memory access error when truncating an empty message v8.2.2515
Bram Moolenaar [Sun, 14 Feb 2021 14:37:30 +0000 (15:37 +0100)]
patch 8.2.2515: memory access error when truncating an empty message

Problem:    Memory access error when truncating an empty message.
Solution:   Check for an empty string. (Dominique Pellé, closes #7841)

3 years agopatch 8.2.2514: Vim9: build error in tiny version v8.2.2514
Bram Moolenaar [Sun, 14 Feb 2021 13:07:34 +0000 (14:07 +0100)]
patch 8.2.2514: Vim9: build error in tiny version

Problem:    Vim9: build error in tiny version.
Solution:   Add #ifdef.

3 years agopatch 8.2.2513: Vim9: missing part of :vim9cmd change v8.2.2513
Bram Moolenaar [Sun, 14 Feb 2021 12:30:01 +0000 (13:30 +0100)]
patch 8.2.2513: Vim9: missing part of :vim9cmd change

Problem:    Vim9: missing part of :vim9cmd change.
Solution:   Use command modifier in in_vim9script().

3 years agopatch 8.2.2512: Vim9: compiling error test sometimes fails v8.2.2512
Bram Moolenaar [Sun, 14 Feb 2021 12:17:22 +0000 (13:17 +0100)]
patch 8.2.2512: Vim9: compiling error test sometimes fails

Problem:    Vim9: compiling error test sometimes fails.
Solution:   use WaitForAssert() instead of sleeping for a bit. (Dominique
            Pellé, closes #7837)

3 years agopatch 8.2.2511: Vim9: cannot use Vim9 script syntax in some places v8.2.2511
Bram Moolenaar [Sun, 14 Feb 2021 11:57:36 +0000 (12:57 +0100)]
patch 8.2.2511: Vim9: cannot use Vim9 script syntax in some places

Problem:    Vim9: cannot use Vim9 script syntax in some places.
Solution:   Add the :vim9cmd command modifier. Incompatible: Makes ":vim9"
            mean ":vim9cmd" instead of ":vim9script".

3 years agopatch 8.2.2510: internal error when popup with mask is zero height or width v8.2.2510
Bram Moolenaar [Sat, 13 Feb 2021 20:31:18 +0000 (21:31 +0100)]
patch 8.2.2510: internal error when popup with mask is zero height or width

Problem:    Internal error when popup with mask is zero height or width.
Solution:   Bail out if width or height is zero. (closes #7831)

3 years agopatch 8.2.2509: tests fail on s390 build v8.2.2509
Bram Moolenaar [Sat, 13 Feb 2021 17:33:02 +0000 (18:33 +0100)]
patch 8.2.2509: tests fail on s390 build

Problem:    Tests fail on s390 build.
Solution:   Initialize trycmd_T.

3 years agopatch 8.2.2508: cannot change the character displayed in non existing lines v8.2.2508
Bram Moolenaar [Sat, 13 Feb 2021 17:24:23 +0000 (18:24 +0100)]
patch 8.2.2508: cannot change the character displayed in non existing lines

Problem:    Cannot change the character displayed in non existing lines.
Solution:   Add the "eob" item to 'fillchars'. (closes #7832, closes #3820)

3 years agoUpdate runtime files
Bram Moolenaar [Sat, 13 Feb 2021 17:14:48 +0000 (18:14 +0100)]
Update runtime files

3 years agopatch 8.2.2507: github build may fail if Ubuntu 20.04 is used v8.2.2507
Bram Moolenaar [Sat, 13 Feb 2021 16:08:33 +0000 (17:08 +0100)]
patch 8.2.2507: github build may fail if Ubuntu 20.04 is used

Problem:    Github build may fail if Ubuntu 20.04 is used.  Installing rust is
            not needed.
Solution:   Specify ubuntu-18.04 instead of latest. Update "pip" instead of
            installing rust. (Ozaki Kiichi, closes #7820)

3 years agopatch 8.2.2506: Vim9: :continue does not work correctly in a :try block v8.2.2506
Bram Moolenaar [Sat, 13 Feb 2021 14:02:46 +0000 (15:02 +0100)]
patch 8.2.2506: Vim9: :continue does not work correctly in a :try block

Problem:    Vim9: :continue does not work correctly in a :try block
Solution:   Add the TRYCLEANUP instruction. (closes #7827)

3 years agopatch 8.2.2505: Vim9: crash after defining function with invalid return type v8.2.2505
Bram Moolenaar [Fri, 12 Feb 2021 21:10:21 +0000 (22:10 +0100)]
patch 8.2.2505: Vim9: crash after defining function with invalid return type

Problem:    Vim9: crash after defining function with invalid return type.
Solution:   Clear function growarrays.  Fix memory leak.

3 years agopatch 8.2.2504: Vim9: crash when using an argument from a closure v8.2.2504
Bram Moolenaar [Fri, 12 Feb 2021 20:50:57 +0000 (21:50 +0100)]
patch 8.2.2504: Vim9: crash when using an argument from a closure

Problem:    Vim9: crash when using an argument from a closure.
Solution:   Check if gen_load_outer is NULL. (closes #7821)

3 years agopatch 8.2.2503: Vim9: a caught error may leave something on the stack v8.2.2503
Bram Moolenaar [Fri, 12 Feb 2021 20:32:47 +0000 (21:32 +0100)]
patch 8.2.2503: Vim9: a caught error may leave something on the stack

Problem:    Vim9: a caught error may leave something on the stack.
Solution:   Drop items from the stack if needed. (closes #7826)

3 years agopatch 8.2.2502: a few github actions are failing v8.2.2502
Bram Moolenaar [Fri, 12 Feb 2021 18:48:51 +0000 (19:48 +0100)]
patch 8.2.2502: a few github actions are failing

Problem:    A few github actions are failing.
Solution:   Install setuptools-rust. (closes #7823)

3 years agopatch 8.2.2501: not always clear where an error is reported v8.2.2501
Bram Moolenaar [Thu, 11 Feb 2021 20:19:34 +0000 (21:19 +0100)]
patch 8.2.2501: not always clear where an error is reported

Problem:    Not always clear where an error is reported.
Solution:   Add the where_T structure and pass it around. (closes #7796)

3 years agopatch 8.2.2500: build fails without the GUI feature v8.2.2500
Bram Moolenaar [Thu, 11 Feb 2021 18:18:58 +0000 (19:18 +0100)]
patch 8.2.2500: build fails without the GUI feature

Problem:    Build fails without the GUI feature.
Solution:   Add #ifdef.

3 years agopatch 8.2.2499: "vim -g --version" does not redirect output v8.2.2499
Bram Moolenaar [Thu, 11 Feb 2021 18:08:05 +0000 (19:08 +0100)]
patch 8.2.2499: "vim -g --version" does not redirect output

Problem:    "vim -g --version" does not redirect output.
Solution:   Reset gui.starting when showing version info. (closes #7815)

3 years agopatch 8.2.2498: no test for what 8.2.2494 fixes v8.2.2498
Bram Moolenaar [Thu, 11 Feb 2021 17:36:30 +0000 (18:36 +0100)]
patch 8.2.2498: no test for what 8.2.2494 fixes

Problem:    No test for what 8.2.2494 fixes.
Solution:   Add a simple change to test the fix. (closes #7818)

3 years agopatch 8.2.2497: no error when using more than one character for a register v8.2.2497
Bram Moolenaar [Wed, 10 Feb 2021 21:23:41 +0000 (22:23 +0100)]
patch 8.2.2497: no error when using more than one character for a register

Problem:    No error when using more than one character for a register name.
Solution:   In Vim9 script check for a single character string. (closes #7814)
            Fix that VAR_BOOL and VAR_SPECIAL are not considered equal.

3 years agopatch 8.2.2496: insufficien testing for text jumping fix v8.2.2496
Bram Moolenaar [Wed, 10 Feb 2021 20:20:30 +0000 (21:20 +0100)]
patch 8.2.2496: insufficien testing for text jumping fix

Problem:    Insufficien testing for text jumping fix.
Solution:   Add another test case.

3 years agopatch 8.2.2495: text jumps up and down when moving the cursor v8.2.2495
Bram Moolenaar [Wed, 10 Feb 2021 20:10:12 +0000 (21:10 +0100)]
patch 8.2.2495: text jumps up and down when moving the cursor

Problem:    Text jumps up and down when moving the cursor in a small window
            with wrapping text and 'scrolloff' set.
Solution:   Adjust the computation of w_skipcol. (partly by Ghjuvan Lacambre,
            closes #7813)

3 years agopatch 8.2.2494: ":rviminfo!" clears most of oldfiles v8.2.2494
Bram Moolenaar [Wed, 10 Feb 2021 18:22:15 +0000 (19:22 +0100)]
patch 8.2.2494: ":rviminfo!" clears most of oldfiles

Problem:    ":rviminfo!" clears most of oldfiles.
Solution:   Add VIF_ONLY_CURBUF to read_viminfo(). (closes #1781)

3 years agopatch 8.2.2493: text property for text left of window shows up v8.2.2493
Bram Moolenaar [Wed, 10 Feb 2021 16:20:28 +0000 (17:20 +0100)]
patch 8.2.2493: text property for text left of window shows up

Problem:    Text property for text left of window shows up.
Solution:   Check if the text property ends before the current column.
            (closes #7806)

3 years agopatch 8.2.2492: command line buffer name cannot be translated v8.2.2492
Bram Moolenaar [Wed, 10 Feb 2021 15:45:24 +0000 (16:45 +0100)]
patch 8.2.2492: command line buffer name cannot be translated

Problem:    Command line buffer name cannot be translated.
Solution:   Add _(). (Gabriel Dupras, closes #7812)

3 years agopatch 8.2.2491: popup window for text property may show in first screen line v8.2.2491
Bram Moolenaar [Wed, 10 Feb 2021 13:56:11 +0000 (14:56 +0100)]
patch 8.2.2491: popup window for text property may show in first screen line

Problem:    Popup window for text property may show in first screen line.
Solution:   If the text position is invisible do not show the popup window.
            (closes #7807)

3 years agopatch 8.2.2490: 'wrap' option is always reset when starting diff mode v8.2.2490
Bram Moolenaar [Wed, 10 Feb 2021 12:18:17 +0000 (13:18 +0100)]
patch 8.2.2490: 'wrap' option is always reset when starting diff mode

Problem:    'wrap' option is always reset when starting diff mode.
Solution:   Add the "followwrap" item in 'diffopt'. (Rick Howe, closes #7797)

3 years agopatch 8.2.2489: current buffer is wrong after deletebufline() fails v8.2.2489
Bram Moolenaar [Tue, 9 Feb 2021 19:02:55 +0000 (20:02 +0100)]
patch 8.2.2489: current buffer is wrong after deletebufline() fails

Problem:    current buffer is wrong after deletebufline() fails to delete a
            line in another buffer.
Solution:   Restore the current buffer.

3 years agopatch 8.2.2488: json_encode() gives generic argument error v8.2.2488
Bram Moolenaar [Mon, 8 Feb 2021 20:53:09 +0000 (21:53 +0100)]
patch 8.2.2488: json_encode() gives generic argument error

Problem:    json_encode() gives generic argument error.
Solution:   Mention the type that can't be encoded. (issue #7802)

3 years agopatch 8.2.2487: terminal shows garbage after double-wide character v8.2.2487
Bram Moolenaar [Mon, 8 Feb 2021 20:29:48 +0000 (21:29 +0100)]
patch 8.2.2487: terminal shows garbage after double-wide character

Problem:    Terminal shows garbage after double-wide character with a
            combining character. (Kyoichiro Yamada)
Solution:   Libvterm: do not add the width of the combining character to the
            glyph width. (closes #7801)

4 years agopatch 8.2.2486: Vim9: some errors for white space do not show context v8.2.2486
Bram Moolenaar [Sun, 7 Feb 2021 17:06:29 +0000 (18:06 +0100)]
patch 8.2.2486: Vim9: some errors for white space do not show context

Problem:    Vim9: some errors for white space do not show context.
Solution:   Include the text at the error.

4 years agopatch 8.2.2485: when sourcing a script again the script version isn't reset v8.2.2485
Bram Moolenaar [Sun, 7 Feb 2021 16:17:58 +0000 (17:17 +0100)]
patch 8.2.2485: when sourcing a script again the script version isn't reset

Problem:    When sourcing a script again the script version isn't reset.
Solution:   Set sn_version to one when sourcing a script again. Clear
            sn_save_cpo properly. (closes #7608)

4 years agopatch 8.2.2484: Vim9: Cannot use a comment starting with #{ v8.2.2484
Bram Moolenaar [Sun, 7 Feb 2021 15:40:05 +0000 (16:40 +0100)]
patch 8.2.2484: Vim9: Cannot use a comment starting with #{

Problem:    Vim9: Cannot use a comment starting with #{ after an expression.
Solution:   Remove the check for "{" since #{ dictionaries are not supported.

4 years agopatch 8.2.2483: Vim9: type error for misformed expression v8.2.2483
Bram Moolenaar [Sun, 7 Feb 2021 15:33:35 +0000 (16:33 +0100)]
patch 8.2.2483: Vim9: type error for misformed expression

Problem:    Vim9: type error for misformed expression.
Solution:   Check for end of command before checking type. (closes #7795)

4 years agopatch 8.2.2482: build error v8.2.2482
Bram Moolenaar [Sun, 7 Feb 2021 15:05:47 +0000 (16:05 +0100)]
patch 8.2.2482: build error

Problem:    Build error.
Solution:   Add new error message.

4 years agopatch 8.2.2481: Vim9: confusing error when variable arguments have default v8.2.2481
Bram Moolenaar [Sun, 7 Feb 2021 14:59:49 +0000 (15:59 +0100)]
patch 8.2.2481: Vim9: confusing error when variable arguments have default

Problem:    Vim9: confusing error when variable arguments have a default
            value.
Solution:   Give a specific error message. (closes #7793)

4 years agopatch 8.2.2480: Vim9: some errors for white space do not show context v8.2.2480
Bram Moolenaar [Sun, 7 Feb 2021 14:28:09 +0000 (15:28 +0100)]
patch 8.2.2480: Vim9: some errors for white space do not show context

Problem:    Vim9: some errors for white space do not show context.
Solution:   Include the text at the error.

4 years agopatch 8.2.2479: set/getbufline test fails without the job feature v8.2.2479
Bram Moolenaar [Sun, 7 Feb 2021 13:31:06 +0000 (14:31 +0100)]
patch 8.2.2479: set/getbufline test fails without the job feature

Problem:    set/getbufline test fails without the job feature.
Solution:   Check whether the job feature is supported. (Dominique Pellé,
            closes #7790)

4 years agopatch 8.2.2478: MS-Windows: backup files for plugins are loaded v8.2.2478
Bram Moolenaar [Sun, 7 Feb 2021 13:01:35 +0000 (14:01 +0100)]
patch 8.2.2478: MS-Windows: backup files for plugins are loaded

Problem:    MS-Windows: backup files for plugins are loaded.
Solution:   Do not use the alternate file name for files ending in "~".

4 years agopatch 8.2.2477: autocommand tests hang on MS-Windows v8.2.2477
Bram Moolenaar [Sun, 7 Feb 2021 12:32:46 +0000 (13:32 +0100)]
patch 8.2.2477: autocommand tests hang on MS-Windows

Problem:    Autocommand tests hang on MS-Windows.
Solution:   Skip a couple of tests.  Fix file name.

4 years agopatch 8.2.2476: using freed memory when splitting window while closing buffer v8.2.2476
Bram Moolenaar [Sun, 7 Feb 2021 11:12:43 +0000 (12:12 +0100)]
patch 8.2.2476: using freed memory when splitting window while closing buffer

Problem:    Using freed memory when using an autocommand to split a window
            while a buffer is being closed.
Solution:   Disallow splitting when the buffer has b_locked_split set.

4 years agopatch 8.2.2475: autocommand tests hangs on MS-Windows v8.2.2475
Bram Moolenaar [Sat, 6 Feb 2021 18:28:48 +0000 (19:28 +0100)]
patch 8.2.2475: autocommand tests hangs on MS-Windows

Problem:    Autocommand tests hangs on MS-Windows.
Solution:   Skip one test.

4 years agopatch 8.2.2474: using freed memory when window is closed by autocommand v8.2.2474
Bram Moolenaar [Sat, 6 Feb 2021 18:19:42 +0000 (19:19 +0100)]
patch 8.2.2474: using freed memory when window is closed by autocommand

Problem:    Using freed memory when window is closed by autocommand.
            (houyunsong)
Solution:   Check the window pointer is still valid.

4 years agopatch 8.2.2473: crash when leaving command line window triggers autocommand v8.2.2473
Bram Moolenaar [Sat, 6 Feb 2021 17:08:45 +0000 (18:08 +0100)]
patch 8.2.2473: crash when leaving command line window triggers autocommand

Problem:    Crash when leaving command line window triggers autocommand.
            (houyunsong)
Solution:   Make sure not to close the current window or buffer.

4 years agopatch 8.2.2472: crash when using command line window in an autocommand v8.2.2472
Bram Moolenaar [Sat, 6 Feb 2021 16:30:31 +0000 (17:30 +0100)]
patch 8.2.2472: crash when using command line window in an autocommand

Problem:    Crash when using command line window in an autocommand.
            (houyunsong)
Solution:   Save and restore au_new_curbuf.

4 years agopatch 8.2.2471: popup_setoptions() does not set textprop in other tab v8.2.2471
Bram Moolenaar [Sat, 6 Feb 2021 13:59:27 +0000 (14:59 +0100)]
patch 8.2.2471: popup_setoptions() does not set textprop in other tab

Problem:    Popup_setoptions() does not set textprop in other tab.
Solution:   use win_valid_any_tab(). (closes #7788)

4 years agopatch 8.2.2470: popup_getoptions() does not get textprop from other tab v8.2.2470
Bram Moolenaar [Sat, 6 Feb 2021 13:22:32 +0000 (14:22 +0100)]
patch 8.2.2470: popup_getoptions() does not get textprop from other tab

Problem:    Popup_getoptions() does not get textprop from other tab.
Solution:   use win_valid_any_tab(). (closes #7786)

4 years agopatch 8.2.2469: confusing error if :winsize has a wrong argument v8.2.2469
Bram Moolenaar [Sat, 6 Feb 2021 11:58:18 +0000 (12:58 +0100)]
patch 8.2.2469: confusing error if :winsize has a wrong argument

Problem:    Confusing error if :winsize has a wrong argument.
Solution:   Quote the argument in the error. (closes #2523)

4 years agopatch 8.2.2468: not easy to get the full command name from a shortened one v8.2.2468
Bram Moolenaar [Sat, 6 Feb 2021 11:38:51 +0000 (12:38 +0100)]
patch 8.2.2468: not easy to get the full command name from a shortened one

Problem:    Not easy to get the full command name from a shortened one.
Solution:   Add fullcommand(). (Martin Tournoij, closes #7777)

4 years agopatch 8.2.2467: script generated by :mkview changes alternate file v8.2.2467
Bram Moolenaar [Fri, 5 Feb 2021 20:55:53 +0000 (21:55 +0100)]
patch 8.2.2467: script generated by :mkview changes alternate file

Problem:    Script generated by :mkview changes alternate file.
Solution:   Only write :balt in the session file. (Harish Rajagopal,
            closes #7779)