]> granicus.if.org Git - vim/log
vim
3 years agopatch 8.2.3598: RouterOS filetype is not recognized v8.2.3598
zainin [Mon, 15 Nov 2021 21:44:11 +0000 (21:44 +0000)]
patch 8.2.3598: RouterOS filetype is not recognized

Problem:    RouterOS filetype is not recognized.
Solution:   Add file and script patterns. (closes #9097)

3 years agopatch 8.2.3597: Vim seems to hang when writing a long text to a terminal v8.2.3597
Bram Moolenaar [Mon, 15 Nov 2021 17:13:11 +0000 (17:13 +0000)]
patch 8.2.3597: Vim seems to hang when writing a long text to a terminal

Problem:    Vim seems to hang when writing a very long text to a terminal
            window.
Solution:   Limit the amount of text based on 'termwinscroll'. (issue #9080)

3 years agopatch 8.2.3596: crash when using :pedit in Vim9 script v8.2.3596
Yegappan Lakshmanan [Mon, 15 Nov 2021 11:22:09 +0000 (11:22 +0000)]
patch 8.2.3596: crash when using :pedit in Vim9 script

Problem:    Crash when using :pedit in Vim9 script.
Solution:   Move check for arguments to after checking there are arguments.
            (Yegappan Lakshmanan, closes #9134, closes #9135)

3 years agopatch 8.2.3595: check for signed overflow might not work everywhere v8.2.3595
Bram Moolenaar [Sun, 14 Nov 2021 14:05:18 +0000 (14:05 +0000)]
patch 8.2.3595: check for signed overflow might not work everywhere

Problem:    Check for signed overflow might not work everywhere.
Solution:   Limit to 32 bit int. (closes #9043, closes #9067)

3 years agopatch 8.2.3594: xxd code is a bit difficult to understand v8.2.3594
Bram Moolenaar [Sun, 14 Nov 2021 13:46:05 +0000 (13:46 +0000)]
patch 8.2.3594: xxd code is a bit difficult to understand

Problem:    Xxd code is a bit difficult to understand.
Solution:   Move some lines to a separate function. (closes #9037)

3 years agopatch 8.2.3593: directory is wrong after executing "lcd" with win_execute() v8.2.3593
Bram Moolenaar [Sun, 14 Nov 2021 11:41:31 +0000 (11:41 +0000)]
patch 8.2.3593: directory is wrong after executing "lcd" with win_execute()

Problem:    Directory is wrong after executing "lcd" with win_execute().
Solution:   Correct the directory when going back to the original window.
            (closes #9132)

3 years agopatch 8.2.3592: Test_hlset fails when terminal has many columns v8.2.3592
Dominique Pelle [Sat, 13 Nov 2021 18:44:37 +0000 (18:44 +0000)]
patch 8.2.3592: Test_hlset fails when terminal has many columns

Problem:    Test_hlset fails when terminal has many columns.
Solution:   Set the number of columns to 80. (Dominique Pellé, closes #9101,
            closes #9100)

3 years agopatch 8.2.3591: no event is triggered when closing a window v8.2.3591
naohiro ono [Sat, 13 Nov 2021 12:38:49 +0000 (12:38 +0000)]
patch 8.2.3591: no event is triggered when closing a window

Problem:    No event is triggered when closing a window.
Solution:   Add the WinClosed event. (Naohiro Ono, closes #9110)

3 years agopatch 8.2.3590: test for v:colornames sometimes fails v8.2.3590
Drew Vogel [Sat, 13 Nov 2021 10:50:01 +0000 (10:50 +0000)]
patch 8.2.3590: test for v:colornames sometimes fails

Problem:    Test for v:colornames sometimes fails. (Dominique Pellé)
Solution:   Check features.  Clear v:colornames between tests. (Drew Vogel,
            closes #9105, closes #9073)

3 years agopatch 8.2.3589: failure when "term_rows" of term_start() is an unusual value v8.2.3589
Bram Moolenaar [Sat, 13 Nov 2021 10:27:40 +0000 (10:27 +0000)]
patch 8.2.3589: failure when "term_rows" of term_start() is an unusual value

Problem:    Failure when the "term_rows" argument of term_start() is an
            unusual value.
Solution:   Limit to range of zero to 1000. (closes #9116)

3 years agopatch 8.2.3588: break statement is never reached v8.2.3588
Bram Moolenaar [Fri, 12 Nov 2021 19:52:47 +0000 (19:52 +0000)]
patch 8.2.3588: break statement is never reached

Problem:    Break statement is never reached.
Solution:   Rely on return value of set_chars_option() not changing.
            (closes #9103)

3 years agopatch 8.2.3587: compiler test fails with backslash file separator v8.2.3587
Bram Moolenaar [Fri, 12 Nov 2021 16:09:54 +0000 (16:09 +0000)]
patch 8.2.3587: compiler test fails with backslash file separator

Problem:    Compiler test fails with backslash file separator.
Solution:   Accept slash and backslash.

3 years agopatch 8.2.3586: command completion test fails v8.2.3586
Bram Moolenaar [Fri, 12 Nov 2021 16:06:03 +0000 (16:06 +0000)]
patch 8.2.3586: command completion test fails

Problem:    Command completion test fails.
Solution:   Add new argument to expected output

3 years agopatch 8.2.3585: crash when passing float to "term_rows" of term_start() v8.2.3585
Bram Moolenaar [Fri, 12 Nov 2021 16:01:15 +0000 (16:01 +0000)]
patch 8.2.3585: crash when passing float to "term_rows" of term_start()

Problem:    Crash when passing float to "term_rows" in the options argument of
            term_start(). (Virginia Senioria)
Solution:   Bail out if the argument is not a number. (closes #9116)

3 years agopatch 8.2.3584: "verbose set efm" reports location of the :compiler command v8.2.3584
Bram Moolenaar [Fri, 12 Nov 2021 11:25:11 +0000 (11:25 +0000)]
patch 8.2.3584: "verbose set efm" reports location of the :compiler command

Problem:    "verbose set efm" reports the location of the :compiler command.
            (Gary Johnson)
Solution:   Add the "-keepscript" argument to :command and use it when
            defining CompilerSet.

3 years agopatch 8.2.3583: the "gd" and "gD" commands do not update search stats v8.2.3583
Bram Moolenaar [Fri, 12 Nov 2021 10:30:04 +0000 (10:30 +0000)]
patch 8.2.3583: the "gd" and "gD" commands do not update search stats

Problem:    The "gd" and "gD" commands do not update search stats. (Gary
            Johnson)
Solution:   Clear search stats.

3 years agoUpdate runtime files
Bram Moolenaar [Sun, 7 Nov 2021 20:27:04 +0000 (20:27 +0000)]
Update runtime files

3 years agopatch 8.2.3582: reading uninitialized memory when giving spell suggestions v8.2.3582
Bram Moolenaar [Thu, 4 Nov 2021 15:46:05 +0000 (15:46 +0000)]
patch 8.2.3582: reading uninitialized memory when giving spell suggestions

Problem:    Reading uninitialized memory when giving spell suggestions.
Solution:   Check that preword is not empty.

3 years agopatch 8.2.3581: reading character past end of line v8.2.3581
Bram Moolenaar [Thu, 4 Nov 2021 15:10:11 +0000 (15:10 +0000)]
patch 8.2.3581: reading character past end of line

Problem:    Reading character past end of line.
Solution:   Correct the cursor column.

3 years agopatch 8.2.3580: gj does not move properly with a wide character v8.2.3580
Christian Brabandt [Thu, 4 Nov 2021 13:28:29 +0000 (13:28 +0000)]
patch 8.2.3580: gj does not move properly with a wide character

Problem:    gj does not move properly with a wide character.
Solution:   Move one to the right. (Christian Brabandt, closes #8702)

3 years agopatch 8.2.3579: CI sometimes fails for MinGW v8.2.3579
Christian Brabandt [Wed, 3 Nov 2021 22:31:44 +0000 (22:31 +0000)]
patch 8.2.3579: CI sometimes fails for MinGW

Problem:    CI sometimes fails for MinGW.
Solution:   Use backslashes in HandleSwapExists(). (Christian Brabandt,
            closes #9078)

3 years agoAdd missing piece of patch 8.2.3578
Bram Moolenaar [Wed, 3 Nov 2021 22:25:06 +0000 (22:25 +0000)]
Add missing piece of patch 8.2.3578

3 years agopatch 8.2.3578: manipulating highlighting is complicated v8.2.3578
Yegappan Lakshmanan [Wed, 3 Nov 2021 21:56:45 +0000 (21:56 +0000)]
patch 8.2.3578: manipulating highlighting is complicated

Problem:    Manipulating highlighting is complicated.
Solution:   Add the hlget() and hlset() functions. (Yegappan Lakshmanan,
            closes #9039)

3 years agopatch 8.2.3577: overflow check fails with 32 ints v8.2.3577
Bram Moolenaar [Wed, 3 Nov 2021 13:43:16 +0000 (13:43 +0000)]
patch 8.2.3577: overflow check fails with 32 ints

Problem:    Overflow check fails with 32 ints.
Solution:   Only test with 64 bit ints.

3 years agopatch 8.2.3576: some functions are not documented for use with a method v8.2.3576
Sean Dewar [Wed, 3 Nov 2021 13:15:47 +0000 (13:15 +0000)]
patch 8.2.3576: some functions are not documented for use with a method

Problem:    Some functions are not documented for use with a method.
Solution:   Add examples.  Fix that sign_unplacelist() only takes one
            argument. (Sean Dewar, closes #9081)

3 years agopatch 8.2.3575: overflow check still fails when sizeof(int) == sizeof(long) v8.2.3575
Bram Moolenaar [Tue, 2 Nov 2021 23:11:00 +0000 (23:11 +0000)]
patch 8.2.3575: overflow check still fails when sizeof(int) == sizeof(long)

Problem:    Overflow check still fails when sizeof(int) == sizeof(long).
Solution:   Use a float to check the result.

3 years agopatch 8.2.3574: divide by zero v8.2.3574
Bram Moolenaar [Tue, 2 Nov 2021 22:48:49 +0000 (22:48 +0000)]
patch 8.2.3574: divide by zero

Problem:    Divide by zero.
Solution:   Don't check for overflow if multiplicand is zero.

3 years agopatch 8.2.3573: cannot decide whether to skip test that fails with 64 bit v8.2.3573
Bram Moolenaar [Tue, 2 Nov 2021 21:39:49 +0000 (21:39 +0000)]
patch 8.2.3573: cannot decide whether to skip test that fails with 64 bit

Problem:    Cannot decide whether to skip test that fails with 64 bit ints.
            (closes #9072)
Solution:   Add v:sizeofint, v:sizeoflong and v:sizeofpointer.  Improve the
            check for multiply overflow.

3 years agopatch 8.2.3572: memory leak when closing window and using "multispace" v8.2.3572
zeertzjq [Tue, 2 Nov 2021 20:56:07 +0000 (20:56 +0000)]
patch 8.2.3572: memory leak when closing window and using "multispace"

Problem:    Memory leak when closing window and using "multispace" in
            'listchars'.
Solution:   Free the memory. (closes #9071)

3 years agopatch 8.2.3571: some unicode control characters are considered printable v8.2.3571
Bram Moolenaar [Tue, 2 Nov 2021 20:24:38 +0000 (20:24 +0000)]
patch 8.2.3571: some unicode control characters are considered printable

Problem:    Some unicode control characters are considered printable.
Solution:   Make 0x2060 - 0x2069 not printable.

3 years agopatch 8.2.3570: Test_very_large_count fails on 32bit systems v8.2.3570
Bram Moolenaar [Mon, 1 Nov 2021 22:58:43 +0000 (22:58 +0000)]
patch 8.2.3570: Test_very_large_count fails on 32bit systems

Problem:    Test_very_large_count fails on 32bit systems.
Solution:   Bail out when using 32 bit numbers. (closes #9072)

3 years agopatch 8.2.3569: error for :let when vimrc is Vim 9 script v8.2.3569
Christian Brabandt [Mon, 1 Nov 2021 22:44:33 +0000 (22:44 +0000)]
patch 8.2.3569: error for :let when vimrc is Vim 9 script

Problem:    Error for :let when vimrc is Vim 9 script.
Solution:   Prepend :legacy in the code for converting arguments. (Christian
            Brabandt, closes #9068, closes #9077)

3 years agopatch 8.2.3568: ctrl-hat test fails with Athena and Motif v8.2.3568
Dominique Pelle [Sun, 31 Oct 2021 20:19:17 +0000 (20:19 +0000)]
patch 8.2.3568: ctrl-hat test fails with Athena and Motif

Problem:    Ctrl-hat test fails with Athena and Motif. (Elimar Riesebieter)
Solution:   Run the test only with GTK. (Dominique Pellé, closes #9069)

3 years agopatch 8.2.3567: CTRL-I in Insert mode is not tested v8.2.3567
Dominique Pelle [Thu, 28 Oct 2021 20:06:05 +0000 (21:06 +0100)]
patch 8.2.3567: CTRL-I in Insert mode is not tested

Problem:    CTRL-I in Insert mode is not tested
Solution:   Add a test case. (Dominique Pellé, closes #8866)

3 years agopatch 8.2.3566: build failure on old systems when using nano timestamp v8.2.3566
Gary Johnson [Thu, 28 Oct 2021 19:49:06 +0000 (20:49 +0100)]
patch 8.2.3566: build failure on old systems when using nano timestamp

Problem:    Build failure on old systems when using nano timestamp.
Solution:   Define _BSD_SOURCE, _SVID_SOURCE and _DEFAULT_SOURCE. (Gary
            Johnson, closes #9054)

3 years agopatch 8.2.3565: Makefile dependencies are outdated v8.2.3565
Bram Moolenaar [Tue, 26 Oct 2021 11:00:01 +0000 (12:00 +0100)]
patch 8.2.3565: Makefile dependencies are outdated

Problem:    Makefile dependencies are outdated. (Gary Johnson)
Solution:   Run "make depend" and add missing dependencies.

3 years agopatch 8.2.3564: invalid memory access when scrolling without valid screen v8.2.3564
Bram Moolenaar [Mon, 25 Oct 2021 16:07:04 +0000 (17:07 +0100)]
patch 8.2.3564: invalid memory access when scrolling without valid screen

Problem:    Invalid memory access when scrolling without a valid screen.
Solution:   Do not set VALID_BOTLINE in w_valid.

3 years agopatch 8.2.3563: build failure with +eval but without GUI or +termguicolors v8.2.3563
Bram Moolenaar [Mon, 25 Oct 2021 09:30:14 +0000 (10:30 +0100)]
patch 8.2.3563: build failure with +eval but without GUI or +termguicolors

Problem:    Build failure with +eval but without GUI or +termguicolors
Solution:   Adjust #ifdef. (John Marriott)

3 years agopatch 8.2.3562: cannot add color names v8.2.3562
Drew Vogel [Sun, 24 Oct 2021 19:35:07 +0000 (20:35 +0100)]
patch 8.2.3562: cannot add color names

Problem:    Cannot add color names.
Solution:   Add the v:colornames dictionary. (Drew Vogel, closes #8761)

3 years agopatch 8.2.3561: cscope has a complicated way of giving an error message v8.2.3561
James McCoy [Sun, 24 Oct 2021 13:50:07 +0000 (14:50 +0100)]
patch 8.2.3561: cscope has a complicated way of giving an error message

Problem:    Cscope has a complicated way of giving an error message.
Solution:   Use semsg(). (James McCoy, closes #9038)

3 years agopatch 8.2.3560: using freed memory with lambda v8.2.3560
Bram Moolenaar [Sat, 23 Oct 2021 12:32:30 +0000 (13:32 +0100)]
patch 8.2.3560: using freed memory with lambda

Problem:    Using freed memory with lambda.
Solution:   Do not free lines early, keep them until the expression is
            finished.

3 years agopatch 8.2.3559: loop variable recreated every time v8.2.3559
Bram Moolenaar [Sat, 23 Oct 2021 11:34:27 +0000 (12:34 +0100)]
patch 8.2.3559: loop variable recreated every time

Problem:    Loop variable recreated every time.
Solution:   Keep the loop variable when looping.

3 years agoUpdate runtime files
Bram Moolenaar [Sat, 23 Oct 2021 11:08:41 +0000 (12:08 +0100)]
Update runtime files

3 years agopatch 8.2.3558: Vim9: asserting the wrong variable v8.2.3558
Bram Moolenaar [Sat, 23 Oct 2021 09:25:21 +0000 (10:25 +0100)]
patch 8.2.3558: Vim9: asserting the wrong variable

Problem:    Vim9: asserting the wrong variable.
Solution:   Don't use Foo, use Goo.

3 years agopatch 8.2.3557: Vim9: cannot call imported funcref at script level v8.2.3557
Bram Moolenaar [Fri, 22 Oct 2021 21:17:53 +0000 (22:17 +0100)]
patch 8.2.3557: Vim9: cannot call imported funcref at script level

Problem:    Vim9: cannot call imported funcref at script level.
Solution:   Check for an imported function. (closes #9007)

3 years agopatch 8.2.3556: filler lines are incorrect for other window in diff mode v8.2.3556
Bram Moolenaar [Fri, 22 Oct 2021 19:56:55 +0000 (20:56 +0100)]
patch 8.2.3556: filler lines are incorrect for other window in diff mode

Problem:    Filler lines are incorrect for other window in diff mode after
            making a change.
Solution:   Copy filler lines from the current window. (closes #8809)

3 years agopatch 8.2.3555: ModeChanged is not triggered on every mode change v8.2.3555
=?UTF-8?q?Magnus=20Gro=C3=9F?= [Fri, 22 Oct 2021 17:56:39 +0000 (18:56 +0100)]
patch 8.2.3555: ModeChanged is not triggered on every mode change

Problem:    ModeChanged is not triggered on every mode change.
Solution:   Also trigger on minor mode changes. (Maguns Gross, closes #8999)

3 years agopatch 8.2.3554: xxd has various way to exit v8.2.3554
DungSaga [Fri, 22 Oct 2021 14:55:31 +0000 (15:55 +0100)]
patch 8.2.3554: xxd has various way to exit

Problem:    Xxd has various way to exit.
Solution:   Add function to print error and exit. (closes #9035)

3 years agopatch 8.2.3553: xxd test fails on MS-Windows v8.2.3553
Bram Moolenaar [Fri, 22 Oct 2021 14:11:37 +0000 (15:11 +0100)]
patch 8.2.3553: xxd test fails on MS-Windows

Problem:    Xxd test fails on MS-Windows.
Solution:   Split shell command in two.

3 years agopatch 8.2.3552: xxd revert does not handle end of line correctly v8.2.3552
DungSaga [Fri, 22 Oct 2021 11:55:42 +0000 (12:55 +0100)]
patch 8.2.3552: xxd revert does not handle end of line correctly

Problem:    Xxd revert does not handle end of line correctly.
Solution:   Check for newline first. (closes #9034)

3 years agopatch 8.2.3551: checking first character of url twice v8.2.3551
itchyny [Thu, 21 Oct 2021 17:01:13 +0000 (18:01 +0100)]
patch 8.2.3551: checking first character of url twice

Problem:    Checking first character of url twice.
Solution:   Only check once. (closes #9026)

3 years agopatch 8.2.3550: completion() does not work properly v8.2.3550
Shougo Matsushita [Thu, 21 Oct 2021 10:39:53 +0000 (11:39 +0100)]
patch 8.2.3550: completion() does not work properly

Problem:    completion() does not work properly.
Solution:   Set xp_line and add WILD_HOME_REPLACE. (Shougo Matsushita,
            closes #9016)

3 years agopatch 8.2.3549: mistakes in test comments v8.2.3549
zeertzjq [Thu, 21 Oct 2021 09:50:44 +0000 (10:50 +0100)]
patch 8.2.3549: mistakes in test comments

Problem:    Mistakes in test comments.
Solution:   Fix the comments. (closes #9029)

3 years agopatch 8.2.3548: GTK GUI crashen when reading from stdin v8.2.3548
Bram Moolenaar [Wed, 20 Oct 2021 22:08:11 +0000 (23:08 +0100)]
patch 8.2.3548: GTK GUI crashen when reading from stdin

Problem:    GTK GUI crashen when reading from stdin.
Solution:   Do not overwrite the NUL after the string. (closes #9028)

3 years agopatch 8.2.3547: opening the quickfix window triggers BufWinEnter twice v8.2.3547
Bram Moolenaar [Wed, 20 Oct 2021 20:58:42 +0000 (21:58 +0100)]
patch 8.2.3547: opening the quickfix window triggers BufWinEnter twice

Problem:    Opening the quickfix window triggers BufWinEnter twice. (Yorick
            Peterse)
Solution:   Only trigger BufWinEnter with "quickfix". (closes #9022)

3 years agopatch 8.2.3546: build failure without the +eval feature v8.2.3546
zeertzjq [Wed, 20 Oct 2021 16:21:24 +0000 (17:21 +0100)]
patch 8.2.3546: build failure without the +eval feature

Problem:    Build failure without the +eval feature.
Solution:   Add #ifdef. (closes #9025)

3 years agopatch 8.2.3545: setcellwidths() may make 'listchars' or 'fillchars' invalid v8.2.3545
zeertzjq [Wed, 20 Oct 2021 10:01:15 +0000 (11:01 +0100)]
patch 8.2.3545: setcellwidths() may make 'listchars' or 'fillchars' invalid

Problem:    setcellwidths() may make 'listchars' or 'fillchars' invalid.
Solution:   Check the value and give an error. (closes #9024)

3 years agopatch 8.2.3544: Unix: may leak file descriptor using non-existing directory v8.2.3544
itchyny [Wed, 20 Oct 2021 09:00:05 +0000 (10:00 +0100)]
patch 8.2.3544: Unix: may leak file descriptor using non-existing directory

Problem:    Unix: may leak file descriptor when using a non-existing
            directory.
Solution:   Always close the file. (closes #9023)

3 years agopatch 8.2.3543: swapname has double slash when 'directory' ends in it v8.2.3543
Bram Moolenaar [Tue, 19 Oct 2021 21:12:25 +0000 (22:12 +0100)]
patch 8.2.3543: swapname has double slash when 'directory' ends in it

Problem:    Swapname has double slash when 'directory' ends in double slash.
            (Shane Smith)
Solution:   Remove the superfluous slash. (closes #8876)

3 years agopatch 8.2.3542: too many comments are old style v8.2.3542
Bram Moolenaar [Tue, 19 Oct 2021 19:48:52 +0000 (20:48 +0100)]
patch 8.2.3542: too many comments are old style

Problem:    Too many comments are old style.
Solution:   Change comments to // style. (closes #9021)

3 years agopatch 8.2.3541: compiler warning for unused variable in tiny version v8.2.3541
Bram Moolenaar [Tue, 19 Oct 2021 19:24:34 +0000 (20:24 +0100)]
patch 8.2.3541: compiler warning for unused variable in tiny version

Problem:    Compiler warning for unused variable in tiny version.
Solution:   Add #ifdef. (John Marriott)

3 years agopatch 8.2.3540: the mark '] is wrong after put with a count v8.2.3540
Bram Moolenaar [Tue, 19 Oct 2021 19:08:45 +0000 (20:08 +0100)]
patch 8.2.3540: the mark '] is wrong after put with a count

Problem:    The mark '] is wrong after put with a count. (Naohiro Ono)
Solution:   Use the right line number. (closes #8956)

3 years agopatch 8.2.3539: GTK3: with 'rightleft' set scrollbar may move unintentionally v8.2.3539
Bram Moolenaar [Tue, 19 Oct 2021 13:22:03 +0000 (14:22 +0100)]
patch 8.2.3539: GTK3: with 'rightleft' set scrollbar may move unintentionally

Problem:    GTK3: with 'rightleft' set scrollbar may move unintentionally.
Solution:   Ignore events while moving the scrollbar thumb. (closes #8958)

3 years agopatch 8.2.3538: else-if indenting is confusing v8.2.3538
Yegappan Lakshmanan [Tue, 19 Oct 2021 12:44:52 +0000 (13:44 +0100)]
patch 8.2.3538: else-if indenting is confusing

Problem:    Else-if indenting is confusing.
Solution:   Add curly brackets. (Yegappan Lakshmanan, closes #9017)

3 years agopatch 8.2.3537: mode() does not return the right value in 'operatorfunc' v8.2.3537
naohiro ono [Tue, 19 Oct 2021 10:15:41 +0000 (11:15 +0100)]
patch 8.2.3537: mode() does not return the right value in 'operatorfunc'

Problem:    mode() does not return the right value in 'operatorfunc'.
Solution:   Reset finish_op while calling 'operatorfunc'.

3 years agopatch 8.2.3536: the do_highlight() function is way too long v8.2.3536
Yegappan Lakshmanan [Mon, 18 Oct 2021 21:13:57 +0000 (22:13 +0100)]
patch 8.2.3536: the do_highlight() function is way too long

Problem:    The do_highlight() function is way too long.
Solution:   Split it into several functions. (Yegappan Lakshmanan,
            closes #9011)

3 years agopatch 8.2.3535: if-else indenting is confusing v8.2.3535
Dominique Pelle [Mon, 18 Oct 2021 19:56:39 +0000 (20:56 +0100)]
patch 8.2.3535: if-else indenting is confusing

Problem:    If-else indenting is confusing.
Solution:   Add curly brackets and indent. (Dominique Pellé, closes #9010)

3 years agopatch 8.2.3534: autoread test is a bit flaky v8.2.3534
Bram Moolenaar [Mon, 18 Oct 2021 13:37:13 +0000 (14:37 +0100)]
patch 8.2.3534: autoread test is a bit flaky

Problem:    Autoread test is a bit flaky.
Solution:   Wait a brief moment before overwriting the file.

3 years agopatch 8.2.3533: inefficient code in xxd v8.2.3533
DungSaga [Mon, 18 Oct 2021 12:16:03 +0000 (13:16 +0100)]
patch 8.2.3533: inefficient code in xxd

Problem:    Inefficient code in xxd.
Solution:   Don't use "p" when "hextype" is non-zero. (closes #9013)

3 years agopatch 8.2.3532: the previous '' mark is restored after moving the cursor v8.2.3532
Bram Moolenaar [Sun, 17 Oct 2021 20:53:58 +0000 (21:53 +0100)]
patch 8.2.3532: the previous '' mark is restored after moving the cursor

Problem:    The previous '' mark is restored after moving the cursor to the
            original jump position. (Tony Chen)
Solution:   Forget the previous position after checking. (closes #8985)

3 years agopatch 8.2.3531: command line completion test fails on MS-Windows v8.2.3531
Bram Moolenaar [Sun, 17 Oct 2021 17:05:26 +0000 (18:05 +0100)]
patch 8.2.3531: command line completion test fails on MS-Windows

Problem:    Command line completion test fails on MS-Windows.
Solution:   Do not test with "\{" on MS-Windows.

3 years agopatch 8.2.3530: ":buf \{a}" fails while ":edit \{a}" works v8.2.3530
Bram Moolenaar [Sun, 17 Oct 2021 16:20:23 +0000 (17:20 +0100)]
patch 8.2.3530: ":buf \{a}" fails while ":edit \{a}" works

Problem:    ":buf \{a}" fails while ":edit \{a}" works.
Solution:   Unescape "\{". (closes #8917)

3 years agopatch 8.2.3529: xxd usage output is incomplete v8.2.3529
Atsushi SUGAWARA [Sun, 17 Oct 2021 15:09:08 +0000 (16:09 +0100)]
patch 8.2.3529: xxd usage output is incomplete

Problem:    Xxd usage output is incomplete.
Solution:   Add "bytes" to "-g" flag. (Atsushi Sugawara, closes #8944)

3 years agopatch 8.2.3528: 'thesaurus' and 'thesaurusfunc' do not have the same scope v8.2.3528
Bram Moolenaar [Sun, 17 Oct 2021 13:13:09 +0000 (14:13 +0100)]
patch 8.2.3528: 'thesaurus' and 'thesaurusfunc' do not have the same scope

Problem:    'thesaurus' and 'thesaurusfunc' do not have the same scope.
Solution:   Make 'thesaurusfunc' global-local.

3 years agopatch 8.2.3527: gcc complains about uninitialized variable v8.2.3527
Bram Moolenaar [Sun, 17 Oct 2021 10:33:47 +0000 (11:33 +0100)]
patch 8.2.3527: gcc complains about uninitialized variable

Problem:    Gcc complains about uninitialized variable. (Tony Mechelynck)
Solution:   Initialize it.

3 years agopatch 8.2.3526: tests have clumsy check for X11 based GUI v8.2.3526
Bram Moolenaar [Sat, 16 Oct 2021 20:58:27 +0000 (21:58 +0100)]
patch 8.2.3526: tests have clumsy check for X11 based GUI

Problem:    Tests have clumsy check for X11 based GUI.
Solution:   Add CheckX11BasedGui.

3 years agopatch 8.2.3525: option variable name does not match option name v8.2.3525
Bram Moolenaar [Sat, 16 Oct 2021 20:14:11 +0000 (21:14 +0100)]
patch 8.2.3525: option variable name does not match option name

Problem:    Option variable name does not match option name. (Christ van
            Willigen)
Solution:   Rename the variable.

3 years agopatch 8.2.3524: GUI: ligatures are not used v8.2.3524
Dusan Popovic [Sat, 16 Oct 2021 19:52:05 +0000 (20:52 +0100)]
patch 8.2.3524: GUI: ligatures are not used

Problem:    GUI: ligatures are not used.
Solution:   Add the 'guiligatures' option. (Dusan Popovic, closes #8933)

3 years agopatch 8.2.3523: duplicated code in xxd v8.2.3523
DungSaga [Sat, 16 Oct 2021 18:07:46 +0000 (19:07 +0100)]
patch 8.2.3523: duplicated code in xxd

Problem:    Duplicated code in xxd.
Solution:   Remove duplicated lines. (closes #8972)

3 years agopatch 8.2.3522: cannot use \x and \u when setting 'listchars' v8.2.3522
Bram Moolenaar [Sat, 16 Oct 2021 16:51:40 +0000 (17:51 +0100)]
patch 8.2.3522: cannot use \x and \u when setting 'listchars'

Problem:    Cannot use \x and \u when setting 'listchars'.
Solution:   Support hex and unicode in hex form. (closes #9006)

3 years agopatch 8.2.3521: options completion test fails v8.2.3521
Bram Moolenaar [Sat, 16 Oct 2021 15:48:27 +0000 (16:48 +0100)]
patch 8.2.3521: options completion test fails

Problem:    Options completion test fails.
Solution:   Add 'thesaurusfunc' to the results.

3 years agopatch 8.2.3520: cannot define a function for thesaurus completion v8.2.3520
Yegappan Lakshmanan [Sat, 16 Oct 2021 14:41:29 +0000 (15:41 +0100)]
patch 8.2.3520: cannot define a function for thesaurus completion

Problem:    Cannot define a function for thesaurus completion.
Solution:   Add 'thesaurusfunc'. (Yegappan Lakshmanan, closes #8987,
            closes 8950)

3 years agoUpdate runtime files
Bram Moolenaar [Sat, 16 Oct 2021 14:23:36 +0000 (15:23 +0100)]
Update runtime files

3 years agopatch 8.2.3519: TOML files are not recognized v8.2.3519
Aman Verma [Sat, 16 Oct 2021 12:44:04 +0000 (13:44 +0100)]
patch 8.2.3519: TOML files are not recognized

Problem:    TOML files are not recognized.
Solution:   Add filetype patterns for TOML. (Aman Verma, closes #8984)

3 years agopatch 8.2.3518: Test_xrestore sometimes fails v8.2.3518
Bram Moolenaar [Sat, 16 Oct 2021 12:00:14 +0000 (13:00 +0100)]
patch 8.2.3518: Test_xrestore sometimes fails

Problem:    Test_xrestore sometimes fails.
Solution:   Mark the test as flayky.  Move marking test as flaky to the test
            instead of listing them in runtest.

3 years agopatch 8.2.3517: TextChanged does not trigger after TextChangedI v8.2.3517
Christian Brabandt [Sat, 16 Oct 2021 10:58:55 +0000 (11:58 +0100)]
patch 8.2.3517: TextChanged does not trigger after TextChangedI

Problem:    TextChanged does not trigger after TextChangedI.
Solution:   Store the tick separately for TextChangedI. (Christian Brabandt,
            closes #8968, closes #8932)

3 years agopatch 8.2.3516: terminal window does not have transparent background v8.2.3516
Milly [Fri, 15 Oct 2021 21:25:43 +0000 (22:25 +0100)]
patch 8.2.3516: terminal window does not have transparent background

Problem:    Terminal window does not have transparent background when
            'termguicolors' is used.
Solution:   Fix the background color. (closes #2361, closes #9002)

3 years agopatch 8.2.3515: nano time test fails on Mac and FreeBSD v8.2.3515
ichizok [Fri, 15 Oct 2021 16:23:12 +0000 (17:23 +0100)]
patch 8.2.3515: nano time test fails on Mac and FreeBSD

Problem:    Nano time test fails on Mac and FreeBSD.
Solution:   Also check nano time when not on Linux. (Ozaki Kiichi,
            closes #9000)

3 years agopatch 8.2.3514: autoread test with nano second time sometimes fails v8.2.3514
Bram Moolenaar [Fri, 15 Oct 2021 16:09:50 +0000 (17:09 +0100)]
patch 8.2.3514: autoread test with nano second time sometimes fails

Problem:    Autoread test with nano second time sometimes fails.
Solution:   Mark the test as being flaky.

3 years agopatch 8.2.3513: using freed memory when using a timer and searching v8.2.3513
Bram Moolenaar [Fri, 15 Oct 2021 11:51:29 +0000 (12:51 +0100)]
patch 8.2.3513: using freed memory when using a timer and searching

Problem:    Using freed memory when using a timer and searching. (Dominique
            Pellé)
Solution:   Allocated mr_pattern.

3 years agopatch 8.2.3512: timestamp test fails on some systems v8.2.3512
Bram Moolenaar [Thu, 14 Oct 2021 23:38:02 +0000 (00:38 +0100)]
patch 8.2.3512: timestamp test fails on some systems

Problem:    Timestamp test fails on some systems.
Solution:   Sleep for a short while.

3 years agopatch 8.2.3511: Vim9: entry for loop variable is created every round v8.2.3511
Bram Moolenaar [Thu, 14 Oct 2021 23:18:37 +0000 (00:18 +0100)]
patch 8.2.3511: Vim9: entry for loop variable is created every round

Problem:    Vim9: entry for loop variable is created every round.
Solution:   Only create the entry once. (closes #8996)

3 years agopatch 8.2.3510: changes are only detected with one second accuracy v8.2.3510
Leah Neukirchen [Thu, 14 Oct 2021 20:27:55 +0000 (21:27 +0100)]
patch 8.2.3510: changes are only detected with one second accuracy

Problem:    Changes are only detected with one second accuracy.
Solution:   Use the nanosecond time if possible.  (Leah Neukirchen,
            closes #8873, closes #8875)

3 years agopatch 8.2.3509: undo file is not synced v8.2.3509
Bram Moolenaar [Thu, 14 Oct 2021 16:52:23 +0000 (17:52 +0100)]
patch 8.2.3509: undo file is not synced

Problem:    Undo file is not synced. (Sami Farin)
Solution:   Sync the undo file if 'fsync' is set. (Christian Brabandt,
            closes #8879, closes #8920)

3 years agopatch 8.2.3508: Vim9: bad separators for "g" and "s" insufficiently tested v8.2.3508
Bram Moolenaar [Thu, 14 Oct 2021 15:53:42 +0000 (16:53 +0100)]
patch 8.2.3508: Vim9: bad separators for "g" and "s" insufficiently tested

Problem:    Vim9: bad separators for "g" and "s" insufficiently tested.
Solution:   Add a few more test cases.

3 years agopatch 8.2.3507: generating proto files may fail v8.2.3507
Bram Moolenaar [Thu, 14 Oct 2021 15:27:19 +0000 (16:27 +0100)]
patch 8.2.3507: generating proto files may fail

Problem:    Generating proto files may fail.
Solution:   Define __attribute().

3 years agopatch 8.2.3506: Vim9: special cases for "g" and "s" insufficiently tested v8.2.3506
Bram Moolenaar [Wed, 13 Oct 2021 20:17:05 +0000 (21:17 +0100)]
patch 8.2.3506: Vim9: special cases for "g" and "s" insufficiently tested

Problem:    Vim9: special cases for "g" and "s" insufficiently tested.
Solution:   Add a few more test cases.

3 years agopatch 8.2.3505: Vim9: build failure without the +eval feature v8.2.3505
Bram Moolenaar [Wed, 13 Oct 2021 14:37:15 +0000 (15:37 +0100)]
patch 8.2.3505: Vim9: build failure without the +eval feature

Problem:    Vim9: build failure without the +eval feature.
Solution:   Add #ifdef.

3 years agopatch 8.2.3504: Vim9: warning for signed vs unsigned v8.2.3504
Bram Moolenaar [Wed, 13 Oct 2021 14:28:28 +0000 (15:28 +0100)]
patch 8.2.3504: Vim9: warning for signed vs unsigned

Problem:    Vim9: warning for signed vs unsigned.
Solution:   Add type cast.

3 years agopatch 8.2.3503: Vim9: using g:pat:cmd is confusing v8.2.3503
Bram Moolenaar [Wed, 13 Oct 2021 14:04:34 +0000 (15:04 +0100)]
patch 8.2.3503: Vim9: using g:pat:cmd is confusing

Problem:    Vim9: using g:pat:cmd is confusing.
Solution:   Do not recognize g: as the :global command.  Also for s:pat:repl.
            (closes #8982)