]> granicus.if.org Git - vim/log
vim
4 years agopatch 8.2.1864: Vim9: no error for wrong list type v8.2.1864
Bram Moolenaar [Mon, 19 Oct 2020 14:07:42 +0000 (16:07 +0200)]
patch 8.2.1864: Vim9: no error for wrong list type

Problem:    Vim9: no error for wrong list type.
Solution:   Add flag to indicate a constant. (closes #7160)

4 years agopatch 8.2.1863: json code not sufficiently tested v8.2.1863
Bram Moolenaar [Mon, 19 Oct 2020 11:12:33 +0000 (13:12 +0200)]
patch 8.2.1863: json code not sufficiently tested

Problem:    Json code not sufficiently tested.
Solution:   Add more test cases. (Dominique Pellé, closes #7166)

4 years agopatch 8.2.1862: vim9: memory leak when compiling lambda fails v8.2.1862
Bram Moolenaar [Sun, 18 Oct 2020 21:32:13 +0000 (23:32 +0200)]
patch 8.2.1862: vim9: memory leak when compiling lambda fails

Problem:    vim9: memory leak when compiling lambda fails.
Solution:   Call clear_evalarg().

4 years agopatch 8.2.1861: Vim9: no specific error when parsing lambda fails v8.2.1861
Bram Moolenaar [Sun, 18 Oct 2020 16:03:17 +0000 (18:03 +0200)]
patch 8.2.1861: Vim9: no specific error when parsing lambda fails

Problem:    Vim9: no specific error when parsing lambda fails.
Solution:   Also give syntax errors when not evaluating. (closes #7154)

4 years agopatch 8.2.1860: Vim9: memory leak when throwing empty string v8.2.1860
Bram Moolenaar [Sat, 17 Oct 2020 20:58:21 +0000 (22:58 +0200)]
patch 8.2.1860: Vim9: memory leak when throwing empty string

Problem:    Vim9: memory leak when throwing empty string.
Solution:   Free the empty string.

4 years agopatch 8.2.1859: Vim9: crash in unpack assignment v8.2.1859
Bram Moolenaar [Sat, 17 Oct 2020 20:04:08 +0000 (22:04 +0200)]
patch 8.2.1859: Vim9: crash in unpack assignment

Problem:    Vim9: crash in unpack assignment.
Solution:   Make sure an error message is turned into an exception.
            (closes #7159)

4 years agopatch 8.2.1858: Vim9: filter functions return number instead of bool v8.2.1858
Bram Moolenaar [Sat, 17 Oct 2020 17:29:51 +0000 (19:29 +0200)]
patch 8.2.1858: Vim9: filter functions return number instead of bool

Problem:    Vim9: filter functions return number instead of bool.
Solution:   Return v:true instead of one. (closes #7144)

4 years agopatch 8.2.1857: Vim9: using job_status() on an unused var gives an error v8.2.1857
Bram Moolenaar [Sat, 17 Oct 2020 16:51:52 +0000 (18:51 +0200)]
patch 8.2.1857: Vim9: using job_status() on an unused var gives an error

Problem:    Vim9: using job_status() on an unused var gives an error.
Solution:   Return "fail". (closes #7158)

4 years agopatch 8.2.1856: "2resize" uses size of current window v8.2.1856
Bram Moolenaar [Sat, 17 Oct 2020 15:39:55 +0000 (17:39 +0200)]
patch 8.2.1856: "2resize" uses size of current window

Problem:    "2resize" uses size of current window.
Solution:   Use size of resized window. (Yasuhiro Matsumoto, closes #7152)

4 years agopatch 8.2.1855: Vim9: get error message when nothing is wrong v8.2.1855
Bram Moolenaar [Fri, 16 Oct 2020 21:16:47 +0000 (23:16 +0200)]
patch 8.2.1855: Vim9: get error message when nothing is wrong

Problem:    Vim9: get error message when nothing is wrong.
Solution:   Check called_emsg instead of did_emsg. (closes #7143)

4 years agopatch 8.2.1854: Vim9: crash when throwing exception for NULL string v8.2.1854
Bram Moolenaar [Fri, 16 Oct 2020 18:25:23 +0000 (20:25 +0200)]
patch 8.2.1854: Vim9: crash when throwing exception for NULL string

Problem:    Vim9: crash when throwing exception for NULL string. (Dhiraj
            Mishra)
Solution:   Handle NULL string like empty string. (closes #7139)

4 years agopatch 8.2.1853: "to_f" is recognized at "topleft" modifier v8.2.1853
Bram Moolenaar [Fri, 16 Oct 2020 17:56:12 +0000 (19:56 +0200)]
patch 8.2.1853: "to_f" is recognized at "topleft" modifier

Problem:    "to_f" is recognized at "topleft" modifier.
Solution:   Do not recognize modifer when "_" follows. (closes #7019)

4 years agopatch 8.2.1852: map() returing zero for NULL list is unexpected v8.2.1852
Bram Moolenaar [Thu, 15 Oct 2020 20:29:17 +0000 (22:29 +0200)]
patch 8.2.1852: map() returing zero for NULL list is unexpected

Problem:    map() returing zero for NULL list is unexpected.
Solution:   Return the empty list. (closes #7133)

4 years agopatch 8.2.1851: Vim9: "!" followed by space incorrectly used v8.2.1851
Bram Moolenaar [Thu, 15 Oct 2020 19:54:56 +0000 (21:54 +0200)]
patch 8.2.1851: Vim9: "!" followed by space incorrectly used

Problem:    Vim9: "!" followed by space incorrectly used.
Solution:   Skip over trailing spaces. (closes #7131)

4 years agopatch 8.2.1850: "vat" does not select tags correctly over line break v8.2.1850
Bram Moolenaar [Thu, 15 Oct 2020 19:23:28 +0000 (21:23 +0200)]
patch 8.2.1850: "vat" does not select tags correctly over line break

Problem:    "vat" does not select tags correctly over line break.
Solution:   Adjust the search pattern. (Aufar Gilbran, closes #7136)

4 years agopatch 8.2.1849: Vim9: garbage collection frees block-local variables v8.2.1849
Bram Moolenaar [Thu, 15 Oct 2020 18:42:20 +0000 (20:42 +0200)]
patch 8.2.1849: Vim9: garbage collection frees block-local variables

Problem:    Vim9: garbage collection frees block-local variables.
Solution:   Mark all script variables as used.

4 years agopatch 8.2.1848: crash when passing a NULL string or list to popup_settext() v8.2.1848
Bram Moolenaar [Thu, 15 Oct 2020 17:10:56 +0000 (19:10 +0200)]
patch 8.2.1848: crash when passing a NULL string or list to popup_settext()

Problem:    Crashyyyyy passing a NULL string or list to popup_settext().
Solution:   Check for NULL pointers. (closes #7132)

4 years agopatch 8.2.1847: Vim9: using negative value for unsigned type v8.2.1847
Bram Moolenaar [Thu, 15 Oct 2020 11:57:56 +0000 (13:57 +0200)]
patch 8.2.1847: Vim9: using negative value for unsigned type

Problem:    Vim9: using negative value for unsigned type.
Solution:   Use zero instead of -1.

4 years agopatch 8.2.1846: Vim9: block variables are not found in compiled function v8.2.1846
Bram Moolenaar [Thu, 15 Oct 2020 10:46:44 +0000 (12:46 +0200)]
patch 8.2.1846: Vim9: block variables are not found in compiled function

Problem:    Vim9: variables declared in a local block are not found in
            when a function is compiled.
Solution:   Look for script variables in sn_all_vars.

4 years agopatch 8.2.1845: Vim9: function defined in a block can't use block variables v8.2.1845
Bram Moolenaar [Wed, 14 Oct 2020 17:39:19 +0000 (19:39 +0200)]
patch 8.2.1845: Vim9: function defined in a block can't use block variables

Problem:    Vim9: function defined in a block can't use variables defined in
            that block.
Solution:   First step: Make a second hashtab that holds all script variables,
            also block-local ones, with more information.

4 years agopatch 8.2.1844: using "q" at the more prompt doesn't stop a long message v8.2.1844
Bram Moolenaar [Tue, 13 Oct 2020 20:15:56 +0000 (22:15 +0200)]
patch 8.2.1844: using "q" at the more prompt doesn't stop a long message

Problem:    Using "q" at the more prompt doesn't stop a long message.
Solution:   Check for "got_int". (closes #7122)

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.