]> granicus.if.org Git - vim/log
vim
4 years agopatch 8.2.1815: Vim9: memory leak when using function reference v8.2.1815
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.

4 years agopatch 8.2.1814: missing change to remove "static" v8.2.1814
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.

4 years agopatch 8.2.1813: Vim9: can assign wrong type to script dict v8.2.1813
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.

4 years agopatch 8.2.1812: Vim9: nested closure throws an internal error v8.2.1812
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)

4 years agopatch 8.2.1811: mapping Ctrl-key does not work for '{', '}' and '|' v8.2.1811
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)

4 years agopatch 8.2.1810: some code in normal.c not covered by tests v8.2.1810
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)

4 years agopatch 8.2.1809: mapping some keys with Ctrl does not work properly v8.2.1809
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.

4 years agopatch 8.2.1808: no test coverage for ":spelldump!" v8.2.1808
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)

4 years agopatch 8.2.1807: can use :help in a terminal popup window v8.2.1807
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)

4 years agopatch 8.2.1806: MS-Windows with Python: Vim freezes after import command v8.2.1806
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)

4 years agopatch 8.2.1805: Unix: terminal mode changed when using ":shell" v8.2.1805
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)

4 years agopatch 8.2.1804: resolve('/') returns an empty string v8.2.1804
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)

4 years agopatch 8.2.1803: a few failures are not tested v8.2.1803
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)

4 years agopatch 8.2.1802: Vim9: crash with unterminated dict v8.2.1802
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)

4 years agopatch 8.2.1801: undo file not found when using ":args" or ":next" v8.2.1801
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)

4 years agopatch 8.2.1800: Vim9: memory leak if "if" condition is invalid v8.2.1800
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.

4 years agopatch 8.2.1799: some Normal mode commands not fully tested v8.2.1799
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)

4 years agopatch 8.2.1798: Vim9: trinary operator condition is too permissive v8.2.1798
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().

4 years agopatch 8.2.1797: Vim9: some parts of the code not tested v8.2.1797
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.

4 years agopatch 8.2.1796: Vim9: invalid memory access with weird function name v8.2.1796
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.

4 years agopatch 8.2.1795: Vim9: operators && and || have a confusing result v8.2.1795
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.

4 years agopatch 8.2.1794: no falsy Coalescing operator v8.2.1794
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.

4 years agopatch 8.2.1793: not consistently giving the "is a directory" warning v8.2.1793
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)

4 years agopatch 8.2.1792: Configure does not recognize Racket 6.1+ v8.2.1792
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)

4 years agopatch 8.2.1791: Vim9: debugger test fails v8.2.1791
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".

4 years agopatch 8.2.1790: MS-Windows with Python: crash when executed from Vifm v8.2.1790
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)

4 years agopatch 8.2.1789: Vim9: crash with invalid list constant v8.2.1789
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)

4 years agopatch 8.2.1788: Vim9: still allows :let for declarations v8.2.1788
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.

4 years agopatch 8.2.1787: crash with 'incsearch' and very long line v8.2.1787
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)

4 years agopatch 8.2.1786: various Normal mode commands not fully tested v8.2.1786
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)

4 years agopatch 8.2.1785: compiler warning for strcp() out of bounds v8.2.1785
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.

4 years agopatch 8.2.1784: commits are not scanned for security problems v8.2.1784
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)

4 years agopatch 8.2.1783: try-catch test fails v8.2.1783
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().

4 years agopatch 8.2.1782: Vim9: cannot pass boolean to mapset() v8.2.1782
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)

4 years agopatch 8.2.1781: writing to prompt buffer interferes with insert mode v8.2.1781
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)

4 years agopatch 8.2.1780: statusline not updated when splitting windows v8.2.1780
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)

4 years agopatch 8.2.1779: some debian changelog files are not recognized v8.2.1779
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)

4 years agopatch 8.2.1778: Vim9: returning from a partial call clears outer context v8.2.1778
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)

4 years agopatch 8.2.1777: Vim9: some assignment tests in the wrong file v8.2.1777
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.

4 years agopatch 8.2.1776: filetype.vim may be loaded twice v8.2.1776
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)

4 years agopatch 8.2.1775: MS-Windows: adding a long quickfix list is slow v8.2.1775
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)

4 years agopatch 8.2.1774: GTK: hang when forced to exit v8.2.1774
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)

4 years agopatch 8.2.1773: crash when calling mapset() with a list as first argument v8.2.1773
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)

4 years agopatch 8.2.1772: cannot use CTRL-W <Down> to move out of a terminal window v8.2.1772
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)

