Bram Moolenaar
3e1916947d
patch 8.2.2616: Vim9: if 'cpo' is change in Vim9 script it may be restored
...
Problem: Vim9: if 'cpo' is change in Vim9 script it may be restored.
Solution: Apply the changes to 'cpo' to the restored value.
2021-03-17 17:46:00 +01:00
Bram Moolenaar
a4c81bea38
patch 8.2.2615: test is sourcing the wrong file
...
Problem: Test is sourcing the wrong file.
Solution: Correct the file name.
2021-03-17 15:23:16 +01:00
Bram Moolenaar
c970e4225b
patch 8.2.2614: Vim9: function is deleted while executing
...
Problem: Vim9: function is deleted while executing.
Solution: increment the call count, when more than zero do not delete the
function but mark it as dead. (closes #7977 )
2021-03-17 15:03:04 +01:00
Bram Moolenaar
6ccfd99b92
patch 8.2.2613: new test throws exception
...
Problem: New test throws exception.
Solution: Adjust the function cleanup.
2021-03-17 13:39:33 +01:00
Bram Moolenaar
18b7d86d7f
patch 8.2.2612: col('.') may get outdated column value
...
Problem: col('.') may get outdated column value.
Solution: Add a note to the help how to make this work and add a test for
it. (closes #7971 )
2021-03-17 13:28:05 +01:00
Bram Moolenaar
f8c52e8d08
patch 8.2.2611: conditions for startup tests are not exactly right
...
Problem: Conditions for startup tests are not exactly right.
Solution: Check for type of GUI instead of MS-Windows. (Ozaki Kiichi,
closes #7976 )
2021-03-17 12:27:23 +01:00
Bram Moolenaar
1e448465e1
patch 8.2.2610: mouse click test fails when using remote connection
...
Problem: Mouse click test fails when using remote connection.
Solution: Use a larger 'mousetime'. (Dominique Pellé, closes #7968 )
2021-03-16 21:17:16 +01:00
Bram Moolenaar
3214812997
patch 8.2.2609: test disabled on MS-Windows even though it should work
...
Problem: Test disabled on MS-Windows even though it should work.
Solution: Restore the condition for skipping the test. (Ken Takata,
closes #7970 )
2021-03-16 13:23:30 +01:00
Bram Moolenaar
f4fcedc59d
patch 8.2.2608: character input not fully tested
...
Problem: Character input not fully tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #7963 )
2021-03-15 18:36:20 +01:00
Bram Moolenaar
02b4d9b18a
patch 8.2.2607: strcharpart() cannot include composing characters
...
Problem: strcharpart() cannot include composing characters.
Solution: Add the {skipcc} argument.
2021-03-14 19:46:45 +01:00
Bram Moolenaar
70ce8a1561
patch 8.2.2606: strchars() defaults to counting composing characters
...
Problem: strchars() defaults to counting composing characters.
Solution: Add strcharlen() which ignores composing characters.
2021-03-14 19:02:09 +01:00
Bram Moolenaar
0289a093a4
patch 8.2.2605: Vim9: string index and slice does not include composing chars
...
Problem: Vim9: string index and slice does not include composing chars.
Solution: Include composing characters. (issue #6563 )
2021-03-14 18:40:19 +01:00
Bram Moolenaar
240309c9bf
patch 8.2.2604: GUI-specific command line arguments not tested
...
Problem: GUI-specific command line arguments not tested.
Solution: Add tests for several arguments. (Dominique Pellé, closes #7962 )
2021-03-14 16:20:37 +01:00
Bram Moolenaar
77b10ffad4
patch 8.2.2603: Vim9: no effect if user command is also a function
...
Problem: Vim9: no effect if user command is also a function.
Solution: Check for paren following. (closes #7960 )
2021-03-14 13:21:35 +01:00
Bram Moolenaar
2e34c34be1
patch 8.2.2602: Vim9: continue doesn't work if :while is very first command
...
Problem: Vim9: continue doesn't work if :while is very first command.
(Yegappan Lakshmanan)
Solution: Add one to the continue instruction index.
2021-03-14 12:13:33 +01:00
Bram Moolenaar
6bce5856b5
patch 8.2.2601: memory usage test often fails on FreeBSD
...
Problem: Memory usage test often fails on FreeBSD.
Solution: Increase multiplier for upper limit.
2021-03-13 22:11:51 +01:00
Bram Moolenaar
93e1cae739
patch 8.2.2600: Vim9: crash when putting an unknown type in a dictionary
...
Problem: Vim9: crash when putting an unknown type in a dictionary.
(Yegappan Lakshmanan)
Solution: Handle a NULL type pointer.
2021-03-13 21:24:56 +01:00
Bram Moolenaar
edba70703b
patch 8.2.2599: build failure
...
Problem: Build failure.
Solution: Add missing change.
2021-03-13 21:14:18 +01:00
Bram Moolenaar
6508880d6c
patch 8.2.2598: Vim9: :open does not need to be supported
...
Problem: Vim9: :open does not need to be supported.
Solution: Do not support :open in Vim9 script.
2021-03-13 21:07:21 +01:00
Bram Moolenaar
cb4e80fab9
patch 8.2.2597: Vim9: "import * as" does not work at script level
...
Problem: Vim9: "import * as" does not work at script level.
Solution: Implement using an imported namespace.
2021-03-13 20:57:19 +01:00
Bram Moolenaar
41cd80335c
patch 8.2.2596: :doautocmd may confuse scripts listening to WinEnter
...
Problem: :doautocmd may confuse scripts listening to WinEnter.
Solution: Do the current buffer last. (closes #7958 )
2021-03-13 15:47:56 +01:00
Bram Moolenaar
9e813b3dea
patch 8.2.2595: setting 'winminheight' may cause 'lines' to change
...
Problem: Setting 'winminheight' may cause 'lines' to change.
Solution: Also take minimal height of other tabpages into account. (#7899 )
2021-03-13 14:29:05 +01:00
Bram Moolenaar
0756f757ed
patch 8.2.2594: alternate buffer added to session file even when it's hidden
...
Problem: Alternate buffer added to session file even when it's hidden.
Solution: Check the 'buflisted' option. (closes #7951 )
2021-03-13 13:52:33 +01:00
Bram Moolenaar
0de8e2d6a3
patch 8.2.2593: list of distributed files is incomplete
...
Problem: List of distributed files is incomplete.
Solution: Add a file and rename another.
2021-03-13 13:30:03 +01:00
Bram Moolenaar
6fd367a97c
patch 8.2.2592: code coverage could be improved
...
Problem: Code coverage could be improved.
Solution: Add a few more tests. (Dominique Pellé, closes #7957 )
2021-03-13 13:14:04 +01:00
Bram Moolenaar
c80f647512
patch 8.2.2591: Poke files are not recognized
...
Problem: Poke files are not recognized.
Solution: Add a filetype entry. (Matt Ihlenfield)
2021-03-12 22:16:41 +01:00
Bram Moolenaar
12bce95887
patch 8.2.2590: Vim9: default argument value may cause internal error
...
Problem: Vim9: default argument value may cause internal error.
Solution: Hide later function arguments when compiling the expression.
(closes #7948 )
2021-03-11 20:04:04 +01:00
Bram Moolenaar
776b954622
patch 8.2.2589: recover test hangs in the GUI
...
Problem: Recover test hangs in the GUI.
Solution: Add g:skipped_reason to skip a _nocatch_ test.
2021-03-10 22:27:48 +01:00
Bram Moolenaar
23b32a8d6b
patch 8.2.2588: build failure with tiny features
...
Problem: Build failure with tiny features.
Solution: Add #ifdef. Run recover test separately.
2021-03-10 21:55:46 +01:00
Bram Moolenaar
6635ae1437
patch 8.2.2587: recover test fails on FreeBSD
...
Problem: Recover test fails on FreeBSD.
Solution: Check for Linux.
2021-03-10 21:46:39 +01:00
Bram Moolenaar
f52f0606ed
patch 8.2.2586: process id may be invalid
...
Problem: Process id may be invalid.
Solution: Use sysinfo.uptime to check for recent reboot. (suggested by Hugo
van der Sanden, closes #7947 )
2021-03-10 21:26:37 +01:00
Bram Moolenaar
c23555de34
patch 8.2.2585: Vim9: illegal memory access
...
Problem: Vim9: illegal memory access.
Solution: Check byte right after "null", not one more.
2021-03-10 19:04:07 +01:00
Bram Moolenaar
d345fb9216
patch 8.2.2584: Vim9: type error for assigning "any" to a list
...
Problem: Vim9: type error for assigning the result of list concatenation to
a list.
Solution: Do not consider concatenation result in a constant. (closes #7942 )
2021-03-10 18:43:09 +01:00
Bram Moolenaar
7ad67d1150
patch 8.2.2583: Vim9: cannot compare result of getenv() with null
...
Problem: Vim9: cannot compare result of getenv() with null.
Solution: Make the return type of getenv() "any". (closes #7943 )
2021-03-10 16:08:26 +01:00
Bram Moolenaar
ffb7dcdb77
patch 8.2.2582: Vim9: screendump test fails on MS-Windows
...
Problem: Vim9: screendump test fails on MS-Windows.
Solution: Use :function instead of :def.
2021-03-10 14:00:18 +01:00
Bram Moolenaar
37294bd6a2
patch 8.2.2581: Vim9: sourcing Vim9 script triggers a redraw
...
Problem: Vim9: sourcing Vim9 script triggers a redraw.
Solution: Do not let setting/restoring 'cpoptions' cause a redraw.
(closes #7920 )
2021-03-10 13:40:08 +01:00
Bram Moolenaar
e3ffcd9902
patch 8.2.2580: Vim9: checking vararg type may be wrong
...
Problem: Vim9: checking vararg type is wrong when function is auto-loaded.
Solution: Use the member type. (closes #7933 )
2021-03-08 21:47:13 +01:00
Bram Moolenaar
d00a7fb81a
patch 8.2.2579: Vim9: crash in garbagecollect after for loop
...
Problem: Vim9: crash in garbagecollect after for loop.
Solution: Do not set a reference in script item when the name was cleared.
(closes #7935 )
2021-03-08 20:47:14 +01:00
Bram Moolenaar
86c3a2162c
patch 8.2.2578: Lua cannot handle a passed in lambda
...
Problem: Lua cannot handle a passed in lambda.
Solution: Handle VAR_PARTIAL. (Prabir Shrestha, closes #7937 , closes #7936 )
2021-03-08 19:50:24 +01:00
Bram Moolenaar
9355ae4149
patch 8.2.2577: compiler warning for type conversion
...
Problem: Compiler warning for type conversion.
Solution: Add a typecast. (Mike Williams)
2021-03-08 19:04:05 +01:00
Bram Moolenaar
608d78fb45
patch 8.2.2576: Vim9: defining a :func function checks for white space
...
Problem: Vim9: defining a :func function checks for white space after a
comma in the arguments.
Solution: Only check for white space in a :def function. (closes #7930 )
2021-03-06 22:33:12 +01:00
Bram Moolenaar
6914e87d3c
patch 8.2.2575: Vim9: a function name with "->" in the next line doesn't work
...
Problem: Vim9: a function name with "->" in the next line doesn't work.
Solution: Recognize a function name by itself. (closes #7770 )
2021-03-06 21:01:09 +01:00
Bram Moolenaar
04947cc6ed
patch 8.2.2574: Vim9: crash when calling partial with wrong function
...
Problem: Vim9: crash when calling partial with wrong function.
Solution: Check argument types of called function. (closes #7912 )
2021-03-06 19:26:46 +01:00
Bram Moolenaar
a974953443
patch 8.2.2573: Vim9: using inalid pointer for error message
...
Problem: Vim9: using inalid pointer for error message.
Solution: Use the right pointer. (closes #7921 )
2021-03-06 18:18:19 +01:00
Bram Moolenaar
18062fcad6
patch 8.2.2572: Vim9: crash when getting the types for a legacy function
...
Problem: Vim9: crash when getting the types for a legacy function.
Solution: Initialize the type list growarray. (closes #7929 )
2021-03-05 21:35:47 +01:00
Bram Moolenaar
8c801b374b
patch 8.2.2571: test may leave file behind
...
Problem: Test may leave file behind.
Solution: Delete the temporary file. Don't profile in the running Vim
instance.
2021-03-05 20:58:22 +01:00
Bram Moolenaar
f9a65505d1
patch 8.2.2570: tests fail when run as root
...
Problem: Tests fail when run as root.
Solution: Add a comment mentioning the expected failure. (issue #7919 )
2021-03-05 20:47:44 +01:00
Bram Moolenaar
008bff967f
patch 8.2.2569: 'fillchars' "stl" and "stlnc" items must be single byte
...
Problem: 'fillchars' "stl" and "stlnc" items must be single byte.
Solution: Accept multi-byte characters. (Christian Wellenbrock, Yegappan
Lakshmanan, closes #7927 )
2021-03-04 21:55:58 +01:00
Bram Moolenaar
6057748a1a
patch 8.2.2568: second time a preview popup is opened highlight is not set
...
Problem: Second time a preview popup is opened highlight is not set.
(Gabriel Dupras)
Solution: Apply 'previewpopup' after getting the file. (closes #7928 )
2021-03-04 21:35:07 +01:00
Bram Moolenaar
6c3843ca8a
patch 8.2.2567: Vim9: no error if variable is defined for existing function
...
Problem: Vim9: no error if variable is defined for existing function.
Solution: Check if name isn't already in use. (closes #7897 )
2021-03-04 12:38:21 +01:00