Bram Moolenaar
f52fac2ed9
patch 8.2.4547: the neXTaw GUI is old and does not work well
...
Problem: The neXTaw GUI is old and does not work well.
Solution: Remove the neXTaw GUI from configure to find out who still wants
support for this GUI.
2022-03-11 16:01:26 +00:00
zeertzjq
0a4e098f32
patch 8.2.4546: duplicate #undef
...
Problem: Duplicate #undef.
Solution: Remove one #undef. (closes #9932 )
2022-03-11 15:33:53 +00:00
Christian Brabandt
176711f069
patch 8.2.4545: MS-Windows: the installed icon is low resolution
...
Problem: MS-Windows: the installed icon is low resolution.
Solution: Use a better icon. Install vim.ico. (Christian Brabandt,
closes #9931 , closes #9930 )
2022-03-11 15:24:11 +00:00
Bram Moolenaar
dbf8094b17
patch 8.2.4544: Coverity warnings for not using returned value
...
Problem: Coverity warnings for not using returned value.
Solution: Assign to vim_ignored.
2022-03-11 14:54:03 +00:00
Yegappan Lakshmanan
20fb28b1dc
patch 8.2.4543: Coverity warning for refactored tag search code
...
Problem: Coverity warning for refactored tag search code.
Solution: Avoid the warnings. Update comments. Add one more test case.
(Yegappan Lakshmanan, closes #9928 )
2022-03-11 12:05:18 +00:00
Bram Moolenaar
873f8243f6
patch 8.2.4542: Vim9: "break" inside try/catch not handled correctly
...
Problem: Vim9: "break" inside try/catch not handled correctly.
Solution: First jump to :endtry. (closes #9927 )
2022-03-10 21:53:44 +00:00
Bram Moolenaar
e406ff87c8
patch 8.2.4541: Crash in debugger when a variable is not available
...
Problem: Crash in debugger when a variable is not available in the current
block.
Solution: Check for a NULL name. (closes #9926 )
2022-03-10 20:47:43 +00:00
Bram Moolenaar
1b1df95f1a
patch 8.2.4540: line number for error is off by one
...
Problem: Line number for error is off by one.
Solution: Remember the line number of the comparison. (closes #9923 )
2022-03-10 20:01:50 +00:00
Bram Moolenaar
53ba6ca5b2
patch 8.2.4539: when comparing special v:none and v:null are handled the same
...
Problem: When comparing special v:none and v:null are handled the same when
compiling.
Solution: Pass more information so that v:none can be handled differently at
compile time. (issue #9923 )
2022-03-10 19:23:28 +00:00
Yegappan Lakshmanan
bf40e90dfe
patch 8.2.4538: the find_tags_in_file() function is too long
...
Problem: The find_tags_in_file() function is too long.
Solution: Refactor into smaller functions. (Yegappan Lakshmanan,
closes #9920 )
2022-03-10 18:36:54 +00:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
48f83c31d1
patch 8.2.4537: output from linter and language server shows up in git
...
Problem: Output from linter and language server shows up in git.
Solution: Add patterns to .gitignore. (Goc Dundar, closes #9925 )
2022-03-10 15:51:24 +00:00
Bram Moolenaar
cf6662082f
patch 8.2.4536: debugger test fails when breaking on expression
...
Problem: Debugger test fails when breaking on expression.
Solution: Compare strings with "==" instead of "is".
2022-03-10 13:29:20 +00:00
Christian Brabandt
81da16b53f
patch 8.2.4535: filename modifer ":8" removes the filename
...
Problem: Filename modifer ":8" removes the filename.
Solution: Use strncpy() instead of vim_strncpy(). (Christian Brabandt,
closes #9918 , closes #8600 )
2022-03-10 12:24:02 +00:00
Bram Moolenaar
f8691004b0
patch 8.2.4534: Vim9: "is" operator with empty string and null returns true
...
Problem: Vim9: "is" operator with empty string and null returns true.
Solution: Consider empty string and null to be different for "is".
2022-03-10 12:20:53 +00:00
Bram Moolenaar
56b84b1728
patch 8.2.4533: Vim9: no test that after assigning null type is still checked
...
Problem: Vim9: no test that after assigning null the type is still checked.
Solution: Add a test.
2022-03-09 19:46:48 +00:00
Stuart Henderson
f2832ad965
patch 8.2.4532: suspending with CTRL-Z does not work on OpenBSD
...
Problem: Suspending with CTRL-Z does not work on OpenBSD.
Solution: Adjust #ifdef for SIGTSTP. (Stuart Henderson, closes #9912 )
2022-03-09 14:33:02 +00:00
=?UTF-8?q?Dundar=20G=C3=B6c?=
f01a653ac5
patch 8.2.4531: LGTM warnings for condition and buffer size
...
Problem: LGTM warnings for condition always true and buffer size too small.
Solution: Remove the useless condition. Make the buffer larger. (Goc
Dundar, closes #9914 )
2022-03-09 13:00:54 +00:00
Bram Moolenaar
f3507a517c
patch 8.2.4530: making comparison with null work changes legacy behavior
...
Problem: Making comparison with null work changes legacy behavior.
Solution: Only use the better comparison in Vim9 script. (closes #9910 )
2022-03-09 11:56:21 +00:00
Bram Moolenaar
ed0c62e7b1
patch 8.2.4529: Vim9: comparing partial with function fails
...
Problem: Vim9: comparing partial with function fails.
Solution: Support this comparison. Avoid a crash. (closes #9909 )
Add more test cases.
2022-03-08 19:43:55 +00:00
Bram Moolenaar
673bcb10eb
patch 8.2.4528: crash when using null_function for a partial
...
Problem: Crash when using null_function for a partial.
Solution: Don't call fname_trans_sid() with NULL. (closes #9908 )
2022-03-08 16:52:24 +00:00
Bram Moolenaar
0b40d086b3
patch 8.2.4527: the Athena GUI is old and does not work well
...
Problem: The Athena GUI is old and does not work well.
Solution: Remove the Athena GUI from configure to find out who still wants
support for this GUI.
2022-03-08 13:32:37 +00:00
Bram Moolenaar
8acb9cc620
patch 8.2.4526: Vim9: cannot set variables to a null value
...
Problem: Vim9: cannot set variables to a null value.
Solution: Add null_list, null_job, etc.
2022-03-08 13:18:55 +00:00
Yegappan Lakshmanan
08238045e7
patch 8.2.4525: some GUI tests don't work on Athena
...
Problem: Some GUI tests don't work on Athena.
Solution: Skip tests that won't work. (Yegappan Lakshmanan, closes #9902 )
2022-03-07 16:57:22 +00:00
K.Takata
d8f8629b1b
patch 8.2.4524: MS-Windows: cannot build with some sodium libraries
...
Problem: MS-Windows: cannot build with some sodium libraries.
Solution: Make the DLL name configuragle. Add build instructions.
(Ken Takata, closes #9905 )
2022-03-07 15:16:15 +00:00
K.Takata
6ca883dd8a
patch 8.2.4523: when gvim is started maximized the 'window' option isn't set
...
Problem: When gvim is started maximized the 'window' option isn't set
properly. (Christian J. Robinson)
Solution: Check if 'windows' was already set or not. (Ken Takata,
closes #9904 )
2022-03-07 13:31:15 +00:00
Bram Moolenaar
88dd6523fa
patch 8.2.4522: GUI test fails with Motif
...
Problem: GUI test fails with Motif. (Dominique Pellé)
Solution: Remove using an invalid value for 'guifontset'.
2022-03-06 22:21:37 +00:00
Bram Moolenaar
936dc6014c
patch 8.2.4521: build failure without the +diff feature
...
Problem: Build failure without the +diff feature. (John Marriott)
Solution: Define filler+lines if not declaring it.
2022-03-06 20:47:01 +00:00
Bram Moolenaar
127969cf98
patch 8.2.4520: using wrong highlight for cursor line number
...
Problem: Using wrong highlight for cursor line number.
Solution: Take filler lines into account when using CursorLineNr.
(closes #9897 )
2022-03-06 19:54:13 +00:00
Bram Moolenaar
d523c7be5c
patch 8.2.4519: Vim9: Can still use ":fini" and ":finis" for ":finish"
...
Problem: Vim9: Can still use ":fini" and ":finis" for ":finish".
Solution: Require using ":finish".
2022-03-06 14:51:22 +00:00
Yegappan Lakshmanan
655b734ee8
patch 8.2.4518: the binary tag search feature is always enabled
...
Problem: The binary tag search feature is always enabled.
Solution: Remove the #ifdefs. Add a few more tests. (Yegappan Lakshmanan,
closes #9893 )
2022-03-06 14:27:10 +00:00
K.Takata
9eccee0e85
patch 8.2.4517: MS-Windows: cannot specify location of sodium library
...
Problem: MS-Windows: cannot specify location of sodium library.
Solution: Allow for using a path for SODIUM. (Ken Takata, closes #9896 )
2022-03-06 14:01:52 +00:00
Bram Moolenaar
525eba00ef
patch 8.2.4516: build failure without the +eval feature
...
Problem: Build failure without the +eval feature.
Solution: Move error message outside of #ifdef.
2022-03-05 22:07:32 +00:00
Bram Moolenaar
9fb7b42935
patch 8.2.4515: old subsitute syntax is still supported
...
Problem: Old subsitute syntax is still supported.
Solution: Disallow using backslash after ":s" in Vim9 script.
2022-03-05 21:13:26 +00:00
Bram Moolenaar
b2175220da
patch 8.2.4514: Vim9: some flow commands can be shortened
...
Problem: Vim9: some flow commands can be shortened.
Solution: Also require using the full name for ":return", ":enddef",
":continue", ":export" and ":import".
2022-03-05 20:24:41 +00:00
zeertzjq
b29ae15977
patch 8.2.4513: window-local directory is not applied if 'acd' fails
...
Problem: Window-local directory is not applied if 'acd' fails.
Solution: Don't call do_autochdir(). (closes #9891 )
2022-03-05 17:00:31 +00:00
Yegappan Lakshmanan
df1bbea436
patch 8.2.4512: the find_tags_in_file() function is much too long
...
Problem: The find_tags_in_file() function is much too long.
Solution: Refactor into multiple smaller functions. (Yegappan Lakshmanan,
closes #9892 )
2022-03-05 14:35:12 +00:00
Bram Moolenaar
c12dc47b8f
patch 8.2.4511: filetype test fails
...
Problem: Filetype test fails.
Solution: Change "endw" to "endwhile".
2022-03-05 13:45:56 +00:00
Bram Moolenaar
204852ae2a
patch 8.2.4510: Vim9: shortening commands leads to confusing script
...
Problem: Vim9: shortening commands leads to confusing script.
Solution: In Vim9 script require at least ":cont" for ":continue", "const"
instead of "cons", "break" instead of "brea", "catch" instead of
"cat", "else" instead of "el" "elseif" instead of "elsei" "endfor"
instead of "endfo" "endif" instead of "en" "endtry" instead of
"endt", "finally" instead of "fina", "throw" instead of "th",
"while" instead of "wh".
2022-03-05 12:56:44 +00:00
Bram Moolenaar
e1d1211799
patch 8.2.4509: Vim9: can declare a variable with ":va"
...
Problem: Vim9: can declare a variable with ":va".
Solution: Disallow using ":va", require using ":var".
2022-03-05 11:37:48 +00:00
Bram Moolenaar
330a388e18
patch 8.2.4508: Vim9: cannot assign to a global variable on the command line
...
Problem: Vim9: cannot assign to a global variable on the command line.
Solution: Allow using :vim9cmd for assignment on the command line.
2022-03-05 11:05:57 +00:00
Bram Moolenaar
f78ee2b49f
patch 8.2.4507: test fails because of new error message
...
Problem: Test fails because of new error message.
Solution: Avoid the test fails.
2022-03-04 23:22:27 +00:00
Bram Moolenaar
24d9c0557e
patch 8.2.4506: "pattern not found" for :global is not an error message
...
Problem: "pattern not found" for :global is not an error message.
Solution: In Vim9 script make this an actual error, so that try/catch can be
used as expected.
2022-03-04 21:34:31 +00:00
Bram Moolenaar
f07751457c
patch 8.2.4505: Vim9: outdated "autocmd nested" still works
...
Problem: Vim9: outdated "autocmd nested" still works.
Solution: Do not accept the :autocmd argument "nested" without "++" in Vim9
script.
2022-03-04 20:10:38 +00:00
Bram Moolenaar
196c3850db
patch 8.2.4504: when there is a partially matching map full map may not work
...
Problem: When there is a partially matching map and modifyOtherKeys is
active a full map may not work.
Solution: Only simplify modifiers when there is no matching mapping.
(closes #8792 )
2022-03-04 19:22:36 +00:00
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