LemonBoy
57ff52677b
patch 8.2.4929: off-by-one error in in statusline item
...
Problem: Off-by-one error in in statusline item.
Solution: Subtrace one less. (closes #10394 , closes #5599 )
2022-05-09 21:03:47 +01:00
Bram Moolenaar
249591057b
patch 8.2.4911: the mode #defines are not clearly named
...
Problem: The mode #defines are not clearly named.
Solution: Prepend MODE_. Renumber them to put the mapped modes first.
2022-05-07 20:01:16 +01:00
Bram Moolenaar
8e4b76da1d
patch 8.2.4901: NULL pointer access when using invalid pattern
...
Problem: NULL pointer access when using invalid pattern.
Solution: Check for failed regexp program.
2022-05-07 11:28:06 +01:00
Charlie Groves
fef4485ef5
patch 8.2.4791: events triggered in different order when reusing buffer
...
Problem: Autocmd events triggered in different order when reusing an empty
buffer.
Solution: Call buff_freeall() earlier. (Charlie Groves, closes #10198 )
2022-04-19 16:24:12 +01:00
LemonBoy
db0ea7f2b0
patch 8.2.4731: the changelist index is not remembered per buffer
...
Problem: The changelist index is not remembered per buffer.
Solution: Keep the changelist index per window and buffer. (closes #10135 ,
closes #2173 )
2022-04-10 17:59:26 +01:00
Tom Praschan
3506cf34c1
patch 8.2.4702: C++ scope labels are hard-coded
...
Problem: C++ scope labels are hard-coded.
Solution: Add 'cinscopedecls' to define the labels. (Rom Praschan,
closes #10109 )
2022-04-07 12:39:08 +01:00
Bram Moolenaar
188639d75c
patch 8.2.4685: when a swap file is found for a popup there is no dialog
...
Problem: When a swap file is found for a popup there is no dialog and the
buffer is loaded anyway.
Solution: Silently load the buffer read-only. (closes #10073 )
2022-04-04 16:57:21 +01:00
Yegappan Lakshmanan
72bb47e38f
patch 8.2.4670: memory allocation failures for new tab page not tested
...
Problem: Memory allocation failures for new tab page not tested.
Solution: Add tests with failing memory allocation. (Yegappan Lakshmanan,
closes #10067 )
2022-04-03 11:22:38 +01:00
Yegappan Lakshmanan
0dac1ab579
patch 8.2.4668: buffer allocation failures insufficiently tested
...
Problem: Buffer allocation failures insufficiently tested.
Solution: Add tests for memory allocation failures. (Yegappan Lakshmanan,
closes #10064 )
2022-04-02 21:46:19 +01:00
Bram Moolenaar
347538fad0
patch 8.2.4631: crash when switching window in BufWipeout autocommand
...
Problem: Crash when switching window in BufWipeout autocommand.
Solution: Put any buffer in the window to avoid it being NULL.
(closes #10024 )
2022-03-26 16:28:06 +00:00
Bram Moolenaar
6f2465d336
patch 8.2.4609: :unhide does not check for failing to close a window
...
Problem: :unhide does not check for failing to close a window.
Solution: When closing a window fails continue with the next one. Do not
try closing the autocmd window. (closes #9984 )
2022-03-22 18:13:01 +00:00
Yegappan Lakshmanan
5de4c4372d
patch 8.2.4483: command completion makes two rounds to collect matches
...
Problem: Command completion makes two rounds to collect matches.
Solution: Use a growarray to collect matches. (Yegappan Lakshmanan,
closes #9860 )
2022-02-28 13:28:38 +00:00
Yegappan Lakshmanan
38b85cb4d7
patch 8.2.4463: completion only uses strict matching
...
Problem: Completion only uses strict matching.
Solution: Add the "fuzzy" item for 'wildoptions'. (Yegappan Lakshmanan,
closes #9803 )
2022-02-24 13:28:41 +00:00
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