]> granicus.if.org Git - vim/log
vim
4 years agopatch 8.2.0819: compiler warning for unused variable v8.2.0819
Bram Moolenaar [Sun, 24 May 2020 21:14:23 +0000 (23:14 +0200)]
patch 8.2.0819: compiler warning for unused variable

Problem:    Compiler warning for unused variable.
Solution:   Remove the variable.

4 years agopatch 8.2.0818: Vim9: using a discovery phase doesn't work well v8.2.0818
Bram Moolenaar [Sun, 24 May 2020 21:00:18 +0000 (23:00 +0200)]
patch 8.2.0818: Vim9: using a discovery phase doesn't work well

Problem:    Vim9: using a discovery phase doesn't work well.
Solution:   Remove the discovery phase, instead compile a function only when
            it is used.  Add :defcompile to compile def functions earlier.

4 years agopatch 8.2.0817: not enough memory allocated when converting string v8.2.0817
Bram Moolenaar [Sun, 24 May 2020 16:45:07 +0000 (18:45 +0200)]
patch 8.2.0817: not enough memory allocated when converting string

Problem:    Not enough memory allocated when converting string with special
            character.
Solution:   Reserve space for modifier code. (closes #6130)

4 years agopatch 8.2.0816: terminal test fails when compiled with Athena v8.2.0816
Bram Moolenaar [Sun, 24 May 2020 15:23:45 +0000 (17:23 +0200)]
patch 8.2.0816: terminal test fails when compiled with Athena

Problem:    Terminal test fails when compiled with Athena.
Solution:   Do give an error when the GUI is not running. (hint by Dominique
            Pelle, closes #5928, closes #6132)

4 years agopatch 8.2.0815: maparg() does not provide enough information for mapset() v8.2.0815
Bram Moolenaar [Sun, 24 May 2020 11:10:18 +0000 (13:10 +0200)]
patch 8.2.0815: maparg() does not provide enough information for mapset()

Problem:    maparg() does not provide enough information for mapset().
Solution:   Add "lhsraw" and "lhsrawalt" items.  Drop "simplified"

4 years agopatch 8.2.0814: clang warning for implicit conversion v8.2.0814
Bram Moolenaar [Sat, 23 May 2020 17:30:05 +0000 (19:30 +0200)]
patch 8.2.0814: clang warning for implicit conversion

Problem:    Clang warning for implicit conversion.
Solution:   Add type cast. (Dominique Pelle, closes #6124)

4 years agopatch 8.2.0813: libvterm code is slightly different from upstream v8.2.0813
Bram Moolenaar [Fri, 22 May 2020 20:06:06 +0000 (22:06 +0200)]
patch 8.2.0813: libvterm code is slightly different from upstream

Problem:    libvterm code is slightly different from upstream.
Solution:   Use upstream text to avoid future merge problems.  Mainly comment
            style changes.

4 years agopatch 8.2.0812: mapset() does not properly handle <> notation v8.2.0812
Bram Moolenaar [Fri, 22 May 2020 18:01:06 +0000 (20:01 +0200)]
patch 8.2.0812: mapset() does not properly handle <> notation

Problem:    mapset() does not properly handle <> notation.
Solution:   Convert <> codes. (closes #6116)

4 years agopatch 8.2.0811: terminal keycode test is flaky v8.2.0811
Bram Moolenaar [Fri, 22 May 2020 12:44:26 +0000 (14:44 +0200)]
patch 8.2.0811: terminal keycode test is flaky

Problem:    Terminal keycode test is flaky.
Solution:   Use WaitForAssert()

4 years agopatch 8.2.0810: error when appending "tagfile" to 'wildoptions' v8.2.0810
Bram Moolenaar [Fri, 22 May 2020 12:10:36 +0000 (14:10 +0200)]
patch 8.2.0810: error when appending "tagfile" to 'wildoptions'

Problem:    Error when appending "tagfile" to 'wildoptions'.
Solution:   use flags P_ONECOMMA and P_NODUP. (Dmitri Vereshchagin,
            closes #6105)

4 years agopatch 8.2.0809: build failure with small features v8.2.0809
Bram Moolenaar [Fri, 22 May 2020 11:38:18 +0000 (13:38 +0200)]
patch 8.2.0809: build failure with small features

Problem:    Build failure with small features. (Tony Mechelynck)
Solution:   Move "expr" inside #ifdef.

4 years agopatch 8.2.0808: not enough testing for the terminal window v8.2.0808
Bram Moolenaar [Fri, 22 May 2020 11:34:01 +0000 (13:34 +0200)]
patch 8.2.0808: not enough testing for the terminal window

Problem:    Not enough testing for the terminal window.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #6069)  Fix memory
            leak.

4 years agopatch 8.2.0807: cannot easily restore a mapping v8.2.0807
Bram Moolenaar [Fri, 22 May 2020 11:10:44 +0000 (13:10 +0200)]
patch 8.2.0807: cannot easily restore a mapping

Problem:    Cannot easily restore a mapping.
Solution:   Add mapset().

4 years agopatch 8.2.0806: using "func!" after vim9script gives confusing error v8.2.0806
Bram Moolenaar [Thu, 21 May 2020 19:50:58 +0000 (21:50 +0200)]
patch 8.2.0806: using "func!" after vim9script gives confusing error

Problem:    using "func!" after vim9script gives confusing error.
Solution:   Give E477. (closes #6107)

4 years agopatch 8.2.0805: terminal key codes test fails on some systems v8.2.0805
Bram Moolenaar [Thu, 21 May 2020 18:38:31 +0000 (20:38 +0200)]
patch 8.2.0805: terminal key codes test fails on some systems

Problem:    Terminal key codes test fails on some systems.
Solution:   Skip keypad 3 and 9. (Yegappan Lakshmanan, closes #6070)

4 years agopatch 8.2.0804: libvterm code lags behind the upstream version v8.2.0804
Bram Moolenaar [Thu, 21 May 2020 18:10:04 +0000 (20:10 +0200)]
patch 8.2.0804: libvterm code lags behind the upstream version

Problem:    Libvterm code lags behind the upstream version.
Solution:   Include revision 727, but add the index instead of switching
            between RGB and indexed.

4 years agopatch 8.2.0803: libvterm code lags behind the upstream version v8.2.0803
Bram Moolenaar [Wed, 20 May 2020 17:30:19 +0000 (19:30 +0200)]
patch 8.2.0803: libvterm code lags behind the upstream version

Problem:    Libvterm code lags behind the upstream version.
Solution:   Include revisions 764 - 767

4 years agopatch 8.2.0802: libvterm code lags behind the upstream version v8.2.0802
Bram Moolenaar [Wed, 20 May 2020 16:41:41 +0000 (18:41 +0200)]
patch 8.2.0802: libvterm code lags behind the upstream version

Problem:    Libvterm code lags behind the upstream version.
Solution:   Include revisions 759 - 762.

4 years agopatch 8.2.0801: terminal test fails on Mac v8.2.0801
Bram Moolenaar [Tue, 19 May 2020 21:11:00 +0000 (23:11 +0200)]
patch 8.2.0801: terminal test fails on Mac

Problem:    Terminal test fails on Mac.
Solution:   Concatenate OSC pieces.

4 years agopatch 8.2.0800: errors from failing test are unclear v8.2.0800
Bram Moolenaar [Tue, 19 May 2020 20:38:59 +0000 (22:38 +0200)]
patch 8.2.0800: errors from failing test are unclear

Problem:    Errors from failing test are unclear.
Solution:   Include text where parsing failed.

4 years agopatch 8.2.0799: build fails if snprintf is not available v8.2.0799
Bram Moolenaar [Tue, 19 May 2020 19:43:47 +0000 (21:43 +0200)]
patch 8.2.0799: build fails if snprintf is not available

Problem:    Build fails if snprintf is not available.
Solution:   Use vim_snprintf().

4 years agopatch 8.2.0798: libvterm code lags behind the upstream version v8.2.0798
Bram Moolenaar [Tue, 19 May 2020 19:20:04 +0000 (21:20 +0200)]
patch 8.2.0798: libvterm code lags behind the upstream version

Problem:    Libvterm code lags behind the upstream version.
Solution:   Include revisions 755 - 758.

4 years agopatch 8.2.0797: MS-Windows: compiler still can't handle C99 construct v8.2.0797
Bram Moolenaar [Tue, 19 May 2020 08:33:02 +0000 (10:33 +0200)]
patch 8.2.0797: MS-Windows: compiler still can't handle C99 construct

Problem:    MS-Windows: compiler still can't handle C99 construct.
Solution:   Change to C90 construct. (Dominique Pelle, closes #6106)

4 years agopatch 8.2.0796: MS-Windows: compiler can't handle C99 construct in libvterm v8.2.0796
Bram Moolenaar [Mon, 18 May 2020 21:27:50 +0000 (23:27 +0200)]
patch 8.2.0796: MS-Windows: compiler can't handle C99 construct in libvterm

Problem:    MS-Windows: compiler can't handle C99 construct in libvterm.
Solution:   Change to C90 construct.

4 years agopatch 8.2.0795: libvterm code lags behind the upstream version v8.2.0795
Bram Moolenaar [Mon, 18 May 2020 19:51:01 +0000 (21:51 +0200)]
patch 8.2.0795: libvterm code lags behind the upstream version

Problem:    Libvterm code lags behind the upstream version.
Solution:   Include revisions 748 - 754.

4 years agopatch 8.2.0794: libvterm code lags behind the upstream version v8.2.0794
Bram Moolenaar [Mon, 18 May 2020 19:12:59 +0000 (21:12 +0200)]
patch 8.2.0794: libvterm code lags behind the upstream version

Problem:    Libvterm code lags behind the upstream version.
Solution:   Include revisions 743 - 747.

4 years agopatch 8.2.0793: MS-Windows: cannot build GUI with small features v8.2.0793
Bram Moolenaar [Mon, 18 May 2020 18:17:02 +0000 (20:17 +0200)]
patch 8.2.0793: MS-Windows: cannot build GUI with small features

Problem:    MS-Windows: cannot build GUI with small features. (Michael Soyka)
Solution:   Add #ifdef around use of windowsVersion. (Ken Takata)

4 years agopatch 8.2.0792: build failure with small features v8.2.0792
Bram Moolenaar [Mon, 18 May 2020 18:12:09 +0000 (20:12 +0200)]
patch 8.2.0792: build failure with small features

Problem:    Build failure with small features.
Solution:   Add #ifdef.

4 years agopatch 8.2.0791: a second popup window with terminal causes trouble v8.2.0791
Bram Moolenaar [Mon, 18 May 2020 17:46:48 +0000 (19:46 +0200)]
patch 8.2.0791: a second popup window with terminal causes trouble

Problem:    A second popup window with terminal causes trouble.
Solution:   Disallow opening a second terminal-popup window. (closes #6101,
            closes #6103) Avoid defaulting to an invalid line number.

4 years agopatch 8.2.0790: Vim9: list index not well tested v8.2.0790
Bram Moolenaar [Mon, 18 May 2020 12:20:36 +0000 (14:20 +0200)]
patch 8.2.0790: Vim9: list index not well tested

Problem:    Vim9: list index not well tested.
Solution:   Add a few more tests.

4 years agopatch 8.2.0789: Vim9: expression testing lost coverage using constants v8.2.0789
Bram Moolenaar [Mon, 18 May 2020 11:38:02 +0000 (13:38 +0200)]
patch 8.2.0789: Vim9: expression testing lost coverage using constants

Problem:    Vim9: expression testing lost coverage using constants.
Solution:   Use a few variables instead of constants.

4 years agopatch 8.2.0788: memory leak in libvterm v8.2.0788
Bram Moolenaar [Sun, 17 May 2020 21:34:42 +0000 (23:34 +0200)]
patch 8.2.0788: memory leak in libvterm

Problem:    Memory leak in libvterm.
Solution:   free tmpbuffer.

4 years agopatch 8.2.0787: libvterm code lags behind the upstream version v8.2.0787
Bram Moolenaar [Sun, 17 May 2020 21:00:52 +0000 (23:00 +0200)]
patch 8.2.0787: libvterm code lags behind the upstream version

Problem:    Libvterm code lags behind the upstream version.
Solution:   Include revisions 741 - 742.

4 years agopatch 8.2.0786: channel test is flaky on FreeBSD v8.2.0786
Bram Moolenaar [Sun, 17 May 2020 20:33:53 +0000 (22:33 +0200)]
patch 8.2.0786: channel test is flaky on FreeBSD

Problem:    Channel test is flaky on FreeBSD.
Solution:   Set the sockiet TCP_NODELAY option. Adjust expected line count in
            netbeans test. (Ozaki Kiichi, closes #6097)

4 years agopatch 8.2.0785: libvterm code lags behind the upstream version v8.2.0785
Bram Moolenaar [Sun, 17 May 2020 20:27:55 +0000 (22:27 +0200)]
patch 8.2.0785: libvterm code lags behind the upstream version

Problem:    Libvterm code lags behind the upstream version.
Solution:   Include revisions 734 - 740.

4 years agopatch 8.2.0784: libvterm code lags behind the upstream version v8.2.0784
Bram Moolenaar [Sun, 17 May 2020 19:50:16 +0000 (21:50 +0200)]
patch 8.2.0784: libvterm code lags behind the upstream version

Problem:    Libvterm code lags behind the upstream version.
Solution:   Include revisions 730 - 733.

4 years agopatch 8.2.0783: libvterm code lags behind the upstream version v8.2.0783
Bram Moolenaar [Sun, 17 May 2020 18:52:45 +0000 (20:52 +0200)]
patch 8.2.0783: libvterm code lags behind the upstream version

Problem:    Libvterm code lags behind the upstream version.
Solution:   Include revisions 728 - 729.

4 years agopatch 8.2.0782: cannot build with Lua on MS-Windows v8.2.0782
Bram Moolenaar [Sun, 17 May 2020 16:53:27 +0000 (18:53 +0200)]
patch 8.2.0782: cannot build with Lua on MS-Windows

Problem:    Cannot build with Lua on MS-Windows.
Solution:   Add DLL symbol for luaL_Loadstring. (Ken Takata)

4 years agopatch 8.2.0781: compiler warning for not using value in Lua v8.2.0781
Bram Moolenaar [Sun, 17 May 2020 14:53:56 +0000 (16:53 +0200)]
patch 8.2.0781: compiler warning for not using value in Lua

Problem:    Compiler warning for not using value in Lua.
Solution:   Add "(void)".

4 years agopatch 8.2.0780: libvterm code lags behind the upstream version v8.2.0780
Bram Moolenaar [Sun, 17 May 2020 14:29:47 +0000 (16:29 +0200)]
patch 8.2.0780: libvterm code lags behind the upstream version

Problem:    Libvterm code lags behind the upstream version.
Solution:   Include revisions 724 - 726.

4 years agopatch 8.2.0779: tmode_T not used everywhere v8.2.0779
Bram Moolenaar [Sun, 17 May 2020 14:10:11 +0000 (16:10 +0200)]
patch 8.2.0779: tmode_T not used everywhere

Problem:    Tmode_T not used everywhere.
Solution:   Also use tmode_T for settmode().

4 years agopatch 8.2.0778: libvterm code lags behind the upstream version v8.2.0778
Bram Moolenaar [Sun, 17 May 2020 14:04:44 +0000 (16:04 +0200)]
patch 8.2.0778: libvterm code lags behind the upstream version

Problem:    Libvterm code lags behind the upstream version.
Solution:   Include revisions 720 - 723.

4 years agoUpdate feature_request.md
Bram Moolenaar [Sun, 17 May 2020 13:17:26 +0000 (15:17 +0200)]
Update feature_request.md

4 years agopatch 8.2.0777: terminal test fails v8.2.0777
Bram Moolenaar [Sun, 17 May 2020 13:09:27 +0000 (15:09 +0200)]
patch 8.2.0777: terminal test fails

Problem:    Terminal test fails.
Solution:   Adjust character position for double-wide characters.

4 years agopatch 8.2.0776: libvterm code lags behind the upstream version v8.2.0776
Bram Moolenaar [Sun, 17 May 2020 12:59:47 +0000 (14:59 +0200)]
patch 8.2.0776: libvterm code lags behind the upstream version

Problem:    Libvterm code lags behind the upstream version.
Solution:   Include revision 719.

4 years agopatch 8.2.0775: not easy to call a Vim function from Lua v8.2.0775
Bram Moolenaar [Sun, 17 May 2020 12:32:35 +0000 (14:32 +0200)]
patch 8.2.0775: not easy to call a Vim function from Lua

Problem:    Not easy to call a Vim function from Lua.
Solution:   Add vim.call() and vim.fn(). (Prabir Shrestha, closes #6063)

4 years agopatch 8.2.0774: t_TI and t_TE are output when using 'visualbell' v8.2.0774
Bram Moolenaar [Sun, 17 May 2020 12:06:16 +0000 (14:06 +0200)]
patch 8.2.0774: t_TI and t_TE are output when using 'visualbell'

Problem:    t_TI and t_TE are output when using 'visualbell'. (Dominique
            Pelle)
Solution:   Do not change the terminal mode for a short sleep.  Do not output
            t_TI and t_TE when switching to/from TMODE_SLEEP. Make tmode an
            enum.

4 years agopatch 8.2.0773: switching to raw mode every time ":" is used v8.2.0773
Bram Moolenaar [Sat, 16 May 2020 21:15:08 +0000 (23:15 +0200)]
patch 8.2.0773: switching to raw mode every time ":" is used

Problem:    Switching to raw mode every time ":" is used.
Solution:   When executing a shell set cur_tmode to TMODE_UNKNOWN, so that the
            next time TMODE_RAW is used it is set, but not every time.

4 years agopatch 8.2.0772: Vim9: some variable initializations not tested v8.2.0772
Bram Moolenaar [Sat, 16 May 2020 20:33:33 +0000 (22:33 +0200)]
patch 8.2.0772: Vim9: some variable initializations not tested

Problem:    Vim9: some variable initializations not tested.
Solution:   Add a few more tests

4 years agopatch 8.2.0771: Vim9: cannot call a compiled closure from not compiled code v8.2.0771
Bram Moolenaar [Sat, 16 May 2020 19:20:12 +0000 (21:20 +0200)]
patch 8.2.0771: Vim9: cannot call a compiled closure from not compiled code

Problem:    Vim9: cannot call a compiled closure from not compiled code.
Solution:   Pass funcexe to call_user_func().

4 years agopatch 8.2.0770: cannot map CTRL-B when using the GUI v8.2.0770
Bram Moolenaar [Sat, 16 May 2020 16:57:53 +0000 (18:57 +0200)]
patch 8.2.0770: cannot map CTRL-B when using the GUI

Problem:    Cannot map CTRL-B when using the GUI.
Solution:   Reset the CTRL modifier when used. (closes #6092)

4 years agopatch 8.2.0769: VimLeavePre not triggered when Vim is terminated v8.2.0769
Bram Moolenaar [Sat, 16 May 2020 14:08:35 +0000 (16:08 +0200)]
patch 8.2.0769: VimLeavePre not triggered when Vim is terminated

Problem:    VimLeavePre not triggered when Vim is terminated.
Solution:   Unblock autocommands.

4 years agopatch 8.2.0768: Vim9: memory leak in script test v8.2.0768
Bram Moolenaar [Sat, 16 May 2020 13:43:31 +0000 (15:43 +0200)]
patch 8.2.0768: Vim9: memory leak in script test

Problem:    Vim9: memory leak in script test.
Solution:   Clear typval before giving an error message.

4 years agopatch 8.2.0767: modifyOtherKeys active when using a shell command in autocmd v8.2.0767
Bram Moolenaar [Sat, 16 May 2020 13:05:04 +0000 (15:05 +0200)]
patch 8.2.0767: modifyOtherKeys active when using a shell command in autocmd

Problem:    ModifyOtherKeys active when using a shell command in autocmd.
Solution:   Output T_CTE when going to cooked mode. (closes 5617)

4 years agopatch 8.2.0766: display error when using 'number' and 'breakindent' v8.2.0766
Bram Moolenaar [Sat, 16 May 2020 12:07:39 +0000 (14:07 +0200)]
patch 8.2.0766: display error when using 'number' and 'breakindent'

Problem:    Display error when using 'number' and 'breakindent'.
Solution:   Adjust extra spaces in the first row. (Ken Takata, closes #6089,
            closes #5986)

4 years agopatch 8.2.0765: In the GUI can't use all the modifiers. v8.2.0765
Bram Moolenaar [Sat, 16 May 2020 12:01:51 +0000 (14:01 +0200)]
patch 8.2.0765: In the GUI can't use all the modifiers.

Problem:    In the GUI can't use all the modifiers. (Andri Möll)
Solution:   Do not apply Alt/Meta early, do it later like with the terminal.
            Avoid the Motif test from crashing.

4 years agopatch 8.2.0764: Vim9: assigning to option not fully tested v8.2.0764
Bram Moolenaar [Fri, 15 May 2020 21:36:40 +0000 (23:36 +0200)]
patch 8.2.0764: Vim9: assigning to option not fully tested

Problem:    Vim9: assigning to option not fully tested.
Solution:   Add more test cases. Allow using any type for assignment.

4 years agopatch 8.2.0763: GUI test fails without the terminal feature v8.2.0763
Bram Moolenaar [Fri, 15 May 2020 20:46:44 +0000 (22:46 +0200)]
patch 8.2.0763: GUI test fails without the terminal feature

Problem:    GUI test fails without the terminal feature.
Solution:   Check the terminal feature is supported. (Ken Takata,
            closes #6084)

4 years agopatch 8.2.0762: buffer is not considered modified after setting crypt key v8.2.0762
Bram Moolenaar [Fri, 15 May 2020 20:30:38 +0000 (22:30 +0200)]
patch 8.2.0762: buffer is not considered modified after setting crypt key

Problem:    Buffer is not considered modified after setting crypt key.
Solution:   Set the modified flag. (Christian Brabandt, closes #6082)

4 years agopatch 8.2.0761: Vim9: instructions not tested v8.2.0761
Bram Moolenaar [Fri, 15 May 2020 20:01:57 +0000 (22:01 +0200)]
patch 8.2.0761: Vim9: instructions not tested

Problem:    Vim9: instructions not tested
Solution:   Use a variable instead of a constant.

4 years agopatch 8.2.0760: Vim9: dict member errors not tested v8.2.0760
Bram Moolenaar [Fri, 15 May 2020 19:44:19 +0000 (21:44 +0200)]
patch 8.2.0760: Vim9: dict member errors not tested

Problem:    Vim9: dict member errors not tested.
Solution:   Delete unreachable error.  Add tests.

4 years agopatch 8.2.0759: Vim9: missing changes for performance improvements v8.2.0759
Bram Moolenaar [Fri, 15 May 2020 19:42:53 +0000 (21:42 +0200)]
patch 8.2.0759: Vim9: missing changes for performance improvements

Problem:    Vim9: missing changes for performance improvements
Solution:   Use GA_GROW().  Don't call breakcheck so often.

4 years agopatch 8.2.0758: Vim9: no test for STORELIST and STOREDICT v8.2.0758
Bram Moolenaar [Fri, 15 May 2020 18:53:00 +0000 (20:53 +0200)]
patch 8.2.0758: Vim9: no test for STORELIST and STOREDICT

Problem:    Vim9: no test for STORELIST and STOREDICT.
Solution:   Add a test.  Make matches stricter.

4 years agopatch 8.2.0757: Vim9: no test for MEMBER instruction v8.2.0757
Bram Moolenaar [Fri, 15 May 2020 17:21:31 +0000 (19:21 +0200)]
patch 8.2.0757: Vim9: no test for MEMBER instruction

Problem:    Vim9: no test for MEMBER instruction.
Solution:   Add a test.  Make matches stricter.

4 years agopatch 8.2.0756: MS-Windows: still a compiler warning v8.2.0756
Bram Moolenaar [Fri, 15 May 2020 16:21:51 +0000 (18:21 +0200)]
patch 8.2.0756: MS-Windows: still a compiler warning

Problem:    MS-Windows: still a compiler warning.
Solution:   Move flag to another place in the Makefile. (Ken Takata,
            closes #6083)

4 years agopatch 8.2.0755: Vim9: No error when variable initializer is not a constant v8.2.0755
Bram Moolenaar [Fri, 15 May 2020 16:17:28 +0000 (18:17 +0200)]
patch 8.2.0755: Vim9: No error when variable initializer is not a constant

Problem:    Vim9: No error when variable initializer is not a constant.
Solution:   Return FAIL when trying to get a variable value.  Do not execute a
            script when an error is deteted in the first or second phase.

4 years agopatch 8.2.0754: Vim9: No test for forward declaration v8.2.0754
Bram Moolenaar [Thu, 14 May 2020 21:20:55 +0000 (23:20 +0200)]
patch 8.2.0754: Vim9: No test for forward declaration

Problem:    Vim9: No test for forward declaration.
Solution:   Add a test.

4 years agopatch 8.2.0753: Vim9: expressions are evaluated in the discovery phase v8.2.0753
Bram Moolenaar [Thu, 14 May 2020 20:41:15 +0000 (22:41 +0200)]
patch 8.2.0753: Vim9: expressions are evaluated in the discovery phase

Problem:    Vim9: expressions are evaluated in the discovery phase.
Solution:   Bail out if an expression is not a constant.  Require a type for
            declared constants.

4 years agopatch 8.2.0752: terminal in popup window test is a bit flaky v8.2.0752
Bram Moolenaar [Wed, 13 May 2020 21:24:12 +0000 (23:24 +0200)]
patch 8.2.0752: terminal in popup window test is a bit flaky

Problem:    Terminal in popup window test is a bit flaky.
Solution:   Wait for shell job status to be "run".  Mark as flaky test.

4 years agoUpdate version.c for missing patch number
Bram Moolenaar [Wed, 13 May 2020 21:21:55 +0000 (23:21 +0200)]
Update version.c for missing patch number

4 years agopatch 8.2.0751: Vim9: performance can be improved v8.2.0751
Bram Moolenaar [Wed, 13 May 2020 20:44:22 +0000 (22:44 +0200)]
patch 8.2.0751: Vim9: performance can be improved

Problem:    Vim9: performance can be improved.
Solution:   Don't call break.  Inline check for list materialize.  Make an
            inline version of ga_grow().

4 years agopatch 8.2.0750: netbeans test is a bit flaky v8.2.0750
Bram Moolenaar [Wed, 13 May 2020 15:16:04 +0000 (17:16 +0200)]
patch 8.2.0750: netbeans test is a bit flaky

Problem:    Netbeans test is a bit flaky.
Solution:   Allow for standard sign to be defined.  Use WaitForAssert().

4 years agopatch 8.2.0749: TERM signal test fails on FreeBSD v8.2.0749
Bram Moolenaar [Wed, 13 May 2020 14:53:49 +0000 (16:53 +0200)]
patch 8.2.0749: TERM signal test fails on FreeBSD

Problem:    TERM signal test fails on FreeBSD.
Solution:   Do not check the messages, the may appear anywhere. (Dominique
            Pelle, closes #6075)

4 years agopatch 8.2.0748: cannot get a list of all popups v8.2.0748
Bram Moolenaar [Wed, 13 May 2020 14:34:15 +0000 (16:34 +0200)]
patch 8.2.0748: cannot get a list of all popups

Problem:    Cannot get a list of all popups.
Solution:   Add popup_list().  Use it in the test runner.

4 years agopatch 8.2.0747: cannot forcefully close all popups v8.2.0747
Bram Moolenaar [Wed, 13 May 2020 11:40:16 +0000 (13:40 +0200)]
patch 8.2.0747: cannot forcefully close all popups

Problem:    Cannot forcefully close all popups.
Solution:   Add the "force" argument to popup_clear().  Use it after running a
            test.  Put back the check for a popup when editing a file.

4 years agopatch 8.2.0746: popup_clear() hangs when a popup can't be closed v8.2.0746
Bram Moolenaar [Tue, 12 May 2020 23:04:32 +0000 (01:04 +0200)]
patch 8.2.0746: popup_clear() hangs when a popup can't be closed

Problem:    popup_clear() hangs when a popup can't be closed.
Solution:   Bail out when a popup can't be closed.

4 years agopatch 8.2.0745: crash on exit when not all popups are closed v8.2.0745
Bram Moolenaar [Tue, 12 May 2020 21:45:16 +0000 (23:45 +0200)]
patch 8.2.0745: crash on exit when not all popups are closed

Problem:    Crash on exit when not all popups are closed.
Solution:   Close popups when freeing all memory.  Disable checking for popup
            when editing a file for now.

4 years agoUpdate runtime files
Bram Moolenaar [Tue, 12 May 2020 20:49:12 +0000 (22:49 +0200)]
Update runtime files

4 years agopatch 8.2.0744: the name vim is not capatilized in a message v8.2.0744
Bram Moolenaar [Tue, 12 May 2020 20:21:26 +0000 (22:21 +0200)]
patch 8.2.0744: the name vim is not capatilized in a message

Problem:    The name vim is not capatilized in a message.
Solution:   Use "Vim" instead of "vim".

4 years agopatch 8.2.0743: can move to another buffer from a terminal in popup window v8.2.0743
Bram Moolenaar [Tue, 12 May 2020 20:02:21 +0000 (22:02 +0200)]
patch 8.2.0743: can move to another buffer from a terminal in popup window

Problem:    Can move to another buffer from a terminal in popup window.
Solution:   Do not allow "gf" or editing a file. (closes #6072)

4 years agopatch 8.2.0742: handling of a TERM signal not tested v8.2.0742
Bram Moolenaar [Tue, 12 May 2020 12:42:02 +0000 (14:42 +0200)]
patch 8.2.0742: handling of a TERM signal not tested

Problem:    Handling of a TERM signal not tested.
Solution:   Add a test for SIGTERM. (Dominique Pelle, closes #6055)

4 years agopatch 8.2.0741: Python tests fail because of changed message v8.2.0741
Bram Moolenaar [Tue, 12 May 2020 11:08:07 +0000 (13:08 +0200)]
patch 8.2.0741: Python tests fail because of changed message

Problem:    Python tests fail because of changed message.
Solution:   Adjust the expected messages (Dominique Pelle, closes #6066)

4 years agopatch 8.2.0740: minor message mistakes v8.2.0740
Bram Moolenaar [Mon, 11 May 2020 21:14:04 +0000 (23:14 +0200)]
patch 8.2.0740: minor message mistakes

Problem:    Minor message mistakes.
Solution:   Change vim to Vim and other fixes.

4 years agopatch 8.2.0739: incomplete profiling when exiting because of a dealy signal v8.2.0739
Bram Moolenaar [Mon, 11 May 2020 20:13:28 +0000 (22:13 +0200)]
patch 8.2.0739: incomplete profiling when exiting because of a dealy signal

Problem:    Incomplete profiling when exiting because of a dealy signal.
Solution:   Call __gcov_flush() if available.

4 years agopatch 8.2.0738: mouse handling in a terminal window not well tested v8.2.0738
Bram Moolenaar [Mon, 11 May 2020 20:04:53 +0000 (22:04 +0200)]
patch 8.2.0738: mouse handling in a terminal window not well tested

Problem:    Mouse handling in a terminal window not well tested.
Solution:   Add tests. (Yegappan Lakshmanan, closes #6052)

4 years agopatch 8.2.0737: when shell doesn't support CTRL-Z Vim still handles it v8.2.0737
Bram Moolenaar [Mon, 11 May 2020 18:54:42 +0000 (20:54 +0200)]
patch 8.2.0737: when shell doesn't support CTRL-Z Vim still handles it

Problem:    When shell doesn't support CTRL-Z Vim still handles it.
Solution:   Ignore the STOP signal if it was ignored on startup.
            (Kurtis Rader, closes #5990, closes #6058)

4 years agopatch 8.2.0736: some files not recognized as pamenv v8.2.0736
Bram Moolenaar [Mon, 11 May 2020 17:46:36 +0000 (19:46 +0200)]
patch 8.2.0736: some files not recognized as pamenv

Problem:    Some files not recognized as pamenv.
Solution:   Add pam_inv.conf. (closes #6065)

4 years agopatch 8.2.0735: Vim9: using unitialized memory v8.2.0735
Bram Moolenaar [Sun, 10 May 2020 21:20:06 +0000 (23:20 +0200)]
patch 8.2.0735: Vim9: using unitialized memory

Problem:    Vim9: using unitialized memory.
Solution:   Clear the arg_lvar field.

4 years agopatch 8.2.0734: Vim9: leaking memory when using :finish v8.2.0734
Bram Moolenaar [Sun, 10 May 2020 21:11:53 +0000 (23:11 +0200)]
patch 8.2.0734: Vim9: leaking memory when using :finish

Problem:    Vim9: leaking memory when using :finish.
Solution:   Do not check for next line in third pass.

4 years agopatch 8.2.0733: Vim9: assigning to dict or list argument does not work v8.2.0733
Bram Moolenaar [Sun, 10 May 2020 20:53:56 +0000 (22:53 +0200)]
patch 8.2.0733: Vim9: assigning to dict or list argument does not work

Problem:    Vim9: assigning to dict or list argument does not work.
Solution:   Recognize an argument as assignment target.

4 years agopatch 8.2.0732: Vim9: storing value in dict messes up stack v8.2.0732
Bram Moolenaar [Sun, 10 May 2020 19:47:43 +0000 (21:47 +0200)]
patch 8.2.0732: Vim9: storing value in dict messes up stack

Problem:    Vim9: storing value in dict messes up stack.
Solution:   Correct item count of stack.

4 years agopatch 8.2.0731: Vim9: parsing declarations continues after :finish v8.2.0731
Bram Moolenaar [Sun, 10 May 2020 19:20:29 +0000 (21:20 +0200)]
patch 8.2.0731: Vim9: parsing declarations continues after :finish

Problem:    Vim9: parsing declarations continues after :finish.
Solution:   Bail out when encountering :finish.

4 years agopatch 8.2.0730: Vim9: Assignment to dict member does not work v8.2.0730
Bram Moolenaar [Sun, 10 May 2020 17:10:31 +0000 (19:10 +0200)]
patch 8.2.0730: Vim9: Assignment to dict member does not work

Problem:    Vim9: Assignment to dict member does not work.
Solution:   Parse dict assignment. Implement getting dict member.

4 years agopatch 8.2.0729: Vim9: When reloading a script variables are not cleared v8.2.0729
Bram Moolenaar [Sun, 10 May 2020 13:24:44 +0000 (15:24 +0200)]
patch 8.2.0729: Vim9: When reloading a script variables are not cleared

Problem:    Vim9: When reloading a script variables are not cleared.
Solution:   When sourcing a script again clear all script-local variables.

4 years agopatch 8.2.0728: messages about a deadly signal are not left aligned v8.2.0728
Bram Moolenaar [Sun, 10 May 2020 12:14:03 +0000 (14:14 +0200)]
patch 8.2.0728: messages about a deadly signal are not left aligned

Problem:    Messages about a deadly signal are not left aligned.
Solution:   Output a CR before the NL. (Dominique Pelle, #6055)

4 years agopatch 8.2.0727: MS-Windows: new gcc compiler does not support scanf format v8.2.0727
Bram Moolenaar [Sun, 10 May 2020 11:42:43 +0000 (13:42 +0200)]
patch 8.2.0727: MS-Windows: new gcc compiler does not support scanf format

Problem:    MS-Windows: new gcc compiler does not support scanf format.
Solution:   Use "%ll" instead of "%I". (Ken Takata)

4 years agopatch 8.2.0726: Vim9: leaking memory when calling not compiled :def function v8.2.0726
Bram Moolenaar [Sat, 9 May 2020 21:20:20 +0000 (23:20 +0200)]
patch 8.2.0726: Vim9: leaking memory when calling not compiled :def function

Problem:    Vim9: leaking memory when calling not compiled :def function.
Solution:   Check if function is compiled earlier.

4 years agopatch 8.2.0725: Vim9: cannot call a function declared later in Vim9 script v8.2.0725
Bram Moolenaar [Sat, 9 May 2020 20:50:08 +0000 (22:50 +0200)]
patch 8.2.0725: Vim9: cannot call a function declared later in Vim9 script

Problem:    Vim9: cannot call a function declared later in Vim9 script.
Solution:   Make two passes through the script file.

4 years agopatch 8.2.0724: Vim9: appending to buffer/window/tab variable not tested v8.2.0724
Bram Moolenaar [Sat, 9 May 2020 16:44:56 +0000 (18:44 +0200)]
patch 8.2.0724: Vim9: appending to buffer/window/tab variable not tested

Problem:    Vim9: appending to buffer/window/tab variable not tested
Solution:   Add a test.

4 years agopatch 8.2.0723: Vim9: nested constant expression not evaluated compile time v8.2.0723
Bram Moolenaar [Sat, 9 May 2020 16:28:34 +0000 (18:28 +0200)]
patch 8.2.0723: Vim9: nested constant expression not evaluated compile time

Problem:    Vim9: nested constant expression not evaluated compile time.
Solution:   Use compile_expr1() for parenthesis.