]> granicus.if.org Git - vim/log
vim
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)

2 years agoAdd missing part of patch
Bram Moolenaar [Mon, 12 Sep 2022 14:16:29 +0000 (15:16 +0100)]
Add missing part of patch

2 years agopatch 9.0.0450: return value of argument check functions is inconsistent v9.0.0450
zeertzjq [Mon, 12 Sep 2022 13:09:30 +0000 (14:09 +0100)]
patch 9.0.0450: return value of argument check functions is inconsistent

Problem:    Return value of argument check functions is inconsistent.
Solution:   Return OK/FAIL instead of TRUE/FALSE. (closes #11112)

2 years agopatch 9.0.0449: there is no easy way to translate a key code into a string v9.0.0449
zeertzjq [Mon, 12 Sep 2022 12:38:41 +0000 (13:38 +0100)]
patch 9.0.0449: there is no easy way to translate a key code into a string

Problem:    There is no easy way to translate a string with a key code into a
            readable string.
Solution:   Add the keytrans() function. (closes #11114)

2 years agopatch 9.0.0448: SubRip files are not recognized v9.0.0448
ObserverOfTime [Mon, 12 Sep 2022 11:43:23 +0000 (12:43 +0100)]
patch 9.0.0448: SubRip files are not recognized

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

2 years agopatch 9.0.0447: using :echowin while at the hit-enter prompt causes problems v9.0.0447
Bram Moolenaar [Sun, 11 Sep 2022 20:36:17 +0000 (21:36 +0100)]
patch 9.0.0447: using :echowin while at the hit-enter prompt causes problems

Problem:    Using :echowin while at the hit-enter prompt causes problems.
Solution:   Do not prompt for :echowin.  Postpone showing the message window.
            Start the timer when the window is displayed.

2 years agopatch 9.0.0446: message window may be positioned too low v9.0.0446
Bram Moolenaar [Sun, 11 Sep 2022 19:12:15 +0000 (20:12 +0100)]
patch 9.0.0446: message window may be positioned too low

Problem:    Message window may be positioned too low.
Solution:   Compute cmdline_row before computing the position.

2 years agopatch 9.0.0445: when opening/closing window text moves up/down v9.0.0445
Luuk van Baal [Sun, 11 Sep 2022 15:59:53 +0000 (16:59 +0100)]
patch 9.0.0445: when opening/closing window text moves up/down

Problem:    When opening/closing window text moves up/down.
Solution:   Add the 'splitscroll' option.  When off text will keep its
            position as much as possible.

2 years agopatch 9.0.0444: trying to declare g:variable gives confusing error v9.0.0444
Bram Moolenaar [Sun, 11 Sep 2022 14:14:05 +0000 (15:14 +0100)]
patch 9.0.0444: trying to declare g:variable gives confusing error

Problem:    Trying to declare g:variable gives confusing error.
Solution:   Give a better error message. (closes #11108)

2 years agopatch 9.0.0443: blueprint files are not recognized v9.0.0443
Gabriele Musco [Sun, 11 Sep 2022 12:37:37 +0000 (13:37 +0100)]
patch 9.0.0443: blueprint files are not recognized

Problem:    Blueprint files are not recognized.
Solution:   Add a pattern for blueprint files. (Gabriele Musco, closes #11107)

2 years agopatch 9.0.0442: virtual text "above" doesn't handel line numbers v9.0.0442
Bram Moolenaar [Sun, 11 Sep 2022 12:31:01 +0000 (13:31 +0100)]
patch 9.0.0442: virtual text "above" doesn't handel line numbers

Problem:    Virtual text "above" doesn't handel line numbers.
Solution:   Take the left column offset into account. (issue #11084)
            Also make padding work.

2 years agopatch 9.0.0441: closure in for loop test fails on some systems v9.0.0441
Bram Moolenaar [Sun, 11 Sep 2022 11:01:04 +0000 (12:01 +0100)]
patch 9.0.0441: closure in for loop test fails on some systems

Problem:    Closure in for loop test fails on some systems.
Solution:   Do not wait for the ruler to show up. (issue #11106)

2 years agopatch 9.0.0440: crash when using mkdir() with "R" flag in compiled function v9.0.0440
Bram Moolenaar [Sun, 11 Sep 2022 10:49:22 +0000 (11:49 +0100)]
patch 9.0.0440: crash when using mkdir() with "R" flag in compiled function

Problem:    Crash when using mkdir() with "R" flag in compiled function.
Solution:   Reserve a variable for deferred function calls.  Handle more than
            one argument.

2 years agopatch 9.0.0439: cursor wrong if inserting before line with virtual text above v9.0.0439
Bram Moolenaar [Sat, 10 Sep 2022 21:32:14 +0000 (22:32 +0100)]
patch 9.0.0439: cursor wrong if inserting before line with virtual text above

Problem:    Cursor wrong if inserting before line with virtual text above.
Solution:   Add the width of the "above" virtual text to the cursor position.
            (issue #11084)

2 years agopatch 9.0.0438: cannot put virtual text above a line v9.0.0438
Bram Moolenaar [Sat, 10 Sep 2022 19:00:56 +0000 (20:00 +0100)]
patch 9.0.0438: cannot put virtual text above a line

Problem:    Cannot put virtual text above a line.
Solution:   Add the "above" value for "text_align".

2 years agopatch 9.0.0437: no error when custom completion function returns wrong type v9.0.0437
Bram Moolenaar [Sat, 10 Sep 2022 12:52:26 +0000 (13:52 +0100)]
patch 9.0.0437: no error when custom completion function returns wrong type

Problem:    No error when a custom completion function returns something else
            than the expected list.
Solution:   Give an error. (closes #11100)

2 years agoUpdate runtime files
Bram Moolenaar [Sat, 10 Sep 2022 12:13:14 +0000 (13:13 +0100)]
Update runtime files

2 years agopatch 9.0.0436: CI: running tests in parallel causes flakiness v9.0.0436
K.Takata [Sat, 10 Sep 2022 12:03:12 +0000 (13:03 +0100)]
patch 9.0.0436: CI: running tests in parallel causes flakiness

Problem:    CI: running tests in parallel causes flakiness.
Solution:   Reorganize the MS-Windows runs. (Ken Takata, closes #11101)

2 years agopatch 9.0.0435: compiler warning for uninitialized variable v9.0.0435
Bram Moolenaar [Sat, 10 Sep 2022 11:36:00 +0000 (12:36 +0100)]
patch 9.0.0435: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable.
Solution:   Initialize it.

2 years agopatch 9.0.0434: gitignore files are not recognized v9.0.0434
ObserverOfTime [Sat, 10 Sep 2022 10:04:24 +0000 (11:04 +0100)]
patch 9.0.0434: gitignore files are not recognized

Problem:    gitignore files are not recognized.
Solution:   Add patterns for the gitignore filetype. (closes #11102)

2 years agopatch 9.0.0433: Coverity warns for not checking allocation failure v9.0.0433
Bram Moolenaar [Sat, 10 Sep 2022 09:42:20 +0000 (10:42 +0100)]
patch 9.0.0433: Coverity warns for not checking allocation failure

Problem:    Coverity warns for not checking allocation failure.
Solution:   Check that allocating a list or blob succeeded.

2 years agopatch 9.0.0432: crash when using for loop variable in closure v9.0.0432
Bram Moolenaar [Fri, 9 Sep 2022 20:35:36 +0000 (21:35 +0100)]
patch 9.0.0432: crash when using for loop variable in closure

Problem:    Crash when using for loop variable in closure.
Solution:   Check that the variable wasn't deleted. (issue #11094)

2 years agopatch 9.0.0431: current mode shows in message window v9.0.0431
Bram Moolenaar [Fri, 9 Sep 2022 19:19:40 +0000 (20:19 +0100)]
patch 9.0.0431: current mode shows in message window

Problem:    Current mode shows in message window.
Solution:   Reset in_echowindow before redrawing. (issue #11094)

2 years agopatch 9.0.0430: cannot use repeat() with a blob v9.0.0430
Bakudankun [Fri, 9 Sep 2022 17:46:47 +0000 (18:46 +0100)]
patch 9.0.0430: cannot use repeat() with a blob

Problem:    Cannot use repeat() with a blob.
Solution:   Implement blob repeat. (closes #11090)

2 years agopatch 9.0.0429: not all keys are tested for the MS-Windows GUI v9.0.0429
Yegappan Lakshmanan [Fri, 9 Sep 2022 16:39:02 +0000 (17:39 +0100)]
patch 9.0.0429: not all keys are tested for the MS-Windows GUI

Problem:    Not all keys are tested for the MS-Windows GUI.
Solution:   Add more key codes to the list. (Yegappan Lakshmanan,
            closes #11097)

2 years agopatch 9.0.0428: autocmd test uses common file name v9.0.0428
Bram Moolenaar [Fri, 9 Sep 2022 16:09:35 +0000 (17:09 +0100)]
patch 9.0.0428: autocmd test uses common file name

Problem:    Autocmd test uses common file name.
Solution:   Use unique name to reduce flakiness.

2 years agopatch 9.0.0427: Drupal theme files are not recognized v9.0.0427
Rodrigo Aguilera [Fri, 9 Sep 2022 15:10:26 +0000 (16:10 +0100)]
patch 9.0.0427: Drupal theme files are not recognized

Problem:    Drupal theme files are not recognized.
Solution:   Use php filetype for Drupl theme files.  Remove trailing spaces.
            (Rodrigo Aguilera, closes #11096)

2 years agopatch 9.0.0426: failed flaky tests reports only start time v9.0.0426
Bram Moolenaar [Fri, 9 Sep 2022 14:09:59 +0000 (15:09 +0100)]
patch 9.0.0426: failed flaky tests reports only start time

Problem:    Failed flaky tests reports only start time.
Solution:   Also report the end time.

2 years agopatch 9.0.0425: autocmd test is a bit flaky on MS-Windows v9.0.0425
Bram Moolenaar [Fri, 9 Sep 2022 14:08:10 +0000 (15:08 +0100)]
patch 9.0.0425: autocmd test is a bit flaky on MS-Windows

Problem:    Autocmd test is a bit flaky on MS-Windows.
Solution:   Add a bit more sleeping. (Ken Takata, closes #11095)

2 years agopatch 9.0.0424: gitattributes files are not recognized v9.0.0424
ObserverOfTime [Fri, 9 Sep 2022 13:11:41 +0000 (14:11 +0100)]
patch 9.0.0424: gitattributes files are not recognized

Problem:    gitattributes files are not recognized.
Solution:   Add patterns to match gitattributes files. (closes #11085)

2 years agopatch 9.0.0423: "for" and "while" not recognized after :vim9cmd and :legacy v9.0.0423
Bram Moolenaar [Fri, 9 Sep 2022 12:27:59 +0000 (13:27 +0100)]
patch 9.0.0423: "for" and "while" not recognized after :vim9cmd and :legacy

Problem:    "for" and "while" not recognized after :vim9cmd and :legacy.
            (Emanuele Torre)
Solution:   Recognize all the command modifiers. (closes #11087)
            Add a test to check the list of modifiers.

2 years agopatch 9.0.0422: not enough testing of the :all command v9.0.0422
Yegappan Lakshmanan [Fri, 9 Sep 2022 10:27:59 +0000 (11:27 +0100)]
patch 9.0.0422: not enough testing of the :all command

Problem:    Not enough testing of the :all command.
Solution:   Add more testing. (Yegappan Lakshmanan, closes #11091)

2 years agopatch 9.0.0421: MS-Windows makefiles are inconsistently named v9.0.0421
K.Takata [Fri, 9 Sep 2022 09:52:47 +0000 (10:52 +0100)]
patch 9.0.0421: MS-Windows makefiles are inconsistently named

Problem:    MS-Windows makefiles are inconsistently named.
Solution:   Use consistent names. (Ken Takata, closes #11088)

2 years agopatch 9.0.0420: function went missing v9.0.0420
Bram Moolenaar [Thu, 8 Sep 2022 19:49:22 +0000 (20:49 +0100)]
patch 9.0.0420: function went missing

Problem:    Function went missing.
Solution:   Add the function back.

2 years agopatch 9.0.0419: the :defer command does not check the function arguments v9.0.0419
Bram Moolenaar [Thu, 8 Sep 2022 18:51:45 +0000 (19:51 +0100)]
patch 9.0.0419: the :defer command does not check the function arguments

Problem:    The :defer command does not check the function argument count and
            types.
Solution:   Check the function arguments when adding a deferred function.

2 years agopatch 9.0.0418: manually deleting temp test files v9.0.0418
Bram Moolenaar [Thu, 8 Sep 2022 15:39:22 +0000 (16:39 +0100)]
patch 9.0.0418: manually deleting temp test files

Problem:    Manually deleting temp test files.
Solution:   Use the 'D' flag of writefile() and mkdir().

2 years agopatch 9.0.0417: Jsonnet files are not recognized v9.0.0417
=?UTF-8?q?Cezary=20Dro=C5=BCak?= [Thu, 8 Sep 2022 13:41:48 +0000 (14:41 +0100)]
patch 9.0.0417: Jsonnet files are not recognized

Problem:    Jsonnet files are not recognized.
Solution:   Add a pattern for Jsonnet files. (Cezary Drożak, closes #11073,
            closes #11081)

2 years agopatch 9.0.0416: ml_get error when appending lines in popup window v9.0.0416
Bram Moolenaar [Thu, 8 Sep 2022 12:43:10 +0000 (13:43 +0100)]
patch 9.0.0416: ml_get error when appending lines in popup window

Problem:    ml_get error when appending lines in popup window.
Solution:   Only update w_topline when w_buffer matches curbuf.
            (closes #11074)

2 years agopatch 9.0.0415: on MS-Windows some tests are flaky v9.0.0415
K.Takata [Thu, 8 Sep 2022 11:28:02 +0000 (12:28 +0100)]
patch 9.0.0415: on MS-Windows some tests are flaky

Problem:    On MS-Windows some tests are flaky.
Solution:   Add sleeps, disable swapfile, mark test as flaky. (Ken Takata,
            closes #11082)

2 years agopatch 9.0.0414: matchstr() still does not match column offset v9.0.0414
Bram Moolenaar [Thu, 8 Sep 2022 11:17:06 +0000 (12:17 +0100)]
patch 9.0.0414: matchstr() still does not match column offset

Problem:    matchstr() still does not match column offset when done after a
            text search.
Solution:   Only use the line number for a multi-line search.  Fix the test.
            (closes #10938)

2 years agopatch 9.0.0413: ASAN reports a memory leak v9.0.0413
K.Takata [Thu, 8 Sep 2022 09:55:38 +0000 (10:55 +0100)]
patch 9.0.0413: ASAN reports a memory leak

Problem:    ASAN reports a memory leak.
Solution:   Free the string received from the server. (Ken Takata,
            closes #11080)

2 years agopatch 9.0.0412: compiler warning for unused argument v9.0.0412
Bram Moolenaar [Wed, 7 Sep 2022 20:46:56 +0000 (21:46 +0100)]
patch 9.0.0412: compiler warning for unused argument

Problem:    Compiler warning for unused argument.
Solution:   Add UNUSED.

2 years agopatch 9.0.0411: only created files can be cleaned up with one call v9.0.0411
Bram Moolenaar [Wed, 7 Sep 2022 20:30:44 +0000 (21:30 +0100)]
patch 9.0.0411: only created files can be cleaned up with one call

Problem:    Only created files can be cleaned up with one call.
Solution:   Add flags to mkdir() to delete with a deferred function.
            Expand the writefile() name to a full path to handle changing
            directory.

2 years agopatch 9.0.0410: struct member cts_lnum is unused v9.0.0410
Bram Moolenaar [Wed, 7 Sep 2022 19:01:17 +0000 (20:01 +0100)]
patch 9.0.0410: struct member cts_lnum is unused

Problem:    Struct member cts_lnum is unused.
Solution:   Delete it.

2 years agopatch 9.0.0409: #{g:x} was seen as a curly-braces expression v9.0.0409
ii14 [Wed, 7 Sep 2022 18:40:17 +0000 (19:40 +0100)]
patch 9.0.0409: #{g:x} was seen as a curly-braces expression

Problem:    #{g:x} was seen as a curly-braces expression.
Solution:   Do never see #{} as a curly-braces expression. (closes #11075)

2 years agopatch 9.0.0408: GUI test sometimes fails on MS-Windows v9.0.0408
K.Takata [Wed, 7 Sep 2022 18:03:42 +0000 (19:03 +0100)]
patch 9.0.0408: GUI test sometimes fails on MS-Windows

Problem:    GUI test sometimes fails on MS-Windows.
Solution:   Make sure Vim is the foreground window. (Ken Takata, closes #11077)

2 years agopatch 9.0.0407: matchstr() does match column offset v9.0.0407
Bram Moolenaar [Wed, 7 Sep 2022 17:21:24 +0000 (18:21 +0100)]
patch 9.0.0407: matchstr() does match column offset

Problem:    matchstr() does match column offset. (Yasuhiro Matsumoto)
Solution:   Accept line number zero. (closes #10938)

2 years agopatch 9.0.0406: deferred functions not invoked when partial func exits v9.0.0406
Bram Moolenaar [Wed, 7 Sep 2022 16:28:09 +0000 (17:28 +0100)]
patch 9.0.0406: deferred functions not invoked when partial func exits

Problem:    Deferred functions not invoked when partial func exits.
Solution:   Create a funccall_T when calling a :def function.

2 years agopatch 9.0.0405: arguments in a partial not used by a :def function v9.0.0405
Bram Moolenaar [Wed, 7 Sep 2022 15:48:46 +0000 (16:48 +0100)]
patch 9.0.0405: arguments in a partial not used by a :def function

Problem:    Arguments in a partial not used by a :def function.
Solution:   Put the partial arguments on the stack.

2 years agopatch 9.0.0404: crash when passing invalid arguments to assert_fails() v9.0.0404
Bram Moolenaar [Wed, 7 Sep 2022 14:20:26 +0000 (15:20 +0100)]
patch 9.0.0404: crash when passing invalid arguments to assert_fails()

Problem:    Crash when passing invalid arguments to assert_fails().
Solution:   Check for NULL string.

2 years agopatch 9.0.0403: 'equalalways' may be off when 'laststatus' is zero v9.0.0403
Luuk van Baal [Wed, 7 Sep 2022 13:42:49 +0000 (14:42 +0100)]
patch 9.0.0403: 'equalalways' may be off when 'laststatus' is zero

Problem:    'equalalways' may be off when 'laststatus' is zero.
Solution:   call last_status() before win_equal(). (Luuk van Baal,
            closes #11070)

2 years agopatch 9.0.0402: javascript module files are not recoginzed v9.0.0402
Brett Holman [Wed, 7 Sep 2022 13:13:31 +0000 (14:13 +0100)]
patch 9.0.0402: javascript module files are not recoginzed

Problem:    Javascript module files are not recoginzed.
Solution:   Recognize "*.jsm" files as Javascript. (Brett Holman,
            closes #11069)

2 years agopatch 9.0.0401: CI uses older clang version v9.0.0401
Philip H [Wed, 7 Sep 2022 12:30:19 +0000 (13:30 +0100)]
patch 9.0.0401: CI uses older clang version

Problem:    CI uses older clang version.
Solution:   Switch from clang 14 to 15. (closes #11066)

2 years agopatch 9.0.0400: GUI test sometimes hangs on CI v9.0.0400
K.Takata [Wed, 7 Sep 2022 12:01:11 +0000 (13:01 +0100)]
patch 9.0.0400: GUI test sometimes hangs on CI

Problem:    GUI test sometimes hangs on CI.
Solution:   Delete a test file explicitly. (Ken Takata, closes #11072)

2 years agopatch 9.0.0399: using :defer in expression funcref not tested v9.0.0399
Bram Moolenaar [Tue, 6 Sep 2022 20:02:35 +0000 (21:02 +0100)]
patch 9.0.0399: using :defer in expression funcref not tested

Problem:    Using :defer in expression funcref not tested.
Solution:   Add a test.  Fix uncovered problems.

2 years agopatch 9.0.0398: members of funccall_T are inconsistently named v9.0.0398
Bram Moolenaar [Tue, 6 Sep 2022 17:57:08 +0000 (18:57 +0100)]
patch 9.0.0398: members of funccall_T are inconsistently named

Problem:    Members of funccall_T are inconsistently named.
Solution:   Use the "fc_" prefix for all members.

2 years agopatch 9.0.0397: :defer not tested with exceptions and ":qa!" v9.0.0397
Bram Moolenaar [Tue, 6 Sep 2022 17:31:14 +0000 (18:31 +0100)]
patch 9.0.0397: :defer not tested with exceptions and ":qa!"

Problem:    :defer not tested with exceptions and ":qa!".
Solution:   Test :defer works when exceptions are thrown and when ":qa!" is
            used.  Invoke the deferred calls on exit.

2 years agopatch 9.0.0396: :findrepl does not escape '&' and '~' properly v9.0.0396
matveyt [Tue, 6 Sep 2022 16:00:15 +0000 (17:00 +0100)]
patch 9.0.0396: :findrepl does not escape '&' and '~' properly

Problem:    :findrepl does not escape '&' and '~' properly.
Solution:   Escape depending on the value of 'magic'. (closes #11067)

2 years agopatch 9.0.0395: clang warnings for function prototypes v9.0.0395
Philip H [Tue, 6 Sep 2022 15:31:26 +0000 (16:31 +0100)]
patch 9.0.0395: clang warnings for function prototypes

Problem:    Clang warnings for function prototypes.
Solution:   Remove incomplete function prototypes. (closes #11068)

2 years agopatch 9.0.0394: Cygwin: multibyte characters may be broken in terminal window v9.0.0394
K.Takata [Tue, 6 Sep 2022 10:26:56 +0000 (11:26 +0100)]
patch 9.0.0394: Cygwin: multibyte characters may be broken in terminal window

Problem:    Cygwin: multibyte characters may be broken in terminal window.
Solution:   Adjust how to read and write on the channel. (Ken Takata,
            closes #11063)

2 years agopatch 9.0.0393: signals test often fails on FreeBSD v9.0.0393
K.Takata [Tue, 6 Sep 2022 09:56:19 +0000 (10:56 +0100)]
patch 9.0.0393: signals test often fails on FreeBSD

Problem:    Signals test often fails on FreeBSD.
Solution:   Use separate files for Suspend and Resume. (Ken Takata,
            closes #11065)

2 years agopatch 9.0.0392: inverted condition is a bit confusing v9.0.0392
K.Takata [Mon, 5 Sep 2022 20:45:11 +0000 (21:45 +0100)]
patch 9.0.0392: inverted condition is a bit confusing

Problem:    Inverted condition is a bit confusing.
Solution:   Remove the "!" and swap the blocks. (Ken Takata)

2 years agopatch 9.0.0391: using separate delete() call instead of writefile() 'D' flag v9.0.0391
Bram Moolenaar [Mon, 5 Sep 2022 20:40:44 +0000 (21:40 +0100)]
patch 9.0.0391: using separate delete() call instead of writefile() 'D' flag

Problem:    Using separate delete() call instead of writefile() 'D' flag.
Solution:   Use the writefile 'D' flag.

2 years agopatch 9.0.0390: cannot use a partial with :defer v9.0.0390
Bram Moolenaar [Mon, 5 Sep 2022 20:21:25 +0000 (21:21 +0100)]
patch 9.0.0390: cannot use a partial with :defer

Problem:    Cannot use a partial with :defer.
Solution:   Add the partial arguments before the other arguments.  Disallow
            using a dictionary.

2 years agopatch 9.0.0389: crash when 'tagfunc' closes the window v9.0.0389
Bram Moolenaar [Mon, 5 Sep 2022 18:51:13 +0000 (19:51 +0100)]
patch 9.0.0389: crash when 'tagfunc' closes the window

Problem:    Crash when 'tagfunc' closes the window.
Solution:   Bail out when the window was closed.

2 years agopatch 9.0.0388: the do_arg_all() function is too long v9.0.0388
Yegappan Lakshmanan [Mon, 5 Sep 2022 17:27:47 +0000 (18:27 +0100)]
patch 9.0.0388: the do_arg_all() function is too long

Problem:    The do_arg_all() function is too long.
Solution:   Split the function in smaller parts. (Yegappan Lakshmanan,
            closes #11062)

2 years agopatch 9.0.0387: repeat <ScriptCmd> mapping doesn't use right script context v9.0.0387
Bram Moolenaar [Mon, 5 Sep 2022 15:53:21 +0000 (16:53 +0100)]
patch 9.0.0387: repeat <ScriptCmd> mapping doesn't use right script context

Problem:    repeating a <ScriptCmd> mapping does not use the right script
            context.
Solution:   When using a mapping put <SID>{sid}; in the redo buffer.
            (closes #11049)

2 years agopatch 9.0.0386: some code blocks are nested too deep v9.0.0386
Yegappan Lakshmanan [Mon, 5 Sep 2022 13:33:47 +0000 (14:33 +0100)]
patch 9.0.0386: some code blocks are nested too deep

Problem:    Some code blocks are nested too deep.
Solution:   Bail out earlier. (Yegappan Lakshmanan, closes #11058)

2 years agopatch 9.0.0385: GUI: when CTRL-D is mapped in Insert mode it gets inserted v9.0.0385
zeertzjq [Mon, 5 Sep 2022 12:05:29 +0000 (13:05 +0100)]
patch 9.0.0385: GUI: when CTRL-D is mapped in Insert mode it gets inserted

Problem:    GUI: when CTRL-D is mapped in Insert mode it gets inserted.
            (Yasuhiro Matsumoto)
Solution:   Also recognize modifier starting with CSI. (closes #11057)

2 years agopatch 9.0.0384: Covertity still complains about using return value of getc() v9.0.0384
Bram Moolenaar [Mon, 5 Sep 2022 10:04:14 +0000 (11:04 +0100)]
patch 9.0.0384: Covertity still complains about using return value of getc()

Problem:    Covertity still complains about using return value of getc().
Solution:   Check for EOF.

2 years agopatch 9.0.0383: Coverity complains about unused value v9.0.0383
Bram Moolenaar [Mon, 5 Sep 2022 09:55:27 +0000 (10:55 +0100)]
patch 9.0.0383: Coverity complains about unused value

Problem:    Coverity complains about unused value.
Solution:   Use the value.

2 years agopatch 9.0.0382: freeing the wrong string on failure v9.0.0382
Bram Moolenaar [Mon, 5 Sep 2022 09:47:13 +0000 (10:47 +0100)]
patch 9.0.0382: freeing the wrong string on failure

Problem:    Freeing the wrong string on failure.
Solution:   Adjust the argument.  Reorder the code.