Bram Moolenaar
2596a4e763
patch 8.2.3346: Vim9: no error for using "." for concatenation after ":vim9cmd"
...
Problem: Vim9: no error for using "." for concatenation after ":vim9cmd".
(Naohiro Ono)
Solution: Check for Vim9 script syntax. (closes #8756 )
v8.2.3346
2021-08-14 21:35:40 +02:00
Bram Moolenaar
6aa57295cf
Update runtime files
2021-08-14 21:25:52 +02:00
Dominique Pelle
bfb2bb16bc
patch 8.2.3345: some code not covered by tests
...
Problem: Some code not covered by tests.
Solution: Add a few more tests. (Dominique Pellé, closes #8757 )
v8.2.3345
2021-08-14 21:11:51 +02:00
Bram Moolenaar
d2e9ccee90
patch 8.2.3344: vimscript test fails
...
Problem: Vimscript test fails.
Solution: Have test verify first error instead of second
v8.2.3344
2021-08-14 15:16:00 +02:00
Bram Moolenaar
4830c211a4
patch 8.2.3343: Vim9: autoload test fails
...
Problem: Vim9: autoload test fails.
Solution: Adjust the way the second message is avoided
v8.2.3343
2021-08-14 14:59:27 +02:00
Bram Moolenaar
b521766c56
patch 8.2.3342: test for :let errors fails
...
Problem: Test for :let errors fails.
Solution: Adjust the test and how to avoid a second error message.
v8.2.3342
2021-08-14 14:27:30 +02:00
Bram Moolenaar
88c89c7722
patch 8.2.3341: Vim9: function call aborted despite try/catch
...
Problem: Vim9: function call aborted despite try/catch. (Naohiro Ono)
Solution: Ignore error caught by try/catch. (closes #8755 )
v8.2.3341
2021-08-14 14:01:05 +02:00
Bram Moolenaar
78a9c2e670
patch 8.2.3340: accessing uninitialized pointer
...
Problem: Accessing uninitialized pointer.
Solution: Set pointer to NULL.
v8.2.3340
2021-08-13 20:12:13 +02:00
Bram Moolenaar
aacc966c5d
patch 8.2.3339: Vim9: cannot lock a member in a local dict
...
Problem: Vim9: cannot lock a member in a local dict.
Solution: Get the local dict from the stack and pass it to get_lval().
v8.2.3339
2021-08-13 19:40:51 +02:00
Bram Moolenaar
89071cb6a1
patch 8.2.3338: Vim9: no type check when assigning a list range
...
Problem: Vim9: no type check when assigning a list range. (Naohiro Ono)
Solution: Check the member type. (closes #8750 )
v8.2.3338
2021-08-13 18:20:09 +02:00
Bram Moolenaar
069f90852f
patch 8.2.3337: completing "call g:" returns entries with just "g:"
...
Problem: Completing "call g:" returns entries with just "g:". (Naohiro Ono)
Solution: Skip empty strings returned by get_user_func_name(). (closes #8753 )
v8.2.3337
2021-08-13 17:48:25 +02:00
Bram Moolenaar
92f05f21af
patch 8.2.3336: behavior of negative index in list change changed
...
Problem: Behavior of negative index in list change changed. (Naruhiko
Nishino)
Solution: Only change it for Vim9 script. (closes #8749 )
v8.2.3336
2021-08-12 21:12:56 +02:00
Bram Moolenaar
ef98257593
patch 8.2.3335: Vim9: not enough tests run with Vim9
...
Problem: Vim9: not enough tests run with Vim9.
Solution: Run a few more tests in Vim9 script and :def function. Fix that
items(), keys() and values9) return zero for a NULL dict.
Make join() return an empty string for a NULL list. Make sort()
return an empty list for a NULL list.
v8.2.3335
2021-08-12 19:27:57 +02:00
Bram Moolenaar
bd77aa9274
patch 8.2.3334: Vim9: not enough tests run with Vim9
...
Problem: Vim9: not enough tests run with Vim9.
Solution: Run a few more tests in Vim9 script and :def function. Fix
islocked(). Fix error for locking local variable.
v8.2.3334
2021-08-12 17:06:05 +02:00
Bram Moolenaar
3e9c0b9608
patch 8.2.3333: Vim9: not enough tests run with Vim9
...
Problem: Vim9: not enough tests run with Vim9.
Solution: Run a few more tests in Vim9 script and :def function.
v8.2.3333
2021-08-12 10:39:10 +02:00
Bram Moolenaar
4f0884d6e2
patch 8.2.3332: Vim9: cannot assign to range in list
...
Problem: Vim9: cannot assign to range in list.
Solution: Implement overwriting a list range.
v8.2.3332
2021-08-11 21:49:23 +02:00
Bram Moolenaar
ed7cb2df35
patch 8.2.3331: Coverity warns for using value without boundary check
...
Problem: Coverity warns for using value without boundary check.
Solution: Add a boundary check.
v8.2.3331
2021-08-11 17:13:54 +02:00
Bram Moolenaar
7deb4115ef
patch 8.2.3330: Coverity reports using uninitialized field
...
Problem: Coverity reports using uninitialized field.
Solution: Initialize the field early.
v8.2.3330
2021-08-11 17:01:45 +02:00
Bram Moolenaar
16e63e6d35
patch 8.2.3329: v_lock not set when getting value of environment variable
...
Problem: v_lock not set when getting value of environment variable.
Solution: Set v_lock to zero.
v8.2.3329
2021-08-11 16:47:26 +02:00
Bram Moolenaar
b85d3627d9
patch 8.2.3328: Coverity error for not checking return value
...
Problem: Coverity error for not checking return value.
Solution: Check value is not negative.
v8.2.3328
2021-08-11 15:54:59 +02:00
Zdenek Dohnal
ba9c23e776
patch 8.2.3327: no check for sysconf() failing
...
Problem: No check for sysconf() failing.
Solution: If sysconf() fails use SIGSTKSZ for the signal stack size.
(Zdenek Dohnal, closes #8743 )
v8.2.3327
2021-08-11 14:20:05 +02:00
Bram Moolenaar
6e48b84c5f
patch 8.2.3326: Vim9: no error passing an empty list of the wrong type
...
Problem: Vim9: no error passing an empty list of the wrong type.
Solution: Use ISN_SETTYPE also for "list<any>". (closes #8732 )
v8.2.3326
2021-08-10 22:52:02 +02:00
Bram Moolenaar
52eb372a04
patch 8.2.3325: digraph test fails when LC_ALL is set to "C"
...
Problem: Digraph test fails when LC_ALL is set to "C".
Solution: When restoring 'encoding' set it to "utf-8". (closes #8742 )
v8.2.3325
2021-08-10 21:39:20 +02:00
Bram Moolenaar
917c46abe5
patch 8.2.3324: Vim9: Cannot use :silent with :endwhile
...
Problem: Vim9: Cannot use :silent with :endwhile.
Solution: Allow for using the :silent modifier. (closes #8737 )
v8.2.3324
2021-08-10 19:53:01 +02:00
Bram Moolenaar
b6f55bb5b4
patch 8.2.3323: Vim9: Cannot use :silent with :endwhile
...
Problem: Vim9: Cannot use :silent with :endwhile.
Solution: Allow for using the :silent modifier. (closes #8737 )
v8.2.3323
2021-08-10 10:23:27 +02:00
Bram Moolenaar
b56c4419d4
patch 8.2.3322: Vim9: checking type of dict does not check member type
...
Problem: Vim9: checking type of dict does not check member type.
Solution: When getting the type of a typval use dv_type and lv_type.
(closes #8732 )
v8.2.3322
2021-08-09 22:22:27 +02:00
Dominique Pelle
bd9e796125
patch 8.2.3321: some code is not tested
...
Problem: Some code is not tested.
Solution: Add some more tests. (Dominique Pellé, closes #8735 )
v8.2.3321
2021-08-09 21:04:44 +02:00
Yegappan Lakshmanan
8ee52affe7
patch 8.2.3320: some local functions are not static
...
Problem: Some local functions are not static.
Solution: Add "static". Move snprintf() related code to strings.c.
(Yegappan Lakshmanan, closes #8734 )
v8.2.3320
2021-08-09 19:59:06 +02:00
James McCoy
eed9616120
patch 8.2.3319: Coverity action on github does not work
...
Problem: Coverity action on github does not work.
Solution: Remove undefined $SRCDIR. (James McCoy, closes #8739 )
v8.2.3319
2021-08-09 13:20:38 +02:00
Bram Moolenaar
ed8b099fd2
patch 8.2.3318: Vim9: cannot ignore quotes in number at the command line
...
Problem: Vim9: cannot ignore quotes in number at the command line.
Solution: Use in_vim9script() so that after ":vim9" quotes are ignored.
v8.2.3318
2021-08-08 19:56:28 +02:00
Bram Moolenaar
33ea9fd4d8
patch 8.2.3317: Vim9: No error for missing white space before return type
...
Problem: Vim9: No error for missing white space before return type.
Solution: Check for white space. (closes #8733 )
v8.2.3317
2021-08-08 19:07:37 +02:00
Bram Moolenaar
80a070c361
patch 8.2.3316: float test fails
...
Problem: Float test fails.
Solution: Add missing change.
v8.2.3316
2021-08-08 15:51:10 +02:00
Bram Moolenaar
2950065e18
patch 8.2.3315: cannot use single quote in a float number for readability
...
Problem: Cannot use single quote in a float number for readability.
Solution: Support single quotes like in numbers. (closes #8713 )
v8.2.3315
2021-08-08 15:43:34 +02:00
Bram Moolenaar
267359902c
patch 8.2.3314: behavior of exists() in a :def function is unpredictable
...
Problem: Behavior of exists() in a :def function is unpredictable.
Solution: Add exists_compiled().
v8.2.3314
2021-08-08 14:43:22 +02:00
gmntroll
9e2fa4bb9e
patch 8.2.3313: unused code in win_exchange() and frame_remove()
...
Problem: Unused code in win_exchange() and frame_remove().
Solution: Remove the code. (closes #8728 )
v8.2.3313
2021-08-07 22:35:52 +02:00
Bram Moolenaar
e525bdda3a
patch 8.2.3312: Vim9: after "if false" line breaks in expression not skipped
...
Problem: Vim9: after "if false" line breaks in expression not skipped.
Solution: Do parse the expression. (closes #8723 )
v8.2.3312
2021-08-07 18:12:40 +02:00
Bram Moolenaar
dae453f339
patch 8.2.3311: Vim9: check for DO_NOT_FREE_CNT is very slow
...
Problem: Vim9: check for DO_NOT_FREE_CNT is very slow.
Solution: Move to a separate function so it can be skipped by setting
$TEST_SKIP_PAT.
v8.2.3311
2021-08-07 17:20:16 +02:00
Bram Moolenaar
4270d8b762
patch 8.2.3310: Vim9: unpack assignment does not mention source of type error
...
Problem: Vim9: unpack assignment does not mention source of type error.
Solution: Mention the argument number. (closes #8719 )
v8.2.3310
2021-08-07 16:30:42 +02:00
Bram Moolenaar
fbeefb1b87
patch 8.2.3309: Vim9: divide by zero causes a crash
...
Problem: Vim9: divide by zero causes a crash.
Solution: Give an error message. (closes #8727 )
v8.2.3309
2021-08-07 15:50:23 +02:00
Bram Moolenaar
6ce46b9963
patch 8.2.3308: Vim9: no runtime check for argument type with varargs only
...
Problem: Vim9: no runtime check for argument type if a function only has
varargs.
Solution: Also check argument types if uf_va_type is set. (closes #8715 )
v8.2.3308
2021-08-07 15:35:36 +02:00
Bram Moolenaar
7de6262373
patch 8.2.3307: Vim9: :echoconsole cannot access local variables
...
Problem: Vim9: :echoconsole cannot access local variables.
Solution: Handle like other :echo commands. (closes #8708 )
v8.2.3307
2021-08-07 15:05:47 +02:00
Bram Moolenaar
1b154ea121
patch 8.2.3306: unexpected "No matching autocommands"
...
Problem: Unexpected "No matching autocommands".
Solution: Do not give the message when aborting. Mention the arguments in
the message. (closes #8690 )
v8.2.3306
2021-08-07 13:59:43 +02:00
rbtnn
8493499880
patch 8.2.3305: Vim9: :finally in skipped block not handled correctly
...
Problem: Vim9: :finally in skipped block not handled correctly.
Solution: Check whether :finally is in a skipped block. (Naruhiko Nishino,
closes #8724 )
v8.2.3305
2021-08-07 13:26:53 +02:00
rbtnn
c611941c60
patch 8.2.3304: popup window title with wide characters is truncated
...
Problem: Popup window title with wide characters is truncated.
Solution: Use vim_strsize() instead of MB_CHARLEN(). (Naruhiko Nishino,
closes #8721 )
v8.2.3304
2021-08-07 13:08:45 +02:00
Dominique Pelle
3276f5846f
patch 8.2.3303: some structures could be smaller
...
Problem: Some structures could be smaller.
Solution: Rearrange members to reduce size. (Dominique Pellé, closes #8725 )
v8.2.3303
2021-08-07 12:44:41 +02:00
Bram Moolenaar
d57a6bd98c
patch 8.2.3302: Coverity is not run from github
...
Problem: Coverity is not run from github.
Solution: Add a coverity script. (James McCoy, closes #8714 )
v8.2.3302
2021-08-07 12:32:20 +02:00
Yegappan Lakshmanan
cbae580283
patch 8.2.3301: memory allocation functions don't have their own place
...
Problem: Memory allocation functions don't have their own place.
Solution: Move memory allocation functions to alloc.c. (Yegappan
Lakshmanan, closes #8717 )
v8.2.3301
2021-08-06 21:51:55 +02:00
Yegappan Lakshmanan
11328bc7df
patch 8.2.3300: Lua: can only execute on Vim command at a time
...
Problem: Lua: can only execute on Vim command at a time. Not easy to get
the Vim version.
Solution: Make vim.command() accept multiple lines. Add vim.version().
(Yegappan Lakshmanan, closes #8716 )
v8.2.3300
2021-08-06 21:34:38 +02:00
Bram Moolenaar
5671f3f076
patch 8.2.3299: Vim9: exists() does not handle much at compile time
...
Problem: Vim9: exists() does not handle much at compile time.
Solution: Handle variable names. (closes #8688 )
v8.2.3299
2021-08-05 22:48:11 +02:00
Bram Moolenaar
6f6d58c380
patch 8.2.3298: build failure with small features
...
Problem: Build failure with small features.
Solution: Add #ifdef.
v8.2.3298
2021-08-05 21:17:32 +02:00