Bram Moolenaar
ea2d8d2571
patch 8.2.1325: Vim9: using Vim9 script for autaload not tested
...
Problem: Vim9: using Vim9 script for autaload not tested.
Solution: Add a test. Update help.
2020-07-29 22:11:05 +02:00
Bram Moolenaar
ae616494d7
patch 8.2.1308: Vim9: accidentally using "x" causes Vim to exit
...
Problem: Vim9: accidentally using "x" causes Vim to exit.
Solution: Disallow using ":x" or "xit" in Vim9 script. (closes #6399 )
2020-07-28 20:07:27 +02:00
Bram Moolenaar
2547aa930b
Update runtime files.
2020-07-26 17:00:44 +02:00
Bram Moolenaar
a5d0423fa1
patch 8.2.1297: when a test fails it's often not easy to see where
...
Problem: When a test fails it's often not easy to see what the call stack
is.
Solution: Add more entries from the call stack in the exception message.
2020-07-26 15:37:02 +02:00
Bram Moolenaar
d43906d2e5
patch 8.2.1255: cannot use a lambda with quickfix functions
...
Problem: Cannot use a lambda with quickfix functions.
Solution: Add support for lambda. (Yegappan Lakshmanan, closes #6499 )
2020-07-20 21:31:32 +02:00
Bram Moolenaar
6434fc574d
patch 8.2.1241: cannot use getbufinfo() as a method
...
Problem: Cannot use getbufinfo() as a method.
Solution: Support using getbufinfo() as a method. (closes #6458 )
2020-07-18 22:24:22 +02:00
Bram Moolenaar
447bfba24b
patch 8.2.1237: changing 'completepopup' after opening popup has no effect
...
Problem: Changing 'completepopup' after opening a popup has no effect. (Jay
Sitter)
Solution: Close the popup when the options are changed. (closes #6471 )
2020-07-18 16:07:16 +02:00
Bram Moolenaar
f5be8cdb77
patch 8.2.1227: Vim9: allowing both quoted and # comments is confusing
...
Problem: Vim9: allowing both quoted and # comments is confusing.
Solution: Only support # comments in Vim9 script.
2020-07-17 20:36:00 +02:00
Bram Moolenaar
e3f915d12c
patch 8.2.1215: Atari MiNT support is outdated
...
Problem: Atari MiNT support is outdated.
Solution: Nobody responded this code is still useful, so let's delete it.
2020-07-14 23:02:44 +02:00
Bram Moolenaar
9b7bf9e98f
patch 8.2.1183: assert_fails() checks the last error message
...
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.
2020-07-11 22:14:59 +02:00
Bram Moolenaar
7ff78465f7
Update runtime files
2020-07-10 22:00:53 +02:00
Bram Moolenaar
08fc48492a
patch 8.2.1172: error messages when doing "make clean" in doc or tee
...
Problem: Error messages when doing "make clean" in the runtime/doc or
src/tee directories.
Solution: Use "rm -f".
2020-07-10 20:40:23 +02:00
Bram Moolenaar
ae97b94176
patch 8.2.1166: once mouse move events are enabled getchar() returns them
...
Problem: Once mouse move events are enabled getchar() returns them.
Solution: Ignore K_MOUSEMOVE in getchar(). (closes #6424 )
2020-07-09 19:16:35 +02:00
Bram Moolenaar
3f40ce78f5
patch 8.2.1128: the write message mentions characters, but it's bytes
...
Problem: The write message mentions characters, but it's actually bytes.
Solution: Change "C" to "B" and "characters" to "bytes".
2020-07-05 14:10:13 +02:00
Bram Moolenaar
ef8c617b9c
patch 8.2.1107: 'imactivatefunc' and 'imstatusfunc' are not used in the GUI
...
Problem: 'imactivatefunc' and 'imstatusfunc' are not used in the GUI.
Solution: Adjust the #ifdefs. (closes #6367 )
2020-07-01 15:12:44 +02:00
Bram Moolenaar
e46a440505
Runtime file updates
2020-06-30 20:38:27 +02:00
Bram Moolenaar
a1f9f8666e
patch 8.2.1081: Lua: cannot use table.insert() and table.remove()
...
Problem: Lua: cannot use table.insert() and table.remove().
Solution: Add the list functions. (Prabir Shrestha, closes #6353 )
2020-06-28 22:41:26 +02:00
Bram Moolenaar
75e15670b8
patch 8.2.1077: no enough test coverage for highlighting
...
Problem: No enough test coverage for highlighting.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6351 )
2020-06-28 13:10:22 +02:00
Bram Moolenaar
bd84617d1a
patch 8.2.1066: Lua arrays are zero based
...
Problem: Lua arrays are zero based.
Solution: Make Lua arrays one based. (Prabir Shrestha, closes #6347 )
Note: this is not backwards compatible.
2020-06-27 12:32:57 +02:00
Bram Moolenaar
801ab06934
patch 8.2.1054: not so easy to pass a lua function to Vim
...
Problem: Not so easy to pass a lua function to Vim.
Solution: Convert a Lua function and closure to a Vim funcref. (Prabir
Shrestha, closes #6246 )
2020-06-25 19:27:56 +02:00
Bram Moolenaar
df069eec3b
patch 8.2.1042: Vim9: cannot put an operator on the next line
...
Problem: Vim9: cannot put an operator on the next line.
Solution: Require a colon before a range to see if that causes problems.
2020-06-22 23:02:51 +02:00
Bram Moolenaar
73fef33014
Update runtime files
2020-06-21 22:12:03 +02:00
Bram Moolenaar
856c1110c1
patch 8.2.0997: cannot execute a register containing line continuation
...
Problem: Cannot execute a register containing line continuation.
Solution: Concatenate lines where needed. (Yegappan Lakshmanan,
closes #6272 )
2020-06-17 21:47:23 +02:00
Bram Moolenaar
40a019f157
patch 8.2.0996: using "aucmdwin" in win_gettype() is not ideal
...
Problem: Using "aucmdwin" in win_gettype() is not ideal.
Solution: Rename to "autocmd".
2020-06-17 21:41:35 +02:00
Bram Moolenaar
0fe937fd86
patch 8.2.0991: cannot get window type for autocmd and preview window
...
Problem: Cannot get window type for autocmd and preview window.
Solution: Add types to win_gettype(). (Yegappan Lakshmanan, closes #6277 )
2020-06-16 22:42:04 +02:00
Bram Moolenaar
84cf6bd81b
patch 8.2.0988: getting directory contents is always case sorted
...
Problem: Getting directory contents is always case sorted.
Solution: Add sort options and v:collate. (Christian Brabandt, closes #6229 )
2020-06-16 20:03:43 +02:00
Bram Moolenaar
b340baed9f
patch 8.2.0982: insufficient testing for reading/writing files
...
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.
2020-06-15 19:51:56 +02:00
Bram Moolenaar
65e0d77a66
Update runtime files
2020-06-14 17:29:55 +02:00
Bram Moolenaar
0c0eddd3dd
patch 8.2.0970: terminal properties are not available in Vim script
...
Problem: Terminal properties are not available in Vim script.
Solution: Add the terminalprops() function.
2020-06-13 15:47:25 +02:00
Bram Moolenaar
37d1673ce0
patch 8.2.0964: TextYankPost does not provide info about Visual selection
...
Problem: TextYankPost does not provide info about Visual selection.
Solution: Add the 'visual' key in v:event. (closes #6249 )
2020-06-12 22:09:01 +02:00
Bram Moolenaar
6c6be9e88d
patch 8.2.0963: number increment/decrement does not work with 'virtualedit'
...
Problem: Number increment/decrement does not work with 'virtualedit'.
Solution: Handle coladd changing. (Christian Brabandt, closes #6240 ,
closes #923 )
2020-06-12 20:19:44 +02:00
Bram Moolenaar
00e260bb6c
patch 8.2.0959: using 'quickfixtextfunc' is a bit slow
...
Problem: Using 'quickfixtextfunc' is a bit slow.
Solution: Process a list of entries. (Yegappan Lakshmanan, closes #6234 )
2020-06-11 19:35:52 +02:00
Bram Moolenaar
362b44bd4a
patch 8.2.0953: spell checking doesn't work for CamelCased words
...
Problem: Spell checking doesn't work for CamelCased words.
Solution: Add the "camel" value in the new option 'spelloptions'.
(closes #1235 )
2020-06-10 21:47:00 +02:00
Bram Moolenaar
be5ee8686a
patch 8.2.0952: no simple way to interrupt Vim
...
Problem: No simple way to interrupt Vim.
Solution: Add the SigUSR1 autocommand, triggered by SIGUSR1. (Jacob Hayes,
closes #1718 )
2020-06-10 20:56:58 +02:00
Bram Moolenaar
152e79e94b
patch 8.2.0945: cannot use "z=" when 'spell' is off
...
Problem: Cannot use "z=" when 'spell' is off.
Solution: Make "z=" work even when 'spell' is off. (Christian Brabandt,
Gary Johnson, closes #6227 )
2020-06-10 15:32:08 +02:00
Bram Moolenaar
077a1e670a
patch 8.2.0935: flattening a list with existing code is slow
...
Problem: Flattening a list with existing code is slow.
Solution: Add flatten(). (Mopp, closes #3676 )
2020-06-08 20:50:43 +02:00
Bram Moolenaar
7ba5a7eff3
patch 8.2.0933: 'quickfixtextfunc' does not get window ID of location list
...
Problem: 'quickfixtextfunc' does not get window ID of location list.
Solution: Add "winid" to the dict argument. (Yegappan Lakshmanan,
closes #6222 )
2020-06-08 19:20:27 +02:00
Bram Moolenaar
6938e27abd
patch 8.2.0931: some remarks about BeOS remain
...
Problem: Some remarks about BeOS remain.
Solution: Remove BeOS remarks from the help and other files. (Emir Sari,
closes #6221 )
2020-06-07 22:23:19 +02:00
Bram Moolenaar
acc2240640
Update runtime files
2020-06-07 21:07:18 +02:00
Bram Moolenaar
1f1fd44ef7
patch 8.2.0925: getcompletion() does not return command line arguments
...
Problem: Getcompletion() does not return command line arguments.
Solution: Add the "cmdline" option. (Shougo, closes #1140 )
2020-06-07 18:45:14 +02:00
Bram Moolenaar
bb861e293e
patch 8.2.0924: cannot save and restore a register properly
...
Problem: Cannot save and restore a register properly.
Solution: Add getreginfo() and make setreg() accept a dictionary. (Andy
Massimino, closes #3370 )
2020-06-07 18:16:36 +02:00
Bram Moolenaar
e928366de5
patch 8.2.0917: quickfix entries do not suport a "note" type
...
Problem: Quickfix entries do not suport a "note" type.
Solution: Add support for "note". (partly by Yegappan Lakshmanan,
closes #5527 , closes #6216 )
2020-06-07 14:10:47 +02:00
Bram Moolenaar
adc17a5f9d
patch 8.2.0915: search() cannot skip over matches like searchpair() can
...
Problem: Search() cannot skip over matches like searchpair() can.
Solution: Add an optional "skip" argument. (Christian Brabandt, closes #861 )
2020-06-06 18:37:51 +02:00
Bram Moolenaar
002bc79991
patch 8.2.0909: cannot go back to the previous local directory
...
Problem: Cannot go back to the previous local directory.
Solution: Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes #4362 )
2020-06-05 22:33:42 +02:00
Bram Moolenaar
e52702f003
patch 8.2.0901: formatting CJK text isn't optimal
...
Problem: Formatting CJK text isn't optimal.
Solution: Properly break CJK lines. (closes #3875 )
2020-06-04 18:22:13 +02:00
Bram Moolenaar
ebacddbc16
patch 8.2.0897: list of functions in patched version is outdated
...
Problem: List of functions in patched version is outdated.
Solution: Update the function lists only.
2020-06-04 15:22:21 +02:00
Bram Moolenaar
fb517bac23
patch 8.2.0893: assert_equalfile() does not take a third argument
...
Problem: Assert_equalfile() does not take a third argument.
Solution: Implement the third argument. (Gary Johnson)
2020-06-03 19:55:35 +02:00
Bram Moolenaar
c17e66c5c0
patch 8.2.0886: cannot use octal numbers in scriptversion 4
...
Problem: Cannot use octal numbers in scriptversion 4.
Solution: Add the "0o" notation. (Ken Takata, closes #5304 )
2020-06-02 21:38:22 +02:00
Bram Moolenaar
85629985b7
patch 8.2.0878: no reduce() function
...
Problem: No reduce() function.
Solution: Add a reduce() function. (closes #5481 )
2020-06-01 18:39:20 +02:00
Bram Moolenaar
e8f5ec0d30
patch 8.2.0877: cannot get the search statistics
...
Problem: Cannot get the search statistics.
Solution: Add the searchcount() function. (Fujiwara Takuya, closes #4446 )
2020-06-01 17:28:35 +02:00