]> granicus.if.org Git - vim/log
vim
2 years agopatch 9.0.0549: duplicated code in calling a :def function v9.0.0549
Bram Moolenaar [Thu, 22 Sep 2022 16:34:01 +0000 (17:34 +0100)]
patch 9.0.0549: duplicated code in calling a :def function

Problem:    Duplicated code in calling a :def function.
Solution:   Simplify the code.

2 years agopatch 9.0.0548: reduce() with a compiled lambda could be faster v9.0.0548
Bram Moolenaar [Thu, 22 Sep 2022 16:07:00 +0000 (17:07 +0100)]
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.

2 years agopatch 9.0.0547: looping over empty out_loop[] entries v9.0.0547
Bram Moolenaar [Thu, 22 Sep 2022 15:36:25 +0000 (16:36 +0100)]
patch 9.0.0547: looping over empty out_loop[] entries

Problem:    Looping over empty out_loop[] entries.
Solution:   Store the array size.

2 years agopatch 9.0.0546: supporting Ruby 1.8 makes code complicated v9.0.0546
K.Takata [Thu, 22 Sep 2022 15:12:06 +0000 (16:12 +0100)]
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)

2 years agopatch 9.0.0545: when a test is slow and CI times out there is no time info v9.0.0545
Bram Moolenaar [Thu, 22 Sep 2022 14:13:00 +0000 (15:13 +0100)]
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.

2 years agopatch 9.0.0544: minor issues with setting a string option v9.0.0544
zeertzjq [Thu, 22 Sep 2022 12:57:32 +0000 (13:57 +0100)]
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)

2 years agopatch 9.0.0543: insufficient testing for assert and test functions v9.0.0543
Yegappan Lakshmanan [Thu, 22 Sep 2022 12:44:00 +0000 (13:44 +0100)]
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)

2 years agopatch 9.0.0542: MSVC build still has support for 2012 edition v9.0.0542
Bram Moolenaar [Thu, 22 Sep 2022 12:17:30 +0000 (13:17 +0100)]
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)

2 years agopatch 9.0.0541: terminal pwd test fails with a very long path name v9.0.0541
Bram Moolenaar [Thu, 22 Sep 2022 11:57:06 +0000 (12:57 +0100)]
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.

2 years agopatch 9.0.0540: assigning stack variable to argument confuses Coverity v9.0.0540
Bram Moolenaar [Thu, 22 Sep 2022 11:48:58 +0000 (12:48 +0100)]
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.

2 years agopatch 9.0.0539: long message test can be flaky v9.0.0539
Bram Moolenaar [Thu, 22 Sep 2022 11:01:34 +0000 (12:01 +0100)]
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.

2 years agopatch 9.0.0538: manually deleting test temp files v9.0.0538
Bram Moolenaar [Wed, 21 Sep 2022 21:00:03 +0000 (22:00 +0100)]
patch 9.0.0538: manually deleting test temp files

Problem:    Manually deleting test temp files.
Solution:   Add the 'D' flag to writefile().

2 years agopatch 9.0.0537: the do_set() function is much too long v9.0.0537
Bram Moolenaar [Wed, 21 Sep 2022 20:12:53 +0000 (21:12 +0100)]
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.

2 years agopatch 9.0.0536: CI: codecov action update available v9.0.0536
Philip H [Wed, 21 Sep 2022 18:41:54 +0000 (19:41 +0100)]
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)

2 years agopatch 9.0.0535: closure gets wrong value in for loop with two loop variables v9.0.0535
Bram Moolenaar [Wed, 21 Sep 2022 17:59:14 +0000 (18:59 +0100)]
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.

2 years agopatch 9.0.0534: line number is displayed at virtual text "above" v9.0.0534
Bram Moolenaar [Wed, 21 Sep 2022 15:38:13 +0000 (16:38 +0100)]
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.

2 years agopatch 9.0.0533: the win_line() function is much too long v9.0.0533
Bram Moolenaar [Wed, 21 Sep 2022 14:41:28 +0000 (15:41 +0100)]
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.

2 years agopatch 9.0.0532: edit test is flaky when run under valgrind v9.0.0532
Bram Moolenaar [Wed, 21 Sep 2022 14:13:52 +0000 (15:13 +0100)]
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.

