Bram Moolenaar
2eb6fc3b52
patch 8.2.3216: Vim9: crash when using variable in a loop at script level
...
Problem: Vim9: crash when using variable in a loop at script level.
Solution: Do not clear the variable if a function was defined.
Do not create a new entry in sn_var_vals every time.
(closes #8628 )
v8.2.3216
2021-07-25 14:13:53 +02:00
Yegappan Lakshmanan
5bca906b30
patch 8.2.3215: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks. Sort the argument lists.
(Yegappan Lakshmanan, closes #8626 )
v8.2.3215
2021-07-24 21:33:26 +02:00
Christian Brabandt
7d60384a00
patch 8.2.3214: MS-Windows: passing /D does not set the install location
...
Problem: MS-Windows: passing /D does not set the install location.
Solution: Adjust how the installer uses $VIM. Update the documentation.
(Christian Brabandt, closes #8605 )
v8.2.3214
2021-07-24 21:19:42 +02:00
Dominique Pelle
9c9472ff49
patch 8.2.3213: NOCOMPOUNDSUGS entry in spell file not tested
...
Problem: NOCOMPOUNDSUGS entry in spell file not tested.
Solution: Add a test. (Dominique Pellé, closes #8624 )
v8.2.3213
2021-07-24 20:51:13 +02:00
Dominique Pelle
5a9e5845e1
patch 8.2.3212: Vim9: execution speed can be improved
...
Problem: Vim9: execution speed can be improved.
Solution: Use __builtin_expect() to have the compiler produce better code.
(Dominique Pellé, closes #8613 )
v8.2.3212
2021-07-24 19:32:12 +02:00
Yegappan Lakshmanan
7973de35ba
patch 8.2.3211: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks. Fix type check for matchaddpos().
(Yegappan Lakshmanan, closes #8619 )
v8.2.3211
2021-07-24 16:16:15 +02:00
Bram Moolenaar
dd0b287c1e
patch 8.2.3210: Vim9: searchpair() sixth argument is compiled
...
Problem: Vim9: searchpair() sixth argument is compiled. (Yegappan
Lakshmanan)
Solution: Only compile the fifth argument.
v8.2.3210
2021-07-24 15:44:30 +02:00
Bram Moolenaar
88421d6dc8
patch 8.2.3209: Vim9: lambda doesn't find block-local variable
...
Problem: Vim9: lambda doesn't find block-local variable.
Solution: Adjust how a script-local variable is found. (closes #8614 )
v8.2.3209
2021-07-24 14:14:52 +02:00
Martin Tournoij
1a3e5747b7
patch 8.2.3208: dynamic library load error does not mention why it failed
...
Problem: Dynamic library load error does not mention why it failed.
Solution: Add the error message. (Martin Tournoij, closes #8621 )
v8.2.3208
2021-07-24 13:57:29 +02:00
Bram Moolenaar
5a234eb18e
patch 8.2.3207: Vim9: crash when compiling string fails
...
Problem: Vim9: crash when compiling string fails. (Yegappan Lakshmanan)
Solution: Adjust the type stack length.
v8.2.3207
2021-07-24 13:18:48 +02:00
Yegappan Lakshmanan
0ad871dc4d
patch 8.2.3206: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8611 )
v8.2.3206
2021-07-23 20:37:56 +02:00
Bram Moolenaar
1b862c466b
patch 8.2.3205: Coverity reports a null pointer dereference
...
Problem: Coverity reports a null pointer dereference.
Solution: Change the logic to avoid Coverity gets confused.
v8.2.3205
2021-07-23 19:30:19 +02:00
Bram Moolenaar
c9e7e344ed
patch 8.2.3204: display garbled when 'cursorline' is set and lines wrap
...
Problem: Display garbled when 'cursorline' is set and lines wrap. (Gabriel
Dupras)
Solution: Avoid inserting lines twice.
v8.2.3204
2021-07-22 21:33:03 +02:00
Bram Moolenaar
cd268017cf
patch 8.2.3203: Vim9: compiled string expression causes type error
...
Problem: Vim9: compiled string expression causes type error. (Yegappan
Lakshmanan)
Solution: Remove the string type from the stack.
v8.2.3203
2021-07-22 19:11:08 +02:00
Bram Moolenaar
5dd839ce20
patch 8.2.3202: Vim9: tests are only executed for legacy script
...
Problem: Vim9: tests are only executed for legacy script.
Solution: Run more tests also for Vim9 script. Fix uncovered problems.
v8.2.3202
2021-07-22 18:48:53 +02:00
Bram Moolenaar
2b59df00d8
patch 8.2.3201: crash in test
...
Problem: Crash in test.
Solution: Initialize "where".
v8.2.3201
2021-07-22 15:14:25 +02:00
Bram Moolenaar
7a3fe3e180
patch 8.2.3200: Vim9: hard to guess where a type error is given
...
Problem: Vim9: hard to guess where a type error is given.
Solution: Add the function name where possible. (closes #8608 )
v8.2.3200
2021-07-22 14:58:47 +02:00
Bram Moolenaar
a74901929e
patch 8.2.3199: Vim9: execution speed can be improved
...
Problem: Vim9: execution speed can be improved.
Solution: Make the break counter static.
v8.2.3199
2021-07-22 12:26:14 +02:00
Maxim Kim
f674b358fc
patch 8.2.3198: cannot use 'formatlistpat' for breakindent
...
Problem: Cannot use 'formatlistpat' for breakindent.
Solution: Use a negative list indent. (Maxim Kim, closes #8594 )
v8.2.3198
2021-07-22 11:46:59 +02:00
Bram Moolenaar
d8e44476d8
patch 8.2.3197: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move a few more error messages to errors.h.
v8.2.3197
2021-07-21 22:20:33 +02:00
Bram Moolenaar
05bd9785fd
patch 8.2.3196: Vim9: bool expression with numbers only fails at runtime
...
Problem: Vim9: bool expression with numbers only fails at runtime.
Solution: Check constant to be bool at compile time. (closes #8603 )
v8.2.3196
2021-07-21 21:37:28 +02:00
Bram Moolenaar
c4c5642513
patch 8.2.3195: Vim9: unclear error when passing too many arguments to lambda
...
Problem: Vim9: unclear error when passing too many arguments to lambda.
Solution: Pass the expression itself instead of "[expression]".
(closes #8604 )
v8.2.3195
2021-07-21 20:38:46 +02:00
Yegappan Lakshmanan
cd9172077b
patch 8.2.3194: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks, simplify some. (Yegappan
Lakshmanan, closes #8598 )
v8.2.3194
2021-07-21 19:09:09 +02:00
Bram Moolenaar
189663bdac
patch 8.2.3193: screenpos() is wrong when 'display' is "lastline"
...
Problem: screenpos() is wrong when the last line is partially visible and
'display' is "lastline".
Solution: Also compute the position for a partially visible line.
(closes #8599 )
v8.2.3193
2021-07-21 18:04:56 +02:00
Bram Moolenaar
11d7e62f1d
patch 8.2.3192: build failure with small version
...
Problem: Build failure with small version (Tony Mechelynck).
Solution: Remove stray #ifdef.
v8.2.3192
2021-07-20 22:29:19 +02:00
Bram Moolenaar
63cb6567f0
patch 8.2.3191: Vim9: not enough code is tested
...
Problem: Vim9: not enough code is tested.
Solution: Use CheckLegacyAndVim9Success() in more places. Fix uncovered
problems.
v8.2.3191
2021-07-20 22:21:59 +02:00
Bram Moolenaar
e29a27f6f8
patch 8.2.3190: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move error messages to errors.h and give them a clear name.
v8.2.3190
2021-07-20 21:07:36 +02:00
Bram Moolenaar
9fa5dabedc
patch 8.2.3189: Vim9: error when using "try|"
...
Problem: Vim9: error when using "try|".
Solution: Allow for "|" right after a command.
v8.2.3189
2021-07-20 19:18:44 +02:00
Yegappan Lakshmanan
83494b4ac6
patch 8.2.3188: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks, also at runtime. (Yegappan
Lakshmanan, closes #8587 )
v8.2.3188
2021-07-20 17:51:51 +02:00
Bram Moolenaar
9bb0dad0d8
patch 8.2.3187: Vim9: popup timer callback is not compiled
...
Problem: Vim9: popup timer callback is not compiled.
Solution: Compile the callback when creating the timer.
v8.2.3187
2021-07-19 22:19:29 +02:00
Bram Moolenaar
605793500b
patch 8.2.3186: Vim9: not all failures for import tested
...
Problem: Vim9: not all failures for import tested
Solution: Test more import failures
v8.2.3186
2021-07-19 21:45:07 +02:00
Bram Moolenaar
ac2cd2b08f
patch 8.2.3185: Vim9: start of inline function found in comment line
...
Problem: Vim9: start of inline function found in comment line.
Solution: Do not check for inline function in comment line. (closes #8589 )
v8.2.3185
2021-07-19 21:04:23 +02:00
mityu
6106504e9e
patch 8.2.3184: cannot add a digraph with a leading space
...
Problem: Cannot add a digraph with a leading space. It is not easy to list
existing digraphs.
Solution: Add setdigraph(), setdigraphlist(), getdigraph() and
getdigraphlist(). (closes #8580 )
v8.2.3184
2021-07-19 20:07:21 +02:00
Bram Moolenaar
98c2eaed27
patch 8.2.3183: duplicate error numbers
...
Problem: Duplicate error numbers.
Solution: Adjust the error numbers.
v8.2.3183
2021-07-19 10:38:49 +02:00
Bram Moolenaar
885971e2f5
patch 8.2.3182: Vim9: crash when using removing items from a constant list
...
Problem: Vim9: crash when using removing items from a constant list.
(Yegappan Lakshmanan)
Solution: When a list was allocated with items copy them.
v8.2.3182
2021-07-18 22:25:29 +02:00
Dominique Pelle
9ff9c7b974
patch 8.2.3181: Vim9: builtin function test fails without channel feature
...
Problem: Vim9: builtin function test fails without channel feature.
Solution: Add feature checks. (Dominique Pellé, closes #8586 ) Make feature
checks more consistent.
v8.2.3181
2021-07-18 21:44:37 +02:00
Bram Moolenaar
f6488547e3
patch 8.2.3180: Vim9: memory leak when concatenating to an imported string
...
Problem: Vim9: memory leak when concatenating to an imported string.
Solution: Clear the destination.
v8.2.3180
2021-07-18 21:24:50 +02:00
Bram Moolenaar
24e9316560
patch 8.2.3179: Vim9: cannot assign to an imported variable at script level
...
Problem: Vim9: cannot assign to an imported variable at script level.
Solution: Lookup imported items when assigning.
v8.2.3179
2021-07-18 20:40:33 +02:00
Bram Moolenaar
4db572eeb2
patch 8.2.3178: Vim9: the file name of an :import cannot be an expression
...
Problem: Vim9: the file name of an :import cannot be an expression.
Solution: Accept an expression that results in a string. Do not support
:import in a function.
v8.2.3178
2021-07-18 18:21:38 +02:00
Bram Moolenaar
ad2d4969e1
patch 8.2.3177: Vim9: can not use "for _ in expr" at script level
...
Problem: Vim9: can not use "for _ in expr" at script level.
Solution: Skip assignment if the loop variable is "_".
v8.2.3177
2021-07-18 17:08:50 +02:00
Bram Moolenaar
0c35752d04
patch 8.2.3176: Vim9: no type error for comparing number with string
...
Problem: Vim9: no type error for comparing number with string.
Solution: Add a runtime type check. (closes #8571 )
v8.2.3176
2021-07-18 14:43:43 +02:00
Bram Moolenaar
c6ba2f9dde
patch 8.2.3175: Vim9: using illegal pointer with nested lambdas.
...
Problem: Vim9: using illegal pointer with inline function inside a lambda.
Solution: Clear eval_tofree_cmdline when advancing to the next line.
(closes #8578 )
v8.2.3175
2021-07-18 13:42:29 +02:00
Bram Moolenaar
47bc9c3337
patch 8.2.3174: Vim9: "legacy undo" finds "undo" variable
...
Problem: Vim9: "legacy undo" finds "undo" variable.
Solution: Do not pass lookup function to find_ex_command(). (closes #8563 )
v8.2.3174
2021-07-17 21:24:56 +02:00
Yegappan Lakshmanan
a9a7c0c602
patch 8.2.3173: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add more type checks. (Yegappan Lakshmanan, closes #8581 )
v8.2.3173
2021-07-17 19:11:07 +02:00
Bram Moolenaar
20c370d9f2
patch 8.2.3172: MzScheme test fails
...
Problem: MzScheme test fails. (Christian Brabandt)
Solution: Correct function name.
v8.2.3172
2021-07-16 10:39:28 +02:00
Bram Moolenaar
f5f1b59d3b
patch 8.2.3171: another illegal memory access in test
...
Problem: Another illegal memory access in test.
Solution: Check pointer is after the start of the line.
v8.2.3171
2021-07-15 23:44:54 +02:00
Bram Moolenaar
d8cee76b49
patch 8.2.3170: Illegal memory access in test
...
Problem: Illegal memory access in test.
Solution: Check pointer is not before the start of the line.
v8.2.3170
2021-07-15 23:15:59 +02:00
Bram Moolenaar
5245beb37c
patch 8.2.3169: Vim9: cannot handle nested inline function
...
Problem: Vim9: cannot handle nested inline function.
Solution: Check for nested inline function. (closes #8575 )
v8.2.3169
2021-07-15 22:03:50 +02:00
Bram Moolenaar
378697ac58
patch 8.2.3168: Vim9: type error for constant of type any
...
Problem: Vim9: type error for constant of type any.
Solution: Do add a runtime type check if a constant has type any.
(closes #8570 )
v8.2.3168
2021-07-15 19:23:18 +02:00
Bram Moolenaar
547f94f330
patch 8.2.3167: get E12 in a job callback when searching for tags
...
Problem: Get E12 in a job callback when searching for tags. (Andy Stewart)
Solution: Use the sandbox only for executing a command, not for searching.
(closes #8511 )
v8.2.3167
2021-07-15 18:14:56 +02:00