Bram Moolenaar
c449271f4e
patch 8.2.3646: using <sfile> in a function gives an unexpected result
...
Problem: Using <sfile> in a function gives an unexpected result.
Solution: Give an error in a Vim9 function. (issue #9189 )
2021-11-22 15:37:15 +00:00
Drew Vogel
e30d10253f
patch 8.2.3562: cannot add color names
...
Problem: Cannot add color names.
Solution: Add the v:colornames dictionary. (Drew Vogel, closes #8761 )
2021-10-24 20:35:07 +01:00
zeertzjq
09f7723d5a
patch 8.2.3546: build failure without the +eval feature
...
Problem: Build failure without the +eval feature.
Solution: Add #ifdef. (closes #9025 )
2021-10-20 17:21:24 +01:00
zeertzjq
94358a1e6e
patch 8.2.3545: setcellwidths() may make 'listchars' or 'fillchars' invalid
...
Problem: setcellwidths() may make 'listchars' or 'fillchars' invalid.
Solution: Check the value and give an error. (closes #9024 )
2021-10-20 11:01:15 +01:00
Dusan Popovic
4eeedc09fe
patch 8.2.3524: GUI: ligatures are not used
...
Problem: GUI: ligatures are not used.
Solution: Add the 'guiligatures' option. (Dusan Popovic, closes #8933 )
2021-10-16 20:52:05 +01:00
Bram Moolenaar
7b82926892
patch 8.2.3503: Vim9: using g:pat:cmd is confusing
...
Problem: Vim9: using g:pat:cmd is confusing.
Solution: Do not recognize g: as the :global command. Also for s:pat:repl.
(closes #8982 )
2021-10-13 15:04:34 +01:00
Bram Moolenaar
eeed1c7ae0
patch 8.2.3492: crash when pasting too many times
...
Problem: Crash when pasting too many times.
Solution: Limit the size to what fits in an int. (closes #8962 )
2021-10-10 12:35:17 +01:00
Yegappan Lakshmanan
5dfe467432
patch 8.2.3438: cannot manipulate blobs
...
Problem: Cannot manipulate blobs.
Solution: Add blob2list() and list2blob(). (Yegappan Lakshmanan,
closes #8868 )
2021-09-14 17:54:30 +02:00
Bram Moolenaar
bdcba24d85
patch 8.2.3433: :delcommand does not take a -buffer option
...
Problem: :delcommand does not take a -buffer option.
Solution: Add the -buffer option.
2021-09-12 20:58:02 +02:00
Bram Moolenaar
a9e3d56087
patch 8.2.3413: Vim9: too many characters are allowed in import name
...
Problem: Vim9: too many characters are allowed in import name.
Solution: Disallow ':' and '#', check for white space. (closes #8845 )
2021-09-08 12:31:35 +02:00
Bram Moolenaar
6853c38b78
patch 8.2.3411: Vim9: crash when using base name of import
...
Problem: Vim9: crash when using base name of import. (Naohiro Ono)
Solution: Check the import flags. (closes #8843 )
2021-09-07 22:12:19 +02:00
Bram Moolenaar
c66f645b80
patch 8.2.3359: Vim9: error for type when variable is not set
...
Problem: Vim9: error for type when variable is not set.
Solution: Give a specific error for a NULL function. (closes #8773 )
2021-08-19 21:08:30 +02:00
Bram Moolenaar
dd9de50f42
patch 8.2.3347: check for legacy script is incomplete
...
Problem: Check for legacy script is incomplete. (Naohiro Ono)
Solution: Also check the :legacy modifier. Use for string concatenation
with "." and others (issue #8756 )
2021-08-15 13:49:42 +02:00
Bram Moolenaar
267359902c
patch 8.2.3314: behavior of exists() in a :def function is unpredictable
...
Problem: Behavior of exists() in a :def function is unpredictable.
Solution: Add exists_compiled().
2021-08-08 14:43:22 +02:00
Bram Moolenaar
63b9173693
patch 8.2.3297: cannot use all commands inside a {} block
...
Problem: Cannot use all commands inside a {} block after :command and
:autocmd.
Solution: Do consider \n to separate commands. (closes #8620 )
2021-08-05 20:40:03 +02:00
Sean Dewar
80d7395dcf
patch 8.2.3284: no error for insert() or remove() changing a locked blob
...
Problem: No error for insert() or remove() changing a locked blob.
Solution: Check a blob is not locked before changing it. (Sean Dewar,
closes #8696 )
2021-08-04 19:25:54 +02:00
Bram Moolenaar
41a3485dd6
patch 8.2.3282: Vim9: error about using -complete without -nargs is confusing
...
Problem: Vim9: error about using -complete without -nargs is confusing.
Solution: Change the wording.
2021-08-04 16:09:24 +02:00
Bram Moolenaar
78db17c6f3
patch 8.2.3258: error messages have the wrong text
...
Problem: Error messages have the wrong text.
Solution: Adjust the error message.
2021-07-31 19:12:58 +02:00
Bram Moolenaar
131530a54d
patch 8.2.3245: the crypt key may appear in a swap partition
...
Problem: The crypt key may appear in a swap partition.
Solution: When using xchaha20 use sodium_mlock(). (Christian Brabandt,
closes #8657 )
2021-07-29 20:37:49 +02:00
Bram Moolenaar
d47c39775b
patch 8.2.3238: Vim9: error message does not indicate the location
...
Problem: Vim9: error message does not indicate the location.
Solution: Add the relevant text. (issue #8634 )
2021-07-28 20:52:13 +02:00
Bram Moolenaar
9088784972
patch 8.2.3231: build failure with small features
...
Problem: Build failure with small features.
Solution: Adjust #ifdef.
2021-07-27 22:35:42 +02:00
Yegappan Lakshmanan
4490ec4e83
patch 8.2.3229: Vim9: runtime and compile time type checks are not the same
...
Problem: Vim9: runtime and compile time type checks are not the same.
Solution: Add more runtime type checks for builtin functions. (Yegappan
Lakshmanan, closes #8646 )
2021-07-27 22:00:44 +02:00
h-east
29b857150c
patch 8.2.3226: new digraph functions use old naming scheme
...
Problem: New digraph functions use old naming scheme.
Solution: Use the digraph_ prefix. (Hirohito Higashi, closes #8580 )
2021-07-26 21:54:04 +02:00
Yegappan Lakshmanan
0ad871dc4d
patch 8.2.3206: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8611 )
2021-07-23 20:37:56 +02:00
Bram Moolenaar
7a3fe3e180
patch 8.2.3200: Vim9: hard to guess where a type error is given
...
Problem: Vim9: hard to guess where a type error is given.
Solution: Add the function name where possible. (closes #8608 )
2021-07-22 14:58:47 +02:00
Bram Moolenaar
d8e44476d8
patch 8.2.3197: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move a few more error messages to errors.h.
2021-07-21 22:20:33 +02:00
Bram Moolenaar
11d7e62f1d
patch 8.2.3192: build failure with small version
...
Problem: Build failure with small version (Tony Mechelynck).
Solution: Remove stray #ifdef.
2021-07-20 22:29:19 +02:00
Bram Moolenaar
e29a27f6f8
patch 8.2.3190: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move error messages to errors.h and give them a clear name.
2021-07-20 21:07:36 +02:00
Yegappan Lakshmanan
83494b4ac6
patch 8.2.3188: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks, also at runtime. (Yegappan
Lakshmanan, closes #8587 )
2021-07-20 17:51:51 +02:00
Bram Moolenaar
605793500b
patch 8.2.3186: Vim9: not all failures for import tested
...
Problem: Vim9: not all failures for import tested
Solution: Test more import failures
2021-07-19 21:45:07 +02:00
mityu
6106504e9e
patch 8.2.3184: cannot add a digraph with a leading space
...
Problem: Cannot add a digraph with a leading space. It is not easy to list
existing digraphs.
Solution: Add setdigraph(), setdigraphlist(), getdigraph() and
getdigraphlist(). (closes #8580 )
2021-07-19 20:07:21 +02:00
Bram Moolenaar
98c2eaed27
patch 8.2.3183: duplicate error numbers
...
Problem: Duplicate error numbers.
Solution: Adjust the error numbers.
2021-07-19 10:38:49 +02:00
Bram Moolenaar
24e9316560
patch 8.2.3179: Vim9: cannot assign to an imported variable at script level
...
Problem: Vim9: cannot assign to an imported variable at script level.
Solution: Lookup imported items when assigning.
2021-07-18 20:40:33 +02:00
Bram Moolenaar
0c35752d04
patch 8.2.3176: Vim9: no type error for comparing number with string
...
Problem: Vim9: no type error for comparing number with string.
Solution: Add a runtime type check. (closes #8571 )
2021-07-18 14:43:43 +02:00
Yegappan Lakshmanan
a9a7c0c602
patch 8.2.3173: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add more type checks. (Yegappan Lakshmanan, closes #8581 )
2021-07-17 19:11:07 +02:00
Yegappan Lakshmanan
1a71d31bf3
patch 8.2.3162: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add more type checks. (Yegappan Lakshmanan, closes #8560 )
2021-07-15 12:49:58 +02:00
Bram Moolenaar
0f1227f7d5
patch 8.2.3144: Vim9: no error when using an invalid value for a line number
...
Problem: Vim9: no error when using an invalid value for a line number.
Solution: Give an error if the string value is not recognized.
(closes #8536 )
2021-07-11 16:01:58 +02:00
Martin Tournoij
de69a7353e
patch 8.2.3141: no error when using :complete for :command without -nargs
...
Problem: No error when using :complete for :command without -nargs.
Solution: Give an error. (Martin Tournoij, closes #8544 , closes #8541 )
2021-07-11 14:28:25 +02:00
Bram Moolenaar
c323527d67
patch 8.2.3137: Vim9: no error when a line only has a variable name
...
Problem: Vim9: no error when a line only has a variable name.
Solution: Give an error when an expression is evaluated without an effect.
(closes #8538 )
2021-07-10 19:42:03 +02:00
Yegappan Lakshmanan
5b73992d8f
patch 8.2.3135: Vim9: builtin function arguments not checked at compile time
...
Problem: Vim9: builtin function arguments not checked at compile time.
Solution: Add more type checks. (Yegappan Lakshmanan, closes #8539 )
2021-07-10 13:15:41 +02:00
Bram Moolenaar
1594f31345
patch 8.2.3123: Vim9: confusing error when using white space after option
...
Problem: Vim9: confusing error when using white space after option, before
one of "!&<".
Solution: Give a specific error. (issue #8408 )
2021-07-08 16:40:13 +02:00
Bram Moolenaar
04db26b360
patch 8.2.3110: a pattern that matches the cursor position is complicated
...
Problem: A pattern that matches the cursor position is bit complicated.
Solution: Use a dot to indicate the cursor line and column. (Christian
Brabandt, closes #8497 , closes #8179 )
2021-07-05 20:15:23 +02:00
Bram Moolenaar
108010aa47
patch 8.2.3069: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move some error messages to errors.h. Use clearer names.
2021-06-27 22:03:33 +02:00
Bram Moolenaar
3a3b10e87a
patch 8.2.3055: strange error for assigning to "x.key" on non-dictionary
...
Problem: Strange error for assigning to "x.key" on non-dictionary.
Solution: Add a specific error message. (closes #8451 )
2021-06-26 15:00:59 +02:00
Bram Moolenaar
4d5dfe2083
patch 8.2.3054: Vim9: unpack assignment using "_" after semicolon fails
...
Problem: Vim9: unpack assignment using "_" after semicolon fails.
Solution: Drop the expression result. (closes #8453 )
2021-06-26 13:59:29 +02:00
Bram Moolenaar
22480d147f
patch 8.2.3048: strange error for white space after ++ command
...
Problem: Strange error for white space after ++ command.
Solution: Check for white space explicitly. (closes #8440 )
2021-06-25 21:31:09 +02:00
Christian Brabandt
226b28b961
patch 8.2.3032: build problems with MSVC, other crypt issues with libsodium
...
Problem: Build problems with MSVC, other crypt issues with libsodium.
Solution: Adjust MSVC makefile. Disable swap file only when 'key' is set.
Adjust error message used when key is wrong. Fix Coverity issues.
(Christian Brabandt, closes #8420 , closes #8411 )
2021-06-21 21:08:08 +02:00
Dominique Pelle
cb54bc6562
patch 8.2.3030: Coverity reports a memory leak
...
Problem: Coverity reports a memory leak.
Solution: Fix the leak and a few typos. (Dominique Pellé, closes #8418 )
2021-06-21 20:15:37 +02:00
Christian Brabandt
f573c6e1ed
patch 8.2.3022: available encryption methods are not strong enough
...
Problem: Available encryption methods are not strong enough.
Solution: Add initial support for xchaha20. (Christian Brabandt,
closes #8394 )
2021-06-20 14:02:16 +02:00
Bram Moolenaar
22db0d549f
patch 8.2.2977: crash when using a null function reference
...
Problem: Crash when using a null function reference. (Naohiro Ono)
Solution: Check for an invalid function name. (closes #8367 )
2021-06-12 12:16:55 +02:00