]> granicus.if.org Git - vim/log
vim
4 years agopatch 8.2.1843: Netbeans: with huge buffer number memory allocation may fail v8.2.1843
Bram Moolenaar [Tue, 13 Oct 2020 19:11:13 +0000 (21:11 +0200)]
patch 8.2.1843: Netbeans: with huge buffer number memory allocation may fail

Problem:    Netbeans: with huge buffer number memory allocation may fail.
Solution:   Check for size overflow.

4 years agopatch 8.2.1842: crash when USE_FNAME_CASE is defined and using :browse v8.2.1842
Bram Moolenaar [Tue, 13 Oct 2020 17:08:24 +0000 (19:08 +0200)]
patch 8.2.1842: crash when USE_FNAME_CASE is defined and using :browse

Problem:    Crash when USE_FNAME_CASE is defined and using :browse.
Solution:   Don't use read-only memory for ".". (Yegappan Lakshmanan,
            closes #7123)

4 years agopatch 8.2.1841: Vim9: test for compilation error fails in normal build v8.2.1841
Bram Moolenaar [Tue, 13 Oct 2020 16:38:11 +0000 (18:38 +0200)]
patch 8.2.1841: Vim9: test for compilation error fails in normal build

Problem:    Vim9: test for compilation error fails in normal build.
Solution:   Invoke CheckRunVimInTerminal in a separate function.

4 years agopatch 8.2.1840: Vim9: error message is not clear about compilation error v8.2.1840
Bram Moolenaar [Mon, 12 Oct 2020 20:07:13 +0000 (22:07 +0200)]
patch 8.2.1840: Vim9: error message is not clear about compilation error

Problem:    Vim9: error message is not clear about compilation error.
Solution:   Say "compiling" instead of "processing".

4 years agopatch 8.2.1839: Vim9: memory leaks reported in assign test v8.2.1839
Bram Moolenaar [Mon, 12 Oct 2020 18:31:26 +0000 (20:31 +0200)]
patch 8.2.1839: Vim9: memory leaks reported in assign test

Problem:    Vim9: memory leaks reported in assign test.
Solution:   Move the failing job_start() call to separate test files, it
            causes false leak reports.

4 years agopatch 8.2.1838: Vim9: cannot insert a comment line in an expression v8.2.1838
Bram Moolenaar [Sun, 11 Oct 2020 19:34:41 +0000 (21:34 +0200)]
patch 8.2.1838: Vim9: cannot insert a comment line in an expression

