summaryrefslogtreecommitdiff
path: root/src/errors.h
Commit message (Collapse)AuthorAgeFilesLines
* patch 9.0.1477: crash when recovering from corrupted swap filev9.0.1477Bram Moolenaar2023-04-221-0/+2
| | | | | Problem: Crash when recovering from corrupted swap file. Solution: Check for a valid page count. (closes #12275)
* patch 9.0.1450: MacOS: building fails if clock_gettime() is not availablev9.0.1450Bram Moolenaar2023-04-131-1/+1
| | | | | Problem: MacOS: building fails if clock_gettime() is not available. Solution: Add a configure check for clock_gettime(). (closes #12242)
* patch 9.0.1403: unused variables and functionsv9.0.1403Dominique Pelle2023-03-121-9/+13
| | | | | Problem: Unused variables and functions. Solution: Delete items and adjust #ifdefs. (Dominique Pellé, closes #12145)
* patch 9.0.1375: crash when getting member of obj of unknown classv9.0.1375Ernie Rael2023-03-031-0/+2
| | | | | | Problem: Crash when getting member of obj of unknown class. Solution: Check for NULL class and give an error message. (Ernie Rael, closes #12096)
* patch 9.0.1357: using null_object results in an internal errorv9.0.1357Bram Moolenaar2023-02-261-0/+4
| | | | | Problem: Using null_object results in an internal error. (Ernie Rael) Solution: Add instructions for pushing an object and class. (closes #12044)
* patch 9.0.1328: error when using "none" for GUI color is confusingv9.0.1328Bram Moolenaar2023-02-191-0/+2
| | | | | Problem: Error when using "none" for GUI color is confusing. Solution: Mention that the name should perhaps be "NONE". (closes #1400)
* patch 9.0.1317: crash when using an unset object variablev9.0.1317Bram Moolenaar2023-02-171-2/+4
| | | | | Problem: Crash when using an unset object variable. Solution: Give an error instead. (closes #12005)
* patch 9.0.1249: cannot export an abstract classv9.0.1249Bram Moolenaar2023-01-271-0/+2
| | | | | Problem: Cannot export an abstract class. (Ernie Rael) Solution: Add the EX_EXPORT flag to :abstract. (closes #11884)
* patch 9.0.1223: cannot use setcellwidths() below 0x100v9.0.1223K.Takata2023-01-201-2/+2
| | | | | | Problem: Cannot use setcellwidths() below 0x100. Solution: Also accept characters between 0x80 and 0x100. (Ken Takata, closes #11834)
* patch 9.0.1198: abstract class not supported yetv9.0.1198Bram Moolenaar2023-01-141-0/+2
| | | | | Problem: Abstract class not supported yet. Solution: Implement abstract class and add tests.
* patch 9.0.1179: not all errors around inheritance are testedv9.0.1179Bram Moolenaar2023-01-111-0/+2
| | | | | Problem: Not all errors around inheritance are tested. Solution: Add more tests. Fix uncovered problems.
* patch 9.0.1178: a child class cannot override functions from a base classv9.0.1178Bram Moolenaar2023-01-111-0/+6
| | | | | Problem: A child class cannot override functions from a base class. Solution: Allow overriding and implement "super".
* patch 9.0.1159: extends argument for class not implemented yetv9.0.1159Bram Moolenaar2023-01-081-0/+6
| | | | | Problem: Extends argument for class not implemented yet. Solution: Basic implementation of "extends".
* patch 9.0.1157: "implements" only handles one interface namev9.0.1157Bram Moolenaar2023-01-071-0/+4
| | | | | | Problem: "implements" only handles one interface name. Solution: Handle a comma separated list of names. Check for duplicate names.
* patch 9.0.1152: class "implements" argument not implementedv9.0.1152Bram Moolenaar2023-01-061-0/+8
| | | | | | Problem: Class "implements" argument not implemented. Solution: Implement "implements" argument. Add basic checks for when a class implements an interface.
* patch 9.0.1150: :interface is not implemented yetv9.0.1150Bram Moolenaar2023-01-051-2/+10
| | | | | Problem: :interface is not implemented yet. Solution: Implement the basics of :interface.
* patch 9.0.1133: error message names do not match the itemsv9.0.1133Bram Moolenaar2023-01-021-19/+19
| | | | | Problem: Error message names do not match the items. Solution: Add "_str" when the text contains "%s".
* patch 9.0.1128: build failurev9.0.1128Bram Moolenaar2023-01-011-0/+6
| | | | | Problem: Build failure. Solution: Add type cast. Add missing error messages.
* patch 9.0.1077: can add text property with negative ID before virtual textv9.0.1077Bram Moolenaar2022-12-191-0/+4
| | | | | | | | Problem: Can add text property with negative ID before virtual text property. Solution: Remember that a text property with a negative ID was used and give an appropriate error message. (closes #11725) Fix index computation.
* patch 9.0.1074: class members are not supported yetv9.0.1074Bram Moolenaar2022-12-181-8/+14
| | | | | Problem: Class members are not supported yet. Solution: Add initial support for class members.
* patch 9.0.1064: code for making 'shortmess' temporarily empty is repeatedv9.0.1064Christian Brabandt2022-12-161-0/+2
| | | | | | Problem: Code for making 'shortmess' temporarily empty is repeated. Solution: Add functions for making 'shortmess' empty and restoring it. (Christian Brabandt, closes #11709)
* patch 9.0.1060: private and public object members are not implemented yetv9.0.1060Bram Moolenaar2022-12-141-0/+10
| | | | | problem: Private and public object members are not implemented yet. Solution: Implement private and public object members.
* patch 9.0.1054: object member can't get type from initializerv9.0.1054Bram Moolenaar2022-12-131-0/+4
| | | | | | Problem: Object member can't get type from initializer. Solution: If there is no type specified try to use the type of the initializer. Check for a valid type.
* patch 9.0.1053: default constructor arguments are not optionalv9.0.1053Bram Moolenaar2022-12-131-0/+2
| | | | | Problem: Default constructor arguments are not optional. Solution: Use "= v:none" to make constructor arguments optional.
* patch 9.0.1041: cannot define a method in a classv9.0.1041Bram Moolenaar2022-12-091-0/+2
| | | | | | Problem: Cannot define a method in a class. Solution: Implement defining an object method. Make calling an object method work.
* patch 9.0.1031: Vim9 class is not implemented yetv9.0.1031Bram Moolenaar2022-12-081-0/+24
| | | | | Problem: Vim9 class is not implemented yet. Solution: Add very basic class support.
* patch 9.0.1003: tiny build failsv9.0.1003Bram Moolenaar2022-12-041-2/+0
| | | | | Problem: Tiny build fails. Solution: Remove #ifdef from error message.
* patch 9.0.1001: classes are not documented or implemented yetv9.0.1001Bram Moolenaar2022-12-041-0/+4
| | | | | | | Problem: Classes are not documented or implemented yet. Solution: Make the first steps at documenting Vim9 objects, classes and interfaces. Make initial choices for the syntax. Add a skeleton implementation. Add "public" and "this" in the command table.
* patch 9.0.0949: crash when unletting a variable while listing variablesv9.0.0949Bram Moolenaar2022-11-251-0/+2
| | | | | | Problem: Crash when unletting a variable while listing variables. Solution: Disallow changing a hashtable while going over the entries. (closes #11435)
* patch 9.0.0907: restoring window after WinScrolled may failv9.0.0907Bram Moolenaar2022-11-191-0/+2
| | | | | Problem: Restoring window after WinScrolled may fail. Solution: Lock the window layout when triggering WinScrolled.
* patch 9.0.0877: using freed memory with :comclear while listing commandsv9.0.0877Bram Moolenaar2022-11-131-0/+2
| | | | | Problem: Using freed memory with :comclear while listing commands. Solution: Bail out when the command list has changed. (closes #11440)
* patch 9.0.0874: using freed memory when executing unmenu at more promptv9.0.0874Bram Moolenaar2022-11-131-0/+4
| | | | | Problem: Using freed memory when executing unmenu at the more prompt. Solution: Do not clear menus while listing them. (closes #11439)
* patch 9.0.0873: using freed memory when executing mapclear at more promptv9.0.0873Bram Moolenaar2022-11-131-0/+2
| | | | | Problem: Using freed memory when executing mapclear at the more prompt. Solution: Do not clear mappings while listing them. (closes #11438)
* patch 9.0.0828: various typosv9.0.0828dundargoc2022-11-021-5/+5
| | | | | Problem: Various typos. Solution: Correct typos. (closes #11432)
* patch 9.0.0820: memory leak with empty shell commandv9.0.0821Bram Moolenaar2022-10-311-0/+2
| | | | | Problem: Memory leak with empty shell command. Solution: Free the empty string.
* patch 9.0.0747: too many #ifdefsv9.0.0747Martin Tournoij2022-10-131-2/+2
| | | | | | Problem: Too many #ifdefs. Solution: Gradudate the +cmdline_info feature. (Martin Tournoij, closes #11330)
* patch 9.0.0657: too many #ifdefsv9.0.0657Martin Tournoij2022-10-041-7/+1
| | | | | | Problem: Too many #ifdefs. Solution: Graduate the +cmdwin feature. Now the tiny and small builds are equal, drop the small build. (Martin Tournoij, closes #11268)
* patch 9.0.0637: syntax of commands in Vim9 script depends on +eval featurev9.0.0637Bram Moolenaar2022-10-021-0/+2
| | | | | Problem: Syntax of commands in Vim9 script depends on +eval feature. Solution: Use same syntax with and without the +eval feature.
* patch 9.0.0623: error for modifying a const is not detected at compile timev9.0.0623Bram Moolenaar2022-09-291-0/+2
| | | | | Problem: Error for modifying a const is not detected at compile time. Solution: Add TTFLAG_CONST and check for it in add() and extend().
* patch 9.0.0509: confusing error for "saveas" command with "nofile" bufferv9.0.0509Bram Moolenaar2022-09-201-2/+2
| | | | | Problem: Confusing error for "saveas" command with "nofile" buffer. Solution: Give a clearer error message. (closes #11171)
* patch 9.0.0502: a closure in a nested loop in a :def function does not workv9.0.0502Bram Moolenaar2022-09-191-0/+4
| | | | | Problem: A closure in a nested loop in a :def function does not work. Solution: Use an array of loopvars, one per loop level.
* patch 9.0.0500: when quitting cmdline window with CTRL-C it remains visiblev9.0.0500Bram Moolenaar2022-09-181-1/+1
| | | | | | Problem: When quitting the cmdline window with CTRL-C it remains visible. Solution: Redraw to avoid confusion. Adjust the error message. (closes #11152) Adjust the cursor position after CTRL-C.
* patch 9.0.0491: no good reason to build without the float featurev9.0.0491Bram Moolenaar2022-09-171-16/+3
| | | | | Problem: No good reason to build without the float feature. Solution: Remove configure check for float and "#ifdef FEAT_FLOAT".
* patch 9.0.0489: using "end_lnum" with virtual text causes problemsv9.0.0489Bram Moolenaar2022-09-171-0/+4
| | | | | | Problem: Using "end_lnum" with virtual text causes problems. Solution: Disallow using "end_lnum" with virtual text. (closes #11151) Also disallow "end_col" and "length".
* patch 9.0.0444: trying to declare g:variable gives confusing errorv9.0.0444Bram Moolenaar2022-09-111-0/+2
| | | | | Problem: Trying to declare g:variable gives confusing error. Solution: Give a better error message. (closes #11108)
* patch 9.0.0437: no error when custom completion function returns wrong typev9.0.0437Bram Moolenaar2022-09-101-0/+2
| | | | | | Problem: No error when a custom completion function returns something else than the expected list. Solution: Give an error. (closes #11100)
* patch 9.0.0436: CI: running tests in parallel causes flakinessv9.0.0436K.Takata2022-09-101-2/+2
| | | | | Problem: CI: running tests in parallel causes flakiness. Solution: Reorganize the MS-Windows runs. (Ken Takata, closes #11101)
* 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.