summaryrefslogtreecommitdiff
path: root/src/errors.h
Commit message (Collapse)AuthorAgeFilesLines
...
* patch 8.2.3231: build failure with small featuresv8.2.3231Bram Moolenaar2021-07-271-0/+2
| | | | | Problem: Build failure with small features. Solution: Adjust #ifdef.
* patch 8.2.3229: Vim9: runtime and compile time type checks are not the samev8.2.3229Yegappan Lakshmanan2021-07-271-0/+20
| | | | | | 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)
* patch 8.2.3226: new digraph functions use old naming schemev8.2.3226h-east2021-07-261-2/+2
| | | | | Problem: New digraph functions use old naming scheme. Solution: Use the digraph_ prefix. (Hirohito Higashi, closes #8580)
* patch 8.2.3206: Vim9: argument types are not checked at compile timev8.2.3206Yegappan Lakshmanan2021-07-231-4/+2
| | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8611)
* patch 8.2.3200: Vim9: hard to guess where a type error is givenv8.2.3200Bram Moolenaar2021-07-221-0/+6
| | | | | Problem: Vim9: hard to guess where a type error is given. Solution: Add the function name where possible. (closes #8608)
* patch 8.2.3197: error messages are spread outv8.2.3197Bram Moolenaar2021-07-211-0/+33
| | | | | Problem: Error messages are spread out. Solution: Move a few more error messages to errors.h.
* patch 8.2.3192: build failure with small versionv8.2.3192Bram Moolenaar2021-07-201-2/+0
| | | | | Problem: Build failure with small version (Tony Mechelynck). Solution: Remove stray #ifdef.
* patch 8.2.3190: error messages are spread outv8.2.3190Bram Moolenaar2021-07-201-0/+56
| | | | | Problem: Error messages are spread out. Solution: Move error messages to errors.h and give them a clear name.
* patch 8.2.3188: Vim9: argument types are not checked at compile timev8.2.3188Yegappan Lakshmanan2021-07-201-0/+6
| | | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks, also at runtime. (Yegappan Lakshmanan, closes #8587)
* patch 8.2.3186: Vim9: not all failures for import testedv8.2.3186Bram Moolenaar2021-07-191-1/+1
| | | | | Problem: Vim9: not all failures for import tested Solution: Test more import failures
* patch 8.2.3184: cannot add a digraph with a leading spacev8.2.3184mityu2021-07-191-0/+12
| | | | | | | 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)
* patch 8.2.3183: duplicate error numbersv8.2.3183Bram Moolenaar2021-07-191-2/+2
| | | | | Problem: Duplicate error numbers. Solution: Adjust the error numbers.
* patch 8.2.3179: Vim9: cannot assign to an imported variable at script levelv8.2.3179Bram Moolenaar2021-07-181-0/+2
| | | | | Problem: Vim9: cannot assign to an imported variable at script level. Solution: Lookup imported items when assigning.
* patch 8.2.3176: Vim9: no type error for comparing number with stringv8.2.3176Bram Moolenaar2021-07-181-2/+2
| | | | | Problem: Vim9: no type error for comparing number with string. Solution: Add a runtime type check. (closes #8571)
* patch 8.2.3173: Vim9: argument types are not checked at compile timev8.2.3173Yegappan Lakshmanan2021-07-171-0/+4
| | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add more type checks. (Yegappan Lakshmanan, closes #8581)
* patch 8.2.3162: Vim9: argument types are not checked at compile timev8.2.3162Yegappan Lakshmanan2021-07-151-0/+2
| | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add more type checks. (Yegappan Lakshmanan, closes #8560)
* patch 8.2.3144: Vim9: no error when using an invalid value for a line numberv8.2.3144Bram Moolenaar2021-07-111-0/+2
| | | | | | 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)
* patch 8.2.3141: no error when using :complete for :command without -nargsv8.2.3141Martin Tournoij2021-07-111-0/+2
| | | | | Problem: No error when using :complete for :command without -nargs. Solution: Give an error. (Martin Tournoij, closes #8544, closes #8541)
* patch 8.2.3137: Vim9: no error when a line only has a variable namev8.2.3137Bram Moolenaar2021-07-101-0/+2
| | | | | | 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)
* patch 8.2.3135: Vim9: builtin function arguments not checked at compile timev8.2.3135Yegappan Lakshmanan2021-07-101-0/+2
| | | | | Problem: Vim9: builtin function arguments not checked at compile time. Solution: Add more type checks. (Yegappan Lakshmanan, closes #8539)
* patch 8.2.3123: Vim9: confusing error when using white space after optionv8.2.3123Bram Moolenaar2021-07-081-0/+2
| | | | | | Problem: Vim9: confusing error when using white space after option, before one of "!&<". Solution: Give a specific error. (issue #8408)
* patch 8.2.3110: a pattern that matches the cursor position is complicatedv8.2.3110Bram Moolenaar2021-07-051-0/+2
| | | | | | 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)
* patch 8.2.3069: error messages are spread outv8.2.3069Bram Moolenaar2021-06-271-0/+38
| | | | | Problem: Error messages are spread out. Solution: Move some error messages to errors.h. Use clearer names.
* patch 8.2.3055: strange error for assigning to "x.key" on non-dictionaryv8.2.3055Bram Moolenaar2021-06-261-0/+2
| | | | | Problem: Strange error for assigning to "x.key" on non-dictionary. Solution: Add a specific error message. (closes #8451)
* patch 8.2.3054: Vim9: unpack assignment using "_" after semicolon failsv8.2.3054Bram Moolenaar2021-06-261-1/+1
| | | | | Problem: Vim9: unpack assignment using "_" after semicolon fails. Solution: Drop the expression result. (closes #8453)
* patch 8.2.3048: strange error for white space after ++ commandv8.2.3048Bram Moolenaar2021-06-251-0/+2
| | | | | Problem: Strange error for white space after ++ command. Solution: Check for white space explicitly. (closes #8440)
* patch 8.2.3032: build problems with MSVC, other crypt issues with libsodiumv8.2.3032Christian Brabandt2021-06-211-1/+1
| | | | | | | 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)
* patch 8.2.3030: Coverity reports a memory leakv8.2.3030Dominique Pelle2021-06-211-2/+2
| | | | | Problem: Coverity reports a memory leak. Solution: Fix the leak and a few typos. (Dominique Pellé, closes #8418)
* patch 8.2.3022: available encryption methods are not strong enoughv8.2.3022Christian Brabandt2021-06-201-0/+19
| | | | | | Problem: Available encryption methods are not strong enough. Solution: Add initial support for xchaha20. (Christian Brabandt, closes #8394)
* patch 8.2.2977: crash when using a null function referencev8.2.2977Bram Moolenaar2021-06-121-0/+2
| | | | | Problem: Crash when using a null function reference. (Naohiro Ono) Solution: Check for an invalid function name. (closes #8367)
* patch 8.2.2965: Vim9: crash when calling function that failed to compilev8.2.2965Bram Moolenaar2021-06-081-0/+2
| | | | | Problem: Vim9: crash when calling function that failed to compile. Solution: Fail when trying to call the function. (closes #8344)
* patch 8.2.2942: Vim9: error when calling function with too few argumentsv8.2.2942Bram Moolenaar2021-06-051-0/+4
| | | | | Problem: Vim9: internal error when calling function with too few arguments Solution: Check for argument count to be too few. (closes #8325)
* patch 8.2.2926: Vim9: no good error for using :legacy in a :def functionv8.2.2926Bram Moolenaar2021-06-021-0/+2
| | | | | | Problem: Vim9: no good error for using :legacy in a :def function. Solution: Give an explicit error where :legacy is not working. (closes #8309)
* patch 8.2.2908: crash when using a terminal popup window from cmdline windowv8.2.2908Bram Moolenaar2021-05-301-0/+2
| | | | | | Problem: Crash when using a terminal popup window from the cmdline window. Solution: Instead of checking cmdwin_type call cmdwin_is_active(). (closes #8286)
* patch 8.2.2905: no error when defaults.vim cannot be loadedv8.2.2905Christian Brabandt2021-05-291-0/+2
| | | | | Problem: No error when defaults.vim cannot be loaded. Solution: Add an error message. (Christian Brabandt, closes #8248)
* patch 8.2.2846: Vim9: "echo Func()" does not give an error for using voidv8.2.2846Bram Moolenaar2021-05-091-0/+4
| | | | | | Problem: Vim9: "echo Func()" does not give an error for a function without a return value. Solution: Give an error. Be more specific about why a value is invalid.
* patch 8.2.2811: Vim9: error for missing white space doesn't say wherev8.2.2811Bram Moolenaar2021-04-251-2/+2
| | | | | | Problem: Vim9: error for missing white space doesn't say where it is missing Solution: Mention the command. (closes #8149)
* patch 8.2.2785: Vim9: cannot redirect to local variablev8.2.2785Bram Moolenaar2021-04-191-0/+4
| | | | | Problem: Vim9: cannot redirect to local variable. Solution: Compile :redir when redirecting to a variable.
* patch 8.2.2777: Vim9: blob operations not tested in all waysv8.2.2777Bram Moolenaar2021-04-171-0/+2
| | | | | | Problem: Vim9: blob operations not tested in all ways. Solution: Run tests with CheckLegacyAndVim9Success(). Make blob assign with index work.
* patch 8.2.2765: Vim9: not all blob operations workv8.2.2765Bram Moolenaar2021-04-141-0/+2
| | | | | | Problem: Vim9: not all blob operations work. Solution: Run more tests also with Vim9 script and :def functions. Fix what doesn't work.
* patch 8.2.2757: Vim9: blob tests for legacy and Vim9 script are separatev8.2.2757Bram Moolenaar2021-04-121-0/+2
| | | | | Problem: Vim9: blob tests for legacy and Vim9 script are separate. Solution: Add CheckLegacyAndVim9Success(). Make blob index assign work.
* patch 8.2.2744: Vim9: no way to explicitly ignore an argumentv8.2.2744Bram Moolenaar2021-04-101-0/+2
| | | | | Problem: Vim9: no way to explicitly ignore an argument. Solution: Use the underscore as the name for an ignored argument.
* patch 8.2.2740: Vim9: lambda with varargs doesn't workv8.2.2740Bram Moolenaar2021-04-091-0/+2
| | | | | Problem: Vim9: lambda with varargs doesn't work. Solution: Make "...name" work. Require type to be a list.
* patch 8.2.2676: missing error messagev8.2.2676Bram Moolenaar2021-03-291-0/+2
| | | | | Problem: Missing error message. Solution: Add new error message.
* patch 8.2.2672: Vim9: cannot use :lockvar and :unlockvar in compiled scriptv8.2.2672Bram Moolenaar2021-03-281-0/+2
| | | | | Problem: Vim9: cannot use :lockvar and :unlockvar in compiled script. Solution: Implement locking support.
* patch 8.2.2658: :for cannot loop over a stringv8.2.2658Bram Moolenaar2021-03-261-0/+2
| | | | | Problem: :for cannot loop over a string. Solution: Accept a string argument and iterate over its characters.
* patch 8.2.2653: build failurev8.2.2653Bram Moolenaar2021-03-251-1/+3
| | | | | Problem: Build failure. Solution: Add missing changes.
* patch 8.2.2646: Vim9: error for not using string doesn't mentionargumentv8.2.2646Bram Moolenaar2021-03-221-0/+4
| | | | | Problem: Vim9: error for not using string doesn't mention argument. Solution: Add argument number.
* patch 8.2.2645: using inline function is not properly testedv8.2.2645Bram Moolenaar2021-03-221-0/+2
| | | | | Problem: Using inline function is not properly tested. Solution: Add test cases, esp. for errors. Minor code improvements.
* patch 8.2.2635: Vim9: cannot define an inline functionv8.2.2635Bram Moolenaar2021-03-211-0/+4
| | | | | Problem: Vim9: cannot define an inline function. Solution: Make an inline function mostly work.