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.
v8.2.3895
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.
v8.2.3894
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.
v8.2.3893
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.
v8.2.3892
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 )
v8.2.3891
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.
v8.2.3890
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 )
v8.2.3889
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 )
v8.2.3888
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.
v8.2.3887
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!".
v8.2.3886
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".
v8.2.3885
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".
v8.2.3884
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.
v8.2.3883
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 )
v8.2.3882
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 )
v8.2.3881
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)
v8.2.3880
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.
v8.2.3879
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 )
v8.2.3878
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 )
v8.2.3877
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 )
v8.2.3876
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)
v8.2.3875
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 )
v8.2.3874
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 )
v8.2.3873
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.
v8.2.3872
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 )
v8.2.3871
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 )
v8.2.3870
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.
v8.2.3869
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.
v8.2.3868
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 )
v8.2.3867
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.
v8.2.3866
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".
v8.2.3865
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.
v8.2.3864
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.
v8.2.3863
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 )
v8.2.3862
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.
v8.2.3861
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.
v8.2.3860
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.
v8.2.3859
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.
v8.2.3858
2021-12-20 10:55:35 +00:00
Bram Moolenaar
2f9f4ccfc8
patch 8.2.3857: Vim9: inconsistent error for using function()
...
Problem: Vim9: inconsistent error for using function().
Solution: Use a runtime type check for the result of function().
(closes #8492 )
v8.2.3857
2021-12-20 09:36:27 +00:00
Bram Moolenaar
fea43e44c0
patch 8.2.3856: Vim9: not enough tests
...
Problem: Vim9: not enough tests.
Solution: Run more expression tests also with Vim9. Fix an uncovered
problem.
v8.2.3856
2021-12-19 21:34:05 +00:00
Yegappan Lakshmanan
bc404bfb32
patch 8.2.3855: illegal memory access when displaying a blob
...
Problem: Illegal memory access when displaying a blob.
Solution: Append a NUL at the end. (Yegappan Lakshmanan, closes #9372 )
v8.2.3855
2021-12-19 19:19:31 +00:00
Bram Moolenaar
86b3ab4fa0
patch 8.2.3854: Vim9: inconsistent arguments for test functions
...
Problem: Vim9: inconsistent arguments for test functions.
Solution: When :def function and script have different arguments use a list
with two items instead of a separate function.
v8.2.3854
2021-12-19 18:33:23 +00:00
Bram Moolenaar
700e6b1662
patch 8.2.3853: Vim9: not enough tests
...
Problem: Vim9: not enough tests.
Solution: Run more existing tests for Vim9 script.
v8.2.3853
2021-12-19 17:27:06 +00:00
Bram Moolenaar
f47c5a8e2d
patch 8.2.3852: Vim9: not enough tests
...
Problem: Vim9: not enough tests.
Solution: Also run existing tests for Vim9 script. Make errors more
consistent.
v8.2.3852
2021-12-19 15:17:21 +00:00
Bram Moolenaar
265f811f5a
patch 8.2.3851: Vim9: overhead when comparing string, dict or function
...
Problem: Vim9: overhead when comparing string, dict or function.
Solution: Call the intented compare function directly. Refactor to avoid
duplicated code.
v8.2.3851
2021-12-19 12:33:05 +00:00
Bram Moolenaar
2de5371a75
patch 8.2.3850: illegal memory access when displaying a partial
...
Problem: Illegal memory access when displaying a partial.
Solution: Terminate the string with a NUL. (closes #9371 )
v8.2.3850
2021-12-19 11:06:35 +00:00
Yegappan Lakshmanan
389b72196e
patch 8.2.3849: functions implementing reduce and map are too long
...
Problem: Functions implementing reduce and map are too long.
Solution: Use a function for each type of value. Add a few more test cases
and add to the help. (Yegappan Lakshmanan, closes #9370 )
v8.2.3849
2021-12-19 10:35:15 +00:00
rbtnn
0ccb5842f5
patch 8.2.3848: cannot use reduce() for a string
...
Problem: Cannot use reduce() for a string.
Solution: Make reduce() work with a string. (Naruhiko Nishino, closes #9366 )
v8.2.3848
2021-12-18 18:33:46 +00:00
Bram Moolenaar
605ec91e5a
patch 8.2.3847: illegal memory access when using a lambda with an error
...
Problem: Illegal memory access when using a lambda with an error.
Solution: Avoid skipping over the NUL after a string.
v8.2.3847
2021-12-18 16:54:31 +00:00