Bram Moolenaar
4791fcd825
patch 8.2.4453: :helpgrep may free an option that was not allocated
...
Problem: :helpgrep may free an option that was not allocated. (Yegappan
Lakshmanan)
Solution: Check if the value was allocated.
2022-02-23 12:06:00 +00:00
Sean Dewar
0f7ff851cb
patch 8.2.4355: unnecessary call to check_colorcolumn()
...
Problem: Unnecessary call to check_colorcolumn().
Solution: Remove the call. (Sean Dewar, closes #9748 )
2022-02-12 11:51:25 +00:00
matveyt
adbb1bf21d
patch 8.2.4282: restricted mode requires the -Z command line option
...
Problem: Restricted mode requires the -Z command line option.
Solution: Use restricted mode when $SHELL ends in "nologin" or "false".
(closes #9681 )
2022-02-01 17:26:12 +00:00
Bram Moolenaar
424bcae1fb
patch 8.2.4273: the EBCDIC support is outdated
...
Problem: The EBCDIC support is outdated.
Solution: Remove the EBCDIC support.
2022-01-31 14:59:41 +00:00
Bram Moolenaar
652dee4486
patch 8.2.4245: ":retab 0" may cause illegal memory access
...
Problem: ":retab 0" may cause illegal memory access.
Solution: Limit the value of 'tabstop' to 10000.
2022-01-28 20:47:49 +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
5600a709f4
patch 8.2.4180: 'balloonexpr' is evaluated in the current script context
...
Problem: 'balloonexpr' is evaluated in the current script context.
Solution: Use the script context where the option was set.
2022-01-22 15:09:36 +00:00
Bram Moolenaar
e70dd11ef4
patch 8.2.4173: cannot use an import in 'foldexpr'
...
Problem: Cannot use an import in 'foldexpr'.
Solution: Set the script context to where 'foldexpr' was set. (closes #9584 )
Fix that the script context was not set for all buffers.
2022-01-21 16:31:11 +00:00
Bram Moolenaar
f0e7e6365e
patch 8.2.4171: cannot invoke option function using autoload import
...
Problem: Cannot invoke option function using autoload import.
Solution: Expand the import to an autoload function name. (closes #9578 )
2022-01-21 13:29:56 +00:00
Bram Moolenaar
04b871da80
patch 8.2.4100: early return when getting the 'formatlistpat' value
...
Problem: Early return when getting the 'formatlistpat' value.
Solution: Remove the first line. (Christian Brabandt)
2022-01-15 18:31:43 +00:00
Christian Brabandt
c53b467473
patch 8.2.4093: cached breakindent values not initialized properly
...
Problem: Cached breakindent values not initialized properly.
Solution: Initialize and cache formatlistpat. (Christian Brabandt,
closes #9526 , closes #9512 )
2022-01-15 10:01:05 +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
d82a47dd04
patch 8.2.4012: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move the last error messages to errors.h.
2022-01-05 20:24:39 +00:00
Bram Moolenaar
9d00e4a814
patch 8.2.4010: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-05 17:49:15 +00:00
Bram Moolenaar
1d423ef75f
patch 8.2.3987: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-02 21:26:16 +00:00
Bram Moolenaar
ac78dd4a35
patch 8.2.3985: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-02 19:25:26 +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
460ae5dfca
patch 8.2.3967: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2022-01-01 14:19:49 +00:00
Bram Moolenaar
436b5adc97
patch 8.2.3961: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2021-12-31 22:49:24 +00:00
Bram Moolenaar
10c75c4a09
patch 8.2.3929: using unititialized variable
...
Problem: Using unititialized variable.
Solution: Set the option flags to zero for a terminal option.
2021-12-28 20:53:30 +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
Yegappan Lakshmanan
e7f4abd38b
patch 8.2.3889: duplicate code for translating script-local function name
...
Problem: Duplicate code for translating script-local function name.
Solution: Move the code to get_scriptlocal_funcname(). (Yegappan Lakshmanan,
closes #9393 )
2021-12-24 20:47:38 +00:00
Yegappan Lakshmanan
db1a410b61
patch 8.2.3838: cannot use script-local function for setting *func options
...
Problem: Cannot use script-local function for setting *func options.
Solution: Use the script context. (Yegappan Lakshmanan, closes #9362 )
2021-12-17 16:21:20 +00:00
Bram Moolenaar
94c785d235
patch 8.2.3829: no error when setting a func option to script-local function
...
Problem: No error when setting a func option to a script-local function.
Solution: Give an error if the name starts with "s:". (closes #9358 )
2021-12-16 19:45:47 +00:00
Bram Moolenaar
6206877c51
patch 8.2.3804: script context not set when copying 'swf' and 'ts'
...
Problem: Script context not set when copying 'swf' and 'ts'.
Solution: Use COPY_OPT_SCTX with the right argument. (closes #9347 )
2021-12-14 09:01:38 +00:00
Yegappan Lakshmanan
4dc24eb5ad
patch 8.2.3756: might crash when callback is not valid
...
Problem: might crash when callback is not valid.
Solution: Check for valid callback. (Yegappan Lakshmanan, closes #9293 )
2021-12-07 12:23:57 +00:00
Yegappan Lakshmanan
6409553b6e
patch 8.2.3751: cannot assign a lambda to an option that takes a function
...
Problem: Cannot assign a lambda to an option that takes a function.
Solution: Automatically convert the lambda to a string. (Yegappan
Lakshmanan, closes #9286 )
2021-12-06 11:03:55 +00:00
Bram Moolenaar
15a24f0898
patch 8.2.3731: "set! termcap" shows codes in one column, but not keys
...
Problem: "set! termcap" shows codes in one column, but not keys.
Solution: Also use one column for keys. (closes #9258 )
2021-12-03 20:43:24 +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
Yegappan Lakshmanan
05e59e3a9f
patch 8.2.3712: cannot use Vim9 lambda for 'tagfunc'
...
Problem: Cannot use Vim9 lambda for 'tagfunc'.
Solution: Make it work, add more tests. (Yegappan Lakshmanan, closes #9250 )
2021-12-01 10:30:07 +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
87fd0924e2
patch 8.2.3628: looking terminal colors is a bit slow
...
Problem: Looking terminal colors is a bit slow.
Solution: Cache the terminal colors. (closes #9130 , closes #9058 )
2021-11-20 13:47:45 +00:00
Yegappan Lakshmanan
777175b0df
patch 8.2.3619: cannot use a lambda for 'operatorfunc'
...
Problem: Cannot use a lambda for 'operatorfunc'.
Solution: Support using a lambda or partial. (Yegappan Lakshmanan,
closes #8775 )
2021-11-18 22:08:57 +00:00
Bram Moolenaar
f4d8b76d30
patch 8.2.3528: 'thesaurus' and 'thesaurusfunc' do not have the same scope
...
Problem: 'thesaurus' and 'thesaurusfunc' do not have the same scope.
Solution: Make 'thesaurusfunc' global-local.
2021-10-17 14:13:09 +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
=?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
b7081e135a
patch 8.2.3402: invalid memory access when using :retab with large value
...
Problem: Invalid memory access when using :retab with large value.
Solution: Check the number is positive.
2021-09-04 18:47:28 +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
77111e2bfc
patch 8.2.3246: memory use after free
...
Problem: Memory use after free.
Solution: When clearing a string option set the pointer to "empty_option".
2021-07-29 21:11:30 +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
d8e44476d8
patch 8.2.3197: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move a few more error messages to errors.h.
2021-07-21 22:20:33 +02:00
Bram Moolenaar
deb108ba0a
patch 8.2.3124: Vim9: no error for white space between option and "=9"
...
Problem: Vim9: no error for white space between option and "=9".
Solution: Check for extraneous white space. (issue #8408 )
2021-07-08 17:35:36 +02:00
Bram Moolenaar
1594f31345
patch 8.2.3123: Vim9: confusing error when using white space after option
...
Problem: Vim9: confusing error when using white space after option, before
one of "!&<".
Solution: Give a specific error. (issue #8408 )
2021-07-08 16:40:13 +02:00
Mike Williams
a3d1b29bd3
patch 8.2.3079: Powershell core not supported by default
...
Problem: Powershell core not supported by default.
Solution: Set option defaults for "pwsh". (Mike Williams, closes #8481 )
2021-06-30 20:56:00 +02:00
Mike Williams
127950241e
patch 8.2.3071: shell options are not set properly for PowerShell
...
Problem: Shell options are not set properly for PowerShell.
Solution: Use better option defaults. (Mike Willams, closes #8459 )
2021-06-28 20:53:58 +02:00
Christian Brabandt
f573c6e1ed
patch 8.2.3022: available encryption methods are not strong enough
...
Problem: Available encryption methods are not strong enough.
Solution: Add initial support for xchaha20. (Christian Brabandt,
closes #8394 )
2021-06-20 14:02:16 +02:00
Bram Moolenaar
208f0b48b2
patch 8.2.3021: spaces allowed between option name and "!", "?", etc.
...
Problem: Spaces allowed between option name and "!", "?", etc.
Solution: Disallow spaces in Vim9 script, it was not documented.
(closes #8408 )
2021-06-20 12:40:08 +02:00
Bram Moolenaar
5ffefbb35a
patch 8.2.2993: 'fileencodings' default value should depend on 'encoding'
...
Problem: 'fileencodings' default value should depend on 'encoding'. (Gary
Johnson)
Solution: When 'encoding' is "utf-8" use a different default value for
'fileencodings'.
2021-06-13 20:27:36 +02:00