Bram Moolenaar
55759b5228
patch 8.2.1777: Vim9: some assignment tests in the wrong file
...
Problem: Vim9: some assignment tests in the wrong file.
Solution: Move assignment tests to test_vim9_assign.
v8.2.1777
2020-09-30 22:59:42 +02:00
Bram Moolenaar
17bb4d4607
patch 8.2.1776: filetype.vim may be loaded twice
...
Problem: Filetype.vim may be loaded twice.
Solution: Do "syntax on" after "filetype on". (Adam Stankiewicz,
closes #7049 )
v8.2.1776
2020-09-30 22:45:39 +02:00
Bram Moolenaar
8ec92c9779
patch 8.2.1775: MS-Windows: adding a long quickfix list is slow
...
Problem: MS-Windows: adding a long quickfix list is slow.
Solution: Shorten the buffer name only for the first entry. (Yegappan
Lakshmanan, closes #7039 , closes #7033 )
v8.2.1775
2020-09-29 22:47:03 +02:00
Bram Moolenaar
32fbc4f247
patch 8.2.1774: GTK: hang when forced to exit
...
Problem: GTK: hang when forced to exit.
Solution: Do not clean up "mainwin" when really_exiting is set.
(Zdenek Dohnal, closes #7042 )
v8.2.1774
2020-09-29 22:16:09 +02:00
Bram Moolenaar
1b9129809d
patch 8.2.1773: crash when calling mapset() with a list as first argument
...
Problem: Crash when calling mapset() with a list as first argument.
Solution: Check for NULL. (closes #7040 )
v8.2.1773
2020-09-29 21:45:41 +02:00
Bram Moolenaar
f43e7ac4ee
patch 8.2.1772: cannot use CTRL-W <Down> to move out of a terminal window
...
Problem: Cannot use CTRL-W <Down> to move out of a terminal window.
Solution: Use special_to_buf() instead of mb_char2bytes(). (closes #7045 )
v8.2.1772
2020-09-29 21:23:25 +02:00
Bram Moolenaar
391c362794
patch 8.2.1771: synIDattr() cannot get the value of ctermul
...
Problem: synIDattr() cannot get the value of ctermul.
Solution: Add the "ul" value for "what". (closes #7037 )
v8.2.1771
2020-09-29 20:59:17 +02:00
Bram Moolenaar
d569a9e746
patch 8.2.1770: invalid memory use when using SpellFileMissing autocmd
...
Problem: Invalid memory use when using SpellFileMissing autocmd.
Solution: Add test case. (Dominique Pellé, closes #7036 ) Fix using a window
that was closed.
v8.2.1770
2020-09-28 23:13:15 +02:00
Bram Moolenaar
4934ad0e44
patch 8.2.1769: popup filter interferes with using :normal to move the cursor
...
Problem: A popup filter interferes with using :normal to move the cursor in
a popup.
Solution: Do not invoke the filter when ex_normal_busy is set.
v8.2.1769
2020-09-28 22:29:58 +02:00
Bram Moolenaar
d58a3bf7da
Update runtime files.
2020-09-28 21:48:16 +02:00
Bram Moolenaar
b45cd36bd9
patch 8.2.1768: cannot use the help menu from a terminal window
...
Problem: Cannot use the help menu from a terminal window.
Solution: Add ":tlnoremenu" commands. (Yee Cheng Chin, closes #7023 )
v8.2.1768
2020-09-28 21:41:49 +02:00
Bram Moolenaar
727345ebea
patch 8.2.1767: Vim9: test fails with python support
...
Problem: Vim9: test fails with python support.
Solution: Use "let" in legacy function.
v8.2.1767
2020-09-27 23:33:59 +02:00
Bram Moolenaar
7a9cbca00a
patch 8.2.1766: Vim9: Some tests are still using :let
...
Problem: Vim9: Some tests are still using :let.
Solution: Change the last few declarations to use :var.
v8.2.1766
2020-09-27 22:47:05 +02:00
Bram Moolenaar
9830938e77
patch 8.2.1765: Vim9: some tests use "var var"
...
Problem: Vim9: some tests use "var var".
Solution: Use "var name". (closes #7032 )
v8.2.1765
2020-09-27 21:58:45 +02:00
Bram Moolenaar
06f9c6940a
patch 8.2.1764: Vim9: no error when assigning to script var with wrong type
...
Problem: Vim9: no error when assigning to script var with wrong type.
Solution: Fix off-by-one error. (closes #7028 )
v8.2.1764
2020-09-27 21:27:40 +02:00
Bram Moolenaar
6c542f77eb
patch 8.2.1763: Vim9: cannot use "true" for popup window scrollbar option
...
Problem: Vim9: cannot use "true" for popup window scrollbar option.
Solution: use dict_get_bool(). (closes #7029 )
v8.2.1763
2020-09-27 21:16:45 +02:00
Bram Moolenaar
d0e1b7103c
patch 8.2.1762: when a timer uses :stopinsert completion isn't stopped
...
Problem: When a timer uses :stopinsert Insert mode completion isn't
stopped. (Stanley Chan)
Solution: Call ins_compl_prep(ESC).
v8.2.1762
2020-09-27 20:13:03 +02:00
Bram Moolenaar
ac564082f1
patch 8.2.1761: Vim9: Some tests are still using :let
...
Problem: Vim9: Some tests are still using :let.
Solution: Change more declarations to use :var.
v8.2.1761
2020-09-27 19:05:33 +02:00
Bram Moolenaar
2914a20abc
patch 8.2.1760: Vim9: crash when end marker is missing
...
Problem: Vim9: crash when end marker is missing. (Dhiraj Mishra)
Solution: Check for end of function lines. (closes #7031 )
v8.2.1760
2020-09-27 18:24:03 +02:00
Bram Moolenaar
37ce6d3a6a
patch 8.2.1759: Vim9: Some tests are still using :let
...
Problem: Vim9: Some tests are still using :let.
Solution: Change more declarations to use :var.
v8.2.1759
2020-09-27 17:57:43 +02:00
Bram Moolenaar
5597ba0467
patch 8.2.1758: Vim9: type of unmaterialized list is wrong
...
Problem: Vim9: type of unmaterialized list is wrong.
Solution: Use list<number>.
v8.2.1758
2020-09-27 17:45:03 +02:00
Bram Moolenaar
a5fe91e6dc
patch 8.2.1757: Mac: default locale is lacking the encoding
...
Problem: Mac: default locale is lacking the encoding.
Solution: Add ".UTF-8 to the locale. (Yee Cheng Chin, closes #7022 )
v8.2.1757
2020-09-27 16:03:15 +02:00
Bram Moolenaar
cfcd011fcd
patch 8.2.1756: Vim9: :let will soon be disallowed
...
Problem: Vim9: :let will soon be disallowed.
Solution: Add v:disallow_let temporarily. Fix tests.
v8.2.1756
2020-09-27 15:19:27 +02:00
Bram Moolenaar
c0e29010f6
patch 8.2.1755: Vim9: crash when using invalid heredoc marker
...
Problem: Vim9: crash when using invalid heredoc marker. (Dhiraj Mishra)
Solution: Check for NULL list. (closes #7027 ) Fix comment character.
v8.2.1755
2020-09-27 14:22:48 +02:00
Bram Moolenaar
8c7ad3631a
patch 8.2.1754: completion with spell checking not tested
...
Problem: Completion with spell checking not tested.
Solution: Add a test case. (Dominique Pellé, closes #7024 )
v8.2.1754
2020-09-27 13:58:38 +02:00
Bram Moolenaar
f6a44f714a
patch 8.2.1753: Vim9: crash when using import at script level
...
Problem: Vim9: crash when using import at script level.
Solution: Give a "not implemented yet" error. (closes #7026 )
v8.2.1753
2020-09-27 13:51:14 +02:00
Bram Moolenaar
daff0fb738
patch 8.2.1752: GTK GUI: cannot map alt-? with <A-?>
...
Problem: GTK GUI: cannot map alt-? with <A-?>. (Ingo Karkat)
Solution: Adjust the characters for which the shift modifier is removed.
(closes #7016 ) Make Motif and Win32 use the same function as GTK.
v8.2.1752
2020-09-27 13:16:46 +02:00
Bram Moolenaar
bade44e5ca
patch 8.2.1751: using 2 where bool is expected may throw an error
...
Problem: Using 2 where bool is expected may throw an error.
Solution: Make this backwards compatible.
v8.2.1751
2020-09-26 22:39:24 +02:00
Bram Moolenaar
3697c9bbae
patch 8.2.1750: popup_setoptions() setting firstline fails if cursorline set
...
Problem: Setting firstline with popup_setoptions() fails if cursorline is
set.
Solution: Use apply_options(). Update the popup before applying "zz".
(closes #7010 )
v8.2.1750
2020-09-26 22:03:00 +02:00
Bram Moolenaar
c70bdab0b8
patch 8.2.1749: Vim9: crash when closure fails in nested function
...
Problem: Vim9: crash when closure fails in nested function.
Solution: Handle function returns before dereferencing remaining closures.
(closes #7008 )
v8.2.1749
2020-09-26 19:59:38 +02:00
Bram Moolenaar
f3c51bbff1
patch 8.2.1748: closing split window in other tab may cause a crash
...
Problem: Closing split window in other tab may cause a crash.
Solution: Set tp_curwin properly. (Rob Pilling, closes #7018 )
v8.2.1748
2020-09-26 19:11:39 +02:00
Bram Moolenaar
8f187fc630
patch 8.2.1747: result of expand() unexpectedly depends on 'completeslash'
...
Problem: Result of expand() unexpectedly depends on 'completeslash'.
Solution: Temporarily reset 'completeslash'. (Yasuhiro Matsumoto,
closes #7021 )
v8.2.1747
2020-09-26 18:47:11 +02:00
Bram Moolenaar
373863ed48
patch 8.2.1746: Vim9: cannot use "fina" for "finally"
...
Problem: Vim9: Cannot use "fina" for "finally". (Naruhiko Nishino)
Solution: Specifically check for "fina". (closes #7020 )
v8.2.1746
2020-09-26 17:20:53 +02:00
Bram Moolenaar
d47f50b331
patch 8.2.1745: tiny version doesn't build
...
Problem: Tiny version doesn't build.
Solution: Add dummy ex_var() function.
v8.2.1745
2020-09-26 15:20:42 +02:00
Bram Moolenaar
30fd8204ce
patch 8.2.1744: Vim9: using ":const!" is weird
...
Problem: Vim9: using ":const!" is weird.
Solution: Use "var" - "final" - "const" like Dart. "let" still works for
now.
v8.2.1744
2020-09-26 15:09:30 +02:00
Bram Moolenaar
273af497ca
patch 8.2.1743: cannot build without the eval feature
...
Problem: Cannot build without the eval feature.
Solution: Move shorten_dir outside of #ifdef.
v8.2.1743
2020-09-25 23:49:01 +02:00
Bram Moolenaar
7e9210ea53
patch 8.2.1742: test still fails without the terminal feature
...
Problem: Test still fails without the terminal feature.
Solution: Put check for terminal feature in separate function.
v8.2.1742
2020-09-25 23:12:51 +02:00
Bram Moolenaar
6a33ef0deb
patch 8.2.1741: pathshorten() only supports using one character
...
Problem: pathshorten() only supports using one character.
Solution: Add an argument to control the length. (closes #7006 )
v8.2.1741
2020-09-25 22:42:48 +02:00
Bram Moolenaar
58dbef330c
patch 8.2.1740: test fails without the terminal feature
...
Problem: Test fails without the terminal feature.
Solution: Skip test if the terminal feature is not available.
v8.2.1740
2020-09-25 22:13:05 +02:00
Bram Moolenaar
9c4f55204f
patch 8.2.1739: Vim9: crash when compiling a manually defined function
...
Problem: Vim9: crash when compiling a manually defined function. (Antony
Scriven)
Solution: Check that the script ID is positive. (closes #7012 )
v8.2.1739
2020-09-25 21:47:28 +02:00
Bram Moolenaar
509f8031b2
patch 8.2.1738: Mac: str2float() recognizes comma instead of decimal point
...
Problem: Mac: str2float() recognizes comma instead of decimal point.
Solution: Set LC_NUMERIC to "C". (closes #7003 )
v8.2.1738
2020-09-24 23:08:19 +02:00
Bram Moolenaar
10476521f5
patch 8.2.1737: cursor line highlight in popup window is not always updated
...
Problem: Cursor line highlight in popup window is not always updated.
Solution: Check if the cursor has moved. (closes #7010 )
v8.2.1737
2020-09-24 22:57:31 +02:00
Bram Moolenaar
531be47ac5
patch 8.2.1736: failure to compile a pattern not tested much
...
Problem: Failure to compile a pattern not tested much.
Solution: Add tests where a pattern fails to compile. (Yegappan Lakshmanan,
closes #7004 )
v8.2.1736
2020-09-23 22:38:05 +02:00
Bram Moolenaar
851d108313
patch 8.2.1735: Github actions appear to timeout too soon
...
Problem: Github actions appear to timeout too soon.
Solution: use "timeout" instead of "ping".
v8.2.1735
2020-09-23 22:27:22 +02:00
Bram Moolenaar
148ce7ae62
patch 8.2.1734: Vim9: cannot use a funcref for a closure twice
...
Problem: Vim9: cannot use a funcref for a closure twice.
Solution: Instead of putting the funcref on the stack use a growarray on the
execution context.
v8.2.1734
2020-09-23 21:57:23 +02:00
Bram Moolenaar
4ee711f213
patch 8.2.1733: Vim9: memory leaks when using nested function
...
Problem: Vim9: memory leaks when using nested function.
Solution: Free function when compilation fails.
v8.2.1733
2020-09-23 18:51:11 +02:00
Bram Moolenaar
6bf1b52ba2
patch 8.2.1732: stuck when win_execute() for a popup causes an error
...
Problem: Stuck when win_execute() for a popup causes an error.
Solution: Disable the filter callback on error. (issue #6999 )
v8.2.1732
2020-09-23 17:41:26 +02:00
Bram Moolenaar
81ed496048
patch 8.2.1731: Vim9: cannot use += to append to empty NULL list
...
Problem: Vim9: cannot use += to append to empty NULL list.
Solution: Copy the list instead of extending it. (closes #6998 )
v8.2.1731
2020-09-23 15:56:50 +02:00
Bram Moolenaar
04bdd573d0
patch 8.2.1730: Vim9: cannot use member of unknown type
...
Problem: Vim9: cannot use member of unknown type.
Solution: When type is unknown us "any". (closes #6997 )
v8.2.1730
2020-09-23 13:25:32 +02:00
Bram Moolenaar
189832bf66
patch 8.2.1729: endless loop when ":normal" feeds popup window filter
...
Problem: Endless loop when ":normal" feeds popup window filter.
Solution: Add the ex_normal_busy_done flag.
v8.2.1729
2020-09-23 12:29:11 +02:00