4 years agopatch 8.2.1771: synIDattr() cannot get the value of ctermul v8.2.1771
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)

4 years agopatch 8.2.1770: invalid memory use when using SpellFileMissing autocmd v8.2.1770
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.

4 years agopatch 8.2.1769: popup filter interferes with using :normal to move the cursor v8.2.1769
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.

4 years agoUpdate runtime files.
Bram Moolenaar [Mon, 28 Sep 2020 19:48:16 +0000 (21:48 +0200)]
Update runtime files.

4 years agopatch 8.2.1768: cannot use the help menu from a terminal window v8.2.1768
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)

4 years agopatch 8.2.1767: Vim9: test fails with python support v8.2.1767
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.

4 years agopatch 8.2.1766: Vim9: Some tests are still using :let v8.2.1766
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.

4 years agopatch 8.2.1765: Vim9: some tests use "var var" v8.2.1765
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)

4 years agopatch 8.2.1764: Vim9: no error when assigning to script var with wrong type v8.2.1764
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)

4 years agopatch 8.2.1763: Vim9: cannot use "true" for popup window scrollbar option v8.2.1763
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)

4 years agopatch 8.2.1762: when a timer uses :stopinsert completion isn't stopped v8.2.1762
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).

4 years agopatch 8.2.1761: Vim9: Some tests are still using :let v8.2.1761
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.

4 years agopatch 8.2.1760: Vim9: crash when end marker is missing v8.2.1760
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)

4 years agopatch 8.2.1759: Vim9: Some tests are still using :let v8.2.1759
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.

4 years agopatch 8.2.1758: Vim9: type of unmaterialized list is wrong v8.2.1758
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>.

4 years agopatch 8.2.1757: Mac: default locale is lacking the encoding v8.2.1757
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)

4 years agopatch 8.2.1756: Vim9: :let will soon be disallowed v8.2.1756
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.

4 years agopatch 8.2.1755: Vim9: crash when using invalid heredoc marker v8.2.1755
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.

4 years agopatch 8.2.1754: completion with spell checking not tested v8.2.1754
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)

4 years agopatch 8.2.1753: Vim9: crash when using import at script level v8.2.1753
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)

4 years agopatch 8.2.1752: GTK GUI: cannot map alt-? with <A-?> v8.2.1752
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.

4 years agopatch 8.2.1751: using 2 where bool is expected may throw an error v8.2.1751
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.

4 years agopatch 8.2.1750: popup_setoptions() setting firstline fails if cursorline set v8.2.1750
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)

4 years agopatch 8.2.1749: Vim9: crash when closure fails in nested function v8.2.1749
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)

4 years agopatch 8.2.1748: closing split window in other tab may cause a crash v8.2.1748
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)

4 years agopatch 8.2.1747: result of expand() unexpectedly depends on 'completeslash' v8.2.1747
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)

4 years agopatch 8.2.1746: Vim9: cannot use "fina" for "finally" v8.2.1746
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)

4 years agopatch 8.2.1745: tiny version doesn't build v8.2.1745
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.

4 years agopatch 8.2.1744: Vim9: using ":const!" is weird v8.2.1744
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.

4 years agopatch 8.2.1743: cannot build without the eval feature v8.2.1743
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.

4 years agopatch 8.2.1742: test still fails without the terminal feature v8.2.1742
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.

4 years agopatch 8.2.1741: pathshorten() only supports using one character v8.2.1741
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)

4 years agopatch 8.2.1740: test fails without the terminal feature v8.2.1740
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.

4 years agopatch 8.2.1739: Vim9: crash when compiling a manually defined function v8.2.1739
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)

4 years agopatch 8.2.1738: Mac: str2float() recognizes comma instead of decimal point v8.2.1738
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)

4 years agopatch 8.2.1737: cursor line highlight in popup window is not always updated v8.2.1737
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)

4 years agopatch 8.2.1736: failure to compile a pattern not tested much v8.2.1736
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)

4 years agopatch 8.2.1735: Github actions appear to timeout too soon v8.2.1735
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".

4 years agopatch 8.2.1734: Vim9: cannot use a funcref for a closure twice v8.2.1734
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.

4 years agopatch 8.2.1733: Vim9: memory leaks when using nested function v8.2.1733
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.

4 years agopatch 8.2.1732: stuck when win_execute() for a popup causes an error v8.2.1732
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)

4 years agopatch 8.2.1731: Vim9: cannot use += to append to empty NULL list v8.2.1731
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)

