]> granicus.if.org Git - vim/log
vim
3 years agopatch 8.2.3683: Vim9: cannot use in :...do commands v8.2.3683
Bram Moolenaar [Sat, 27 Nov 2021 11:42:50 +0000 (11:42 +0000)]
patch 8.2.3683: Vim9: cannot use  in :...do commands

Problem:    Vim9: cannot use  in :...do commands.
Solution:   Add EX_EXPAND to the commands. (closes #9232)

3 years agoUpdate runtime files.
Bram Moolenaar [Sat, 27 Nov 2021 10:57:26 +0000 (10:57 +0000)]
Update runtime files.

3 years agopatch 8.2.3682: Vim9: assigning to a script variable drops the type v8.2.3682
Bram Moolenaar [Fri, 26 Nov 2021 17:36:51 +0000 (17:36 +0000)]
patch 8.2.3682: Vim9: assigning to a script variable drops the type

Problem:    Vim9: assigning to a script variable drops the required type.
Solution:   Lookup the type of the variable and use it. (closes #9219)

3 years agopatch 8.2.3681: cannot drag popup window after click on a status line v8.2.3681
Bram Moolenaar [Fri, 26 Nov 2021 15:57:40 +0000 (15:57 +0000)]
patch 8.2.3681: cannot drag popup window after click on a status line

Problem:    Cannot drag popup window after click on a status line. (Sergey
            Vlasov)
Solution:   Reset on_status_line. (closes #9221)

3 years agopatch 8.2.3680: repeated code in xxd v8.2.3680
DungSaga [Fri, 26 Nov 2021 13:59:27 +0000 (13:59 +0000)]
patch 8.2.3680: repeated code in xxd

Problem:    Repeated code in xxd.
Solution:   Change exit_on_ferror() to getc_or_die(). (closes #9226)

3 years agopatch 8.2.3679: objc file detected as Octave v8.2.3679
Doug Kearns [Fri, 26 Nov 2021 13:01:41 +0000 (13:01 +0000)]
patch 8.2.3679: objc file detected as Octave

Problem:    objc file detected as Octave. (Antony Lee)
Solution:   Detect objc by preprocessor lines. (Doug Kearns, closes #9223,
            closes #9220)

3 years agopatch 8.2.3678: illegal memory access v8.2.3678
Bram Moolenaar [Thu, 25 Nov 2021 20:40:11 +0000 (20:40 +0000)]
patch 8.2.3678: illegal memory access

Problem:    Illegal memory access.
Solution:   Ignore changed indent when computing byte offset.

3 years agopatch 8.2.3677: after a put the '] mark is on the last byte v8.2.3677
Bram Moolenaar [Thu, 25 Nov 2021 19:31:15 +0000 (19:31 +0000)]
patch 8.2.3677: after a put the '] mark is on the last byte

Problem:    After a put the '] mark is on the last byte of a multi-byte
            character.
Solution:   Move it to the first byte. (closes #9047)

3 years agopatch 8.2.3676: unused runtime file v8.2.3676
Bram Moolenaar [Thu, 25 Nov 2021 15:11:03 +0000 (15:11 +0000)]
patch 8.2.3676: unused runtime file

Problem:    Unused runtime file.
Solution:   Remove rgb.txt.

3 years agopatch 8.2.3675: using freed memory when vim_strsave() fails v8.2.3675
Bram Moolenaar [Thu, 25 Nov 2021 14:43:18 +0000 (14:43 +0000)]
patch 8.2.3675: using freed memory when vim_strsave() fails

Problem:    Using freed memory when vim_strsave() fails.
Solution:   Clear "last_sourcing_name".  Check for msg_source() called
            recursively. (closes #8217)

3 years agopatch 8.2.3674: when ml_get_buf() fails it messes up IObuff v8.2.3674
Bram Moolenaar [Thu, 25 Nov 2021 13:52:37 +0000 (13:52 +0000)]
patch 8.2.3674: when ml_get_buf() fails it messes up IObuff

Problem:    When ml_get_buf() fails it messes up IObuff.
Solution:   Return a local pointer. (closes #9214)

3 years agopatch 8.2.3673: crash when allocating signal stack fails v8.2.3673
Bram Moolenaar [Thu, 25 Nov 2021 13:39:28 +0000 (13:39 +0000)]
patch 8.2.3673: crash when allocating signal stack fails

Problem:    Crash when allocating signal stack fails.
Solution:   Only using sourcing info when available. (closes #9215)

3 years agopatch 8.2.3672: build failure with unsigned char v8.2.3672
Bram Moolenaar [Thu, 25 Nov 2021 13:26:19 +0000 (13:26 +0000)]
patch 8.2.3672: build failure with unsigned char

Problem:    Build failure with unsigned char.
Solution:   Use int instead of char.

3 years agopatch 8.2.3671: restarting Insert mode in prompt buffer too often v8.2.3671
Bram Moolenaar [Thu, 25 Nov 2021 13:04:48 +0000 (13:04 +0000)]
patch 8.2.3671: restarting Insert mode in prompt buffer too often

Problem:    Restarting Insert mode in prompt buffer too often when a callback
            switches windows and comes back. (Sean Dewar)
Solution:   Do not set "restart_edit" when already in Insert mode.

3 years agopatch 8.2.3670: error checks repeated several times v8.2.3670
Bram Moolenaar [Thu, 25 Nov 2021 11:16:50 +0000 (11:16 +0000)]
patch 8.2.3670: error checks repeated several times

Problem:    Error checks repeated several times.
Solution:   Move the checks to functions. (closes #9213)

3 years agopatch 8.2.3669: buffer overflow with long help argument v8.2.3669
Bram Moolenaar [Thu, 25 Nov 2021 10:50:12 +0000 (10:50 +0000)]
patch 8.2.3669: buffer overflow with long help argument

Problem:    Buffer overflow with long help argument.
Solution:   Use snprintf().

3 years agopatch 8.2.3668: messages may be corrupted v8.2.3668
Yegappan Lakshmanan [Wed, 24 Nov 2021 20:28:31 +0000 (20:28 +0000)]
patch 8.2.3668: messages may be corrupted

Problem:    Messages may be corrupted.
Solution:   Use another buffer instead of IObuff. (Yegappan Lakshmanan,
            closes #9195)

3 years agopatch 8.2.3667: building libvterm fails with MSVC v8.2.3667
Bram Moolenaar [Wed, 24 Nov 2021 19:55:46 +0000 (19:55 +0000)]
patch 8.2.3667: building libvterm fails with MSVC

Problem:    Building libvterm fails with MSVC.
Solution:   Don't use C99 construct.

3 years agopatch 8.2.3666: libvterm is outdated v8.2.3666
Bram Moolenaar [Wed, 24 Nov 2021 19:30:55 +0000 (19:30 +0000)]
patch 8.2.3666: libvterm is outdated

Problem:    Libvterm is outdated.
Solution:   Include patches from revision 769 to revision 789.

3 years agopatch 8.2.3665: cannot use a lambda for 'tagfunc' v8.2.3665
Yegappan Lakshmanan [Wed, 24 Nov 2021 16:32:55 +0000 (16:32 +0000)]
patch 8.2.3665: cannot use a lambda for 'tagfunc'

Problem:    Cannot use a lambda for 'tagfunc'.
Solution:   Use 'tagfunc' like 'opfunc'. (Yegappan Lakshmanan, closes #9204)

3 years agopatch 8.2.3664: cannot adjust sign highlighting for 'cursorline' v8.2.3664
Bram Moolenaar [Wed, 24 Nov 2021 16:20:13 +0000 (16:20 +0000)]
patch 8.2.3664: cannot adjust sign highlighting for 'cursorline'

Problem:    Cannot adjust sign highlighting for 'cursorline'.
Solution:   Add CursorLineSign and CursorLineFold highlight groups.
            (Gregory Anders, closes #9201)

3 years agopatch 8.2.3663: using %S in printf() does not work correctly v8.2.3663
presuku [Wed, 24 Nov 2021 15:32:57 +0000 (15:32 +0000)]
patch 8.2.3663: using %S in printf() does not work correctly

Problem:    Using %S in printf() does not work correctly.
Solution:   Fix the problem and add more tests. (closes #9208)

3 years agopatch 8.2.3662: illegal memory access if malloc() fails v8.2.3662
Bram Moolenaar [Wed, 24 Nov 2021 15:13:26 +0000 (15:13 +0000)]
patch 8.2.3662: illegal memory access if malloc() fails

Problem:    Illegal memory access if malloc() fails.
Solution:   Check 'foldmethod' is not empty. (closes #9207)

3 years agopatch 8.2.3661: test for put with large count fails v8.2.3661
Bram Moolenaar [Wed, 24 Nov 2021 14:59:17 +0000 (14:59 +0000)]
patch 8.2.3661: test for put with large count fails

Problem:    Test for put with large count fails.
Solution:   Adjust the counts in the test.

3 years agopatch 8.2.3660: overflow check uses wrong number v8.2.3660
Bram Moolenaar [Wed, 24 Nov 2021 13:40:29 +0000 (13:40 +0000)]
patch 8.2.3660: overflow check uses wrong number

Problem:    Overflow check uses wrong number.
Solution:   Divide by ten.

3 years agopatch 8.2.3659: integer overflow with large line number v8.2.3659
Bram Moolenaar [Wed, 24 Nov 2021 12:17:53 +0000 (12:17 +0000)]
patch 8.2.3659: integer overflow with large line number

Problem:    Integer overflow with large line number.
Solution:   Check for overflow. (closes #9202)

3 years agopatch 8.2.3658: duplicate code in xxd v8.2.3658
DungSaga [Wed, 24 Nov 2021 11:18:07 +0000 (11:18 +0000)]
patch 8.2.3658: duplicate code in xxd

Problem:    Duplicate code in xxd.
Solution:   Merge duplicated code. Add more tests. (closes #9192)

3 years agopatch 8.2.3657: Vim9: debug text misses one line of return statement v8.2.3657
Bram Moolenaar [Tue, 23 Nov 2021 22:16:34 +0000 (22:16 +0000)]
patch 8.2.3657: Vim9: debug text misses one line of return statement

Problem:    Vim9: debug text misses one line of return statement.
Solution:   Add a line when not at a debug instruction. (closes #9137)

3 years agopatch 8.2.3656: Vim9: no error for an evironment variable by itself v8.2.3656
Bram Moolenaar [Tue, 23 Nov 2021 14:52:06 +0000 (14:52 +0000)]
patch 8.2.3656: Vim9: no error for an evironment variable by itself

Problem:    Vim9: no error for an evironment variable by itself.
Solution:   Give a "without effect" error. (closes #9166)

3 years agopatch 8.2.3655: compiler warning for using size_t for int v8.2.3655
Mike Williams [Tue, 23 Nov 2021 12:35:57 +0000 (12:35 +0000)]
patch 8.2.3655: compiler warning for using size_t for int

Problem:    Compiler warning for using size_t for int.
Solution:   Add a type cast. (Mike Williams, closes #9199)

3 years agopatch 8.2.3654: GTK: a touch-drag does not update the selection v8.2.3654
Chris Dalton [Tue, 23 Nov 2021 12:27:48 +0000 (12:27 +0000)]
patch 8.2.3654: GTK: a touch-drag does not update the selection

Problem:    GTK: a touch-drag does not update the selection.
Solution:   Add GDK_BUTTON1_MASK to the state. (Chris Dalton, close #9196,
            closes #9194)

3 years agopatch 8.2.3653: terminal ANSI colors may be wrong v8.2.3653
Milly [Tue, 23 Nov 2021 12:07:25 +0000 (12:07 +0000)]
patch 8.2.3653: terminal ANSI colors may be wrong

Problem:    Terminal ANSI colors may be wrong.
Solution:   Initialize the color type. (closes #9198, closes #9197)

3 years agopatch 8.2.3652: can only get text properties one line at a time v8.2.3652
Yegappan Lakshmanan [Tue, 23 Nov 2021 11:46:32 +0000 (11:46 +0000)]
patch 8.2.3652: can only get text properties one line at a time

Problem:    Can only get text properties one line at a time.
Solution:   Add options to prop_list() to use a range of lines and filter by
            types. (Yegappan Lakshmanan, closes #9138)

3 years agopatch 8.2.3651: Vim9: no error for :lock or :unlock with unknown variable v8.2.3651
Bram Moolenaar [Mon, 22 Nov 2021 21:58:41 +0000 (21:58 +0000)]
patch 8.2.3651: Vim9: no error for :lock or :unlock with unknown variable

Problem:    Vim9: no error for :lock or :unlock with unknown variable.
Solution:   Give an error. (closes #9188)

3 years agopatch 8.2.3650: Vim9: for loop variable can be a list member v8.2.3650
Bram Moolenaar [Mon, 22 Nov 2021 20:10:18 +0000 (20:10 +0000)]
patch 8.2.3650: Vim9: for loop variable can be a list member

Problem:    Vim9: for loop variable can be a list member.
Solution:   Check for valid variable name. (closes #9179)

3 years agopatch 8.2.3649: Vim9: error for variable declared in while loop v8.2.3649
Bram Moolenaar [Mon, 22 Nov 2021 18:31:02 +0000 (18:31 +0000)]
patch 8.2.3649: Vim9: error for variable declared in while loop

Problem:    Vim9: error for variable declared in while loop.
Solution:   Do not keep the first variable. (closes #9191)

3 years agopatch 8.2.3648: "verbose pwd" is incorrect after dropping files on Vim v8.2.3648
Bram Moolenaar [Mon, 22 Nov 2021 17:21:48 +0000 (17:21 +0000)]
patch 8.2.3648: "verbose pwd" is incorrect after dropping files on Vim

Problem:    "verbose pwd" is incorrect after dropping files on Vim.
Solution:   Set the chdir reason to "drop".

3 years agopatch 8.2.3647: GTK: when using ligatures the cursor is drawn wrong v8.2.3647
Dusan Popovic [Mon, 22 Nov 2021 17:18:44 +0000 (17:18 +0000)]
patch 8.2.3647: GTK: when using ligatures the cursor is drawn wrong

Problem:    GTK: when using ligatures the cursor is drawn wrong.
Solution:   Clear more characters when ligatures are used. (Dusan Popovic,
            closes #9190)

3 years agopatch 8.2.3646: using <sfile> in a function gives an unexpected result v8.2.3646
Bram Moolenaar [Mon, 22 Nov 2021 15:37:15 +0000 (15:37 +0000)]
patch 8.2.3646: using <sfile> in a function gives an unexpected result

Problem:    Using <sfile> in a function gives an unexpected result.
Solution:   Give an error in a Vim9 function. (issue #9189)

3 years agopatch 8.2.3645: Vim9: The "no effect" error is not given for all registers v8.2.3645
Bram Moolenaar [Mon, 22 Nov 2021 15:05:46 +0000 (15:05 +0000)]
patch 8.2.3645: Vim9: The "no effect" error is not given for all registers

Problem:    Vim9: The "no effect" error is not given for all registers.
Solution:   Include any character following '@'. (closes #8779)

3 years agopatch 8.2.3644: count for 'operatorfunc' in Visual mode is not redone v8.2.3644
Bram Moolenaar [Mon, 22 Nov 2021 14:16:08 +0000 (14:16 +0000)]
patch 8.2.3644: count for 'operatorfunc' in Visual mode is not redone

Problem:    Count for 'operatorfunc' in Visual mode is not redone.
Solution:   Add the count to the redo buffer. (closes #9174)

3 years agopatch 8.2.3643: header for source file is outdated v8.2.3643
zeertzjq [Mon, 22 Nov 2021 12:47:39 +0000 (12:47 +0000)]
patch 8.2.3643: header for source file is outdated

Problem:    Header for source file is outdated.
Solution:   Make the header more accurate. (closes #9186)

3 years agopatch 8.2.3642: list of distributed files is outdated v8.2.3642
Bram Moolenaar [Mon, 22 Nov 2021 12:06:06 +0000 (12:06 +0000)]
patch 8.2.3642: list of distributed files is outdated

Problem:    List of distributed files is outdated.
Solution:   Rename term.h to termdefs.h.

3 years agopatch 8.2.3641: xxd code has duplicate expressions v8.2.3641
DungSaga [Mon, 22 Nov 2021 11:57:31 +0000 (11:57 +0000)]
patch 8.2.3641: xxd code has duplicate expressions

Problem:    Xxd code has duplicate expressions.
Solution:   Refactor to avoid duplication. (closes #9185)

3 years agoUpdate runtime files
Bram Moolenaar [Sun, 21 Nov 2021 21:13:36 +0000 (21:13 +0000)]
Update runtime files

3 years agopatch 8.2.3640: freeze when calling term_wait() in a close callback v8.2.3640
Bram Moolenaar [Sun, 21 Nov 2021 14:51:13 +0000 (14:51 +0000)]
patch 8.2.3640: freeze when calling term_wait() in a close callback

Problem:    Freeze when calling term_wait() in a close callback.
Solution:   Set a "closing" flag to tell term_wait() to return. (closes #9152)

3 years agopatch 8.2.3639: line commented out accidentally v8.2.3639
Volodymyr Kot [Sun, 21 Nov 2021 12:27:13 +0000 (12:27 +0000)]
patch 8.2.3639: line commented out accidentally

Problem:    Line commented out accidentally.
Solution:   Uncomment. (Volodymyr Kot, closes #9172)

3 years agopatch 8.2.3638: getcompletion() always passes zero as position v8.2.3638
ii14 [Sun, 21 Nov 2021 12:13:56 +0000 (12:13 +0000)]
patch 8.2.3638: getcompletion() always passes zero as position

Problem:    getcompletion() always passes zero as position to custom
            completion function.
Solution:   Pass the pattern length. (closes #9173)

3 years agopatch 8.2.3637: typos in test files v8.2.3637
Dominique Pelle [Sun, 21 Nov 2021 11:36:04 +0000 (11:36 +0000)]
patch 8.2.3637: typos in test files

Problem:    Typos in test files.
Solution:   Correct the typos. (Dominique PellĂ©, closes #9175)

3 years agopatch 8.2.3636: Coverity warns for unreachable code v8.2.3636
Bram Moolenaar [Sun, 21 Nov 2021 11:15:49 +0000 (11:15 +0000)]
patch 8.2.3636: Coverity warns for unreachable code

Problem:    Coverity warns for unreachable code.
Solution:   Remove unreachable else block.

3 years agopatch 8.2.3635: GTK: composing underline does not show v8.2.3635
Dusan Popovic [Sat, 20 Nov 2021 22:03:30 +0000 (22:03 +0000)]
patch 8.2.3635: GTK: composing underline does not show

Problem:    GTK: composing underline does not show.
Solution:   Include composing character in pango call. A few more
            optimizations for ligatures.  (Dusan Popovic, closes #9171,
            closes #9147)

3 years agopatch 8.2.3634: error for already defined function uses wrong line number v8.2.3634
Bram Moolenaar [Sat, 20 Nov 2021 21:46:20 +0000 (21:46 +0000)]
patch 8.2.3634: error for already defined function uses wrong line number

Problem:    Error for already defined function uses wrong line number.
Solution:   Set SOURCING_LNUM before giving the error message. (closes #9085)

3 years agopatch 8.2.3633: Vim9: line number of lambda is off by one v8.2.3633
Bram Moolenaar [Sat, 20 Nov 2021 21:35:41 +0000 (21:35 +0000)]
patch 8.2.3633: Vim9: line number of lambda is off by one

Problem:    Vim9: line number of lambda is off by one.
Solution:   Add one to the line number. (closes #9083)

3 years agopatch 8.2.3632: GTK3: undercurl does not get removed properly v8.2.3632
Yamagi [Sat, 20 Nov 2021 20:42:29 +0000 (20:42 +0000)]
patch 8.2.3632: GTK3: undercurl does not get removed properly

Problem:    GTK3: undercurl does not get removed properly.
Solution:   Set the cairo cursor first. (closes #9170)

3 years agopatch 8.2.3631: "syntax enable" does not work properly in Vim9 context v8.2.3631
Bram Moolenaar [Sat, 20 Nov 2021 19:50:59 +0000 (19:50 +0000)]
patch 8.2.3631: "syntax enable" does not work properly in Vim9 context

Problem:    "syntax enable" does not work properly in Vim9 context.
Solution:   Also handle Vim9 context. (closes #9161)

3 years agopatch 8.2.3630: printf() with %S does not handle multi-byte correctly v8.2.3630
presuku [Sat, 20 Nov 2021 19:38:31 +0000 (19:38 +0000)]
patch 8.2.3630: printf() with %S does not handle multi-byte correctly

Problem:    Printf() with %S does not handle multi-byte correctly.
Solution:   Count cells instead of bytes. (closes #9169, closes #7486)

3 years agopatch 8.2.3629: command completion in cmdline window uses global commands v8.2.3629
mityu [Sat, 20 Nov 2021 19:13:39 +0000 (19:13 +0000)]
patch 8.2.3629: command completion in cmdline window uses global commands

Problem:    Command completion in cmdline window uses global user commands,
            not local commands for the window where it was opened from.
Solution:   Use local commands. (closes #9168)

3 years agopatch 8.2.3628: looking terminal colors is a bit slow v8.2.3628
Bram Moolenaar [Sat, 20 Nov 2021 13:47:45 +0000 (13:47 +0000)]
patch 8.2.3628: looking terminal colors is a bit slow

Problem:    Looking terminal colors is a bit slow.
Solution:   Cache the terminal colors. (closes #9130, closes #9058)

3 years agopatch 8.2.3627: difficult to know where the text starts in a window v8.2.3627
Bram Moolenaar [Sat, 20 Nov 2021 11:14:24 +0000 (11:14 +0000)]
patch 8.2.3627: difficult to know where the text starts in a window

Problem:    difficult to know where the text starts in a window. (Sergey
            Vlasov)
Solution:   Add the "textoff" entry in the result of getwininfo().
            (closes #9163)

3 years agopatch 8.2.3626: "au! event" cannot be followed by another command v8.2.3626
Bram Moolenaar [Sat, 20 Nov 2021 10:38:25 +0000 (10:38 +0000)]
patch 8.2.3626: "au! event" cannot be followed by another command

Problem:    "au!" and "au! event" cannot be followed by another command as
            documented.
Solution:   When a bar is found set nextcmd.

3 years agopatch 8.2.3625: illegal memory access when C-indenting v8.2.3625
Bram Moolenaar [Fri, 19 Nov 2021 19:41:13 +0000 (19:41 +0000)]
patch 8.2.3625: illegal memory access when C-indenting

Problem:    Illegal memory access when C-indenting.
Solution:   Also set the cursor column.

3 years agopatch 8.2.3624: when renaming a terminal buffer status text is not updated v8.2.3624
Bram Moolenaar [Fri, 19 Nov 2021 17:01:08 +0000 (17:01 +0000)]
patch 8.2.3624: when renaming a terminal buffer status text is not updated

Problem:    When renaming a terminal buffer the status text is not updated.
Solution:   Clear the cached status text when renaming a terminal buffer.
            (closes #9162)

3 years agopatch 8.2.3623: "$*" is expanded to "nonomatch" v8.2.3623
Christian Brabandt [Fri, 19 Nov 2021 12:37:36 +0000 (12:37 +0000)]
patch 8.2.3623: "$*" is expanded to "nonomatch"

Problem:    "$*" is expanded to "nonomatch".
Solution:   Only add "set nonomatch" when using a csh-like shell. (Christian
            Brabandt, closes #9159, closes #9153)

3 years agopatch 8.2.3622: "verbose pwd" shows confusing info v8.2.3622
zeertzjq [Fri, 19 Nov 2021 11:59:08 +0000 (11:59 +0000)]
patch 8.2.3622: "verbose pwd" shows confusing info

Problem:    "verbose pwd" shows confusing info when :lcd does not change
            directory.
Solution:   Clear last_chdir_reason also when the directory does not change.
            (closes #9160)

3 years agopatch 8.2.3621: build failure v8.2.3621
Bram Moolenaar [Fri, 19 Nov 2021 11:35:32 +0000 (11:35 +0000)]
patch 8.2.3621: build failure

Problem:    Build failure.
Solution:   Add missing change.

3 years agopatch 8.2.3620: memory leak reported in libtlib v8.2.3620
Bram Moolenaar [Fri, 19 Nov 2021 11:28:04 +0000 (11:28 +0000)]
patch 8.2.3620: memory leak reported in libtlib

Problem:    Memory leak reported in libtlib.
Solution:   Call del_curterm() when cleaning up memory.  Rename term.h to
            termdefs.h to avoid a name clash.

3 years agopatch 8.2.3619: cannot use a lambda for 'operatorfunc' v8.2.3619
Yegappan Lakshmanan [Thu, 18 Nov 2021 22:08:57 +0000 (22:08 +0000)]
patch 8.2.3619: cannot use a lambda for 'operatorfunc'

Problem:    Cannot use a lambda for 'operatorfunc'.
Solution:   Support using a lambda or partial. (Yegappan Lakshmanan,
            closes #8775)

3 years agopatch 8.2.3618: getcwd() is unclear about how 'autochdir' is used v8.2.3618
Bram Moolenaar [Thu, 18 Nov 2021 20:47:31 +0000 (20:47 +0000)]
patch 8.2.3618: getcwd() is unclear about how 'autochdir' is used

Problem:    getcwd() is unclear about how 'autochdir' is used.
Solution:   Update the help for getcwd().  Without any arguments always return
            the actual current directory. (closes #9142)

3 years agopatch 8.2.3617: ":verbose pwd" does not mention 'autochdir' was applied v8.2.3617
Bram Moolenaar [Thu, 18 Nov 2021 18:53:45 +0000 (18:53 +0000)]
patch 8.2.3617: ":verbose pwd" does not mention 'autochdir' was applied

Problem:    ":verbose pwd" does not mention 'autochdir' was applied.
Solution:   Remember the last chdir was done by 'autochdir'.  (issue #9142)

3 years agopatch 8.2.3616: arglist test does not clear the argument list consistently v8.2.3616
Shougo Matsushita [Thu, 18 Nov 2021 15:37:29 +0000 (15:37 +0000)]
patch 8.2.3616: arglist test does not clear the argument list consistently

Problem:    Arglist test does not clear the argument list consistently.
Solution:   Call Reset_arglist(). (Shougo Matsushita, closes #9154)

3 years agopatch 8.2.3615: wrong indent in first line if re-formatting with indent expr v8.2.3615
Christian Brabandt [Thu, 18 Nov 2021 13:56:37 +0000 (13:56 +0000)]
patch 8.2.3615: wrong indent in first line if re-formatting with indent expr

Problem:    When re-formatting with an indent expression the first line of a
            paragraph may get the wrong indent. (Martin F. Krafft)
Solution:   Apply the correct indenting function for the first line.
            (Christian Brabandt, closes #9150, closes #9056)

3 years agopatch 8.2.3614: zindex of popup windows not used when redrawing popup menu v8.2.3614
Bakudankun [Wed, 17 Nov 2021 20:40:16 +0000 (20:40 +0000)]
patch 8.2.3614: zindex of popup windows not used when redrawing popup menu

Problem:    zindex of popup windows not used when redrawing popup menu.
Solution:   Check the zindex when redrawing the popup menu.  (closes #9129,
            closes #9089)

3 years agopatch 8.2.3613: :find test fails v8.2.3613
Bram Moolenaar [Wed, 17 Nov 2021 19:01:53 +0000 (19:01 +0000)]
patch 8.2.3613: :find test fails

Problem:    :find test fails.
Solution:   Put length check inside if block.

3 years agopatch 8.2.3612: using freed memory with regexp using a mark v8.2.3612
Bram Moolenaar [Wed, 17 Nov 2021 18:22:56 +0000 (18:22 +0000)]
patch 8.2.3612: using freed memory with regexp using a mark

Problem:    Using freed memory with regexp using a mark.
Solution:   Get the line again after getting the mark position.

3 years agopatch 8.2.3611: crash when using CTRL-W f without finding a file name v8.2.3611
Bram Moolenaar [Wed, 17 Nov 2021 18:00:31 +0000 (18:00 +0000)]
patch 8.2.3611: crash when using CTRL-W f without finding a file name

Problem:    Crash when using CTRL-W f without finding a file name.
Solution:   Bail out when the file name length is zero.

3 years agopatch 8.2.3610: crash when ModeChanged triggered too early v8.2.3610
Bram Moolenaar [Wed, 17 Nov 2021 16:52:40 +0000 (16:52 +0000)]
patch 8.2.3610: crash when ModeChanged triggered too early

Problem:    Crash when ModeChanged triggered too early.
Solution:   Trigger ModeChanged after setting VIsual.

3 years agopatch 8.2.3609: internal error when ModeChanged is triggered recursively v8.2.3609
Bram Moolenaar [Wed, 17 Nov 2021 15:51:52 +0000 (15:51 +0000)]
patch 8.2.3609: internal error when ModeChanged is triggered recursively

Problem:    Internal error when ModeChanged is triggered when v:event is
            already in use.
Solution:   Save and restore v:event if needed.

3 years agopatch 8.2.3608: users who type "q:" instead of ":q" are confused v8.2.3608
Egor Zvorykin [Wed, 17 Nov 2021 14:01:14 +0000 (14:01 +0000)]
patch 8.2.3608: users who type "q:" instead of ":q" are confused

Problem:    Users who type "q:" instead of ":q" are confused.
Solution:   Add an autocmd to give a message that explains this is the
            command-line window. (Egor Zvorykin, closes #9146)

3 years agopatch 8.2.3607: GTK3 screen updating is slow v8.2.3607
presuku [Tue, 16 Nov 2021 20:03:56 +0000 (20:03 +0000)]
patch 8.2.3607: GTK3 screen updating is slow

Problem:    GTK3 screen updating is slow.
Solution:   Remove some of the GTK3-specific code. (closes #9052)

3 years agopatch 8.2.3606: file missing from list of distributed files v8.2.3606
Bram Moolenaar [Tue, 16 Nov 2021 19:20:56 +0000 (19:20 +0000)]
patch 8.2.3606: file missing from list of distributed files

Problem:    File missing from list of distributed files.
Solution:   Add the file.

3 years agoUpdate runtime files
Bram Moolenaar [Tue, 16 Nov 2021 19:18:26 +0000 (19:18 +0000)]
Update runtime files

3 years agoAdd missing change to version.c
Bram Moolenaar [Tue, 16 Nov 2021 17:50:34 +0000 (17:50 +0000)]
Add missing change to version.c

3 years agopatch 8.2.3605: cannot clear and unlinke a highlight group with hlset() v8.2.3605
Yegappan Lakshmanan [Tue, 16 Nov 2021 17:19:30 +0000 (17:19 +0000)]
patch 8.2.3605: cannot clear and unlinke a highlight group with hlset()

Problem:    Cannot clear and unlinke a highlight group with hlset() in a
            single call.
Solution:   Add the "force" option. (Yegappan Lakshmanan, closes #9117)

3 years agopatch 8.2.3604: not all sudoers files are recognized v8.2.3604
Bram Moolenaar [Tue, 16 Nov 2021 16:38:42 +0000 (16:38 +0000)]
patch 8.2.3604: not all sudoers files are recognized

Problem:    Not all sudoers files are recognized.
Solution:   Add a file pattern. (Doug Kearns, closes #1192)

3 years agopatch 8.2.3603: fish filetype not recognized v8.2.3603
Bram Moolenaar [Tue, 16 Nov 2021 15:28:10 +0000 (15:28 +0000)]
patch 8.2.3603: fish filetype not recognized

Problem:    Fish filetype not recognized.
Solution:   Add a file pattern and match script line. (Doug Kearns)

3 years agopatch 8.2.3602: Python3 test fails with Python 3.10 on MS-Windows v8.2.3602
K.Takata [Tue, 16 Nov 2021 13:08:56 +0000 (13:08 +0000)]
patch 8.2.3602: Python3 test fails with Python 3.10 on MS-Windows

Problem:    Python3 test fails with Python 3.10 on MS-Windows.
Solution:   Adjust the expected error. (Ken Takata, closes #9118)

3 years agopatch 8.2.3601: check for overflow in put count does not work well v8.2.3601
ichizok [Tue, 16 Nov 2021 12:50:46 +0000 (12:50 +0000)]
patch 8.2.3601: check for overflow in put count does not work well

Problem:    Check for overflow in put count does not work well.
Solution:   Improve the overflow check. (Ozaki Kiichi, closes #9102)

3 years agopatch 8.2.3600: filetype test fails v8.2.3600
Bram Moolenaar [Tue, 16 Nov 2021 11:53:13 +0000 (11:53 +0000)]
patch 8.2.3600: filetype test fails

Problem:    Filetype test fails.
Solution:   Add missint change.

3 years agopatch 8.2.3599: not all gdbinit files are recognized v8.2.3599
Bram Moolenaar [Tue, 16 Nov 2021 11:10:11 +0000 (11:10 +0000)]
patch 8.2.3599: not all gdbinit files are recognized

Problem:    Not all gdbinit files are recognized.
Solution:   Add "gdbinit". (Doug Kearns)

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)