Bram Moolenaar
e939f5ebba
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 )
2022-01-26 21:32:59 +00:00
Bram Moolenaar
fc4c44836a
patch 8.2.4226: filter-map test fails
...
Problem: Filter-map test fails.
Solution: Only reject number argument in Vim9 script.
2022-01-26 21:17:04 +00:00
Bram Moolenaar
70c43d84be
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.
2022-01-26 21:01:15 +00:00
Bram Moolenaar
1080c48ec8
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 )
2022-01-26 18:26:21 +00:00
K.Takata
1a804528ab
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 )
2022-01-26 16:45:20 +00:00
K.Takata
47d1666d60
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 )
2022-01-26 16:20:21 +00:00
Yegappan Lakshmanan
a827bf3ea8
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 )
2022-01-26 12:14:15 +00:00
K.Takata
250155ae31
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 )
2022-01-26 11:16:52 +00:00
Bram Moolenaar
44db8213d3
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.
2022-01-25 21:26:17 +00:00
Bram Moolenaar
806d037671
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.
2022-01-25 20:45:16 +00:00
Bram Moolenaar
8d02ce1ed7
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.
2022-01-25 18:24:00 +00:00
Bram Moolenaar
06b77229ca
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 )
2022-01-25 15:51:56 +00:00
Bram Moolenaar
dc5490e2cb
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.
2022-01-25 13:52:53 +00:00
Bram Moolenaar
85b6747abc
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.
2022-01-25 11:55:02 +00:00
K.Takata
76687d2717
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 )
2022-01-25 10:31:37 +00:00
Bram Moolenaar
1450112eef
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.
2022-01-24 22:32:28 +00:00
Bram Moolenaar
3a8ad5918b
patch 8.2.4211: window title test still fails in some configurations
...
Problem: Window title test still fails in some configurations.
Solution: Use WaitForAssert().
2022-01-24 22:18:24 +00:00
Bram Moolenaar
a6c09a7c20
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.
2022-01-24 22:02:15 +00:00
Bram Moolenaar
3e93a2b075
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 )
2022-01-24 21:28:01 +00:00
Bram Moolenaar
dff97e65eb
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 )
2022-01-24 20:00:55 +00:00
Bram Moolenaar
50e0525445
patch 8.2.4207: recursion test fails with MSVC
...
Problem: Recursion test fails with MSVC.
Solution: Use a smaller limit for MSVC.
2022-01-24 18:36:39 +00:00
Bram Moolenaar
fe6fb267e6
patch 8.2.4206: condition with many "(" causes a crash
...
Problem: Condition with many "(" causes a crash.
Solution: Limit recursion to 1000.
2022-01-24 18:16:12 +00:00
Yegappan Lakshmanan
4663435074
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 )
2022-01-24 16:30:30 +00:00
Bram Moolenaar
7924a17791
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 )
2022-01-24 16:15:15 +00:00
zeertzjq
502d8ae3e8
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 )
2022-01-24 15:27:50 +00:00
Bram Moolenaar
acc4b5648b
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 )
2022-01-24 13:54:45 +00:00
Bram Moolenaar
8e4af851fd
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 )
2022-01-24 12:20:45 +00:00
Yegappan Lakshmanan
7e765a39b7
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 )
2022-01-24 11:40:37 +00:00
K.Takata
c351dc1e0c
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 )
2022-01-24 11:24:08 +00:00
Bram Moolenaar
058ee7c569
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.
2022-01-23 20:00:42 +00:00
Bram Moolenaar
2a7aa83458
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'.
2022-01-23 17:59:06 +00:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
428058ab32
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 )
2022-01-23 17:09:05 +00:00
dbivolaru
79a6e25b79
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 )
2022-01-23 16:41:14 +00:00
K.Takata
abe628e1bd
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 )
2022-01-23 16:25:17 +00:00
Bram Moolenaar
f4e88f2152
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'.
2022-01-23 14:17:28 +00:00
Bram Moolenaar
7ef4a2fe37
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'.
2022-01-23 13:44:35 +00:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
e15ebeffb3
patch 8.2.4191: json5 files are not recognized
...
Problem: json5 files are not recognized.
Solution: Add a pattern for json5 files. (closes #9601 )
2022-01-23 13:05:39 +00:00
zeertzjq
206919191f
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 )
2022-01-23 12:42:55 +00:00
K.Takata
d1c58999c8
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 )
2022-01-23 12:31:57 +00:00
Tim Pope
bcfa11b7df
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 )
2022-01-23 11:28:16 +00:00
nobodyatandnothing
ff5cbe8133
patch 8.2.4187: gnuplot file not recognized
...
Problem: Gnuplot file not recognized.
Solution: Recognize ".gnuplot". (closes #9588 )
2022-01-23 11:19:37 +00:00
Bram Moolenaar
36c2add7f8
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.
2022-01-22 20:55:30 +00:00
Bram Moolenaar
28e60cc088
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'
2022-01-22 20:32:00 +00:00
Bram Moolenaar
47bcc5f4c8
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'
2022-01-22 20:19:22 +00:00
Bram Moolenaar
3ba685eeef
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'.
2022-01-22 19:17:31 +00:00
Bram Moolenaar
39b8944539
patch 8.2.4182: memory leak when evaluating 'diffexpr'
...
Problem: Memory leak when evaluating 'diffexpr'.
Solution: Use free_tv() instead of clear_tv().
2022-01-22 18:21:36 +00:00
Bram Moolenaar
7b29f6a394
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.
2022-01-22 17:58:13 +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
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
0bfa84916d
patch 8.2.4178: Vim9: invalid error for return type of lambda when debugging
...
Problem: Vim9: invalid error for return type of lambda when debugging.
Solution: Do not check the return type of a lambda. (closes #9589 )
2022-01-22 12:27:04 +00:00