]> granicus.if.org Git - vim/log
vim
6 years agoUpdate runtime files.
Bram Moolenaar [Tue, 18 Dec 2018 20:41:50 +0000 (21:41 +0100)]
Update runtime files.

6 years agopatch 8.1.0606: 'cryptmethod' defaults to a very old method v8.1.0606
Bram Moolenaar [Sun, 16 Dec 2018 17:20:00 +0000 (18:20 +0100)]
patch 8.1.0606: 'cryptmethod' defaults to a very old method

Problem:    'cryptmethod' defaults to a very old method.
Solution:   Default to "blowfish2", it is now widely available.

6 years agopatch 8.1.0605: running make in the top directory echoes a comment v8.1.0605
Bram Moolenaar [Sun, 16 Dec 2018 15:48:47 +0000 (16:48 +0100)]
patch 8.1.0605: running make in the top directory echoes a comment

Problem:    Running make in the top directory echoes a comment.
Solution:   Prefix with @. (closes #3698)

6 years agopatch 8.1.0604: autocommand test fails on MS-Windows v8.1.0604
Bram Moolenaar [Sun, 16 Dec 2018 15:30:21 +0000 (16:30 +0100)]
patch 8.1.0604: autocommand test fails on MS-Windows

Problem:    Autocommand test fails on MS-Windows.
Solution:   Use pathcmp() instead of strcmp() to check if a directory differs.

6 years agopatch 8.1.0603: the :stop command is not tested v8.1.0603
Bram Moolenaar [Sun, 16 Dec 2018 15:16:10 +0000 (16:16 +0100)]
patch 8.1.0603: the :stop command is not tested

Problem:    The :stop command is not tested.
Solution:   Test :stop using a terminal window.

6 years agopatch 8.1.0602: DirChanged is also triggered when directory didn't change v8.1.0602
Bram Moolenaar [Sun, 16 Dec 2018 14:38:02 +0000 (15:38 +0100)]
patch 8.1.0602: DirChanged is also triggered when directory didn't change

Problem:    DirChanged is also triggered when the directory didn't change.
            (Daniel Hahler)
Solution:   Compare the current with the new directory. (closes #3697)

6 years agopatch 8.1.0601: a few compiler warnings v8.1.0601
Bram Moolenaar [Sun, 16 Dec 2018 13:37:39 +0000 (14:37 +0100)]
patch 8.1.0601: a few compiler warnings

Problem:    A few compiler warnings.
Solution:   Add type casts. (Mike Williams)

6 years agopatch 8.1.0600: channel test is flaky v8.1.0600
Bram Moolenaar [Sat, 15 Dec 2018 16:46:23 +0000 (17:46 +0100)]
patch 8.1.0600: channel test is flaky

Problem:    Channel test is flaky.
Solution:   Add test to list of flaky tests.

6 years agopatch 8.1.0599: without the +eval feature the indent tests don't work v8.1.0599
Bram Moolenaar [Sat, 15 Dec 2018 16:43:42 +0000 (17:43 +0100)]
patch 8.1.0599: without the +eval feature the indent tests don't work

Problem:    Without the +eval feature the indent tests don't work.
Solution:   Skip the body of the tests.

6 years agopatch 8.1.0598: indent tests may use the wrong Vim binary v8.1.0598
Bram Moolenaar [Sat, 15 Dec 2018 16:23:18 +0000 (17:23 +0100)]
patch 8.1.0598: indent tests may use the wrong Vim binary

Problem:    Indent tests may use the wrong Vim binary.
Solution:   Pass in the just built Vim binary.

6 years agopatch 8.1.0597: cannot run test_libvterm from the top directory v8.1.0597
Bram Moolenaar [Sat, 15 Dec 2018 15:19:50 +0000 (16:19 +0100)]
patch 8.1.0597: cannot run test_libvterm from the top directory

Problem:    Cannot run test_libvterm from the top directory.
Solution:   Add test target in toplevel Makefile.

6 years agopatch 8.1.0596: not all parts of printf() are tested v8.1.0596
Bram Moolenaar [Sat, 15 Dec 2018 15:08:56 +0000 (16:08 +0100)]
patch 8.1.0596: not all parts of printf() are tested

Problem:    Not all parts of printf() are tested.
Solution:   Add a few more test cases. (Dominique Pelle, closes #3691)

6 years agopatch 8.1.0595: libvterm tests are not run with coverage v8.1.0595
Bram Moolenaar [Sat, 15 Dec 2018 14:59:32 +0000 (15:59 +0100)]
patch 8.1.0595: libvterm tests are not run with coverage

Problem:    Libvterm tests are not run with coverage.
Solution:   Adjust the Travis config.  Show the actually run commands.

6 years agopatch 8.1.0594: libvterm tests fail to run on Mac v8.1.0594
Bram Moolenaar [Sat, 15 Dec 2018 14:39:28 +0000 (15:39 +0100)]
patch 8.1.0594: libvterm tests fail to run on Mac

Problem:    Libvterm tests fail to run on Mac.
Solution:   Only run libvterm tests on Linux.

6 years agopatch 8.1.0593: illegal memory access in libvterm test v8.1.0593
Bram Moolenaar [Sat, 15 Dec 2018 13:49:34 +0000 (14:49 +0100)]
patch 8.1.0593: illegal memory access in libvterm test

Problem:    Illegal memory access in libvterm test.
Solution:   Fix off-by-one error.

6 years agopatch 8.1.0592: the libvterm tests are not run as part of Vim tests v8.1.0592
Bram Moolenaar [Sat, 15 Dec 2018 13:24:39 +0000 (14:24 +0100)]
patch 8.1.0592: the libvterm tests are not run as part of Vim tests

Problem:    The libvterm tests are not run as part of Vim tests.
Solution:   Add testing libvterm.

6 years agopatch 8.1.0591: channel sort test is flaky v8.1.0591
Bram Moolenaar [Fri, 14 Dec 2018 21:42:13 +0000 (22:42 +0100)]
patch 8.1.0591: channel sort test is flaky

Problem:    Channel sort test is flaky.
Solution:   Do not check if the job is running, it may have be done very fast.

6 years agopatch 8.1.0590: when a job ends the closed channels are not handled v8.1.0590
Bram Moolenaar [Fri, 14 Dec 2018 20:32:02 +0000 (21:32 +0100)]
patch 8.1.0590: when a job ends the closed channels are not handled

Problem:    When a job ends the closed channels are not handled.
Solution:   When a job is detected to have ended, check the channels again.
            (closes #3530)

6 years agopatch 8.1.0589: compilation error in gvimext.cpp v8.1.0589
Bram Moolenaar [Fri, 14 Dec 2018 18:54:39 +0000 (19:54 +0100)]
patch 8.1.0589: compilation error in gvimext.cpp

Problem:    Compilation error in gvimext.cpp.
Solution:   Return a value.  Also fix using uninitialized variable.

6 years agopatch 8.1.0588: cannot define a sign with space in the text v8.1.0588
Bram Moolenaar [Fri, 14 Dec 2018 18:37:08 +0000 (19:37 +0100)]
patch 8.1.0588: cannot define a sign with space in the text

Problem:    Cannot define a sign with space in the text.
Solution:   Allow for escaping characters. (Ben Jackson, closes #2967)

6 years agopatch 8.1.0587: GvimExt: realloc() failing is not handled properly v8.1.0587
Bram Moolenaar [Fri, 14 Dec 2018 18:20:02 +0000 (19:20 +0100)]
patch 8.1.0587: GvimExt: realloc() failing is not handled properly

Problem:    GvimExt: realloc() failing is not handled properly.
Solution:   Check for NULL return. (Jan-Jaap Korpershoek, closes #3689)

6 years agopatch 8.1.0586: :digraph output is not easy to read v8.1.0586
Bram Moolenaar [Fri, 14 Dec 2018 17:53:02 +0000 (18:53 +0100)]
patch 8.1.0586: :digraph output is not easy to read

Problem:    :digraph output is not easy to read.
Solution:   Add highlighting for :digraphs. (Marcin Szamotulski, closes #3572)
            Also add section headers for :digraphs!.

6 years agopatch 8.1.0585: undo test may fail on MS-Windows v8.1.0585
Bram Moolenaar [Fri, 14 Dec 2018 14:48:48 +0000 (15:48 +0100)]
patch 8.1.0585: undo test may fail on MS-Windows

Problem:    Undo test may fail on MS-Windows.
Solution:   Also handle lower case drive letters.

6 years agopatch 8.1.0584: with search CTRL-L does not pick up composing characters v8.1.0584
Bram Moolenaar [Fri, 14 Dec 2018 14:47:03 +0000 (15:47 +0100)]
patch 8.1.0584: with search CTRL-L does not pick up composing characters

Problem:    With search CTRL-L does not pick up composing characters.
Solution:   Check for composing characters. (Christian Brabandt, closes #3682)
            [code change was accidentally included in 8.1.0579]

6 years agopatch 8.1.0583: using illogical name for get_dict_number()/get_dict_string() v8.1.0583
Bram Moolenaar [Fri, 14 Dec 2018 14:38:31 +0000 (15:38 +0100)]
patch 8.1.0583: using illogical name for get_dict_number()/get_dict_string()

Problem:    Using illogical name for get_dict_number()/get_dict_string().
Solution:   Rename to start with dict_.

6 years agopatch 8.1.0582: text properties are not enabled v8.1.0582
Bram Moolenaar [Fri, 14 Dec 2018 11:18:11 +0000 (12:18 +0100)]
patch 8.1.0582: text properties are not enabled

Problem:    Text properties are not enabled.
Solution:   Fix sizeof argument and re-enable the text properties feature.
            Fix memory leak.

6 years agopatch 8.1.0581: double free without the text properties feature v8.1.0581
Bram Moolenaar [Thu, 13 Dec 2018 22:16:36 +0000 (23:16 +0100)]
patch 8.1.0581: double free without the text properties feature

Problem:    Double free without the text properties feature.
Solution:   Reset the dirty flag.

6 years agopatch 8.1.0580: invalid memory access when using text properties v8.1.0580
Bram Moolenaar [Thu, 13 Dec 2018 22:05:56 +0000 (23:05 +0100)]
patch 8.1.0580: invalid memory access when using text properties

Problem:    Invalid memory access when using text properties.
Solution:   Disable text properties for now.

6 years agopatch 8.1.0579: cannot attach properties to text v8.1.0579
Bram Moolenaar [Thu, 13 Dec 2018 21:20:09 +0000 (22:20 +0100)]
patch 8.1.0579: cannot attach properties to text

Problem:    Cannot attach properties to text.
Solution:   First part of adding text properties.

6 years agopatch 8.1.0578: cannot disable arabic, rightleft and farsi in configure v8.1.0578
Bram Moolenaar [Wed, 12 Dec 2018 19:34:09 +0000 (20:34 +0100)]
patch 8.1.0578: cannot disable arabic, rightleft and farsi in configure

Problem:    Cannot disable arabic, rightleft and farsi in configure.
Solution:   Add configur flags. (Diego Fernando CarriĆ³n, closes #1867)

6 years agopatch 8.1.0577: tabpage right-click menu never shows "Close tab" v8.1.0577
Bram Moolenaar [Tue, 11 Dec 2018 19:39:19 +0000 (20:39 +0100)]
patch 8.1.0577: tabpage right-click menu never shows "Close tab"

Problem:    Tabpage right-click menu never shows "Close tab".
Solution:   Always create the "Close tab" item but ignore the event if there
            is only one tab.

6 years agopatch 8.1.0576: indent script tests pick up installed scripts v8.1.0576
Bram Moolenaar [Mon, 10 Dec 2018 20:36:56 +0000 (21:36 +0100)]
patch 8.1.0576: indent script tests pick up installed scripts

Problem:    Indent script tests pick up installed scripts.
Solution:   Use current runtime indent scripts.

6 years agoUpdate runtime files.
Bram Moolenaar [Sun, 9 Dec 2018 19:43:55 +0000 (20:43 +0100)]
Update runtime files.

6 years agopatch 8.1.0575: Termdebug: clearing multi-breakpoint does not work v8.1.0575
Bram Moolenaar [Sun, 9 Dec 2018 14:53:01 +0000 (15:53 +0100)]
patch 8.1.0575: Termdebug: clearing multi-breakpoint does not work

Problem:    Termdebug: clearing multi-breakpoint does not work.
Solution:   Delete all X.Y breakpoints.  Keep more information about placed
            breakpoints. (Ozaki Kiichi, closes #3641)

6 years agopatch 8.1.0574: 'commentstring' not used when adding fold marker in C v8.1.0574
Bram Moolenaar [Sun, 9 Dec 2018 14:00:52 +0000 (15:00 +0100)]
patch 8.1.0574: 'commentstring' not used when adding fold marker in C

Problem:    'commentstring' not used when adding fold marker in C.
Solution:   Require white space before middle comment part. (mostly by
            Hirohito Higashi)

6 years agopatch 8.1.0573: cannot redefine user command without ! in same script v8.1.0573
Bram Moolenaar [Sat, 8 Dec 2018 15:03:28 +0000 (16:03 +0100)]
patch 8.1.0573: cannot redefine user command without ! in same script

Problem:    Cannot redefine user command without ! in same script
Solution:   Allow redefining user command without ! in same script, like with
            functions.

6 years agopatch 8.1.0572: stopping a job does not work properly on OpenBSD v8.1.0572
Bram Moolenaar [Sat, 8 Dec 2018 13:39:05 +0000 (14:39 +0100)]
patch 8.1.0572: stopping a job does not work properly on OpenBSD

Problem:    Stopping a job does not work properly on OpenBSD.
Solution:   Do not use getpgid() to check the process group of the job
            processs ID, always pass the negative process ID to kill().
            (George Koehler, closes #3656)

6 years agopatch 8.1.0571: non-silent execute() resets display column to zero v8.1.0571
Bram Moolenaar [Sat, 8 Dec 2018 12:57:42 +0000 (13:57 +0100)]
patch 8.1.0571: non-silent execute() resets display column to zero

Problem:    Non-silent execute() resets display column to zero.
Solution:   Keep the display column as-is.

6 years agopatch 8.1.0570: 'commentstring' not used when adding fold marker v8.1.0570
Bram Moolenaar [Fri, 7 Dec 2018 20:08:49 +0000 (21:08 +0100)]
patch 8.1.0570: 'commentstring' not used when adding fold marker

Problem:    'commentstring' not used when adding fold marker. (Maxim Kim)
Solution:   Only use empty 'comments' middle when leader is empty. (Christian
            Brabandt, closes #3670)

6 years agopatch 8.1.0569: execute() always resets display column to zero v8.1.0569
Bram Moolenaar [Fri, 7 Dec 2018 15:38:23 +0000 (16:38 +0100)]
patch 8.1.0569: execute() always resets display column to zero

Problem:    Execute() always resets display column to zero. (Sha Liu)
Solution:   Don't reset it to zero, restore the previous value. (closes #3669)

6 years agopatch 8.1.0568: error message for NUL byte in ScreenLines breaks Travis CI v8.1.0568
Bram Moolenaar [Fri, 7 Dec 2018 13:10:37 +0000 (14:10 +0100)]
patch 8.1.0568: error message for NUL byte in ScreenLines breaks Travis CI

Problem:    Error message for NUL byte in ScreenLines breaks Travis CI.
Solution:   Use a normal message fornow.

6 years agopatch 8.1.0567: error for NUL byte in ScreenLines goes unnoticed v8.1.0567
Bram Moolenaar [Fri, 7 Dec 2018 12:26:39 +0000 (13:26 +0100)]
patch 8.1.0567: error for NUL byte in ScreenLines goes unnoticed

Problem:    Error for NUL byte in ScreenLines goes unnoticed.
Solution:   Add an internal error message.

6 years agopatch 8.1.0566: SGR not enabled for mintty because $TERM is "xterm" v8.1.0566
Bram Moolenaar [Fri, 7 Dec 2018 12:18:19 +0000 (13:18 +0100)]
patch 8.1.0566: SGR not enabled for mintty because $TERM is "xterm"

Problem:    SGR not enabled for mintty because $TERM is "xterm".
Solution:   Detect mintty by the termresponse. (Ken Takata, closes #3667)

6 years agopatch 8.1.0565: asan complains about reading before allocated block v8.1.0565
Bram Moolenaar [Wed, 5 Dec 2018 18:46:07 +0000 (19:46 +0100)]
patch 8.1.0565: asan complains about reading before allocated block

Problem:    Asan complains about reading before allocated block.
Solution:   Workaround: Avoid offset from becoming negative.

6 years agopatch 8.1.0564: setting v:errors to wrong type still possible v8.1.0564
Bram Moolenaar [Wed, 5 Dec 2018 17:43:28 +0000 (18:43 +0100)]
patch 8.1.0564: setting v:errors to wrong type still possible

Problem:    Setting v:errors to wrong type still possible.
Solution:   Return after giving an error message. (Christian Brabandt)

6 years agopatch 8.1.0563: setting v:errors to a string give confusing error v8.1.0563
Bram Moolenaar [Tue, 4 Dec 2018 21:37:49 +0000 (22:37 +0100)]
patch 8.1.0563: setting v:errors to a string give confusing error

Problem:    Setting v:errors to a string give confusing error. (Christian
            Brabandt)
Solution:   Change internal error into normal error message.

6 years agopatch 8.1.0562: parsing of 'diffopt' is slightly wrong v8.1.0562
Bram Moolenaar [Tue, 4 Dec 2018 21:24:16 +0000 (22:24 +0100)]
patch 8.1.0562: parsing of 'diffopt' is slightly wrong

Problem:    Parsing of 'diffopt' is slightly wrong.
Solution:   Fix the parsing and add a test. (Jason Franklin, Christian
            Brabandt)

6 years agopatch 8.1.0561: MSCV error format has changed v8.1.0561
Bram Moolenaar [Mon, 3 Dec 2018 19:50:02 +0000 (20:50 +0100)]
patch 8.1.0561: MSCV error format has changed

Problem:    MSCV error format has changed.
Solution:   Make the space between the line number and colon optional.

6 years agopatch 8.1.0560: cannot use address type "other" with with user command v8.1.0560
Bram Moolenaar [Sun, 2 Dec 2018 17:21:49 +0000 (18:21 +0100)]
patch 8.1.0560: cannot use address type "other" with with user command

Problem:    Cannot use address type "other" with with user command.
Solution:   Add "other" to the list. (Daniel Hahler, closes #3655)  Also
            reject "%" for commands with "other".  Add some more tests.

6 years agopatch 8.1.0559: command line completion not sufficiently tested v8.1.0559
Bram Moolenaar [Sun, 2 Dec 2018 13:55:08 +0000 (14:55 +0100)]
patch 8.1.0559: command line completion not sufficiently tested

Problem:    Command line completion not sufficiently tested.
Solution:   Add more tests. (Dominique Pelle, closes #3622)

6 years agopatch 8.1.0558: some MS-Windows instructions are outdated v8.1.0558
Bram Moolenaar [Sun, 2 Dec 2018 12:58:00 +0000 (13:58 +0100)]
patch 8.1.0558: some MS-Windows instructions are outdated

Problem:    Some MS-Windows instructions are outdated.
Solution:   Update the uninstall instructions and the NSIS README. (Ken
            Takata, closes #3614)  Also update remark about diff.exe.

6 years agopatch 8.1.0557: Termdebug: gdb may use X.Y for breakpoint number v8.1.0557
Bram Moolenaar [Sun, 2 Dec 2018 12:47:03 +0000 (13:47 +0100)]
patch 8.1.0557: Termdebug: gdb may use X.Y for breakpoint number

Problem:    Termdebug: gdb may use X.Y for breakpoint number.
Solution:   Handle X.Y breakpoint numbers. (Yasuhiro Matsumoto, close #3641)

6 years agopatch 8.1.0556: saving/restoring search patterns share saved last_idx v8.1.0556
Bram Moolenaar [Sat, 1 Dec 2018 20:08:21 +0000 (21:08 +0100)]
patch 8.1.0556: saving/restoring search patterns share saved last_idx

Problem:    Saving/restoring search patterns share saved last_idx.
Solution:   Use a separate saved last_idx for saving search patterns for
            functions and incremental search.

6 years agopatch 8.1.0555: crash when last search pat is set but not last substitute pat v8.1.0555
Bram Moolenaar [Sat, 1 Dec 2018 12:14:45 +0000 (13:14 +0100)]
patch 8.1.0555: crash when last search pat is set but not last substitute pat

Problem:    Crash when last search pat is set but not last substitute pat.
Solution:   Do not mix up last search pattern and last subtitute pattern.
            (closes #3647)

6 years agopatch 8.1.0554: popup menu overlaps with preview window v8.1.0554
Bram Moolenaar [Sat, 1 Dec 2018 10:59:00 +0000 (11:59 +0100)]
patch 8.1.0554: popup menu overlaps with preview window

Problem:    Popup menu overlaps with preview window.
Solution:   Adjust the height computation. (Hirohito Higashi, closes #3414)

6 years agopatch 8.1.0553: it is not easy to edit a script that was sourced v8.1.0553
Bram Moolenaar [Fri, 30 Nov 2018 21:48:32 +0000 (22:48 +0100)]
patch 8.1.0553: it is not easy to edit a script that was sourced

Problem:    It is not easy to edit a script that was sourced.
Solution:   Add a count to ":scriptnames", so that ":script 40" edits the
            script with script ID 40.

6 years agopatch 8.1.0552: saved last search pattern may not be restored v8.1.0552
Bram Moolenaar [Fri, 30 Nov 2018 20:57:55 +0000 (21:57 +0100)]
patch 8.1.0552: saved last search pattern may not be restored

Problem:    Saved last search pattern may not be restored.
Solution:   Call restore_last_search_pattern().  Add a check for balancing
            saving and restoring the last search pattern.

6 years agopatch 8.1.0551: expression evaluation may repeat an error message v8.1.0551
Bram Moolenaar [Wed, 28 Nov 2018 20:20:38 +0000 (21:20 +0100)]
patch 8.1.0551: expression evaluation may repeat an error message

Problem:    Expression evaluation may repeat an error message. (Jason
            Franklin)
Solution:   Check for the value of did_emsg when giving an error
            for the :execute command.

6 years agopatch 8.1.0550: expression evaluation may repeat an error message v8.1.0550
Bram Moolenaar [Wed, 28 Nov 2018 19:38:37 +0000 (20:38 +0100)]
patch 8.1.0550: expression evaluation may repeat an error message

Problem:    Expression evaluation may repeat an error message. (Jason
            Franklin)
Solution:   Increment did_emsg and check for the value when giving an error
            for the echo command.

6 years agopatch 8.1.0549: netbeans test depends on README.txt contents v8.1.0549
Bram Moolenaar [Mon, 26 Nov 2018 20:22:07 +0000 (21:22 +0100)]
patch 8.1.0549: netbeans test depends on README.txt contents

Problem:    Netbeans test depends on README.txt contents.
Solution:   Use a generated file instead.

6 years agopatch 8.1.0548: crash when job callback unloads a buffer v8.1.0548
Bram Moolenaar [Mon, 26 Nov 2018 20:19:11 +0000 (21:19 +0100)]
patch 8.1.0548: crash when job callback unloads a buffer

Problem:    Crash when job callback unloads a buffer. (James McCoy)
Solution:   Don't round up the wait time to 10 msec in ui_inchar().

6 years agopatch 8.1.0547: modeline test with keymap still fails v8.1.0547
Bram Moolenaar [Sun, 25 Nov 2018 04:06:48 +0000 (05:06 +0100)]
patch 8.1.0547: modeline test with keymap still fails

Problem:    Modeline test with keymap still fails.
Solution:   Check that the keymap feature is available for the failure assert.

6 years agopatch 8.1.0546: modeline test with keymap fails v8.1.0546
Bram Moolenaar [Sun, 25 Nov 2018 03:25:58 +0000 (04:25 +0100)]
patch 8.1.0546: modeline test with keymap fails

Problem:    Modeline test with keymap fails.
Solution:   Check that the keymap feature is available.

6 years agopatch 8.1.0545: when executing indent tests user preferences interfere v8.1.0545
Bram Moolenaar [Sun, 25 Nov 2018 03:03:09 +0000 (04:03 +0100)]
patch 8.1.0545: when executing indent tests user preferences interfere

Problem:    When executing indent tests user preferences interfere.
Solution:   Add "--clean".

6 years agoUpdate runtime files
Bram Moolenaar [Sun, 25 Nov 2018 02:56:26 +0000 (03:56 +0100)]
Update runtime files

6 years agopatch 8.1.0544: setting 'filetype' in a modeline causes an error v8.1.0544
Bram Moolenaar [Sun, 25 Nov 2018 01:18:29 +0000 (02:18 +0100)]
patch 8.1.0544: setting 'filetype' in a modeline causes an error

Problem:    Setting 'filetype' in a modeline causes an error (Hirohito
            Higashi).
Solution:   Don't add the P_INSECURE flag when setting 'filetype' from a
            modeline.  Also for 'syntax'.

6 years agopatch 8.1.0543: Coverity warns for leaking memory and using wrong struct v8.1.0543
Bram Moolenaar [Sat, 24 Nov 2018 13:27:44 +0000 (14:27 +0100)]
patch 8.1.0543: Coverity warns for leaking memory and using wrong struct

Problem:    Coverity warns for leaking memory and using wrong struct.
Solution:   Free pointer when allocation fails. Change "boff" to "loff".
            (closes #3634)

6 years agopatch 8.1.0542: shiftwidth() does not take 'vartabstop' into account v8.1.0542
Bram Moolenaar [Thu, 22 Nov 2018 02:08:29 +0000 (03:08 +0100)]
patch 8.1.0542: shiftwidth() does not take 'vartabstop' into account

Problem:    shiftwidth() does not take 'vartabstop' into account.
Solution:   Use the cursor position or a position explicitly passed.
            Also make >> and << work better with 'vartabstop'. (Christian
            Brabandt)

6 years agopatch 8.1.0541: help message in dosinst.c is outdated v8.1.0541
Bram Moolenaar [Wed, 21 Nov 2018 12:58:35 +0000 (13:58 +0100)]
patch 8.1.0541: help message in dosinst.c is outdated

Problem:    Help message in dosinst.c is outdated.
Solution:   Update the comment. (Ken Takata, closes #3626)

6 years agopatch 8.1.0540: may evaluate insecure value when appending to option v8.1.0540
Bram Moolenaar [Tue, 20 Nov 2018 13:27:07 +0000 (14:27 +0100)]
patch 8.1.0540: may evaluate insecure value when appending to option

Problem:    May evaluate insecure value when appending to option.
Solution:   Set the secure flag when changing an option that was previously
            set insecurely.  Also allow numbers for the characters from
            'spelllang' that are used for LANG.vim.

6 years agopatch 8.1.0539: cannot build without the sandbox v8.1.0539
Bram Moolenaar [Tue, 20 Nov 2018 12:32:36 +0000 (13:32 +0100)]
patch 8.1.0539: cannot build without the sandbox

Problem:    Cannot build without the sandbox.
Solution:   Set the secure option instead of using the sandbox.  Also restrict
            the characters from 'spelllang' that are used for LANG.vim.
            (suggested by Yasuhiro Matsumoto)

6 years agopatch 8.1.0538: evaluating a modeline might invoke using a shell command v8.1.0538
Bram Moolenaar [Tue, 20 Nov 2018 03:25:21 +0000 (04:25 +0100)]
patch 8.1.0538: evaluating a modeline might invoke using a shell command

Problem:    Evaluating a modeline might invoke using a shell command. (Paul
            Huber)
Solution:   Set the sandbox flag when setting options from a modeline.

6 years agopatch 8.1.0537: ui_breakcheck() may be called recursively v8.1.0537
Bram Moolenaar [Tue, 20 Nov 2018 01:42:43 +0000 (02:42 +0100)]
patch 8.1.0537: ui_breakcheck() may be called recursively

Problem:    ui_breakcheck() may be called recursively, which doesn't work.
Solution:   When called recursively, just return. (James McCoy, closes #3617)

6 years agopatch 8.1.0536: file time test fails when using NFS v8.1.0536
Bram Moolenaar [Sun, 18 Nov 2018 11:25:09 +0000 (12:25 +0100)]
patch 8.1.0536: file time test fails when using NFS

Problem:    File time test fails when using NFS.
Solution:   Use three file times instead of localtim(). (James McCoy,
            closes #3618)

6 years agopatch 8.1.0535: increment/decrement might get interrupted by updating folds v8.1.0535
Bram Moolenaar [Fri, 16 Nov 2018 19:54:47 +0000 (20:54 +0100)]
patch 8.1.0535: increment/decrement might get interrupted by updating folds

Problem:    Increment/decrement might get interrupted by updating folds.
Solution:   Disable fold updating for a moment. (Christian Brabandt,
            closes #3599)

6 years agopatch 8.1.0534: MS-Windows installer uses different $HOME than Vim v8.1.0534
Bram Moolenaar [Fri, 16 Nov 2018 18:39:50 +0000 (19:39 +0100)]
patch 8.1.0534: MS-Windows installer uses different $HOME than Vim

Problem:    MS-Windows installer uses different $HOME than Vim.
Solution:   Use the Vim logic also in the MS-Windows installer. (Ken Takata,
            closes #3564)

6 years agopatch 8.1.0533: screendump tests can be flaky v8.1.0533
Bram Moolenaar [Fri, 16 Nov 2018 17:50:19 +0000 (18:50 +0100)]
patch 8.1.0533: screendump tests can be flaky

Problem:    Screendump tests can be flaky.
Solution:   Add VerifyScreenDump to the pattern of flaky tests.

6 years agopatch 8.1.0532: cannot distinguish between quickfix and location list v8.1.0532
Bram Moolenaar [Fri, 16 Nov 2018 17:46:02 +0000 (18:46 +0100)]
patch 8.1.0532: cannot distinguish between quickfix and location list

Problem:    Cannot distinguish between quickfix and location list.
Solution:   Add an explicit type variable. (Yegappan Lakshmanan)

6 years agopatch 8.1.0531: flaky tests often fail with a common error message v8.1.0531
Bram Moolenaar [Fri, 16 Nov 2018 17:22:45 +0000 (18:22 +0100)]
patch 8.1.0531: flaky tests often fail with a common error message

Problem:    Flaky tests often fail with a common error message.
Solution:   Add a pattern to match an error message indicating a flaky test.

6 years agopatch 8.1.0530: channel and terminal tests that start a server can be flaky v8.1.0530
Bram Moolenaar [Fri, 16 Nov 2018 16:44:48 +0000 (17:44 +0100)]
patch 8.1.0530: channel and terminal tests that start a server can be flaky

Problem:    Channel and terminal tests that start a server can be flaky.
Solution:   Add all channel and terminal tests that start a server to the list
            of flaky tests.

6 years agopatch 8.1.0529: flaky test sometimes fails in different ways v8.1.0529
Bram Moolenaar [Fri, 16 Nov 2018 15:52:16 +0000 (16:52 +0100)]
patch 8.1.0529: flaky test sometimes fails in different ways

Problem:    Flaky test sometimes fails in different ways.
Solution:   When the second run gives a different error, try running the test
            again, up to five times.

6 years agopatch 8.1.0528: various typos in comments v8.1.0528
Bram Moolenaar [Fri, 16 Nov 2018 15:21:05 +0000 (16:21 +0100)]
patch 8.1.0528: various typos in comments

Problem:    Various typos in comments.
Solution:   Fix the typos.

6 years agoUpdate runtime files.
Bram Moolenaar [Fri, 16 Nov 2018 15:13:44 +0000 (16:13 +0100)]
Update runtime files.

6 years agopatch 8.1.0527: using 'shiftwidth' from wrong buffer for folding v8.1.0527
Bram Moolenaar [Wed, 14 Nov 2018 20:45:32 +0000 (21:45 +0100)]
patch 8.1.0527: using 'shiftwidth' from wrong buffer for folding

Problem:    Using 'shiftwidth' from wrong buffer for folding.
Solution:   Use "buf" instead of "curbuf". (Christian Brabandt)

6 years agopatch 8.1.0526: running out of signal stack in RealWaitForChar v8.1.0526
Bram Moolenaar [Mon, 12 Nov 2018 20:45:08 +0000 (21:45 +0100)]
patch 8.1.0526: running out of signal stack in RealWaitForChar

Problem:    Running out of signal stack in RealWaitForChar. (Vladimir Marek)
Solution:   Make the fd_set variables static.

6 years agopatch 8.1.0525: terminal test skips part on Windows v8.1.0525
Bram Moolenaar [Mon, 12 Nov 2018 20:42:24 +0000 (21:42 +0100)]
patch 8.1.0525: terminal test skips part on Windows

Problem:    Terminal test skips part on Windows.
Solution:   Fix Test_terminal_does_not_truncate_last_newlines(). (Hirohito
            Higashi, closes #3606)

6 years agopatch 8.1.0524: terminal test fails on Windows v8.1.0524
Bram Moolenaar [Sun, 11 Nov 2018 22:14:54 +0000 (23:14 +0100)]
patch 8.1.0524: terminal test fails on Windows

Problem:    Terminal test fails on Windows.
Solution:   Skip Test_terminal_does_not_truncate_last_newlines() for now.

6 years agopatch 8.1.0523: opening window from quickfix leaves empty buffer behind v8.1.0523
Bram Moolenaar [Sun, 11 Nov 2018 21:50:27 +0000 (22:50 +0100)]
patch 8.1.0523: opening window from quickfix leaves empty buffer behind

Problem:    Opening window from quickfix leaves empty buffer behind.
Solution:   Add qf_jump_newwin(). (Yegappan Lakshmanan, closes #2574)

6 years agopatch 8.1.0522: :terminal does not show trailing empty lines v8.1.0522
Bram Moolenaar [Sun, 11 Nov 2018 21:18:21 +0000 (22:18 +0100)]
patch 8.1.0522: :terminal does not show trailing empty lines

Problem:    :terminal does not show trailing empty lines.
Solution:   Add empty lines. (Hirohito Higashi, closes #3605)

6 years agopatch 8.1.0521: cannot build with +eval but without +quickfix v8.1.0521
Bram Moolenaar [Sun, 11 Nov 2018 20:22:57 +0000 (21:22 +0100)]
patch 8.1.0521: cannot build with +eval but without +quickfix

Problem:    Cannot build with +eval but without +quickfix.
Solution:   Remove #ifdef for e_stringreq. (John Marriott)

6 years agopatch 8.1.0520: screen diff test sometimes fails v8.1.0520
Bram Moolenaar [Sun, 11 Nov 2018 17:51:42 +0000 (18:51 +0100)]
patch 8.1.0520: screen diff test sometimes fails

Problem:    Screen diff test sometimes fails.
Solution:   Add to list of flaky tests.

6 years agopatch 8.1.0519: cannot save and restore the tag stack v8.1.0519
Bram Moolenaar [Sun, 11 Nov 2018 14:21:05 +0000 (15:21 +0100)]
patch 8.1.0519: cannot save and restore the tag stack

Problem:    Cannot save and restore the tag stack.
Solution:   Add gettagstack() and settagstack(). (Yegappan Lakshmanan,
            closes #3604)

6 years agopatch 8.1.0518: Test_window_split_edit_bufnr() fails on AppVeyor v8.1.0518
Bram Moolenaar [Sat, 10 Nov 2018 19:47:48 +0000 (20:47 +0100)]
patch 8.1.0518: Test_window_split_edit_bufnr() fails on AppVeyor

Problem:    Test_window_split_edit_bufnr() fails on AppVeyor.
Solution:   Disable the failing part for now.

6 years agopatch 8.1.0517: Test_window_split_edit_alternate() fails on AppVeyor v8.1.0517
Bram Moolenaar [Sat, 10 Nov 2018 19:28:19 +0000 (20:28 +0100)]
patch 8.1.0517: Test_window_split_edit_alternate() fails on AppVeyor

Problem:    Test_window_split_edit_alternate() fails on AppVeyor.
Solution:   Disable the failing part for now.

6 years agopatch 8.1.0516: :move command marks buffer modified when nothing changed v8.1.0516
Bram Moolenaar [Sat, 10 Nov 2018 18:19:36 +0000 (19:19 +0100)]
patch 8.1.0516: :move command marks buffer modified when nothing changed

Problem:    :move command marks buffer modified when nothing changed.
Solution:   Do not set 'modified'.  Add a test. (Jason Franklin)

6 years agopatch 8.1.0515: reloading a script gives errors for existing functions v8.1.0515
Bram Moolenaar [Sat, 10 Nov 2018 16:33:29 +0000 (17:33 +0100)]
patch 8.1.0515: reloading a script gives errors for existing functions

Problem:    Reloading a script gives errors for existing functions.
Solution:   Allow redefining a function once when reloading a script.

6 years agopatch 8.1.0514: CTRL-W ^ does not work when alternate buffer has no name v8.1.0514
Bram Moolenaar [Sat, 10 Nov 2018 15:02:01 +0000 (16:02 +0100)]
patch 8.1.0514: CTRL-W ^ does not work when alternate buffer has no name

Problem:    CTRL-W ^ does not work when alternate buffer has no name.
Solution:   Use another method to split and edit the alternate buffer. (Jason
            Franklin)

6 years agopatch 8.1.0513: no error for set diffopt+=algorithm: v8.1.0513
Bram Moolenaar [Mon, 5 Nov 2018 20:21:33 +0000 (21:21 +0100)]
patch 8.1.0513: no error for set diffopt+=algorithm:

Problem:    No error for set diffopt+=algorithm:.
Solution:   Check for missing argument. (Hirohito Higashi, closes #3598)

6 years agopatch 8.1.0512: 'helplang' default is inconsistent for C and C.UTF-8 v8.1.0512
Bram Moolenaar [Mon, 5 Nov 2018 19:25:52 +0000 (20:25 +0100)]
patch 8.1.0512: 'helplang' default is inconsistent for C and C.UTF-8

Problem:    'helplang' default is inconsistent for C and C.UTF-8.
Solution:   Don't accept a value unless it starts with two letters.

6 years agopatch 8.1.0511: ml_get error when calling a function with a range v8.1.0511
Bram Moolenaar [Sun, 4 Nov 2018 22:39:38 +0000 (23:39 +0100)]
patch 8.1.0511: ml_get error when calling a function with a range

Problem:    ml_get error when calling a function with a range.
Solution:   Don't position the cursor after the last line.