]> granicus.if.org Git - vim/log
vim
3 years agopatch 8.2.3729: no support for squirrels v8.2.3729
Matt Dunford [Fri, 3 Dec 2021 17:44:26 +0000 (17:44 +0000)]
patch 8.2.3729: no support for squirrels

Problem:    No support for squirrels. (closes #9259)
Solution:   Recognize nuts.

3 years agopatch 8.2.3728: internal error when passing range() to list2blob() v8.2.3728
kuuote [Fri, 3 Dec 2021 13:57:00 +0000 (13:57 +0000)]
patch 8.2.3728: internal error when passing range() to list2blob()

Problem:    Internal error when passing range() to list2blob().
Solution:   Materialize the list first. (closes #9262)

3 years agopatch 8.2.3727: in a gnome terminal keys are recognized as mouse events v8.2.3727
Bram Moolenaar [Fri, 3 Dec 2021 13:20:29 +0000 (13:20 +0000)]
patch 8.2.3727: in a gnome terminal keys are recognized as mouse events

Problem:    In a gnome terminal keys are recognized as mouse events.
Solution:   Only recognize DEC mouse events when four numbers are following.
            (closes #9256)

3 years agopatch 8.2.3726: README file in a config directory gets wrong filetype v8.2.3726
Bram Moolenaar [Fri, 3 Dec 2021 11:44:03 +0000 (11:44 +0000)]
patch 8.2.3726: README file in a config directory gets wrong filetype

Problem:    README file in a config directory gets wrong filetype.
Solution:   Match README before patterns that match everything in a directory.

3 years agopatch 8.2.3725: cannot use a lambda for 'completefunc' and 'omnifunc' v8.2.3725
Yegappan Lakshmanan [Fri, 3 Dec 2021 11:09:29 +0000 (11:09 +0000)]
patch 8.2.3725: cannot use a lambda for 'completefunc' and 'omnifunc'

Problem:    Cannot use a lambda for 'completefunc' and 'omnifunc'.
Solution:   Implement lambda support. (Yegappan Lakshmanan, closes #9257)

3 years agopatch 8.2.3724: build error for missing error message in small build v8.2.3724
Bram Moolenaar [Thu, 2 Dec 2021 20:44:42 +0000 (20:44 +0000)]
patch 8.2.3724: build error for missing error message in small build

Problem:    Build error for missing error message in small build.
Solution:   Correct #ifdef.

3 years agopatch 8.2.3723: when using 'linebreak' a text property starts too early v8.2.3723
Bram Moolenaar [Thu, 2 Dec 2021 19:46:57 +0000 (19:46 +0000)]
patch 8.2.3723: when using 'linebreak' a text property starts too early

Problem:    When using 'linebreak' a text property starts too early.
Solution:   Decrement "bcol" when looking for property start. (closes #9242)

3 years agopatch 8.2.3722: Amiga: superfluous messages for freeing lots of yanked text v8.2.3722
Bram Moolenaar [Thu, 2 Dec 2021 18:55:16 +0000 (18:55 +0000)]
patch 8.2.3722: Amiga: superfluous messages for freeing lots of yanked text

Problem:    Amiga: superfluous messages for freeing lots of yanked text.
Solution:   Assume that the machine isn't that slow these days.

3 years agopatch 8.2.3721: using memory freed by losing the clipboard selection v8.2.3721
Bram Moolenaar [Thu, 2 Dec 2021 18:42:33 +0000 (18:42 +0000)]
patch 8.2.3721: using memory freed by losing the clipboard selection

Problem:    Using memory freed by losing the clipboard selection. (Dominique
            Pellé)
Solution:   Check y_array is still valid after calling changed_lines().
            (closes #9253)

3 years agopatch 8.2.3720: Vim9: Internal error when invoking closure in legacy context v8.2.3720
Bram Moolenaar [Thu, 2 Dec 2021 16:38:52 +0000 (16:38 +0000)]
patch 8.2.3720: Vim9: Internal error when invoking closure in legacy context

Problem:    Vim9: Internal error when invoking closure in legacy context.
Solution:   Give a more appropriate error message. (closes #9251)

3 years agopatch 8.2.3719: MS-Windows: test sometimes runs into existing swap file v8.2.3719
Bram Moolenaar [Thu, 2 Dec 2021 12:30:22 +0000 (12:30 +0000)]
patch 8.2.3719: MS-Windows: test sometimes runs into existing swap file

Problem:    MS-Windows: test sometimes runs into existing swap file.
Solution:   Use a different file name.

3 years agopatch 8.2.3718: compiler warns for unused variable without +textprop v8.2.3718
Bram Moolenaar [Thu, 2 Dec 2021 11:34:21 +0000 (11:34 +0000)]
patch 8.2.3718: compiler warns for unused variable without +textprop

Problem:    Compiler warns for unused variable without the +textprop feature.
            (John Marriott)
Solution:   Adjust #ifdefs.

3 years agopatch 8.2.3717: Vim9: error for constant list size is only given at runtime v8.2.3717
Bram Moolenaar [Wed, 1 Dec 2021 17:38:01 +0000 (17:38 +0000)]
patch 8.2.3717: Vim9: error for constant list size is only given at runtime

Problem:    Vim9: error for constant list size is only given at runtime.
Solution:   Give the error at compile time if possible.

3 years agopatch 8.2.3716: Vim9: range without a command is not compiled v8.2.3716
Bram Moolenaar [Wed, 1 Dec 2021 15:22:56 +0000 (15:22 +0000)]
patch 8.2.3716: Vim9: range without a command is not compiled

Problem:    Vim9: range without a command is not compiled.
Solution:   Add the ISN_EXECRANGE byte code.

3 years agopatch 8.2.3715: Vim9: valgrind reports spurious problems for a test v8.2.3715
Bram Moolenaar [Wed, 1 Dec 2021 12:41:31 +0000 (12:41 +0000)]
patch 8.2.3715: Vim9: valgrind reports spurious problems for a test

Problem:    Vim9: valgrind reports spurious problems for a test.
Solution:   Move the test to the set that is known to fail.

3 years agopatch 8.2.3714: some unused assignments and ugly code in xxd v8.2.3714
DungSaga [Wed, 1 Dec 2021 11:24:52 +0000 (11:24 +0000)]
patch 8.2.3714: some unused assignments and ugly code in xxd

Problem:    Some unused assignments and ugly code in xxd.
Solution:   Leave out assignments.  Use marcro for fprintf(). (closes #9246)

3 years agopatch 8.2.3713: MS-Windows: no error if vimgrep pattern is not matching v8.2.3713
Christian Brabandt [Wed, 1 Dec 2021 10:54:24 +0000 (10:54 +0000)]
patch 8.2.3713: MS-Windows: no error if vimgrep pattern is not matching

Problem:    MS-Windows: No error message if vimgrep pattern is not matching.
Solution:   Give an error message. (Christian Brabandt, closes #9245,
            closes #8762)

3 years agopatch 8.2.3712: cannot use Vim9 lambda for 'tagfunc' v8.2.3712
Yegappan Lakshmanan [Wed, 1 Dec 2021 10:30:07 +0000 (10:30 +0000)]
patch 8.2.3712: cannot use Vim9 lambda for 'tagfunc'

Problem:    Cannot use Vim9 lambda for 'tagfunc'.
Solution:   Make it work, add more tests. (Yegappan Lakshmanan, closes #9250)

3 years agopatch 8.2.3711: Vim9: memory leak when compiling :elseif fails v8.2.3711
Bram Moolenaar [Wed, 1 Dec 2021 10:10:22 +0000 (10:10 +0000)]
patch 8.2.3711: Vim9: memory leak when compiling :elseif fails

Problem:    Vim9: memory leak when compiling :elseif fails.
Solution:   Cleanup ppconst.

3 years agopatch 8.2.3710: Vim9: backtick expression expanded for :global v8.2.3710
Bram Moolenaar [Wed, 1 Dec 2021 09:27:20 +0000 (09:27 +0000)]
patch 8.2.3710: Vim9: backtick expression expanded for :global

Problem:    Vim9: backtick expression expanded for :global.
Solution:   Check the following command.

3 years agopatch 8.2.3709: Vim9: backtick expression expanded when not desired v8.2.3709
Bram Moolenaar [Tue, 30 Nov 2021 21:58:19 +0000 (21:58 +0000)]
patch 8.2.3709: Vim9: backtick expression expanded when not desired

Problem:    Vim9: backtick expression expanded when not desired.
Solution:   Only expand a backtick expression for commands that expand their
            argument.  Remove a few outdated TODO comments.

3 years agopatch 8.2.3708: Vim9: test fails with different error v8.2.3708
Bram Moolenaar [Tue, 30 Nov 2021 21:39:39 +0000 (21:39 +0000)]
patch 8.2.3708: Vim9: test fails with different error

Problem:    Vim9: test fails with different error.
Solution:   Correct the error number.

3 years agopatch 8.2.3707: Vim9: constant expression of elseif not recognized v8.2.3707
Bram Moolenaar [Tue, 30 Nov 2021 20:57:38 +0000 (20:57 +0000)]
patch 8.2.3707: Vim9: constant expression of elseif not recognized

Problem:    Vim9: constant expression of elseif not recognized.
Solution:   Set instruction count before generating the expression.

3 years agopatch 8.2.3706: text property highlighting is used on Tab v8.2.3706
Bram Moolenaar [Tue, 30 Nov 2021 20:22:49 +0000 (20:22 +0000)]
patch 8.2.3706: text property highlighting is used on Tab

Problem:    Text property highlighting is used on Tab.
Solution:   Only set in_linebreak when not on a Tab. (closes #9242)

3 years agopatch 8.2.3705: cannot pass a lambda name to function() or funcref() v8.2.3705
Bram Moolenaar [Tue, 30 Nov 2021 18:25:08 +0000 (18:25 +0000)]
patch 8.2.3705: cannot pass a lambda name to function() or funcref()

Problem:    Cannot pass a lambda name to function() or funcref(). (Yegappan
            Lakshmanan)
Solution:   Handle a lambda name differently.

3 years agopatch 8.2.3704: Vim9: cannot use a list declaration in a :def function v8.2.3704
Bram Moolenaar [Tue, 30 Nov 2021 16:14:49 +0000 (16:14 +0000)]
patch 8.2.3704: Vim9: cannot use a list declaration in a :def function

Problem:    Vim9: cannot use a list declaration in a :def function.
Solution:   Make it work.

3 years agopatch 8.2.3703: most people call F# "fsharp" and not "fs" v8.2.3703
Bram Moolenaar [Tue, 30 Nov 2021 13:02:58 +0000 (13:02 +0000)]
patch 8.2.3703: most people call F# "fsharp" and not "fs"

Problem:    Most people call F# "fsharp" and not "fs".
Solution:   Rename filetype "fs" to "fsharp".

3 years agopatch 8.2.3702: first key in dict is seen as curly expression and fails v8.2.3702
Bram Moolenaar [Tue, 30 Nov 2021 11:56:22 +0000 (11:56 +0000)]
patch 8.2.3702: first key in dict is seen as curly expression and fails

Problem:    First key in dict is seen as curly expression and fails.
Solution:   Ignore failure of curly expression. (closes #9247)

3 years agopatch 8.2.3701: Vim9: invalid LHS is not possible v8.2.3701
Bram Moolenaar [Mon, 29 Nov 2021 22:02:12 +0000 (22:02 +0000)]
patch 8.2.3701: Vim9: invalid LHS is not possible

Problem:    Vim9: invalid LHS is not possible.
Solution:   Remove unreachable error message.

3 years agopatch 8.2.3700: text property highlighting continues over breakindent v8.2.3700
Bram Moolenaar [Mon, 29 Nov 2021 21:12:35 +0000 (21:12 +0000)]
patch 8.2.3700: text property highlighting continues over breakindent

Problem:    Text property highlighting continues over breakindent.
Solution:   Stop before the end column. (closes #9242)

3 years agopatch 8.2.3699: the +title feature adds a lot of #ifdef but little code v8.2.3699
Bram Moolenaar [Mon, 29 Nov 2021 20:39:38 +0000 (20:39 +0000)]
patch 8.2.3699: the +title feature adds a lot of #ifdef but little code

Problem:    The +title feature adds a lot of #ifdef but little code.
Solution:   Graduate the +title feature.

3 years agopatch 8.2.3698: match highlighting continues over breakindent v8.2.3698
Bram Moolenaar [Mon, 29 Nov 2021 19:18:57 +0000 (19:18 +0000)]
patch 8.2.3698: match highlighting continues over breakindent

Problem:    Match highlighting continues over breakindent.
Solution:   Stop before the end column. (closes #9242)

3 years agopatch 8.2.3697: cannot drag a popup without a border v8.2.3697
Bram Moolenaar [Mon, 29 Nov 2021 17:38:02 +0000 (17:38 +0000)]
patch 8.2.3697: cannot drag a popup without a border

Problem:    Cannot drag a popup without a border.
Solution:   Add the "dragall" option. (closes #9218)

3 years agopatch 8.2.3696: Vim9: error for invalid assignment when skipping v8.2.3696
Bram Moolenaar [Mon, 29 Nov 2021 16:01:49 +0000 (16:01 +0000)]
patch 8.2.3696: Vim9: error for invalid assignment when skipping

Problem:    Vim9: error for invalid assignment when skipping.
Solution:   Do not check white space when skipping. (closes #9243)

3 years agopatch 8.2.3695: confusing error for missing key v8.2.3695
Bram Moolenaar [Mon, 29 Nov 2021 13:44:55 +0000 (13:44 +0000)]
patch 8.2.3695: confusing error for missing key

Problem:    Confusing error for missing key.
Solution:   Use the actualy key for the error. (closes #9241)

3 years agopatch 8.2.3694: cannot use quotes in the count of an Ex command v8.2.3694
Bram Moolenaar [Mon, 29 Nov 2021 12:12:43 +0000 (12:12 +0000)]
patch 8.2.3694: cannot use quotes in the count of an Ex command

Problem:    Cannot use quotes in the count of an Ex command.
Solution:   Add getdigits_quoted().  Give an error when misplacing a quote in
            a range. (closes #9240)

3 years agopatch 8.2.3693: Coverity warns for possibly using a NULL pointer v8.2.3693
Bram Moolenaar [Mon, 29 Nov 2021 10:36:19 +0000 (10:36 +0000)]
patch 8.2.3693: Coverity warns for possibly using a NULL pointer

Problem:    Coverity warns for possibly using a NULL pointer.
Solution:   Check for NULL and give an error.

3 years agopatch 8.2.3692: Vim9: cannot use :func inside a :def function v8.2.3692
Bram Moolenaar [Sun, 28 Nov 2021 22:00:12 +0000 (22:00 +0000)]
patch 8.2.3692: Vim9: cannot use :func inside a :def function

Problem:    Vim9: cannot use :func inside a :def function.
Solution:   Make it work.

3 years agopatch 8.2.3691: build failure with small features v8.2.3691
Bram Moolenaar [Sun, 28 Nov 2021 21:33:36 +0000 (21:33 +0000)]
patch 8.2.3691: build failure with small features

Problem:    Build failure with small features.
Solution:   Add #ifdef. (Dominique Pellé)

3 years agopatch 8.2.3690: Vim9: "filter #pat# cmd" does not work v8.2.3690
Bram Moolenaar [Sun, 28 Nov 2021 20:24:17 +0000 (20:24 +0000)]
patch 8.2.3690: Vim9: "filter #pat# cmd" does not work

Problem:    Vim9: "filter #pat# cmd" does not work.
Solution:   Do not see #pat# as a comment.

3 years agopatch 8.2.3689: ex_let_one() is too long v8.2.3689
Bram Moolenaar [Sun, 28 Nov 2021 19:53:42 +0000 (19:53 +0000)]
patch 8.2.3689: ex_let_one() is too long

Problem:    ex_let_one() is too long.
Solution:   Split into multiple functions.

3 years agopatch 8.2.3688: the window title is not updated when dragging the scrollbar v8.2.3688
Christian Brabandt [Sun, 28 Nov 2021 18:41:05 +0000 (18:41 +0000)]
patch 8.2.3688: the window title is not updated when dragging the scrollbar

Problem:    The window title is not updated when dragging the scrollbar.
Solution:   Call maketitle(). (Christian Brabandt, closes #9238, closes #5383)

3 years agopatch 8.2.3687: blockwise insert does not handle autoindent properly v8.2.3687
Bram Moolenaar [Sat, 27 Nov 2021 22:47:43 +0000 (22:47 +0000)]
patch 8.2.3687: blockwise insert does not handle autoindent properly

Problem:    Blockwise insert does not handle autoindent properly when tab is
            inserted.
Solution:   Adjust text column for indent before computing column.
            (closes #9229)

3 years agopatch 8.2.3686: filetype detection often mixes up Forth and F# v8.2.3686
Bram Moolenaar [Sat, 27 Nov 2021 17:22:07 +0000 (17:22 +0000)]
patch 8.2.3686: filetype detection often mixes up Forth and F#

Problem:    Filetype detection often mixes up Forth and F#.
Solution:   Add a function to inspect the file contents. (Doug Kearns)

3 years agopatch 8.2.3685: Visual studio project files are not recognized v8.2.3685
Bram Moolenaar [Sat, 27 Nov 2021 14:31:47 +0000 (14:31 +0000)]
patch 8.2.3685: Visual studio project files are not recognized

Problem:    Visual studio project files are not recognized.
Solution:   Use the xml file type. (Doug Kearns)

3 years agopatch 8.2.3684: blockwise insert does not handle autoindent properly v8.2.3684
Bram Moolenaar [Sat, 27 Nov 2021 13:28:24 +0000 (13:28 +0000)]
patch 8.2.3684: blockwise insert does not handle autoindent properly

Problem:    Blockwise insert does not handle autoindent properly.
Solution:   Adjust text column for indent. (closes #9229)

3 years agopatch 8.2.3683: Vim9: cannot use in :...do commands v8.2.3683
Bram Moolenaar [Sat, 27 Nov 2021 11:42:50 +0000 (11:42 +0000)]
patch 8.2.3683: Vim9: cannot use  in :...do commands

Problem:    Vim9: cannot use  in :...do commands.
Solution:   Add EX_EXPAND to the commands. (closes #9232)

3 years agoUpdate runtime files.
Bram Moolenaar [Sat, 27 Nov 2021 10:57:26 +0000 (10:57 +0000)]
Update runtime files.

3 years agopatch 8.2.3682: Vim9: assigning to a script variable drops the type v8.2.3682
Bram Moolenaar [Fri, 26 Nov 2021 17:36:51 +0000 (17:36 +0000)]
patch 8.2.3682: Vim9: assigning to a script variable drops the type

Problem:    Vim9: assigning to a script variable drops the required type.
Solution:   Lookup the type of the variable and use it. (closes #9219)

3 years agopatch 8.2.3681: cannot drag popup window after click on a status line v8.2.3681
Bram Moolenaar [Fri, 26 Nov 2021 15:57:40 +0000 (15:57 +0000)]
patch 8.2.3681: cannot drag popup window after click on a status line

Problem:    Cannot drag popup window after click on a status line. (Sergey
            Vlasov)
Solution:   Reset on_status_line. (closes #9221)

3 years agopatch 8.2.3680: repeated code in xxd v8.2.3680
DungSaga [Fri, 26 Nov 2021 13:59:27 +0000 (13:59 +0000)]
patch 8.2.3680: repeated code in xxd

Problem:    Repeated code in xxd.
Solution:   Change exit_on_ferror() to getc_or_die(). (closes #9226)

3 years agopatch 8.2.3679: objc file detected as Octave v8.2.3679
Doug Kearns [Fri, 26 Nov 2021 13:01:41 +0000 (13:01 +0000)]
patch 8.2.3679: objc file detected as Octave

Problem:    objc file detected as Octave. (Antony Lee)
Solution:   Detect objc by preprocessor lines. (Doug Kearns, closes #9223,
            closes #9220)

3 years agopatch 8.2.3678: illegal memory access v8.2.3678
Bram Moolenaar [Thu, 25 Nov 2021 20:40:11 +0000 (20:40 +0000)]
patch 8.2.3678: illegal memory access

Problem:    Illegal memory access.
Solution:   Ignore changed indent when computing byte offset.

3 years agopatch 8.2.3677: after a put the '] mark is on the last byte v8.2.3677
Bram Moolenaar [Thu, 25 Nov 2021 19:31:15 +0000 (19:31 +0000)]
patch 8.2.3677: after a put the '] mark is on the last byte

Problem:    After a put the '] mark is on the last byte of a multi-byte
            character.
Solution:   Move it to the first byte. (closes #9047)

3 years agopatch 8.2.3676: unused runtime file v8.2.3676
Bram Moolenaar [Thu, 25 Nov 2021 15:11:03 +0000 (15:11 +0000)]
patch 8.2.3676: unused runtime file

Problem:    Unused runtime file.
Solution:   Remove rgb.txt.

3 years agopatch 8.2.3675: using freed memory when vim_strsave() fails v8.2.3675
Bram Moolenaar [Thu, 25 Nov 2021 14:43:18 +0000 (14:43 +0000)]
patch 8.2.3675: using freed memory when vim_strsave() fails

Problem:    Using freed memory when vim_strsave() fails.
Solution:   Clear "last_sourcing_name".  Check for msg_source() called
            recursively. (closes #8217)

3 years agopatch 8.2.3674: when ml_get_buf() fails it messes up IObuff v8.2.3674
Bram Moolenaar [Thu, 25 Nov 2021 13:52:37 +0000 (13:52 +0000)]
patch 8.2.3674: when ml_get_buf() fails it messes up IObuff

Problem:    When ml_get_buf() fails it messes up IObuff.
Solution:   Return a local pointer. (closes #9214)

3 years agopatch 8.2.3673: crash when allocating signal stack fails v8.2.3673
Bram Moolenaar [Thu, 25 Nov 2021 13:39:28 +0000 (13:39 +0000)]
patch 8.2.3673: crash when allocating signal stack fails

Problem:    Crash when allocating signal stack fails.
Solution:   Only using sourcing info when available. (closes #9215)

3 years agopatch 8.2.3672: build failure with unsigned char v8.2.3672
Bram Moolenaar [Thu, 25 Nov 2021 13:26:19 +0000 (13:26 +0000)]
patch 8.2.3672: build failure with unsigned char

Problem:    Build failure with unsigned char.
Solution:   Use int instead of char.

3 years agopatch 8.2.3671: restarting Insert mode in prompt buffer too often v8.2.3671
Bram Moolenaar [Thu, 25 Nov 2021 13:04:48 +0000 (13:04 +0000)]
patch 8.2.3671: restarting Insert mode in prompt buffer too often

Problem:    Restarting Insert mode in prompt buffer too often when a callback
            switches windows and comes back. (Sean Dewar)
Solution:   Do not set "restart_edit" when already in Insert mode.

3 years agopatch 8.2.3670: error checks repeated several times v8.2.3670
Bram Moolenaar [Thu, 25 Nov 2021 11:16:50 +0000 (11:16 +0000)]
patch 8.2.3670: error checks repeated several times

Problem:    Error checks repeated several times.
Solution:   Move the checks to functions. (closes #9213)

3 years agopatch 8.2.3669: buffer overflow with long help argument v8.2.3669
Bram Moolenaar [Thu, 25 Nov 2021 10:50:12 +0000 (10:50 +0000)]
patch 8.2.3669: buffer overflow with long help argument

Problem:    Buffer overflow with long help argument.
Solution:   Use snprintf().

3 years agopatch 8.2.3668: messages may be corrupted v8.2.3668
Yegappan Lakshmanan [Wed, 24 Nov 2021 20:28:31 +0000 (20:28 +0000)]
patch 8.2.3668: messages may be corrupted

Problem:    Messages may be corrupted.
Solution:   Use another buffer instead of IObuff. (Yegappan Lakshmanan,
            closes #9195)

3 years agopatch 8.2.3667: building libvterm fails with MSVC v8.2.3667
Bram Moolenaar [Wed, 24 Nov 2021 19:55:46 +0000 (19:55 +0000)]
patch 8.2.3667: building libvterm fails with MSVC

Problem:    Building libvterm fails with MSVC.
Solution:   Don't use C99 construct.

3 years agopatch 8.2.3666: libvterm is outdated v8.2.3666
Bram Moolenaar [Wed, 24 Nov 2021 19:30:55 +0000 (19:30 +0000)]
patch 8.2.3666: libvterm is outdated

Problem:    Libvterm is outdated.
Solution:   Include patches from revision 769 to revision 789.

3 years agopatch 8.2.3665: cannot use a lambda for 'tagfunc' v8.2.3665
Yegappan Lakshmanan [Wed, 24 Nov 2021 16:32:55 +0000 (16:32 +0000)]
patch 8.2.3665: cannot use a lambda for 'tagfunc'

Problem:    Cannot use a lambda for 'tagfunc'.
Solution:   Use 'tagfunc' like 'opfunc'. (Yegappan Lakshmanan, closes #9204)

3 years agopatch 8.2.3664: cannot adjust sign highlighting for 'cursorline' v8.2.3664
Bram Moolenaar [Wed, 24 Nov 2021 16:20:13 +0000 (16:20 +0000)]
patch 8.2.3664: cannot adjust sign highlighting for 'cursorline'

Problem:    Cannot adjust sign highlighting for 'cursorline'.
Solution:   Add CursorLineSign and CursorLineFold highlight groups.
            (Gregory Anders, closes #9201)

3 years agopatch 8.2.3663: using %S in printf() does not work correctly v8.2.3663
presuku [Wed, 24 Nov 2021 15:32:57 +0000 (15:32 +0000)]
patch 8.2.3663: using %S in printf() does not work correctly

Problem:    Using %S in printf() does not work correctly.
Solution:   Fix the problem and add more tests. (closes #9208)

3 years agopatch 8.2.3662: illegal memory access if malloc() fails v8.2.3662
Bram Moolenaar [Wed, 24 Nov 2021 15:13:26 +0000 (15:13 +0000)]
patch 8.2.3662: illegal memory access if malloc() fails

Problem:    Illegal memory access if malloc() fails.
Solution:   Check 'foldmethod' is not empty. (closes #9207)

3 years agopatch 8.2.3661: test for put with large count fails v8.2.3661
Bram Moolenaar [Wed, 24 Nov 2021 14:59:17 +0000 (14:59 +0000)]
patch 8.2.3661: test for put with large count fails

Problem:    Test for put with large count fails.
Solution:   Adjust the counts in the test.

3 years agopatch 8.2.3660: overflow check uses wrong number v8.2.3660
Bram Moolenaar [Wed, 24 Nov 2021 13:40:29 +0000 (13:40 +0000)]
patch 8.2.3660: overflow check uses wrong number

Problem:    Overflow check uses wrong number.
Solution:   Divide by ten.

3 years agopatch 8.2.3659: integer overflow with large line number v8.2.3659
Bram Moolenaar [Wed, 24 Nov 2021 12:17:53 +0000 (12:17 +0000)]
patch 8.2.3659: integer overflow with large line number

Problem:    Integer overflow with large line number.
Solution:   Check for overflow. (closes #9202)

3 years agopatch 8.2.3658: duplicate code in xxd v8.2.3658
DungSaga [Wed, 24 Nov 2021 11:18:07 +0000 (11:18 +0000)]
patch 8.2.3658: duplicate code in xxd

Problem:    Duplicate code in xxd.
Solution:   Merge duplicated code. Add more tests. (closes #9192)

3 years agopatch 8.2.3657: Vim9: debug text misses one line of return statement v8.2.3657
Bram Moolenaar [Tue, 23 Nov 2021 22:16:34 +0000 (22:16 +0000)]
patch 8.2.3657: Vim9: debug text misses one line of return statement

Problem:    Vim9: debug text misses one line of return statement.
Solution:   Add a line when not at a debug instruction. (closes #9137)

3 years agopatch 8.2.3656: Vim9: no error for an evironment variable by itself v8.2.3656
Bram Moolenaar [Tue, 23 Nov 2021 14:52:06 +0000 (14:52 +0000)]
patch 8.2.3656: Vim9: no error for an evironment variable by itself

Problem:    Vim9: no error for an evironment variable by itself.
Solution:   Give a "without effect" error. (closes #9166)

3 years agopatch 8.2.3655: compiler warning for using size_t for int v8.2.3655
Mike Williams [Tue, 23 Nov 2021 12:35:57 +0000 (12:35 +0000)]
patch 8.2.3655: compiler warning for using size_t for int

Problem:    Compiler warning for using size_t for int.
Solution:   Add a type cast. (Mike Williams, closes #9199)

3 years agopatch 8.2.3654: GTK: a touch-drag does not update the selection v8.2.3654
Chris Dalton [Tue, 23 Nov 2021 12:27:48 +0000 (12:27 +0000)]
patch 8.2.3654: GTK: a touch-drag does not update the selection

Problem:    GTK: a touch-drag does not update the selection.
Solution:   Add GDK_BUTTON1_MASK to the state. (Chris Dalton, close #9196,
            closes #9194)

3 years agopatch 8.2.3653: terminal ANSI colors may be wrong v8.2.3653
Milly [Tue, 23 Nov 2021 12:07:25 +0000 (12:07 +0000)]
patch 8.2.3653: terminal ANSI colors may be wrong

Problem:    Terminal ANSI colors may be wrong.
Solution:   Initialize the color type. (closes #9198, closes #9197)

3 years agopatch 8.2.3652: can only get text properties one line at a time v8.2.3652
Yegappan Lakshmanan [Tue, 23 Nov 2021 11:46:32 +0000 (11:46 +0000)]
patch 8.2.3652: can only get text properties one line at a time

Problem:    Can only get text properties one line at a time.
Solution:   Add options to prop_list() to use a range of lines and filter by
            types. (Yegappan Lakshmanan, closes #9138)

3 years agopatch 8.2.3651: Vim9: no error for :lock or :unlock with unknown variable v8.2.3651
Bram Moolenaar [Mon, 22 Nov 2021 21:58:41 +0000 (21:58 +0000)]
patch 8.2.3651: Vim9: no error for :lock or :unlock with unknown variable

Problem:    Vim9: no error for :lock or :unlock with unknown variable.
Solution:   Give an error. (closes #9188)

3 years agopatch 8.2.3650: Vim9: for loop variable can be a list member v8.2.3650
Bram Moolenaar [Mon, 22 Nov 2021 20:10:18 +0000 (20:10 +0000)]
patch 8.2.3650: Vim9: for loop variable can be a list member

Problem:    Vim9: for loop variable can be a list member.
Solution:   Check for valid variable name. (closes #9179)

3 years agopatch 8.2.3649: Vim9: error for variable declared in while loop v8.2.3649
Bram Moolenaar [Mon, 22 Nov 2021 18:31:02 +0000 (18:31 +0000)]
patch 8.2.3649: Vim9: error for variable declared in while loop

Problem:    Vim9: error for variable declared in while loop.
Solution:   Do not keep the first variable. (closes #9191)

3 years agopatch 8.2.3648: "verbose pwd" is incorrect after dropping files on Vim v8.2.3648
Bram Moolenaar [Mon, 22 Nov 2021 17:21:48 +0000 (17:21 +0000)]
patch 8.2.3648: "verbose pwd" is incorrect after dropping files on Vim

Problem:    "verbose pwd" is incorrect after dropping files on Vim.
Solution:   Set the chdir reason to "drop".

3 years agopatch 8.2.3647: GTK: when using ligatures the cursor is drawn wrong v8.2.3647
Dusan Popovic [Mon, 22 Nov 2021 17:18:44 +0000 (17:18 +0000)]
patch 8.2.3647: GTK: when using ligatures the cursor is drawn wrong

Problem:    GTK: when using ligatures the cursor is drawn wrong.
Solution:   Clear more characters when ligatures are used. (Dusan Popovic,
            closes #9190)

3 years agopatch 8.2.3646: using <sfile> in a function gives an unexpected result v8.2.3646
Bram Moolenaar [Mon, 22 Nov 2021 15:37:15 +0000 (15:37 +0000)]
patch 8.2.3646: using <sfile> in a function gives an unexpected result

Problem:    Using <sfile> in a function gives an unexpected result.
Solution:   Give an error in a Vim9 function. (issue #9189)

3 years agopatch 8.2.3645: Vim9: The "no effect" error is not given for all registers v8.2.3645
Bram Moolenaar [Mon, 22 Nov 2021 15:05:46 +0000 (15:05 +0000)]
patch 8.2.3645: Vim9: The "no effect" error is not given for all registers

Problem:    Vim9: The "no effect" error is not given for all registers.
Solution:   Include any character following '@'. (closes #8779)

3 years agopatch 8.2.3644: count for 'operatorfunc' in Visual mode is not redone v8.2.3644
Bram Moolenaar [Mon, 22 Nov 2021 14:16:08 +0000 (14:16 +0000)]
patch 8.2.3644: count for 'operatorfunc' in Visual mode is not redone

Problem:    Count for 'operatorfunc' in Visual mode is not redone.
Solution:   Add the count to the redo buffer. (closes #9174)

3 years agopatch 8.2.3643: header for source file is outdated v8.2.3643
zeertzjq [Mon, 22 Nov 2021 12:47:39 +0000 (12:47 +0000)]
patch 8.2.3643: header for source file is outdated

Problem:    Header for source file is outdated.
Solution:   Make the header more accurate. (closes #9186)

3 years agopatch 8.2.3642: list of distributed files is outdated v8.2.3642
Bram Moolenaar [Mon, 22 Nov 2021 12:06:06 +0000 (12:06 +0000)]
patch 8.2.3642: list of distributed files is outdated

Problem:    List of distributed files is outdated.
Solution:   Rename term.h to termdefs.h.

3 years agopatch 8.2.3641: xxd code has duplicate expressions v8.2.3641
DungSaga [Mon, 22 Nov 2021 11:57:31 +0000 (11:57 +0000)]
patch 8.2.3641: xxd code has duplicate expressions

Problem:    Xxd code has duplicate expressions.
Solution:   Refactor to avoid duplication. (closes #9185)

3 years agoUpdate runtime files
Bram Moolenaar [Sun, 21 Nov 2021 21:13:36 +0000 (21:13 +0000)]
Update runtime files

3 years agopatch 8.2.3640: freeze when calling term_wait() in a close callback v8.2.3640
Bram Moolenaar [Sun, 21 Nov 2021 14:51:13 +0000 (14:51 +0000)]
patch 8.2.3640: freeze when calling term_wait() in a close callback

Problem:    Freeze when calling term_wait() in a close callback.
Solution:   Set a "closing" flag to tell term_wait() to return. (closes #9152)

3 years agopatch 8.2.3639: line commented out accidentally v8.2.3639
Volodymyr Kot [Sun, 21 Nov 2021 12:27:13 +0000 (12:27 +0000)]
patch 8.2.3639: line commented out accidentally

Problem:    Line commented out accidentally.
Solution:   Uncomment. (Volodymyr Kot, closes #9172)

3 years agopatch 8.2.3638: getcompletion() always passes zero as position v8.2.3638
ii14 [Sun, 21 Nov 2021 12:13:56 +0000 (12:13 +0000)]
patch 8.2.3638: getcompletion() always passes zero as position

Problem:    getcompletion() always passes zero as position to custom
            completion function.
Solution:   Pass the pattern length. (closes #9173)

3 years agopatch 8.2.3637: typos in test files v8.2.3637
Dominique Pelle [Sun, 21 Nov 2021 11:36:04 +0000 (11:36 +0000)]
patch 8.2.3637: typos in test files

Problem:    Typos in test files.
Solution:   Correct the typos. (Dominique Pellé, closes #9175)

3 years agopatch 8.2.3636: Coverity warns for unreachable code v8.2.3636
Bram Moolenaar [Sun, 21 Nov 2021 11:15:49 +0000 (11:15 +0000)]
patch 8.2.3636: Coverity warns for unreachable code

Problem:    Coverity warns for unreachable code.
Solution:   Remove unreachable else block.

3 years agopatch 8.2.3635: GTK: composing underline does not show v8.2.3635
Dusan Popovic [Sat, 20 Nov 2021 22:03:30 +0000 (22:03 +0000)]
patch 8.2.3635: GTK: composing underline does not show

Problem:    GTK: composing underline does not show.
Solution:   Include composing character in pango call. A few more
            optimizations for ligatures.  (Dusan Popovic, closes #9171,
            closes #9147)

3 years agopatch 8.2.3634: error for already defined function uses wrong line number v8.2.3634
Bram Moolenaar [Sat, 20 Nov 2021 21:46:20 +0000 (21:46 +0000)]
patch 8.2.3634: error for already defined function uses wrong line number

Problem:    Error for already defined function uses wrong line number.
Solution:   Set SOURCING_LNUM before giving the error message. (closes #9085)

3 years agopatch 8.2.3633: Vim9: line number of lambda is off by one v8.2.3633
Bram Moolenaar [Sat, 20 Nov 2021 21:35:41 +0000 (21:35 +0000)]
patch 8.2.3633: Vim9: line number of lambda is off by one

Problem:    Vim9: line number of lambda is off by one.
Solution:   Add one to the line number. (closes #9083)

3 years agopatch 8.2.3632: GTK3: undercurl does not get removed properly v8.2.3632
Yamagi [Sat, 20 Nov 2021 20:42:29 +0000 (20:42 +0000)]
patch 8.2.3632: GTK3: undercurl does not get removed properly

Problem:    GTK3: undercurl does not get removed properly.
Solution:   Set the cairo cursor first. (closes #9170)