Bram Moolenaar
6aca4d3c2b
patch 8.2.4503: Vim9: there is no point in supporting :Print and :mode
...
Problem: Vim9: there is no point in supporting :Print and :mode.
Solution: Do not recognize :Print and :mode as commands. (closes #9870 )
2022-03-04 17:10:19 +00:00
Bram Moolenaar
d979d64fa2
patch 8.2.4502: in the GUI a modifier is not recognized after CTRL-X
...
Problem: In the GUI a modifier is not recognized for the key typed after
CTRL-X, which may result in a mapping to be used. (Daniel
Steinberg)
Solution: Recognize a modifier starting with CSI. (closes #9889 )
2022-03-04 14:51:06 +00:00
Bram Moolenaar
21efafe4c2
patch 8.2.4501: with 'showbreak' set cursor displayed in wrong position
...
Problem: With 'showbreak' set and after the end of the line the cursor
may be displayed in the wrong position.
Solution: Do not apply 'showbreak' after the end of the line. (closes #9884 )
2022-03-03 20:04:03 +00:00
Bram Moolenaar
0e1574c406
patch 8.2.4500: Vim9: can declare a global variable on the command line
...
Problem: Vim9: can declare a global variable on the command line.
Solution: Disallow declaring a variable on the command line. (closes #9881 )
2022-03-03 17:05:35 +00:00
Bram Moolenaar
28bf649a57
patch 8.2.4499: Vim9: at the script level declarations leak to next block
...
Problem: Vim9: at the script level declarations leak from try block to
catch and finally block.
Solution: End the block and start a new one. (closes #9883 )
2022-03-03 15:11:20 +00:00
Bram Moolenaar
1fc34225ac
patch 8.2.4498: using <Plug> with "noremap" does not work
...
Problem: Using <Plug> with "noremap" does not work.
Solution: Always remap <Plug>. (closes #9879 , closes #9789 )
2022-03-03 13:56:24 +00:00
Bram Moolenaar
35d8c2010e
patch 8.2.4497: wrong color for half of wide character next to pum scrollbar
...
Problem: Wrong color for half of wide character next to pum scrollbar.
Solution: Redraw the screen cell with the right color. (closes #9874 )
2022-03-03 11:46:00 +00:00
Bram Moolenaar
fe9112e630
patch 8.2.4496: Coverity gives warnings after tags code refactoring
...
Problem: Coverity gives warnings after tags code refactoring.
Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #9882 )
2022-03-03 10:44:17 +00:00
Bram Moolenaar
e4e1a1e1c8
patch 8.2.4495: help test fails in 24 line terminal
...
Problem: Help test fails in 24 line terminal.
Solution: Use up to 23 lines for text.
2022-03-02 20:49:50 +00:00
Yegappan Lakshmanan
2f87a99b6e
patch 8.2.4494: the find_tags() function is much too long
...
Problem: The find_tags() function is much too long.
Solution: Refactor the function. (Yegappan Lakshmanan, closes #9869 )
2022-03-02 20:29:35 +00:00
Bram Moolenaar
b9c5108593
patch 8.2.4493: options test fails in the GUI
...
Problem: Options test fails in the GUI.
Solution: Do not save and restore 'term'.
2022-03-02 20:12:03 +00:00
Bram Moolenaar
8ccbbeb620
patch 8.2.4492: no error if an option is given a value with ":let &opt = val"
...
Problem: No error if an option is given an invalid value with
":let &opt = val".
Solution: Give the error. (closes #9864 )
2022-03-02 19:49:38 +00:00
K.Takata
7f687aaca9
patch 8.2.4491: MS-Windows makefile dependencies are outdated
...
Problem: MS-Windows makefile dependencies are outdated.
Solution: Update dependencies. (Ken Takata, closes #9876 )
2022-03-02 17:34:56 +00:00
Bram Moolenaar
8d5daf267e
patch 8.2.4490: terminal focus reporting only works for xterm-like terminals
...
Problem: Terminal focus reporting only works for xterm-like terminals.
(Jonathan Rascher)
Solution: Remove the "focus_mode" flag. (closes #9859 )
2022-03-02 17:16:39 +00:00
Bram Moolenaar
c6e9d7063d
patch 8.2.4489: failing test for comparing v:null with number
...
Problem: Failing test for comparing v:null with number.
Solution: Allow comparing v:null with number in legacy script.
(Ken Takata, closes #9873 ) Also do this for float.
2022-03-02 13:13:30 +00:00
Bram Moolenaar
f6b0c79742
patch 8.2.4488: build error with +eval but without +channel or +job
...
Problem: Build error with +eval but without +channel or +job.
Solution: Add #ifdef. (John Marriott)
2022-03-01 19:52:48 +00:00
Bram Moolenaar
7a22224875
patch 8.2.4487: Vim9: cannot compare with v:null
...
Problem: Vim9: cannot compare with v:null.
Solution: Allow comparing anything with v:null. (closes #9866 )
2022-03-01 19:23:24 +00:00
Bram Moolenaar
f01af9c4e6
patch 8.2.4486: MS-Windows GUI: slow scrolling with maximized window
...
Problem: MS-Windows GUI: slow scrolling with maximized window.
Solution: Use a better way to check the window is on screen. (Ken Takata,
closes #9865 )
2022-03-01 16:02:26 +00:00
Bram Moolenaar
3e7637bd26
patch 8.2.4485: compiler warning for uninitialized variable
...
Problem: Compiler warning for uninitialized variable.
Solution: Initialize the variable. (John Marriott)
2022-02-28 21:02:19 +00:00
Bram Moolenaar
1983f1aa31
patch 8.2.4484: Vim9: some error messages are not tested
...
Problem: Vim9: some error messages are not tested.
Solution: Add a few more test cases. Delete dead code.
2022-02-28 20:55:02 +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
afd4ae35d6
patch 8.2.4482: no fuzzy cmdline completion for user defined completion
...
Problem: No fuzzy cmdline completion for user defined completion.
Solution: Add fuzzy completion for user defined completion. (Yegappan
Lakshmanan, closes #9858 )
2022-02-27 21:03:21 +00:00
Bram Moolenaar
5c52be40fb
patch 8.2.4481: cmdline popup menu not removed when 'lazyredraw' is set
...
Problem: Cmdline popup menu not removed when 'lazyredraw' is set.
Solution: Temporarily reset 'lazyredraw' when removing the popup menu.
(closes #9857 )
2022-02-27 14:28:31 +00:00
xtkoba
cbef12e60b
patch 8.2.4480: suspending with CTRL-Z does not work on Android
...
Problem: Suspending with CTRL-Z does not work on Android.
Solution: Do not handle SIGTSTP. (closes #9854 )
2022-02-27 12:31:52 +00:00
Yegappan Lakshmanan
6caeda2fce
patch 8.2.4479: no fuzzy completieon for maps and abbreviations
...
Problem: No fuzzy completieon for maps and abbreviations.
Solution: Fuzzy complete maps and abbreviations. (Yegappan Lakshmanan,
closes #9856 )
2022-02-27 12:07:30 +00:00
Yegappan Lakshmanan
00333cb3b3
patch 8.2.4478: crash when using fuzzy completion
...
Problem: Crash when using fuzzy completion.
Solution: Temporary fix: put back regexp. (closes #9852 , closes #9851 )
2022-02-26 16:05:08 +00:00
Bram Moolenaar
29ab6ce9f3
patch 8.2.4477: crash when using fuzzy completion
...
Problem: Crash when using fuzzy completion.
Solution: Temporary fix: put back regexp. (closes #9851 )
2022-02-26 15:52:08 +00:00
Bram Moolenaar
c51cf03298
Update runtime files.
2022-02-26 12:25:45 +00:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
e41c1dd889
patch 8.2.4476: operator name spelled wrong
...
Problem: Operator name spelled wrong.
Solution: Change trinary to ternary. (Goc Dundar, closes #9850 )
2022-02-26 11:46:13 +00:00
Yegappan Lakshmanan
4df5b33f20
patch 8.2.4475: fuzzy cmdline completion does not work for lower case
...
Problem: Fuzzy cmdline completion does not work for lower case.
Solution: Also use fuzzy completion for lower case input. (Yegappan
Lakshmanan, closes #9849 )
2022-02-26 11:04:42 +00:00
Yegappan Lakshmanan
5a2d4a3ecb
patch 8.2.4474: memory allocation failures not tested in quickfix code
...
Problem: Memory allocation failures not tested in quickfix code.
Solution: Add alloc IDs and tests. (Yegappan Lakshmanan, closes #9848 )
2022-02-26 10:31:32 +00:00
Bram Moolenaar
416b5f4894
patch 8.2.4473: Coverity warnds for not checking return value of ftell()
...
Problem: Coverity warnds for not checking return value of ftell().
Solution: Bail out if ftell() returns a negative value.
2022-02-25 21:47:48 +00:00
Bram Moolenaar
9383a3afb6
patch 8.2.4472: Coverity warns for use of a freed function name
...
Problem: Coverity warns for use of a freed function name.
Solution: Only check an autoload name when is prefixed.
2022-02-25 21:35:17 +00:00
Bram Moolenaar
62628d97c4
patch 8.2.4471: Coverity warns for uninitialized variable
...
Problem: Coverity warns for uninitialized variable.
Solution: Set flags to zero.
2022-02-25 21:10:53 +00:00
Bram Moolenaar
ae49aa8434
patch 8.2.4470: Coverity warns for uninitialized variable
...
Problem: Coverity warns for uninitialized variable.
Solution: Set can_spell to zero.
2022-02-25 21:05:36 +00:00
Bram Moolenaar
05c1734c4f
patch 8.2.4469: Coverity warns for uninitialized variable
...
Problem: Coverity warns for uninitialized variable.
Solution: Set the value to zero.
2022-02-25 20:57:11 +00:00
Bram Moolenaar
68afde4c9b
patch 8.2.4468: Coverity warns for uninitialized struct member
...
Problem: Coverity warns for uninitialized struct member.
Solution: Set color.index to zero.
2022-02-25 20:48:26 +00:00
Bram Moolenaar
0e71b7d4ce
patch 8.2.4467: running filetype test leaves file behind
...
Problem: Running filetype test leaves file behind.
Solution: Delete the file.
2022-02-25 17:45:04 +00:00
Cam Sinclair
5c6edf41f9
patch 8.2.4466: MS-Windows: illegal memory access in installer
...
Problem: MS-Windows: illegal memory access in installer when using
"create-directories" as the final argument.
Solution: Check the argument count. (Cam Sinclair, closes #9844 )
2022-02-25 17:42:23 +00:00
Yegappan Lakshmanan
5ec633b9b0
patch 8.2.4465: fuzzy completion does not order matches properly
...
Problem: Fuzzy completion does not order matches properly.
Solution: Do not use regular expression match. (Yegappan Lakshmanan,
closes #9843 )
2022-02-25 15:24:24 +00:00
=?UTF-8?q?Teubel=20Gy=C3=B6rgy?=
4d56b971cb
patch 8.2.4464: Dtrace files are recognized as filetype D
...
Problem: Dtrace files are recognized as filetype D.
Solution: Add a pattern for Dtrace files. (Teubel György, closes #9841 )
Add some more testing.
2022-02-24 17:59:09 +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
Yegappan Lakshmanan
9c9be05b17
patch 8.2.4462: not enough testing for quickfix code
...
Problem: Not enough testing for quickfix code.
Solution: Add more tests. Fix uncovered problem. (Yegappan Lakshmanan,
closes #9839 )
2022-02-24 12:33:17 +00:00
Bram Moolenaar
3c620b0c03
patch 8.2.4461: MS-Windows: garbage characters on stdout with VIMDLL
...
Problem: MS-Windows: garbage characters on stdout with VIMDLL.
Solution: Don't call gui_focus_change() when about to quit. (Ken Takata,
closes #9840 )
2022-02-24 11:39:43 +00:00
Bram Moolenaar
dea5ab0fc5
patch 8.2.4460: Vim9: wrong error for defining dict function
...
Problem: Vim9: wrong error for defining dict function.
Solution: Explicitly check for trying to define a dict function.
(closes 9827)
2022-02-23 22:12:02 +00:00
Bram Moolenaar
fa02616718
patch 8.2.4459: Vim9: compiling sort() call fails with unknown arguments
...
Problem: Vim9: compiling sort() call fails with a funcref that has unknown
arguments.
Solution: Do not check the arguments if they are unknown at compile time.
(closes #9835 )
2022-02-23 21:03:32 +00:00
Bram Moolenaar
6e1a38745f
patch 8.2.4458: Vim9: compiling filter() call fails with unknown arguments
...
Problem: Vim9: compiling filter() call fails with funcref that has unknown
arguments.
Solution: Do not check the arguments if they are unknown at compile time.
(closes #9835 )
2022-02-23 19:11:49 +00:00
Bram Moolenaar
33fc4a6307
patch 8.2.4457: the GPM library can only be linked statically
...
Problem: The GPM library can only be linked statically.
Solution: Make it possible to load the GPM library dynamically. (Damien)
2022-02-23 18:07:38 +00:00
Zdenek Dohnal
dd2dfb3cb0
patch 8.2.4456: terminal test may fail on some machines
...
Problem: Terminal test may fail on some machines.
Solution: Increase wait time. (Zdenek Dohnal, closes #9834 )
2022-02-23 14:25:17 +00:00
Bram Moolenaar
2007dd49f5
patch 8.2.4455: accepting one and zero for second sort() argument is strange
...
Problem: Accepting one and zero for the second sort() argument is strange.
Solution: Disallow using one and zero in Vim9 script.
2022-02-23 13:17:47 +00:00