4 years agopatch 8.2.1730: Vim9: cannot use member of unknown type v8.2.1730
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)

4 years agopatch 8.2.1729: endless loop when ":normal" feeds popup window filter v8.2.1729
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.

4 years agopatch 8.2.1728: compiler warning for using uninitialized variable v8.2.1728
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".

4 years agopatch 8.2.1727: a popup created with "cursorline" will ignore "firstline" v8.2.1727
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().

4 years agopatch 8.2.1726: fuzzy matching only works on strings v8.2.1726
Bram Moolenaar [Tue, 22 Sep 2020 18:33:50 +0000 (20:33 +0200)]
patch 8.2.1726: fuzzy matching only works on strings

Problem:    Fuzzy matching only works on strings.
Solution:   Support passing a dict.  Add matchfuzzypos() to also get the match
            positions. (Yegappan Lakshmanan, closes #6947)

4 years agopatch 8.2.1725: not all Pascal files are recognized v8.2.1725
Bram Moolenaar [Tue, 22 Sep 2020 17:15:31 +0000 (19:15 +0200)]
patch 8.2.1725: not all Pascal files are recognized

Problem:    Not all Pascal files are recognized.
Solution:   Add filetype patterns. (Doug Kearns)

4 years agopatch 8.2.1724: Vim9: assignment tests spread out v8.2.1724
Bram Moolenaar [Mon, 21 Sep 2020 20:21:42 +0000 (22:21 +0200)]
patch 8.2.1724: Vim9: assignment tests spread out

Problem:    Vim9: assignment tests spread out.
Solution:   Create new test file for assignment tests.

4 years agopatch 8.2.1723: Vim9: Variable argument name cannot start with underscore v8.2.1723
Bram Moolenaar [Mon, 21 Sep 2020 20:02:49 +0000 (22:02 +0200)]
patch 8.2.1723: Vim9: Variable argument name cannot start with underscore

Problem:    Vim9: Variable argument name cannot start with underscore.
Solution:   Use eval_isnamec1(). (closes #6988)

4 years agopatch 8.2.1722: Vim9: cannot assign a lambda to a variable of type function v8.2.1722
Bram Moolenaar [Mon, 21 Sep 2020 19:48:21 +0000 (21:48 +0200)]
patch 8.2.1722: Vim9: cannot assign a lambda to a variable of type function

Problem:    Vim9: cannot assign a lambda to a variable of type function.
Solution:   Allow for assigning a partial to a variable of type function.
            (Naruhiko Nishino, closes #6996)

4 years agopatch 8.2.1721: MS-Windows installer doesn't work v8.2.1721
Bram Moolenaar [Mon, 21 Sep 2020 19:29:57 +0000 (21:29 +0200)]
patch 8.2.1721: MS-Windows installer doesn't work

Problem:    MS-Windows installer doesn't work.
Solution:   Write "Russian" in ASCII. (closes #6995, see #).

4 years agopatch 8.2.1720: Vim9: memory leak with heredoc that isn't executed v8.2.1720
Bram Moolenaar [Mon, 21 Sep 2020 18:35:55 +0000 (20:35 +0200)]
patch 8.2.1720: Vim9: memory leak with heredoc that isn't executed

Problem:    Vim9: memory leak with heredoc that isn't executed. (Dominique
            Pellé)
Solution:   Don't clear the list items. (closes #6991)

4 years agopatch 8.2.1719: Vim9: no error if comma is missing in between arguments v8.2.1719
Bram Moolenaar [Sun, 20 Sep 2020 20:43:52 +0000 (22:43 +0200)]
patch 8.2.1719: Vim9: no error if comma is missing in between arguments

Problem:    Vim9: no error if comma is missing in between arguments.
Solution:   Give an error message.

4 years agopatch 8.2.1718: Vim9: :def function disallows "firstline" for no good reason v8.2.1718
Bram Moolenaar [Sun, 20 Sep 2020 20:04:00 +0000 (22:04 +0200)]
patch 8.2.1718: Vim9: :def function disallows "firstline" for no good reason

Problem:    Vim9: :def function disallows "firstline" and "lastline" argument
            names for no good reason.
Solution:   Don't check the arguments for a :def function. (closes #6986)

4 years agopatch 8.2.1717 v8.2.1717
Bram Moolenaar [Sun, 20 Sep 2020 19:43:03 +0000 (21:43 +0200)]
patch 8.2.1717
Problem:    MS-Windows installer doesn't have Russian translations.
Solution:   Add Russian translations. (closes #6985)