Bram Moolenaar
1f318c6eac
patch 8.2.3906: Vim9 help still contains "under development" warnings
...
Problem: Vim9 help still contains "under development" warnings.
Solution: Remove the explicit warning.
2021-12-26 18:09:31 +00:00
Bram Moolenaar
c88ac94a0b
patch 8.2.3905: Dockerfile using prefix name not recognized
...
Problem: Dockerfile using prefix name not recognized.
Solution: Recognize Dockerfile.*. (closes #9410 )
2021-12-26 17:31:35 +00:00
Bram Moolenaar
7319981f21
patch 8.2.3904: Vim9: skip expression type is not checked at compile time
...
Problem: Vim9: skip expression type is not checked at compile time.
Solution: Add argument type checks.
2021-12-26 17:18:14 +00:00
Bram Moolenaar
71c41255f6
patch 8.2.3903: "gM" does not count tabs as expected
...
Problem: "gM" does not count tabs as expected.
Solution: Use linetabsize() instead of mb_string2cells(). (closes #9409 )
2021-12-26 15:00:07 +00:00
Bram Moolenaar
9c23f9bb5f
patch 8.2.3902: Vim9: double free with nested :def function
...
Problem: Vim9: double free with nested :def function.
Solution: Pass "line_to_free" from compile_def_function() and make sure
cmdlinep is valid.
2021-12-26 14:23:22 +00:00
Bram Moolenaar
71eb3ad579
patch 8.2.3901: Vim9: Cannot set 'cpo' in main .vimrc if using Vim9 script
...
Problem: Vim9: Cannot set 'cpo' in main .vimrc if using Vim9 script.
Solution: Do not restore 'cpo' at the end of the main .vimrc.
2021-12-26 12:07:30 +00:00
Yegappan Lakshmanan
8bb65f230d
patch 8.2.3900: it is not easy to use a script-local function for an option
...
Problem: It is not easy to use a script-local function for an option.
Solution: recognize s: and <SID> at the start of the expression. (Yegappan
Lakshmanan, closes #9401 )
2021-12-26 10:51:39 +00:00
Bram Moolenaar
ec86520f94
patch 8.2.3899: Vim9: test for map() on string fails
...
Problem: Vim9: test for map() on string fails.
Solution: Expect string return type.
2021-12-25 22:10:42 +00:00
Bram Moolenaar
fb9dcb080b
patch 8.2.3898: Vim9: not sufficient testing for variable initialization
...
Problem: Vim9: not sufficient testing for variable initialization.
Solution: Add another test case.
2021-12-25 22:00:49 +00:00
Bram Moolenaar
1802405d71
patch 8.2.3897: Vim9: second argument of map() and filter() not checked
...
Problem: Vim9: the second argument of map() and filter() is not checked at
compile time.
Solution: Add more specific type check for the second argument.
2021-12-25 21:43:28 +00:00
Bram Moolenaar
db8e5c21b9
patch 8.2.3896: Vim9: no test for nested function not available later
...
Problem: Vim9: no test for nested function not available later.
Solution: Add a test.
2021-12-25 19:58:22 +00:00
Bram Moolenaar
ae1068afde
patch 8.2.3895: Vim9: confusing error when using function() with a number
...
Problem: Vim9: confusing error when using function() with a number.
Solution: Check for a function or string argument.
2021-12-25 19:43:44 +00:00
Bram Moolenaar
223d0a6bc8
patch 8.2.3894: Vim9: no proper type check for first argument of call()
...
Problem: Vim9: no proper type check for first argument of call().
Solution: Add specific type check.
2021-12-25 19:29:21 +00:00
Bram Moolenaar
5cd647935d
patch 8.2.3893: Vim9: many local variables are initialized with an instruction
...
Problem: Vim9: many local variables are initialized with an instruction.
Solution: Initialize local variables to zero to avoid the instructions.
2021-12-25 18:23:24 +00:00
Bram Moolenaar
35cfd793aa
patch 8.2.3892: when modifyOtherKeys is used CTRL-C is not recognized
...
Problem: When modifyOtherKeys is used CTRL-C is not recognized.
Solution: Check for uppercase C as well, fix minimum length.
2021-12-25 15:13:18 +00:00
Yegappan Lakshmanan
7f4a628efe
patch 8.2.3891: github CI: workflows may overlap
...
Problem: Github CI: workflows may overlap.
Solution: Cancel previous workflows when starting a new one. (Yegappan
Lakshmanan, closes #9400 )
2021-12-25 11:20:30 +00:00
Bram Moolenaar
d787e40fdb
patch 8.2.3890: Vim9: type check for using v: variables is basic
...
Problem: Vim9: type check for using v: variables is basic.
Solution: Specify a more precise type.
2021-12-24 21:36:12 +00:00
Yegappan Lakshmanan
e7f4abd38b
patch 8.2.3889: duplicate code for translating script-local function name
...
Problem: Duplicate code for translating script-local function name.
Solution: Move the code to get_scriptlocal_funcname(). (Yegappan Lakshmanan,
closes #9393 )
2021-12-24 20:47:38 +00:00
Nir Lichtman
73a024209c
patch 8.2.3888: the argument list may contain duplicates
...
Problem: The argument list may contain duplicates.
Solution: Add the :argdedeupe command. (Nir Lichtman, closes #6235 )
2021-12-24 20:28:03 +00:00
Bram Moolenaar
806da5176e
patch 8.2.3887: E1135 is used for two different errors
...
Problem: E1135 is used for two different errors.
Solution: Renumber one error.
2021-12-24 19:54:52 +00:00
Bram Moolenaar
b6db146762
patch 8.2.3886: can define autocmd for every event by using "au!"
...
Problem: Can define autocmd for every event by using "au!".
Solution: Check if a command is present also for "au!".
2021-12-24 19:24:47 +00:00
Bram Moolenaar
679140c56b
patch 8.2.3885: arglist test fails
...
Problem: Arglist test fails.
Solution: Adjust for locking the arglist for ":all".
2021-12-24 18:58:46 +00:00
Bram Moolenaar
6f98371532
patch 8.2.3884: crash when clearing the argument list while using it
...
Problem: Crash when clearing the argument list while using it.
Solution: Lock the argument list for ":all".
2021-12-24 18:11:27 +00:00
Bram Moolenaar
5937c7505f
patch 8.2.3883: crash when switching to other regexp engine fails
...
Problem: Crash when switching to other regexp engine fails.
Solution: Check for regprog being NULL.
2021-12-24 16:46:14 +00:00
Bram Moolenaar
fa3b72348d
Update runtime files
2021-12-24 13:18:38 +00:00
zeertzjq
d3f00f54bf
patch 8.2.3882: more duplicated code in f_getreginfo()
...
Problem: More duplicated code in f_getreginfo().
Solution: Also use getreg_get_regname(). (closes #9398 )
2021-12-24 12:02:43 +00:00
h-east
6073f13f55
patch 8.2.3881: QNX: crash when compiled with GUI but using terminal
...
Problem: QNX: crash when compiled with GUI but using terminal.
Solution: Check the gui.in_use flag. (Hirohito Higashi, closes #9391 )
2021-12-24 11:57:06 +00:00
Bram Moolenaar
70a120b72b
patch 8.2.3880: Solution filter files are not recognized
...
Problem: Solution filter files are not recognized.
Solution: Add pattern *.slnf and use json. (Doug Kearns)
2021-12-24 11:33:56 +00:00
Bram Moolenaar
51e64b2789
patch 8.2.3879: getreg() and getregtype() contain dead code
...
Problem: getreg() and getregtype() contain dead code.
Solution: Remove the needless check. (closes #9392 ) Also refactor to put
common code in a shared function.
2021-12-24 10:48:30 +00:00
Bram Moolenaar
310091d20f
patch 8.2.3878: Vim9: debugger tries to read more lines than there are
...
Problem: Vim9: debugger tries to read more lines than there are.
Solution: Check the number of lines. (closes #9394 )
2021-12-23 21:14:37 +00:00
Bram Moolenaar
28fbbeac70
patch 8.2.3877: function does not abort after a type error in compare
...
Problem: Function does not abort after a type error in compare
Solution: Check getting number fails. (closes #9384 )
2021-12-22 21:40:33 +00:00
zeertzjq
f2f0bddf30
patch 8.2.3876: 'cindent' does not recognize inline namespace
...
Problem: 'cindent' does not recognize inline namespace.
Solution: Skip over "inline" to find "namespace". (closes #9383 )
2021-12-22 20:55:30 +00:00
Bram Moolenaar
b4168fd917
patch 8.2.3875: gcc complains about buffer overrun
...
Problem: gcc complains about buffer overrun.
Solution: Use mch_memmove() instead of STRCPY(). (John Marriott)
2021-12-22 20:29:09 +00:00
James McCoy
a80aad7174
patch 8.2.3874: cannot highlight the number column for a sign
...
Problem: Cannot highlight the number column for a sign.
Solution: Add the "numhl" argument. (James McCoy, closes #9381 )
2021-12-22 19:45:28 +00:00
Bram Moolenaar
82b3b4c6cf
patch 8.2.3873: go.mod files are not recognized
...
Problem: go.mod files are not recognized.
Solution: Check for the file name. (closes #9380 )
2021-12-22 19:19:08 +00:00
Bram Moolenaar
080182216e
patch 8.2.3872: Vim9: finddir() and uniq() return types can be more specific
...
Problem: Vim9: finddir() and uniq() return types can be more specific.
Solution: Adjust the return type.
2021-12-22 18:45:37 +00:00
Yegappan Lakshmanan
f973eeb491
patch 8.2.3871: list.c contains code for dict and blob
...
Problem: List.c contains code for dict and blob.
Solution: Refactor to put code where it belongs. (Yegappan Lakshmanan,
closes #9386 )
2021-12-22 18:19:26 +00:00
Nir Lichtman
1aeccdb464
patch 8.2.3870: MS-Windows: wrong dir when using right-click context menu
...
Problem: MS-Windows: wrong working directory when opening two files with
right-click context menu. (Gabriel Dupras)
Solution: Use the working directory and pass it on to the process creation.
(Nir Lichtman, closes #9382 , closes #8874 )
2021-12-22 15:21:15 +00:00
Bram Moolenaar
fa46ead31a
patch 8.2.3869: Vim9: type checking for "any" is inconsistent
...
Problem: Vim9: type checking for "any" is inconsistent.
Solution: Always use a runtime type check for using "any" for a more
specific type.
2021-12-22 13:18:39 +00:00
Bram Moolenaar
1b5f7a6202
patch 8.2.3868: Vim9: function test fails
...
Problem: Vim9: function test fails.
Solution: Add missing changes. Add test for earlier patch.
2021-12-21 13:30:42 +00:00
Yegappan Lakshmanan
d92813a598
patch 8.2.3867: implementation of some list functions too complicated
...
Problem: Implementation of some list functions too complicated.
Solution: Refactor do_sort_uniq(), f_count() and extend() (Yegappan
Lakshmanan, closes #9378 )
2021-12-21 13:19:42 +00:00
Bram Moolenaar
59618fed4c
patch 8.2.3866: Vim9: type checking global variables is inconsistent
...
Problem: Vim9: type checking global variables is inconsistent.
Solution: Use the "unknown" type in more places.
2021-12-21 12:32:17 +00:00
Bram Moolenaar
0d807107b6
patch 8.2.3865: Vim9: compiler complains about using "try" as a struct member
...
Problem: Vim9: compiler complains about using "try" as a struct member.
Solution: Rename "try" to "tryref".
2021-12-21 09:42:09 +00:00
Bram Moolenaar
6f79e614b2
patch 8.2.3864: cannot disable requesting key codes from xterm
...
Problem: Cannot disable requesting key codes from xterm.
Solution: Add the 'xtermcodes' option, default on.
2021-12-21 09:12:23 +00:00
Bram Moolenaar
8d95d7091d
patch 8.2.3863: various build flags accidentally enabled
...
Problem: Various build flags accidentally enabled.
Solution: Revert several lines in Makefile.
2021-12-20 22:12:53 +00:00
Bram Moolenaar
dab17a0689
patch 8.2.3862: crash on exit with EXITFREE and using win_execute()
...
Problem: Crash on exit with EXITFREE and using win_execute().
Solution: Also save and restore tp_topframe. (issue #9374 )
2021-12-20 21:35:59 +00:00
Bram Moolenaar
39713d3acb
patch 8.2.3861: list of distributed files is outdated
...
Problem: List of distributed files is outdated.
Solution: Add new files.
2021-12-20 15:53:13 +00:00
Bram Moolenaar
dc7c366f3a
patch 8.2.3860: Vim9: codecov struggles with the file size
...
Problem: Vim9: codecov struggles with the file size.
Solution: Split vim9compile.c into four files.
2021-12-20 15:04:29 +00:00
Bram Moolenaar
a99fb23842
patch 8.2.3859: Vim9: some code lines not tested
...
Problem: Vim9: some code lines not tested.
Solution: Add a few specific tests.
2021-12-20 12:25:03 +00:00
Bram Moolenaar
003312b1d2
patch 8.2.3858: Vim9: not enough tests
...
Problem: Vim9: not enough tests.
Solution: Add tests for :try/:catch and :redir. Add missing type check.
2021-12-20 10:55:35 +00:00