]> granicus.if.org Git - vim/log
vim
5 years agopatch 8.2.0323: Vim9: calling a function that is defined later is slow v8.2.0323
Bram Moolenaar [Wed, 26 Feb 2020 20:24:23 +0000 (21:24 +0100)]
patch 8.2.0323: Vim9: calling a function that is defined later is slow

Problem:    Vim9: calling a function that is defined later is slow.
Solution:   Once the function is found update the instruction so it can be
            called directly.

5 years agopatch 8.2.0322: Vim9: error checks not tested v8.2.0322
Bram Moolenaar [Wed, 26 Feb 2020 19:15:18 +0000 (20:15 +0100)]
patch 8.2.0322: Vim9: error checks not tested

Problem:    Vim9: error checks not tested.
Solution:   Add more test cases.  Avoid error for function loaded later.

5 years agopatch 8.2.0321: Vim9: ":execute" does not work yet v8.2.0321
Bram Moolenaar [Wed, 26 Feb 2020 17:23:43 +0000 (18:23 +0100)]
patch 8.2.0321: Vim9: ":execute" does not work yet

Problem:    Vim9: ":execute" does not work yet.
Solution:   Add ISN_EXECUTE. (closes #5699) Also make :echo work with more
            than one argument.

5 years agopatch 8.2.0320: no Haiku support v8.2.0320
Bram Moolenaar [Wed, 26 Feb 2020 15:16:53 +0000 (16:16 +0100)]
patch 8.2.0320: no Haiku support

Problem:    No Haiku support.
Solution:   Add support for Haiku. (Emir Sari, closes #5605)

5 years agopatch 8.2.0319: file missing in distribution, comments outdated v8.2.0319
Bram Moolenaar [Wed, 26 Feb 2020 12:43:51 +0000 (13:43 +0100)]
patch 8.2.0319: file missing in distribution, comments outdated

Problem:    File missing in distribution, comments outdated.
Solution:   Correct path of README file.  Update comments.

5 years agoUpdate runtime files.
Bram Moolenaar [Wed, 26 Feb 2020 12:36:21 +0000 (13:36 +0100)]
Update runtime files.

5 years agopatch 8.2.0318: Vim9: types not sufficiently tested v8.2.0318
Bram Moolenaar [Tue, 25 Feb 2020 21:58:29 +0000 (22:58 +0100)]
patch 8.2.0318: Vim9: types not sufficiently tested

Problem:    Vim9: types not sufficiently tested.
Solution:   Add tests with more types.

5 years agopatch 8.2.0317: MSVC: _CRT_SECURE_NO_DEPRECATE not defined on DEBUG build v8.2.0317
Bram Moolenaar [Tue, 25 Feb 2020 21:04:55 +0000 (22:04 +0100)]
patch 8.2.0317: MSVC: _CRT_SECURE_NO_DEPRECATE not defined on DEBUG build

Problem:    MSVC: _CRT_SECURE_NO_DEPRECATE not defined on DEBUG build.
Solution:   Move where CFLAGS is updated. (Ken Takata, closes #5692)

5 years agopatch 8.2.0316: ex_getln.c code has insufficient test coverage v8.2.0316
Bram Moolenaar [Tue, 25 Feb 2020 20:47:45 +0000 (21:47 +0100)]
patch 8.2.0316: ex_getln.c code has insufficient test coverage

Problem:    ex_getln.c code has insufficient test coverage.
Solution:   Add more tests. Fix a problem. (Yegappan Lakshmanan, closes #5693)

5 years agopatch 8.2.0315: build failure on HP-UX system v8.2.0315
Bram Moolenaar [Tue, 25 Feb 2020 20:26:49 +0000 (21:26 +0100)]
patch 8.2.0315: build failure on HP-UX system

Problem:    Build failure on HP-UX system.
Solution:   Use LONG_LONG_MIN instead of LLONG_MIN.  Add type casts for switch
            statement. (John Marriott)

5 years agopatch 8.2.0314: short name not set for terminal buffer v8.2.0314
Bram Moolenaar [Mon, 24 Feb 2020 20:37:54 +0000 (21:37 +0100)]
patch 8.2.0314: short name not set for terminal buffer

Problem:    Short name not set for terminal buffer.
Solution:   Set the short name. (closes #5687)

5 years agopatch 8.2.0313: Vim9: insufficient script tests v8.2.0313
Bram Moolenaar [Sun, 23 Feb 2020 21:35:05 +0000 (22:35 +0100)]
patch 8.2.0313: Vim9: insufficient script tests

Problem:    Vim9: insufficient script tests.
Solution:   Add tests.  Make import of alphanumeric name work.

5 years agopatch 8.2.0312: Vim9: insufficient script tests v8.2.0312
Bram Moolenaar [Sun, 23 Feb 2020 20:25:54 +0000 (21:25 +0100)]
patch 8.2.0312: Vim9: insufficient script tests

Problem:    Vim9: insufficient script tests.
Solution:   Add more tests.  Make "import * as Name" work.

5 years agopatch 8.2.0311: Vim9: insufficient script tests v8.2.0311
Bram Moolenaar [Sun, 23 Feb 2020 17:08:33 +0000 (18:08 +0100)]
patch 8.2.0311: Vim9: insufficient script tests

Problem:    Vim9: insufficient script tests.
Solution:   Add tests.  Free imports when re-using a script.

5 years agopatch 8.2.0310: autocmd test fails on a slow system v8.2.0310
Bram Moolenaar [Sun, 23 Feb 2020 15:16:26 +0000 (16:16 +0100)]
patch 8.2.0310: autocmd test fails on a slow system

Problem:    Autocmd test fails on a slow system.
Solution:   Adjust the expectations. (James McCoy, closes #5685)

5 years agopatch 8.2.0309: window-local values have confusing name v8.2.0309
Bram Moolenaar [Sun, 23 Feb 2020 14:29:46 +0000 (15:29 +0100)]
patch 8.2.0309: window-local values have confusing name

Problem:    Window-local values have confusing name.
Solution:   Rename w_p_bri* to w_briopt_*.

5 years agopatch 8.2.0308: 'showbreak' does not work for a very long line v8.2.0308
Bram Moolenaar [Sun, 23 Feb 2020 14:17:27 +0000 (15:17 +0100)]
patch 8.2.0308: 'showbreak' does not work for a very long line

Problem:    'showbreak' does not work for a very long line. (John Little)
Solution:   Check whether 'briopt' contains "sbr". (Ken Takata, closes #5523,
            closes #5684)

5 years agopatch 8.2.0307: Python 3 vim.eval not well tested v8.2.0307
Bram Moolenaar [Sun, 23 Feb 2020 14:10:16 +0000 (15:10 +0100)]
patch 8.2.0307: Python 3 vim.eval not well tested

Problem:    Python 3 vim.eval not well tested.
Solution:   Add a test. (Dominique Pelle, closes #5680)

5 years agopatch 8.2.0306: Vim9: :substitute(pat(repl does not work in Vim9 script v8.2.0306
Bram Moolenaar [Sun, 23 Feb 2020 13:35:01 +0000 (14:35 +0100)]
patch 8.2.0306: Vim9: :substitute(pat(repl does not work in Vim9 script

Problem:    Vim9: :substitute(pat(repl does not work in Vim9 script.
Solution:   Remember starting with a colon. (closes #5676)

5 years agopatch 8.2.0305: relativenumber test fails on some systems v8.2.0305
Bram Moolenaar [Sun, 23 Feb 2020 12:38:08 +0000 (13:38 +0100)]
patch 8.2.0305: relativenumber test fails on some systems

Problem:    Relativenumber test fails on some systems. (James McCoy)
Solution:   Clear the command line.

5 years agopatch 8.2.0304: terminal test if failing on some systems v8.2.0304
Bram Moolenaar [Sun, 23 Feb 2020 12:29:31 +0000 (13:29 +0100)]
patch 8.2.0304: terminal test if failing on some systems

Problem:    Terminal test if failing on some systems.
Solution:   Wait for the job to finish. (James McCoy)

5 years agopatch 8.2.0303: TermChanged test fails in the GUI v8.2.0303
Bram Moolenaar [Sat, 22 Feb 2020 22:08:52 +0000 (23:08 +0100)]
patch 8.2.0303: TermChanged test fails in the GUI

Problem:    TermChanged test fails in the GUI.
Solution:   Skip the test when running the GUI.

5 years agopatch 8.2.0302: setting 'term' may cause error in TermChanged autocommand v8.2.0302
Bram Moolenaar [Sat, 22 Feb 2020 21:45:55 +0000 (22:45 +0100)]
patch 8.2.0302: setting 'term' may cause error in TermChanged autocommand

Problem:    Setting 'term' may cause error in TermChanged autocommand.
Solution:   Use aucmd_prepbuf() to switch to the buffer where the autocommand
            is to be executed. (closes #5682)

5 years agopatch 8.2.0301: insufficient testing for exception handling v8.2.0301
Bram Moolenaar [Sat, 22 Feb 2020 20:21:27 +0000 (21:21 +0100)]
patch 8.2.0301: insufficient testing for exception handling

Problem:    Insufficient testing for exception handling and the "attention"
            prompt.
Solution:   Add test cases. (Yegappan Lakshmanan, closes #5681)

5 years agopatch 8.2.0300: Vim9: expression test fails without channel support v8.2.0300
Bram Moolenaar [Sat, 22 Feb 2020 19:33:08 +0000 (20:33 +0100)]
patch 8.2.0300: Vim9: expression test fails without channel support

Problem:    Vim9: expression test fails without channel support.
Solution:   Add has('channel') check.

5 years agopatch 8.2.0299: Vim9: ISN_STORE with argument not tested v8.2.0299
Bram Moolenaar [Sat, 22 Feb 2020 18:07:28 +0000 (19:07 +0100)]
patch 8.2.0299: Vim9: ISN_STORE with argument not tested

Problem:    Vim9: ISN_STORE with argument not tested.  Some cases in tv2bool()
            not tested.
Solution:   Add tests.  Add test_unknown() and test_void().

5 years agopatch 8.2.0298: Vim9 script: cannot start command with a string constant v8.2.0298
Bram Moolenaar [Sat, 22 Feb 2020 17:36:32 +0000 (18:36 +0100)]
patch 8.2.0298: Vim9 script: cannot start command with a string constant

Problem:    Vim9 script: cannot start command with a string constant.
Solution:   Recognize expression starting with '('.

5 years agopatch 8.2.0297: compiler warnings for the Ruby interface v8.2.0297
Bram Moolenaar [Sat, 22 Feb 2020 14:01:00 +0000 (15:01 +0100)]
patch 8.2.0297: compiler warnings for the Ruby interface

Problem:    Compiler warnings for the Ruby interface.
Solution:   Undefine a few macros, fix initialization. (Ozaki Kiichi,
            closes #5677)

5 years agopatch 8.2.0296: mixing up "long long" and __int64 may cause problems v8.2.0296
Bram Moolenaar [Sat, 22 Feb 2020 13:27:04 +0000 (14:27 +0100)]
patch 8.2.0296: mixing up "long long" and __int64 may cause problems

Problem:    Mixing up "long long" and __int64 may cause problems. (John
            Marriott)
Solution:   Pass varnumber_T to vim_snprintf().  Add v:numbersize.

5 years agopatch 8.2.0295: highlighting for :s wrong when using different separator v8.2.0295
Bram Moolenaar [Fri, 21 Feb 2020 20:30:52 +0000 (21:30 +0100)]
patch 8.2.0295: highlighting for :s wrong when using different separator

Problem:    Highlighting for :s wrong when using different separator.
Solution:   Use separat argument for search direction and separator. (Rob
            Pilling, closes #5665)

5 years agopatch 8.2.0294: cannot use Ex command that is also a function name v8.2.0294
Bram Moolenaar [Fri, 21 Feb 2020 17:42:43 +0000 (18:42 +0100)]
patch 8.2.0294: cannot use Ex command that is also a function name

Problem:    Cannot use Ex command that is also a function name.
Solution:   Recognize an Ex command by a colon prefix.

5 years agopatch 8.2.0293: various Ex commands not sufficiently tested v8.2.0293
Bram Moolenaar [Fri, 21 Feb 2020 16:54:45 +0000 (17:54 +0100)]
patch 8.2.0293: various Ex commands not sufficiently tested

Problem:    Various Ex commands not sufficiently tested.
Solution:   Add more test cases. (Yegappan Lakshmanan, closes #5673)

5 years agopatch 8.2.0292: Vim9: CHECKNR and CHECKTYPE instructions not tested v8.2.0292
Bram Moolenaar [Thu, 20 Feb 2020 22:08:34 +0000 (23:08 +0100)]
patch 8.2.0292: Vim9: CHECKNR and CHECKTYPE instructions not tested

Problem:    Vim9: CHECKNR and CHECKTYPE instructions not tested.
Solution:   Add tests.

5 years agopatch 8.2.0291: Vim9: assigning [] to list<string> doesn't work v8.2.0291
Bram Moolenaar [Thu, 20 Feb 2020 21:54:43 +0000 (22:54 +0100)]
patch 8.2.0291: Vim9: assigning [] to list<string> doesn't work

Problem:    Vim9: assigning [] to list<string> doesn't work.
Solution:   Use void for empty list and dict. (Ken Takata, closes #5669)

5 years agopatch 8.2.0290: running individual test differs from all tests v8.2.0290
Bram Moolenaar [Thu, 20 Feb 2020 21:35:02 +0000 (22:35 +0100)]
patch 8.2.0290: running individual test differs from all tests

Problem:    Running individual test differs from all tests.
Solution:   Pass on environment variables. (Yee Cheng Chin, closes #5672)

5 years agopatch 8.2.0289: Vim9: :echo did not clear the rest of the line v8.2.0289
Bram Moolenaar [Thu, 20 Feb 2020 21:18:06 +0000 (22:18 +0100)]
patch 8.2.0289: Vim9: :echo did not clear the rest of the line

Problem:    Vim9: :echo did not clear the rest of the line.
Solution:   Call msg_clr_eos(). (Ken Takata, closes #5668)

5 years agopatch 8.2.0288: Vim9: some float and blob operators not tested v8.2.0288
Bram Moolenaar [Thu, 20 Feb 2020 21:14:31 +0000 (22:14 +0100)]
patch 8.2.0288: Vim9: some float and blob operators not tested

Problem:    Vim9: some float and blob operators not tested.
Solution:   Add float and blob tests.  Fix addition.

5 years agopatch 8.2.0287: Vim9: return in try block not tested; catch not tested v8.2.0287
Bram Moolenaar [Thu, 20 Feb 2020 19:41:06 +0000 (20:41 +0100)]
patch 8.2.0287: Vim9: return in try block not tested; catch not tested

Problem:    Vim9: return in try block not tested; catch with pattern not
            tested.
Solution:   Add tests.  Make it work.

5 years agopatch 8.2.0286: cannot use popup_close() for a terminal popup v8.2.0286
Bram Moolenaar [Thu, 20 Feb 2020 19:12:29 +0000 (20:12 +0100)]
patch 8.2.0286: cannot use popup_close() for a terminal popup

Problem:    Cannot use popup_close() for a terminal popup.
Solution:   Allow using popup_close(). (closes #5666)

5 years agopatch 8.2.0285: unused error message; cannot create s:var v8.2.0285
Bram Moolenaar [Wed, 19 Feb 2020 21:31:48 +0000 (22:31 +0100)]
patch 8.2.0285: unused error message; cannot create s:var

Problem:    Unused error message. Cannot create s:var.
Solution:   Remove the error message. Make assignment to s:var work.

5 years agopatch 8.2.0284: Vim9: assignment test fails v8.2.0284
Bram Moolenaar [Wed, 19 Feb 2020 20:12:40 +0000 (21:12 +0100)]
patch 8.2.0284: Vim9: assignment test fails

Problem:    Vim9: assignment test fails.
Solution:   Avoid duplicating "s:".

5 years agopatch 8.2.0283: Vim9: failing to load script var not tested v8.2.0283
Bram Moolenaar [Wed, 19 Feb 2020 19:23:11 +0000 (20:23 +0100)]
patch 8.2.0283: Vim9: failing to load script var not tested

Problem:    Vim9: failing to load script var not tested.
Solution:   Add more tests.   Fix using s: in old script.

5 years agopatch 8.2.0282: Vim9: setting number option not tested v8.2.0282
Bram Moolenaar [Wed, 19 Feb 2020 17:14:44 +0000 (18:14 +0100)]
patch 8.2.0282: Vim9: setting number option not tested

Problem:    Vim9: setting number option not tested.
Solution:   Add more tests.   Fix assigning to global variable.

5 years agopatch 8.2.0281: two placed signs in the same line are not combined v8.2.0281
Bram Moolenaar [Wed, 19 Feb 2020 16:13:04 +0000 (17:13 +0100)]
patch 8.2.0281: two placed signs in the same line are not combined

Problem:    Two placed signs in the same line are not combined.  E.g. in the
            terminal debugger a breakpoint and the PC cannot be both be
            displayed.
Solution:   Combine the sign column and line highlight attributes.

5 years agopatch 8.2.0280: Vim9: throw in :def function not caught higher up v8.2.0280
Bram Moolenaar [Wed, 19 Feb 2020 16:06:11 +0000 (17:06 +0100)]
patch 8.2.0280: Vim9: throw in :def function not caught higher up

Problem:    Vim9: throw in :def function not caught higher up.
Solution:   Set "need_rethrow".

5 years agopatch 8.2.0279: Vim9: no test for deleted :def function v8.2.0279
Bram Moolenaar [Wed, 19 Feb 2020 14:46:48 +0000 (15:46 +0100)]
patch 8.2.0279: Vim9: no test for deleted :def function

Problem:    Vim9: no test for deleted :def function.
Solution:   Add a test.  Clear uf_cleared flag when redefining a function.

5 years agopatch 8.2.0278: channel test is flaky on Mac v8.2.0278
Bram Moolenaar [Wed, 19 Feb 2020 13:31:33 +0000 (14:31 +0100)]
patch 8.2.0278: channel test is flaky on Mac

Problem:    Channel test is flaky on Mac.
Solution:   Reset variable before sending message.

5 years agopatch 8.2.0277: Vim9: not all instructions covered by tests v8.2.0277
Bram Moolenaar [Wed, 19 Feb 2020 13:17:18 +0000 (14:17 +0100)]
patch 8.2.0277: Vim9: not all instructions covered by tests

Problem:    Vim9: not all instructions covered by tests.
Solution:   Add more test cases.

5 years agopatch 8.2.0276: Vim9: not allowing space before ")" in function call v8.2.0276
Bram Moolenaar [Wed, 19 Feb 2020 11:40:39 +0000 (12:40 +0100)]
patch 8.2.0276: Vim9: not allowing space before ")" in function call

Problem:    Vim9: not allowing space before ")" in function call is too
            restrictive. (Ben Jackson)
Solution:   Skip space before the ")".  Adjust other space checks.

5 years agopatch 8.2.0275: some Ex code not covered by tests v8.2.0275
Bram Moolenaar [Tue, 18 Feb 2020 20:54:41 +0000 (21:54 +0100)]
patch 8.2.0275: some Ex code not covered by tests

Problem:    Some Ex code not covered by tests.
Solution:   Add test cases. (Yegappan Lakshmanan, closes #5659)

5 years agopatch 8.2.0274: hang with combination of feedkeys(), Ex mode and :global v8.2.0274
Bram Moolenaar [Tue, 18 Feb 2020 20:33:00 +0000 (21:33 +0100)]
patch 8.2.0274: hang with combination of feedkeys(), Ex mode and :global

Problem:    Hang with combination of feedkeys(), Ex mode and :global.
            (Yegappan Lakshmanan)
Solution:   Add the pending_exmode_active flag.

5 years agopatch 8.2.0273: MS-Windows uninstall may delete wrong batch file v8.2.0273
Bram Moolenaar [Mon, 17 Feb 2020 21:53:14 +0000 (22:53 +0100)]
patch 8.2.0273: MS-Windows uninstall may delete wrong batch file

Problem:    MS-Windows uninstall may delete wrong batch file.
Solution:   Add specific marker in the generated batch file. (Ken Takata,
            closes #5654)

5 years agopatch 8.2.0272: ":helptags ALL" gives error for some directories v8.2.0272
Bram Moolenaar [Mon, 17 Feb 2020 21:39:35 +0000 (22:39 +0100)]
patch 8.2.0272: ":helptags ALL" gives error for some directories

Problem:    ":helptags ALL" gives error for directories without write
            permission. (Matěj Cepl)
Solution:   Ignore errors for ":helptags ALL". (Ken Takata, closes #5026,
            closes #5652)

5 years agopatch 8.2.0271: the "num64" feature is available everywhere v8.2.0271
Bram Moolenaar [Mon, 17 Feb 2020 21:12:50 +0000 (22:12 +0100)]
patch 8.2.0271: the "num64" feature is available everywhere

Problem:    The "num64" feature is available everywhere and building without
            it causes problems.
Solution:   Graduage the "num64" feature. (James McCoy, closes #5650)

5 years agopatch 8.2.0270: some code not covered by tests v8.2.0270
Bram Moolenaar [Mon, 17 Feb 2020 20:33:30 +0000 (21:33 +0100)]
patch 8.2.0270: some code not covered by tests

Problem:    Some code not covered by tests.
Solution:   Add test cases. (Yegappan Lakshmanan, closes #5649)

5 years agopatch 8.2.0269: Vim9: operator after list index does not work v8.2.0269
Bram Moolenaar [Mon, 17 Feb 2020 20:12:08 +0000 (21:12 +0100)]
patch 8.2.0269: Vim9: operator after list index does not work

Problem:    Vim9: operator after list index does not work. (Yasuhiro
            Matsumoto)
Solution:   After indexing a list change the type to the list member type.
            (closes #5651)

5 years agopatch 8.2.0268: trycatch test fails v8.2.0268
Bram Moolenaar [Mon, 17 Feb 2020 09:01:24 +0000 (10:01 +0100)]
patch 8.2.0268: trycatch test fails

Problem:    Trycatch test fails.
Solution:   When calling function fails only check for following command, do
            not give another error.

5 years agopatch 8.2.0267: no check for a following cmd when calling a function fails v8.2.0267
Bram Moolenaar [Sun, 16 Feb 2020 18:42:23 +0000 (19:42 +0100)]
patch 8.2.0267: no check for a following cmd when calling a function fails

Problem:    No check for a following command when calling a function fails.
Solution:   Also check for a following command when inside a try block.
            (closes #5642)

5 years agopatch 8.2.0266: terminal in popup test sometimes fails on Mac v8.2.0266
Bram Moolenaar [Sun, 16 Feb 2020 16:04:09 +0000 (17:04 +0100)]
patch 8.2.0266: terminal in popup test sometimes fails on Mac

Problem:    Terminal in popup test sometimes fails on Mac.
Solution:   Add a short delay.

5 years agopatch 8.2.0265: "eval" after "if 0" doesn't check for following command v8.2.0265
Bram Moolenaar [Sun, 16 Feb 2020 15:20:21 +0000 (16:20 +0100)]
patch 8.2.0265: "eval" after "if 0" doesn't check for following command

Problem:    "eval" after "if 0" doesn't check for following command.
Solution:   Add "eval" to list of commands that check for a following command.
            (closes #5640)

5 years agopatch 8.2.0264: fileformat test still fails on MS-Windows v8.2.0264
Bram Moolenaar [Sun, 16 Feb 2020 14:08:28 +0000 (15:08 +0100)]
patch 8.2.0264: fileformat test still fails on MS-Windows

Problem:    Fileformat test still fails on MS-Windows.
Solution:   Set fileformat of buffer in the right place.

5 years agopatch 8.2.0263: a few new Vim9 messages are not localized v8.2.0263
Bram Moolenaar [Sun, 16 Feb 2020 14:03:48 +0000 (15:03 +0100)]
patch 8.2.0263: a few new Vim9 messages are not localized

Problem:    A few new Vim9 messages are not localized.
Solution:   Add the gettext wrapper. (Dominique Pelle, closes #5647)

5 years agopatch 8.2.0262: fileformat test fails on MS-Windows v8.2.0262
Bram Moolenaar [Sun, 16 Feb 2020 13:55:22 +0000 (14:55 +0100)]
patch 8.2.0262: fileformat test fails on MS-Windows

Problem:    Fileformat test fails on MS-Windows.
Solution:   Set fileformat of buffer.

5 years agopatch 8.2.0261: some code not covered by tests v8.2.0261
Bram Moolenaar [Sun, 16 Feb 2020 12:33:56 +0000 (13:33 +0100)]
patch 8.2.0261: some code not covered by tests

Problem:    Some code not covered by tests.
Solution:   Add test cases. (Yegappan Lakshmanan, closes #5645)

5 years agopatch 8.2.0260: several lines of code are duplicated v8.2.0260
Bram Moolenaar [Sat, 15 Feb 2020 22:06:45 +0000 (23:06 +0100)]
patch 8.2.0260: several lines of code are duplicated

Problem:    Several lines of code are duplicated.
Solution:   Move duplicated code to a function. (Yegappan Lakshmanan,
            closes #5330)

5 years agoUpdate runtime files.
Bram Moolenaar [Sat, 15 Feb 2020 20:41:42 +0000 (21:41 +0100)]
Update runtime files.

5 years agopatch 8.2.0259: terminal in popup test sometimes fails v8.2.0259
Bram Moolenaar [Fri, 14 Feb 2020 16:05:18 +0000 (17:05 +0100)]
patch 8.2.0259: terminal in popup test sometimes fails

Problem:    Terminal in popup test sometimes fails.
Solution:   Clear the command line.

5 years agopatch 8.2.0258: modifyOtherKeys cannot be temporarily disabled v8.2.0258
Bram Moolenaar [Fri, 14 Feb 2020 15:53:00 +0000 (16:53 +0100)]
patch 8.2.0258: modifyOtherKeys cannot be temporarily disabled

Problem:    ModifyOtherKeys cannot be temporarily disabled.
Solution:   Add echoraw() with an example for modifyOtherKeys.

5 years agopatch 8.2.0257: cannot recognize a terminal in a popup window v8.2.0257
Bram Moolenaar [Fri, 14 Feb 2020 13:32:22 +0000 (14:32 +0100)]
patch 8.2.0257: cannot recognize a terminal in a popup window

Problem:    Cannot recognize a terminal in a popup window.
Solution:   Add the win_gettype() function.

5 years agopatch 8.2.0256: time and timer related code is spread out v8.2.0256
Bram Moolenaar [Fri, 14 Feb 2020 12:22:17 +0000 (13:22 +0100)]
patch 8.2.0256: time and timer related code is spread out

Problem:    Time and timer related code is spread out.
Solution:   Move time and timer related code to a new file. (Yegappan
            Lakshmanan, closes #5604)

5 years agopatch 8.2.0255: VMS: missing files in build v8.2.0255
Bram Moolenaar [Thu, 13 Feb 2020 20:59:25 +0000 (21:59 +0100)]
patch 8.2.0255: VMS: missing files in build

Problem:    VMS: missing files in build.
Solution:   Add the files. (Zoltan Arpadffy)

5 years agopatch 8.2.0254: compiler warning for checking size_t to be negative v8.2.0254
Bram Moolenaar [Thu, 13 Feb 2020 20:42:24 +0000 (21:42 +0100)]
patch 8.2.0254: compiler warning for checking size_t to be negative

Problem:    Compiler warning for checking size_t to be negative.
Solution:   Only check for zero. (Zoltan Arpadffy)

5 years agopatch 8.2.0253: crash when using :disassamble without argument v8.2.0253
Bram Moolenaar [Thu, 13 Feb 2020 20:29:32 +0000 (21:29 +0100)]
patch 8.2.0253: crash when using :disassamble without argument

Problem:    Crash when using :disassamble without argument. (Dhiraj Mishra)
Solution:   Check for missing argument. (Dominique Pelle, closes #5635,
            closes #5637)

5 years agopatch 8.2.0252: Windows compiler warns for using size_t v8.2.0252
Bram Moolenaar [Thu, 13 Feb 2020 19:31:28 +0000 (20:31 +0100)]
patch 8.2.0252: Windows compiler warns for using size_t

Problem:    Windows compiler warns for using size_t.
Solution:   Change to int. (Mike Williams)

5 years agopatch 8.2.0251: a couple of function return types can be more specific v8.2.0251
Bram Moolenaar [Wed, 12 Feb 2020 21:25:56 +0000 (22:25 +0100)]
patch 8.2.0251: a couple of function return types can be more specific

Problem:    A couple of function return types can be more specific.
Solution:   Use a better return type. (Ken Takata, closes #5629)

5 years agopatch 8.2.0250: test_clear_search_pat() is unused v8.2.0250
Bram Moolenaar [Wed, 12 Feb 2020 21:15:19 +0000 (22:15 +0100)]
patch 8.2.0250: test_clear_search_pat() is unused

Problem:    test_clear_search_pat() is unused.
Solution:   Remove the function. (Yegappan Lakshmanan, closes #5624)

5 years agopatch 8.2.0249: MS-Windows: various warnings v8.2.0249
Bram Moolenaar [Wed, 12 Feb 2020 20:52:32 +0000 (21:52 +0100)]
patch 8.2.0249: MS-Windows: various warnings

Problem:    MS-Windows: various warnings.
Solution:   Set the charset to utf-8. Add _WIN32_WINNT and _USING_V110_SDK71_.
            (Ken Takata, closes #5625)

5 years agopatch 8.2.0248: MS-Windows: dealing with deprecation is too complicated v8.2.0248
Bram Moolenaar [Wed, 12 Feb 2020 20:15:43 +0000 (21:15 +0100)]
patch 8.2.0248: MS-Windows: dealing with deprecation is too complicated

Problem:    MS-Windows: dealing with deprecation is too complicated.
Solution:   Use io.h directly. Move _CRT_SECURE_NO_DEPRECATE to the build
            file. Suppress C4091 warning by setting "_WIN32_WINNT". (Ken
            Takata, closes #5626)

5 years agopatch 8.2.0247: misleading comment in NSIS installer script v8.2.0247
Bram Moolenaar [Wed, 12 Feb 2020 20:03:32 +0000 (21:03 +0100)]
patch 8.2.0247: misleading comment in NSIS installer script

Problem:    Misleading comment in NSIS installer script.
Solution:   Negate the meaning of the comment. (Ken Takata, closes #5627)

5 years agopatch 8.2.0246: MSVC: deprecation warnings with Ruby v8.2.0246
Bram Moolenaar [Tue, 11 Feb 2020 22:01:39 +0000 (23:01 +0100)]
patch 8.2.0246: MSVC: deprecation warnings with Ruby

Problem:    MSVC: deprecation warnings with Ruby.
Solution:   Move _CRT_SECURE_NO_DEPRECATE to build file. (Ken Takata,
            closes #5622)

5 years agopatch 8.2.0245: MSVC: error message if the auto directory already exists v8.2.0245
Bram Moolenaar [Tue, 11 Feb 2020 21:49:18 +0000 (22:49 +0100)]
patch 8.2.0245: MSVC: error message if the auto directory already exists

Problem:    MSVC: error message if the auto directory already exists.
Solution:   Add "if not exists". (Ken Takata, closes #5620)

5 years agopatch 8.2.0244: compiler warning in Lua interface v8.2.0244
Bram Moolenaar [Tue, 11 Feb 2020 21:37:35 +0000 (22:37 +0100)]
patch 8.2.0244: compiler warning in Lua interface

Problem:    Compiler warning in Lua interface.
Solution:   Add type cast. (Ken Takata, closes #5621)

5 years agopatch 8.2.0243: insufficient code coverage for ex_docmd.c functions v8.2.0243
Bram Moolenaar [Tue, 11 Feb 2020 21:04:02 +0000 (22:04 +0100)]
patch 8.2.0243: insufficient code coverage for ex_docmd.c functions

Problem:    Insufficient code coverage for ex_docmd.c functions.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #5618)

5 years agopatch 8.2.0242: preview popup window test fails with long directory name v8.2.0242
Bram Moolenaar [Tue, 11 Feb 2020 20:44:17 +0000 (21:44 +0100)]
patch 8.2.0242: preview popup window test fails with long directory name

Problem:    Preview popup window test fails with long directory name. (Jakub
            Kądziołka)
Solution:   Use "silent cd". (closes #5615)

5 years agopatch 8.2.0241: crash when setting 'buftype' to "quickfix" v8.2.0241
Bram Moolenaar [Mon, 10 Feb 2020 21:56:54 +0000 (22:56 +0100)]
patch 8.2.0241: crash when setting 'buftype' to "quickfix"

Problem:    Crash when setting 'buftype' to "quickfix".
Solution:   Check that error list is not NULL. (closes #5613)

5 years agopatch 8.2.0240: using memory after it was freed v8.2.0240
Bram Moolenaar [Mon, 10 Feb 2020 21:44:32 +0000 (22:44 +0100)]
patch 8.2.0240: using memory after it was freed

Problem:    Using memory after it was freed. (Dominique Pelle)
Solution:   Do not mix converion buffer with other buffer.

5 years agopatch 8.2.0239: MS-Windows: 'env' job option does not override existing vars v8.2.0239
Bram Moolenaar [Mon, 10 Feb 2020 21:06:32 +0000 (22:06 +0100)]
patch 8.2.0239: MS-Windows: 'env' job option does not override existing vars

Problem:    MS-Windows: 'env' job option does not override existing
            environment variables.  (Tim Pope)
Solution:   Set the environment variables later. (Yasuhiro Matsumoto,
            closes #5485, closes #5608)

5 years agopatch 8.2.0238: MS-Windows: job_stop() results in exit value zero v8.2.0238
Bram Moolenaar [Mon, 10 Feb 2020 20:32:19 +0000 (21:32 +0100)]
patch 8.2.0238: MS-Windows: job_stop() results in exit value zero

Problem:    MS-Windows: job_stop() results in exit value zero.
Solution:   Call TerminateJobObject() with -1 instead of 0. (Yasuhiro
            Matsumoto, closes #5150, closes #5614)

5 years agopatch 8.2.0237: crash when setting 'wincolor' on finished terminal window v8.2.0237
Bram Moolenaar [Mon, 10 Feb 2020 19:34:04 +0000 (20:34 +0100)]
patch 8.2.0237: crash when setting 'wincolor' on finished terminal window

Problem:    Crash when setting 'wincolor' on finished terminal window.
            (Bakudankun)
Solution:   Check that the vterm is not NULL. (Yasuhiro Matsumoto, closes
            #5607, closes #5610)

5 years agopatch 8.2.0236: MS-Windows unintall doesn't delete vimtutur.bat v8.2.0236
Bram Moolenaar [Sun, 9 Feb 2020 13:27:20 +0000 (14:27 +0100)]
patch 8.2.0236: MS-Windows unintall doesn't delete vimtutur.bat

Problem:    MS-Windows unintall doesn't delete vimtutur.bat.
Solution:   Change directory before deletion. (Ken Takata, closes #5603)

5 years agopatch 8.2.0235: draw error when an empty group is removed from 'statusline' v8.2.0235
Bram Moolenaar [Sat, 8 Feb 2020 17:35:31 +0000 (18:35 +0100)]
patch 8.2.0235: draw error when an empty group is removed from 'statusline'

Problem:    Draw error when an empty group is removed from 'statusline'.
Solution:   Do not use highlighting from a removed group.

5 years agopatch 8.2.0234: message test fails on SunOS v8.2.0234
Bram Moolenaar [Sat, 8 Feb 2020 16:14:46 +0000 (17:14 +0100)]
patch 8.2.0234: message test fails on SunOS

Problem:    Message test fails on SunOS.
Solution:   Adjust expectation for printf "%p". (Ozaki Kiichi, closes #5595)

5 years agopatch 8.2.0233: crash when using garbagecollect() in between rand() v8.2.0233
Bram Moolenaar [Sat, 8 Feb 2020 15:40:39 +0000 (16:40 +0100)]
patch 8.2.0233: crash when using garbagecollect() in between rand()

Problem:    Crash when using garbagecollect() in between rand().
Solution:   Redesign the rand() and srand() implementation. (Yasuhiro
            Matsumoto, closes #5587, closes #5588)

5 years agopatch 8.2.0232: the :compiler command causes a crash v8.2.0232
Bram Moolenaar [Sat, 8 Feb 2020 15:00:46 +0000 (16:00 +0100)]
patch 8.2.0232: the :compiler command causes a crash

Problem:    The :compiler command causes a crash. (Daniel Steinberg)
Solution:   Do not use the script index if it isn't set.

5 years agopatch 8.2.0231: silent system command may clear the screen v8.2.0231
Bram Moolenaar [Sat, 8 Feb 2020 13:22:53 +0000 (14:22 +0100)]
patch 8.2.0231: silent system command may clear the screen

Problem:    Silent system command may clear the screen.
Solution:   Do not clear the screen in t_te.

5 years agopatch 8.2.0230: terminal popup test is flaky v8.2.0230
Bram Moolenaar [Fri, 7 Feb 2020 21:20:53 +0000 (22:20 +0100)]
patch 8.2.0230: terminal popup test is flaky

Problem:    Terminal popup test is flaky.
Solution:   Increase wait time a bit.

5 years agopatch 8.2.0229: compare instructions not tested v8.2.0229
Bram Moolenaar [Fri, 7 Feb 2020 21:09:54 +0000 (22:09 +0100)]
patch 8.2.0229: compare instructions not tested

Problem:    Compare instructions not tested.
Solution:   Add test cases.  Fix disassemble with line continuation.

5 years agopatch 8.2.0228: configure does not recognize gcc version on BSD v8.2.0228
Bram Moolenaar [Fri, 7 Feb 2020 19:50:07 +0000 (20:50 +0100)]
patch 8.2.0228: configure does not recognize gcc version on BSD

Problem:    Configure does not recognize gcc version on BSD.
Solution:   Do not use "\+" in the pattern matching the version number. (Ozaki
            Kiichi, closes #5590)

5 years agopatch 8.2.0227: compiling a few instructions not tested v8.2.0227
Bram Moolenaar [Thu, 6 Feb 2020 21:41:16 +0000 (22:41 +0100)]
patch 8.2.0227: compiling a few instructions not tested

Problem:    Compiling a few instructions not tested.
Solution:   Add more test cases.

5 years agopatch 8.2.0226: compiling for loop not tested v8.2.0226
Bram Moolenaar [Thu, 6 Feb 2020 21:06:54 +0000 (22:06 +0100)]
patch 8.2.0226: compiling for loop not tested

Problem:    Compiling for loop not tested.
Solution:   Add a test.  Make variable initialization work for more types.