]> granicus.if.org Git - vim/log
vim
2 years agopatch 9.0.0181: textprop test with line2byte() fails on MS-Windows v9.0.0181
Bram Moolenaar [Tue, 9 Aug 2022 20:37:55 +0000 (21:37 +0100)]
patch 9.0.0181: textprop test with line2byte() fails on MS-Windows

Problem:    Textprop test with line2byte() fails on MS-Windows.
Solution:   Fix updating chuncks in ml_delete_int().

2 years agopatch 9.0.0180: stray logfile appears when running tests v9.0.0180
Bram Moolenaar [Tue, 9 Aug 2022 18:30:19 +0000 (19:30 +0100)]
patch 9.0.0180: stray logfile appears when running tests

Problem:    Stray logfile appears when running tests.
Solution:   Remove ch_logfile() calls.

2 years agopatch 9.0.0179: cursor pos wrong with wrapping virtual text in empty line v9.0.0179
Bram Moolenaar [Tue, 9 Aug 2022 17:25:23 +0000 (18:25 +0100)]
patch 9.0.0179: cursor pos wrong with wrapping virtual text in empty line

Problem:    Cursor position wrong with wrapping virtual text in empty line.
Solution:   Adjust handling of an empty line. (closes #10875)

2 years agopatch 9.0.0178: cursor position wrong with virtual text before Tab v9.0.0178
Bram Moolenaar [Tue, 9 Aug 2022 15:55:41 +0000 (16:55 +0100)]
patch 9.0.0178: cursor position wrong with virtual text before Tab

Problem:    Cursor position wrong with virtual text before Tab.
Solution:   Use the byte length, not the cell with, to compare the column.
            Correct tab size after text prop. (closes #10866)

2 years agopatch 9.0.0177: cursor position wrong with 'virtualedit' and mouse click v9.0.0177
Bram Moolenaar [Tue, 9 Aug 2022 13:19:40 +0000 (14:19 +0100)]
patch 9.0.0177: cursor position wrong with 'virtualedit' and mouse click

Problem:    Cursor position wrong with 'virtualedit' and mouse click after end
            of the line. (Hermann Mayer)
Solution:   Do not use ScreenCols[] when 'virtualedit' is active.
            (closes #10868)

2 years agopatch 9.0.0176: checking character options is duplicated and incomplete v9.0.0176
zeertzjq [Tue, 9 Aug 2022 11:53:14 +0000 (12:53 +0100)]
patch 9.0.0176: checking character options is duplicated and incomplete

Problem:    Checking character options is duplicated and incomplete.
Solution:   Move checking to check_chars_options(). (closes #10863)

2 years agopatch 9.0.0175: spell checking for capital not working with trailing space v9.0.0175
Christian Brabandt [Tue, 9 Aug 2022 11:25:10 +0000 (12:25 +0100)]
patch 9.0.0175: spell checking for capital not working with trailing space

Problem:    Spell checking for capital not working with trailing space.
Solution:   Do not calculate cap_col at the end of the line. (Christian
            Brabandt, closes #10870, issue #10838)

2 years agopatch 9.0.0174: no error for using "#{ comment" in a compiled function v9.0.0174
Bram Moolenaar [Mon, 8 Aug 2022 20:43:11 +0000 (21:43 +0100)]
patch 9.0.0174: no error for using "#{ comment" in a compiled function

Problem:    No error for using "#{ comment" in a compiled function.
Solution:   Make error checking for "#{" consistent. (closes #10855)

2 years agopatch 9.0.0173: assert fails only on MS-Windows v9.0.0173
Bram Moolenaar [Mon, 8 Aug 2022 17:12:30 +0000 (18:12 +0100)]
patch 9.0.0173: assert fails only on MS-Windows

Problem:    Assert fails only on MS-Windows.
Solution:   Disable the assert for now.

2 years agopatch 9.0.0172: trying to allocate zero bytes v9.0.0172
Bram Moolenaar [Mon, 8 Aug 2022 16:08:05 +0000 (17:08 +0100)]
patch 9.0.0172: trying to allocate zero bytes

Problem:    Trying to allocate zero bytes.
Solution:   Do not allocate the proptype array when there are none.
            (closes #10867)

2 years agopatch 9.0.0171: quickfix line highlight is overruled by 'cursorline' v9.0.0171
Bram Moolenaar [Mon, 8 Aug 2022 15:03:06 +0000 (16:03 +0100)]
patch 9.0.0171: quickfix line highlight is overruled by 'cursorline'

Problem:    Quickfix line highlight is overruled by 'cursorline'.
Solution:   Reverse the combination of attributes. (closes #10654)

2 years agopatch 9.0.0170: various minor code formatting issues v9.0.0170
Bram Moolenaar [Mon, 8 Aug 2022 14:49:18 +0000 (15:49 +0100)]
patch 9.0.0170: various minor code formatting issues

Problem:    Various minor code formatting issues.
Solution:   Improve code formatting.

2 years agoUpdate runtime files
Bram Moolenaar [Mon, 8 Aug 2022 14:42:38 +0000 (15:42 +0100)]
Update runtime files

2 years agopatch 9.0.0169: insufficient testing for line2byte() with text properties v9.0.0169
Bram Moolenaar [Mon, 8 Aug 2022 13:59:47 +0000 (14:59 +0100)]
patch 9.0.0169: insufficient testing for line2byte() with text properties

Problem:    Insufficient testing for line2byte() with text properties.
Solution:   Add tests with a lot of text.

2 years agopatch 9.0.0168: cursor positioned wrong with two virtual text properties v9.0.0168
Bram Moolenaar [Mon, 8 Aug 2022 10:07:47 +0000 (11:07 +0100)]
patch 9.0.0168: cursor positioned wrong with two virtual text properties

Problem:    Cursor positioned wrong with two virtual text properties close
            together. (Ben Jackson)
Solution:   Add the original size, not the computed one. (closes #10864)

2 years agopatch 9.0.0167: checking for text properties could be a bit more efficient v9.0.0167
Bram Moolenaar [Sun, 7 Aug 2022 21:04:56 +0000 (22:04 +0100)]
patch 9.0.0167: checking for text properties could be a bit more efficient

Problem:    Checking for text properties could be a bit more efficient.
Solution:   Return early when there are no text properties.  Update TODO
            items.

2 years agopatch 9.0.0166: when using text properties line text length computed twice v9.0.0166
Bram Moolenaar [Sun, 7 Aug 2022 20:48:37 +0000 (21:48 +0100)]
patch 9.0.0166: when using text properties line text length computed twice

Problem:    When using text properties the line text length is computed twice.
Solution:   If the text lenght was already computed don't do it again.

2 years agopatch 9.0.0165: looking up a text property type by ID is slow v9.0.0165
Bram Moolenaar [Sun, 7 Aug 2022 17:20:08 +0000 (18:20 +0100)]
patch 9.0.0165: looking up a text property type by ID is slow

Problem:    Looking up a text property type by ID is slow.
Solution:   Keep an array of property types sorted on ID.

2 years agopatch 9.0.0164: using freed memory with put command v9.0.0164
Bram Moolenaar [Sun, 7 Aug 2022 17:09:10 +0000 (18:09 +0100)]
patch 9.0.0164: using freed memory with put command

Problem:    Using freed memory with put command.
Solution:   Get byte offset before replacing the line.

2 years agopatch 9.0.0163: text property not adjusted for text inserted with "p" v9.0.0163
Bram Moolenaar [Sun, 7 Aug 2022 13:55:14 +0000 (14:55 +0100)]
patch 9.0.0163: text property not adjusted for text inserted with "p"

Problem:    Text property not adjusted for text inserted with "p".
Solution:   Adjust column and length of text properties.

2 years agopatch 9.0.0162: text property "below" gets indent if 'breakindent' is set v9.0.0162
Bram Moolenaar [Sun, 7 Aug 2022 10:53:40 +0000 (11:53 +0100)]
patch 9.0.0162: text property "below" gets indent if 'breakindent' is set

Problem:    Text property "below" gets indent if 'breakindent' is set. (Tim
            Pope)
Solution:   Do not put indent before text property. (closes #10859)

2 years agopatch 9.0.0161: warning for uninitialized variable v9.0.0161
Bram Moolenaar [Sat, 6 Aug 2022 21:38:02 +0000 (22:38 +0100)]
patch 9.0.0161: warning for uninitialized variable

Problem:    Warning for uninitialized variable. (Tony Mechelynck)
Solution:   Initialize line_attr_save.

2 years agopatch 9.0.0160: some diff mode tests fail v9.0.0160
Bram Moolenaar [Sat, 6 Aug 2022 21:23:40 +0000 (22:23 +0100)]
patch 9.0.0160: some diff mode tests fail

Problem:    Some diff mode tests fail.
Solution:   Only advance "ptr" when a text property follows.

2 years agopatch 9.0.0159: cannot build with small features v9.0.0159
Bram Moolenaar [Sat, 6 Aug 2022 21:13:03 +0000 (22:13 +0100)]
patch 9.0.0159: cannot build with small features

Problem:    Cannot build with small features.
Solution:   Check for E1170 only with FEAT_EVAL.

2 years agopatch 9.0.0158: with 'nowrap' "below" property not displayed correctly v9.0.0158
Bram Moolenaar [Sat, 6 Aug 2022 21:03:20 +0000 (22:03 +0100)]
patch 9.0.0158: with 'nowrap' "below" property not displayed correctly

Problem:    With 'nowrap' "below" property not displayed correctly.
Solution:   Adjust virtual text with 'nowrap', do not truncate.

2 years agopatch 9.0.0157: 'showbreak' displayed below truncated "after" text prop v9.0.0157
Bram Moolenaar [Sat, 6 Aug 2022 20:03:53 +0000 (21:03 +0100)]
patch 9.0.0157: 'showbreak' displayed below truncated "after" text prop

Problem:    'showbreak' displayed below truncated "after" text prop.
Solution:   Suppress 'showbreak' when "after" prop doesn't wrap.

2 years agopatch 9.0.0156: giving E1170 only in an expression is confusing v9.0.0156
Bram Moolenaar [Sat, 6 Aug 2022 17:12:06 +0000 (18:12 +0100)]
patch 9.0.0156: giving E1170 only in an expression is confusing

Problem:    Giving E1170 only in an expression is confusing.
Solution:   Give E1170 for any "#{ comment". (closes #10855)

2 years agopatch 9.0.0155 v9.0.0155
Bram Moolenaar [Sat, 6 Aug 2022 16:38:53 +0000 (17:38 +0100)]
patch 9.0.0155
Problem:    No test for what patch 9.0.0155 fixes.
Solution:   Add a test. Fix typos.  (closes #10822)

2 years agopatch 9.0.0154: text properties wrong after splitting a line v9.0.0154
Bram Moolenaar [Sat, 6 Aug 2022 16:10:57 +0000 (17:10 +0100)]
patch 9.0.0154: text properties wrong after splitting a line

Problem:    Text properties wrong after splitting a line.
Solution:   Check for text properties after the line. (closes #10857)

2 years agopatch 9.0.0153: no fold and sign column for virtual text with "below" align v9.0.0153
Bram Moolenaar [Sat, 6 Aug 2022 14:59:06 +0000 (15:59 +0100)]
patch 9.0.0153: no fold and sign column for virtual text with "below" align

Problem:    No fold and sign column for virtual text with "below" align and
            'nowrap'.
Solution:   Go back to draw state WL_START when moving to the next line.
            (closes #10851)

2 years agopatch 9.0.0152: warning for unused argument in small build v9.0.0152
Bram Moolenaar [Sat, 6 Aug 2022 13:21:52 +0000 (14:21 +0100)]
patch 9.0.0152: warning for unused argument in small build

Problem:    Warning for unused argument in small build.
Solution:   Add "UNUSED".

2 years agopatch 9.0.0151: a "below" aligned text property does not work with 'nowrap' v9.0.0151
Bram Moolenaar [Sat, 6 Aug 2022 12:48:20 +0000 (13:48 +0100)]
patch 9.0.0151: a "below" aligned text property does not work with 'nowrap'

Problem:    A "below" aligned text property does not work with 'nowrap'.
Solution:   Start a new screen line to display the virtual text.
            (closes #10851)

2 years agopatch 9.0.0150: error for using #{ in an expression is a bit confusing v9.0.0150
Bram Moolenaar [Sat, 6 Aug 2022 10:35:28 +0000 (11:35 +0100)]
patch 9.0.0150: error for using #{ in an expression is a bit confusing

Problem:    Error for using #{ in an expression is a bit confusing.
Solution:   Mention that this error is only given for an expression.
            Avoid giving the error more than once. (closes #10855)

2 years agopatch 9.0.0149: test for fuzzy completion fails sometimes v9.0.0149
Bram Moolenaar [Sat, 6 Aug 2022 09:28:19 +0000 (10:28 +0100)]
patch 9.0.0149: test for fuzzy completion fails sometimes

Problem:    Test for fuzzy completion fails sometimes.
Solution:   Use a more specific file name to minimize the chance of matching a
            random directory name. (closes #10854)

2 years agopatch 9.0.0148: a "below" aligned text property gets 'showbreak' displayed v9.0.0148
Bram Moolenaar [Fri, 5 Aug 2022 20:39:30 +0000 (21:39 +0100)]
patch 9.0.0148: a "below" aligned text property gets 'showbreak' displayed

Problem:    A "below" aligned text property gets 'showbreak' displayed.
Solution:   Do not use 'showbreak' before or in virtual text. (issue #10851)

2 years agopatch 9.0.0147: cursor positioned wrong after two "below" text properties v9.0.0147
Bram Moolenaar [Fri, 5 Aug 2022 19:25:50 +0000 (20:25 +0100)]
patch 9.0.0147: cursor positioned wrong after two "below" text properties

Problem:    Cursor positioned wrong after two text properties with virtual
            text and "below" alignment. (Tim Pope)
Solution:   Do not stop after a text property using MAXCOL. (closes #10849)

2 years agopatch 9.0.0146: missing part of change for "override" flag v9.0.0146
Bram Moolenaar [Fri, 5 Aug 2022 19:03:55 +0000 (20:03 +0100)]
patch 9.0.0146: missing part of change for "override" flag

Problem:    Missing part of change for "override" flag.
Solution:   Add the missing change.

2 years agopatch 9.0.0145: substitute that joins lines drops text properties v9.0.0145
Bram Moolenaar [Fri, 5 Aug 2022 18:46:48 +0000 (19:46 +0100)]
patch 9.0.0145: substitute that joins lines drops text properties

Problem:    Substitute that joins lines drops text properties.
Solution:   Move text properties of the last line to the new line.

2 years agopatch 9.0.0144: text property cannot override 'cursorline' highlight v9.0.0144
Bram Moolenaar [Fri, 5 Aug 2022 16:05:04 +0000 (17:05 +0100)]
patch 9.0.0144: text property cannot override 'cursorline' highlight

Problem:    Text property cannot override 'cursorline' highlight.
Solution:   Add the "override" flag to prop_type_add(). (closes #5533,
            closes #8225).

2 years agopatch 9.0.0143: cursor positioned after virtual text in empty line v9.0.0143
Bram Moolenaar [Fri, 5 Aug 2022 12:07:23 +0000 (13:07 +0100)]
patch 9.0.0143: cursor positioned after virtual text in empty line

Problem:    Cursor positioned after virtual text in empty line.
Solution:   Keep cursor in the first column. (closes #10786)

2 years agopatch 9.0.0142: crash when adding and removing virtual text v9.0.0142
Bram Moolenaar [Fri, 5 Aug 2022 10:45:17 +0000 (11:45 +0100)]
patch 9.0.0142: crash when adding and removing virtual text

Problem:    Crash when adding and removing virtual text. (Ben Jackson)
Solution:   Check that the text of the text property still exists.

2 years agopatch 9.0.0141: "delmenu" does not remove autocmmands v9.0.0141
zeertzjq [Fri, 5 Aug 2022 09:52:30 +0000 (10:52 +0100)]
patch 9.0.0141: "delmenu" does not remove autocmmands

Problem:    "delmenu" does not remove autocmmands. Running menu test function
            alone fails.
Solution:   Delete autocommands Make sure there is at least one menu.
            (closes #10848)

2 years agopatch 9.0.0140: execute() does not use the "legacy" command modifier v9.0.0140
Kota Kato [Thu, 4 Aug 2022 17:50:14 +0000 (18:50 +0100)]
patch 9.0.0140: execute() does not use the "legacy" command modifier

Problem:    execute() does not use the "legacy" command modifier.
Solution:   pass the command modifier in sticky_cmdmod_flags. (Kota Kato,
            closes #10845)

2 years agopatch 9.0.0139: truncating virtual text after a line not implemented v9.0.0139
Bram Moolenaar [Thu, 4 Aug 2022 14:03:48 +0000 (15:03 +0100)]
patch 9.0.0139: truncating virtual text after a line not implemented

Problem:    Truncating virtual text after a line not implemented.
            Cursor positioning wrong with Newline in the text.
Solution:   Implement truncating.  Disallow control characters in the text.
            (closes #10842)

2 years agopatch 9.0.0138: not enough characters accepted for 'spellfile' v9.0.0138
Bram Moolenaar [Thu, 4 Aug 2022 12:01:48 +0000 (13:01 +0100)]
patch 9.0.0138: not enough characters accepted for 'spellfile'

Problem:    Not enough characters accepted for 'spellfile'.
Solution:   Add vim_is_fname_char() and use it for 'spellfile'.

2 years agopatch 9.0.0137: debugger test may fail when $CWD is very long v9.0.0137
James McCoy [Wed, 3 Aug 2022 15:13:27 +0000 (16:13 +0100)]
patch 9.0.0137: debugger test may fail when $CWD is very long

Problem:    Debugger test may fail when $CWD is very long.
Solution:   Skip the test if the directory name is too long. (James McCoy,
            closes #10837)

2 years agopatch 9.0.0136: after CTRL-Left-mouse click a mouse scroll also has CTRL v9.0.0136
Bram Moolenaar [Wed, 3 Aug 2022 14:48:33 +0000 (15:48 +0100)]
patch 9.0.0136: after CTRL-Left-mouse click a mouse scroll also has CTRL

Problem:    After CTRL-Left-mouse click a mouse scroll also has CTRL.
Solution:   Reset orig_mouse_code also for wheel events. (closes #10840)

2 years agopatch 9.0.0135: comment about tabpage line above the wrong code v9.0.0135
zeertzjq [Tue, 2 Aug 2022 11:15:51 +0000 (12:15 +0100)]
patch 9.0.0135: comment about tabpage line above the wrong code

Problem:    Comment about tabpage line above the wrong code.
Solution:   Move the comment. (closes #10836)

2 years agopatch 9.0.0134: no test for text property with column zero v9.0.0134
Bram Moolenaar [Tue, 2 Aug 2022 10:48:53 +0000 (11:48 +0100)]
patch 9.0.0134: no test for text property with column zero

Problem:    No test for text property with column zero.
Solution:   Add a test.  Add message to assert for no open popups.

2 years agopatch 9.0.0133: virtual text after line moves to joined line v9.0.0133
Bram Moolenaar [Mon, 1 Aug 2022 21:18:50 +0000 (22:18 +0100)]
patch 9.0.0133: virtual text after line moves to joined line

Problem:    Virtual text after line moves to joined line. (Yegappan
            Lakshmanan)
Solution:   When joining lines only keep virtual text after the last line.

2 years agopatch 9.0.0132: multi-byte characters in virtual text not handled correctly v9.0.0132
Bram Moolenaar [Mon, 1 Aug 2022 15:51:02 +0000 (16:51 +0100)]
patch 9.0.0132: multi-byte characters in virtual text not handled correctly

Problem:    Multi-byte characters in virtual text not handled correctly.
Solution:   Count screen cells instead of bytes.

2 years agopatch 9.0.0131: virtual text with Tab is not displayed correctly v9.0.0131
Bram Moolenaar [Mon, 1 Aug 2022 15:11:06 +0000 (16:11 +0100)]
patch 9.0.0131: virtual text with Tab is not displayed correctly

Problem:    Virtual text with Tab is not displayed correctly.
Solution:   Change any Tab to a space.

2 years agopatch 9.0.0130: cursor position wrong when inserting around virtual text v9.0.0130
Bram Moolenaar [Mon, 1 Aug 2022 14:52:55 +0000 (15:52 +0100)]
patch 9.0.0130: cursor position wrong when inserting around virtual text

Problem:    Cursor position wrong when inserting around virtual text.
Solution:   Update the cursor position properly.

2 years agoUpdate runtime files
Bram Moolenaar [Mon, 1 Aug 2022 14:09:53 +0000 (15:09 +0100)]
Update runtime files

2 years agopatch 9.0.0129: compiler warning for int/size_t usage v9.0.0129
Mike Williams [Mon, 1 Aug 2022 13:00:31 +0000 (14:00 +0100)]
patch 9.0.0129: compiler warning for int/size_t usage

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

2 years agopatch 9.0.0128: Coverity complains about possible double free v9.0.0128
Bram Moolenaar [Mon, 1 Aug 2022 11:06:40 +0000 (12:06 +0100)]
patch 9.0.0128: Coverity complains about possible double free

Problem:    Coverity complains about possible double free.
Solution:   Clear the pointer to avoid warnings.

2 years agopatch 9.0.0127: unused variable v9.0.0127
zeertzjq [Mon, 1 Aug 2022 10:49:45 +0000 (11:49 +0100)]
patch 9.0.0127: unused variable

Problem:    Unused variable.
Solution:   Remove the variable. (closes #10829)

2 years agopatch 9.0.0126: expanding file names fails in dir with more than 255 entries v9.0.0126
John Drouhard [Mon, 1 Aug 2022 10:38:17 +0000 (11:38 +0100)]
patch 9.0.0126: expanding file names fails in dir with more than 255 entries

Problem:    Expanding file names fails in directory with more than 255
            entries.
Solution:   Use an int instead of char_u to count. (John Drouhard,
            closes #10818)

2 years agopatch 9.0.0125: cursor positioned wrong with virtual text after the line v9.0.0125
Bram Moolenaar [Mon, 1 Aug 2022 10:17:40 +0000 (11:17 +0100)]
patch 9.0.0125: cursor positioned wrong with virtual text after the line

Problem:    Cursor positioned wrong with virtual text after the line.
Solution:   Clear cts_with_trailing.

2 years agopatch 9.0.0124: code has more indent than needed v9.0.0124
zeertzjq [Sun, 31 Jul 2022 17:34:32 +0000 (18:34 +0100)]
patch 9.0.0124: code has more indent than needed

Problem:    Code has more indent than needed.
Solution:   Use continue and return statements. (closes #10824)

2 years agopatch 9.0.0123: cannot build with small features v9.0.0123
Bram Moolenaar [Sun, 31 Jul 2022 17:03:57 +0000 (18:03 +0100)]
patch 9.0.0123: cannot build with small features

Problem:    Cannot build with small features.
Solution:   Add #ifdef.

2 years agopatch 9.0.0122: breakindent test fails v9.0.0122
Bram Moolenaar [Sun, 31 Jul 2022 17:00:10 +0000 (18:00 +0100)]
patch 9.0.0122: breakindent test fails

Problem:    Breakindent test fails.
Solution:   Fix condition.

2 years agopatch 9.0.0121: cannot put virtual text after or below a line v9.0.0121
Bram Moolenaar [Sun, 31 Jul 2022 16:12:43 +0000 (17:12 +0100)]
patch 9.0.0121: cannot put virtual text after or below a line

Problem:    Cannot put virtual text after or below a line.
Solution:   Add "text_align" and "text_wrap" arguments.

2 years agopatch 9.0.0120: MS-Windows GUI: cannot use AltGr + Space v9.0.0120
Anton Sharonov [Sun, 31 Jul 2022 11:26:05 +0000 (12:26 +0100)]
patch 9.0.0120: MS-Windows GUI: cannot use AltGr + Space

Problem:    MS-Windows GUI: cannot use AltGr + Space.
Solution:   Check for VK_MENU instead of VK_LMENU. (Anton Sharonov,
            closes #10820, closes #10753)

2 years agopatch 9.0.0119: tiny chance that creating a backup file fails v9.0.0119
K.Takata [Sun, 31 Jul 2022 10:50:42 +0000 (11:50 +0100)]
patch 9.0.0119: tiny chance that creating a backup file fails

Problem:    Tiny chance that creating a backup file fails.
Solution:   Check for EEXIST error. (Ken Takata, closes #10821)

2 years agopatch 9.0.0118: no test for what patch 9.0.0155 fixes v9.0.0118
zeertzjq [Sun, 31 Jul 2022 10:37:20 +0000 (11:37 +0100)]
patch 9.0.0118: no test for what patch 9.0.0155 fixes

Problem:    No test for what patch 9.0.0155 fixes.
Solution:   Add a test. Fix typos.  (closes #10822)

2 years agopatch 9.0.0117: text of removed textprop with text is not freed v9.0.0117
Bram Moolenaar [Sat, 30 Jul 2022 21:17:18 +0000 (22:17 +0100)]
patch 9.0.0117: text of removed textprop with text is not freed

Problem:    Text of removed textprop with text is not freed.
Solution:   Free the text when the property is removed.  Reduce the array size
            to ignore NULLs at the end.

2 years agopatch 9.0.0116: virtual text not displayed if 'signcolumn' is "yes" v9.0.0116
Bram Moolenaar [Sat, 30 Jul 2022 20:33:46 +0000 (21:33 +0100)]
patch 9.0.0116: virtual text not displayed if 'signcolumn' is "yes"

Problem:    Virtual text not displayed if 'signcolumn' is "yes".
Solution:   Set c_extra and c_final to NUL.

2 years agopatch 9.0.0115: when 'cmdheight' is zero pressing ':' may scroll a window v9.0.0115
Bram Moolenaar [Sat, 30 Jul 2022 18:10:06 +0000 (19:10 +0100)]
patch 9.0.0115: when 'cmdheight' is zero pressing ':' may scroll a window

Problem:    When 'cmdheight' is zero pressing ':' may scroll a window.
Solution:   Add the made_cmdheight_nonzero flag and set 'scrolloff' to zero.

2 years agopatch 9.0.0114: the command line takes up space even when not used v9.0.0114
Shougo Matsushita [Sat, 30 Jul 2022 15:54:05 +0000 (16:54 +0100)]
patch 9.0.0114: the command line takes up space even when not used

Problem:    The command line takes up space even when not used.
Solution:   Allow for 'cmdheight' to be set to zero. (Shougo Matsushita,
            closes #10675, closes #940)

2 years agopatch 9.0.0113: has() is not strict about parsing the patch version v9.0.0113
K.Takata [Sat, 30 Jul 2022 14:43:59 +0000 (15:43 +0100)]
patch 9.0.0113: has() is not strict about parsing the patch version

Problem:    has() is not strict about parsing the patch version.
Solution:   Check the version more strictly. (Ken Takata, closes #10752)

2 years agopatch 9.0.0112: MS-Windows: test fails because file already exists v9.0.0112
Bram Moolenaar [Sat, 30 Jul 2022 14:35:12 +0000 (15:35 +0100)]
patch 9.0.0112: MS-Windows: test fails because file already exists

Problem:    MS-Windows: test fails because file already exists.
Solution:   Wait a little while until the file is gone.

2 years agopatch 9.0.0111: "nocombine" is missing from synIDattr() v9.0.0111
Bram Moolenaar [Sat, 30 Jul 2022 13:56:17 +0000 (14:56 +0100)]
patch 9.0.0111: "nocombine" is missing from synIDattr()

Problem:    "nocombine" is missing from synIDattr().
Solution:   Add "nocombine". (Muni Tanjim, closes #10816)

2 years agopatch 9.0.0110: help tag generation picks up words in code examples v9.0.0110
Carlo Teubner [Sat, 30 Jul 2022 11:03:16 +0000 (12:03 +0100)]
patch 9.0.0110: help tag generation picks up words in code examples

Problem:    Help tag generation picks up words in code examples.
Solution:   Skip over examples. (Carlo Teubner, closes #10813)

2 years agopatch 9.0.0109: writing over the end of a buffer on stack v9.0.0109
Bram Moolenaar [Sat, 30 Jul 2022 10:39:57 +0000 (11:39 +0100)]
patch 9.0.0109: writing over the end of a buffer on stack

Problem:    Writing over the end of a buffer on stack when making list of
            spell suggestions.
Solution:   Make sure suggested word is not too long. (closes #10812)

2 years agopatch 9.0.0108: configure check for timer_create may give wrong error v9.0.0108
Bram Moolenaar [Sat, 30 Jul 2022 10:00:50 +0000 (11:00 +0100)]
patch 9.0.0108: configure check for timer_create may give wrong error

Problem:    Configure check for timer_create may give wrong error.
Solution:   Give a warning instead of an error.

2 years agoUpdate runtime files
Bram Moolenaar [Fri, 29 Jul 2022 20:36:21 +0000 (21:36 +0100)]
Update runtime files

2 years agopatch 9.0.0107: condition always has the same value v9.0.0107
Bram Moolenaar [Fri, 29 Jul 2022 18:50:41 +0000 (19:50 +0100)]
patch 9.0.0107: condition always has the same value

Problem:    Condition always has the same value.
Solution:   Remove the condition.

2 years agopatch 9.0.0106: illegal byte regexp test doesn't fail when fix is reversed v9.0.0106
Bram Moolenaar [Fri, 29 Jul 2022 17:32:20 +0000 (18:32 +0100)]
patch 9.0.0106: illegal byte regexp test doesn't fail when fix is reversed

Problem:    Illegal byte regexp test doesn't fail when fix is reversed.
Solution:   Make sure illegal bytes end up in sourced script file.

2 years agopatch 9.0.0105: illegal memory access when pattern starts with illegal byte v9.0.0105
Bram Moolenaar [Fri, 29 Jul 2022 15:22:25 +0000 (16:22 +0100)]
patch 9.0.0105: illegal memory access when pattern starts with illegal byte

Problem:    Illegal memory access when pattern starts with illegal byte.
Solution:   Do not match a character with an illegal byte.

2 years agopatch 9.0.0104: going beyond allocated memory when evaluating string constant v9.0.0104
Bram Moolenaar [Fri, 29 Jul 2022 14:28:27 +0000 (15:28 +0100)]
patch 9.0.0104: going beyond allocated memory when evaluating string constant

Problem:    Going beyond allocated memory when evaluating string constant.
Solution:   Properly skip over <Key> form.

2 years agopatch 9.0.0103: if running configure with cached results -lrt may be missing v9.0.0103
Bram Moolenaar [Thu, 28 Jul 2022 21:39:54 +0000 (22:39 +0100)]
patch 9.0.0103: if running configure with cached results -lrt may be missing

Problem:    If running configure with cached results -lrt may be missing.
Solution:   Use two cache variables, one without and one with -lrt.
            (closes #10799)  Swap checks to avoid adding -lrt unnecessarily.

2 years agopatch 9.0.0102: reading past end of line with insert mode completion v9.0.0102
Bram Moolenaar [Thu, 28 Jul 2022 20:51:37 +0000 (21:51 +0100)]
patch 9.0.0102: reading past end of line with insert mode completion

Problem:    Reading past end of line with insert mode completion.
Solution:   Check text length.

2 years agopatch 9.0.0101: invalid memory access in diff mode with "dp" and undo v9.0.0101
Bram Moolenaar [Thu, 28 Jul 2022 17:44:27 +0000 (18:44 +0100)]
patch 9.0.0101: invalid memory access in diff mode with "dp" and undo

Problem:    Invalid memory access in diff mode with "dp" and undo.
Solution:   Make sure the line number does not go below one.

2 years agopatch 9.0.0100: get hit-enter prompt for system() when '!' is in 'guioptions' v9.0.0100
Bram Moolenaar [Thu, 28 Jul 2022 11:54:08 +0000 (12:54 +0100)]
patch 9.0.0100: get hit-enter prompt for system() when '!' is in 'guioptions'

Problem:    Get hit-enter prompt for system() when '!' is in 'guioptions'.
Solution:   Do not call wait_return() when not redrawing. (closes #3327)

2 years agopatch 9.0.0099: scrollback can be wrong after redrawing the command line v9.0.0099
zeertzjq [Thu, 28 Jul 2022 11:34:09 +0000 (12:34 +0100)]
patch 9.0.0099: scrollback can be wrong after redrawing the command line

Problem:    Scrollback can be wrong after redrawing the command line.
Solution:   Clear unfinished scrollback when redrawing. (closes #10807)

2 years agopatch 9.0.0098: missing include file in timer_create configure check v9.0.0098
Bram Moolenaar [Thu, 28 Jul 2022 11:09:04 +0000 (12:09 +0100)]
patch 9.0.0098: missing include file in timer_create configure check

Problem:    missing include file in timer_create configure check.
Solution:   Inlucde stdlib.h.

2 years agopatch 9.0.0097: long quickfix line is truncated for :clist v9.0.0097
Bram Moolenaar [Thu, 28 Jul 2022 10:56:01 +0000 (11:56 +0100)]
patch 9.0.0097: long quickfix line is truncated for :clist

Problem:    Long quickfix line is truncated for :clist.
Solution:   Allocate a buffer if needed.

2 years agopatch 9.0.0096: flag "new_value_alloced" is always true v9.0.0096
zeertzjq [Wed, 27 Jul 2022 17:26:03 +0000 (18:26 +0100)]
patch 9.0.0096: flag "new_value_alloced" is always true

Problem:    Flag "new_value_alloced" is always true.
Solution:   Remove "new_value_alloced". (closes #10792)

2 years agopatch 9.0.0095: conditions are always true v9.0.0095
zeertzjq [Wed, 27 Jul 2022 14:48:45 +0000 (15:48 +0100)]
patch 9.0.0095: conditions are always true

Problem:    Conditions are always true.
Solution:   Remove useless conditions. (closes #10802)

2 years agopatch 9.0.0094: cursor restored unexpected with nested autocommand v9.0.0094
Bram Moolenaar [Wed, 27 Jul 2022 14:23:35 +0000 (15:23 +0100)]
patch 9.0.0094: cursor restored unexpected with nested autocommand

Problem:    Cursor restored unexpected with nested autocommand.
Solution:   Do not restore the cursor when it was moved intentionally.
            (closes #10780)

2 years agopatch 9.0.0093: sway config files are recognized as i3config v9.0.0093
James Eapen [Wed, 27 Jul 2022 14:07:06 +0000 (15:07 +0100)]
patch 9.0.0093: sway config files are recognized as i3config

Problem:    Sway config files are recognized as i3config.
Solution:   Recognize swayconfig separately. (James Eapen, closes #10672)

2 years agopatch 9.0.0092: plugins cannot change v:completed_item v9.0.0092
Shougo Matsushita [Wed, 27 Jul 2022 13:40:00 +0000 (14:40 +0100)]
patch 9.0.0092: plugins cannot change v:completed_item

Problem:    Plugins cannot change v:completed_item.
Solution:   Make v:completed_item writeable. (Shougo Matsushita,
            closes #10801)

2 years agopatch 9.0.0091: duplicate error number v9.0.0091
Bram Moolenaar [Wed, 27 Jul 2022 12:18:14 +0000 (13:18 +0100)]
patch 9.0.0091: duplicate error number

Problem:    Duplicate error number.
Solution:   Use unique error number.

2 years agopatch 9.0.0090: no error when assigning bool to a string option v9.0.0090
Bram Moolenaar [Wed, 27 Jul 2022 11:30:13 +0000 (12:30 +0100)]
patch 9.0.0090: no error when assigning bool to a string option

Problem:    No error when assigning bool to a string option with setwinvar().
Solution:   Give an error (closes #10766)

2 years agopatch 9.0.0089: fuzzy argument completion doesn't work for shell commands v9.0.0089
Yegappan Lakshmanan [Tue, 26 Jul 2022 21:01:36 +0000 (22:01 +0100)]
patch 9.0.0089: fuzzy argument completion doesn't work for shell commands

Problem:    Fuzzy argument completion doesn't work for shell commands.
Solution:   Check for cmdidx not being CMD_bang. (Yegappan Lakshmanan,
            closes #10769)

2 years agopatch 9.0.0088: pattern for detecting bitbake files is not sufficient v9.0.0088
Gregory Anders [Tue, 26 Jul 2022 20:42:03 +0000 (21:42 +0100)]
patch 9.0.0088: pattern for detecting bitbake files is not sufficient

Problem:    Pattern for detecting bitbake files is not sufficient.
Solution:   Adjust the pattern. (Gregory Anders, closes #10743)

2 years agopatch 9.0.0087: MS-Windows: CTRL-[ on Belgian keyboard does not work like Esc v9.0.0087
Anton Sharonov [Tue, 26 Jul 2022 20:26:18 +0000 (21:26 +0100)]
patch 9.0.0087: MS-Windows: CTRL-[ on Belgian keyboard does not work like Esc

Problem:    MS-Windows: CTRL-[ on Belgian keyboard does not work like Esc.
Solution:   Figure out what the key code means. (Anton Sharonov,
            closes #10687, closes #10454)

2 years agopatch 9.0.0086: tabline is not redrawn when entering command line v9.0.0086
zeertzjq [Tue, 26 Jul 2022 19:42:25 +0000 (20:42 +0100)]
patch 9.0.0086: tabline is not redrawn when entering command line

Problem:    Tabline is not redrawn when entering command line.
Solution:   Set "redraw_tabline". (closes #10771)

2 years agopatch 9.0.0085: ":write" fails after ":file name" and the ":edit" v9.0.0085
ii14 [Tue, 26 Jul 2022 18:44:56 +0000 (19:44 +0100)]
patch 9.0.0085: ":write" fails after ":file name" and the ":edit"

Problem:    ":write" fails after ":file name" and the ":edit".
Solution:   Reset BF_NOTEDITED when using ":edit". (closes #10790)