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
Bram Moolenaar
b5841b99e6
patch 8.2.3166: Vim9: nested autoload call error overruled by "Unknown error"
...
Problem: Vim9: nested autoload call error overruled by "Unknown error".
Solution: Check need_rethrow before giving an "Unknown error".
(closes #8568 )
v8.2.3166
2021-07-15 18:09:53 +02:00
Bram Moolenaar
9e60e899ee
patch 8.2.3165: Vim9: in a || expression the error line number may be wrong
...
Problem: Vim9: in a || expression the error line number may be wrong.
Solution: Save and restore the line number when checking the type.
(closes #8569 )
v8.2.3165
2021-07-15 15:40:58 +02:00
Bram Moolenaar
0894e0d808
patch 8.2.3164: MS-Windows: reported version lacks patchlevel
...
Problem: MS-Windows: reported version lacks patchlevel, causing some update
tools to update too often. (Klaus Frank)
Solution: Add the patchlevel to the version. (Christian Brabandt)
v8.2.3164
2021-07-15 14:14:30 +02:00
Wei-Chung Wen
1557b16dad
patch 8.2.3163: location list window may open a wrong file
...
Problem: Location list window may open a wrong file.
Solution: Also update the qf_ptr field. (Wei-Chung Wen, closes #8565 ,
closes #8566 )
v8.2.3163
2021-07-15 13:13:39 +02:00
Yegappan Lakshmanan
1a71d31bf3
patch 8.2.3162: 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 #8560 )
v8.2.3162
2021-07-15 12:49:58 +02:00
Bram Moolenaar
c816a2c226
patch 8.2.3161: Vim9: no error when reltime() has invalid arguments
...
Problem: Vim9: no error when reltime() has invalid arguments.
Solution: Add an error. (closes #8562 )
v8.2.3161
2021-07-14 21:00:41 +02:00
Christian Brabandt
4a0b85ad01
patch 8.2.3160: 'breakindent' does not work well for bulleted lists
...
Problem: 'breakindent' does not work well for bulleted and numbered lists.
Solution: Add the "list" entry to 'breakindentopt'. (Christian Brabandt,
closes #8564 , closes #1661 )
v8.2.3160
2021-07-14 20:00:27 +02:00
Bram Moolenaar
5bea41dea3
patch 8.2.3159: cursor displayed in wrong position after deleting line
...
Problem: Cursor displayed in wrong position after deleting line.
Solution: When deleting lines do not approximate botline. (fixes #8559 )
v8.2.3159
2021-07-13 22:21:44 +02:00
Bram Moolenaar
1840a7b4e3
patch 8.2.3158: strange error message when using islocked() with a number
...
Problem: Strange error message when using islocked() with a number.
(Yegappan Lakshmanan)
Solution: Check that the name is empty.
v8.2.3158
2021-07-13 20:32:29 +02:00
Christian Brabandt
16e26a3116
patch 8.2.3157: crypt test may fail on MS-Windows
...
Problem: Crypt test may fail on MS-Windows.
Solution: Ignore "[unix]" in the file message. (Christian Brabandt,
closes #8561 )
v8.2.3157
2021-07-13 19:09:12 +02:00
Dominique Pelle
ee41052ccb
patch 8.2.3156: Vim9: term_getansicolors() test fails without +termguicolors
...
Problem: Vim9: term_getansicolors() test fails without +termguicolors.
Solution: Add a check for the feature. (Dominique Pellé, closes #8555 )
v8.2.3156
2021-07-12 22:15:24 +02:00
Dominique Pelle
042414fa00
patch 8.2.3155: some option related code not covered by tests
...
Problem: Some option related code not covered by tests.
Solution: Add a few test cases. (Dominique Pellé, closes #8552 )
v8.2.3155
2021-07-12 21:43:19 +02:00
Yegappan Lakshmanan
841e498c5d
patch 8.2.3154: Vim9: some type checks for builtin functions fail
...
Problem: Vim9: some type checks for builtin functions fail.
Solution: Correct the type checks. (Yegappan Lakshmanan, closes #8551 ,
closes #8550 )
v8.2.3154
2021-07-11 22:04:25 +02:00
Tsuyoshi CHO
7b7a118e74
patch 8.2.3153: URLs with a dash in the scheme are not recognized
...
Problem: URLs with a dash in the scheme are not recognized.
Solution: Allow for a scheme with a dash, but not at the start or end.
(Tsuyoshi CHO, closes #8299 )
v8.2.3153
2021-07-11 21:51:17 +02:00
Bram Moolenaar
11005b078d
patch 8.2.3152: Vim9: accessing "s:" results in an error
...
Problem: Vim9: accessing "s:" results in an error.
Solution: Do not try to lookup a script variable for "s:". (closes #8549 )
v8.2.3152
2021-07-11 20:59:00 +02:00
Bram Moolenaar
ffcfddc759
patch 8.2.3151: Vim9: profiling fails if nested function is also profiled
...
Problem: Vim9: profiling fails if nested function is also profiled.
Solution: Use the compile type from the outer function. (closes #8543 )
v8.2.3151
2021-07-11 20:22:30 +02:00
Yegappan Lakshmanan
c72bdd28ac
patch 8.2.3150: 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 #8545 )
v8.2.3150
2021-07-11 19:44:18 +02:00
Bram Moolenaar
cc7eb2aa7a
patch 8.2.3149: some plugins have a problem with the error check
...
Problem: Some plugins have a problem with the error check for using
:command with -complete but without -nargs.
Solution: In legacy script only give a warning message.
v8.2.3149
2021-07-11 19:12:04 +02:00