]>
granicus.if.org Git - vim/log
Bram Moolenaar [Sat, 10 Oct 2020 18:31:37 +0000 (20:31 +0200)]
patch 8.2.1825: Vim9: accessing freed memory
Problem: Vim9: accessing freed memory.
Solution: Clear sv_name when the variable is deleted.
Bram Moolenaar [Sat, 10 Oct 2020 17:07:09 +0000 (19:07 +0200)]
patch 8.2.1824: Vim9: variables at the script level escape their scope
Problem: Vim9: variables at the script level escape their scope.
Solution: When leaving a scope remove variables declared in it.
Bram Moolenaar [Sat, 10 Oct 2020 14:45:25 +0000 (16:45 +0200)]
patch 8.2.1823: "gN" does not select the matched string
Problem: "gN" does not select the matched string.
Solution: Move the cursor to the start of the match.
Bram Moolenaar [Sat, 10 Oct 2020 14:42:39 +0000 (16:42 +0200)]
patch 8.2.1822: list test doesn't fail
Problem: List test doesn't fail.
Solution: Adjust the test for NULL list handling.
Bram Moolenaar [Sat, 10 Oct 2020 13:37:58 +0000 (15:37 +0200)]
patch 8.2.1821: Vim9: concatenating to a NULL list doesn't work
Problem: Vim9: concatenating to a NULL list doesn't work.
Solution: Handle a NULL list like an empty list. (closes #7064)
Bram Moolenaar [Sat, 10 Oct 2020 13:05:23 +0000 (15:05 +0200)]
patch 8.2.1820: Vim9: crash when error happens in timer callback
Problem: Vim9: crash when error happens in timer callback.
Solution: Check that current_exception is not NULL. (closes #7100)
Bram Moolenaar [Sat, 10 Oct 2020 12:13:01 +0000 (14:13 +0200)]
patch 8.2.1819: Vim9: Memory leak when using a closure
Problem: Vim9: Memory leak when using a closure.
Solution: Compute the mininal refcount in the funcstack. Reenable disabled
tests.
Bram Moolenaar [Fri, 9 Oct 2020 21:04:47 +0000 (23:04 +0200)]
patch 8.2.1818: SE Linux: deprecation warning for security_context_t
Problem: SE Linux: deprecation warning for security_context_t.
Solution: Use "char *" instead. (James McCoy, closes #7093)
Bram Moolenaar [Fri, 9 Oct 2020 20:04:29 +0000 (22:04 +0200)]
patch 8.2.1817: Vim9: wrong instruction when reusing a local variable spot
Problem: Vim9: wrong instruction when reusing a local variable spot.
Solution: Clear a newly allocated local variable. (closes #7080)
Bram Moolenaar [Fri, 9 Oct 2020 08:20:53 +0000 (10:20 +0200)]
patch 8.2.1816: Vim9: another memory leak when using function reference
Problem: Vim9: another memory leak when using function reference.
Solution: Temporarily disable the tests.
Bram Moolenaar [Thu, 8 Oct 2020 21:21:21 +0000 (23:21 +0200)]
patch 8.2.1815: Vim9: memory leak when using function reference
Problem: Vim9: memory leak when using function reference.
Solution: Temporarily disable the test.
Bram Moolenaar [Thu, 8 Oct 2020 19:30:40 +0000 (21:30 +0200)]
patch 8.2.1814: missing change to remove "static"
Problem: Missing change to remove "static".
Solution: Add the change.
Bram Moolenaar [Thu, 8 Oct 2020 19:16:42 +0000 (21:16 +0200)]
patch 8.2.1813: Vim9: can assign wrong type to script dict
Problem: Vim9: can assign wrong type to script dict. (Christian J. Robinson)
Solution: Check the type if known.
Bram Moolenaar [Wed, 7 Oct 2020 17:08:04 +0000 (19:08 +0200)]
patch 8.2.1812: Vim9: nested closure throws an internal error
Problem: Vim9: nested closure throws an internal error.
Solution: Do not skip a local variable with a partial. (closes #7065)
Bram Moolenaar [Wed, 7 Oct 2020 15:29:48 +0000 (17:29 +0200)]
patch 8.2.1811: mapping Ctrl-key does not work for '{', '}' and '|'
Problem: Mapping Ctrl-key does not work for '{', '}' and '|'.
Solution: Remove the shift modifier. (closes #6457)
Bram Moolenaar [Wed, 7 Oct 2020 14:54:52 +0000 (16:54 +0200)]
patch 8.2.1810: some code in normal.c not covered by tests
Problem: Some code in normal.c not covered by tests.
Solution: Add normal mode tests. (Yegappan Lakshmanan, closes #7086)
Bram Moolenaar [Wed, 7 Oct 2020 14:12:37 +0000 (16:12 +0200)]
patch 8.2.1809: mapping some keys with Ctrl does not work properly
Problem: Mapping some keys with Ctrl does not work properly.
Solution: For terminal, GTK and Motif handle "@", "^" and "_" codes.
Bram Moolenaar [Wed, 7 Oct 2020 10:58:44 +0000 (12:58 +0200)]
patch 8.2.1808: no test coverage for ":spelldump!"
Problem: No test coverage for ":spelldump!".
Solution: Add a test. (Dominique Pellé, closes #7089)
Bram Moolenaar [Tue, 6 Oct 2020 18:46:49 +0000 (20:46 +0200)]
patch 8.2.1807: can use :help in a terminal popup window
Problem: Can use :help in a terminal popup window.
Solution: Give an error. (closes #7088)
Bram Moolenaar [Tue, 6 Oct 2020 17:59:06 +0000 (19:59 +0200)]
patch 8.2.1806: MS-Windows with Python: Vim freezes after import command
Problem: MS-Windows with Python: Vim freezes after import command.
Solution: Use either "NUL" or "CONIN$" when reopening stdin. (Yasuhiro
Matsumoto, closes #7083)
Bram Moolenaar [Mon, 5 Oct 2020 19:39:25 +0000 (21:39 +0200)]
patch 8.2.1805: Unix: terminal mode changed when using ":shell"
Problem: Unix: terminal mode changed when using ":shell".
Solution: Avoid calling settmode() when not needed. (issue #7079)
Bram Moolenaar [Mon, 5 Oct 2020 18:38:06 +0000 (20:38 +0200)]
patch 8.2.1804: resolve('/') returns an empty string
Problem: resolve('/') returns an empty string.
Solution: Don't remove single slash. (closes #7074)
Bram Moolenaar [Mon, 5 Oct 2020 18:07:18 +0000 (20:07 +0200)]
patch 8.2.1803: a few failures are not tested
Problem: A few failures are not tested.
Solution: Test a few failures. (Dominique Pellé, closes #7075)
Bram Moolenaar [Mon, 5 Oct 2020 17:23:59 +0000 (19:23 +0200)]
patch 8.2.1802: Vim9: crash with unterminated dict
Problem: Vim9: crash with unterminated dict. (Dhiraj Mishra)
Solution: Return empty string instead of NULL. (closes #7084)
Bram Moolenaar [Sun, 4 Oct 2020 17:56:39 +0000 (19:56 +0200)]
patch 8.2.1801: undo file not found when using ":args" or ":next"
Problem: Undo file not found when using ":args" or ":next".
Solution: Handle like editing another file. (closes #7072)
Bram Moolenaar [Sun, 4 Oct 2020 15:24:29 +0000 (17:24 +0200)]
patch 8.2.1800: Vim9: memory leak if "if" condition is invalid
Problem: Vim9: memory leak if "if" condition is invalid.
Solution: Free ppconst earlier.
Bram Moolenaar [Sun, 4 Oct 2020 14:16:54 +0000 (16:16 +0200)]
patch 8.2.1799: some Normal mode commands not fully tested
Problem: Some Normal mode commands not fully tested.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #7073)
Bram Moolenaar [Sun, 4 Oct 2020 14:06:05 +0000 (16:06 +0200)]
patch 8.2.1798: Vim9: trinary operator condition is too permissive
Problem: Vim9: trinary operator condition is too permissive.
Solution: Use tv_get_bool_chk().
Bram Moolenaar [Sun, 4 Oct 2020 12:17:32 +0000 (14:17 +0200)]
patch 8.2.1797: Vim9: some parts of the code not tested
Problem: Vim9: some parts of the code not tested.
Solution: Add a few tests.
Bram Moolenaar [Sun, 4 Oct 2020 11:42:34 +0000 (13:42 +0200)]
patch 8.2.1796: Vim9: invalid memory access with weird function name
Problem: Vim9: invalid memory access with weird function name. (Dhiraj
Mishra)
Solution: Check the name is valid. Add a test.
Bram Moolenaar [Sat, 3 Oct 2020 20:52:39 +0000 (22:52 +0200)]
patch 8.2.1795: Vim9: operators && and || have a confusing result
Problem: Vim9: operators && and || have a confusing result.
Solution: Make the result a boolean.
Bram Moolenaar [Sat, 3 Oct 2020 18:17:30 +0000 (20:17 +0200)]
patch 8.2.1794: no falsy Coalescing operator
Problem: No falsy Coalescing operator.
Solution: Add the "??" operator. Fix mistake with function argument count.
Bram Moolenaar [Sat, 3 Oct 2020 15:04:37 +0000 (17:04 +0200)]
patch 8.2.1793: not consistently giving the "is a directory" warning
Problem: Not consistently giving the "is a directory" warning.
Solution: Adjust check for illegal file name and directory. (Yasuhiro
Matsumoto, closes #7067)
Bram Moolenaar [Sat, 3 Oct 2020 12:24:19 +0000 (14:24 +0200)]
patch 8.2.1792: Configure does not recognize Racket 6.1+
Problem: Configure does not recognize Racket 6.1+.
Solution: Add a check for "rktio". (closes #7062)
Bram Moolenaar [Sat, 3 Oct 2020 12:14:56 +0000 (14:14 +0200)]
patch 8.2.1791: Vim9: debugger test fails
Problem: Vim9: debugger test fails.
Solution: Use "var" instead of "let".
Bram Moolenaar [Sat, 3 Oct 2020 11:57:13 +0000 (13:57 +0200)]
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)
Bram Moolenaar [Sat, 3 Oct 2020 11:41:53 +0000 (13:41 +0200)]
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)
Bram Moolenaar [Sat, 3 Oct 2020 10:57:27 +0000 (12:57 +0200)]
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.
Bram Moolenaar [Fri, 2 Oct 2020 18:36:01 +0000 (20:36 +0200)]
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)
Bram Moolenaar [Fri, 2 Oct 2020 16:48:07 +0000 (18:48 +0200)]
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)
Bram Moolenaar [Fri, 2 Oct 2020 16:11:56 +0000 (18:11 +0200)]
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.
Bram Moolenaar [Fri, 2 Oct 2020 08:29:45 +0000 (10:29 +0200)]
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)
Bram Moolenaar [Thu, 1 Oct 2020 20:37:40 +0000 (22:37 +0200)]
patch 8.2.1783: try-catch test fails
Problem: Try-catch test fails.
Solution: Don't call win_enter(), only call enterering_window().
Bram Moolenaar [Thu, 1 Oct 2020 19:37:21 +0000 (21:37 +0200)]
patch 8.2.1782: Vim9: cannot pass boolean to mapset()
Problem: Vim9: cannot pass boolean to mapset().
Solution: Use get_tv_bool(). (closes #7041)
Bram Moolenaar [Thu, 1 Oct 2020 18:03:04 +0000 (20:03 +0200)]
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)
Bram Moolenaar [Thu, 1 Oct 2020 17:06:35 +0000 (19:06 +0200)]
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)
Bram Moolenaar [Thu, 1 Oct 2020 14:54:07 +0000 (16:54 +0200)]
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)
Bram Moolenaar [Thu, 1 Oct 2020 11:01:34 +0000 (13:01 +0200)]
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)
Bram Moolenaar [Wed, 30 Sep 2020 20:59:42 +0000 (22:59 +0200)]
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.
Bram Moolenaar [Wed, 30 Sep 2020 20:45:39 +0000 (22:45 +0200)]
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)
Bram Moolenaar [Tue, 29 Sep 2020 20:47:03 +0000 (22:47 +0200)]
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)
Bram Moolenaar [Tue, 29 Sep 2020 20:16:09 +0000 (22:16 +0200)]
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)
Bram Moolenaar [Tue, 29 Sep 2020 19:45:41 +0000 (21:45 +0200)]
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)
Bram Moolenaar [Tue, 29 Sep 2020 19:23:25 +0000 (21:23 +0200)]
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)
Bram Moolenaar [Tue, 29 Sep 2020 18:59:17 +0000 (20:59 +0200)]
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)
Bram Moolenaar [Mon, 28 Sep 2020 21:13:15 +0000 (23:13 +0200)]
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.
Bram Moolenaar [Mon, 28 Sep 2020 20:29:58 +0000 (22:29 +0200)]
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.
Bram Moolenaar [Mon, 28 Sep 2020 19:48:16 +0000 (21:48 +0200)]
Update runtime files.
Bram Moolenaar [Mon, 28 Sep 2020 19:41:49 +0000 (21:41 +0200)]
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)
Bram Moolenaar [Sun, 27 Sep 2020 21:33:59 +0000 (23:33 +0200)]
patch 8.2.1767: Vim9: test fails with python support
Problem: Vim9: test fails with python support.
Solution: Use "let" in legacy function.
Bram Moolenaar [Sun, 27 Sep 2020 20:47:05 +0000 (22:47 +0200)]
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.
Bram Moolenaar [Sun, 27 Sep 2020 19:58:45 +0000 (21:58 +0200)]
patch 8.2.1765: Vim9: some tests use "var var"
Problem: Vim9: some tests use "var var".
Solution: Use "var name". (closes #7032)
Bram Moolenaar [Sun, 27 Sep 2020 19:27:40 +0000 (21:27 +0200)]
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)
Bram Moolenaar [Sun, 27 Sep 2020 19:16:45 +0000 (21:16 +0200)]
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)
Bram Moolenaar [Sun, 27 Sep 2020 18:13:03 +0000 (20:13 +0200)]
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).
Bram Moolenaar [Sun, 27 Sep 2020 17:05:33 +0000 (19:05 +0200)]
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.
Bram Moolenaar [Sun, 27 Sep 2020 16:24:03 +0000 (18:24 +0200)]
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)
Bram Moolenaar [Sun, 27 Sep 2020 15:57:43 +0000 (17:57 +0200)]
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.
Bram Moolenaar [Sun, 27 Sep 2020 15:45:03 +0000 (17:45 +0200)]
patch 8.2.1758: Vim9: type of unmaterialized list is wrong
Problem: Vim9: type of unmaterialized list is wrong.
Solution: Use list<number>.
Bram Moolenaar [Sun, 27 Sep 2020 14:03:15 +0000 (16:03 +0200)]
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)
Bram Moolenaar [Sun, 27 Sep 2020 13:19:27 +0000 (15:19 +0200)]
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.
Bram Moolenaar [Sun, 27 Sep 2020 12:22:48 +0000 (14:22 +0200)]
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.
Bram Moolenaar [Sun, 27 Sep 2020 11:58:38 +0000 (13:58 +0200)]
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)
Bram Moolenaar [Sun, 27 Sep 2020 11:51:14 +0000 (13:51 +0200)]
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)
Bram Moolenaar [Sun, 27 Sep 2020 11:16:46 +0000 (13:16 +0200)]
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.
Bram Moolenaar [Sat, 26 Sep 2020 20:39:24 +0000 (22:39 +0200)]
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.
Bram Moolenaar [Sat, 26 Sep 2020 20:03:00 +0000 (22:03 +0200)]
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)
Bram Moolenaar [Sat, 26 Sep 2020 17:59:38 +0000 (19:59 +0200)]
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)
Bram Moolenaar [Sat, 26 Sep 2020 17:11:39 +0000 (19:11 +0200)]
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)
Bram Moolenaar [Sat, 26 Sep 2020 16:47:11 +0000 (18:47 +0200)]
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)
Bram Moolenaar [Sat, 26 Sep 2020 15:20:53 +0000 (17:20 +0200)]
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)
Bram Moolenaar [Sat, 26 Sep 2020 13:20:42 +0000 (15:20 +0200)]
patch 8.2.1745: tiny version doesn't build
Problem: Tiny version doesn't build.
Solution: Add dummy ex_var() function.
Bram Moolenaar [Sat, 26 Sep 2020 13:09:30 +0000 (15:09 +0200)]
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.
Bram Moolenaar [Fri, 25 Sep 2020 21:49:01 +0000 (23:49 +0200)]
patch 8.2.1743: cannot build without the eval feature
Problem: Cannot build without the eval feature.
Solution: Move shorten_dir outside of #ifdef.
Bram Moolenaar [Fri, 25 Sep 2020 21:12:51 +0000 (23:12 +0200)]
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.
Bram Moolenaar [Fri, 25 Sep 2020 20:42:48 +0000 (22:42 +0200)]
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)
Bram Moolenaar [Fri, 25 Sep 2020 20:13:05 +0000 (22:13 +0200)]
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.
Bram Moolenaar [Fri, 25 Sep 2020 19:47:28 +0000 (21:47 +0200)]
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)
Bram Moolenaar [Thu, 24 Sep 2020 21:08:19 +0000 (23:08 +0200)]
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)
Bram Moolenaar [Thu, 24 Sep 2020 20:57:31 +0000 (22:57 +0200)]
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)
Bram Moolenaar [Wed, 23 Sep 2020 20:38:05 +0000 (22:38 +0200)]
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)
Bram Moolenaar [Wed, 23 Sep 2020 20:27:22 +0000 (22:27 +0200)]
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".
Bram Moolenaar [Wed, 23 Sep 2020 19:57:23 +0000 (21:57 +0200)]
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.
Bram Moolenaar [Wed, 23 Sep 2020 16:51:11 +0000 (18:51 +0200)]
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.
Bram Moolenaar [Wed, 23 Sep 2020 15:41:26 +0000 (17:41 +0200)]
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)
Bram Moolenaar [Wed, 23 Sep 2020 13:56:50 +0000 (15:56 +0200)]
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)
Bram Moolenaar [Wed, 23 Sep 2020 11:25:32 +0000 (13:25 +0200)]
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)
Bram Moolenaar [Wed, 23 Sep 2020 10:29:11 +0000 (12:29 +0200)]
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.
Bram Moolenaar [Tue, 22 Sep 2020 20:08:32 +0000 (22:08 +0200)]
patch 8.2.1728: compiler warning for using uninitialized variable
Problem: Compiler warning for using uninitialized variable. (John Marriott)
Solution: Initialize "neighbor".
Bram Moolenaar [Tue, 22 Sep 2020 19:55:41 +0000 (21:55 +0200)]
patch 8.2.1727: a popup created with "cursorline" will ignore "firstline"
Problem: A popup created with "cursorline" will ignore "firstline".
Solution: When both "cursorline" and "firstline" are present put the cursor
on "firstline". (closes #7000) Add the "winid" argument to
getcurpos().