Bram Moolenaar
794771cfd8
patch 8.2.1790: MS-Windows with Python: crash when executed from Vifm
...
Problem: MS-Windows with Python: crash when executed from Vifm.
Solution: Use NUL instead of CONIN. (Ken Takata, closes #7061 , closes #7053 )
2020-10-03 13:57:13 +02:00
Bram Moolenaar
c1f0066b64
patch 8.2.1789: Vim9: crash with invalid list constant
...
Problem: Vim9: crash with invalid list constant. (Dhiraj Mishra)
Solution: Return FAIL when compiling the list fails. (closes #7066 )
2020-10-03 13:41:53 +02:00
Bram Moolenaar
016faaa1b2
patch 8.2.1788: Vim9: still allows :let for declarations
...
Problem: Vim9: still allows :let for declarations.
Solution: Make the default for v:disallow_let one. It can still be set to
zero to allow for using :let.
2020-10-03 12:57:27 +02:00
Bram Moolenaar
795aaa1e84
patch 8.2.1787: crash with 'incsearch' and very long line
...
Problem: Crash with 'incsearch' and very long line.
Solution: Check whether regprog becomes NULL. (closes #7063 )
2020-10-02 20:36:01 +02:00
Bram Moolenaar
8a9bc95eae
patch 8.2.1786: various Normal mode commands not fully tested
...
Problem: Various Normal mode commands not fully tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes #7059 )
2020-10-02 18:48:07 +02:00
Bram Moolenaar
3f974ff45e
patch 8.2.1785: compiler warning for strcp() out of bounds
...
Problem: Compiler warning for strcp() out of bounds. (Christian Brabandt)
Solution: use memmove() instead.
2020-10-02 18:11:56 +02:00
Bram Moolenaar
fa79be6b10
patch 8.2.1784: commits are not scanned for security problems
...
Problem: commits are not scanned for security problems
Solution: Enable Github code scanning. (Christian Brabandt, closes #7057 )
2020-10-02 10:29:45 +02:00
Bram Moolenaar
bdf931c25b
patch 8.2.1783: try-catch test fails
...
Problem: Try-catch test fails.
Solution: Don't call win_enter(), only call enterering_window().
2020-10-01 22:37:40 +02:00
Bram Moolenaar
74273e6691
patch 8.2.1782: Vim9: cannot pass boolean to mapset()
...
Problem: Vim9: cannot pass boolean to mapset().
Solution: Use get_tv_bool(). (closes #7041 )
2020-10-01 21:37:21 +02:00
Bram Moolenaar
4537bcc889
patch 8.2.1781: writing to prompt buffer interferes with insert mode
...
Problem: Writing to prompt buffer interferes with insert mode.
Solution: Use win_enter() instead of just setting "curwin". (Ben Jackson,
closes #7035 )
2020-10-01 20:03:04 +02:00
Bram Moolenaar
668008be66
patch 8.2.1780: statusline not updated when splitting windows
...
Problem: Statusline not updated when splitting windows.
Solution: Call status_redraw_all(). (Jason Franklin, closes #5496 )
2020-10-01 19:06:35 +02:00
Bram Moolenaar
0022675aa3
patch 8.2.1779: some debian changelog files are not recognized
...
Problem: Some debian changelog files are not recognized.
Solution: Add */debian/changelog. (Jason Franklin)
2020-10-01 16:54:07 +02:00
Bram Moolenaar
5366e1aecf
patch 8.2.1778: Vim9: returning from a partial call clears outer context
...
Problem: Vim9: returning from a partial call clears outer context, causing
a crash.
Solution: Put the outer context in the stack frame. (closes #7044 )
2020-10-01 13:01:34 +02:00
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.
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 )
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 )
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 )
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 )
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 )
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 )
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.
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.
2020-09-28 22:29:58 +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 )
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.
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.
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 )
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 )
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 )
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).
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.
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 )
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.
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>.
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 )
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.
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.
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 )
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 )
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.
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.
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 )
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 )
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 )
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 )
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 )
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.
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.
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.
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.
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 )
2020-09-25 22:42:48 +02:00