2 years agopatch 9.0.0531: the win_line() function is much too long v9.0.0531
Bram Moolenaar [Wed, 21 Sep 2022 13:34:28 +0000 (14:34 +0100)]
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.

2 years agopatch 9.0.0530: using freed memory when autocmd changes mark v9.0.0530
Bram Moolenaar [Wed, 21 Sep 2022 12:07:22 +0000 (13:07 +0100)]
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.

2 years agopatch 9.0.0529: appveyor setup contains outdated lines v9.0.0529
K.Takata [Wed, 21 Sep 2022 11:19:44 +0000 (12:19 +0100)]
patch 9.0.0529: appveyor setup contains outdated lines

Problem:    Appveyor setup contains outdated lines.
Solution:   Remove outdated lines. (Ken Takata, closes #11182)

2 years agopatch 9.0.0528: MS-Windows: no batch files for more recent MSVC versions v9.0.0528
K.Takata [Wed, 21 Sep 2022 10:56:41 +0000 (11:56 +0100)]
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)

2 years agopatch 9.0.0527: long sign text may overflow buffer v9.0.0527
Bram Moolenaar [Wed, 21 Sep 2022 10:21:57 +0000 (11:21 +0100)]
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.

2 years agopatch 9.0.0526: MS-Windows: still some support for XP and old compilers v9.0.0526
K.Takata [Wed, 21 Sep 2022 09:51:13 +0000 (10:51 +0100)]
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)

2 years agopatch 9.0.0525: manually deleting temp test files v9.0.0525
Bram Moolenaar [Tue, 20 Sep 2022 21:01:33 +0000 (22:01 +0100)]
patch 9.0.0525: manually deleting temp test files

Problem:    Manually deleting temp test files.
Solution:   Add the 'D' flag to writefile().

2 years agopatch 9.0.0524: build instructions for MS-Windows are outdated v9.0.0524
Bram Moolenaar [Tue, 20 Sep 2022 20:23:12 +0000 (21:23 +0100)]
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.

2 years agopatch 9.0.0523: more compiler warnings for arguments in small version v9.0.0523
Bram Moolenaar [Tue, 20 Sep 2022 20:09:42 +0000 (21:09 +0100)]
patch 9.0.0523: more compiler warnings for arguments in small version

Problem:    more compiler warnings for arguments in small version
Solution:   Adjust #ifdefs.

2 years agopatch 9.0.0522: build fails on Appveyor v9.0.0522
Bram Moolenaar [Tue, 20 Sep 2022 19:52:33 +0000 (20:52 +0100)]
patch 9.0.0522: build fails on Appveyor

Problem:    Build fails on Appveyor.
Solution:   Select Visual Studio 2015 for the build tools.

2 years agopatch 9.0.0521: compiler warns for unused argument in small version v9.0.0521
Bram Moolenaar [Tue, 20 Sep 2022 19:25:36 +0000 (20:25 +0100)]
patch 9.0.0521: compiler warns for unused argument in small version

Problem:    Compiler warns for unused argument in small version.
Solution:   Add UNUSED.

2 years agopatch 9.0.0520: declaring a loop variable at the start of a block is clumsy v9.0.0520
Bram Moolenaar [Tue, 20 Sep 2022 18:04:32 +0000 (19:04 +0100)]
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.

2 years agopatch 9.0.0519: the win_line() function is much too long v9.0.0519
Bram Moolenaar [Tue, 20 Sep 2022 17:59:30 +0000 (18:59 +0100)]
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.

2 years agopatch 9.0.0518: virtual text highlight starts too early with 'nowrap' v9.0.0518
Bram Moolenaar [Tue, 20 Sep 2022 16:57:53 +0000 (17:57 +0100)]
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)

2 years agopatch 9.0.0517: when at the command line :redrawstatus does not work well v9.0.0517
zeertzjq [Tue, 20 Sep 2022 16:12:13 +0000 (17:12 +0100)]
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)

2 years agopatch 9.0.0516: virtual text "above" highlights gap after it v9.0.0516
Bram Moolenaar [Tue, 20 Sep 2022 15:15:30 +0000 (16:15 +0100)]
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)