Problem:    Vim9: cannot insert a comment line in an expression.
Solution:   Skip comment lines at the script level. (closes #7111)

4 years agopatch 8.2.1837: using "gn" after "gN" does not work v8.2.1837
Bram Moolenaar [Sun, 11 Oct 2020 18:44:15 +0000 (20:44 +0200)]
patch 8.2.1837: using "gn" after "gN" does not work

Problem:    Using "gn" after "gN" does not work.
Solution:   Extend the other end of the Visual area. (closes #7109)

4 years agopatch 8.2.1836: autocmd test fails on pacifist systems v8.2.1836
Bram Moolenaar [Sun, 11 Oct 2020 18:08:44 +0000 (20:08 +0200)]
patch 8.2.1836: autocmd test fails on pacifist systems

Problem:    Autocmd test fails on pacifist systems.
Solution:   Check that /bin/kill exists. (James McCoy, closes #7117)
            Tune the timing, make the autocmd test run faster.

4 years agopatch 8.2.1835: ":help ??" finds the "!!" tag v8.2.1835
Bram Moolenaar [Sun, 11 Oct 2020 17:08:33 +0000 (19:08 +0200)]
patch 8.2.1835: ":help ??" finds the "!!" tag

Problem:    ":help ??" finds the "!!" tag.
Solution:   Do not translate "?" into ".".  (Naruhiko Nishino, closes #7114,
            closes #7115)

4 years agopatch 8.2.1834: PyEval_InitThreads() is deprecated in Python 3.9 v8.2.1834
Bram Moolenaar [Sun, 11 Oct 2020 16:05:02 +0000 (18:05 +0200)]
patch 8.2.1834: PyEval_InitThreads() is deprecated in Python 3.9

Problem:    PyEval_InitThreads() is deprecated in Python 3.9.
Solution:   Do not call PyEval_InitThreads in Python 3.9 and later. (Ken
            Takata, closes #7113)  Avoid warnings for functions.

4 years agopatch 8.2.1833: when reading from stdin dup() is called twice v8.2.1833
Bram Moolenaar [Sun, 11 Oct 2020 12:58:46 +0000 (14:58 +0200)]
patch 8.2.1833: when reading from stdin dup() is called twice

Problem:    When reading from stdin dup() is called twice.
Solution:   Remove the dup() in main.c. (Ken Takata, closes #7110)

4 years agopatch 8.2.1832: readdirex() error is displayed as a message v8.2.1832
Bram Moolenaar [Sun, 11 Oct 2020 12:28:11 +0000 (14:28 +0200)]
patch 8.2.1832: readdirex() error is displayed as a message

Problem:    readdirex() error is displayed as a message. (Yegappan Lakshmanan)
Solution:   Use semsg() instead of smsg().

4 years agopatch 8.2.1831: file missing from distribution v8.2.1831
Bram Moolenaar [Sun, 11 Oct 2020 12:22:22 +0000 (14:22 +0200)]
patch 8.2.1831: file missing from distribution

Problem:    File missing from distribution.
Solution:   Add the github code analyses file.

4 years agoUpdate runtime files.
Bram Moolenaar [Sun, 11 Oct 2020 11:57:40 +0000 (13:57 +0200)]
Update runtime files.

4 years agopatch 8.2.1830: MS-Windows: Python3 issue with stdin v8.2.1830
Bram Moolenaar [Sat, 10 Oct 2020 21:26:28 +0000 (23:26 +0200)]
patch 8.2.1830: MS-Windows: Python3 issue with stdin

Problem:    MS-Windows: Python3 issue with stdin.
Solution:   Check if stdin is readable. (Ken Takata, closes #7106)

4 years agopatch 8.2.1829: warnings when executing Github actions v8.2.1829
Bram Moolenaar [Sat, 10 Oct 2020 20:34:36 +0000 (22:34 +0200)]
patch 8.2.1829: warnings when executing Github actions

Problem:    Warnings when executing Github actions.
Solution:   Use another method to set environment variables. (Ken Takata,
            closes #7107)

4 years agopatch 8.2.1828: build failure without the +eval feature v8.2.1828
Bram Moolenaar [Sat, 10 Oct 2020 20:26:52 +0000 (22:26 +0200)]
patch 8.2.1828: build failure without the +eval feature

Problem:    Build failure without the +eval feature.
Solution:   Add dummys for ex_block and ex_endblock.

4 years agopatch 8.2.1827: filetype detection does not test enough file names v8.2.1827
Bram Moolenaar [Sat, 10 Oct 2020 19:50:25 +0000 (21:50 +0200)]
patch 8.2.1827: filetype detection does not test enough file names

Problem:    Filetype detection does not test enough file names.
Solution:   Test more file names. (Adam Stankiewicz, closes #7099)

4 years agopatch 8.2.1826: Vim9: cannot use a {} block at script level v8.2.1826
Bram Moolenaar [Sat, 10 Oct 2020 19:33:48 +0000 (21:33 +0200)]
patch 8.2.1826: Vim9: cannot use a {} block at script level

Problem:    Vim9: cannot use a {} block at script level.
Solution:   Recognize a {} block.

4 years agopatch 8.2.1825: Vim9: accessing freed memory v8.2.1825
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.

4 years agopatch 8.2.1824: Vim9: variables at the script level escape their scope v8.2.1824
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.

4 years agopatch 8.2.1823: "gN" does not select the matched string v8.2.1823
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.

4 years agopatch 8.2.1822: list test doesn't fail v8.2.1822
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.

4 years agopatch 8.2.1821: Vim9: concatenating to a NULL list doesn't work v8.2.1821
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)

4 years agopatch 8.2.1820: Vim9: crash when error happens in timer callback v8.2.1820
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)

4 years agopatch 8.2.1819: Vim9: Memory leak when using a closure v8.2.1819
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.

4 years agopatch 8.2.1818: SE Linux: deprecation warning for security_context_t v8.2.1818
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)

4 years agopatch 8.2.1817: Vim9: wrong instruction when reusing a local variable spot v8.2.1817
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)

4 years agopatch 8.2.1816: Vim9: another memory leak when using function reference v8.2.1816
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.

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)