0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

14285 Commits

Author SHA1 Message Date
Bram Moolenaar
d21e5bde7c 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.
2022-06-27 22:52:43 +01:00
Bram Moolenaar
944cc9ceba patch 8.2.5170: tiny issues
Problem:    Tiny issues.
Solution:   Tiny improvements.
2022-06-27 22:17:37 +01:00
Bram Moolenaar
79481367a4 patch 8.2.5169: nested :source may use NULL pointer
Problem:    Nested :source may use NULL pointer.
Solution:   Do not use the NULL pointer.
2022-06-27 20:15:10 +01:00
Zdenek Dohnal
fee511c1d3 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)
2022-06-27 13:59:00 +01:00
Bram Moolenaar
1ae8c262df 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.
2022-06-27 11:45:52 +01:00
Bram Moolenaar
f65cc665fa patch 8.2.5166: test for DiffUpdated fails
Problem:    Test for DiffUpdated fails.
Solution:   Also accept a count of two.
2022-06-26 18:17:50 +01:00
Bram Moolenaar
507618702e patch 8.2.5165: import test fails because 'diffexpr' isn't reset
Problem:    Import test fails because 'diffexpr' isn't reset.
Solution:   Reset 'diffexpr'.
2022-06-26 18:01:00 +01:00
Bram Moolenaar
c101abff4c 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.
2022-06-26 16:53:34 +01:00
Bram Moolenaar
cd38bb4d83 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.
2022-06-26 14:04:07 +01:00
Bram Moolenaar
0971c7a4e5 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.
2022-06-26 12:59:02 +01:00
Bram Moolenaar
0fbc9260a7 patch 8.2.5161: might still access invalid memory
Problem:    Might still access invalid memory.
Solution:   Add extra check for negative value.
2022-06-26 11:17:10 +01:00
Bram Moolenaar
e178af5a58 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.
2022-06-25 19:54:09 +01:00
Bram Moolenaar
7bb6d56cfc 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.
2022-06-25 13:48:25 +01:00
Bram Moolenaar
61e3784819 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)
2022-06-25 12:13:28 +01:00
LemonBoy
4e0fc89566 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)
2022-06-24 20:18:09 +01:00
Bram Moolenaar
e9b74c0361 patch 8.2.5156: search timeout test often fails with FreeBSD
Problem:    Search timeout test often fails with FreeBSD.
Solution:   Double the maximum time.
2022-06-24 20:11:59 +01:00
Bram Moolenaar
a315ce1f32 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'.
2022-06-24 12:38:57 +01:00
Bram Moolenaar
abd56da30b patch 8.2.5154: still mentioning version8, some cosmetic issues
Problem:    Still mentioning version8, some cosmetic issues.
Solution:   Prefer mentioning version9, cosmetic improvements.
2022-06-23 20:46:27 +01:00
towrang
1b096b0d4a 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)
2022-06-23 15:54:09 +01:00
zeertzjq
180246cfd1 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)
2022-06-23 12:04:46 +01:00
Bram Moolenaar
8eba2bd291 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.
2022-06-22 19:59:28 +01:00
Bram Moolenaar
f7c7c3fad6 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.
2022-06-22 19:08:38 +01:00
Bram Moolenaar
6689df024b patch 8.2.5149: cannot build without the +eval feature
Problem:    Cannot build without the +eval feature. (Tony Mechelynck)
Solution:   Add #ifdefs.
2022-06-22 18:14:29 +01:00
Bram Moolenaar
6046aded8d 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.
2022-06-22 13:51:54 +01:00
Bram Moolenaar
12a49408b3 patch 8.2.5147: flaky test always fails on retry
Problem:    Flaky test always fails on retry.
Solution:   Delete the created function.
2022-06-21 22:35:40 +01:00
Bram Moolenaar
44ddf19ec0 patch 8.2.5146: memory leak when substitute expression nests
Problem:    Memory leak when substitute expression nests.
Solution:   Use an array of expression results.
2022-06-21 22:15:25 +01:00
Bram Moolenaar
cf801d4b95 patch 8.2.5145: exit test causes spurious valgrind reports
Problem:    Exit test causes spurious valgrind reports.
Solution:   Skip test.  Add CheckNotValgrind.
2022-06-21 18:34:42 +01:00
Bram Moolenaar
c856ceb300 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)
2022-06-21 18:10:39 +01:00
Bram Moolenaar
37bb3b111d 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.
2022-06-21 17:40:47 +01:00
Bram Moolenaar
fa04eae5a5 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.
2022-06-21 14:38:40 +01:00
Bram Moolenaar
155f2d1451 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".
2022-06-20 13:38:33 +01:00
Bram Moolenaar
73171ba434 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.
2022-06-20 12:39:39 +01:00
Bram Moolenaar
300d718819 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.
2022-06-20 12:01:10 +01:00
Bram Moolenaar
8088ae95bb patch 8.2.5138: various small issues
Problem:    Various small issues.
Solution:   Various small improvments.
2022-06-20 11:38:17 +01:00
Bram Moolenaar
509ce03831 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)
2022-06-20 11:23:01 +01:00
Bram Moolenaar
e366ed4f2c 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.
2022-06-19 20:13:56 +01:00
Bram Moolenaar
0f0d3a7fb6 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.
2022-06-19 18:02:05 +01:00
Bram Moolenaar
3efd65c557 patch 8.2.5134: function has confusing name
Problem:    Function has confusing name.
Solution:   Rename tgetent_error() to invoke_tgetent().
2022-06-19 17:45:28 +01:00
Bram Moolenaar
1f68d992cd patch 8.2.5133: MacOS: build fails
Problem:    MacOS: build fails.
Solution:   Remove "#if 0" from timer_delete().
2022-06-19 17:22:49 +01:00
James McCoy
c829faa821 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)
2022-06-19 17:16:18 +01:00
Bram Moolenaar
e530395c2c 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)
2022-06-19 17:05:47 +01:00
Bram Moolenaar
c5382b667a 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.
2022-06-19 15:22:36 +01:00
Bram Moolenaar
1f30caff8b 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.
2022-06-19 14:36:35 +01:00
Bram Moolenaar
6f0cf62df9 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)
2022-06-19 12:27:45 +01:00
zeertzjq
cdc6a43559 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)
2022-06-19 11:45:46 +01:00
Bram Moolenaar
d6211a52ab patch 8.2.5126: substitute may overrun destination buffer
Problem:    Substitute may overrun destination buffer.
Solution:   Disallow switching buffers in a substitute expression.
2022-06-18 19:48:14 +01:00
Yasuhiro Matsumoto
09f68a5e78 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.
2022-06-18 16:48:36 +01:00
Bram Moolenaar
620aa8eb5b 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().
2022-06-18 16:05:32 +01:00
Bram Moolenaar
156d391195 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.
2022-06-18 14:09:08 +01:00
Bram Moolenaar
0e8e938d49 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.
2022-06-18 12:51:11 +01:00