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
Bram Moolenaar
3331dd0351
patch 9.0.0186: virtual text without highlighting does not show
...
Problem: Virtual text without highlighting does not show. (Ben Jackson)
Solution: Use a text property when it has highlighting or when it has text.
(closes #10878 )
v9.0.0186
2022-08-10 16:49:02 +01:00
Bram Moolenaar
952c9b02f8
patch 9.0.0185: virtual text does not show if text prop at same position
...
Problem: Virtual text does not show if tehre is a text prop at same
position. (Ben Jackson)
Solution: Fix the sorting of properties. (closes #10879 )
v9.0.0185
2022-08-10 16:00:33 +01:00
Bram Moolenaar
1d8844aa59
patch 9.0.0184: virtual text prop highlight continues after truncation
...
Problem: Virtual text prop highlight continues after truncation.
Solution: Recompute the length of attributes.
v9.0.0184
2022-08-10 13:39:35 +01:00
Bram Moolenaar
52de3a8d39
patch 9.0.0183: extra space after virtual text when 'linebreak' is set
...
Problem: Extra space after virtual text when 'linebreak' is set.
Solution: Do not count virtual text when getting linebreak value.
(closes #10884 )
v9.0.0183
2022-08-10 13:12:03 +01:00
smjonas
3a9687fb27
patch 9.0.0182: quarto files are not recognized
...
Problem: Quarto files are not recognized.
Solution: Recognize quarto files by the extension. (Jonas Strittmatter,
closes #10880 )
v9.0.0182
2022-08-10 11:48:10 +01:00
Bram Moolenaar
e5a0e8c1d7
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().
v9.0.0181
2022-08-09 21:37:55 +01:00
Bram Moolenaar
ef257e7bd1
patch 9.0.0180: stray logfile appears when running tests
...
Problem: Stray logfile appears when running tests.
Solution: Remove ch_logfile() calls.
v9.0.0180
2022-08-09 19:30:19 +01:00
Bram Moolenaar
49a90792d9
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 )
v9.0.0179
2022-08-09 18:25:23 +01:00
Bram Moolenaar
e428fa04a7
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 )
v9.0.0178
2022-08-09 16:55:41 +01:00
Bram Moolenaar
8f49e690dc
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 )
v9.0.0177
2022-08-09 14:19:40 +01:00
zeertzjq
8ca29b6a35
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 )
v9.0.0176
2022-08-09 12:53:14 +01:00
Christian Brabandt
afa23d1b99
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 )
v9.0.0175
2022-08-09 12:25:10 +01:00
Bram Moolenaar
ad6d9cc679
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 )
v9.0.0174
2022-08-08 21:43:11 +01:00
Bram Moolenaar
e6a3d81e05
patch 9.0.0173: assert fails only on MS-Windows
...
Problem: Assert fails only on MS-Windows.
Solution: Disable the assert for now.
v9.0.0173
2022-08-08 18:12:30 +01:00