]> granicus.if.org Git - vim/log
vim
2 years agopatch 9.0.0035: spell dump may go beyond end of an array v9.0.0035
Bram Moolenaar [Mon, 4 Jul 2022 12:37:07 +0000 (13:37 +0100)]
patch 9.0.0035: spell dump may go beyond end of an array

Problem:    Spell dump may go beyond end of an array.
Solution:   Limit the word length.

2 years agopatch 9.0.0034: spell tests do not always clear the word list v9.0.0034
zeertzjq [Mon, 4 Jul 2022 10:03:07 +0000 (11:03 +0100)]
patch 9.0.0034: spell tests do not always clear the word list

Problem:    Spell tests do not always clear the word list.
Solution:   Clear the word list in TearDown(). (closes #10659)

2 years agopatch 9.0.0033: on a Belgian keyboard CTRL-[ does not work v9.0.0033
Anton Sharonov [Mon, 4 Jul 2022 09:47:31 +0000 (10:47 +0100)]
patch 9.0.0033: on a Belgian keyboard CTRL-[ does not work

Problem:    On a Belgian keyboard CTRL-[ does not work.
Solution:   Handle GDK_KEY_dead_circumflex. (Anton Sharonov, closes #10658)

2 years agopatch 9.0.0032: in the quickfix window 'cursorline' overrules QuickFixLine v9.0.0032
Bram Moolenaar [Sun, 3 Jul 2022 13:21:09 +0000 (14:21 +0100)]
patch 9.0.0032: in the quickfix window 'cursorline' overrules QuickFixLine

Problem:    In the quickfix window 'cursorline' overrules QuickFixLine
            highlighting.
Solution:   Combine the attributes.  Add a test. (closes #10654)

2 years agopatch 9.0.0031: <cmod> of user command does not have correct verbose value v9.0.0031
zeertzjq [Sun, 3 Jul 2022 12:16:09 +0000 (13:16 +0100)]
patch 9.0.0031: <cmod> of user command does not have correct verbose value

Problem:    <cmod> of user command does not have correct verbose value.
Solution:   Use the value from the command modifier. (closes #10651)

2 years agopatch 9.0.0030: matchfuzzy test depends on path of current directory v9.0.0030
Bram Moolenaar [Sat, 2 Jul 2022 19:48:01 +0000 (20:48 +0100)]
patch 9.0.0030: matchfuzzy test depends on path of current directory

Problem:    Matchfuzzy test depends on path of current directory.
Solution:   Use fnamemodify() to remove the path. (Robin Becker,
            closes #10650)

2 years agopatch 9.0.0029: the bitmaps/vim.ico file is not in the distribution v9.0.0029
Bram Moolenaar [Sat, 2 Jul 2022 16:58:23 +0000 (17:58 +0100)]
patch 9.0.0029: the bitmaps/vim.ico file is not in the distribution

Problem:    The bitmaps/vim.ico file is not in the distribution.
Solution:   Add it back to the distribution.  Adjust the build rules to have
            it end up in the right place.

2 years agopatch 9.0.0028: MS-Windows: tests fail if there is a "runtime" directory v9.0.0028
Bram Moolenaar [Sat, 2 Jul 2022 16:36:31 +0000 (17:36 +0100)]
patch 9.0.0028: MS-Windows: tests fail if there is a "runtime" directory

Problem:    MS-Windows: tests fail if there is a stray "runtime" directory.
Solution:   Only use a "runtime" directory if it contains "defaults.vim".

2 years agopatch 9.0.0027: the command line test is getting quite big v9.0.0027
Bram Moolenaar [Sat, 2 Jul 2022 15:29:34 +0000 (16:29 +0100)]
patch 9.0.0027: the command line test is getting quite big

Problem:    The command line test is getting quite big.
Solution:   Move command line window tests to a separate file.

2 years agopatch 9.0.0026: accessing freed memory with diff put v9.0.0026
Bram Moolenaar [Sat, 2 Jul 2022 14:10:00 +0000 (15:10 +0100)]
patch 9.0.0026: accessing freed memory with diff put

Problem:    Accessing freed memory with diff put.
Solution:   Bail out when diff pointer is no longer valid.

2 years agopatch 9.0.0025: accessing beyond allocated memory with the cmdline window v9.0.0025
Bram Moolenaar [Sat, 2 Jul 2022 12:43:21 +0000 (13:43 +0100)]
patch 9.0.0025: accessing beyond allocated memory with the cmdline window

Problem:    Accessing beyond allocated memory when using the cmdline window in
            Ex mode.
Solution:   Use "*" instead of "'<,'>" for Visual mode.

2 years agopatch 9.0.0024: may access part of typeahead buf that isn't filled v9.0.0024
Bram Moolenaar [Sat, 2 Jul 2022 11:08:16 +0000 (12:08 +0100)]
patch 9.0.0024: may access part of typeahead buf that isn't filled

Problem:    May access part of typeahead buf that isn't filled.
Solution:   Check length of typeahead.

2 years agopatch 9.0.0023: on Solaris timer_create() exists but does not work v9.0.0023
Bram Moolenaar [Sat, 2 Jul 2022 10:40:40 +0000 (11:40 +0100)]
patch 9.0.0023: on Solaris timer_create() exists but does not work

Problem:    On Solaris timer_create() exists but does not work.
Solution:   Adjust the configure check to run the test program.
            (closes #10647)

2 years agopatch 9.0.0022: spell test fails v9.0.0022
Bram Moolenaar [Fri, 1 Jul 2022 21:44:19 +0000 (22:44 +0100)]
patch 9.0.0022: spell test fails

Problem:    Spell test fails.
Solution:   Expect new error is given.

2 years agopatch 9.0.0021: invalid memory access when adding word to spell word list v9.0.0021
Bram Moolenaar [Fri, 1 Jul 2022 21:26:20 +0000 (22:26 +0100)]
patch 9.0.0021: invalid memory access when adding word to spell word list

Problem:    Invalid memory access when adding word with a control character to
            the internal spell word list.
Solution:   Disallow adding a word with control characters or a trailing
            slash.

2 years agopatch 9.0.0020: with some completion reading past end of string v9.0.0020
Bram Moolenaar [Fri, 1 Jul 2022 18:58:30 +0000 (19:58 +0100)]
patch 9.0.0020: with some completion reading past end of string

Problem:    With some completion reading past end of string.
Solution:   Check the length of the string.

2 years agopatch 9.0.0019: timers test not run where possible v9.0.0019
zeertzjq [Fri, 1 Jul 2022 18:11:23 +0000 (19:11 +0100)]
patch 9.0.0019: timers test not run where possible

Problem:    Timers test not run where possible.
Solution:   Adjust platform checks. (closes #10645)

2 years agoUpdate runtime files
Bram Moolenaar [Fri, 1 Jul 2022 17:45:04 +0000 (18:45 +0100)]
Update runtime files

2 years agopatch 9.0.0018: going over the end of the typahead v9.0.0018
Bram Moolenaar [Fri, 1 Jul 2022 15:35:45 +0000 (16:35 +0100)]
patch 9.0.0018: going over the end of the typahead

Problem:    Going over the end of the typahead.
Solution:   Put a NUL after the typeahead.

2 years agopatch 9.0.0017: accessing memory beyond the end of the line v9.0.0017
Bram Moolenaar [Fri, 1 Jul 2022 14:26:15 +0000 (15:26 +0100)]
patch 9.0.0017: accessing memory beyond the end of the line

Problem:    Accessing memory beyond the end of the line.
Solution:   Stop Visual mode when closing a window.

2 years agopatch 9.0.0016: comparing line pointer for 'breakindent' is not reliable v9.0.0016
Bram Moolenaar [Fri, 1 Jul 2022 12:15:35 +0000 (13:15 +0100)]
patch 9.0.0016: comparing line pointer for 'breakindent' is not reliable

Problem:    Comparing line pointer for 'breakindent' is not reliable.
Solution:   Make a copy of the line.

2 years agopatch 9.0.0015: with EXITFREE defined terminal menus are not cleared v9.0.0015
zeertzjq [Fri, 1 Jul 2022 11:13:15 +0000 (12:13 +0100)]
patch 9.0.0015: with EXITFREE defined terminal menus are not cleared

Problem:    With EXITFREE defined terminal menus are not cleared.
Solution:   Also clear terminal menus. Remove condition that is always true.
            (closes #10641)

2 years agopatch 9.0.0014: missing part of the test override change v9.0.0014
Bram Moolenaar [Thu, 30 Jun 2022 21:28:08 +0000 (22:28 +0100)]
patch 9.0.0014: missing part of the test override change

Problem:    Missing part of the test override change.
Solution:   Add the missing part.

2 years agopatch 9.0.0013: reproducing memory access errors can be difficult v9.0.0013
Bram Moolenaar [Thu, 30 Jun 2022 21:13:59 +0000 (22:13 +0100)]
patch 9.0.0013: reproducing memory access errors can be difficult

Problem:    Reproducing memory access errors can be difficult.
Solution:   When testing, copy each line to allocated memory, so that valgrind
            can detect accessing memory before and/or after it.  Fix uncovered
            problems.

2 years agopatch 9.0.0012: signature files not detected properly v9.0.0012
Bram Moolenaar [Thu, 30 Jun 2022 15:25:21 +0000 (16:25 +0100)]
patch 9.0.0012: signature files not detected properly

Problem:    Signature files not detected properly.
Solution:   Add a function to better detect signature files. (Doug Kearns)

2 years agopatch 9.0.0011: reading beyond the end of the line with put command v9.0.0011
Bram Moolenaar [Thu, 30 Jun 2022 11:30:19 +0000 (12:30 +0100)]
patch 9.0.0011: reading beyond the end of the line with put command

Problem:    Reading beyond the end of the line with put command.
Solution:   Adjust the end mark position.

2 years agopatch 9.0.0010: returning 0 for has('patch-9.0.0') is inconsistent v9.0.0010
Bram Moolenaar [Thu, 30 Jun 2022 10:03:39 +0000 (11:03 +0100)]
patch 9.0.0010: returning 0 for has('patch-9.0.0') is inconsistent

Problem:    Returning 0 for has('patch-9.0.0') is inconsistent.
Solution:   Make it return 1. (closes #10640)

2 years agopatch 9.0.0009: going past the end of a menu item with only modifier v9.0.0009
Bram Moolenaar [Wed, 29 Jun 2022 20:16:58 +0000 (21:16 +0100)]
patch 9.0.0009: going past the end of a menu item with only modifier

Problem:    Going past the end of a menu item with only modifier.
Solution:   Check for NUL.

2 years agopatch 9.0.0008: cannot specify the variable name for "xxd -i" v9.0.0008
David Gow [Wed, 29 Jun 2022 19:24:49 +0000 (20:24 +0100)]
patch 9.0.0008: cannot specify the variable name for "xxd -i"

Problem:    Cannot specify the variable name for "xxd -i".
Solution:   Add the "-name" argument. (David Gow, closes #10599)

2 years agopatch 9.0.0007: no support for double, dotted and dashed underlines v9.0.0007
Bram Moolenaar [Wed, 29 Jun 2022 17:39:11 +0000 (18:39 +0100)]
patch 9.0.0007: no support for double, dotted and dashed underlines

Problem:    No support for double, dotted and dashed underlines.
Solution:   Add the termcap entries and highlight modes. (closes #9553)

2 years agopatch 9.0.0006: not all Visual Basic files are recognized v9.0.0006
Bram Moolenaar [Wed, 29 Jun 2022 13:39:12 +0000 (14:39 +0100)]
patch 9.0.0006: not all Visual Basic files are recognized

Problem:    Not all Visual Basic files are recognized.
Solution:   Change detection of *.cls files. (Doug Kearns)

2 years agopatch 9.0.0005: hare files are not recognized v9.0.0005
Hugo Osvaldo Barrera [Wed, 29 Jun 2022 12:48:49 +0000 (13:48 +0100)]
patch 9.0.0005: hare files are not recognized

Problem:    Hare files are not recognized.
Solution:   Add a filetype pattern. (Hugo Osvaldo Barrera, closes #10630)

2 years agopatch 9.0.0004: plural messages not translated properly v9.0.0004
Matvey Tarasov [Wed, 29 Jun 2022 12:18:27 +0000 (13:18 +0100)]
patch 9.0.0004: plural messages not translated properly

Problem:    Plural messages not translated properly.
Solution:   Use ngettext() in a few more places. (Matvey Tarasov,
            closes #10606)

2 years agopatch 9.0.0003: functions are global while they could be local v9.0.0003
Yegappan Lakshmanan [Wed, 29 Jun 2022 11:55:36 +0000 (12:55 +0100)]
patch 9.0.0003: functions are global while they could be local

Problem:    Functions are global while they could be local.
Solution:   Add "static".  Add a few tests. (Yegappan Lakshmanan,
            closes #10612)

2 years agopatch 9.0.0002: map functionality outside of map.c v9.0.0002
zeertzjq [Wed, 29 Jun 2022 09:37:40 +0000 (10:37 +0100)]
patch 9.0.0002: map functionality outside of map.c

Problem:    Map functionality outside of map.c.
Solution:   Move f_hasmapto() to map.c.  Rename a function. (closes #10611)

2 years agopatch 9.0.0001: Travis CI is no longer used v9.0.0001
Bram Moolenaar [Tue, 28 Jun 2022 19:07:42 +0000 (20:07 +0100)]
patch 9.0.0001: Travis CI is no longer used

Problem:    Travis CI is no longer used.
Solution:   Delete the Travis CI configuration. (Hugo Osvaldo Barrera,
            closes #10636)

2 years agorelease version 9.0 v9.0.0000
Bram Moolenaar [Tue, 28 Jun 2022 12:44:46 +0000 (13:44 +0100)]
release version 9.0

Problem:    About time to release Vim 9.0.
Solution:   Update the version number everywhere.

2 years agopatch 8.2.5172: "make menu" still uses legacy script v8.2.5172
Bram Moolenaar [Mon, 27 Jun 2022 22:13:04 +0000 (23:13 +0100)]
patch 8.2.5172: "make menu" still uses legacy script

Problem:    "make menu" still uses legacy script.
Solution:   make menu generation script use Vim9 script, fix errors.

2 years agopatch 8.2.5171: dependencies and proto files are outdated v8.2.5171
Bram Moolenaar [Mon, 27 Jun 2022 21:52:43 +0000 (22:52 +0100)]
patch 8.2.5171: dependencies and proto files are outdated

Problem:    Dependencies and proto files are outdated.
Solution:   Update dependencies and proto files.  Avoid errors.

2 years agopatch 8.2.5170: tiny issues v8.2.5170
Bram Moolenaar [Mon, 27 Jun 2022 21:17:37 +0000 (22:17 +0100)]
patch 8.2.5170: tiny issues

Problem:    Tiny issues.
Solution:   Tiny improvements.

2 years agoUpdate runtime files
Bram Moolenaar [Mon, 27 Jun 2022 21:16:08 +0000 (22:16 +0100)]
Update runtime files

2 years agopatch 8.2.5169: nested :source may use NULL pointer v8.2.5169
Bram Moolenaar [Mon, 27 Jun 2022 19:15:10 +0000 (20:15 +0100)]
patch 8.2.5169: nested :source may use NULL pointer

Problem:    Nested :source may use NULL pointer.
Solution:   Do not use the NULL pointer.

2 years agopatch 8.2.5168: cannot build with Python 3.11 v8.2.5168
Zdenek Dohnal [Mon, 27 Jun 2022 12:59:00 +0000 (13:59 +0100)]
patch 8.2.5168: cannot build with Python 3.11

Problem:    Cannot build with Python 3.11.
Solution:   Adjust define for _PyObject_TypeCheck. (Zdenek Dohnal,
            closes #10627)

2 years agopatch 8.2.5167: get(Fn, 'name') on funcref returns special byte code v8.2.5167
Bram Moolenaar [Mon, 27 Jun 2022 10:45:52 +0000 (11:45 +0100)]
patch 8.2.5167: get(Fn, 'name') on funcref returns special byte code

Problem:    get(Fn, 'name') on funcref returns special byte code.
Solution:   Use the printable name.

2 years agopatch 8.2.5166: test for DiffUpdated fails v8.2.5166
Bram Moolenaar [Sun, 26 Jun 2022 17:17:50 +0000 (18:17 +0100)]
patch 8.2.5166: test for DiffUpdated fails

Problem:    Test for DiffUpdated fails.
Solution:   Also accept a count of two.

2 years agopatch 8.2.5165: import test fails because 'diffexpr' isn't reset v8.2.5165
Bram Moolenaar [Sun, 26 Jun 2022 17:01:00 +0000 (18:01 +0100)]
patch 8.2.5165: import test fails because 'diffexpr' isn't reset

Problem:    Import test fails because 'diffexpr' isn't reset.
Solution:   Reset 'diffexpr'.

2 years agopatch 8.2.5164: invalid memory access after diff buffer manipulations v8.2.5164
Bram Moolenaar [Sun, 26 Jun 2022 15:53:34 +0000 (16:53 +0100)]
patch 8.2.5164: invalid memory access after diff buffer manipulations

Problem:    Invalid memory access after diff buffer manipulations.
Solution:   Use zero offset when change removes all lines in a diff block.

2 years agopatch 8.2.5163: crash when deleting buffers in diff mode v8.2.5163
Bram Moolenaar [Sun, 26 Jun 2022 13:04:07 +0000 (14:04 +0100)]
patch 8.2.5163: crash when deleting buffers in diff mode

Problem:    Crash when deleting buffers in diff mode.
Solution:   Recompute diffs later.  Skip window without a valid buffer.

2 years agopatch 8.2.5162: reading before the start of the line with BS in Replace mode v8.2.5162
Bram Moolenaar [Sun, 26 Jun 2022 11:59:02 +0000 (12:59 +0100)]
patch 8.2.5162: reading before the start of the line with BS in Replace mode

Problem:    Reading before the start of the line with BS in Replace mode.
Solution:   Check the cursor column is more than zero.

2 years agoUpdate runtime files
Bram Moolenaar [Sun, 26 Jun 2022 11:21:15 +0000 (12:21 +0100)]
Update runtime files

2 years agopatch 8.2.5161: might still access invalid memory v8.2.5161
Bram Moolenaar [Sun, 26 Jun 2022 10:17:10 +0000 (11:17 +0100)]
patch 8.2.5161: might still access invalid memory

Problem:    Might still access invalid memory.
Solution:   Add extra check for negative value.

2 years agopatch 8.2.5160: accessing invalid memory after changing terminal size v8.2.5160
Bram Moolenaar [Sat, 25 Jun 2022 18:54:09 +0000 (19:54 +0100)]
patch 8.2.5160: accessing invalid memory after changing terminal size

Problem:    Accessing invalid memory after changing terminal size.
Solution:   Adjust cmdline_row and msg_row to the value of Rows.

2 years agoUpdate runtime files
Bram Moolenaar [Sat, 25 Jun 2022 17:01:32 +0000 (18:01 +0100)]
Update runtime files

2 years agopatch 8.2.5159: fix for CTRL-key combinations causes problems v8.2.5159
Bram Moolenaar [Sat, 25 Jun 2022 12:48:25 +0000 (13:48 +0100)]
patch 8.2.5159: fix for CTRL-key combinations causes problems

Problem:    Fix for CTRL-key combinations causes more problems than it solves.
Solution:   Roll back the change.

2 years agopatch 8.2.5158: TSTP and INT signal tests are not run with valgrind v8.2.5158
Bram Moolenaar [Sat, 25 Jun 2022 11:13:28 +0000 (12:13 +0100)]
patch 8.2.5158: TSTP and INT signal tests are not run with valgrind

Problem:    TSTP and INT signal tests are not run with valgrind.
Solution:   Sleep a bit longer. (closes #10614)

2 years agopatch 8.2.5157: MS-Windows GUI: CTRL-key combinations do not always work v8.2.5157
LemonBoy [Fri, 24 Jun 2022 19:18:09 +0000 (20:18 +0100)]
patch 8.2.5157: MS-Windows GUI: CTRL-key combinations do not always work

Problem:    MS-Windows GUI: CTRL-key combinations do not always work.
Solution:   Handle special key combinations better. (closes #10613,
            closes #10602, closes #10579)

2 years agopatch 8.2.5156: search timeout test often fails with FreeBSD v8.2.5156
Bram Moolenaar [Fri, 24 Jun 2022 19:11:59 +0000 (20:11 +0100)]
patch 8.2.5156: search timeout test often fails with FreeBSD

Problem:    Search timeout test often fails with FreeBSD.
Solution:   Double the maximum time.

2 years agopatch 8.2.5155: in diff mode windows may get out of sync v8.2.5155
Bram Moolenaar [Fri, 24 Jun 2022 11:38:57 +0000 (12:38 +0100)]
patch 8.2.5155: in diff mode windows may get out of sync

Problem:    In diff mode windows may get out of sync. (Gary Johnson)
Solution:   Avoid that the other window scrolls for 'cursorbind'.

2 years agoUpdate runtime files
Bram Moolenaar [Fri, 24 Jun 2022 10:48:03 +0000 (11:48 +0100)]
Update runtime files

2 years agopatch 8.2.5154: still mentioning version8, some cosmetic issues v8.2.5154
Bram Moolenaar [Thu, 23 Jun 2022 19:46:27 +0000 (20:46 +0100)]
patch 8.2.5154: still mentioning version8, some cosmetic issues

Problem:    Still mentioning version8, some cosmetic issues.
Solution:   Prefer mentioning version9, cosmetic improvements.

2 years agopatch 8.2.5153: "make uninstall" does not remove colors/lists v8.2.5153
towrang [Thu, 23 Jun 2022 14:54:09 +0000 (15:54 +0100)]
patch 8.2.5153: "make uninstall" does not remove colors/lists

Problem:    "make uninstall" does not remove colors/lists.
Solution:   Add a line to the Makefile. (closes #10609)

2 years agoUpdate runtime files
Bram Moolenaar [Thu, 23 Jun 2022 12:04:20 +0000 (13:04 +0100)]
Update runtime files

2 years agopatch 8.2.5152: search() gets stuck with "c" and skip evaluates to true v8.2.5152
zeertzjq [Thu, 23 Jun 2022 11:04:46 +0000 (12:04 +0100)]
patch 8.2.5152: search() gets stuck with "c" and skip evaluates to true

Problem:    search() gets stuck with "c" and skip evaluates to true.
Solution:   Reset the SEARCH_START option. (closes #10608)

2 years agopatch 8.2.5151: reading beyond the end of the line with lisp indenting v8.2.5151
Bram Moolenaar [Wed, 22 Jun 2022 18:59:28 +0000 (19:59 +0100)]
patch 8.2.5151: reading beyond the end of the line with lisp indenting

Problem:    Reading beyond the end of the line with lisp indenting.
Solution:   Avoid going over the NUL at the end of the line.

2 years agopatch 8.2.5150: read past the end of the first line with ":0;'{" v8.2.5150
Bram Moolenaar [Wed, 22 Jun 2022 18:08:38 +0000 (19:08 +0100)]
patch 8.2.5150: read past the end of the first line with ":0;'{"

Problem:    Read past the end of the first line with ":0;'{".
Solution:   When on line zero check the column is valid for line one.

2 years agopatch 8.2.5149: cannot build without the +eval feature v8.2.5149
Bram Moolenaar [Wed, 22 Jun 2022 17:14:29 +0000 (18:14 +0100)]
patch 8.2.5149: cannot build without the +eval feature

Problem:    Cannot build without the +eval feature. (Tony Mechelynck)
Solution:   Add #ifdefs.

2 years agopatch 8.2.5148: invalid memory access when using expression on command line v8.2.5148
Bram Moolenaar [Wed, 22 Jun 2022 12:51:54 +0000 (13:51 +0100)]
patch 8.2.5148: invalid memory access when using expression on command line

Problem:    Invalid memory access when using an expression on the command line.
Solution:   Make sure the position does not go negative.

2 years agopatch 8.2.5147: flaky test always fails on retry v8.2.5147
Bram Moolenaar [Tue, 21 Jun 2022 21:35:40 +0000 (22:35 +0100)]
patch 8.2.5147: flaky test always fails on retry

Problem:    Flaky test always fails on retry.
Solution:   Delete the created function.

2 years agopatch 8.2.5146: memory leak when substitute expression nests v8.2.5146
Bram Moolenaar [Tue, 21 Jun 2022 21:15:25 +0000 (22:15 +0100)]
patch 8.2.5146: memory leak when substitute expression nests

Problem:    Memory leak when substitute expression nests.
Solution:   Use an array of expression results.

2 years agopatch 8.2.5145: exit test causes spurious valgrind reports v8.2.5145
Bram Moolenaar [Tue, 21 Jun 2022 17:34:42 +0000 (18:34 +0100)]
patch 8.2.5145: exit test causes spurious valgrind reports

Problem:    Exit test causes spurious valgrind reports.
Solution:   Skip test.  Add CheckNotValgrind.

2 years agopatch 8.2.5144: with 'lazyredraw' set completion menu may be wrong v8.2.5144
Bram Moolenaar [Tue, 21 Jun 2022 17:10:39 +0000 (18:10 +0100)]
patch 8.2.5144: with 'lazyredraw' set completion menu may be wrong

Problem:    With 'lazyredraw' set completion menu may be displayed wrong.
Solution:   When the popup menu is visible do not insert a screen line.
            (closes #106010)

2 years agopatch 8.2.5143: some tests fail when using valgrind v8.2.5143
Bram Moolenaar [Tue, 21 Jun 2022 16:40:47 +0000 (17:40 +0100)]
patch 8.2.5143: some tests fail when using valgrind

Problem:    Some tests fail when using valgrind. Spurious leak reports.
Solution:   Use WaitForAssert().  Avoid failing fork/exec.  Skip tests where a
            job is killed when running valgrind.

2 years agopatch 8.2.5142: startup test fails if there is a status bar v8.2.5142
Bram Moolenaar [Tue, 21 Jun 2022 13:38:40 +0000 (14:38 +0100)]
patch 8.2.5142: startup test fails if there is a status bar

Problem:    Startup test fails if there is a status bar at the top of the
            screen. (Ernie Rael)
Solution:   Use a larger vertical offset in the test.

2 years agopatch 8.2.5141: using "volatile int" in a signal handler might be wrong v8.2.5141
Bram Moolenaar [Mon, 20 Jun 2022 12:38:33 +0000 (13:38 +0100)]
patch 8.2.5141: using "volatile int" in a signal handler might be wrong

Problem:    Using "volatile int" in a signal handler might be wrong.
Solution:   Use "volatile sig_atomic_t".

2 years agopatch 8.2.5140: seachpair timeout test is flaky v8.2.5140
Bram Moolenaar [Mon, 20 Jun 2022 11:39:39 +0000 (12:39 +0100)]
patch 8.2.5140: seachpair timeout test is flaky

Problem:    Seachpair timeout test is flaky.
Solution:   Mark the test as flaky so it is retried.

2 years agopatch 8.2.5139: TIME_WITH_SYS_TIME is no longer supported by autoconf v8.2.5139
Bram Moolenaar [Mon, 20 Jun 2022 11:01:10 +0000 (12:01 +0100)]
patch 8.2.5139: TIME_WITH_SYS_TIME is no longer supported by autoconf

Problem:    TIME_WITH_SYS_TIME is no longer supported by autoconf.
Solution:   Always include time.h.

2 years agopatch 8.2.5138: various small issues v8.2.5138
Bram Moolenaar [Mon, 20 Jun 2022 10:38:17 +0000 (11:38 +0100)]
patch 8.2.5138: various small issues

Problem:    Various small issues.
Solution:   Various small improvments.

2 years agopatch 8.2.5137: cannot build without the +channel feature v8.2.5137
Bram Moolenaar [Mon, 20 Jun 2022 10:23:01 +0000 (11:23 +0100)]
patch 8.2.5137: cannot build without the +channel feature

Problem:    Cannot build without the +channel feature. (Dominique PellĂ©)
Solution:   Add #ifdef around ch_log() calls. (closes #10598)

2 years agoUpdate runtime files
Bram Moolenaar [Mon, 20 Jun 2022 10:17:32 +0000 (11:17 +0100)]
Update runtime files

2 years agopatch 8.2.5136: debugger test fails when run with valgrind v8.2.5136
Bram Moolenaar [Sun, 19 Jun 2022 19:13:56 +0000 (20:13 +0100)]
patch 8.2.5136: debugger test fails when run with valgrind

Problem:    Debugger test fails when run with valgrind.
Solution:   Wait longer when using valgrind.

2 years agopatch 8.2.5135: running configure gives warnings for main() return type v8.2.5135
Bram Moolenaar [Sun, 19 Jun 2022 17:02:05 +0000 (18:02 +0100)]
patch 8.2.5135: running configure gives warnings for main() return type

Problem:    Running configure gives warnings for main() return type.
Solution:   Specify "int" return type.  Avoid a few more warnings.

2 years agopatch 8.2.5134: function has confusing name v8.2.5134
Bram Moolenaar [Sun, 19 Jun 2022 16:45:28 +0000 (17:45 +0100)]
patch 8.2.5134: function has confusing name

Problem:    Function has confusing name.
Solution:   Rename tgetent_error() to invoke_tgetent().

2 years agopatch 8.2.5133: MacOS: build fails v8.2.5133
Bram Moolenaar [Sun, 19 Jun 2022 16:22:49 +0000 (17:22 +0100)]
patch 8.2.5133: MacOS: build fails

Problem:    MacOS: build fails.
Solution:   Remove "#if 0" from timer_delete().

2 years agopatch 8.2.5132: :mkview test doesn't test much v8.2.5132
James McCoy [Sun, 19 Jun 2022 16:16:18 +0000 (17:16 +0100)]
patch 8.2.5132: :mkview test doesn't test much

Problem:    :mkview test doesn't test much.
Solution:   Save the view with the folds closed. (James McCoy, closes #10596)

2 years agopatch 8.2.5131: timeout implementation is not optimal v8.2.5131
Bram Moolenaar [Sun, 19 Jun 2022 16:05:47 +0000 (17:05 +0100)]
patch 8.2.5131: timeout implementation is not optimal

Problem:    Timeout implementation is not optimal.
Solution:   Further improvements for timeouts.  Add a test for searchpair()
            timeout. (partly by Paul Ollis)

2 years agopatch 8.2.5130: edit test for mode message fails when using valgrind v8.2.5130
Bram Moolenaar [Sun, 19 Jun 2022 14:22:36 +0000 (15:22 +0100)]
patch 8.2.5130: edit test for mode message fails when using valgrind

Problem:    Edit test for mode message fails when using valgrind.
Solution:   Use WaitForAssert().  Run beep test later.

2 years agopatch 8.2.5129: timeout handling is not optimal v8.2.5129
Bram Moolenaar [Sun, 19 Jun 2022 13:36:35 +0000 (14:36 +0100)]
patch 8.2.5129: timeout handling is not optimal

Problem:    Timeout handling is not optimal.
Solution:   Avoid setting timeout_flag twice.  Adjust the pointer when
            stopping the regexp timeout.  Adjust variable name.

2 years agopatch 8.2.5128: syntax disabled when using synID() in searchpair() skip expr v8.2.5128
Bram Moolenaar [Sun, 19 Jun 2022 11:27:45 +0000 (12:27 +0100)]
patch 8.2.5128: syntax disabled when using synID() in searchpair() skip expr

Problem:    Syntax highlighting disabled when using synID() in searchpair()
            skip expression and it times out. (Jaehwang Jung)
Solution:   Add the redrawtime_limit_set flag. (closes #10562)

2 years agopatch 8.2.5127: using assert_true() does not show value on failure v8.2.5127
zeertzjq [Sun, 19 Jun 2022 10:45:46 +0000 (11:45 +0100)]
patch 8.2.5127: using assert_true() does not show value on failure

Problem:    Using assert_true() does not show value on failure.
Solution:   Use assert_inrange(). (closes #10593)

2 years agopatch 8.2.5126: substitute may overrun destination buffer v8.2.5126
Bram Moolenaar [Sat, 18 Jun 2022 18:48:14 +0000 (19:48 +0100)]
patch 8.2.5126: substitute may overrun destination buffer

Problem:    Substitute may overrun destination buffer.
Solution:   Disallow switching buffers in a substitute expression.

2 years agopatch 8.2.5125: MS-Windows: warnings from MinGW compiler v8.2.5125
Yasuhiro Matsumoto [Sat, 18 Jun 2022 15:48:36 +0000 (16:48 +0100)]
patch 8.2.5125: MS-Windows: warnings from MinGW compiler

Problem:    MS-Windows: warnings from MinGW compyler.
Solution:   Use "volatile". (Yasuhiro Matsumoto, closes #10589)  Initialize
            variable.

2 years agopatch 8.2.5124: when syntax timeout test fails it does not show the time v8.2.5124
Bram Moolenaar [Sat, 18 Jun 2022 15:05:32 +0000 (16:05 +0100)]
patch 8.2.5124: when syntax timeout test fails it does not show the time

Problem:    When syntax timeout test fails it does not show the time.
Solution:   Use assert_inrange().

2 years agopatch 8.2.5123: using invalid index when looking for spell suggestions v8.2.5123
Bram Moolenaar [Sat, 18 Jun 2022 13:09:08 +0000 (14:09 +0100)]
patch 8.2.5123: using invalid index when looking for spell suggestions

Problem:    Using invalid index when looking for spell suggestions.
Solution:   Do not decrement the index when it is zero.

2 years agopatch 8.2.5122: lisp indenting my run over the end of the line v8.2.5122
Bram Moolenaar [Sat, 18 Jun 2022 11:51:11 +0000 (12:51 +0100)]
patch 8.2.5122: lisp indenting my run over the end of the line

Problem:    Lisp indenting my run over the end of the line.
Solution:   Check for NUL earlier.

2 years agopatch 8.2.5121: interrupt test sometimes fails v8.2.5121
Bram Moolenaar [Sat, 18 Jun 2022 10:54:47 +0000 (11:54 +0100)]
patch 8.2.5121: interrupt test sometimes fails

Problem:    Interrupt test sometimes fails.
Solution:   Use a different file name.

2 years agopatch 8.2.5120: searching for quotes may go over the end of the line v8.2.5120
Bram Moolenaar [Sat, 18 Jun 2022 10:22:40 +0000 (11:22 +0100)]
patch 8.2.5120: searching for quotes may go over the end of the line

Problem:    Searching for quotes may go over the end of the line.
Solution:   Check for running into the NUL.

2 years agopatch 8.2.5119: CI uses cache v2 v8.2.5119
Philip H [Fri, 17 Jun 2022 20:27:38 +0000 (21:27 +0100)]
patch 8.2.5119: CI uses cache v2

Problem:    CI uses cache v2.
Solution:   Use cache v3. (closes #10588)

2 years agopatch 8.2.5118: MS-Windows: sending a message to another Vim may hang v8.2.5118
K.Takata [Fri, 17 Jun 2022 19:05:40 +0000 (20:05 +0100)]
patch 8.2.5118: MS-Windows: sending a message to another Vim may hang

Problem:    MS-Windows: sending a message to another Vim may hang if that Vim
            is halted.
Solution:   Add a timeout to serverSendToVim(). (Ken Takata, closes #10585)

2 years agopatch 8.2.5117: crash when calling a Lua callback from a :def function v8.2.5117
Bram Moolenaar [Fri, 17 Jun 2022 18:23:34 +0000 (19:23 +0100)]
patch 8.2.5117: crash when calling a Lua callback from a :def function

Problem:    Crash when calling a Lua callback from a :def function. (Bohdan
            Makohin)
Solution:   Handle FC_CFUNC in call_user_func_check(). (closes #10587)

2 years agopatch 8.2.5116: "limit" option of matchfuzzy() not always respected v8.2.5116
Kazuyuki Miyagi [Fri, 17 Jun 2022 17:30:03 +0000 (18:30 +0100)]
patch 8.2.5116: "limit" option of matchfuzzy() not always respected

Problem:    "limit" option of matchfuzzy() not always respected.
Solution:   Remove "else". (Kazuyuki Miyagi, closes #10586)