2 years agopatch 9.0.0515: virtual text highlight starts too early when 'number' is set v9.0.0515
Bram Moolenaar [Tue, 20 Sep 2022 14:59:22 +0000 (15:59 +0100)]
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)

2 years agopatch 9.0.0514: terminal test sometimes hangs v9.0.0514
Bram Moolenaar [Tue, 20 Sep 2022 14:10:31 +0000 (15:10 +0100)]
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)

2 years agopatch 9.0.0513: may not be able to use a pattern ad the debug prompt v9.0.0513
Bram Moolenaar [Tue, 20 Sep 2022 12:51:25 +0000 (13:51 +0100)]
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)

2 years agopatch 9.0.0512: cannot redraw the status lines when editing a command v9.0.0512
zeertzjq [Tue, 20 Sep 2022 12:17:57 +0000 (13:17 +0100)]
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)

2 years agopatch 9.0.0511: unnecessary scrolling for message of only one line v9.0.0511
zeertzjq [Tue, 20 Sep 2022 11:45:15 +0000 (12:45 +0100)]
patch 9.0.0511: unnecessary scrolling for message of only one line

Problem:    Unnecessary scrolling for message of only one line.
Solution:   Only set msg_scroll when needed. (closes #11178)

2 years agopatch 9.0.0510: Chatito files are not recognized v9.0.0510
ObserverOfTime [Tue, 20 Sep 2022 11:02:28 +0000 (12:02 +0100)]
patch 9.0.0510: Chatito files are not recognized

Problem:    Chatito files are not recognized.
Solution:   Add a pattern for Chatito files. (closes #11174)

2 years agopatch 9.0.0509: confusing error for "saveas" command with "nofile" buffer v9.0.0509
Bram Moolenaar [Tue, 20 Sep 2022 10:49:10 +0000 (11:49 +0100)]
patch 9.0.0509: confusing error for "saveas" command with "nofile" buffer

Problem:    Confusing error for "saveas" command with "nofile" buffer.
Solution:   Give a clearer error message. (closes #11171)

2 years agopatch 9.0.0508: when the channel test fails there is no clue why v9.0.0508
K.Takata [Tue, 20 Sep 2022 10:04:47 +0000 (11:04 +0100)]
patch 9.0.0508: when the channel test fails there is no clue why

Problem:    When the channel test fails there is no clue why.
Solution:   Add info about the job status. (Ken Takata, closes #11175)

2 years agopatch 9.0.0507: cmdline cleared when using :redrawstatus in CmdlineChanged v9.0.0507
Bram Moolenaar [Mon, 19 Sep 2022 20:16:12 +0000 (21:16 +0100)]
patch 9.0.0507: cmdline cleared when using :redrawstatus in CmdlineChanged

Problem:    Command line cleared when using :redrawstatus in CmdlineChanged
            autocommand event.
Solution:   Postpone the redraw. (closes #11162)

2 years agopatch 9.0.0506: line number argument for :badd does not work v9.0.0506
Bram Moolenaar [Mon, 19 Sep 2022 17:20:08 +0000 (18:20 +0100)]
patch 9.0.0506: line number argument for :badd does not work

Problem:    Line number argument for :badd does not work.
Solution:   Set the last cursor position in the new buffer. (closes #11161)

2 years agopatch 9.0.0505: various problems with 'nosplitscroll' v9.0.0505
Luuk van Baal [Mon, 19 Sep 2022 15:45:29 +0000 (16:45 +0100)]
patch 9.0.0505: various problems with 'nosplitscroll'

Problem:    Various problems with 'nosplitscroll'.
Solution:   Fix 'nosplitscroll' problems. (Luuk van Baal, closes #11166)

2 years agopatch 9.0.0504: still a build failure v9.0.0504
Bram Moolenaar [Mon, 19 Sep 2022 15:08:04 +0000 (16:08 +0100)]
patch 9.0.0504: still a build failure

Problem:    still a Build failure.
Solution:   Add another missing changes.  Avoid compiler warning.

2 years agopatch 9.0.0503: build failure v9.0.0503
Bram Moolenaar [Mon, 19 Sep 2022 15:02:43 +0000 (16:02 +0100)]
patch 9.0.0503: build failure

Problem:    Build failure.
Solution:   Add missing changes.

2 years agopatch 9.0.0502: a closure in a nested loop in a :def function does not work v9.0.0502
Bram Moolenaar [Mon, 19 Sep 2022 14:54:34 +0000 (15:54 +0100)]
patch 9.0.0502: a closure in a nested loop in a :def function does not work

Problem:    A closure in a nested loop in a :def function does not work.
Solution:   Use an array of loopvars, one per loop level.

2 years agopatch 9.0.0501: warning for using uninitialized value in mouse test v9.0.0501
Bram Moolenaar [Mon, 19 Sep 2022 10:44:11 +0000 (11:44 +0100)]
patch 9.0.0501: warning for using uninitialized value in mouse test

Problem:    Warning for using uninitialized value in mouse test.
Solution:   Clear ScreenCols when allocating it. (Dominique PellĂ©)

2 years agopatch 9.0.0500: when quitting cmdline window with CTRL-C it remains visible v9.0.0500
Bram Moolenaar [Sun, 18 Sep 2022 14:08:19 +0000 (15:08 +0100)]
patch 9.0.0500: when quitting cmdline window with CTRL-C it remains visible

Problem:    When quitting the cmdline window with CTRL-C it remains visible.
Solution:   Redraw to avoid confusion. Adjust the error message.
            (closes #11152)  Adjust the cursor position after CTRL-C.

2 years agopatch 9.0.0499: in :def function list created after const is locked v9.0.0499
Bram Moolenaar [Sun, 18 Sep 2022 12:46:08 +0000 (13:46 +0100)]
patch 9.0.0499: in :def function list created after const is locked

Problem:    In :def function list created after const is locked.
Solution:   Reset v_lock. (closes #11154)

2 years agopatch 9.0.0498: various small issues v9.0.0498
Bram Moolenaar [Sun, 18 Sep 2022 12:06:41 +0000 (13:06 +0100)]
patch 9.0.0498: various small issues

Problem:    Various small issues.
Solution:   Various small fixes.

2 years agoUpdate runtime files
Bram Moolenaar [Sun, 18 Sep 2022 12:04:22 +0000 (13:04 +0100)]
Update runtime files

2 years agopatch 9.0.0497: LyRiCs files are not recognized v9.0.0497
ObserverOfTime [Sun, 18 Sep 2022 11:46:22 +0000 (12:46 +0100)]
patch 9.0.0497: LyRiCs files are not recognized

Problem:    LyRiCs files are not recognized.
Solution:   Add a pattern to detect LyRiCs files. (closes #11155)

2 years agopatch 9.0.0496: no good reason to keep supporting Windows-XP v9.0.0496
K.Takata [Sun, 18 Sep 2022 11:25:49 +0000 (12:25 +0100)]
patch 9.0.0496: no good reason to keep supporting Windows-XP

Problem:    No good reason to keep supporting Windows-XP.
Solution:   Drop Windows-XP support. (Ken Takata, closes #11089)

2 years agopatch 9.0.0495: closure doesn't work properly in nested loop v9.0.0495
Bram Moolenaar [Sun, 18 Sep 2022 11:00:21 +0000 (12:00 +0100)]
patch 9.0.0495: closure doesn't work properly in nested loop

Problem:    Closure doesn't work properly in nested loop.
Solution:   Save variables up to the outer loop.

2 years agopatch 9.0.0494: small build misses float function declaraitons v9.0.0494
Bram Moolenaar [Sat, 17 Sep 2022 20:57:43 +0000 (21:57 +0100)]
patch 9.0.0494: small build misses float function declaraitons

Problem:    Small build misses float function declaraitons.
Solution:   Adjust #ifdefs.

2 years agopatch 9.0.0493: Perl test fails v9.0.0493
Bram Moolenaar [Sat, 17 Sep 2022 20:24:49 +0000 (21:24 +0100)]
patch 9.0.0493: Perl test fails

Problem:    Perl test fails.
Solution:   Remove remaining FEAT_EVAL.

2 years agopatch 9.0.0492: cmdwin test fails on MS-Windows v9.0.0492
Bram Moolenaar [Sat, 17 Sep 2022 20:20:42 +0000 (21:20 +0100)]
patch 9.0.0492: cmdwin test fails on MS-Windows

Problem:    Cmdwin test fails on MS-Windows.
Solution:   Skip test on MS-Windows.

2 years agopatch 9.0.0491: no good reason to build without the float feature v9.0.0491
Bram Moolenaar [Sat, 17 Sep 2022 20:08:33 +0000 (21:08 +0100)]
patch 9.0.0491: no good reason to build without the float feature

Problem:    No good reason to build without the float feature.
Solution:   Remove configure check for float and "#ifdef FEAT_FLOAT".

2 years agopatch 9.0.0490: using freed memory with cmdwin and BufEnter autocmd v9.0.0490
Bram Moolenaar [Sat, 17 Sep 2022 18:43:23 +0000 (19:43 +0100)]
patch 9.0.0490: using freed memory with cmdwin and BufEnter autocmd

Problem:    Using freed memory with cmdwin and BufEnter autocmd.
Solution:   Make sure pointer to b_p_iminsert is still valid.

2 years agopatch 9.0.0489: using "end_lnum" with virtual text causes problems v9.0.0489
Bram Moolenaar [Sat, 17 Sep 2022 17:57:36 +0000 (18:57 +0100)]
patch 9.0.0489: using "end_lnum" with virtual text causes problems

Problem:    Using "end_lnum" with virtual text causes problems.
Solution:   Disallow using "end_lnum" with virtual text. (closes #11151)
            Also disallow "end_col" and "length".

2 years agopatch 9.0.0488: cursor wrong with virtual text "above" and 'showbreak' v9.0.0488
Bram Moolenaar [Sat, 17 Sep 2022 16:15:33 +0000 (17:15 +0100)]
patch 9.0.0488: cursor wrong with virtual text "above" and 'showbreak'

Problem:    Cursor in wrong position with virtual text "above" and
            'showbreak'.
Solution:   Take the first character column into account. (closes #11149)

2 years agopatch 9.0.0487: using freed memory with combination of closures v9.0.0487
Bram Moolenaar [Sat, 17 Sep 2022 15:27:39 +0000 (16:27 +0100)]
patch 9.0.0487: using freed memory with combination of closures

Problem:    Using freed memory with combination of closures.
Solution:   Do not use a partial after it has been freed through the
            funcstack.

2 years agopatch 9.0.0486: text scrolled with 'nosplitscroll', autocmd win and help v9.0.0486
Luuk van Baal [Sat, 17 Sep 2022 15:16:35 +0000 (16:16 +0100)]
patch 9.0.0486: text scrolled with 'nosplitscroll', autocmd win and help

Problem:    Text scrolled with 'nosplitscroll', autocmd win opened and help
            window closed.
Solution:   Skip win_fix_scroll() in more situations. (Luuk van Baal,
            closes #11150)

2 years agopatch 9.0.0485: in :def function all closures in loop get the same variables v9.0.0485
Bram Moolenaar [Sat, 17 Sep 2022 14:44:52 +0000 (15:44 +0100)]
patch 9.0.0485: in :def function all closures in loop get the same variables

Problem:    In a :def function all closures in a loop get the same variables.
Solution:   Make a copy of loop variables used in a closure.

2 years agopatch 9.0.0484: in :def function all closures in loop get the same variables v9.0.0484
Bram Moolenaar [Sat, 17 Sep 2022 11:39:58 +0000 (12:39 +0100)]
patch 9.0.0484: in :def function all closures in loop get the same variables

Problem:    In a :def function all closures in a loop get the same variables.
Solution:   Add ENDLOOP at break, continue and return if needed.

2 years agopatch 9.0.0483: illegal memory access when replacing in virtualedit mode v9.0.0483
Bram Moolenaar [Fri, 16 Sep 2022 21:16:59 +0000 (22:16 +0100)]
patch 9.0.0483: illegal memory access when replacing in virtualedit mode

Problem:    Illegal memory access when replacing in virtualedit mode.
Solution:   Check for replacing NUL after Tab.

2 years agopatch 9.0.0482: "g0" moves to wrong location with virtual text "above" v9.0.0482
Bram Moolenaar [Fri, 16 Sep 2022 19:51:14 +0000 (20:51 +0100)]
patch 9.0.0482: "g0" moves to wrong location with virtual text "above"

Problem:    "g0" moves to wrong location with virtual text "above".
Solution:   Compensate for the extra columns. (closes #11141)  Also fix "g$"

2 years agopatch 9.0.0481: in :def function all closures in loop get the same variables v9.0.0481
Bram Moolenaar [Fri, 16 Sep 2022 18:04:24 +0000 (19:04 +0100)]
patch 9.0.0481: in :def function all closures in loop get the same variables

Problem:    In a :def function all closures in a loop get the same variables.
Solution:   Use a separate list of variables for LOADOUTER and STOREOUTER.
            Not copied at end of loop yet.

2 years agopatch 9.0.0480: cannot use a :def varargs function with substitute() v9.0.0480
zeertzjq [Fri, 16 Sep 2022 15:06:32 +0000 (16:06 +0100)]
patch 9.0.0480: cannot use a :def varargs function with substitute()

Problem:    Cannot use a :def varargs function with substitute().
Solution:   Use has_varargs(). (closes #11146)

2 years agopatch 9.0.0479: in :def function all closures in loop get the same variables v9.0.0479
Bram Moolenaar [Fri, 16 Sep 2022 14:47:09 +0000 (15:47 +0100)]
patch 9.0.0479: in :def function all closures in loop get the same variables

Problem:    In a :def function all closures in a loop get the same variables.
Solution:   Use a separate list of variables for LOADOUTER and SAVEOUTER.

2 years agopatch 9.0.0478: test for 'splitscroll' takes too much time v9.0.0478
Luuk van Baal [Fri, 16 Sep 2022 11:52:58 +0000 (12:52 +0100)]
patch 9.0.0478: test for 'splitscroll' takes too much time

Problem:    Test for 'splitscroll' takes too much time.
Solution:   Only test some of the combinations. (Luuk van Baal, closes #11139)

2 years agopatch 9.0.0477: missing dependency may cause crashes on incomplete build v9.0.0477
Bram Moolenaar [Fri, 16 Sep 2022 11:28:34 +0000 (12:28 +0100)]
patch 9.0.0477: missing dependency may cause crashes on incomplete build

Problem:    Missing dependency may cause crashes on incomplete build.
Solution:   Add dependency.

2 years agopatch 9.0.0476: varargs does not work for replacement function of substitute() v9.0.0476
zeertzjq [Fri, 16 Sep 2022 11:10:03 +0000 (12:10 +0100)]
patch 9.0.0476: varargs does not work for replacement function of substitute()

Problem:    Varargs does not work for replacement function of substitute().
Solution:   Check the varargs flag of the function. (closes #11142)

2 years agopatch 9.0.0475: not using deferred delete in tests v9.0.0475
Bram Moolenaar [Thu, 15 Sep 2022 21:26:18 +0000 (22:26 +0100)]
patch 9.0.0475: not using deferred delete in tests

Problem:    Not using deferred delete in tests.
Solution:   Use deferred delete more often.

2 years agopatch 9.0.0474: fullcommand() test failure v9.0.0474
Bram Moolenaar [Thu, 15 Sep 2022 21:03:57 +0000 (22:03 +0100)]
patch 9.0.0474: fullcommand() test failure

Problem:    fullcommand() test failure.
Solution:   Update function table.

2 years agopatch 9.0.0473: fullcommand() only works for the current script version v9.0.0473
Bram Moolenaar [Thu, 15 Sep 2022 20:46:02 +0000 (21:46 +0100)]
patch 9.0.0473: fullcommand() only works for the current script version

Problem:    fullcommand() only works for the current script version.
Solution:   Add an optional argument for the script version.

2 years agopatch 9.0.0472: virtual text "below" doesn't show in list mode v9.0.0472
Bram Moolenaar [Thu, 15 Sep 2022 18:44:09 +0000 (19:44 +0100)]
patch 9.0.0472: virtual text "below" doesn't show in list mode

Problem:    Virtual text "below" doesn't show in list mode.
Solution:   Reset lcs_eol_one when displaying text property.

2 years agopatch 9.0.0471: no test for what patch 9.0.0469 fixes v9.0.0471
mityu [Thu, 15 Sep 2022 16:44:07 +0000 (17:44 +0100)]
patch 9.0.0471: no test for what patch 9.0.0469 fixes

Problem:    No test for what patch 9.0.0469 fixes.
Solution:   Add a test. (closes #11140)

2 years agopatch 9.0.0470: in :def function all closures in loop get the same variables v9.0.0470
Bram Moolenaar [Thu, 15 Sep 2022 16:19:37 +0000 (17:19 +0100)]
patch 9.0.0470: in :def function all closures in loop get the same variables

Problem:    In a :def function all closures in a loop get the same variables.
Solution:   When in a loop and a closure refers to a variable declared in the
            loop, prepare for making a copy of variables for each closure.

2 years agopatch 9.0.0469: cursor moves if cmdwin is closed when 'splitscroll' is off v9.0.0469
Luuk van Baal [Thu, 15 Sep 2022 11:43:26 +0000 (12:43 +0100)]
patch 9.0.0469: cursor moves if cmdwin is closed when 'splitscroll' is off

Problem:    Cursor moves if cmdwin is closed when 'splitscroll' is off.
Solution:   Skip win_fix_cursor if called when cmdwin is open or closing.
            (Luuk van Baal, closes #11134)

2 years agopatch 9.0.0468: exectution stack underflow without the +eval feature v9.0.0468
Bram Moolenaar [Thu, 15 Sep 2022 11:20:18 +0000 (12:20 +0100)]
patch 9.0.0468: exectution stack underflow without the +eval feature

Problem:    Exectution stack underflow without the +eval feature. (Dominique
            PellĂ©)
Solution:   Add to execution stack without FEAT_EVAL. (closes #11135)

2 years agopatch 9.0.0467: build failure v9.0.0467
Bram Moolenaar [Wed, 14 Sep 2022 21:30:59 +0000 (22:30 +0100)]
patch 9.0.0467: build failure

Problem:    Build failure.
Solution:   Add missing change.

2 years agopatch 9.0.0466: virtual text wrong after adding line break after line v9.0.0466
Bram Moolenaar [Wed, 14 Sep 2022 21:13:59 +0000 (22:13 +0100)]
patch 9.0.0466: virtual text wrong after adding line break after line

Problem:    Virtual text wrong after adding line break after line.
Solution:   Pass an "eol" flag to where text properties are adjusted.
            (closes #11131)

2 years agopatch 9.0.0465: cursor moves when cmdwin is closed when 'splitscroll' is off v9.0.0465
mityu [Wed, 14 Sep 2022 16:27:36 +0000 (17:27 +0100)]
patch 9.0.0465: cursor moves when cmdwin is closed when 'splitscroll' is off

Problem:    Cursor moves when cmdwin is closed when 'splitscroll' is off.
Solution:   Temporarily set 'splitscroll' when jumping back to the original
            window. (closes #11128)

2 years agopatch 9.0.0464: with virtual text "above" indenting doesn't work well v9.0.0464
Bram Moolenaar [Wed, 14 Sep 2022 15:09:57 +0000 (16:09 +0100)]
patch 9.0.0464: with virtual text "above" indenting doesn't work well

Problem:    With virtual text "above" indenting doesn't work well.
Solution:   Ignore text properties while adjusting indent. (issue #11084)

2 years agopatch 9.0.0463: command line test leaves directory behind v9.0.0463
Dominique Pelle [Wed, 14 Sep 2022 11:51:49 +0000 (12:51 +0100)]
patch 9.0.0463: command line test leaves directory behind

Problem:    Command line test leaves directory behind.
Solution:   Use the "R" flag on the first mkdir(). (Dominique PellĂ©,
            closes #11127)

2 years agopatch 9.0.0462: ASAN warning for integer overflow v9.0.0462
Bram Moolenaar [Wed, 14 Sep 2022 11:06:53 +0000 (12:06 +0100)]
patch 9.0.0462: ASAN warning for integer overflow

Problem:    ASAN warning for integer overflow.
Solution:   Check for tp_col to be MAXCOL.

2 years agopatch 9.0.0461: 'scroll' is not always updated v9.0.0461
Luuk van Baal [Wed, 14 Sep 2022 00:27:23 +0000 (01:27 +0100)]
patch 9.0.0461: 'scroll' is not always updated

Problem:    'scroll' is not always updated.
Solution:   Call win_init_size() at the right place.

2 years agopatch 9.0.0460: loop variable can't be found v9.0.0460
Bram Moolenaar [Tue, 13 Sep 2022 23:30:51 +0000 (00:30 +0100)]
patch 9.0.0460: loop variable can't be found

Problem:    Loop variable can't be found.
Solution:   Adjust block_id of the loop variable each round.

2 years agopatch 9.0.0459: Vim9: block in for loop doesn't behave like a code block v9.0.0459
Bram Moolenaar [Tue, 13 Sep 2022 20:10:45 +0000 (21:10 +0100)]
patch 9.0.0459: Vim9: block in for loop doesn't behave like a code block

Problem:    Vim9: block in for loop doesn't behave like a code block.
Solution:   Use a new block ID for each loop at the script level.

2 years agopatch 9.0.0458: splitting a line with a text prop "above" moves it down v9.0.0458
Bram Moolenaar [Tue, 13 Sep 2022 17:34:18 +0000 (18:34 +0100)]
patch 9.0.0458: splitting a line with a text prop "above" moves it down

Problem:    Splitting a line with a text prop "above" moves it to a new line
            below.
Solution:   Keep an "above" text prop above the first line.

2 years agopatch 9.0.0457: substitute prompt does not highlight an empty match v9.0.0457
Bram Moolenaar [Tue, 13 Sep 2022 12:45:26 +0000 (13:45 +0100)]
patch 9.0.0457: substitute prompt does not highlight an empty match

Problem:    Substitute prompt does not highlight an empty match.
Solution:   Highlight at least one character.

2 years agopatch 9.0.0456: function called at debug prompt is also debugged v9.0.0456
Bram Moolenaar [Tue, 13 Sep 2022 11:36:57 +0000 (12:36 +0100)]
patch 9.0.0456: function called at debug prompt is also debugged

Problem:    Function called at debug prompt is also debugged.
Solution:   Reset the debug level while entering the debug command.
            (closes #11118)

2 years agopatch 9.0.0455: a few problems with 'splitscroll' v9.0.0455
Luuk van Baal [Tue, 13 Sep 2022 10:55:10 +0000 (11:55 +0100)]
patch 9.0.0455: a few problems with 'splitscroll'

Problem:    A few problems with 'splitscroll'.
Solution:   Fix 'splitscroll' problems. (Luuk van Baal, closes #11117)

2 years agopatch 9.0.0454: incorrect color for modeless selection with GTK v9.0.0454
Your Name [Tue, 13 Sep 2022 10:25:54 +0000 (11:25 +0100)]
patch 9.0.0454: incorrect color for modeless selection with GTK

Problem:    Incorrect color for modeless selection with GTK.
Solution:   Use simple inversion instead of XOR. (closes #11111)

2 years agopatch 9.0.0453: on an AZERTY keyboard digit keys get the shift modifier v9.0.0453
Bram Moolenaar [Mon, 12 Sep 2022 19:35:28 +0000 (20:35 +0100)]
patch 9.0.0453: on an AZERTY keyboard digit keys get the shift modifier

Problem:    On an AZERTY keyboard digit keys get the shift modifier.
Solution:   Remove the shift modifier from digit keys. (closes #11109)

2 years agopatch 9.0.0452: Visual highlighting extends into virtual text prop v9.0.0452
Bram Moolenaar [Mon, 12 Sep 2022 18:25:11 +0000 (19:25 +0100)]
patch 9.0.0452: Visual highlighting extends into virtual text prop

Problem:    Visual highlighting extends into virtual text prop.
Solution:   Do not highlight what isn't actually selected.  Fix ordering of
            stored text props.

2 years agopatch 9.0.0451: virtual text "above" does not work with 'nowrap' v9.0.0451
Bram Moolenaar [Mon, 12 Sep 2022 16:51:07 +0000 (17:51 +0100)]
patch 9.0.0451: virtual text "above" does not work with 'nowrap'

Problem:    Virtual text "above" does not work with 'nowrap'.
Solution:   Do wrap the line after. (closes #11084)