Bram Moolenaar
3bcd0ddc2d
patch 9.0.0561: when a test gets stuck it just hangs forever
...
Problem: When a test gets stuck it just hangs forever.
Solution: Set a timeout of 30 seconds.
2022-09-23 20:25:55 +01:00
Bram Moolenaar
b9093d5009
patch 9.0.0560: elapsed time since testing started is not visible
...
Problem: Elapsed time since testing started is not visible.
Solution: Show the elapsed time while running tests.
2022-09-23 19:42:31 +01:00
Bram Moolenaar
4ecf16bbf9
patch 9.0.0559: timer test may get stuck at hit-enter prompt
...
Problem: Timer test may get stuck at hit-enter prompt.
Solution: Feed some more characters.
2022-09-23 18:22:21 +01:00
Bram Moolenaar
7f9a5a68fe
patch 9.0.0558: Coverity warns for possibly using NULL pointer
...
Problem: Coverity warns for possibly using NULL pointer.
Solution: Only use "evalarg" when not NULL.
2022-09-23 16:37:18 +01:00
Bram Moolenaar
259a741044
patch 9.0.0557: valgrind reports possibly leaked memory
...
Problem: Valgrind reports possibly leaked memory.
Solution: Move the problematic test function to the "fails" test file to
avoid obscuring real memory leaks.
2022-09-23 16:11:37 +01:00
Bram Moolenaar
86fb3f8b99
patch 9.0.0556: leaking memory with nested functions
...
Problem: Leaking memory with nested functions.
Solution: Free saved pointer.
2022-09-23 13:27:57 +01:00
Luuk van Baal
20e58561ab
patch 9.0.0555: scrolling with 'nosplitscroll' in callback changing curwin
...
Problem: Scrolling with 'nosplitscroll' in callback changing curwin.
Solution: Invalidate w_cline_row in the right place. (Luuk van Baal,
closes #11185 )
2022-09-23 12:57:09 +01:00
Bram Moolenaar
f8addf1ca1
patch 9.0.0554: using freed memory when command follows lambda
...
Problem: Using freed memory when command follows lambda.
Solution: Don't free what is still in use. (closes #11201 )
2022-09-23 12:44:25 +01:00
Bram Moolenaar
f5f4e85f01
patch 9.0.0553: no error for "|" after "{" in lamda
...
Problem: No error for "|" after "{" in lamda.
Solution: Check for invalid "|". (closes #11199 )
2022-09-22 22:03:14 +01:00
Bram Moolenaar
69082916c8
patch 9.0.0552: crash when using NUL in buffer that uses :source
...
Problem: Crash when using NUL in buffer that uses :source.
Solution: Don't get a next line when skipping over NL.
2022-09-22 21:35:19 +01:00
Bram Moolenaar
f87eeb43fb
patch 9.0.0551: mode message is delayed when :echowin was used
...
Problem: Mode message is delayed when :echowin was used. (Maxim Kim)
Solution: Save and restore msg_didout in :echowin. (closes #11193 )
2022-09-22 19:02:38 +01:00
zeertzjq
62de54b48d
patch 9.0.0550: crash when closing a tabpage and buffer is NULL
...
Problem: Crash when closing a tabpage and buffer is NULL.
Solution: Adjust how autocommands are triggered when closing a window.
(closes #11198 , closes #11197 )
2022-09-22 18:08:37 +01:00
Bram Moolenaar
5800c79838
patch 9.0.0549: duplicated code in calling a :def function
...
Problem: Duplicated code in calling a :def function.
Solution: Simplify the code.
2022-09-22 17:34:01 +01:00
Bram Moolenaar
f1c60d4bf1
patch 9.0.0548: reduce() with a compiled lambda could be faster
...
Problem: reduce() with a compiled lambda could be faster.
Solution: Call eval_expr_typval() instead of call_func() directly.
2022-09-22 17:07:00 +01:00
Bram Moolenaar
6d313bec53
patch 9.0.0547: looping over empty out_loop[] entries
...
Problem: Looping over empty out_loop[] entries.
Solution: Store the array size.
2022-09-22 16:36:25 +01:00
K.Takata
236ccbf6f8
patch 9.0.0546: supporting Ruby 1.8 makes code complicated
...
Problem: Supporting Ruby 1.8 makes code complicated.
Solution: Drop Ruby 1.8 support, it is ancient. (Ken Takata, closes #11195 )
2022-09-22 16:12:06 +01:00
Bram Moolenaar
daaa3d9965
patch 9.0.0545: when a test is slow and CI times out there is no time info
...
Problem: When a test is slow and CI times out there is no time info.
Solution: Add the elapsed time to the "Executing" message.
2022-09-22 15:13:00 +01:00
zeertzjq
fcba86c031
patch 9.0.0544: minor issues with setting a string option
...
Problem: Minor issues with setting a string option.
Solution: Adjust the code, add a test. (closes #11192 )
2022-09-22 13:57:32 +01:00
Yegappan Lakshmanan
e24b5e0b0f
patch 9.0.0543: insufficient testing for assert and test functions
...
Problem: Insufficient testing for assert and test functions.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #11190 )
2022-09-22 13:44:00 +01:00
Bram Moolenaar
f1d2ddcb9b
patch 9.0.0542: MSVC build still has support for 2012 edition
...
Problem: MSVC build still has support for 2012 edition.
Solution: Drop MSVC 2012 support. (Ken Takata, closes #11191 )
2022-09-22 13:17:30 +01:00
Bram Moolenaar
ee7c8d999b
patch 9.0.0541: terminal pwd test fails with a very long path name
...
Problem: Terminal pwd test fails with a very long path name.
Solution: Join two lines.
2022-09-22 12:57:06 +01:00
Bram Moolenaar
6f98114e4a
patch 9.0.0540: assigning stack variable to argument confuses Coverity
...
Problem: Assigning stack variable to argument confuses Coverity.
Solution: Use a local pointer, also makes the code simpler.
2022-09-22 12:48:58 +01:00
Bram Moolenaar
21d393a12b
patch 9.0.0539: long message test can be flaky
...
Problem: Long message test can be flaky.
Solution: Wait for more prompt instead of ruler.
2022-09-22 12:01:34 +01:00
Bram Moolenaar
5c645a25bb
patch 9.0.0538: manually deleting test temp files
...
Problem: Manually deleting test temp files.
Solution: Add the 'D' flag to writefile().
2022-09-21 22:00:03 +01:00
Bram Moolenaar
4740394f23
patch 9.0.0537: the do_set() function is much too long
...
Problem: The do_set() function is much too long.
Solution: Move setting of a string option to a separate function.
2022-09-21 21:12:53 +01:00
Philip H
6a434e93a9
patch 9.0.0536: CI: codecov action update available
...
Problem: CI: codecov action update available.
Solution: Update Codecov 3.1.0 to 3.3.1. (closes #11188 )
2022-09-21 19:41:54 +01:00
Bram Moolenaar
e8e369a796
patch 9.0.0535: closure gets wrong value in for loop with two loop variables
...
Problem: Closure gets wrong value in for loop with two loop variables.
Solution: Correctly compute the number of loop variables to clear.
2022-09-21 18:59:14 +01:00
Bram Moolenaar
ec5e1483eb
patch 9.0.0534: line number is displayed at virtual text "above"
...
Problem: Line number is displayed at virtual text "above".
Solution: Show the line number at the text line.
2022-09-21 16:38:13 +01:00
Bram Moolenaar
e49f9acecc
patch 9.0.0533: the win_line() function is much too long
...
Problem: The win_line() function is much too long.
Solution: Move code to separate functions.
2022-09-21 15:41:28 +01:00
Bram Moolenaar
14f91765c0
patch 9.0.0532: edit test is flaky when run under valgrind
...
Problem: Edit test is flaky when run under valgrind.
Solution: Send some text to the terminal to trigger a redraw.
2022-09-21 15:13:52 +01:00
Bram Moolenaar
c20a41972c
patch 9.0.0531: the win_line() function is much too long
...
Problem: The win_line() function is much too long.
Solution: Move code to separate functions.
2022-09-21 14:34:28 +01:00
Bram Moolenaar
8ecfa2c56b
patch 9.0.0530: using freed memory when autocmd changes mark
...
Problem: Using freed memory when autocmd changes mark.
Solution: Copy the mark before editing another buffer.
2022-09-21 13:07:22 +01:00
K.Takata
8eaee1fa5c
patch 9.0.0529: appveyor setup contains outdated lines
...
Problem: Appveyor setup contains outdated lines.
Solution: Remove outdated lines. (Ken Takata, closes #11182 )
2022-09-21 12:19:44 +01:00
K.Takata
c3430cb583
patch 9.0.0528: MS-Windows: no batch files for more recent MSVC versions
...
Problem: MS-Windows: no batch files for more recent MSVC versions.
Solution: Add batch files for 2017, 2019 and 2022. (Ken Takata,
closes #11184 )
2022-09-21 11:56:41 +01:00
Bram Moolenaar
2b1ddf19f8
patch 9.0.0527: long sign text may overflow buffer
...
Problem: Long sign text may overflow buffer.
Solution: Use a larger buffer. Prevent for overflow.
2022-09-21 11:21:57 +01:00
K.Takata
f7c7aa3594
patch 9.0.0526: MS-Windows: still some support for XP and old compilers
...
Problem: MS-Windows: still some support for XP and old compilers.
Solution: Remove XP support and mention of old compilers. (Ken Takata,
closes #11183 )
2022-09-21 10:51:13 +01:00
Bram Moolenaar
5917341f65
patch 9.0.0525: manually deleting temp test files
...
Problem: Manually deleting temp test files.
Solution: Add the 'D' flag to writefile().
2022-09-20 22:01:33 +01:00
Bram Moolenaar
4cbdcbda2d
patch 9.0.0524: build instructions for MS-Windows are outdated
...
Problem: Build instructions for MS-Windows are outdated.
Solution: Remove instructions for old MSVC versions.
2022-09-20 21:23:12 +01:00
Bram Moolenaar
2d2e25b3e3
patch 9.0.0523: more compiler warnings for arguments in small version
...
Problem: more compiler warnings for arguments in small version
Solution: Adjust #ifdefs.
2022-09-20 21:09:42 +01:00
Bram Moolenaar
f64b75b1d9
patch 9.0.0522: build fails on Appveyor
...
Problem: Build fails on Appveyor.
Solution: Select Visual Studio 2015 for the build tools.
2022-09-20 20:52:33 +01:00
Bram Moolenaar
31724238c8
patch 9.0.0521: compiler warns for unused argument in small version
...
Problem: Compiler warns for unused argument in small version.
Solution: Add UNUSED.
2022-09-20 20:25:36 +01:00
Bram Moolenaar
848db57e52
patch 9.0.0520: declaring a loop variable at the start of a block is clumsy
...
Problem: Declaring a loop variable at the start of a block is clumsy.
Solution: Declare the variable inside the loop in a few places to see if
this works.
2022-09-20 19:04:32 +01:00
Bram Moolenaar
d7657e95b2
patch 9.0.0519: the win_line() function is much too long
...
Problem: The win_line() function is much too long.
Solution: Move the code to draw the line number to a separate function.
2022-09-20 18:59:30 +01:00
Bram Moolenaar
b84d565c62
patch 9.0.0518: virtual text highlight starts too early with 'nowrap'
...
Problem: Virtual text highlight starts too early with 'nowrap' and 'number'
set.
Solution: Add the offset to the attribute skip count. (issue #11138 )
2022-09-20 17:57:53 +01:00
zeertzjq
320d910064
patch 9.0.0517: when at the command line :redrawstatus does not work well
...
Problem: When at the command line :redrawstatus does not work well.
Solution: Only update the statuslines instead of the screen. (closes #11180 )
2022-09-20 17:12:13 +01:00
Bram Moolenaar
ccfaa07591
patch 9.0.0516: virtual text "above" highlights gap after it
...
Problem: Virtual text "above" highlights gap after it.
Solution: Do not highlight the gap. (closes #11138 )
2022-09-20 16:15:30 +01:00
Bram Moolenaar
2fdc9b5419
patch 9.0.0515: virtual text highlight starts too early when 'number' is set
...
Problem: Virtual text highlight starts too early when 'number' is set.
Solution: Set column offset when wrapping. (issue #11138 )
2022-09-20 15:59:22 +01:00
Bram Moolenaar
a22c56a59a
patch 9.0.0514: terminal test sometimes hangs
...
Problem: Terminal test sometimes hangs.
Solution: Add a bit more information to the test output. (issue #11179 )
2022-09-20 15:10:31 +01:00
Bram Moolenaar
9781d9c005
patch 9.0.0513: may not be able to use a pattern ad the debug prompt
...
Problem: May not be able to use a pattern ad the debug prompt.
Solution: Temporarily disable the timeout. (closes #11164 )
2022-09-20 13:51:25 +01:00
zeertzjq
c14bfc31d9
patch 9.0.0512: cannot redraw the status lines when editing a command
...
Problem: Cannot redraw the status lines when editing a command.
Solution: Only postpone the redraw when messages have scrolled.
(closes #11170 )
2022-09-20 13:17:57 +01:00