]> granicus.if.org Git - vim/log
vim
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)

2 years agoUpdate runtime files
Bram Moolenaar [Fri, 17 Jun 2022 14:42:40 +0000 (15:42 +0100)]
Update runtime files

2 years agopatch 8.2.5115: search timeout is overrun with some patterns v8.2.5115
Bram Moolenaar [Fri, 17 Jun 2022 14:17:10 +0000 (15:17 +0100)]
patch 8.2.5115: search timeout is overrun with some patterns

Problem:    Search timeout is overrun with some patterns.
Solution:   Check for timeout in more places.  Make the flag volatile and
            atomic.  Use assert_inrange() to see what happened.

2 years agopatch 8.2.5114: time limit on searchpair() does not work properly v8.2.5114
Bram Moolenaar [Thu, 16 Jun 2022 20:20:48 +0000 (21:20 +0100)]
patch 8.2.5114: time limit on searchpair() does not work properly

Problem:    Time limit on searchpair() does not work properly.
Solution:   Set the time limit once instead of for each regexp. (closes #10562)

2 years agopatch 8.2.5113: timer becomes invalid after fork/exec, :gui gives errors v8.2.5113
Bram Moolenaar [Thu, 16 Jun 2022 17:47:20 +0000 (18:47 +0100)]
patch 8.2.5113: timer becomes invalid after fork/exec, :gui gives errors

Problem:    Timer becomes invalid after fork/exec, :gui gives errors. (Gabriel
            Dupras)
Solution:   Delete the timer befor forking. (closes #10584)

2 years agopatch 8.2.5112: gui test hangs on MS-Windows v8.2.5112
Bram Moolenaar [Thu, 16 Jun 2022 15:36:43 +0000 (16:36 +0100)]
patch 8.2.5112: gui test hangs on MS-Windows

Problem:    Gui test hangs on MS-Windows.
Solution:   Use "!start" to start Vim.

2 years agopatch 8.2.5111: no test for --gui-dialog-file v8.2.5111
Bram Moolenaar [Thu, 16 Jun 2022 13:45:41 +0000 (14:45 +0100)]
patch 8.2.5111: no test for --gui-dialog-file

Problem:    No test for --gui-dialog-file.
Solution:   Add a test.

2 years agopatch 8.2.5110: icon filetype not recognized from the first line v8.2.5110
Bram Moolenaar [Thu, 16 Jun 2022 12:27:18 +0000 (13:27 +0100)]
patch 8.2.5110: icon filetype not recognized from the first line

Problem:    Icon filetype not recognized from the first line.
Solution:   Add a check for the first line. (Doug Kearns)

2 years agopatch 8.2.5109: mode not updated after CTRL-O CTRL-C in Insert mode v8.2.5109
Bram Moolenaar [Thu, 16 Jun 2022 12:04:45 +0000 (13:04 +0100)]
patch 8.2.5109: mode not updated after CTRL-O CTRL-C in Insert mode

Problem:    Mode not updated after CTRL-O CTRL-C in Insert mode.
Solution:   Set redraw_mode and use it. (closes #10581)

2 years agopatch 8.2.5108: retab test disabled because it hangs on MS-Windows v8.2.5108
Bram Moolenaar [Thu, 16 Jun 2022 11:10:48 +0000 (12:10 +0100)]
patch 8.2.5108: retab test disabled because it hangs on MS-Windows

Problem:    Retab test disabled because it hangs on MS-Windows.
Solution:   Also set got_int at the other place a overlong text is detected.

2 years agopatch 8.2.5107: some callers of rettv_list_alloc() check for not OK v8.2.5107
Bram Moolenaar [Thu, 16 Jun 2022 10:42:09 +0000 (11:42 +0100)]
patch 8.2.5107: some callers of rettv_list_alloc() check for not OK

Problem:    Some callers of rettv_list_alloc() check for not OK. (Christ van
            Willegen)
Solution:   Use "==" instead of "!=" when checking the return value.

2 years agopatch 8.2.5106: default cmdwin mappings are re-mappable v8.2.5106
zeertzjq [Thu, 16 Jun 2022 10:14:55 +0000 (11:14 +0100)]
patch 8.2.5106: default cmdwin mappings are re-mappable

Problem:    Default cmdwin mappings are re-mappable.
Solution:   Make the default mappings not re-mappable. (closes #10580)  Use
            symbols for the first do_map() argument.

2 years agopatch 8.2.5105: test still hangs on MS-Windows v8.2.5105
Bram Moolenaar [Wed, 15 Jun 2022 21:11:45 +0000 (22:11 +0100)]
patch 8.2.5105: test still hangs on MS-Windows

Problem:    Test still hangs on MS-Windows.
Solution:   Skip "nocatch" test the right way.

2 years agopatch 8.2.5104: test hangs on MS-Windows v8.2.5104
Bram Moolenaar [Wed, 15 Jun 2022 20:28:55 +0000 (21:28 +0100)]
patch 8.2.5104: test hangs on MS-Windows

Problem:    Test hangs on MS-Windows.
Solution:   Skip another test on MS-Windows.

2 years agopatch 8.2.5103: build fails with small features v8.2.5103
Bram Moolenaar [Wed, 15 Jun 2022 20:08:09 +0000 (21:08 +0100)]
patch 8.2.5103: build fails with small features

Problem:    Build fails with small features.
Solution:   Add #ifdef.  Skip test on MS-Windows.

2 years agopatch 8.2.5102: interrupt not caught in test v8.2.5102
Bram Moolenaar [Wed, 15 Jun 2022 19:49:35 +0000 (20:49 +0100)]
patch 8.2.5102: interrupt not caught in test

Problem:    Interrupt not caught in test.
Solution:   Consider an exception thrown in the current try/catch when got_int
            is set.  Also catch early exit when not using try/catch.

2 years agopatch 8.2.5101: MS-Windows with MinGW: $CC may be "cc" instead of "gcc" v8.2.5101
Yegappan Lakshmanan [Wed, 15 Jun 2022 17:31:45 +0000 (18:31 +0100)]
patch 8.2.5101: MS-Windows with MinGW: $CC may be "cc" instead of "gcc"

Problem:    MS-Windows with MinGW: $CC may be "cc" instead of "gcc".
Solution:   Set $CC if it is not matching "clang". (Yegappan Lakshmanan,
            closes #10578)

2 years agopatch 8.2.5100: memory usage tests are not retried v8.2.5100
Bram Moolenaar [Wed, 15 Jun 2022 17:08:42 +0000 (18:08 +0100)]
patch 8.2.5100: memory usage tests are not retried

Problem:    Memory usage tests are not retried.
Solution:   Mark memory usage tests as flaky.

2 years agopatch 8.2.5099: some terminal tests are not retried v8.2.5099
Bram Moolenaar [Wed, 15 Jun 2022 16:52:44 +0000 (17:52 +0100)]
patch 8.2.5099: some terminal tests are not retried

Problem:    Some terminal tests are not retried.
Solution:   Mark terminal tests as flaky.

2 years agopatch 8.2.5098: spelldump test sometimes hangs v8.2.5098
Bram Moolenaar [Wed, 15 Jun 2022 15:57:44 +0000 (16:57 +0100)]
patch 8.2.5098: spelldump test sometimes hangs

Problem:    Spelldump test sometimes hangs.
Solution:   Catch the problem of the spell file not being found to avoid
            hanging in the download dialog.