]> granicus.if.org Git - vim/log
vim
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.

6 years agoUpdate runtime files
Bram Moolenaar [Sun, 4 Nov 2018 13:45:49 +0000 (14:45 +0100)]
Update runtime files

6 years agopatch 8.1.0510: filter test fails when $LANG is C.UTF-8 v8.1.0510
Bram Moolenaar [Sun, 4 Nov 2018 13:40:47 +0000 (14:40 +0100)]
patch 8.1.0510: filter test fails when $LANG is C.UTF-8

Problem:    Filter test fails when $LANG is C.UTF-8.
Solution:   Set 'helplang' to "en" for any C language. (Christian Brabandt,
            closes #3577)

6 years agopatch 8.1.0509: checking cwd not accessible fails for root v8.1.0509
Bram Moolenaar [Sat, 3 Nov 2018 20:47:16 +0000 (21:47 +0100)]
patch 8.1.0509: checking cwd not accessible fails for root

Problem:    Checking cwd not accessible fails for root. (James McCoy)
Solution:   Skip this part of the test for root. (closes #3595)

6 years agopatch 8.1.0508: suspend test fails when run by root v8.1.0508
Bram Moolenaar [Sat, 3 Nov 2018 20:09:15 +0000 (21:09 +0100)]
patch 8.1.0508: suspend test fails when run by root

Problem:    Suspend test fails when run by root.
Solution:   Accept both '$' and '#' for the prompt. (James McCoy, closes #3590)

6 years agopatch 8.1.0507: .raml files not properly detected v8.1.0507
Bram Moolenaar [Sat, 3 Nov 2018 18:52:15 +0000 (19:52 +0100)]
patch 8.1.0507: .raml files not properly detected

Problem:    .raml files not properly detected.
Solution:   Recognize .raml as raml instead of yaml. (closes #3594)

6 years agopatch 8.1.0506: modeline test fails when run by root v8.1.0506
Bram Moolenaar [Sat, 3 Nov 2018 18:06:25 +0000 (19:06 +0100)]
patch 8.1.0506: modeline test fails when run by root

Problem:    Modeline test fails when run by root.
Solution:   Set 'modeline' for the test. (James McCoy, closes #3592)

6 years agopatch 8.1.0505: filter command test may fail if helplang is not set v8.1.0505
Bram Moolenaar [Sat, 3 Nov 2018 18:00:14 +0000 (19:00 +0100)]
patch 8.1.0505: filter command test may fail if helplang is not set

Problem:    Filter command test may fail if helplang is not set.
Solution:   Set 'helplang' for the test. (James McCoy, closes #3591)

6 years agopatch 8.1.0504: when CTRL-C is mapped it triggers InsertLeave v8.1.0504
Bram Moolenaar [Fri, 2 Nov 2018 10:59:15 +0000 (11:59 +0100)]
patch 8.1.0504: when CTRL-C is mapped it triggers InsertLeave

Problem:    When CTRL-C is mapped it triggers InsertLeave.
Solution:   Make CTRL-C behave the same way when typed or used in a mapping.

6 years agopatch 8.1.0503: missing change to diff test v8.1.0503
Bram Moolenaar [Thu, 1 Nov 2018 20:14:53 +0000 (21:14 +0100)]
patch 8.1.0503: missing change to diff test

Problem:    Missing change to diff test. (Hirohito Higashi)
Solution:   Add the missing test function.

6 years agopatch 8.1.0502: internal diff fails when diffing a context diff v8.1.0502
Bram Moolenaar [Wed, 31 Oct 2018 21:57:26 +0000 (22:57 +0100)]
patch 8.1.0502: internal diff fails when diffing a context diff

Problem:    Internal diff fails when diffing a context diff. (Hirohito Higashi)
Solution:   Only use callback calls with one line. (closes #3581)

6 years agopatch 8.1.0501: cppcheck warns for using array index before bounds check v8.1.0501
Bram Moolenaar [Tue, 30 Oct 2018 21:15:55 +0000 (22:15 +0100)]
patch 8.1.0501: cppcheck warns for using array index before bounds check

Problem:    Cppcheck warns for using array index before bounds check.
Solution:   Swap the conditions. (Dominique Pelle)

6 years agopatch 8.1.0500: cleaning up in src/tee may not always work v8.1.0500
Bram Moolenaar [Sun, 28 Oct 2018 14:43:58 +0000 (15:43 +0100)]
patch 8.1.0500: cleaning up in src/tee may not always work

Problem:    Cleaning up in src/tee may not always work.
Solution:   Use "rm" when appropriate. (Michael Soyka, closes #3571)

6 years agopatch 8.1.0499: :2vimgrep causes an ml_get error v8.1.0499
Bram Moolenaar [Sun, 28 Oct 2018 13:36:09 +0000 (14:36 +0100)]
patch 8.1.0499: :2vimgrep causes an ml_get error

Problem:    :2vimgrep causes an ml_get error
Solution:   Pass tomatch pointer instead of value. (Yegappan Lakshmanan)

6 years agopatch 8.1.0498: /etc/gitconfig not recognized at a gitconfig file v8.1.0498
Bram Moolenaar [Sat, 27 Oct 2018 12:27:20 +0000 (14:27 +0200)]
patch 8.1.0498: /etc/gitconfig not recognized at a gitconfig file

Problem:    /etc/gitconfig not recognized at a gitconfig file.
Solution:   Add pattern to filetype detection. (closes #3568)

6 years agopatch 8.1.0497: :%diffput changes order of lines v8.1.0497
Bram Moolenaar [Thu, 25 Oct 2018 15:52:23 +0000 (17:52 +0200)]
patch 8.1.0497: :%diffput changes order of lines

Problem:    :%diffput changes order of lines. (Markus Braun)
Solution:   Do adjust marks when using internal diff.

6 years agopatch 8.1.0496: no tests for indent files v8.1.0496
Bram Moolenaar [Thu, 25 Oct 2018 14:53:19 +0000 (16:53 +0200)]
patch 8.1.0496: no tests for indent files

Problem:    No tests for indent files.
Solution:   Add a mechanism for running indent file tests.  Add a first test
            for Vim indenting.

6 years agopatch 8.1.0495: :filter only supports some commands v8.1.0495
Bram Moolenaar [Thu, 25 Oct 2018 11:31:37 +0000 (13:31 +0200)]
patch 8.1.0495: :filter only supports some commands

Problem:    :filter only supports some commands.
Solution:   Add :filter support for more commands. (Marcin Szamotulski,
            closes #2856)

6 years agopatch 8.1.0494: functions do not check for a window ID in other tabs v8.1.0494
Bram Moolenaar [Thu, 25 Oct 2018 11:11:16 +0000 (13:11 +0200)]
patch 8.1.0494: functions do not check for a window ID in other tabs

Problem:    Functions do not check for a window ID in other tabs.
Solution:   Also find the window ID in other than the current tab.

6 years agopatch 8.1.0493: argv() and argc() only work on the current argument list v8.1.0493
Bram Moolenaar [Thu, 25 Oct 2018 10:32:11 +0000 (12:32 +0200)]
patch 8.1.0493: argv() and argc() only work on the current argument list

Problem:    argv() and argc() only work on the current argument list.
Solution:   Add a window ID argument. (Yegappan Lakshmanan, closes #832)

6 years agopatch 8.1.0492: "Edit with existing Vim" list can get long v8.1.0492
Bram Moolenaar [Thu, 25 Oct 2018 09:25:53 +0000 (11:25 +0200)]
patch 8.1.0492: "Edit with existing Vim" list can get long

Problem:    "Edit with existing Vim" list can get long.
Solution:   Move the list to a submenu. (Ken Takata, closes #3561)

6 years agopatch 8.1.0491: if a terminal dump has CR it is considered corrupt v8.1.0491
Bram Moolenaar [Tue, 23 Oct 2018 19:42:59 +0000 (21:42 +0200)]
patch 8.1.0491: if a terminal dump has CR it is considered corrupt

Problem:    If a terminal dump has CR it is considered corrupt.
Solution:   Ignore CR characters. (Nobuhiro Takasaki, closes #3558)

6 years agopatch 8.1.0490: MS-Windows: doesn't handle missing glibwinpthread-1.dll v8.1.0490
Bram Moolenaar [Sun, 21 Oct 2018 20:45:43 +0000 (22:45 +0200)]
patch 8.1.0490: MS-Windows: doesn't handle missing glibwinpthread-1.dll

Problem:    MS-Windows: doesn't handle missing glibwinpthread-1.dll.
Solution:   Adjust Cygwin/MinGW build file. (Ken Takata, closes #2827)

6 years agopatch 8.1.0489: crash when autocmd clears vimpgrep location list v8.1.0489
Bram Moolenaar [Sun, 21 Oct 2018 16:47:43 +0000 (18:47 +0200)]
patch 8.1.0489: crash when autocmd clears vimpgrep location list

Problem:    Crash when autocmd clears vimpgrep location list.
Solution:   Return from qf_jump_edit_buffer() early. (Yegappan Lakshmanan)

6 years agopatch 8.1.0488: using freed memory in quickfix code v8.1.0488
Bram Moolenaar [Sat, 20 Oct 2018 18:54:02 +0000 (20:54 +0200)]
patch 8.1.0488: using freed memory in quickfix code

Problem:    Using freed memory in quickfix code. (Dominique Pelle)
Solution:   Add the quickfix_busy() flag to postpone deleting quickfix lists
            until it is safe. (Yegappan Lakshmanan, closes #3538)

6 years agopatch 8.1.0487: no menus specifically for the terminal window v8.1.0487
Bram Moolenaar [Fri, 19 Oct 2018 20:36:53 +0000 (22:36 +0200)]
patch 8.1.0487: no menus specifically for the terminal window

Problem:    No menus specifically for the terminal window.
Solution:   Add :tlmenu. (Yee Cheng Chin, closes #3439) Add a menu test.

6 years agopatch 8.1.0486: can't build in MS-Windows v8.1.0486
Bram Moolenaar [Fri, 19 Oct 2018 15:36:01 +0000 (17:36 +0200)]
patch 8.1.0486: can't build in MS-Windows

Problem:    Can't build in MS-Windows.
Solution:   Put mch_access() call inside #ifdef