summaryrefslogtreecommitdiff
path: root/src/globals.h
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.2238: Vim9: cannot load a Vim9 script without the +eval featurev8.2.2238Bram Moolenaar2020-12-281-3/+8
| | | | | Problem: Vim9: cannot load a Vim9 script without the +eval feature. Solution: Support Vim9 script syntax without the +eval feature.
* patch 8.2.2210: Vim9: allocating a type to set TTFLAG_BOOL_OKv8.2.2210Bram Moolenaar2020-12-251-0/+1
| | | | | Problem: Vim9: allocating a type to set TTFLAG_BOOL_OK. Solution: Add t_number_bool.
* patch 8.2.2182: Vim9: value of 'magic' is still relevantv8.2.2182Bram Moolenaar2020-12-211-0/+5
| | | | | Problem: Vim9: value of 'magic' is still relevant. Solution: Always behave like 'magic' is on in Vim9 script (closes #7509)
* patch 8.2.2097: Vim9: using :silent! when calling a function prevents abortv8.2.2097Bram Moolenaar2020-12-051-0/+6
| | | | | | Problem: Vim9: using :silent! when calling a function prevents abortng that function. Solution: Add emsg_silent_def and did_emsg_def.
* patch 8.2.2021: Vim9: get E1099 when autocommand resets did_emsgv8.2.2021Bram Moolenaar2020-11-201-0/+2
| | | | | Problem: Vim9: get E1099 when autocommand resets did_emsg. Solution: Add did_emsg_cumul. (closes #7336)
* patch 8.2.1948: GUI: crash when handling message while closing a windowv8.2.1948Bram Moolenaar2020-11-041-0/+6
| | | | | | Problem: GUI: crash when handling message while closing a window. (Srinath Avadhanula) Solution: Don't handle message while closing a window. (closes #7250)
* patch 8.2.1924: Vim9: crash when indexing dict with NULL keyv8.2.1924Bram Moolenaar2020-10-301-1/+1
| | | | | | Problem: Vim9: crash when indexing dict with NULL key. Solution: Use empty string instead of NULL. (closes #7229) Make error message more useful for empty string.
* patch 8.2.1919: assert_fails() setting emsg_silent changes normal executionv8.2.1919Bram Moolenaar2020-10-281-1/+2
| | | | | Problem: Assert_fails() setting emsg_silent changes normal execution. Solution: Use a separate flag in_assert_fails.
* patch 8.2.1840: Vim9: error message is not clear about compilation errorv8.2.1840Bram Moolenaar2020-10-121-0/+3
| | | | | Problem: Vim9: error message is not clear about compilation error. Solution: Say "compiling" instead of "processing".
* patch 8.2.1769: popup filter interferes with using :normal to move the cursorv8.2.1769Bram Moolenaar2020-09-281-6/+3
| | | | | | Problem: A popup filter interferes with using :normal to move the cursor in a popup. Solution: Do not invoke the filter when ex_normal_busy is set.
* patch 8.2.1729: endless loop when ":normal" feeds popup window filterv8.2.1729Bram Moolenaar2020-09-231-0/+5
| | | | | Problem: Endless loop when ":normal" feeds popup window filter. Solution: Add the ex_normal_busy_done flag.
* patch 8.2.1691: Vim9: list<any> is not accepted where list<number> is expectedv8.2.1691Bram Moolenaar2020-09-161-36/+35
| | | | | | Problem: Vim9: list<any> is not accepted where list<number> is expected. Solution: Add functions to allocate and free a type_T, use it in ISN_CHECKTYPE. (closes #6959)
* patch 8.2.1631: test_fails() does not check the context of the line numberv8.2.1631Bram Moolenaar2020-09-061-0/+1
| | | | | Problem: test_fails() does not check the context of the line number. Solution: Use another argument to specify the context of the line number.
* patch 8.2.1597: the channel source file is too bigv8.2.1597Bram Moolenaar2020-09-051-0/+3
| | | | | Problem: The channel source file is too big. Solution: Move job related code to a new source file.
* patch 8.2.1595: cannot easily see what Vim sends to the terminalv8.2.1595Bram Moolenaar2020-09-051-0/+4
| | | | | | Problem: Cannot easily see what Vim sends to the terminal. Solution: Write output to the channel log if it contains terminal control sequences. Avoid warnings for tputs() argument.
* patch 8.2.1570: configure check for dirfd() does not work on HPUXv8.2.1570Bram Moolenaar2020-09-021-1/+2
| | | | | Problem: Configure check for dirfd() does not work on HPUX. (Michael Osipov) Solution: Use AC_TRY_LINK instead of AC_TRY_COMPILE. (closes #6838)
* patch 8.2.1539: using invalid script ID causes a crashv8.2.1539Bram Moolenaar2020-08-291-2/+3
| | | | | Problem: Using invalid script ID causes a crash. Solution: Check the script ID to be valid. (closes #6804)
* patch 8.2.1479: Vim9: error for list index uses wrong line numberv8.2.1479Bram Moolenaar2020-08-181-0/+1
| | | | | | Problem: Vim9: error for list index uses wrong line number. Solution: Set source line number. (closes #6724) Add a way to assert the line number of the error with assert_fails().
* patch 8.2.1460: error messages are spread outv8.2.1460Bram Moolenaar2020-08-151-2/+0
| | | | | Problem: Error messages are spread out. Solution: Move more messages into errors.h.
* patch 8.2.1444: error messages are spread out and names can be confusingv8.2.1444Bram Moolenaar2020-08-131-11/+0
| | | | | | Problem: Error messages are spread out and names can be confusing. Solution: Start moving error messages to a separate file and use clear names.
* patch 8.2.1422: the Mac GUI implementation is outdatedv8.2.1422Bram Moolenaar2020-08-111-5/+1
| | | | | | | Problem: The Mac GUI implementation is outdated and probably doesn't even work. Solution: Remove the Mac GUI code. The MacVim project provides the supported Vim GUI version.
* patch 8.2.1401: cannot jump to the last used tabpagev8.2.1401Bram Moolenaar2020-08-091-1/+3
| | | | | | Problem: Cannot jump to the last used tabpage. Solution: Add g<Tab> and tabpagnr('#'). (Yegappan Lakshmanan, closes #6661, neovim #11626)
* patch 8.2.1349: Vim9: can define a function with the name of an importv8.2.1349Bram Moolenaar2020-08-011-0/+1
| | | | | Problem: Vim9: can define a function with the name of an import. Solution: Disallow using an existing name. (closes #6585)
* patch 8.2.1341: build failuresv8.2.1341Bram Moolenaar2020-08-011-0/+1
| | | | | Problem: Build failures. Solution: Add missing error message.
* patch 8.2.1278: Vim9: line break after "->" only allowed in :def functionv8.2.1278Bram Moolenaar2020-07-231-0/+1
| | | | | Problem: Vim9: line break after "->" only allowed in :def function. Solution: Only allow line break after "->". (closes #6492)
* patch 8.2.1183: assert_fails() checks the last error messagev8.2.1183Bram Moolenaar2020-07-111-0/+4
| | | | | | Problem: assert_fails() checks the last error message. Solution: Check the first error, it is more relevant. Fix all the tests that rely on the old behavior.
* patch 8.2.1163: build errorv8.2.1163Bram Moolenaar2020-07-081-1/+1
| | | | | Problem: Build error. Solution: Add missing change to globals.
* patch 8.2.1158: build errorv8.2.1158Bram Moolenaar2020-07-081-1/+1
| | | | | Problem: Build error. Solution: Add missing change to globals.
* patch 8.2.1080: Vim9: no line break allowed in a for loopv8.2.1080Bram Moolenaar2020-06-281-1/+1
| | | | | Problem: Vim9: no line break allowed in a for loop. Solution: Skip line breaks in for command.
* patch 8.2.1079: Vim9: no line break allowed in a while loopv8.2.1079Bram Moolenaar2020-06-281-1/+1
| | | | | Problem: Vim9: no line break allowed in a while loop. Solution: Update stored loop lines when finding line breaks.
* patch 8.2.1071: Vim9: no line break allowed inside a lambdav8.2.1071Bram Moolenaar2020-06-271-1/+5
| | | | | Problem: Vim9: no line break allowed inside a lambda. Solution: Handle line break inside a lambda in Vim9 script.
* patch 8.2.1059: crash when using :tabonly in an autocommandv8.2.1059Bram Moolenaar2020-06-261-0/+1
| | | | | Problem: Crash when using :tabonly in an autocommand. (Yegappan Lakshmanan) Solution: Do not allow the autocommand window to be closed.
* patch 8.2.1049: Vim9: leaking memory when using continuation linev8.2.1049Bram Moolenaar2020-06-241-1/+1
| | | | | | Problem: Vim9: leaking memory when using continuation line. Solution: Keep a pointer to the continuation line in evalarg_T. Centralize checking for a next command.
* patch 8.2.1047: Vim9: script cannot use line continuation like :def functionv8.2.1047Bram Moolenaar2020-06-241-0/+3
| | | | | | Problem: Vim9: script cannot use line continuation like in a :def function. Solution: Pass the getline function pointer to the eval() functions. Use it for addition and multiplication operators.
* patch 8.2.1042: Vim9: cannot put an operator on the next linev8.2.1042Bram Moolenaar2020-06-221-0/+1
| | | | | Problem: Vim9: cannot put an operator on the next line. Solution: Require a colon before a range to see if that causes problems.
* patch 8.2.1032: error message for declaring a variable cannot be translatedv8.2.1032Bram Moolenaar2020-06-211-1/+2
| | | | | Problem: Error message for declaring a variable cannot be translated. Solution: Enclose in _(). Make environment variable a separate message.
* patch 8.2.1028: Vim9: no error for declaring buffer, window, etc. variablev8.2.1028Bram Moolenaar2020-06-211-1/+1
| | | | | Problem: Vim9: no error for declaring buffer, window, etc. variable. Solution: Give an error. Unify the error messages.
* patch 8.2.1024: Vim9: no error for using "let g:var = val"v8.2.1024Bram Moolenaar2020-06-201-0/+1
| | | | | Problem: Vim9: no error for using "let g:var = val". Solution: Add an error.
* patch 8.2.0990: Using duplicate error numberv8.2.0990Bram Moolenaar2020-06-161-2/+1
| | | | | Problem: Using duplicate error number. Solution: Use an unused error number. Add a test for it.
* patch 8.2.0988: getting directory contents is always case sortedv8.2.0988Bram Moolenaar2020-06-161-0/+2
| | | | | Problem: Getting directory contents is always case sorted. Solution: Add sort options and v:collate. (Christian Brabandt, closes #6229)
* patch 8.2.0982: insufficient testing for reading/writing filesv8.2.0982Bram Moolenaar2020-06-151-0/+1
| | | | | | Problem: Insufficient testing for reading/writing files. Solution: Add more tests. (Yegappan Lakshmanan, closes #6257) Add "ui_delay" to test_override() and use it for the CTRL-O test.
* patch 8.2.0972: Vim9 script variable declarations need a typev8.2.0972Bram Moolenaar2020-06-131-0/+2
| | | | | Problem: Vim9 script variable declarations need a type. Solution: Make "let var: type" declare a script-local variable.
* patch 8.2.0970: terminal properties are not available in Vim scriptv8.2.0970Bram Moolenaar2020-06-131-0/+1
| | | | | Problem: Terminal properties are not available in Vim script. Solution: Add the terminalprops() function.
* patch 8.2.0952: no simple way to interrupt Vimv8.2.0952Bram Moolenaar2020-06-101-3/+8
| | | | | | Problem: No simple way to interrupt Vim. Solution: Add the SigUSR1 autocommand, triggered by SIGUSR1. (Jacob Hayes, closes #1718)
* patch 8.2.0945: cannot use "z=" when 'spell' is offv8.2.0945Bram Moolenaar2020-06-101-0/+3
| | | | | | Problem: Cannot use "z=" when 'spell' is off. Solution: Make "z=" work even when 'spell' is off. (Christian Brabandt, Gary Johnson, closes #6227)
* patch 8.2.0878: no reduce() functionv8.2.0878Bram Moolenaar2020-06-011-0/+1
| | | | | Problem: No reduce() function. Solution: Add a reduce() function. (closes #5481)
* patch 8.2.0863: cannot set a separate color for underline/undercurlv8.2.0863Bram Moolenaar2020-05-311-0/+2
| | | | | Problem: Cannot set a separate color for underline/undercurl. Solution: Add the t_AU and t_8u termcap codes. (Timur Celik, closes #6011)
* patch 8.2.0847: typval related code is spread outv8.2.0847Bram Moolenaar2020-05-301-0/+3
| | | | | Problem: Typval related code is spread out. Solution: Move code to new typval.c file. (Yegappan Lakshmanan, closes #6093)
* patch 8.2.0839: dropping modifier when putting a character back in typeaheadv8.2.0839Bram Moolenaar2020-05-291-1/+6
| | | | | Problem: Dropping modifier when putting a character back in typeahead. Solution: Add modifier to ins_char_typebuf(). (closes #6158)
* patch 8.2.0823: Vim9: script reload test is disabledv8.2.0823Bram Moolenaar2020-05-251-1/+1
| | | | | | | Problem: Vim9: script reload test is disabled. Solution: Compile a function in the context of the script where it was defined. Set execution stack for compiled function. Add a test that an error is reported for the right file/function.