Bram Moolenaar
85773bf32b
patch 8.2.2368: insufficient tests for setting options
...
Problem: Insufficient tests for setting options.
Solution: Add a few tests. (Dominique Pellé, closes #7695 )
v8.2.2368
2021-01-17 13:48:03 +01:00
Bram Moolenaar
239f8d9326
patch 8.2.2367: test failures on some less often used systems
...
Problem: Test failures on some less often used systems.
Solution: Adjust printf formats and types. (James McCoy, closes #7691 )
v8.2.2367
2021-01-17 13:21:20 +01:00
Bram Moolenaar
e2edc2ed4a
patch 8.2.2366: when using ":sleep" the cursor is always displayed
...
Problem: When using ":sleep" the cursor is always displayed.
Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner,
closes #7688 )
v8.2.2366
2021-01-16 20:21:23 +01:00
Bram Moolenaar
70250fb4d2
patch 8.2.2365: Vim9: no check for map() changing item type at script level
...
Problem: Vim9: no check for map() changing item type at script level.
Solution: Check the new value type.
v8.2.2365
2021-01-16 19:01:53 +01:00
Bram Moolenaar
f898f7c68d
patch 8.2.2364: Vim9: line break in lambda accesses freed memory
...
Problem: Vim9: line break in lambda accesses freed memory.
Solution: Make a copy of the return type. (closes #7664 )
v8.2.2364
2021-01-16 18:09:52 +01:00
Bram Moolenaar
9ebcf231bd
patch 8.2.2363: curpos() does not accept a string argument as before
...
Problem: curpos() does not accept a string argument as before.
solution: Make a string argument work again. (Yegappan Lakshmanan,
closes #7690
v8.2.2363
2021-01-16 16:52:49 +01:00
Bram Moolenaar
351ead09dd
patch 8.2.2362: Vim9: check of builtin function argument type is incomplete
...
Problem: Vim9: check of builtin function argument type is incomplete.
Solution: Use need_type() instead of check_arg_type().
v8.2.2362
2021-01-16 16:07:01 +01:00
Bram Moolenaar
7c886db915
patch 8.2.2361: Vim9: no highlight for "s///gc" when using 'opfunc'
...
Problem: Vim9: no highlight for "s///gc" when using 'opfunc'.
Solution: Reset 'lazyredraw' temporarily. (closes #7687 )
v8.2.2361
2021-01-16 14:34:45 +01:00
Bram Moolenaar
a3b494d6af
patch 8.2.2360: test leaves file behind
...
Problem: Test leaves file behind.
Solution: Delete the right file. (Dominique Pellé, closes #7689 )
v8.2.2360
2021-01-16 13:43:31 +01:00
Bram Moolenaar
e2924328c1
patch 8.2.2359: strange test failure with MS-Windows
...
Problem: Strange test failure with MS-Windows.
Solution: Skip the system() call for now.
v8.2.2359
2021-01-16 13:11:42 +01:00
Bram Moolenaar
bf78974ca4
patch 8.2.2358: wrong #ifdef for use_xterm_like_mouse()
...
Problem: Wrong #ifdef for use_xterm_like_mouse().
Solution: Use FEAT_MOUSE_XTERM.
v8.2.2358
2021-01-16 11:21:40 +01:00
Bram Moolenaar
648ea76e1d
patch 8.2.2357: Vim9: crash when parsing function return type fails
...
Problem: Vim9: crash when parsing function return type fails.
Solution: Bail out and set return type to "unknown". (closes #7685 )
v8.2.2357
2021-01-15 19:04:32 +01:00
Bram Moolenaar
883cf97f10
patch 8.2.2356: Vim9: ":put =expr" does not handle a list properly
...
Problem: Vim9: ":put =expr" does not handle a list properly.
Solution: Use the same logic as eval_to_string_eap(). (closes #7684 )
v8.2.2356
2021-01-15 18:04:43 +01:00
Bram Moolenaar
97c6943e11
patch 8.2.2355: stray test failure on Appveyor
...
Problem: Stray test failure on Appveyor.
Solution: Finish insert command.
v8.2.2355
2021-01-15 16:45:21 +01:00
Bram Moolenaar
797e63b9f2
patch 8.2.2354: crash with a weird combination of autocommands
...
Problem: Crash with a weird combination of autocommands.
Solution: Increment b_nwindows when needed. (closes #7674 )
v8.2.2354
2021-01-15 16:22:52 +01:00
Bram Moolenaar
17d015b243
patch 8.2.2353: spartql files are not detected
...
Problem: Spartql files are not detected.
Solution: Add the sparql filetype. (closes #7679 )
v8.2.2353
2021-01-15 13:35:30 +01:00
Bram Moolenaar
d44cc593ce
patch 8.2.2352: if focus lost/gained is received twice code is not ignored
...
Problem: If the focus lost/gained escape sequence is received twice it is
not ignored. (Christ van Willigen)
Solution: Adjust the logic to ignore the escape code.
v8.2.2352
2021-01-14 21:57:58 +01:00
Bram Moolenaar
8f81b22e86
patch 8.2.2351: Vim9: error msg for "throw" in function called with "silent!"
...
Problem: Vim9: error message for "throw" in function that was called with
"silent!".
Solution: Do not throw the exception when not caught or displayed.
(closes #7672 )
v8.2.2351
2021-01-14 21:47:06 +01:00
Bram Moolenaar
033135eb8e
patch 8.2.2350: using "void" for no reason
...
Problem: Using "void" for no reason.
Solution: Use "char *".
v8.2.2350
2021-01-14 21:40:22 +01:00
Bram Moolenaar
2415669348
patch 8.2.2349: Vim9: cannot handle line break after parenthesis at line end
...
Problem: Vim9: cannot handle line break after parenthesis at line end.
Solution: Skip over line break. (closes #7677 )
v8.2.2349
2021-01-14 20:35:49 +01:00
Bram Moolenaar
fadd55bd63
patch 8.2.2348: no check for modified files after focus gained
...
Problem: No check for modified files after focus gained. (Mathias Stearn)
Solution: Call ui_focus_change().
v8.2.2348
2021-01-14 19:19:18 +01:00
Bram Moolenaar
e1ee58ac78
patch 8.2.2347: build failure without GUI
...
Problem: Build failure without GUI.
Solution: Add #ifdef.
v8.2.2347
2021-01-14 19:04:44 +01:00
Bram Moolenaar
845b72854d
patch 8.2.2346: Codecov reports every little coverage drop
...
Problem: Codecov reports every little coverage drop.
Solution: Tolerate a 0.05% drop. Hide the appveyor config file. (Ozaki
Kiichi, closes #7678 )
v8.2.2346
2021-01-14 17:55:59 +01:00
Bram Moolenaar
681fc3fa78
patch 8.2.2345: no focus events in a terminal
...
Problem: No focus events in a terminal.
Solution: Add the t_fd and t_fe termcap entries and implement detecting
focus events. (Hayaki Saito, Magnus Groß, closes #7673 ,
closes #609 , closes #5526 )
v8.2.2345
2021-01-14 17:35:21 +01:00
Bram Moolenaar
6601b62943
patch 8.2.2344: using inclusive index for slice is not always desired
...
Problem: Using inclusive index for slice is not always desired.
Solution: Add the slice() method, which has an exclusive index. (closes
#7408 )
v8.2.2344
2021-01-13 21:47:15 +01:00
Bram Moolenaar
c423ad77ed
patch 8.2.2343: Vim9: return type of readfile() is any
...
Problem: Vim9: return type of readfile() is any.
Solution: Add readblob() so that readfile() can be expected to always
return a list of strings. (closes #7671 )
v8.2.2343
2021-01-13 20:38:03 +01:00
Bram Moolenaar
9145846b6a
patch 8.2.2342: "char" functions may return wrong column in Insert mode
...
Problem: "char" functions return the wront column in Insert mode when the
cursor is beyond the end of the line.
Solution: Compute the column correctly. (Yegappan Lakshmanan, closes #7669 )
v8.2.2342
2021-01-13 20:08:38 +01:00
Bram Moolenaar
1bb4de5302
patch 8.2.2341: expresison command line completion incomplete after "g:"
...
Problem: Expresison command line completion shows variables but not
functions after "g:". (Gary Johnson)
Solution: Prefix "g:" when needed to a global function.
v8.2.2341
2021-01-13 19:48:46 +01:00
Bram Moolenaar
37487e16da
patch 8.2.2340: win_execute() unexpectedly returns number zero when failing
...
Problem: win_execute() unexpectedly returns number zero when failing.
Solution: Return an empty string. (closes #7665 )
v8.2.2340
2021-01-12 22:08:53 +01:00
Bram Moolenaar
a47e05f04a
patch 8.2.2339: cannot get the type of a value as a string
...
Problem: Cannot get the type of a value as a string.
Solution: Add typename().
v8.2.2339
2021-01-12 21:49:00 +01:00
Bram Moolenaar
64ed4d4398
patch 8.2.2338: Vim9: no error if using job_info() result wrongly
...
Problem: Vim9: no error if using job_info() result wrongly.
Solution: Adjust return type on number of arguments. (closes #7667 )
v8.2.2338
2021-01-12 21:22:31 +01:00
Bram Moolenaar
67876de7bb
patch 8.2.2337: configure test for GTK only says "no"
...
Problem: Configure test for GTK only says "no". (Harm te Hennepe)
Solution: Hint that a -def package is needed. (closes #5229 )
v8.2.2337
2021-01-12 20:51:24 +01:00
Bram Moolenaar
b0e6b51364
patch 8.2.2336: Vim9: not possible to extend dictionary with different type
...
Problem: Vim9: it is not possible to extend a dictionary with different
item types.
Solution: Add extendnew(). (closes #7666 )
v8.2.2336
2021-01-12 20:23:40 +01:00
Bram Moolenaar
7cd24227c0
patch 8.2.2335: Vim9: "silent return" does not restore command modifiers
...
Problem: Vim9: "silent return" does not restore command modifiers.
Solution: Resture command modifiers before returning. (closes #7649 )
v8.2.2335
2021-01-12 18:58:39 +01:00
Bram Moolenaar
a0122dcd1c
patch 8.2.2334: Pascal-like filetypes not always detected
...
Problem: Pascal-like filetypes not always detected.
Solution: Improved Puppet, InstantFPC and Pascal detection. (Doug Kearns,
closes #7662 )
v8.2.2334
2021-01-12 17:42:24 +01:00
Bram Moolenaar
cb6cbf29e9
patch 8.2.2333: Vim9: warning for uninitialized variable
...
Problem: Vim9: warning for uninitialized variable. (Tony Mechelynck)
Solution: Initialize "res".
v8.2.2333
2021-01-12 17:17:01 +01:00
Bram Moolenaar
9567efa1b4
patch 8.2.2332: Vim9: missing :endif not reported when using :windo
...
Problem: Vim9: missing :endif not reported when using :windo.
Solution: Pass a getline function to do_cmdline(). (closes #7650 )
v8.2.2332
2021-01-11 22:16:30 +01:00
Bram Moolenaar
082517570d
patch 8.2.2331: Vim9: wrong error when modifying dict declared with :final
...
Problem: Vim9: wrong error when modifying dict declared with :final.
Solution: Do not check for writable variable when an index follows.
(closes #7657 )
v8.2.2331
2021-01-11 21:20:18 +01:00
Bram Moolenaar
9e1d9e3473
patch 8.2.2330: Vim9: crash when using :trow in a not executed block
...
Problem: Vim9: crash when using :trow in a not executed block.
Solution: Don't generate the instruction when skipping. (closes #7659 )
v8.2.2330
2021-01-11 20:17:34 +01:00
Bram Moolenaar
df4c9af7e7
patch 8.2.2329: not all ways Vim can be started are tested
...
Problem: Not all ways Vim can be started are tested.
Solution: Add a test for different program names. (Dominique Pellé,
closes #7651 )
v8.2.2329
2021-01-11 19:54:42 +01:00
Bram Moolenaar
82be4849ee
Update runtime files.
2021-01-11 19:40:15 +01:00
Bram Moolenaar
48e11c1054
patch 8.2.2328: some test files may not be deleted
...
Problem: Some test files may not be deleted.
Solution: Add a delete() call, correct name. (Dominique Pellé, closes #7654 )
v8.2.2328
2021-01-11 18:47:00 +01:00
Bram Moolenaar
16a6f91ccb
patch 8.2.2327: debugging code included
...
Problem: Debugging code included.
Solution: Remove the debugging code.
v8.2.2327
2021-01-10 23:58:28 +01:00
Bram Moolenaar
086ae06862
patch 8.2.2326: build error with +eval feature but without +spell
...
Problem: Build error with +eval feature but without +spell.
Solution: Adjust #ifdef. (John Marriott)
v8.2.2326
2021-01-10 22:56:36 +01:00
Bram Moolenaar
75ab91ff34
patch 8.2.2325: Vim9: crash if map() changes the item type
...
Problem: Vim9: crash if map() changes the item type.
Solution: Check that the item type is still OK. (closes #7652 )
Fix problem with mapnew() on range list.
v8.2.2325
2021-01-10 22:42:50 +01:00
Bram Moolenaar
6f02b00bb0
patch 8.2.2324: not easy to get mark en cursor posotion by character count
...
Problem: Not easy to get mark en cursor posotion by character count.
Solution: Add functions that use character index. (Yegappan Lakshmanan,
closes #7648 )
v8.2.2324
2021-01-10 20:22:54 +01:00
Bram Moolenaar
31a11b942a
patch 8.2.2323: Vim9: error when inferring type from empty dict/list
...
Problem: Vim9: error when inferring type from empty dict/list.
Solution: When the member is t_unknown use t_any. (closes #7009 )
v8.2.2323
2021-01-10 19:23:27 +01:00
Bram Moolenaar
0186e58639
patch 8.2.2322: Vim9: closure nested limiting to one level
...
Problem: Vim9: closure nested limiting to one level.
Solution: Add outer_T. Also make STOREOUTER work.
v8.2.2322
2021-01-10 18:33:11 +01:00
Bram Moolenaar
ab360526ef
patch 8.2.2321: Vim9: cannot nest closures
...
Problem: Vim9: cannot nest closures.
Solution: Add the nesting level to ISN_LOADOUTER and ISN_STOREOUTER.
(closes #7150 , closes #7635 )
v8.2.2321
2021-01-10 14:02:28 +01:00
Bram Moolenaar
cff40ff986
patch 8.2.2320: Vim9: no error for comparing bool with string
...
Problem: Vim9: no error for comparing bool with string.
Solution: Check for wrong types when comparing. (closes #7639 )
v8.2.2320
2021-01-09 16:21:37 +01:00