Bram Moolenaar
b5912e0643
patch 8.2.5048: when using XIM the gui test may fail
...
Problem: When using XIM the gui test may fail.
Solution: Only use --not-a-term when not using XIM.
2022-05-31 17:03:14 +01:00
Bram Moolenaar
368137aa52
patch 8.2.5047: CurSearch highlight is often wrong
...
Problem: CurSearch highlight is often wrong.
Solution: Remember the last highlighted position and redraw when needed.
2022-05-31 13:43:12 +01:00
Bram Moolenaar
4aaf3e7f4d
patch 8.2.5046: vim_regsub() can overwrite the destination
...
Problem: vim_regsub() can overwrite the destination.
Solution: Pass the destination length, give an error when it doesn't fit.
2022-05-30 20:58:55 +01:00
Bram Moolenaar
10db31f949
patch 8.2.5045: can escape a terminal popup window when the job is finished
...
Problem: Can escape a terminal popup window when the job is finished.
Solution: Only check for a finished job where it is relevant.
(closes #10253 )
2022-05-30 17:58:03 +01:00
Bram Moolenaar
be99042b03
patch 8.2.5044: command line test fails
...
Problem: Command line test fails.
Solution: Also beep when cmdline win can't be opened because of locks.
Make the test not beep. Make the test pass on MS-Windows.
2022-05-30 16:01:42 +01:00
Bram Moolenaar
71223e2db8
patch 8.2.5043: can open a cmdline window from a substitute expression
...
Problem: Can open a cmdline window from a substitute expression.
Solution: Disallow opening a command line window when text or buffer is
locked.
2022-05-30 15:23:09 +01:00
Bram Moolenaar
89b25585cc
patch 8.2.5042: scrollbar thumb in tall scrolled popup not visible
...
Problem: Scrollbar thumb in tall scrolled popup not visible.
Solution: Show at least one thumb character. (fixes 10492)
2022-05-30 13:20:56 +01:00
Bram Moolenaar
9e636b9d2e
patch 8.2.5041: cannot close a terminal popup with "NONE" job
...
Problem: Cannot close a terminal popup with "NONE" job.
Solution: Adjust the conditions for whether a job is running.
(closes #10498 )
2022-05-29 22:37:05 +01:00
Bram Moolenaar
fc376e0b1a
patch 8.2.5040: scrollbar thumb in scrolled popup not visible
...
Problem: Scrollbar thumb in scrolled popup not visible.
Solution: Show at least one thumb character. (fixes 10492)
2022-05-29 18:18:18 +01:00
Bram Moolenaar
83bd7a9740
patch 8.2.5039: confusing error if first argument of popup_create() is wrong
...
Problem: Confusing error if first argument of popup_create() is wrong.
Solution: Give a more informative error.
2022-05-29 17:13:24 +01:00
Bram Moolenaar
d28950f954
patch 8.2.5038: a finished terminal in a popup window does not show scrollbar
...
Problem: A finished terminal in a popup window does not show a scrollbar.
Solution: Show the scrollbar if the terminal job is finished. (closes
#10497 )
2022-05-29 14:13:04 +01:00
Bram Moolenaar
4d97a565ae
patch 8.2.5037: cursor position may be invalid after "0;" range
...
Problem: Cursor position may be invalid after "0;" range.
Solution: Check the cursor position when it was set by ";" in the range.
2022-05-28 14:25:35 +01:00
Bram Moolenaar
305abc6123
patch 8.2.5036: using two counters for timeout check in NFA engine
...
Problem: Using two counters for timeout check in NFA engine.
Solution: Use only one counter. Tune the counts based on guessing.
2022-05-28 11:08:40 +01:00
zeertzjq
e6f13b473c
patch 8.2.5035: when splitting a window the changelist position moves
...
Problem: When splitting a window the changelist position moves.
Solution: Set the changelist index a bit later. (closes #10493 )
2022-05-28 10:49:44 +01:00
Bram Moolenaar
5a6ec10cc8
patch 8.2.5034: there is no way to get the byte index from a virtual column
...
Problem: There is no way to get the byte index from a virtual column.
Solution: Add virtcol2col(). (Yegappan Lakshmanan, closes #10477 ,
closes #10098 )
2022-05-27 21:58:00 +01:00
Bram Moolenaar
968443efb5
patch 8.2.5033: build error with +eval but without +quickfix
...
Problem: Build error with +eval but without +quickfix. Warning for
uninitialized variable.
Solution: Adjust #ifdefs. (John Marriott)
2022-05-27 21:16:34 +01:00
Bram Moolenaar
ddf5312929
patch 8.2.5032: Python 3 test fails without the GUI
...
Problem: Python 3 test fails without the GUI.
Solution: Check the balloon_eval feature is available.
2022-05-27 20:23:20 +01:00
Bram Moolenaar
76381a5b4f
patch 8.2.5031: cannot easily run the benchmarks
...
Problem: Cannot easily run the benchmarks.
Solution: Have "make benchmark" in the src directory work.
2022-05-27 20:13:28 +01:00
Yegappan Lakshmanan
e0ff3a7de6
patch 8.2.5030: autocmd_add() can only handle one event and pattern
...
Problem: autocmd_add() can only handle one event and pattern.
Solution: Support a list of events and patterns. (Yegappan Lakshmanan,
closes #10483 )
2022-05-27 18:05:33 +01:00
zeertzjq
cfe456543e
patch 8.2.5029: "textlock" is always zero
...
Problem: "textlock" is always zero.
Solution: Remove "textlock" and rename "textwinlock" to "textlock".
(closes #10489 )
2022-05-27 17:26:55 +01:00
Bram Moolenaar
02e8d4e4ff
patch 8.2.5028: syntax regexp matching can be slow
...
Problem: Syntax regexp matching can be slow.
Solution: Adjust the counters for checking the timeout to check about once
per msec. (closes #10487 , closes #2712 )
2022-05-27 15:35:28 +01:00
Bram Moolenaar
bf79a4e48d
patch 8.2.5027: error for missing :endif when an exception was thrown
...
Problem: Error for missing :endif when an exception was thrown. (Dani
Dickstein)
Solution: Do not give an error when aborting. (closes #10490 )
2022-05-27 13:52:08 +01:00
Bram Moolenaar
31d9948e3a
patch 8.2.5026: Vim9: a few lines not covered by tests
...
Problem: Vim9: a few lines not covered by tests.
Solution: Delete dead code. Add a few test cases. make "12->func()" work.
2022-05-26 22:24:43 +01:00
Bram Moolenaar
5cb53b7afe
patch 8.2.5025: Vim9: a few lines not covered by tests
...
Problem: Vim9: a few lines not covered by tests.
Solution: Add a few tests.
2022-05-26 19:54:05 +01:00
Bram Moolenaar
e2fa213cf5
patch 8.2.5024: using freed memory with "]d"
...
Problem: Using freed memory with "]d".
Solution: Copy the pattern before searching.
2022-05-26 16:32:44 +01:00
Bram Moolenaar
338f1fc0ee
patch 8.2.5023: substitute overwrites allocated buffer
...
Problem: Substitute overwrites allocated buffer.
Solution: Disallow undo when in a substitute command.
2022-05-26 15:56:23 +01:00
LemonBoy
9bcb9ca9c7
patch 8.2.5022: 'completefunc'/'omnifunc' error does not end completion
...
Problem: 'completefunc'/'omnifunc' error does not end completion.
Solution: Check if there was an error or exception. (closes #10486 ,
closes #4218 )
2022-05-26 15:23:26 +01:00
Bram Moolenaar
30b9a41ad9
patch 8.2.5021: build fails with normal features and +terminal
...
Problem: Build fails with normal features and +terminal. (Dominique Pellé)
Solution: Add #ifdefs. (closes #10484 )
2022-05-26 14:06:37 +01:00
Milly
c7e54efe4d
patch 8.2.5020: using 'imstatusfunc' and 'imactivatefunc' breaks 'foldopen'
...
Problem: Using 'imstatusfunc' and 'imactivatefunc' breaks 'foldopen'.
Solution: Save and restore the KeyTyped flag. (closes #10479 )
2022-05-26 13:16:25 +01:00
LemonBoy
0f7a3e1de6
patch 8.2.5019: cannot get the first screen column of a character
...
Problem: Cannot get the first screen column of a character.
Solution: Let virtcol() optionally return a list. (closes #10482 ,
closes #7964 )
2022-05-26 12:10:37 +01:00
Bram Moolenaar
c3caa7f788
patch 8.2.5018: Vim9: some code is not covered by tests
...
Problem: Vim9: some code is not covered by tests.
Solution: Delete dead code.
2022-05-25 19:15:10 +01:00
mityu
8be36eecdc
patch 8.2.5017: gcc 12.1 warns for uninitialized variable
...
Problem: Gcc 12.1 warns for uninitialized variable.
Solution: Initialize the variable. (closes #10476 )
2022-05-25 17:29:46 +01:00
Bram Moolenaar
2a585c8501
patch 8.2.5016: access before start of text with a put command
...
Problem: Access before start of text with a put command.
Solution: Check the length is more than zero.
2022-05-25 15:15:38 +01:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
bf82df0dd4
patch 8.2.5015: Hoon and Moonscript files are not recognized
...
Problem: Hoon and Moonscript files are not recognized.
Solution: Add filetype patterns. (Goc Dundar, closes #10478 )
2022-05-25 12:42:08 +01:00
Paul Ollis
4c3d21acaa
patch 8.2.5014: byte offsets are wrong when using text properties
...
Problem: Byte offsets are wrong when using text properties.
Solution: Make sure text properties do not affect the byte counts.
(Paul Ollis, closes #10474 )
2022-05-24 21:26:37 +01:00
Bram Moolenaar
78d52883e1
patch 8.2.5013: after text formatting cursor may be in an invalid position
...
Problem: After text formatting the cursor may be in an invalid position.
Solution: Correct the cursor position after formatting.
2022-05-24 13:57:54 +01:00
LemonBoy
53737b5eee
patch 8.2.5012: cannot select one character inside ()
...
Problem: Cannot select one character inside ().
Solution: Do not try to extend the area if it is empty. (closes #10472 ,
closes #6616 )
2022-05-24 11:49:31 +01:00
Yegappan Lakshmanan
971f6825ee
patch 8.2.5011: Replacing an autocommand requires several lines
...
Problem: Replacing an autocommand requires several lines.
Solution: Add the "replace" flag to autocmd_add(). (Yegappan Lakshmanan,
closes #10473 )
2022-05-24 11:40:11 +01:00
Bram Moolenaar
c9a431c763
patch 8.2.5010: the terminal debugger uses various global variables
...
Problem: The terminal debugger uses various global variables.
Solution: Add a dictionary to hold the terminal debugger preferences.
2022-05-23 21:49:41 +01:00
Brandon Simmons
e8c4a64bff
patch 8.2.5009: fold may not be closeable after appending
...
Problem: Fold may not be closeable after appending.
Solution: Set the fd_small flag to MAYBE. (Brandon Simmons, closes #10471 )
2022-05-23 15:33:08 +01:00
Bram Moolenaar
7e66778815
patch 8.2.5008: when 'formatoptions' contains "/" wrongly wrapping comment
...
Problem: When 'formatoptions' contains "/" wrongly wrapping a long trailing
comment.
Solution: Pass the OPENLINE_FORMAT flag.
2022-05-23 13:10:48 +01:00
Bram Moolenaar
6d24b4ff69
patch 8.2.5007: spell suggestion may use uninitialized memory
...
Problem: Spell suggestion may use uninitialized memory. (Zdenek Dohnal)
Solution: Avoid going over the end of the word.
2022-05-23 12:01:50 +01:00
Bram Moolenaar
68e64d2c17
patch 8.2.5006: asan warns for undefined behavior
...
Problem: Asan warns for undefined behavior.
Solution: Cast the shifted value to unsigned.
2022-05-22 22:07:52 +01:00
Bram Moolenaar
5b529230f1
patch 8.2.5005: compiler warning for uninitialized variable
...
Problem: Compiler warning for uninitialized variable. (John Marriott)
Solution: Initialize the pointer to NULL.
2022-05-22 21:53:26 +01:00
Bram Moolenaar
338bf58eba
patch 8.2.5004: right shift on negative number does not work as documented
...
Problem: Right shift on negative number does not work as documented.
Solution: Use a uvarnumber_T type cast.
2022-05-22 20:16:32 +01:00
Yegappan Lakshmanan
a061f34191
patch 8.2.5003: cannot do bitwise shifts
...
Problem: Cannot do bitwise shifts.
Solution: Add the >> and << operators. (Yegappan Lakshmanan, closes #8457 )
2022-05-22 19:13:49 +01:00
LemonBoy
9b2edfd3bf
patch 8.2.5002: deletebufline() may change Visual selection
...
Problem: deletebufline() may change Visual selection.
Solution: Disable Visual mode when using another buffer. (closes #10469 )
2022-05-22 15:35:53 +01:00
Bram Moolenaar
8a3704723c
patch 8.2.5001: checking translations affects the search pattern history
...
Problem: Checking translations affects the search pattern history.
Solution: Use "keeppatterns". (Doug Kearns)
2022-05-22 15:28:31 +01:00
Bram Moolenaar
835ee980ee
patch 8.2.5000: no patch for documentation updates
...
Problem: No patch for documentation updates.
Solution: Update documentation files.
2022-05-22 14:50:16 +01:00
Bram Moolenaar
aa9729b652
patch 8.2.4999: filetype test table is not properly sorted
...
Problem: Filetype test table is not properly sorted.
Solution: Sort by filetype. (Doug Kearns)
2022-05-22 14:26:54 +01:00