Bram Moolenaar
c48f2dc0be
patch 8.2.2699: Lua test fails
...
Problem: Lua test fails.
Solution: Fix condition. (Yegappan Lakshmanan, closes #8060 )
2021-04-03 17:18:52 +02:00
Bram Moolenaar
b9c6b6fb73
patch 8.2.2698: Lua test fails on MS-Windows
...
Problem: Lua test fails on MS-Windows.
Solution: Fall back to old method if "lua -v" doesn't work.
2021-04-03 15:35:50 +02:00
Bram Moolenaar
0df6030145
patch 8.2.2697: function list test fails
...
Problem: Function list test fails.
Solution: Add missing function. (Yegappan Lakshmanan)
2021-04-03 15:15:47 +02:00
Bram Moolenaar
f65ed86f6f
patch 8.2.2696: Lua test fails with Lua 5.4.3 and later
...
Problem: Lua test fails with Lua 5.4.3 and later.
Solution: Check for different error messages. (Yegappan Lakshmanan,
closes #8050 )
2021-04-03 14:13:33 +02:00
Bram Moolenaar
1e6bbfb560
patch 8.2.2695: cursor position reset with nested autocommands
...
Problem: Cursor position reset with nested autocommands.
Solution: Only check and reset line numbers for not nested autocommands.
(closes #5820 )
2021-04-03 13:19:26 +02:00
Bram Moolenaar
5b8cabfef7
patch 8.2.2694: when 'matchpairs' is empty every character beeps
...
Problem: When 'matchpairs' is empty every character beeps. (Marco Hinz)
Solution: Bail out when no character in 'matchpairs' was found.
(closes #8053 ) Add assert_nobeep().
2021-04-02 18:55:57 +02:00
Bram Moolenaar
dcf29ac87f
patch 8.2.2693: Vim9: locked script variable can be changed
...
Problem: Vim9: locked script variable can be changed.
Solution: Check legacy script variable for being locked. (issue #8031 )
2021-04-02 14:44:02 +02:00
Bram Moolenaar
f5906aa780
patch 8.2.2692: Vim9: locked script variable can be changed
...
Problem: Vim9: locked script variable can be changed.
Solution: Check for locked value. (closes #8031 )
2021-04-02 14:35:15 +02:00
Bram Moolenaar
3fa5e64e0e
patch 8.2.2691: autoconf may mess up compiler flags
...
Problem: Autoconf may mess up compiler flags.
Solution: Handle removing FORTIFY_SOURCE a bit better. (Vladimir Lomov,
closes #8049 )
2021-04-02 13:30:59 +02:00
Bram Moolenaar
ef38bcf051
patch 8.2.2690: PowerShell files are not recognized
...
Problem: PowerShell files are not recognized.
Solution: Recognize several PowerShell extension. (Heath Stewart,
closes #8051 )
2021-04-02 13:00:15 +02:00
Bram Moolenaar
160a2b4dac
patch 8.2.2689: tiny build fails
...
Problem: Tiny build fails.
Solution: Add #ifdef around use of p_stl.
2021-04-01 21:57:46 +02:00
Bram Moolenaar
ca51cc0a33
patch 8.2.2688: Vim9: crash when using s: for script variable
...
Problem: Vim9: crash when using s: for script variable.
Solution: Pass the end pointer. (closes #8045 )
2021-04-01 21:38:53 +02:00
Bram Moolenaar
d877a5700f
patch 8.2.2687: Vim9: cannot use "const" for global variable in :def function
...
Problem: Vim9: cannot use "const" for global variable in :def function.
Solution: Do allow using :const for a global variable. (closes #8030 )
2021-04-01 19:42:48 +02:00
Bram Moolenaar
ce0b75711a
patch 8.2.2686: status line is not updated when going to cmdline mode
...
Problem: Status line is not updated when going to cmdline mode.
Solution: Redraw status lines if 'statusline' is set and going to status
line mode. (based on patch from Justin M. Keyes et al.,
closes #8044 )
2021-04-01 18:47:14 +02:00
Bram Moolenaar
49c51b825a
patch 8.2.2685: custom statusline not drawn correctly with WinBar
...
Problem: Custom statusline not drawn correctly with WinBar.
Solution: Also adjust the column for the custom status line. (Yee Cheng
Chin, closes #8047 )
2021-04-01 16:16:18 +02:00
Bram Moolenaar
5c504f680e
patch 8.2.2684: not enough folding code is tested
...
Problem: Not enough folding code is tested.
Solution: Add more test cases. (Yegappan Lakshmanan, closes #8046 )
2021-04-01 13:39:51 +02:00
Bram Moolenaar
b91d3f857f
patch 8.2.2683: build failure without the +eval feature
...
Problem: Build failure without the +eval feature.
Solution: Add #ifdef.
2021-04-01 13:17:50 +02:00
Bram Moolenaar
529fb5a5f6
patch 8.2.2682: Vim9: cannot find Name.Func from "import * as Name"
...
Problem: Vim9: cannot find Name.Func from "import * as Name". (Alexander
Goussas)
Solution: When no variable found try finding a function. (closes #8045 )
Check that the function was exported.
2021-04-01 12:57:57 +02:00
Bram Moolenaar
12be734faf
patch 8.2.2681: Vim9: test fails for redeclaring script variable
...
Problem: Vim9: test fails for redeclaring script variable.
Solution: It's OK to assign to an existing script variable in legacy.
2021-03-31 21:47:33 +02:00
Bram Moolenaar
e535db86e7
patch 8.2.2680: Vim9: problem defining a script variable from legacy function
...
Problem: Vim9: problem defining a script variable from legacy function.
Solution: Check if the script is Vim9, not the current syntax.
(closes #8032 )
2021-03-31 21:07:24 +02:00
Bram Moolenaar
ae0f151ddf
patch 8.2.2679: status line missing for non-current window with winbar
...
Problem: Winbar drawn over status line for non-current window with winbar
if frame is zero height. (Leonid V. Fedorenchik)
Solution: Do not draw the window if the frame height is zero. (closes #8037 )
2021-03-30 22:12:12 +02:00
Bram Moolenaar
82820d9bf1
patch 8.2.2678: test for 'autoshelldir' does not reset the option
...
Problem: Test for 'autoshelldir' does not reset the option.
Solution: Reset the option after testing.
2021-03-30 20:54:28 +02:00
Bram Moolenaar
38a3bfa9a2
patch 8.2.2677: Vim9: cannot use only some of the default arguments
...
Problem: Vim9: cannot use only some of the default arguments.
Solution: Use v:none to use default argument value. Remove
uf_def_arg_idx[], use JUMP_IF_ARG_SET. (closes #6504 )
2021-03-29 22:14:55 +02:00
Bram Moolenaar
9ea7e55ab9
patch 8.2.2676: missing error message
...
Problem: Missing error message.
Solution: Add new error message.
2021-03-29 21:06:04 +02:00
Bram Moolenaar
8b9abfd86c
patch 8.2.2675: directory change in a terminal window shell is not followed
...
Problem: Directory change in a terminal window shell is not followed.
Solution: Add the 'autoshelldir' option. (closes #6290 )
2021-03-29 20:49:05 +02:00
Bram Moolenaar
9dbe701fe1
patch 8.2.2674: Motif: cancelling the font dialog resets the font
...
Problem: Motif: cancelling the font dialog resets the font.
Solution: When no font is selected to not change the font. (closes #7825 ,
closes #8035 ) Fix compiler warnings.
2021-03-29 20:10:26 +02:00
Bram Moolenaar
3215466af9
patch 8.2.2673: Vim9: script-local funcref can have lower case name
...
Problem: Vim9: script-local funcref can have lower case name.
Solution: Require an upper case name.
2021-03-28 21:14:06 +02:00
Bram Moolenaar
b2cb6c8bbd
patch 8.2.2672: Vim9: cannot use :lockvar and :unlockvar in compiled script
...
Problem: Vim9: cannot use :lockvar and :unlockvar in compiled script.
Solution: Implement locking support.
2021-03-28 20:38:34 +02:00
Bram Moolenaar
f6bdd82c7e
patch 8.2.2671: error for line number in legacy script
...
Problem: Error for line number in legacy script.
Solution: Check for number type.
2021-03-28 16:26:41 +02:00
Bram Moolenaar
b2ac7d0663
patch 8.2.2670: Vim9: error for append(0, text)
...
Problem: Vim9: error for append(0, text).
Solution: Check for negative number. (closes #8022 )
2021-03-28 15:46:16 +02:00
Bram Moolenaar
df749a2b9c
patch 8.2.2669: command line completion does not work after "vim9"
...
Problem: Command line completion does not work after "vim9".
Solution: Include the "9". (Naohiro Ono, closes #8025 )
2021-03-28 15:29:43 +02:00
Bram Moolenaar
f49a1fcdb9
patch 8.2.2668: Vim9: omitting "call" for "confirm()" does not give an error
...
Problem: Vim9: omitting "call" for "confirm()" does not give an error.
Solution: Do not recognize a modifier followed by "(".
2021-03-27 22:20:21 +01:00
Bram Moolenaar
24f21fdfca
patch 8.2.2667: prop_find() cannot find item matching both id and type
...
Problem: prop_find() cannot find item matching both id and type.
Solution: Add the "both" argument. (Naohiro Ono, closes #8019 )
2021-03-27 22:07:29 +01:00
Bram Moolenaar
c580943965
patch 8.2.2666: Vim9: not enough function arguments checked for string
...
Problem: Vim9: not enough function arguments checked for string.
Solution: Check in ch_logfile(), char2nr() and others.
2021-03-27 21:23:30 +01:00
Bram Moolenaar
7b45d46cf7
patch 8.2.2665: test failures
...
Problem: Test failures.
Solution: Check more specific feature. Add missing change.
2021-03-27 19:09:02 +01:00
Bram Moolenaar
32105ae88f
patch 8.2.2664: Vim9: not enough function arguments checked for string
...
Problem: Vim9: not enough function arguments checked for string.
Solution: Check in balloon functions. Refactor function arguments.
2021-03-27 18:59:25 +01:00
Bram Moolenaar
79efa2e3b3
patch 8.2.2663: Vim9: leaking memory when inline function has an error
...
Problem: Vim9: leaking memory when inline function has an error.
Solution: Free the partially allocated function.
2021-03-27 15:40:11 +01:00
Bram Moolenaar
7007e31bde
patch 8.2.2662: there is no way to avoid some escape sequences
...
Problem: There is no way to avoid some escape sequences.
Solution: Suppress escape sequences when the --not-a-term argument is used.
(Gary Johnson)
2021-03-27 12:11:33 +01:00
Bram Moolenaar
bb5d87c850
patch 8.2.2661: leaking memory when looping over a string
...
Problem: Leaking memory when looping over a string.
Solution: Free the memory.
2021-03-26 22:15:26 +01:00
Bram Moolenaar
ccc25aa285
patch 8.2.2660: Vim9: no error for declaration with trailing text
...
Problem: Vim9: no error for declaration with trailing text.
Solution: Give an error. (closes #8014 )
2021-03-26 21:27:52 +01:00
Bram Moolenaar
c61cb8bfe1
patch 8.2.2659: eval test fails because for loop on string works
...
Problem: Eval test fails because for loop on string works.
Solution: Check looping over function reference fails.
2021-03-26 20:56:45 +01:00
Bram Moolenaar
74e54fcb44
patch 8.2.2658: :for cannot loop over a string
...
Problem: :for cannot loop over a string.
Solution: Accept a string argument and iterate over its characters.
2021-03-26 20:41:29 +01:00
Bram Moolenaar
522eefd9a2
patch 8.2.2657: Vim9: error message for declaring variable in for loop
...
Problem: Vim9: error message for declaring variable in for loop.
Solution: Clear variables when entering block again. (closes #8012 )
2021-03-26 18:49:22 +01:00
Bram Moolenaar
a2b3e7dc92
patch 8.2.2656: some command line arguments and regexp errors not tested
...
Problem: Some command line arguments and regexp errors not tested.
Solution: Add a few test cases. (Dominique Pellé, closes #8013 )
2021-03-26 17:24:34 +01:00
Bram Moolenaar
0a1a6a1aa4
patch 8.2.2655: The -w command line argument doesn't work
...
Problem: The -w command line argument doesn't work.
Solution: Don't set 'window' when set with the -w argument. (closes #8011 )
2021-03-26 14:14:18 +01:00
Bram Moolenaar
ff87140046
patch 8.2.2654: Vim9: getting a character from a string can be slow
...
Problem: Vim9: getting a character from a string can be slow.
Solution: Avoid a function call to get the character byte size. (#8000 )
2021-03-26 13:34:05 +01:00
Bram Moolenaar
3a0f092ac0
patch 8.2.2653: build failure
...
Problem: Build failure.
Solution: Add missing changes.
2021-03-25 22:22:30 +01:00
Bram Moolenaar
fa984418e7
patch 8.2.2652: Vim9: can use command modifier without an effect
...
Problem: Vim9: can use command modifier without an effect.
Solution: Give an error for a misplaced command modifier. Fix error message
number.
2021-03-25 22:15:28 +01:00
Bram Moolenaar
a91a71322d
patch 8.2.2651: Vim9: restoring command modifiers happens after jump
...
Problem: Vim9: restoring command modifiers happens after jump.
Solution: Move the restore instruction to before the jump. (closes #8006 )
Also handle for and while.
2021-03-25 21:12:15 +01:00
Bram Moolenaar
2fecb53115
patch 8.2.2650: Vim9: command modifiers not handled in nested function
...
Problem: Vim9: command modifiers not handled in nested function.
Solution: Keep function-local info in a structure and save it on the stack.
2021-03-24 22:00:56 +01:00