Brandon Richardson
a493b6506b
patch 8.2.4419: illegal memory access when using 20 highlights
...
Problem: Illegal memory access when using exactly 20 highlights.
Solution: Add one more item in the array. (Brandon Richardson,
closes #9800 )
2022-02-19 11:45:03 +00:00
Bram Moolenaar
0e1f36fc59
patch 8.2.4391: command line executed when typing Esc in the GUI
...
Problem: Command line executed when typing Esc in the GUI.
Solution: Move saving/restoring KeyTyped to build_stl_str_hl().
(closes #9783 )
2022-02-15 16:17:44 +00:00
Bram Moolenaar
e3537aec2f
patch 8.2.4327: may end up with no current buffer
...
Problem: May end up with no current buffer.
Solution: When deleting the current buffer to not pick a quickfix buffer as
the new current buffer.
2022-02-08 15:05:20 +00:00
Bram Moolenaar
9b4a80a665
patch 8.2.4281: using freed memory with :lopen and :bwipe
...
Problem: Using freed memory with :lopen and :bwipe.
Solution: Do not use a wiped out buffer.
2022-02-01 13:54:17 +00:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
420fabcd4f
patch 8.2.4241: some type casts are redundant
...
Problem: Some type casts are redundant.
Solution: Remove the type casts. (closes #9643 )
2022-01-28 15:28:04 +00:00
Bram Moolenaar
9530b580a7
patch 8.2.4179: 'foldtext' is evaluated in the current script context
...
Problem: 'foldtext' is evaluated in the current script context.
Solution: Use the script context where the option was set.
2022-01-22 13:39:08 +00:00
Bram Moolenaar
e615db0604
patch 8.2.4166: undo synced when switching buffer in another window
...
Problem: Undo synced when switching buffer in another window.
Solution: Do not sync undo when not needed. (closes #9575 )
2022-01-20 21:00:54 +00:00
K.Takata
1a8825d7a3
patch 8.2.4144: cannot load libsodium dynamically
...
Problem: Cannot load libsodium dynamically.
Solution: Support dynamic loading on MS-Windows. (Ken Takata, closes #9554 )
2022-01-19 13:32:57 +00:00
zeertzjq
0f112052ac
patch 8.2.4091: virtcol is recomputed for statusline unnecessarily
...
Problem: Virtcol is recomputed for statusline unnecessarily.
Solution: Just use "w_virtcol". (closes #9523 )
2022-01-14 20:11:38 +00:00
Dominique Pelle
748b308eeb
patch 8.2.4038: various code not used when features are disabled
...
Problem: Various code not used when features are disabled.
Solution: Add #ifdefs. (Dominique Pellé, closes #9491 )
2022-01-08 12:41:16 +00:00
Bram Moolenaar
74409f6279
patch 8.2.3970: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2022-01-01 15:58:22 +00:00
Bram Moolenaar
f1474d801b
patch 8.2.3960: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2021-12-31 19:59:55 +00:00
Dominique Pelle
af4a61a85d
patch 8.2.3914: various spelling mistakes in comments
...
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pellé, closes #9416 )
2021-12-27 17:21:41 +00:00
Bram Moolenaar
e124204c4f
patch 8.2.3830: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2021-12-16 20:56:57 +00:00
Bram Moolenaar
739f13a55b
patch 8.2.3795: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the jumplist feature.
2021-12-13 13:12:53 +00:00
Bram Moolenaar
40bcec1bac
patch 8.2.3750: error messages are everywhere
...
Problem: Error messages are everywhere.
Solution: Move more error messages to errors.h and adjust the names.
2021-12-05 22:19:27 +00:00
Yegappan Lakshmanan
8658c759f0
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 )
2021-12-03 11:09:29 +00:00
Bram Moolenaar
651fca85c7
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.
2021-11-29 20:39:38 +00:00
Yegappan Lakshmanan
19916a8c89
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 )
2021-11-24 16:32:55 +00:00
Bram Moolenaar
3ad695328f
patch 8.2.3624: when renaming a terminal buffer status text is not updated
...
Problem: When renaming a terminal buffer the status text is not updated.
Solution: Clear the cached status text when renaming a terminal buffer.
(closes #9162 )
2021-11-19 17:01:08 +00:00
Bram Moolenaar
0526815c15
patch 8.2.3617: ":verbose pwd" does not mention 'autochdir' was applied
...
Problem: ":verbose pwd" does not mention 'autochdir' was applied.
Solution: Remember the last chdir was done by 'autochdir'. (issue #9142 )
2021-11-18 18:53:45 +00:00
Bram Moolenaar
1d30fde3c9
patch 8.2.3547: opening the quickfix window triggers BufWinEnter twice
...
Problem: Opening the quickfix window triggers BufWinEnter twice. (Yorick
Peterse)
Solution: Only trigger BufWinEnter with "quickfix". (closes #9022 )
2021-10-20 21:58:42 +01:00
Bram Moolenaar
c5935a859e
patch 8.2.3542: too many comments are old style
...
Problem: Too many comments are old style.
Solution: Change comments to // style. (closes #9021 )
2021-10-19 20:48:52 +01:00
Bram Moolenaar
d4c4bfa007
patch 8.2.3525: option variable name does not match option name
...
Problem: Option variable name does not match option name. (Christ van
Willigen)
Solution: Rename the variable.
2021-10-16 21:14:11 +01:00
Yegappan Lakshmanan
160e994d76
patch 8.2.3520: cannot define a function for thesaurus completion
...
Problem: Cannot define a function for thesaurus completion.
Solution: Add 'thesaurusfunc'. (Yegappan Lakshmanan, closes #8987 ,
closes 8950)
2021-10-16 15:41:29 +01:00
Christian Brabandt
db3b44640d
patch 8.2.3517: TextChanged does not trigger after TextChangedI
...
Problem: TextChanged does not trigger after TextChangedI.
Solution: Store the tick separately for TextChangedI. (Christian Brabandt,
closes #8968 , closes #8932 )
2021-10-16 11:58:55 +01:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
3826c0513b
patch 8.2.3490: superfluous return statements
...
Problem: Superfluous return statements.
Solution: Remove superfluous return statements from void functions.
(closes #8977 )
2021-10-09 15:39:25 +01:00
Bram Moolenaar
d3710cf01e
patch 8.2.3476: renaming a buffer on startup may cause using freed memory
...
Problem: Renaming a buffer on startup may cause using freed memory.
Solution: Check if the buffer is used in a window. (closes #8955 )
2021-10-04 23:13:13 +01:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
dfa5e464d4
patch 8.2.3460: some type casts are not needed
...
Problem: Some type casts are not needed.
Solution: Remove unnecessary type casts. (closes #8934 )
2021-10-02 11:26:51 +01:00
Hu Jialun
9dcd349ca8
patch 8.2.3384: cannot disable modeline for an individual file
...
Problem: Cannot disable modeline for an individual file.
Solution: Recognize "nomodeline" in a modeline. (Hu Jialun, closes #8798 )
2021-08-28 20:42:50 +02:00
Gary Johnson
51ad850f5f
patch 8.2.3280: 'virtualedit' local to buffer is not the best solution
...
Problem: 'virtualedit' local to buffer is not the best solution.
Solution: Make it window-local. (Gary Johnson, closes #8685 )
2021-08-03 18:33:08 +02:00
Bram Moolenaar
131530a54d
patch 8.2.3245: the crypt key may appear in a swap partition
...
Problem: The crypt key may appear in a swap partition.
Solution: When using xchaha20 use sodium_mlock(). (Christian Brabandt,
closes #8657 )
2021-07-29 20:37:49 +02:00
Gary Johnson
53ba05b090
patch 8.2.3227: 'virtualedit' can only be set globally
...
Problem: 'virtualedit' can only be set globally.
Solution: Make 'virtualedit' global-local. (Gary Johnson, closes #8638 )
2021-07-26 22:19:10 +02:00
Bram Moolenaar
e29a27f6f8
patch 8.2.3190: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move error messages to errors.h and give them a clear name.
2021-07-20 21:07:36 +02:00
Bram Moolenaar
1d97efce0c
patch 8.2.3097: crash when using "quit" at recovery prompt
...
Problem: Crash when using "quit" at recovery prompt and autocommands are
triggered.
Solution: Block autocommands when creating an empty buffer to use as the
current buffer. (closes #8506 )
2021-07-04 13:27:11 +02:00
Bram Moolenaar
108010aa47
patch 8.2.3069: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move some error messages to errors.h. Use clearer names.
2021-06-27 22:03:33 +02:00
Bram Moolenaar
7b4f76c030
patch 8.2.2972: "%bd" tries to delete popup window buffers, which fails
...
Problem: "%bd" tries to delete popup window buffers, which fails. (Ralf
Schandl)
Solution: Do not try to delete a popup window buffer. (closes #8349 )
2021-06-10 21:07:48 +02:00
shadmansaleh
30e3de21fc
patch 8.2.2854: custom statusline cannot contain % items
...
Problem: Custom statusline cannot contain % items.
Solution: Add "%{% expr %}". (closes #8190 )
2021-05-15 17:23:28 +02:00
Bram Moolenaar
008bff967f
patch 8.2.2569: 'fillchars' "stl" and "stlnc" items must be single byte
...
Problem: 'fillchars' "stl" and "stlnc" items must be single byte.
Solution: Accept multi-byte characters. (Christian Wellenbrock, Yegappan
Lakshmanan, closes #7927 )
2021-03-04 21:55:58 +01:00
Bram Moolenaar
eed9d46293
patch 8.2.2518: 'listchars' should be window-local
...
Problem: 'listchars' should be window-local.
Solution: Make 'listchars' global-local. (Yegappan Lakshmanan, Marco Hinz,
closes #5206 , closes #7850 )
2021-02-15 20:38:25 +01:00
Bram Moolenaar
983d83ff1c
patch 8.2.2476: using freed memory when splitting window while closing buffer
...
Problem: Using freed memory when using an autocommand to split a window
while a buffer is being closed.
Solution: Disallow splitting when the buffer has b_locked_split set.
2021-02-07 12:12:43 +01:00
Bram Moolenaar
dfbc5fd879
patch 8.2.2397: Vim9: "%%" not seen as alternate file name for ":bdel"
...
Problem: Vim9: "%%" not seen as alternate file name for commands with a
buffer name argument.
Solution: Recognize "%%" like "#". (closes #7732 )
2021-01-23 15:15:01 +01:00
Bram Moolenaar
797e63b9f2
patch 8.2.2354: crash with a weird combination of autocommands
...
Problem: Crash with a weird combination of autocommands.
Solution: Increment b_nwindows when needed. (closes #7674 )
2021-01-15 16:22:52 +01:00
Bram Moolenaar
9b8d62267f
patch 8.2.2238: Vim9: cannot load a Vim9 script without the +eval feature
...
Problem: Vim9: cannot load a Vim9 script without the +eval feature.
Solution: Support Vim9 script syntax without the +eval feature.
2020-12-28 18:26:00 +01:00
Bram Moolenaar
f4e2099e39
patch 8.2.2182: Vim9: value of 'magic' is still relevant
...
Problem: Vim9: value of 'magic' is still relevant.
Solution: Always behave like 'magic' is on in Vim9 script (closes #7509 )
2020-12-21 19:59:08 +01:00
Bram Moolenaar
c9f8b849b6
patch 8.2.2040: terminal buffer disappears even when 'bufhidden' is "hide"
...
Problem: Terminal buffer disappears even when 'bufhidden' is "hide".
(Sergey Vlasov)
Solution: Check 'bufhiddden' when a terminal buffer becomes hidden.
(closes #7358 )
2020-11-24 19:36:16 +01:00
Bram Moolenaar
00806bceb6
patch 8.2.1959: crash when terminal buffer name is made empty
...
Problem: Crash when terminal buffer name is made empty. (Dhiraj Mishra)
Solution: Fall back to "[No Name]". (closes #7262 )
2020-11-05 19:36:38 +01:00
Bram Moolenaar
28ee892ac4
patch 8.2.1919: assert_fails() setting emsg_silent changes normal execution
...
Problem: Assert_fails() setting emsg_silent changes normal execution.
Solution: Use a separate flag in_assert_fails.
2020-10-28 20:20:00 +01:00
Bram Moolenaar
8133cc6bf4
patch 8.2.1909: number of status line items is limited to 80
...
Problem: Number of status line items is limited to 80.
Solution: Dynamically allocate the arrays. (Rom Grk, closes #7181 )
2020-10-26 21:05:27 +01:00
Bram Moolenaar
4882d98339
patch 8.2.1905: the wininfo list may contain stale entries
...
Problem: The wininfo list may contain stale entries.
Solution: When closing a window remove any other entry where the window
pointer is NULL.
2020-10-25 17:55:09 +01:00