0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

17566 Commits

Author SHA1 Message Date
Bram Moolenaar
8d69637133 patch 9.0.0234: cannot make difference between :normal end and argument char
Problem:    Cannot make difference between the end of :normal and a character
            in its argument.
Solution:   Add the "typebuf_was_empty" flag. (closes #10950)
v9.0.0234
2022-08-21 10:40:07 +01:00
Ben Jackson
a7704226a2 patch 9.0.0233: removing multiple text properties takes many calls
Problem:    Removing multiple text properties takes many calls.
Solution:   Pass a list to prop_remove(). (Ben Jackson, closes #10945)
v9.0.0233
2022-08-20 20:54:51 +01:00
Bram Moolenaar
38ea5bda2b patch 9.0.0232: test with BufNewFile autocmd is flaky
Problem:    Test with BufNewFile autocmd is flaky.
Solution:   Use another file name.
v9.0.0232
2022-08-20 20:09:14 +01:00
Bram Moolenaar
57e95179ab patch 9.0.0231: expanding "**" may loop forever with directory links
Problem:    Expanding "**" may loop forever with directory links.
Solution:   Check for being interrupted. (closes #10946)
v9.0.0231
2022-08-20 19:26:14 +01:00
Bram Moolenaar
2984ed31d9 patch 9.0.0230: no error for comma missing in list in :def function
Problem:    No error for comma missing in list in :def function.
Solution:   Check for missing comma. (closes #10943)
v9.0.0230
2022-08-20 14:51:17 +01:00
Bram Moolenaar
62e0e2e54b patch 9.0.0229: Vim9: error message for missing type is not clear
Problem:    Vim9: error message for missing type is not clear.
Solution:   Mention the context. (issue #10944)
v9.0.0229
2022-08-20 12:07:58 +01:00
Bram Moolenaar
e80086446c Update runtime files 2022-08-19 17:15:35 +01:00
Bram Moolenaar
13ed494bb5 patch 9.0.0228: crash when pattern looks below the last line
Problem:    Crash when pattern looks below the last line.
Solution:   Consider invalid lines to be empty. (closes #10938)
v9.0.0228
2022-08-19 13:59:25 +01:00
Bram Moolenaar
213e70e284 patch 9.0.0227: cannot read error message when abort() is called
Problem:    Cannot read error message when abort() is called.
Solution:   Output a newline before calling abort().
v9.0.0227
2022-08-19 13:17:21 +01:00
Bram Moolenaar
9e043181ad patch 9.0.0226: job_start() test may fail under valgrind
Problem:    job_start() test may fail under valgrind.
Solution:   Wait until the job is running.
v9.0.0226
2022-08-18 15:22:09 +01:00
Bram Moolenaar
91c7cbfe31 patch 9.0.0225: using freed memory with multiple line breaks in expression
Problem:    Using freed memory with multiple line breaks in expression.
Solution:   Free eval_tofree later.
v9.0.0225
2022-08-18 13:28:31 +01:00
Bram Moolenaar
4875d6ab06 patch 9.0.0224: Using NULL pointer when skipping compiled code
Problem:    Using NULL pointer when skipping compiled code.
Solution:   Check for skipping.
v9.0.0224
2022-08-17 15:55:51 +01:00
zeertzjq
5fd6ab820b patch 9.0.0223: typo in diffmode test
Problem:    Typo in diffmode test.
Solution:   Fix the typo. (closes #10932)
v9.0.0223
2022-08-17 12:09:45 +01:00
Bram Moolenaar
887748742d patch 9.0.0222: no good reason why text objects are only in larger builds
Problem:    No good reason why text objects are only in larger builds.
Solution:   Graduate +textobjects.
v9.0.0222
2022-08-16 20:24:29 +01:00
Bram Moolenaar
1889f499a4 patch 9.0.0221: accessing freed memory if compiling nested function fails
Problem:    Accessing freed memory if compiling nested function fails.
Solution:   Mess up the variable name so that it won't be found.
v9.0.0221
2022-08-16 19:34:44 +01:00
Bram Moolenaar
f6d39c31d2 patch 9.0.0220: invalid memory access with for loop over NULL string
Problem:    Invalid memory access with for loop over NULL string.
Solution:   Make sure mb_ptr2len() consistently returns zero for NUL.
v9.0.0220
2022-08-16 17:50:38 +01:00
Kota Kato
948a3894d9 patch 9.0.0219: cannot make a funcref with "s:func" in a def function
Problem:    Cannot make a funcref with "s:func" in a def function in legacy
            script.
Solution:   Allow for using a lower case function name after "s:". (Kota Kato,
            closes #10926)
v9.0.0219
2022-08-16 16:09:59 +01:00
Bram Moolenaar
e98c88c44c patch 9.0.0218: reading before the start of the line
Problem:    Reading before the start of the line.
Solution:   When displaying "$" check the column is not negative.
v9.0.0218
2022-08-16 14:51:53 +01:00
Bram Moolenaar
e1f3fd1d02 Update runtime files 2022-08-15 18:51:32 +01:00
zeertzjq
5a4fff4d94 patch 9.0.0217: 'shellslash' works differently when sourcing a script again
Problem:    'shellslash' works differently when sourcing a script again.
Solution:   Use the name from the script item. (closes #10920)
v9.0.0217
2022-08-15 17:53:55 +01:00
Bram Moolenaar
cce293f87b patch 9.0.0216: undo earlier test sometimes fails on MS-Windows
Problem:    Undo earlier test sometimes fails on MS-Windows.
Solution:   Use another file name.
v9.0.0216
2022-08-15 17:28:27 +01:00
Bram Moolenaar
8a77d208ff patch 9.0.0215: not passing APC_INDENT flag
Problem:    Not passing APC_INDENT flag.
Solution:   Pass the flag where it's needed.
v9.0.0215
2022-08-15 16:29:37 +01:00
Bram Moolenaar
d8d4cfcb39 patch 9.0.0214: splitting a line may duplicate virtual text
Problem:    Splitting a line may duplicate virtual text. (Ben Jackson)
Solution:   Don't duplicate a text property with virtual text. Make
            auto-indenting work better. (closes #10919)
v9.0.0214
2022-08-15 15:55:10 +01:00
Bram Moolenaar
249e1b903a patch 9.0.0213: using freed memory with error in assert argument
Problem:    Using freed memory with error in assert argument.
Solution:   Make a copy of the error.
v9.0.0213
2022-08-14 22:23:02 +01:00
Bram Moolenaar
dbdd16b625 patch 9.0.0212: invalid memory access when compiling :unlet
Problem:    Invalid memory access when compiling :unlet.
Solution:   Don't read past the end of the line.
v9.0.0212
2022-08-14 21:46:07 +01:00
Bram Moolenaar
d1d8f6bacb patch 9.0.0211: invalid memory access when compiling :lockvar
Problem:    Invalid memory access when compiling :lockvar.
Solution:   Don't read past the end of the line.
v9.0.0211
2022-08-14 21:28:32 +01:00
Bram Moolenaar
c3a483fc3c patch 9.0.0210: 'list' mode does not work properly with virtual text
Problem:    'list' mode does not work properly with virtual text.
Solution:   Show the "$" at the right position. (closes #10913)
v9.0.0210
2022-08-14 19:37:36 +01:00
Bram Moolenaar
677a39fdf6 patch 9.0.0209: build error with small features
Problem:    Build error with small features.
Solution:   Add #ifdef.
v9.0.0209
2022-08-14 16:50:42 +01:00
Bram Moolenaar
9e7e28fc4c patch 9.0.0208: the override flag has no effect for virtual text
Problem:    The override flag has no effect for virtual text. (Ben Jackson)
Solution:   Make the override flag work. (closes #10915)
v9.0.0208
2022-08-14 16:36:38 +01:00
zeertzjq
28c162f6f1 patch 9.0.0207: stacktrace not shown when debugging
Problem:    Stacktrace not shown when debugging.
Solution:   Set msg_scroll in msg_source(). (closes #10917)
v9.0.0207
2022-08-14 14:49:50 +01:00
Bram Moolenaar
a4d158b3c8 patch 9.0.0206: redraw flags are not named specifically
Problem:    Redraw flags are not named specifically.
Solution:   Prefix "UPD_" to the flags, for UPDate_screen().
v9.0.0206
2022-08-14 14:17:45 +01:00
Bram Moolenaar
28c9f89571 patch 9.0.0205: cursor in wrong position when inserting after virtual text
Problem:    Cursor in wrong position when inserting after virtual text. (Ben
            Jackson)
Solution:   Put the cursor after the virtual text, where the text will be
            inserted. (closes #10914)
v9.0.0205
2022-08-14 13:28:55 +01:00
Yegappan Lakshmanan
63acae13f5 patch 9.0.0204: indexof() may leak memory
Problem:    indexof() may leak memory.
Solution:   Free allocated values. (Yegappan Lakshmanan, closes #10916)
v9.0.0204
2022-08-14 12:07:11 +01:00
Bram Moolenaar
c9b6570fab patch 9.0.0203: confusing variable name
Problem:    Confusing variable name.
Solution:   Use "prim_aep" instead of "spell_aep".
v9.0.0203
2022-08-13 21:37:29 +01:00
Yegappan Lakshmanan
3fbf6cd355 patch 9.0.0202: code and help for indexof() is not ideal
Problem:    Code and help for indexof() is not ideal.
Solution:   Refactor the code, improve the help. (Yegappan Lakshmanan,
            closes #10908)
v9.0.0202
2022-08-13 21:35:13 +01:00
Bram Moolenaar
9113c2cd19 patch 9.0.0201: CursorLine highlight overrules virtual text highlight
Problem:    CursorLine highlight overrules virtual text highlight.
Solution:   Let extra attribute overrule line attribute. (closes #10909)
v9.0.0201
2022-08-13 20:17:34 +01:00
Bram Moolenaar
8f369fb1ab patch 9.0.0200: cursor wrong if 'nowrap' and two right aligned text props
Problem:    cursor in a wrong positoin if 'wrap' is off and using two right
            aligned text props in one line.
Solution:   Count an extra line for a right aligned text property after a
            below or right aligned text property. (issue #10909)
v9.0.0200
2022-08-13 19:35:05 +01:00
Bram Moolenaar
f0ccfa474a patch 9.0.0199: cursor position wrong with two right-aligned virtual texts
Problem:    Cursor position wrong with two right-aligned virtual texts.
Solution:   Add the padding for right-alignment. (issue #10906)
v9.0.0199
2022-08-13 16:41:19 +01:00
Bram Moolenaar
cfeb8a584b patch 9.0.0198: ml_get error when switching buffer in Visual mode
Problem:    ml_get error when switching buffer in Visual mode.
Solution:   End Visual mode when switching buffer. (closes #10902)
v9.0.0198
2022-08-13 14:09:44 +01:00
Emilia Zapata
6a76e84f55 patch 9.0.0197: astro files are not detected
Problem:    Astro files are not detected.
Solution:   Add a pattern to match Astro files. (Emilia Zapata, closes #10904)
v9.0.0197
2022-08-13 13:21:31 +01:00
Yegappan Lakshmanan
b218655d5a patch 9.0.0196: finding value in list may require a for loop
Problem:    Finding value in list may require a for loop.
Solution:   Add indexof(). (Yegappan Lakshmanan, closes #10903)
v9.0.0196
2022-08-13 13:09:20 +01:00
Bram Moolenaar
9032b9ceb6 patch 9.0.0195: metafun files are not recogized
Problem:    Metafun files are not recogized.
Solution:   Add filetype detection patterns.
v9.0.0195
2022-08-12 21:57:13 +01:00
Bram Moolenaar
326c5d36e7 patch 9.0.0194: cursor displayed in wrong position after removing text prop
Problem:    Cursor displayed in wrong position after removing text prop. (Ben
            Jackson)
Solution:   Invalidate the cursor position. (closes #10898)
v9.0.0194
2022-08-12 13:05:49 +01:00
Bram Moolenaar
e38fc86180 patch 9.0.0193: search and match highlgith interfere with virtual text
Problem:    Search and match highlgith interfere with virtual text highlight.
            (Ben Jackson)
Solution:   Check for match highlight after text properties.  Reset and
            restore search highlight when showing virtual text.
            (closes #10892)
v9.0.0193
2022-08-11 17:24:50 +01:00
Bram Moolenaar
fdc5d17d58 patch 9.0.0192: possible invalid memory access when 'cmdheight' is zero
Problem:    Possible invalid memory access when 'cmdheight' is zero. (Martin
            Tournoij)
Solution:   Avoid going over the end of w_lines[] when w_height is Rows.
            (closes #10882)
v9.0.0192
2022-08-11 15:52:14 +01:00
Bram Moolenaar
d4cf9fc53e patch 9.0.0191: messages test fails; window size incorrect
Problem:    Messages test fails; window size incorrect when 'cmdheight' is
            made smaller.
Solution:   Properly cleanup after test with cmdheight zero.  Resize windows
            correctly when 'cmdheight' gets smaller.
v9.0.0191
2022-08-11 14:13:37 +01:00
Bram Moolenaar
f797e309ca patch 9.0.0190: the way 'cmdheight' can be made zero is inconsistent
Problem:    The way 'cmdheight' can be made zero is inconsistent.
Solution:   Only make 'cmdheight' zero when setting it explicitly, not when
            resizing windows. (closes #10890)
v9.0.0190
2022-08-11 13:17:30 +01:00
Bram Moolenaar
87f3a2ca3d patch 9.0.0189: invalid memory access for text prop without highlight
Problem:    Invalid memory access for text prop without highlight.
Solution:   Check for a valid highlight ID.
v9.0.0189
2022-08-10 20:50:23 +01:00
Bram Moolenaar
82b14c143a patch 9.0.0188: strange effects when using "text_align" with non-zero column
Problem:    Strange effects when using virtual text with "text_align" and
            non-zero column. (Martin Tournoij)
Solution:   Give an error. (closes #10888)
v9.0.0188
2022-08-10 19:50:47 +01:00
Bram Moolenaar
96bde99bf8 patch 9.0.0187: command line height changes when maximizing window height
Problem:    Command line height changes when maximizing window height.
Solution:   Do not change the command line height. (closes #10885)
v9.0.0187
2022-08-10 17:23:12 +01:00