summaryrefslogtreecommitdiff
path: root/src/errors.h
Commit message (Collapse)AuthorAgeFilesLines
...
* patch 9.0.0432: crash when using for loop variable in closurev9.0.0432Bram Moolenaar2022-09-091-0/+2
| | | | | Problem: Crash when using for loop variable in closure. Solution: Check that the variable wasn't deleted. (issue #11094)
* patch 9.0.0430: cannot use repeat() with a blobv9.0.0430Bakudankun2022-09-091-0/+2
| | | | | Problem: Cannot use repeat() with a blob. Solution: Implement blob repeat. (closes #11090)
* patch 9.0.0390: cannot use a partial with :deferv9.0.0390Bram Moolenaar2022-09-051-0/+4
| | | | | | Problem: Cannot use a partial with :defer. Solution: Add the partial arguments before the other arguments. Disallow using a dictionary.
* patch 9.0.0389: crash when 'tagfunc' closes the windowv9.0.0389Bram Moolenaar2022-09-051-0/+2
| | | | | Problem: Crash when 'tagfunc' closes the window. Solution: Bail out when the window was closed.
* patch 9.0.0345: error message for list argument could be clearerv9.0.0345Bram Moolenaar2022-09-011-0/+4
| | | | | Problem: Error message for list argument could be clearer. Solution: Include the argument number. (Yegappan Lakshmanan, closes #11027)
* patch 9.0.0335: checks for Dictionary argument often give a vague errorv9.0.0335Yegappan Lakshmanan2022-08-301-0/+2
| | | | | Problem: Checks for Dictionary argument often give a vague error message. Solution: Give a useful error message. (Yegappan Lakshmanan, closes #11009)
* patch 9.0.0270: some values of 'path' and 'tags' invalid in the tiny versionv9.0.0270Bram Moolenaar2022-08-251-2/+0
| | | | | Problem: Some values of 'path' and 'tags' do not work in the tiny version. Solution: Graduate the +path_extra feature.
* patch 9.0.0265: no good reason why the "gf" command isn't in the tiny versionv9.0.0265Bram Moolenaar2022-08-251-4/+0
| | | | | Problem: No good reason why the "gf" command is not in the tiny version. Solution: Graduate the file_in_path feature.
* patch 9.0.0263: too many #ifdefsv9.0.0263Bram Moolenaar2022-08-251-1/+1
| | | | | Problem: Too many #ifdefs. Solution: Make some functions always available.
* patch 9.0.0250: slightly inconsistent error messagesv9.0.0250Bram Moolenaar2022-08-231-1/+1
| | | | | Problem: Slightly inconsistent error messages. Solution: Make it "Using a Float". (closes #10959)
* patch 9.0.0247: cannot add padding to virtual text without highlightv9.0.0247Bram Moolenaar2022-08-231-0/+4
| | | | | Problem: Cannot add padding to virtual text without highlight. Solution: Add the "text_padding_left" argument. (issue #10906)
* patch 9.0.0233: removing multiple text properties takes many callsv9.0.0233Ben Jackson2022-08-201-2/+6
| | | | | Problem: Removing multiple text properties takes many calls. Solution: Pass a list to prop_remove(). (Ben Jackson, closes #10945)
* patch 9.0.0229: Vim9: error message for missing type is not clearv9.0.0229Bram Moolenaar2022-08-201-4/+4
| | | | | Problem: Vim9: error message for missing type is not clear. Solution: Mention the context. (issue #10944)
* patch 9.0.0188: strange effects when using "text_align" with non-zero columnv9.0.0188Bram Moolenaar2022-08-101-0/+2
| | | | | | Problem: Strange effects when using virtual text with "text_align" and non-zero column. (Martin Tournoij) Solution: Give an error. (closes #10888)
* patch 9.0.0156: giving E1170 only in an expression is confusingv9.0.0156Bram Moolenaar2022-08-061-2/+2
| | | | | Problem: Giving E1170 only in an expression is confusing. Solution: Give E1170 for any "#{ comment". (closes #10855)
* patch 9.0.0150: error for using #{ in an expression is a bit confusingv9.0.0150Bram Moolenaar2022-08-061-2/+2
| | | | | | 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)
* patch 9.0.0091: duplicate error numberv9.0.0091Bram Moolenaar2022-07-271-1/+1
| | | | | Problem: Duplicate error number. Solution: Use unique error number.
* patch 9.0.0067: cannot show virtual textv9.0.0067Bram Moolenaar2022-07-251-0/+4
| | | | | Problem: Cannot show virtual text. Solution: Initial changes for virtual text support, using text properties.
* patch 9.0.0064: confusing error when using "q:" in command line windowv9.0.0064Bram Moolenaar2022-07-241-0/+4
| | | | | | Problem: Confusing error when using "q:" in command line window. Solution: Check for the situation and give a better error message. (closes #10756)
* patch 9.0.0058: Win32: cannot test low level eventsv9.0.0058Yegappan Lakshmanan2022-07-231-0/+2
| | | | | | Problem: Win32: cannot test low level events. Solution: Add "sendevent" to test_gui_event(). (Yegappan Lakshmanan, closes #10679)
* patch 8.2.5146: memory leak when substitute expression nestsv8.2.5146Bram Moolenaar2022-06-211-0/+4
| | | | | Problem: Memory leak when substitute expression nests. Solution: Use an array of expression results.
* patch 8.2.5057: using gettimeofday() for timeout is very inefficientv8.2.5057Paul Ollis2022-06-051-0/+12
| | | | | Problem: Using gettimeofday() for timeout is very inefficient. Solution: Set a platform dependent timer. (Paul Ollis, closes #10505)
* patch 8.2.5039: confusing error if first argument of popup_create() is wrongv8.2.5039Bram Moolenaar2022-05-291-0/+4
| | | | | Problem: Confusing error if first argument of popup_create() is wrong. Solution: Give a more informative error.
* patch 8.2.5033: build error with +eval but without +quickfixv8.2.5033Bram Moolenaar2022-05-271-2/+2
| | | | | | Problem: Build error with +eval but without +quickfix. Warning for uninitialized variable. Solution: Adjust #ifdefs. (John Marriott)
* patch 8.2.5030: autocmd_add() can only handle one event and patternv8.2.5030Yegappan Lakshmanan2022-05-271-3/+3
| | | | | | Problem: autocmd_add() can only handle one event and pattern. Solution: Support a list of events and patterns. (Yegappan Lakshmanan, closes #10483)
* patch 8.2.5029: "textlock" is always zerov8.2.5029zeertzjq2022-05-271-2/+1
| | | | | | Problem: "textlock" is always zero. Solution: Remove "textlock" and rename "textwinlock" to "textlock". (closes #10489)
* patch 8.2.5003: cannot do bitwise shiftsv8.2.5003Yegappan Lakshmanan2022-05-221-0/+6
| | | | | Problem: Cannot do bitwise shifts. Solution: Add the >> and << operators. (Yegappan Lakshmanan, closes #8457)
* patch 8.2.4978: no error if engine selection atom is not at the startv8.2.4978Christian Brabandt2022-05-181-0/+2
| | | | | Problem: No error if engine selection atom is not at the start. Solution: Give an error. (Christian Brabandt, closes #10439)
* patch 8.2.4933: a few more capitalization mistakes in error messagesv8.2.4933Bram Moolenaar2022-05-101-5/+5
| | | | | Problem: A few more capitalization mistakes in error messages. Solution: Adjust capitalization. (Doug Kearns)
* patch 8.2.4919: can add invalid bytes with :spellgoodv8.2.4919Bram Moolenaar2022-05-081-0/+4
| | | | | Problem: Can add invalid bytes with :spellgood. Solution: Check for a valid word string.
* patch 8.2.4890: inconsistent capitalization in error messagesv8.2.4890Bram Moolenaar2022-05-061-151/+151
| | | | | Problem: Inconsistent capitalization in error messages. Solution: Make capitalization consistent. (Doug Kearns)
* patch 8.2.4883: string interpolation only works in heredocv8.2.4883LemonBoy2022-05-061-0/+4
| | | | | | Problem: String interpolation only works in heredoc. Solution: Support interpolated strings. Use syntax for heredoc consistent with strings, similar to C#. (closes #10327)
* patch 8.2.4863: accessing freed memory in test without the +channel featurev8.2.4863Bram Moolenaar2022-05-041-0/+4
| | | | | | | 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)
* patch 8.2.4861: it is not easy to restore saved mappingsv8.2.4861Ernie Rael2022-05-041-0/+2
| | | | | Problem: It is not easy to restore saved mappings. Solution: Make mapset() accept a dict argument. (Ernie Rael, closes #10295)
* patch 8.2.4774: crash when using a number for lambda namev8.2.4774Bram Moolenaar2022-04-171-0/+4
| | | | | Problem: Crash when using a number for lambda name. Solution: Check the type of the lambda reference.
* patch 8.2.4727: unused codev8.2.4727Dominique Pelle2022-04-101-12/+11
| | | | | Problem: Unused code. Solution: Remove code and add #ifdefs. (Dominique Pellé, closes #10136)
* patch 8.2.4726: cannot use expand() to get the script namev8.2.4726LemonBoy2022-04-091-0/+2
| | | | | Problem: Cannot use expand() to get the script name. Solution: Support expand('<script>'). (closes #10121)
* patch 8.2.4688: new regexp engine does not give an error for "\%v"v8.2.4688Bram Moolenaar2022-04-041-1/+3
| | | | | Problem: New regexp engine does not give an error for "\%v". Solution: Check for a value argument. (issue #10079)
* patch 8.2.4653: "import autoload" does not check the file namev8.2.4653Bram Moolenaar2022-03-311-2/+3
| | | | | Problem: "import autoload" does not check the file name. Solution: Give an error if the file is not readable. (closes #10049)
* patch 8.2.4604: error for redefining a script item may be confusingv8.2.4604Bram Moolenaar2022-03-211-1/+1
| | | | | Problem: Error for redefining a script item may be confusing. Solution: Put quotes around the name.
* patch 8.2.4582: useless code handling a type declarationv8.2.4582Bram Moolenaar2022-03-161-0/+2
| | | | | Problem: Useless code handling a type declaration. Solution: Remove the code and give an error.
* patch 8.2.4573: a nested function is compiled for debugging without contextv8.2.4573Bram Moolenaar2022-03-151-0/+4
| | | | | | | | 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)
* patch 8.2.4516: build failure without the +eval featurev8.2.4516Bram Moolenaar2022-03-051-1/+1
| | | | | Problem: Build failure without the +eval feature. Solution: Move error message outside of #ifdef.
* patch 8.2.4515: old subsitute syntax is still supportedv8.2.4515Bram Moolenaar2022-03-051-0/+2
| | | | | Problem: Old subsitute syntax is still supported. Solution: Disallow using backslash after ":s" in Vim9 script.
* patch 8.2.4514: Vim9: some flow commands can be shortenedv8.2.4514Bram Moolenaar2022-03-051-1/+1
| | | | | | Problem: Vim9: some flow commands can be shortened. Solution: Also require using the full name for ":return", ":enddef", ":continue", ":export" and ":import".
* patch 8.2.4510: Vim9: shortening commands leads to confusing scriptv8.2.4510Bram Moolenaar2022-03-051-2/+2
| | | | | | | | | | 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".
* patch 8.2.4509: Vim9: can declare a variable with ":va"v8.2.4509Bram Moolenaar2022-03-051-1/+2
| | | | | Problem: Vim9: can declare a variable with ":va". Solution: Disallow using ":va", require using ":var".
* patch 8.2.4506: "pattern not found" for :global is not an error messagev8.2.4506Bram Moolenaar2022-03-041-1/+2
| | | | | | 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.
* patch 8.2.4505: Vim9: outdated "autocmd nested" still worksv8.2.4505Bram Moolenaar2022-03-041-1/+4
| | | | | | Problem: Vim9: outdated "autocmd nested" still works. Solution: Do not accept the :autocmd argument "nested" without "++" in Vim9 script.
* patch 8.2.4500: Vim9: can declare a global variable on the command linev8.2.4500Bram Moolenaar2022-03-031-3/+4
| | | | | Problem: Vim9: can declare a global variable on the command line. Solution: Disallow declaring a variable on the command line. (closes #9881)