Bram Moolenaar
aca12fd89b
patch 8.2.5066: timer_create is not available on every Mac system
...
Problem: Timer_create is not available on every Mac system. (Hisashi T
Fujinaka)
Solution: Adjust #ifdef.
2022-06-07 10:16:15 +01:00
zeertzjq
3760bfddc4
patch 8.2.5064: no test for what 8.1.0052 fixes
...
Problem: No test for what 8.1.0052 fixes.
Solution: Add a test. (closes #10531 )
2022-06-06 16:22:46 +01:00
Bram Moolenaar
44a3f3353e
patch 8.2.5063: error for a command may go over the end of IObuff
...
Problem: Error for a command may go over the end of IObuff.
Solution: Truncate the message.
2022-06-06 15:38:21 +01:00
zeertzjq
e3a529bc87
patch 8.2.5058: input() does not handle composing characters properly
...
Problem: input() does not handle composing characters properly.
Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv().
(closes #10527 )
2022-06-05 19:01:37 +01:00
Paul Ollis
6574577cac
patch 8.2.5057: using gettimeofday() for timeout is very inefficient
...
Problem: Using gettimeofday() for timeout is very inefficient.
Solution: Set a platform dependent timer. (Paul Ollis, closes #10505 )
2022-06-05 16:55:54 +01:00
Mudskipper875
635f48010d
patch 8.2.5054: no good filetype for conf files similar to dosini
...
Problem: No good filetype for conf files similar to dosini.
Solution: Add the confini filetype. (closes #10510 )
2022-06-03 18:40:53 +01:00
Bram Moolenaar
75ebd2aab0
patch 8.2.5053: cannot have a comment halfway an expression in a block
...
Problem: Cannot have a comment halfway an expression in an autocmd command
block.
Solution: When skipping over the NL also skip over comments. (closes #10519 )
2022-06-03 17:39:46 +01:00
Bram Moolenaar
409510c588
patch 8.2.5050: using freed memory when searching for pattern in path
...
Problem: Using freed memory when searching for pattern in path.
Solution: Make a copy of the line.
2022-06-01 15:23:13 +01:00
Yegappan Lakshmanan
00e977cb83
patch 8.2.5049: insufficient tests for autocommands
...
Problem: Insufficient tests for autocommands.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #10507 )
2022-06-01 12:31:53 +01:00
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
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
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
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
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
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
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
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
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
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
Bram Moolenaar
bce69d65dd
patch 8.2.4998: Vim9: crash when using multiple funcref()
...
Problem: Vim9: crash when using multiple funcref().
Solution: Check if varargs type is NULL. (closes #10467 )
2022-05-22 13:45:52 +01:00
Bram Moolenaar
37233f6022
patch 8.2.4997: Python: changing hidden buffer can cause display mess up
...
Problem: Python: changing hidden buffer can cause the display to be messed
up.
Solution: Do not mark changed lines when using another buffer. (Paul Ollis,
closes #10437 , closes #7972 )
2022-05-22 12:23:48 +01:00
Bram Moolenaar
0ad00a7fd3
patch 8.2.4996: setbufline() may change Visual selection
...
Problem: setbufline() may change Visual selection. (Qiming Zhao)
Solution: Disable Visual mode when using another buffer. (closes #10466 )
2022-05-22 11:59:25 +01:00