]>
granicus.if.org Git - vim/log
=?UTF-8?q?Bj=C3=B6rn=20Linse?= [Mon, 31 Jan 2022 17:26:05 +0000 (17:26 +0000)]
patch 8.2.4275: cannot use an autoload function from a package under start
Problem: Cannot use an autoload function from a package under start.
Solution: Also look in the "start" package directory. (Bjorn Linse,
closes #7193)
Doug Kearns [Mon, 31 Jan 2022 17:09:14 +0000 (17:09 +0000)]
patch 8.2.4274: Basic and form filetype detection is incomplete
Problem: Basic and form filetype detection is incomplete.
Solution: Add a separate function for .frm files. (Doug Kearns, closes #9675)
Bram Moolenaar [Mon, 31 Jan 2022 15:40:56 +0000 (15:40 +0000)]
Update runtime files
Bram Moolenaar [Mon, 31 Jan 2022 14:59:41 +0000 (14:59 +0000)]
patch 8.2.4273: the EBCDIC support is outdated
Problem: The EBCDIC support is outdated.
Solution: Remove the EBCDIC support.
Bram Moolenaar [Mon, 31 Jan 2022 13:36:36 +0000 (13:36 +0000)]
patch 8.2.4272: Vim9 expr test fails without the channel feature
Problem: Vim9 expr test fails without the channel feature. (Dominique
Pellé)
Solution: Remove "g:" before "CheckFeature". (closes #9671)
K.Takata [Mon, 31 Jan 2022 13:25:36 +0000 (13:25 +0000)]
patch 8.2.4271: MS-Windows: cannot build with Ruby 3.1.0
Problem: MS-Windows: cannot build with Ruby 3.1.0.
Solution: Adjust the DLL name and include directory. (Ken Takata,
closes #9666)
ichizok [Mon, 31 Jan 2022 12:27:18 +0000 (12:27 +0000)]
patch 8.2.4270: generating nv_cmdidxs.h requires building Vim twice
Problem: Generating nv_cmdidxs.h requires building Vim twice.
Solution: Move the table into a separate file and use a separate executable
to extract the command characters. (Ozaki Kiichi, closes #9669)
Bram Moolenaar [Mon, 31 Jan 2022 11:44:48 +0000 (11:44 +0000)]
patch 8.2.4269: Coverity warns for using a NULL pointer
Problem: Coverity warns for using a NULL pointer.
Solution: Check for "name" to not be NULL.
ichizok [Mon, 31 Jan 2022 11:38:53 +0000 (11:38 +0000)]
patch 8.2.4268: CI log output is long
Problem: CI log output is long.
Solution: Group output in sections. (Ozaki Kiichi, closes #9670)
Bram Moolenaar [Mon, 31 Jan 2022 11:29:51 +0000 (11:29 +0000)]
patch 8.2.4267: unused entry in keymap enum
Problem: Unused entry in keymap enum.
Solution: Remove the entry.
Bram Moolenaar [Sun, 30 Jan 2022 19:37:52 +0000 (19:37 +0000)]
patch 8.2.4266: compiler warning for uninitialized variable
Problem: Compiler warning for uninitialized variable.
Solution: Initialize saved_did_emsg.
Bram Moolenaar [Sun, 30 Jan 2022 18:56:35 +0000 (18:56 +0000)]
patch 8.2.4265: autoload tests fails
Problem: Autoload tests fails.
Solution: Use export instead of name with #.
Bram Moolenaar [Sun, 30 Jan 2022 18:40:44 +0000 (18:40 +0000)]
patch 8.2.4264: Vim9: can use old style autoload function name
Problem: Vim9: can use old style autoload function name.
Solution: Give an error for old style autoload function name.
Yegappan Lakshmanan [Sun, 30 Jan 2022 18:01:24 +0000 (18:01 +0000)]
patch 8.2.4263: no test for the GUI find/replace dialog
Problem: No test for the GUI find/replace dialog.
Solution: Add a test function and a test. (Yegappan Lakshmanan,
closes #9662)
Bram Moolenaar [Sun, 30 Jan 2022 17:17:41 +0000 (17:17 +0000)]
patch 8.2.4262: some search tests fail
Problem: Some search tests fail.
Solution: Use a better way to reject searching for the Visual area.
Bram Moolenaar [Sun, 30 Jan 2022 16:42:56 +0000 (16:42 +0000)]
patch 8.2.4261: accessing invalid memory in a regular expression
Problem: Accessing invalid memory when a regular expression checks the
Visual area while matching in a string.
Solution: Do not try matching the Visual area in a string.
Bram Moolenaar [Sun, 30 Jan 2022 15:28:30 +0000 (15:28 +0000)]
patch 8.2.4260: Vim9: can still use a global function without g:
Problem: Vim9: can still use a global function without g: at the script
level.
Solution: Also check for g: at the script level. (issue #9637)
Yegappan Lakshmanan [Sun, 30 Jan 2022 12:37:29 +0000 (12:37 +0000)]
patch 8.2.4259: number of test functions for GUI events is growing
Problem: Number of test functions for GUI events is growing.
Solution: Use one function with a dictionary. (Yegappan Lakshmanan,
closes #9660)
Bram Moolenaar [Sun, 30 Jan 2022 12:10:39 +0000 (12:10 +0000)]
patch 8.2.4258: Coverity warns for array overrun
Problem: Coverity warns for array overrun.
Solution: Restrict depth to MAXWLEN - 1.
Bram Moolenaar [Sat, 29 Jan 2022 22:20:48 +0000 (22:20 +0000)]
Update runtime files
Bram Moolenaar [Sat, 29 Jan 2022 21:45:34 +0000 (21:45 +0000)]
patch 8.2.4257: Vim9: finding global function without g: prefix inconsistent
Problem: Vim9: finding global function without g: prefix but not finding
global variable is inconsistent.
Solution: Require using g: for a global function. Change the vim9.vim
script into a Vim9 script with exports. Fix that import in legacy
script does not work.
K.Takata [Sat, 29 Jan 2022 15:27:58 +0000 (15:27 +0000)]
patch 8.2.4256: MS-Windows: compiler warnings when compiled with /W4
Problem: MS-Windows: compiler warnings when compiled with /W4.
Solution: Small adjustments to the code. (Ken Takata, closes #9659)
=?UTF-8?q?Dundar=20G=C3=B6c?= [Sat, 29 Jan 2022 15:19:23 +0000 (15:19 +0000)]
patch 8.2.4255: theoretical computation overflow
Problem: Theoretical computation overflow.
Solution: Perform multiplication in a wider type. (closes #9657)
=?UTF-8?q?Dundar=20G=C3=B6c?= [Sat, 29 Jan 2022 15:12:39 +0000 (15:12 +0000)]
patch 8.2.4254: using short instead of int
Problem: Using short instead of int.
Solution: Use int. (closes #9658)
Bram Moolenaar [Sat, 29 Jan 2022 14:21:51 +0000 (14:21 +0000)]
patch 8.2.4253: using freed memory when substitute with function call
Problem: Using freed memory when substitute uses a recursive function call.
Solution: Make a copy of the substitute text.
Yegappan Lakshmanan [Sat, 29 Jan 2022 13:06:40 +0000 (13:06 +0000)]
patch 8.2.4252: generating the normal command table at runtime is inefficient
Problem: Generating the normal command table at runtime is inefficient.
Solution: Generate the table with a Vim script and put it in a header file.
(Yegappan Lakshmanan, closes #9648)
Bram Moolenaar [Sat, 29 Jan 2022 12:45:47 +0000 (12:45 +0000)]
patch 8.2.4251: vala files are not recognized
Problem: Vala files are not recognized.
Solution: Add the *.vala pattern. (closes #9654)
ichizok [Sat, 29 Jan 2022 12:10:43 +0000 (12:10 +0000)]
patch 8.2.4250: channel out callback test is flaky on Mac
Problem: Channel out callback test is flaky on Mac.
Solution: Assign high priority to the test process. (Ozaki Kiichi,
closes #9653)
Bram Moolenaar [Sat, 29 Jan 2022 11:22:17 +0000 (11:22 +0000)]
patch 8.2.4249: the timeout limit for spell suggestions is always 5000
Problem: The timeout limit for spell suggestions is always 5000 milli
seconds.
Solution: Add the "timeout" entry to 'spellsuggest'.
zeertzjq [Sat, 29 Jan 2022 10:59:53 +0000 (10:59 +0000)]
patch 8.2.4248: no proper test for moving the window separator
Problem: No proper test for moving the window separator.
Solution: Add a test. Add comment in code. (closes #9656)
Bram Moolenaar [Sat, 29 Jan 2022 10:51:59 +0000 (10:51 +0000)]
patch 8.2.4247: stack corruption when looking for spell suggestions
Problem: Stack corruption when looking for spell suggestions.
Solution: Prevent the depth increased too much. Add a five second time
limit to finding suggestions.
Bram Moolenaar [Fri, 28 Jan 2022 21:00:51 +0000 (21:00 +0000)]
patch 8.2.4246: one error message not in errors.h
Problem: One error message not in errors.h. (Antonio Colombo)
Solution: Move the message and rename.
Bram Moolenaar [Fri, 28 Jan 2022 20:47:49 +0000 (20:47 +0000)]
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.
K.Takata [Fri, 28 Jan 2022 18:54:13 +0000 (18:54 +0000)]
patch 8.2.4244: MS-Windows: warning from MSVC on debug build
Problem: MS-Windows: warning from MSVC on debug build.
Solution: Adjust "/opt"o options. Remove unused variables. Make variables
uppercase for consistency. (Ken Takata, closes #9647)
=?UTF-8?q?Jakub=20Kul=C3=ADk?= [Fri, 28 Jan 2022 17:20:03 +0000 (17:20 +0000)]
patch 8.2.4243: Lua tests fail with Lua 5.4.4
Problem: Lua tests fail with Lua 5.4.4.
Solution: Check messages like before Lua 5.4.3. (Jakub Kulík, closes #9652)
Shougo Matsushita [Fri, 28 Jan 2022 16:01:13 +0000 (16:01 +0000)]
patch 8.2.4242: put in Visual mode cannot be repeated
Problem: Put in Visual mode cannot be repeated.
Solution: Use "P" to put without yanking the deleted text into the unnamed
register. (Shougo Matsushita, closes #9591)
=?UTF-8?q?Dundar=20G=C3=B6c?= [Fri, 28 Jan 2022 15:28:04 +0000 (15:28 +0000)]
patch 8.2.4241: some type casts are redundant
Problem: Some type casts are redundant.
Solution: Remove the type casts. (closes #9643)
Bram Moolenaar [Fri, 28 Jan 2022 15:01:47 +0000 (15:01 +0000)]
patch 8.2.4240: error for using flatten() in Vim9 script is unclear
Problem: Error for using flatten() in Vim9 script is unclear.
Solution: Add a remark to use flattennew().
Bram Moolenaar [Fri, 28 Jan 2022 14:39:58 +0000 (14:39 +0000)]
patch 8.2.4239: build fails with unusual configuration
Problem: Build fails with unusual configuration.
Solution: Adjust #ifdef. (closes #9651)
=?UTF-8?q?Dundar=20G=C3=B6c?= [Fri, 28 Jan 2022 14:15:09 +0000 (14:15 +0000)]
patch 8.2.4238: *.tf file could be fileytpe "tf" or "terraform"
Problem: *.tf file could be fileytpe "tf" or "terraform".
Solution: Detect the type from the file contents. (closes #9642)
zeertzjq [Fri, 28 Jan 2022 12:50:43 +0000 (12:50 +0000)]
patch 8.2.4237: record buffer wrong if character in Select mode was not typed
Problem: Record buffer wrong if character in Select mode was not typed.
Solution: Only delete the tail from the record buffer if the character was
typed. (closes #9650)
Bram Moolenaar [Thu, 27 Jan 2022 21:56:40 +0000 (21:56 +0000)]
patch 8.2.4236: accessing freed memory
Problem: Accessing freed memory.
Solution: Set the bh_curr pointer to NULL.
Bram Moolenaar [Thu, 27 Jan 2022 20:47:03 +0000 (20:47 +0000)]
patch 8.2.4235: invalid check for NULL pointer
Problem: Invalid check for NULL pointer.
Solution: Remove the check.
Bram Moolenaar [Thu, 27 Jan 2022 19:59:47 +0000 (19:59 +0000)]
patch 8.2.4234: test_garbagecollect_now() does not check v:testing
Problem: test_garbagecollect_now() does not check v:testing as documented.
Solution: Give an error if v:testing is not set.
Bram Moolenaar [Thu, 27 Jan 2022 19:27:16 +0000 (19:27 +0000)]
patch 8.2.4233: crash when recording and using Select mode
Problem: Crash when recording and using Select mode.
Solution: When deleting the last recorded character check there is something
to delete.
Bram Moolenaar [Thu, 27 Jan 2022 17:37:41 +0000 (17:37 +0000)]
patch 8.2.4232: some compilers don't like a goto label without statement
Problem: Some compilers don't like a goto label without statement.
Solution: Return instead of using a goto.
Bram Moolenaar [Thu, 27 Jan 2022 16:36:29 +0000 (16:36 +0000)]
patch 8.2.4231: Vim9: map() gives type error when type was not declared
Problem: Vim9: map() gives type error when type was not declared.
Solution: Only check the type when it was declared, like extend() does.
(closes #9635)
K.Takata [Thu, 27 Jan 2022 15:04:22 +0000 (15:04 +0000)]
patch 8.2.4230: MS-Windows: set_guifontwide() is included but won't work
Problem: MS-Windows: set_guifontwide() is included but won't work.
Solution: Include set_guifontwide() only for X11. (Ken Takata, closes #9640)
Bram Moolenaar [Thu, 27 Jan 2022 13:55:35 +0000 (13:55 +0000)]
patch 8.2.4229: possible crash when invoking timer callback fails
Problem: Possible crash when invoking timer callback fails.
Solution: Initialize the typval. Give an error for an empty callback.
(closes #9636)
Yegappan Lakshmanan [Thu, 27 Jan 2022 13:16:59 +0000 (13:16 +0000)]
patch 8.2.4228: no tests for clicking in the GUI tabline
Problem: No tests for clicking in the GUI tabline.
Solution: Add test functions to generate the events. Add tests using the
functions. (Yegappan Lakshmanan, closes #9638)
Bram Moolenaar [Wed, 26 Jan 2022 21:32:59 +0000 (21:32 +0000)]
patch 8.2.4227: Vim9: using "lockvar!" in :def function does not work
Problem: Vim9: using "lockvar!" in :def function does not work.
Solution: Add "!" instead of "-1". (closes #9634)
Bram Moolenaar [Wed, 26 Jan 2022 21:17:04 +0000 (21:17 +0000)]
patch 8.2.4226: filter-map test fails
Problem: Filter-map test fails.
Solution: Only reject number argument in Vim9 script.
Bram Moolenaar [Wed, 26 Jan 2022 21:01:15 +0000 (21:01 +0000)]
patch 8.2.4225: Vim9: depth argument of :lockvar not parsed in :def function
Problem: Vim9: depth argument of :lockvar not parsed in :def function.
Solution: Parse the optional depth argument. (closes #9629)
Fix that locking doesn't work for a non-materialize list.
Bram Moolenaar [Wed, 26 Jan 2022 18:26:21 +0000 (18:26 +0000)]
patch 8.2.4224: Vim9: no error when using a number for map() second argument
Problem: Vim9: no error when using a number for map() second argument
Solution: Disallow number to string conversion. (closes #9630)
K.Takata [Wed, 26 Jan 2022 16:45:20 +0000 (16:45 +0000)]
patch 8.2.4223: long/int compiler warnings; function arguments swapped
Problem: Long/int compiler warnings; function arguments swapped.
Solution: Add type casts. Swap arguments. (Ken Takata, closes #9632)
K.Takata [Wed, 26 Jan 2022 16:20:21 +0000 (16:20 +0000)]
patch 8.2.4222: MS-Windows: clumsy way to suppress progress on CI
Problem: MS-Windows: clumsy way to suppress progress on CI.
Solution: Check for "$CI" in the Makefile itself. (Ken Takata, closes #9631)
Yegappan Lakshmanan [Wed, 26 Jan 2022 12:14:15 +0000 (12:14 +0000)]
patch 8.2.4221: some functions in normal.c are very long
Problem: Some functions in normal.c are very long.
Solution: Move code to separate functions. (Yegappan Lakshmanan,
closes #9628)
K.Takata [Wed, 26 Jan 2022 11:16:52 +0000 (11:16 +0000)]
patch 8.2.4220: MS-Windows: some old compiler support remains
Problem: MS-Windows: some old compiler support remains.
Solution: Remove obsolete compiler support. (Ken Takata, closes #9627)
Bram Moolenaar [Tue, 25 Jan 2022 21:26:17 +0000 (21:26 +0000)]
patch 8.2.4219: reading before the start of the line
Problem: Reading before the start of the line.
Solution: Check boundary before trying to read the character.
Bram Moolenaar [Tue, 25 Jan 2022 20:45:16 +0000 (20:45 +0000)]
patch 8.2.4218: illegal memory access with bracketed paste in Ex mode
Problem: Illegal memory access with bracketed paste in Ex mode.
Solution: Reserve space for the trailing NUL.
Bram Moolenaar [Tue, 25 Jan 2022 18:24:00 +0000 (18:24 +0000)]
patch 8.2.4217: illegal memory access when undo makes Visual area invalid
Problem: Illegal memory access when undo makes Visual area invalid.
Solution: Correct the Visual area after undo.
Bram Moolenaar [Tue, 25 Jan 2022 15:51:56 +0000 (15:51 +0000)]
patch 8.2.4216: Vim9: cannot use a function from an autoload import directly
Problem: Vim9: cannot use a function from an autoload import directly.
Solution: Add the AUTOLOAD instruction to figure out at runtime.
(closes #9620)
Bram Moolenaar [Tue, 25 Jan 2022 13:52:53 +0000 (13:52 +0000)]
patch 8.2.4215: illegal memory access when copying lines in Visual mode
Problem: Illegal memory access when copying lines in Visual mode.
Solution: Adjust the Visual position after copying lines.
Bram Moolenaar [Tue, 25 Jan 2022 11:55:02 +0000 (11:55 +0000)]
patch 8.2.4214: illegal memory access with large 'tabstop' in Ex mode
Problem: Illegal memory access with large 'tabstop' in Ex mode.
Solution: Allocate enough memory.
K.Takata [Tue, 25 Jan 2022 10:31:37 +0000 (10:31 +0000)]
patch 8.2.4213: too much code for supporting old MSVC versions
Problem: Too much code for supporting old MSVC versions.
Solution: Remove MSVC 2003 support. (Ken Takata, closes #9623)
Bram Moolenaar [Mon, 24 Jan 2022 22:32:28 +0000 (22:32 +0000)]
patch 8.2.4212: window title test still fails in some configurations
Problem: Window title test still fails in some configurations.
Solution: Explicitly set the 'title' option.
Bram Moolenaar [Mon, 24 Jan 2022 22:18:24 +0000 (22:18 +0000)]
patch 8.2.4211: window title test still fails in some configurations
Problem: Window title test still fails in some configurations.
Solution: Use WaitForAssert().
Bram Moolenaar [Mon, 24 Jan 2022 22:02:15 +0000 (22:02 +0000)]
patch 8.2.4210: window title test fails in some configurations
Problem: Window title test fails in some configurations.
Solution: Only run the test if the title can be obtained.
Bram Moolenaar [Mon, 24 Jan 2022 21:28:01 +0000 (21:28 +0000)]
patch 8.2.4209: partial in 'opfunc' cannot use an imported function
Problem: partial in 'opfunc' cannot use an imported function.
Solution: Also expand the function name in a partial. (closes #9614)
Bram Moolenaar [Mon, 24 Jan 2022 20:00:55 +0000 (20:00 +0000)]
patch 8.2.4208: using setbufvar() may change the window title
Problem: Using setbufvar() may change the window title.
Solution: Do not redraw when creating the autocommand window. (closes #9613)
Bram Moolenaar [Mon, 24 Jan 2022 18:36:39 +0000 (18:36 +0000)]
patch 8.2.4207: recursion test fails with MSVC
Problem: Recursion test fails with MSVC.
Solution: Use a smaller limit for MSVC.
Bram Moolenaar [Mon, 24 Jan 2022 18:16:12 +0000 (18:16 +0000)]
patch 8.2.4206: condition with many "(" causes a crash
Problem: Condition with many "(" causes a crash.
Solution: Limit recursion to 1000.
Yegappan Lakshmanan [Mon, 24 Jan 2022 16:30:30 +0000 (16:30 +0000)]
patch 8.2.4205: the normal_cmd() function is too long
Problem: The normal_cmd() function is too long.
Solution: Move parts to separate functions. (Yegappan Lakshmanan,
closes #9608)
Bram Moolenaar [Mon, 24 Jan 2022 16:15:15 +0000 (16:15 +0000)]
patch 8.2.4204: screenpos() has non-zero row for invisible text
Problem: screenpos() has non-zero row for invisible text.
Solution: Only add the window row when the text is visible. (closes #9618)
zeertzjq [Mon, 24 Jan 2022 15:27:50 +0000 (15:27 +0000)]
patch 8.2.4203: entering a character with CTRL-V may include modifiers
Problem: Entering a character with CTRL-V may include modifiers.
Solution: Reset "mod_mask" when entering a character with digits after
CTRL-V. (closes #9610)
Bram Moolenaar [Mon, 24 Jan 2022 13:54:45 +0000 (13:54 +0000)]
patch 8.2.4202: Vim9: cannot export function that exists globally
Problem: Vim9: cannot export function that exists globally.
Solution: When checking if a function already exists only check for
script-local functions. (closes #9615)
Bram Moolenaar [Mon, 24 Jan 2022 12:20:45 +0000 (12:20 +0000)]
patch 8.2.4201: when using the GUI CTRL-Z does not stop gvim
Problem: When using the GUI CTRL-Z does not stop gvim.
Solution: When using the GUI set SIGTSTP to SIG_DFL. (Andrew Maltsev,
closes #9570)
Yegappan Lakshmanan [Mon, 24 Jan 2022 11:40:37 +0000 (11:40 +0000)]
patch 8.2.4200: some tests do not clean up properly
Problem: Some tests do not clean up properly.
Solution: Delete created files. (Yegappan Lakshmanan, closes #9611)
K.Takata [Mon, 24 Jan 2022 11:24:08 +0000 (11:24 +0000)]
patch 8.2.4199: MS-Windows: Support for MSVC 2003 is not useful
Problem: MS-Windows: Support for MSVC 2003 is not useful.
Solution: Remove the exceptions for MSVC 2003. (Ken Takata, closes #9616)
Bram Moolenaar [Sun, 23 Jan 2022 20:00:42 +0000 (20:00 +0000)]
patch 8.2.4198: Vim9: the switch for executing instructions is too long
Problem: Vim9: the switch for executing instructions is too long.
Solution: Move some code to separate functions.
Bram Moolenaar [Sun, 23 Jan 2022 17:59:06 +0000 (17:59 +0000)]
patch 8.2.4197: cannot use an import in the "expr" part of 'spellsuggest'
Problem: Cannot use an import in the "expr" part of 'spellsuggest'.
Solution: Set the script context when evaluating "expr" of 'spellsuggest'.
=?UTF-8?q?Dundar=20G=C3=B6c?= [Sun, 23 Jan 2022 17:09:05 +0000 (17:09 +0000)]
patch 8.2.4196: various file types not recognized
Problem: Various file types not recognized.
Solution: Add patterns to recognize more file types (closes #9607)
dbivolaru [Sun, 23 Jan 2022 16:41:14 +0000 (16:41 +0000)]
patch 8.2.4195: resizing terminal may cause to behave like CTRL-Z
Problem: Resizing terminal may cause to behave like CTRL-Z.
Solution: Set "got_tstp" only when in_mch_suspend is set. (Dorian Bivolaru,
closes #9602, closes #9586)
K.Takata [Sun, 23 Jan 2022 16:25:17 +0000 (16:25 +0000)]
patch 8.2.4194: MS-Windows: code for calculating font size is duplicated
Problem: MS-Windows: code for calculating font size is duplicated.
Solution: Move the code to a function. (Ken Takata, closes #9603)
Bram Moolenaar [Sun, 23 Jan 2022 14:17:28 +0000 (14:17 +0000)]
patch 8.2.4193: cannot use an import in 'charconvert'
Problem: Cannot use an import in 'charconvert'.
Solution: Set the script context when evaluating 'charconvert'. Also expand
script-local functions in 'charconvert'.
Bram Moolenaar [Sun, 23 Jan 2022 13:44:35 +0000 (13:44 +0000)]
patch 8.2.4192: cannot use an import in 'printexpr'
Problem: Cannot use an import in 'printexpr'.
Solution: Set the script context when evaluating 'printexpr'.
=?UTF-8?q?Dundar=20G=C3=B6c?= [Sun, 23 Jan 2022 13:05:39 +0000 (13:05 +0000)]
patch 8.2.4191: json5 files are not recognized
Problem: json5 files are not recognized.
Solution: Add a pattern for json5 files. (closes #9601)
zeertzjq [Sun, 23 Jan 2022 12:42:55 +0000 (12:42 +0000)]
patch 8.2.4190: all conceal tests are skipped without the screendumps feature
Problem: All conceal tests are skipped without the screendumps feature.
Solution: Only skip the tests that use screendumps. (closes #9599)
K.Takata [Sun, 23 Jan 2022 12:31:57 +0000 (12:31 +0000)]
patch 8.2.4189: MS-Windows: code for "old look" is obsolete
Problem: MS-Windows: code for "old look" is obsolete.
Solution: Delete obsolete code. Use "MS Shell Dlg" font. (Ken Takata,
closes #9596)
Bram Moolenaar [Sun, 23 Jan 2022 12:07:04 +0000 (12:07 +0000)]
Update runtime files
Tim Pope [Sun, 23 Jan 2022 11:28:16 +0000 (11:28 +0000)]
patch 8.2.4188: not all gitconfig files are recognized
Problem: Not all gitconfig files are recognized.
Solution: Add a few more patterns. (Tim Pope, closes #9597)
nobodyatandnothing [Sun, 23 Jan 2022 11:19:37 +0000 (11:19 +0000)]
patch 8.2.4187: gnuplot file not recognized
Problem: Gnuplot file not recognized.
Solution: Recognize ".gnuplot". (closes #9588)
Bram Moolenaar [Sat, 22 Jan 2022 20:55:30 +0000 (20:55 +0000)]
patch 8.2.4186: cannot use an import in 'patchexpr'
Problem: Cannot use an import in 'patchexpr'.
Solution: Set the script context when evaluating 'patchexpr'. Do not
require 'patchexpr' to return a bool, it was ignored anyway.
Bram Moolenaar [Sat, 22 Jan 2022 20:32:00 +0000 (20:32 +0000)]
patch 8.2.4185: cannot use an import in 'indentexpr'
Problem: Cannot use an import in 'indentexpr'.
Solution: Set the script context when evaluating 'indentexpr'
Bram Moolenaar [Sat, 22 Jan 2022 20:19:22 +0000 (20:19 +0000)]
patch 8.2.4184: cannot use an import in 'includeexpr'
Problem: Cannot use an import in 'includeexpr'.
Solution: Set the script context when evaluating 'includeexpr'
Bram Moolenaar [Sat, 22 Jan 2022 19:17:31 +0000 (19:17 +0000)]
patch 8.2.4183: cannot use an import in 'formatexpr'
Problem: Cannot use an import in 'formatexpr'.
Solution: Set the script context when evaluating 'formatexpr'.
Bram Moolenaar [Sat, 22 Jan 2022 18:21:36 +0000 (18:21 +0000)]
patch 8.2.4182: memory leak when evaluating 'diffexpr'
Problem: Memory leak when evaluating 'diffexpr'.
Solution: Use free_tv() instead of clear_tv().
Bram Moolenaar [Sat, 22 Jan 2022 17:58:13 +0000 (17:58 +0000)]
patch 8.2.4181: Vim9: cannot use an import in 'diffexpr'
Problem: Vim9: cannot use an import in 'diffexpr'.
Solution: Set the script context when evaluating 'diffexpr'. Do not require
'diffexpr' to return a bool, it was ignored anyway.
Bram Moolenaar [Sat, 22 Jan 2022 15:09:36 +0000 (15:09 +0000)]
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.
Bram Moolenaar [Sat, 22 Jan 2022 13:39:08 +0000 (13:39 +0000)]
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.