Bram Moolenaar
dde77a7c4d
patch 9.0.0250: slightly inconsistent error messages
...
Problem: Slightly inconsistent error messages.
Solution: Make it "Using a Float". (closes #10959 )
2022-08-23 21:41:15 +01:00
Bram Moolenaar
f396ce83ee
patch 9.0.0247: cannot add padding to virtual text without highlight
...
Problem: Cannot add padding to virtual text without highlight.
Solution: Add the "text_padding_left" argument. (issue #10906 )
2022-08-23 18:39:37 +01:00
Ben Jackson
a7704226a2
patch 9.0.0233: removing multiple text properties takes many calls
...
Problem: Removing multiple text properties takes many calls.
Solution: Pass a list to prop_remove(). (Ben Jackson, closes #10945 )
2022-08-20 20:54:51 +01:00
Bram Moolenaar
62e0e2e54b
patch 9.0.0229: Vim9: error message for missing type is not clear
...
Problem: Vim9: error message for missing type is not clear.
Solution: Mention the context. (issue #10944 )
2022-08-20 12:07:58 +01:00
Bram Moolenaar
82b14c143a
patch 9.0.0188: strange effects when using "text_align" with non-zero column
...
Problem: Strange effects when using virtual text with "text_align" and
non-zero column. (Martin Tournoij)
Solution: Give an error. (closes #10888 )
2022-08-10 19:50:47 +01:00
Bram Moolenaar
3f74c0ab32
patch 9.0.0156: giving E1170 only in an expression is confusing
...
Problem: Giving E1170 only in an expression is confusing.
Solution: Give E1170 for any "#{ comment". (closes #10855 )
2022-08-06 18:12:06 +01:00
Bram Moolenaar
25f40af9d2
patch 9.0.0150: error for using #{ in an expression is a bit confusing
...
Problem: Error for using #{ in an expression is a bit confusing.
Solution: Mention that this error is only given for an expression.
Avoid giving the error more than once. (closes #10855 )
2022-08-06 11:35:28 +01:00
Bram Moolenaar
34d1773bd4
patch 9.0.0091: duplicate error number
...
Problem: Duplicate error number.
Solution: Use unique error number.
2022-07-27 13:18:14 +01:00
Bram Moolenaar
7f9969c559
patch 9.0.0067: cannot show virtual text
...
Problem: Cannot show virtual text.
Solution: Initial changes for virtual text support, using text properties.
2022-07-25 18:13:54 +01:00
Bram Moolenaar
c963ec31a0
patch 9.0.0064: confusing error when using "q:" in command line window
...
Problem: Confusing error when using "q:" in command line window.
Solution: Check for the situation and give a better error message.
(closes #10756 )
2022-07-24 20:08:01 +01:00
Yegappan Lakshmanan
81a3ff97e2
patch 9.0.0058: Win32: cannot test low level events
...
Problem: Win32: cannot test low level events.
Solution: Add "sendevent" to test_gui_event(). (Yegappan Lakshmanan,
closes #10679 )
2022-07-23 05:04:16 +01:00
Bram Moolenaar
44ddf19ec0
patch 8.2.5146: memory leak when substitute expression nests
...
Problem: Memory leak when substitute expression nests.
Solution: Use an array of expression results.
2022-06-21 22:15:25 +01:00
Paul Ollis
6574577cac
patch 8.2.5057: using gettimeofday() for timeout is very inefficient
...
Problem: Using gettimeofday() for timeout is very inefficient.
Solution: Set a platform dependent timer. (Paul Ollis, closes #10505 )
2022-06-05 16:55:54 +01:00
Bram Moolenaar
83bd7a9740
patch 8.2.5039: confusing error if first argument of popup_create() is wrong
...
Problem: Confusing error if first argument of popup_create() is wrong.
Solution: Give a more informative error.
2022-05-29 17:13:24 +01:00
Bram Moolenaar
968443efb5
patch 8.2.5033: build error with +eval but without +quickfix
...
Problem: Build error with +eval but without +quickfix. Warning for
uninitialized variable.
Solution: Adjust #ifdefs. (John Marriott)
2022-05-27 21:16:34 +01:00
Yegappan Lakshmanan
e0ff3a7de6
patch 8.2.5030: autocmd_add() can only handle one event and pattern
...
Problem: autocmd_add() can only handle one event and pattern.
Solution: Support a list of events and patterns. (Yegappan Lakshmanan,
closes #10483 )
2022-05-27 18:05:33 +01:00
zeertzjq
cfe456543e
patch 8.2.5029: "textlock" is always zero
...
Problem: "textlock" is always zero.
Solution: Remove "textlock" and rename "textwinlock" to "textlock".
(closes #10489 )
2022-05-27 17:26:55 +01:00
Yegappan Lakshmanan
a061f34191
patch 8.2.5003: cannot do bitwise shifts
...
Problem: Cannot do bitwise shifts.
Solution: Add the >> and << operators. (Yegappan Lakshmanan, closes #8457 )
2022-05-22 19:13:49 +01:00
Christian Brabandt
360da40b47
patch 8.2.4978: no error if engine selection atom is not at the start
...
Problem: No error if engine selection atom is not at the start.
Solution: Give an error. (Christian Brabandt, closes #10439 )
2022-05-18 15:04:02 +01:00
Bram Moolenaar
df6e0e46c5
patch 8.2.4933: a few more capitalization mistakes in error messages
...
Problem: A few more capitalization mistakes in error messages.
Solution: Adjust capitalization. (Doug Kearns)
2022-05-10 17:51:55 +01:00
Bram Moolenaar
7c824682d2
patch 8.2.4919: can add invalid bytes with :spellgood
...
Problem: Can add invalid bytes with :spellgood.
Solution: Check for a valid word string.
2022-05-08 22:32:58 +01:00
Bram Moolenaar
cf030578b2
patch 8.2.4890: inconsistent capitalization in error messages
...
Problem: Inconsistent capitalization in error messages.
Solution: Make capitalization consistent. (Doug Kearns)
2022-05-06 16:18:41 +01:00
LemonBoy
2eaef106e4
patch 8.2.4883: string interpolation only works in heredoc
...
Problem: String interpolation only works in heredoc.
Solution: Support interpolated strings. Use syntax for heredoc consistent
with strings, similar to C#. (closes #10327 )
2022-05-06 13:14:50 +01:00
Bram Moolenaar
c9af617ac6
patch 8.2.4863: accessing freed memory in test without the +channel feature
...
Problem: Accessing freed memory in test without the +channel feature.
(Dominique Pellé)
Solution: Do not generted PUSHCHANNEL or PUSHJOB if they are not
implemented. (closes #10350 )
2022-05-04 16:46:54 +01:00
Ernie Rael
51d04d16f2
patch 8.2.4861: it is not easy to restore saved mappings
...
Problem: It is not easy to restore saved mappings.
Solution: Make mapset() accept a dict argument. (Ernie Rael, closes #10295 )
2022-05-04 15:40:22 +01:00
Bram Moolenaar
8b91e71441
patch 8.2.4774: crash when using a number for lambda name
...
Problem: Crash when using a number for lambda name.
Solution: Check the type of the lambda reference.
2022-04-17 15:06:35 +01:00
Dominique Pelle
7765f5cf96
patch 8.2.4727: unused code
...
Problem: Unused code.
Solution: Remove code and add #ifdefs. (Dominique Pellé, closes #10136 )
2022-04-10 11:26:53 +01:00
LemonBoy
6013d0045d
patch 8.2.4726: cannot use expand() to get the script name
...
Problem: Cannot use expand() to get the script name.
Solution: Support expand('<script>'). (closes #10121 )
2022-04-09 21:42:10 +01:00
Bram Moolenaar
91ff3d4f52
patch 8.2.4688: new regexp engine does not give an error for "\%v"
...
Problem: New regexp engine does not give an error for "\%v".
Solution: Check for a value argument. (issue #10079 )
2022-04-04 18:32:32 +01:00
Bram Moolenaar
4dea2d92e4
patch 8.2.4653: "import autoload" does not check the file name
...
Problem: "import autoload" does not check the file name.
Solution: Give an error if the file is not readable. (closes #10049 )
2022-03-31 11:37:57 +01:00
Bram Moolenaar
6d877fe018
patch 8.2.4604: error for redefining a script item may be confusing
...
Problem: Error for redefining a script item may be confusing.
Solution: Put quotes around the name.
2022-03-21 19:47:31 +00:00
Bram Moolenaar
4c8b546da2
patch 8.2.4582: useless code handling a type declaration
...
Problem: Useless code handling a type declaration.
Solution: Remove the code and give an error.
2022-03-16 20:01:39 +00:00
Bram Moolenaar
96923b7a14
patch 8.2.4573: a nested function is compiled for debugging without context
...
Problem: A nested function (closure) is compiled for debugging without
context.
Solution: Check if a nested function is marked for debugging before
compiling it. Give an error when trying to compile a closure
without its context. (closes #9951 )
2022-03-15 15:57:04 +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
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
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
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
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
ea5c898b5f
patch 8.2.4408: Vim9: some code not covered by tests
...
Problem: Vim9: some code not covered by tests.
Solution: Add a few more tests. Correct error message. Allow unlet on dict
with a number key.
2022-02-17 14:42:02 +00:00
Bram Moolenaar
8b716f5f22
patch 8.2.4395: some code lines not covered by tests
...
Problem: Some code lines not covered by tests.
Solution: Add a few more test cases. Fix getting more than one error for
invalid assignment.
2022-02-15 21:17:56 +00:00
Bram Moolenaar
b5d2039e00
patch 8.2.4385: cannot build tiny version
...
Problem: Cannot build tiny version.
Solution: Adjust #ifdefs.
2022-02-14 21:42:15 +00:00
Bram Moolenaar
bc51006402
patch 8.2.4384: Vim9: error message not tested, some code not tested
...
Problem: Vim9: error message not tested, some code not tested.
Solution: Add a couple of test cases. Give an error for a command modifier
without a command.
2022-02-14 21:19:04 +00:00
Bram Moolenaar
75e27d78f5
patch 8.2.4371: Vim9: can create a script variable from a legacy function
...
Problem: Vim9: can create a script variable from a legacy function.
Solution: Disallow creating a script variable from a function.
2022-02-13 13:56:29 +00:00
Bram Moolenaar
a749a42ed2
patch 8.2.4360: Vim9: allowing use of "s:" leads to inconsistencies
...
Problem: Vim9: allowing use of "s:" leads to inconsistencies.
Solution: Disallow using "s:" in Vim9 script at the script level.
2022-02-12 19:52:25 +00:00
Bram Moolenaar
779aeff5c3
patch 8.2.4330: Vim9: no error if script imports itself
...
Problem: Vim9: no error if script imports itself.
Solution: Give an error when a script imports itself.
2022-02-08 19:12:19 +00:00
Bram Moolenaar
3787f26c2e
patch 8.2.4324: Vim9: script-local function name can start with "_"
...
Problem: Vim9: script-local function name can start with "_".
Solution: Check for leading capital after "s:". Correct error message.
2022-02-07 21:54:01 +00:00