]> granicus.if.org Git - vim/log
vim
3 years agopatch 8.2.3480: test does not fail without the fix for a crash v8.2.3480
Dominique Pelle [Tue, 5 Oct 2021 18:28:01 +0000 (19:28 +0100)]
patch 8.2.3480: test does not fail without the fix for a crash

Problem:    Test does not fail without the fix for a crash.
Solution:   Write the bad code in a file and source it. (Dominique Pellé,
            closes #8961)

3 years agopatch 8.2.3479: crash when calling job_start with an invalid argument v8.2.3479
Bram Moolenaar [Tue, 5 Oct 2021 18:19:35 +0000 (19:19 +0100)]
patch 8.2.3479: crash when calling job_start with an invalid argument

Problem:    Crash when calling job_start with an invalid argument. (Virginia
            Senioria)
Solution:   Clear the first item in argv. (closes #8957)

3 years agopatch 8.2.3478: still crash with error in :catch and also in :finally v8.2.3478
Bram Moolenaar [Tue, 5 Oct 2021 10:22:27 +0000 (11:22 +0100)]
patch 8.2.3478: still crash with error in :catch and also in :finally

Problem:    Still crash with error in :catch and also in :finally.
Solution:   Only call finish_exception() once. (closes #8954)

3 years agopatch 8.2.3477: startup test fails on MS-Windows v8.2.3477
Bram Moolenaar [Tue, 5 Oct 2021 00:19:53 +0000 (01:19 +0100)]
patch 8.2.3477: startup test fails on MS-Windows

Problem:    Startup test fails on MS-Windows.
Solution:   Skip the test if not on Unix.

3 years agopatch 8.2.3476: renaming a buffer on startup may cause using freed memory v8.2.3476
Bram Moolenaar [Mon, 4 Oct 2021 22:13:13 +0000 (23:13 +0100)]
patch 8.2.3476: renaming a buffer on startup may cause using freed memory

Problem:    Renaming a buffer on startup may cause using freed memory.
Solution:   Check if the buffer is used in a window. (closes #8955)

3 years agopatch 8.2.3475: expression register set by not executed put command v8.2.3475
kuuote [Mon, 4 Oct 2021 21:17:36 +0000 (22:17 +0100)]
patch 8.2.3475: expression register set by not executed put command

Problem:    Expression register set by not executed put command.
Solution:   Do not set the register if the command is skipped. (closes #8909)

3 years agopatch 8.2.3474: some places use "Vimscript" instead of "Vim script" v8.2.3474
h-east [Mon, 4 Oct 2021 20:51:57 +0000 (21:51 +0100)]
patch 8.2.3474: some places use "Vimscript" instead of "Vim script"

Problem:    Some places use "Vimscript" instead of "Vim script".
Solution:   Consistently use "Vim script". (Hirohito Higashi, closes #8910)

3 years agoUpdate runtime files
Bram Moolenaar [Mon, 4 Oct 2021 20:32:54 +0000 (21:32 +0100)]
Update runtime files

3 years agopatch 8.2.3473: some files with tcl syntax are not recognized v8.2.3473
Bram Moolenaar [Mon, 4 Oct 2021 19:41:45 +0000 (20:41 +0100)]
patch 8.2.3473: some files with tcl syntax are not recognized

Problem:    Some files with tcl syntax are not recognized.
Solution:   Add a few file patterns. (Doug Kearns

3 years agopatch 8.2.3472: other crashes with empty search pattern not tested v8.2.3472
Bram Moolenaar [Mon, 4 Oct 2021 19:09:19 +0000 (20:09 +0100)]
patch 8.2.3472: other crashes with empty search pattern not tested

Problem:    Other crashes with empty search pattern not tested.
Solution:   Add a few more test lines. (Dominique Pellé)

3 years agopatch 8.2.3471: crash when using CTRL-T after an empty search pattern v8.2.3471
Bram Moolenaar [Mon, 4 Oct 2021 18:47:35 +0000 (19:47 +0100)]
patch 8.2.3471: crash when using CTRL-T after an empty search pattern

Problem:    Crash when using CTRL-T after an empty search pattern.
Solution:   Bail out when there is no previous search pattern. (closes #8953)

3 years agopatch 8.2.3470: crash with error in :catch and also in :finally v8.2.3470
Bram Moolenaar [Mon, 4 Oct 2021 17:52:19 +0000 (18:52 +0100)]
patch 8.2.3470: crash with error in :catch and also in :finally

Problem:    Crash with error in :catch and also in :finally.
Solution:   Only discard an exception if there is one. (closes #8954)

3 years agopatch 8.2.3469: some files with json syntax are not recognized v8.2.3469
Bram Moolenaar [Sun, 3 Oct 2021 19:11:20 +0000 (20:11 +0100)]
patch 8.2.3469: some files with json syntax are not recognized

Problem:    Some files with json syntax are not recognized.
Solution:   Add a few file patterns. (Emiliano Ruiz Carletti, closes #8947)

3 years agopatch 8.2.3468: problem with :cd when editing file in non-existent directory v8.2.3468
Bram Moolenaar [Sun, 3 Oct 2021 18:29:48 +0000 (19:29 +0100)]
patch 8.2.3468: problem with :cd when editing file in non-existent directory

Problem:    Problem with :cd when editing file in non-existent directory. (Yee
            Cheng Chin)
Solution:   Prepend the current directory to get the full path. (closes #8903)

3 years agopatch 8.2.3467: CursorHoldI event interferes with "CTRL-G U" v8.2.3467
Bram Moolenaar [Sun, 3 Oct 2021 15:22:05 +0000 (16:22 +0100)]
patch 8.2.3467: CursorHoldI event interferes with "CTRL-G U"

Problem:    CursorHoldI event interferes with "CTRL-G U". (Naohiro Ono)
Solution:   Restore the flag for "CTRL-G U" after triggering CursorHoldI.
            (closes #8937)

3 years agopatch 8.2.3466: completion submode not indicated for virtual replace v8.2.3466
zeertzjq [Sun, 3 Oct 2021 14:19:14 +0000 (15:19 +0100)]
patch 8.2.3466: completion submode not indicated for virtual replace

Problem:    Completion submode not indicated for virtual replace.
Solution:   Add submode to "Rv". (closes #8945)

3 years agopatch 8.2.3465: cannot detect insert scroll mode v8.2.3465
zeertzjq [Sun, 3 Oct 2021 11:01:27 +0000 (12:01 +0100)]
patch 8.2.3465: cannot detect insert scroll mode

Problem:    Cannot detect insert scroll mode.
Solution:   Add "scroll" to complete_info(). (closes #8943)

3 years agopatch 8.2.3464: nginx files are not recognized v8.2.3464
Chris Aumann [Sun, 3 Oct 2021 10:46:09 +0000 (11:46 +0100)]
patch 8.2.3464: nginx files are not recognized

Problem:    nginx files are not recognized.
Solution:   Add several file patterns. (Chris Aumann, closes #8922)

3 years agopatch 8.2.3463: pattern matching with ModeChanged not tested v8.2.3463
Bram Moolenaar [Sat, 2 Oct 2021 20:48:15 +0000 (21:48 +0100)]
patch 8.2.3463: pattern matching with ModeChanged not tested

Problem:    Pattern matching with ModeChanged not tested.
Solution:   Add a few more test lines. (issue #8856)

3 years agopatch 8.2.3462: ModeChanged only uses one character for new_mode and old_mode v8.2.3462
Bram Moolenaar [Sat, 2 Oct 2021 15:55:39 +0000 (16:55 +0100)]
patch 8.2.3462: ModeChanged only uses one character for new_mode and old_mode

Problem:    The ModeChanged event only uses one character for the new_mode and
            old_mode values.
Solution:   Pass one as first argument to mode(). (issue #8856)

3 years agopatch 8.2.3461: cannot distinguish Normal and Terminal-Normal mode v8.2.3461
Bram Moolenaar [Sat, 2 Oct 2021 15:34:55 +0000 (16:34 +0100)]
patch 8.2.3461: cannot distinguish Normal and Terminal-Normal mode

Problem:    Cannot distinguish Normal and Terminal-Normal mode.
Solution:   Make mode() return "nt" for Terminal-Normal mode. (issue #8856)

3 years agopatch 8.2.3460: some type casts are not needed v8.2.3460
=?UTF-8?q?Dundar=20G=C3=B6c?= [Sat, 2 Oct 2021 10:26:51 +0000 (11:26 +0100)]
patch 8.2.3460: some type casts are not needed

Problem:    Some type casts are not needed.
Solution:   Remove unnecessary type casts. (closes #8934)

3 years agopatch 8.2.3459: Vim9: need more tests for empty string arguments v8.2.3459
Yegappan Lakshmanan [Thu, 30 Sep 2021 18:00:00 +0000 (19:00 +0100)]
patch 8.2.3459: Vim9: need more tests for empty string arguments

Problem:    Vim9: need more tests for empty string arguments.
Solution:   Add more tests.  Also use empty argument with menu_info() to get
            the top-level menu names. (Yegappan Lakshmanan, closes #8925)

3 years agopatch 8.2.3458: not all dictdconf files are recognized v8.2.3458
Bram Moolenaar [Sun, 26 Sep 2021 21:11:52 +0000 (22:11 +0100)]
patch 8.2.3458: not all dictdconf files are recognized

Problem:    Not all dictdconf files are recognized.
Solution:   Adjust the pattern. (Doug Kearns)

3 years agopatch 8.2.3457: MS-Windows Vim9: test executed and fails v8.2.3457
Bram Moolenaar [Sun, 26 Sep 2021 19:14:39 +0000 (20:14 +0100)]
patch 8.2.3457: MS-Windows Vim9: test executed and fails

Problem:    MS-Windows Vim9: test executed and fails.
Solution:   Add extra check for not being on MS-Windows.

3 years agopatch 8.2.3456: Vim9: not all functions are tested with empty string argument v8.2.3456
Yegappan Lakshmanan [Sun, 26 Sep 2021 18:04:05 +0000 (19:04 +0100)]
patch 8.2.3456: Vim9: not all functions are tested with empty string argument

Problem:    Vim9: Not all functions are tested with an empty string argument.
Solution:   Add tests with empty strings. (Yegappan Lakshmanan, closes #8915)

3 years agopatch 8.2.3455: using a count with "gp" leaves '] in wrong position v8.2.3455
Bram Moolenaar [Wed, 22 Sep 2021 14:43:59 +0000 (16:43 +0200)]
patch 8.2.3455: using a count with "gp" leaves '] in wrong position

Problem:    Using a count with "gp" leaves '] in wrong position. (Naohiro Ono)
Solution:   Correct the mark position. (closes #8899)

3 years agopatch 8.2.3454: using a count with "gp" leave cursor in wrong position v8.2.3454
Bram Moolenaar [Wed, 22 Sep 2021 14:37:07 +0000 (16:37 +0200)]
patch 8.2.3454: using a count with "gp" leave cursor in wrong position

Problem:    Using a count with "gp" leave cursor in wrong position. (Naohiro
            Ono)
Solution:   Count the inserted lines. (closes #8899)

3 years agopatch 8.2.3453: autocmd not executed when editing a directory v8.2.3453
Bram Moolenaar [Wed, 22 Sep 2021 12:18:13 +0000 (14:18 +0200)]
patch 8.2.3453: autocmd not executed when editing a directory

Problem:    Autocmd not executed when editing a directory ending in a path
            separator inside try block.
Solution:   Return NOTDONE instead of FAIL. (closes #8885)

3 years agoCorrect Spanish translations
Bram Moolenaar [Tue, 21 Sep 2021 19:04:01 +0000 (21:04 +0200)]
Correct Spanish translations

3 years agoUpdate runtime files
Bram Moolenaar [Tue, 21 Sep 2021 18:09:51 +0000 (20:09 +0200)]
Update runtime files

3 years agopatch 8.2.3452: MPD files are not recognized v8.2.3452
Steven Penny [Tue, 21 Sep 2021 17:37:01 +0000 (19:37 +0200)]
patch 8.2.3452: MPD files are not recognized

Problem:    MPD files are not recognized.
Solution:   Recognize MPD files as XML. (Steven Penny, closes #8893)

3 years agopatch 8.2.3451: not all apache files are recognized v8.2.3451
Zdenek Dohnal [Mon, 20 Sep 2021 18:57:31 +0000 (20:57 +0200)]
patch 8.2.3451: not all apache files are recognized

Problem:    Not all apache files are recognized.
Solution:   Adjust the filetype pattern. (Zdenek Dohnal, closes #8882)

3 years agopatch 8.2.3450: coveralls action fails v8.2.3450
Bram Moolenaar [Sun, 19 Sep 2021 15:55:16 +0000 (17:55 +0200)]
patch 8.2.3450: coveralls action fails

Problem:    Coveralls action fails.
Solution:   Disable it for now.

3 years agopatch 8.2.3449: sort fails if the sort compare function returns 999 v8.2.3449
Yasuhiro Matsumoto [Sun, 19 Sep 2021 15:01:39 +0000 (17:01 +0200)]
patch 8.2.3449: sort fails if the sort compare function returns 999

Problem:    Sort fails if the sort compare function returns 999.
Solution:   Adjust value to -1 / 0 / 1. (Yasuhiro Matsumoto, closes #8884)

3 years agopatch 8.2.3448: :endtry after function call that throws not found v8.2.3448
Bram Moolenaar [Sat, 18 Sep 2021 13:25:52 +0000 (15:25 +0200)]
patch 8.2.3448: :endtry after function call that throws not found

Problem:    :endtry after function call that throws not found.
Solution:   Do check for following :endtry if an exception is being thrown.
            (closes #8889)

3 years agopatch 8.2.3447: a couple of declarations are not ANSI C v8.2.3447
Yegappan Lakshmanan [Sat, 18 Sep 2021 10:15:08 +0000 (12:15 +0200)]
patch 8.2.3447: a couple of declarations are not ANSI C

Problem:    A couple of declarations are not ANSI C.
Solution:   Put argument type inside (). (Yegappan Lakshmanan, closes #8890)

3 years agopatch 8.2.3446: not enough tests for empty string arguments v8.2.3446
Yegappan Lakshmanan [Fri, 17 Sep 2021 19:07:35 +0000 (21:07 +0200)]
patch 8.2.3446: not enough tests for empty string arguments

Problem:    Not enough tests for empty string arguments.
Solution:   Add tests, fix type check. (Yegappan Lakshmanan, closes #8881)

3 years agopatch 8.2.3445: on Solaris longVersion may be declared twice v8.2.3445
Bram Moolenaar [Fri, 17 Sep 2021 18:45:30 +0000 (20:45 +0200)]
patch 8.2.3445: on Solaris longVersion may be declared twice

Problem:    On Solaris longVersion may be declared twice. (Vladimir Marek)
Solution:   Always declare longVersion in version.c

3 years agopatch 8.2.3444: concealed text not revealed when leaving insert mode v8.2.3444
Bram Moolenaar [Thu, 16 Sep 2021 20:32:15 +0000 (22:32 +0200)]
patch 8.2.3444: concealed text not revealed when leaving insert mode

Problem:    concealed text not revealed when leaving insert mode. (Michael
            Soyka)
Solution:   Check if concealing changed when leaving insert mode.
            (closes #8880)

3 years agopatch 8.2.3443: Vim9: memory leak when and/or fails v8.2.3443
Bram Moolenaar [Thu, 16 Sep 2021 18:14:51 +0000 (20:14 +0200)]
patch 8.2.3443: Vim9: memory leak when and/or fails

Problem:    Vim9: memory leak when and/or fails.
Solution:   Also clear the growarray when the length is zero.

3 years agopatch 8.2.3442: Vim9: || and && are not handled at compile time v8.2.3442
Bram Moolenaar [Thu, 16 Sep 2021 14:15:07 +0000 (16:15 +0200)]
patch 8.2.3442: Vim9: || and && are not handled at compile time

Problem:    Vim9: || and && are not handled at compile time when possible.
Solution:   When using constants generate fewer instructions.

3 years agopatch 8.2.3441: MS-Windows: vimtutor can't handle path with spaces v8.2.3441
Christian Brabandt [Wed, 15 Sep 2021 10:53:40 +0000 (12:53 +0200)]
patch 8.2.3441: MS-Windows: vimtutor can't handle path with spaces

Problem:    MS-Windows: vimtutor can't handle path with spaces.
Solution:   Add double quotes. (Christian Brabandt, closes #8871)

3 years agopatch 8.2.3440: recover test fails if there is an old swap file v8.2.3440
Bram Moolenaar [Tue, 14 Sep 2021 20:58:23 +0000 (22:58 +0200)]
patch 8.2.3440: recover test fails if there is an old swap file

Problem:    Recover test fails if there is an old swap file.
Solution:   Delete old swap files.

3 years agopatch 8.2.3439: deleted lines go to wrong yank register v8.2.3439
Christian Brabandt [Tue, 14 Sep 2021 16:55:51 +0000 (18:55 +0200)]
patch 8.2.3439: deleted lines go to wrong yank register

Problem:    Deleted lines go to wrong yank register.
Solution:   Reset y_append when not calling get_yank_register(). (Christian
            Brabandt, closes #8872)

3 years agopatch 8.2.3438: cannot manipulate blobs v8.2.3438
Yegappan Lakshmanan [Tue, 14 Sep 2021 15:54:30 +0000 (17:54 +0200)]
patch 8.2.3438: cannot manipulate blobs

Problem:    Cannot manipulate blobs.
Solution:   Add blob2list() and list2blob(). (Yegappan Lakshmanan,
            closes #8868)

3 years agopatch 8.2.3437: compiler warnings for 32/64 bit usage v8.2.3437
Mike Williams [Mon, 13 Sep 2021 20:17:38 +0000 (22:17 +0200)]
patch 8.2.3437: compiler warnings for 32/64 bit usage

Problem:    Compiler warnings for 32/64 bit usage.
Solution:   Add type casts. (Mike Williams, closes #8870)

3 years agopatch 8.2.3436: check for optional bool type has confusing return type v8.2.3436
Bram Moolenaar [Mon, 13 Sep 2021 19:36:27 +0000 (21:36 +0200)]
patch 8.2.3436: check for optional bool type has confusing return type

Problem:    Check for optional bool type has confusing return type.
Solution:   Explicitly return OK.

3 years agopatch 8.2.3435: Vim9: dict is not passed to dict function v8.2.3435
Bram Moolenaar [Mon, 13 Sep 2021 16:25:54 +0000 (18:25 +0200)]
patch 8.2.3435: Vim9: dict is not passed to dict function

Problem:    Vim9: dict is not passed to dict function.
Solution:   Keep the dict used until a function call.

3 years agopatch 8.2.3434: function prototype for trigger_modechanged() is incomplete v8.2.3434
Bram Moolenaar [Sun, 12 Sep 2021 19:00:14 +0000 (21:00 +0200)]
patch 8.2.3434: function prototype for trigger_modechanged() is incomplete

Problem:    Function prototype for trigger_modechanged() is incomplete.
Solution:   Add "void".

3 years agopatch 8.2.3433: :delcommand does not take a -buffer option v8.2.3433
Bram Moolenaar [Sun, 12 Sep 2021 18:58:02 +0000 (20:58 +0200)]
patch 8.2.3433: :delcommand does not take a -buffer option

Problem:    :delcommand does not take a -buffer option.
Solution:   Add the -buffer option.

3 years agopatch 8.2.3432: octave/Matlab filetype detection does not work properly v8.2.3432
Bram Moolenaar [Sun, 12 Sep 2021 15:03:08 +0000 (17:03 +0200)]
patch 8.2.3432: octave/Matlab filetype detection does not work properly

Problem:    Octave/Matlab filetype detection does not work properly.
Solution:   Update the patterns used for matching. (Doug Kearns)

3 years agopatch 8.2.3431: completion for :disas sorts local functions first v8.2.3431
naohiro ono [Sun, 12 Sep 2021 13:45:10 +0000 (15:45 +0200)]
patch 8.2.3431: completion for :disas sorts local functions first

Problem:    Completion for :disas sorts local functions first.
Solution:   Sort local functions last, like with :delfunc. (Naohiro Ono,
            closes #8860)

3 years agopatch 8.2.3430: no generic way to trigger an autocommand on mode change v8.2.3430
=?UTF-8?q?Magnus=20Gro=C3=9F?= [Sun, 12 Sep 2021 11:39:55 +0000 (13:39 +0200)]
patch 8.2.3430: no generic way to trigger an autocommand on mode change

Problem:    No generic way to trigger an autocommand on mode change.
Solution:   Add the ModeChanged autocommand event. (Magnus Gross, closes #8856)

3 years agopatch 8.2.3429: leaking memory when assigning to list or dict v8.2.3429
Bram Moolenaar [Sat, 11 Sep 2021 21:07:44 +0000 (23:07 +0200)]
patch 8.2.3429: leaking memory when assigning to list or dict

Problem:    Leaking memory when assigning to list or dict.
Solution:   Free the list or dict type before overwriting it.

3 years agopatch 8.2.3428: using freed memory when replacing v8.2.3428
Bram Moolenaar [Sat, 11 Sep 2021 19:14:20 +0000 (21:14 +0200)]
patch 8.2.3428: using freed memory when replacing

Problem:    Using freed memory when replacing. (Dhiraj Mishra)
Solution:   Get the line pointer after calling ins_copychar().

3 years agopatch 8.2.3427: double free when list is copied v8.2.3427
Bram Moolenaar [Sat, 11 Sep 2021 18:20:38 +0000 (20:20 +0200)]
patch 8.2.3427: double free when list is copied

Problem:    Double free when list is copied.
Solution:   Allocate the type when making a copy. (closes #8862)
            Clear the type for flattennew().  Avoid a memory leak when
            flattennew() fails.

3 years agopatch 8.2.3426: crash when deleting a listener in a listener callback v8.2.3426
Bram Moolenaar [Sat, 11 Sep 2021 13:06:44 +0000 (15:06 +0200)]
patch 8.2.3426: crash when deleting a listener in a listener callback

Problem:    Crash when deleting a listener in a listener callback. (Naohiro
            Ono)
Solution:   Mark the listener and delete it later.

3 years agopatch 8.2.3425: warning for using uninitialized variable v8.2.3425
Bram Moolenaar [Sat, 11 Sep 2021 10:15:09 +0000 (12:15 +0200)]
patch 8.2.3425: warning for using uninitialized variable

Problem:    Warning for using uninitialized variable.
Solution:   Initialize it. (John Marriott)

3 years agopatch 8.2.3424: a sequence of spaces is hard to see in list mode v8.2.3424
zeertzjq [Fri, 10 Sep 2021 14:58:30 +0000 (16:58 +0200)]
patch 8.2.3424: a sequence of spaces is hard to see in list mode

Problem:    A sequence of spaces is hard to see in list mode.
Solution:   Add the "multispace" option to 'listchars'. (closes #8834)

3 years agopatch 8.2.3423: Vim9: list += list creates a new list in :def function v8.2.3423
Bram Moolenaar [Thu, 9 Sep 2021 21:01:14 +0000 (23:01 +0200)]
patch 8.2.3423: Vim9: list += list creates a new list in :def function

Problem:    Vim9: list += list creates a new list in :def function.
Solution:   Append to the existing list.

3 years agopatch 8.2.3422: Vim9: no failure if return type differs from returned var v8.2.3422
Bram Moolenaar [Thu, 9 Sep 2021 20:30:52 +0000 (22:30 +0200)]
patch 8.2.3422: Vim9: no failure if return type differs from returned var

Problem:    Vim9: no failure if return type differs from returned variable.
Solution:   Copy type when copying a list. (closes #8847)

3 years agoUpdate runtime files
Bram Moolenaar [Thu, 9 Sep 2021 19:55:11 +0000 (21:55 +0200)]
Update runtime files

3 years agopatch 8.2.3421: a bit of code is not covered by tests v8.2.3421
Dominique Pelle [Thu, 9 Sep 2021 18:45:34 +0000 (20:45 +0200)]
patch 8.2.3421: a bit of code is not covered by tests

Problem:    A bit of code is not covered by tests.
Solution:   Add a few more test cases. (Dominique Pellé, closes #8857)

3 years agopatch 8.2.3420: _REENTRANT defined more than once v8.2.3420
Christian Brabandt [Thu, 9 Sep 2021 15:14:50 +0000 (17:14 +0200)]
patch 8.2.3420: _REENTRANT defined more than once

Problem:    _REENTRANT defined more than once.
Solution:   Fix configure script. (Christian Brabandt, closes #8852)

3 years agopatch 8.2.3419: a failing debug expression may make Vim unusable v8.2.3419
Bram Moolenaar [Thu, 9 Sep 2021 10:34:19 +0000 (12:34 +0200)]
patch 8.2.3419: a failing debug expression may make Vim unusable

Problem:    A failing debug expression may make Vim unusable.
Solution:   Suppress error messages. (closes #8848)

3 years agopatch 8.2.3418: garbage collection while evaluating may cause trouble v8.2.3418
Christian Brabandt [Thu, 9 Sep 2021 10:12:03 +0000 (12:12 +0200)]
patch 8.2.3418: garbage collection while evaluating may cause trouble

Problem:    Garbage collection while evaluating may cause trouble.
Solution:   Disable garbage collection while evaluating an expression.
            (Christian Brabandt, issue #8848)

3 years agopatch 8.2.3417: Vim9: a failing debug expression aborts script sourcing v8.2.3417
Bram Moolenaar [Wed, 8 Sep 2021 18:40:34 +0000 (20:40 +0200)]
patch 8.2.3417: Vim9: a failing debug expression aborts script sourcing

Problem:    Vim9: a failing debug expression aborts script sourcing.
Solution:   Do not let expression failure abort script sourcing. (closes #8848)

3 years agopatch 8.2.3416: second error is reported while exception is being thrown v8.2.3416
Bram Moolenaar [Wed, 8 Sep 2021 13:33:30 +0000 (15:33 +0200)]
patch 8.2.3416: second error is reported while exception is being thrown

Problem:    Second error is reported while exception is being thrown.
Solution:   Do not check for trailing characters when already aborting.
            (closes #8842)

3 years agopatch 8.2.3415: Vim9: not all function argument types are properly checked v8.2.3415
Yegappan Lakshmanan [Wed, 8 Sep 2021 12:57:42 +0000 (14:57 +0200)]
patch 8.2.3415: Vim9: not all function argument types are properly checked

Problem:    Vim9: Not all function argument types are properly checked.
Solution:   Add and improve argument type checks. (Yegappan Lakshmanan,
            closes #8839)

3 years agopatch 8.2.3414: fullcommand() gives wrong name with buffer-local user command v8.2.3414
Bram Moolenaar [Wed, 8 Sep 2021 12:29:46 +0000 (14:29 +0200)]
patch 8.2.3414: fullcommand() gives wrong name with buffer-local user command

Problem:    fullcommand() gives the wrong name if there is a buffer-local user
            command. (Naohiro Ono)
Solution:   Use a separate function to get the user command name.
            (closes #8840)

3 years agopatch 8.2.3413: Vim9: too many characters are allowed in import name v8.2.3413
Bram Moolenaar [Wed, 8 Sep 2021 10:31:35 +0000 (12:31 +0200)]
patch 8.2.3413: Vim9: too many characters are allowed in import name

Problem:    Vim9: too many characters are allowed in import name.
Solution:   Disallow ':' and '#', check for white space. (closes #8845)

3 years agopatch 8.2.3412: Vim9: importing the wrong file v8.2.3412
Bram Moolenaar [Tue, 7 Sep 2021 20:35:34 +0000 (22:35 +0200)]
patch 8.2.3412: Vim9: importing the wrong file

Problem:    Vim9: importing the wrong file.
Solution:   Correct the file name.  Delete the file afterwards.

3 years agopatch 8.2.3411: Vim9: crash when using base name of import v8.2.3411
Bram Moolenaar [Tue, 7 Sep 2021 20:12:19 +0000 (22:12 +0200)]
patch 8.2.3411: Vim9: crash when using base name of import

Problem:    Vim9: crash when using base name of import. (Naohiro Ono)
Solution:   Check the import flags. (closes #8843)

3 years agopatch 8.2.3410: crash with linebreak, listchars and large tabstop v8.2.3410
Bram Moolenaar [Tue, 7 Sep 2021 18:45:31 +0000 (20:45 +0200)]
patch 8.2.3410: crash with linebreak, listchars and large tabstop

Problem:    Crash with linebreak, listchars and large tabstop.
Solution:   Account for different size listchars for a tab. (closes #8841)

3 years agopatch 8.2.3409: reading beyond end of line with invalid utf-8 character v8.2.3409
Bram Moolenaar [Tue, 7 Sep 2021 17:26:53 +0000 (19:26 +0200)]
patch 8.2.3409: reading beyond end of line with invalid utf-8 character

Problem:    Reading beyond end of line with invalid utf-8 character.
Solution:   Check for NUL when advancing.

3 years agopatch 8.2.3408: can delete a numbered function v8.2.3408
Bram Moolenaar [Mon, 6 Sep 2021 18:56:56 +0000 (20:56 +0200)]
patch 8.2.3408: can delete a numbered function

Problem:    Can delete a numbered function. (Naohiro Ono)
Solution:   Disallow deleting a numbered function. (closes #8760)

3 years agopatch 8.2.3407: using uninitialized memory with "let g:['bar'] = 2" v8.2.3407
Bram Moolenaar [Mon, 6 Sep 2021 17:19:45 +0000 (19:19 +0200)]
patch 8.2.3407: using uninitialized memory with "let g:['bar'] = 2"

Problem:    Using uninitialized memory with "let g:['bar'] = 2".
Solution:   Initialize v_type of a new dict item.

3 years agopatch 8.2.3406: on some systems tests fail without _REENTRANT v8.2.3406
Bram Moolenaar [Mon, 6 Sep 2021 16:57:30 +0000 (18:57 +0200)]
patch 8.2.3406: on some systems tests fail without _REENTRANT

Problem:    On some systems tests fail without _REENTRANT. (Elimar
            Riesebieter)
Solution:   Add -D_REENTRANT in configure. (closes #7402)

3 years agopatch 8.2.3405: cannot have a comment line in a {} block of a user command v8.2.3405
Bram Moolenaar [Mon, 6 Sep 2021 15:10:59 +0000 (17:10 +0200)]
patch 8.2.3405: cannot have a comment line in a {} block of a user command

Problem:    Cannot have a comment line in a {} block of a user command.
Solution:   Continue after the line break. (closes #8837)

3 years agopatch 8.2.3404: Vim9: no error for white space before "(" v8.2.3404
Bram Moolenaar [Sun, 5 Sep 2021 14:36:23 +0000 (16:36 +0200)]
patch 8.2.3404: Vim9: no error for white space before "("

Problem:    Vim9: no error for white space before "(".
Solution:   Give an error, like in a compiled function.

3 years agopatch 8.2.3403: memory leak for :retab with invalid argument v8.2.3403
Bram Moolenaar [Sat, 4 Sep 2021 19:20:41 +0000 (21:20 +0200)]
patch 8.2.3403: memory leak for :retab with invalid argument

Problem:    Memory leak for :retab with invalid argument.
Solution:   Free the memory.  Make error messages consistent.

3 years agopatch 8.2.3402: invalid memory access when using :retab with large value v8.2.3402
Bram Moolenaar [Sat, 4 Sep 2021 16:47:28 +0000 (18:47 +0200)]
patch 8.2.3402: invalid memory access when using :retab with large value

Problem:    Invalid memory access when using :retab with large value.
Solution:   Check the number is positive.

3 years agopatch 8.2.3401: Vim9: cannot use negative count with finddir() and findfile() v8.2.3401
Bram Moolenaar [Sat, 4 Sep 2021 12:49:56 +0000 (14:49 +0200)]
patch 8.2.3401: Vim9: cannot use negative count with finddir() and findfile()

Problem:    Vim9: cannot use a negative count with finddir() and findfile().
Solution:   Adjust the return type. (closes #8776)

3 years agopatch 8.2.3400: ":z!" is not supported v8.2.3400
Dominique Pelle [Sat, 4 Sep 2021 11:44:01 +0000 (13:44 +0200)]
patch 8.2.3400: ":z!" is not supported

Problem:    ":z!" is not supported.
Solution:   Make ":z!" work and add tests. (Dominique Pellé, closes #8836)
            Use display height instead of current window height.

3 years agopatch 8.2.3399: Octave files are not recognized v8.2.3399
Bram Moolenaar [Fri, 3 Sep 2021 17:21:36 +0000 (19:21 +0200)]
patch 8.2.3399: Octave files are not recognized

Problem:    Octave files are not recognized.
Solution:   Detect Octave files. (Doug Kearns)

3 years agopatch 8.2.3398: html text objects are not fully tested v8.2.3398
Dominique Pelle [Fri, 3 Sep 2021 14:50:16 +0000 (16:50 +0200)]
patch 8.2.3398: html text objects are not fully tested

Problem:    Html text objects are not fully tested.
Solution:   Add tests for dbcs encoding and different number of backslashes.
            (Dominique Pellé, closes #8831)

3 years agopatch 8.2.3397: no test for what 8.2.3391 fixes v8.2.3397
Yegappan Lakshmanan [Thu, 2 Sep 2021 18:05:26 +0000 (20:05 +0200)]
patch 8.2.3397: no test for what 8.2.3391 fixes

Problem:    No test for what 8.2.3391 fixes.
Solution:   Add a test. (Yegappan Lakshmanan, closes #8828)

3 years agopatch 8.2.3396: when libcall() fails invalid pointer may be used v8.2.3396
Bram Moolenaar [Thu, 2 Sep 2021 17:53:07 +0000 (19:53 +0200)]
patch 8.2.3396: when libcall() fails invalid pointer may be used

Problem:    When libcall() fails invalid pointer may be used.
Solution:   Initialize the string to NULL. (Yasuhiro Matsumoto, closes #8829)

3 years agopatch 8.2.3395: Vim9: expression breakpoint not checked in :def function v8.2.3395
Bram Moolenaar [Thu, 2 Sep 2021 16:49:06 +0000 (18:49 +0200)]
patch 8.2.3395: Vim9: expression breakpoint not checked in :def function

Problem:    Vim9: expression breakpoint not checked in :def function.
Solution:   Always compile a function for debugging if there is an expression
            breakpoint. (closes #8803)

3 years agopatch 8.2.3394: filler lines are wrong when changing text in diff mode v8.2.3394
Bram Moolenaar [Wed, 1 Sep 2021 14:02:07 +0000 (16:02 +0200)]
patch 8.2.3394: filler lines are wrong when changing text in diff mode

Problem:    Filler lines are wrong when changing text in diff mode.
Solution:   Don't change the filler lines on every change.  Check
            scrollbinding when updating the filler lines. (closes #8809)

3 years agopatch 8.2.3393: escaping for fish shell is skipping some characters v8.2.3393
Bram Moolenaar [Wed, 1 Sep 2021 12:31:51 +0000 (14:31 +0200)]
patch 8.2.3393: escaping for fish shell is skipping some characters

Problem:    Escaping for fish shell is skipping some characters.
Solution:   Escape character after backslash if needed. (Jason Cox,
            closes #8827)

3 years agopatch 8.2.3392: augroup completion escapes regexp pattern characters v8.2.3392
Bram Moolenaar [Wed, 1 Sep 2021 11:03:39 +0000 (13:03 +0200)]
patch 8.2.3392: augroup completion escapes regexp pattern characters

Problem:    augroup completion escapes regexp pattern characters.
Solution:   Do not escape the augroup name. (closes #8826)

3 years agopatch 8.2.3391: crash with combination of 'linebreak' and other options v8.2.3391
Bram Moolenaar [Tue, 31 Aug 2021 18:57:55 +0000 (20:57 +0200)]
patch 8.2.3391: crash with combination of 'linebreak' and other options

Problem:    Crash with combination of 'linebreak' and other options.
Solution:   Avoid n_extra to become negative. (Christian Brabandt,
            closes #8817)

3 years agopatch 8.2.3390: included xdiff code is outdated v8.2.3390
Christian Brabandt [Tue, 31 Aug 2021 18:46:39 +0000 (20:46 +0200)]
patch 8.2.3390: included xdiff code is outdated

Problem:    Included xdiff code is outdated.
Solution:   Sync with xdiff in git 2.33. (Christian Brabandt, closes #8431)

3 years agopatch 8.2.3389: cannot stop insert mode completion without side effects v8.2.3389
zeertzjq [Tue, 31 Aug 2021 17:12:51 +0000 (19:12 +0200)]
patch 8.2.3389: cannot stop insert mode completion without side effects

Problem:    Cannot stop insert mode completion without side effects.
Solution:   Add CTRL-X CTRL-Z. (closes #8821)

3 years agopatch 8.2.3388: fnamemodify('path/..', ':p') differs from using 'path/../' v8.2.3388
Bram Moolenaar [Mon, 30 Aug 2021 19:26:16 +0000 (21:26 +0200)]
patch 8.2.3388: fnamemodify('path/..', ':p') differs from using 'path/../'

Problem:    fnamemodify('path/..', ':p') differs from using 'path/../'.
Solution:   Include the "/.." in the directory name. (closes #8808)

3 years agopatch 8.2.3387: compiler warning for non-static function v8.2.3387
Dominique Pelle [Mon, 30 Aug 2021 17:57:34 +0000 (19:57 +0200)]
patch 8.2.3387: compiler warning for non-static function

Problem:    Compiler warning for non-static function.
Solution:   Make the function static. (Dominique Pellé, closes #8816)

3 years agopatch 8.2.3386: using uninitialized memory v8.2.3386
Dominique Pelle [Sun, 29 Aug 2021 20:12:56 +0000 (22:12 +0200)]
patch 8.2.3386: using uninitialized memory

Problem:    Using uninitialized memory.
Solution:   Initialize the rm_ic field. (Dominique Pellé, closes #8800)

3 years agoUpdate runtime files
Bram Moolenaar [Sun, 29 Aug 2021 19:55:35 +0000 (21:55 +0200)]
Update runtime files