]> granicus.if.org Git - vim/log
vim
7 years agoUpdate runtime files.
Bram Moolenaar [Sat, 27 May 2017 14:45:17 +0000 (16:45 +0200)]
Update runtime files.

7 years agopatch 8.0.0604: gF test fails still on MS-Windows v8.0.0604
Bram Moolenaar [Wed, 24 May 2017 08:42:37 +0000 (10:42 +0200)]
patch 8.0.0604: gF test fails still on MS-Windows

Problem:    gF test fails still on MS-Windows.
Solution:   Use : before the line number and remove it from 'isfname'.

7 years agopatch 8.0.0603: gF test fails on MS-Windows v8.0.0603
Bram Moolenaar [Wed, 24 May 2017 08:05:56 +0000 (10:05 +0200)]
patch 8.0.0603: gF test fails on MS-Windows

Problem:    gF test fails on MS-Windows.
Solution:   Use @ instead of : before the line number

7 years agopatch 8.0.0602: when gF fails to edit the file the cursor still moves v8.0.0602
Bram Moolenaar [Wed, 24 May 2017 07:51:39 +0000 (09:51 +0200)]
patch 8.0.0602: when gF fails to edit the file the cursor still moves

Problem:    When gF fails to edit the file the cursor still moves to the found
            line number.
Solution:   Check the return value of do_ecmd(). (Michael Hwang)

7 years agopatch 8.0.0601: no test coverage for :spellrepall v8.0.0601
Bram Moolenaar [Tue, 23 May 2017 09:31:22 +0000 (11:31 +0200)]
patch 8.0.0601: no test coverage for :spellrepall

Problem:    No test coverage for :spellrepall.
Solution:   Add a test. (Dominique Pelle, closes #1717)

7 years agopatch 8.0.0600: test_recover fails on some systems v8.0.0600
Bram Moolenaar [Thu, 18 May 2017 14:23:43 +0000 (16:23 +0200)]
patch 8.0.0600: test_recover fails on some systems

Problem:    test_recover fails on some systems.
Solution:   Explicitly check if "/" is writable. (Ken Takata)

7 years agopatch 8.0.0599: diff mode is insufficiently tested v8.0.0599
Bram Moolenaar [Tue, 16 May 2017 11:15:18 +0000 (13:15 +0200)]
patch 8.0.0599: diff mode is insufficiently tested

Problem:    diff mode is insufficiently tested
Solution:   Add more test cases. (Dominique Pelle, closes #1685)

7 years agopatch 8.0.0598: building with gcc 7.1 yields new warnings v8.0.0598
Bram Moolenaar [Tue, 16 May 2017 07:36:54 +0000 (09:36 +0200)]
patch 8.0.0598: building with gcc 7.1 yields new warnings

Problem:    Building with gcc 7.1 yields new warnings.
Solution:   Initialize result. (John Marriott)

7 years agopatch 8.0.0597: off-by-one error in size computation v8.0.0597
Bram Moolenaar [Mon, 15 May 2017 06:45:13 +0000 (08:45 +0200)]
patch 8.0.0597: off-by-one error in size computation

Problem:    Off-by-one error in buffer size computation.
Solution:   Use ">=" instead of ">". (Lemonboy, closes #1694)

7 years agopatch 8.0.0596: crash when complete() called after complete_add() v8.0.0596
Bram Moolenaar [Mon, 1 May 2017 18:46:52 +0000 (20:46 +0200)]
patch 8.0.0596: crash when complete() called after complete_add()

Problem:    Crash when complete() is called after complete_add() in
            'completefunc'. (Lifepillar)
Solution:   Bail out if compl_pattern is NULL. (closes #1668)
            Also avoid using freed memory.

7 years agopatch 8.0.0595: Coverity warning for not checking return value v8.0.0595
Bram Moolenaar [Mon, 1 May 2017 12:14:04 +0000 (14:14 +0200)]
patch 8.0.0595: Coverity warning for not checking return value

Problem:    Coverity warning for not checking return value of dict_add().
Solution:   Check the return value for FAIL.

7 years agopatch 8.0.0594: build failure when windows feature is missing v8.0.0594
Bram Moolenaar [Sun, 30 Apr 2017 18:46:32 +0000 (20:46 +0200)]
patch 8.0.0594: build failure when windows feature is missing

Problem:    Build failure when windows feature is missing.
Solution:   Add #ifdef.

7 years agopatch 8.0.0593: duplication of code for adding a list or dict return value v8.0.0593
Bram Moolenaar [Sun, 30 Apr 2017 18:25:19 +0000 (20:25 +0200)]
patch 8.0.0593: duplication of code for adding a list or dict return value

Problem:    Duplication of code for adding a list or dict return value.
Solution:   Add rettv_dict_set() and rettv_list_set(). (Yegappan Lakshmanan)

7 years agopatch 8.0.0592: if a job writes to a buffer screen is not updated v8.0.0592
Bram Moolenaar [Sun, 30 Apr 2017 17:39:39 +0000 (19:39 +0200)]
patch 8.0.0592: if a job writes to a buffer screen is not updated

Problem:    If a job writes to a buffer and the user is typing a command, the
            screen isn't updated. When a message is displayed the changed
            buffer may cause it to be cleared. (Ramel Eshed)
Solution:   Update the screen and then the command line if the screen didn't
            scroll. Avoid inserting screen lines, as it clears any message.
            Update the status line when the buffer changed.

7 years agopatch 8.0.0591: changes to eval functionality not documented v8.0.0591
Bram Moolenaar [Sun, 30 Apr 2017 14:36:05 +0000 (16:36 +0200)]
patch 8.0.0591: changes to eval functionality not documented

Problem:    Changes to eval functionality not documented.
Solution:   Include all the changes.

7 years agopatch 8.0.0590: cannot add a context to locations v8.0.0590
Bram Moolenaar [Sun, 30 Apr 2017 12:21:00 +0000 (14:21 +0200)]
patch 8.0.0590: cannot add a context to locations

Problem:    Cannot add a context to locations.
Solution:   Add the "context" entry in location entries. (Yegappan Lakshmanan,
            closes #1012)

7 years agopatch 8.0.0589: :simalt still does not work v8.0.0589
Bram Moolenaar [Sat, 29 Apr 2017 15:40:22 +0000 (17:40 +0200)]
patch 8.0.0589: :simalt still does not work

Problem:    :simalt still does not work.
Solution:   Use K_NOP instead of K_IGNORE. (Christian Brabandt)

7 years agopatch 8.0.0588: job_stop() often assumes the channel will be closed v8.0.0588
Bram Moolenaar [Sat, 29 Apr 2017 14:24:38 +0000 (16:24 +0200)]
patch 8.0.0588: job_stop() often assumes the channel will be closed

Problem:    job_stop() often assumes the channel will be closed, while the job
            may not actually be stopped. (Martin Gammelsæter)
Solution:   Only assume the job stops on "kill".  Don't send a signal if the
            job has already ended. (closes #1632)

7 years agoRuntime file updates
Bram Moolenaar [Fri, 28 Apr 2017 18:32:33 +0000 (20:32 +0200)]
Runtime file updates

7 years agopatch 8.0.0587: configure check for return value of tgetent skipped v8.0.0587
Bram Moolenaar [Fri, 28 Apr 2017 13:45:46 +0000 (15:45 +0200)]
patch 8.0.0587: configure check for return value of tgetent skipped

Problem:    Configure check for return value of tgetent is skipped.
Solution:   Always perform the check. (Marvin Schmidt, closes #1664)

7 years agopatch 8.0.0586: no test for mapping timing out v8.0.0586
Bram Moolenaar [Sun, 23 Apr 2017 16:49:36 +0000 (18:49 +0200)]
patch 8.0.0586: no test for mapping timing out

Problem:    No test for mapping timing out.
Solution:   Add a test.

7 years agopatch 8.0.0585: test_options fails when run in the GUI v8.0.0585
Bram Moolenaar [Sun, 23 Apr 2017 16:44:26 +0000 (18:44 +0200)]
patch 8.0.0585: test_options fails when run in the GUI

Problem:    Test_options fails when run in the GUI.
Solution:   Also check the 'imactivatekey' value when the GUI is not running.
            Specify test values that work and that fail.

7 years agoUpdated runtime files.
Bram Moolenaar [Sun, 23 Apr 2017 16:40:21 +0000 (18:40 +0200)]
Updated runtime files.

7 years agopatch 8.0.0584: memory leak when executing quickfix tests v8.0.0584
Bram Moolenaar [Sun, 23 Apr 2017 15:19:43 +0000 (17:19 +0200)]
patch 8.0.0584: memory leak when executing quickfix tests

Problem:    Memory leak when executing quickfix tests.
Solution:   Free the list reference. (Yegappan Lakshmanan)

7 years agopatch 8.0.0583: fold test hangs on MS-Windows v8.0.0583
Bram Moolenaar [Sun, 23 Apr 2017 14:48:20 +0000 (16:48 +0200)]
patch 8.0.0583: fold test hangs on MS-Windows

Problem:    Fold test hangs on MS-Windows.
Solution:   Avoid overflow in compare.

7 years agopatch 8.0.0582: illegal memory access with z= command v8.0.0582
Bram Moolenaar [Sat, 22 Apr 2017 21:49:52 +0000 (23:49 +0200)]
patch 8.0.0582: illegal memory access with z= command

Problem:    Illegal memory access with z= command. (Dominique Pelle)
Solution:   Avoid case folded text to be longer than the original text.  Use
            MB_PTR2LEN() instead of MB_BYTE2LEN().

7 years agopatch 8.0.0581: moving folded text is sometimes not correct v8.0.0581
Bram Moolenaar [Sat, 22 Apr 2017 20:40:11 +0000 (22:40 +0200)]
patch 8.0.0581: moving folded text is sometimes not correct

Problem:    Moving folded text is sometimes not correct.
Solution:   Bail out when "move_end" is zero. (Matthew Malcomson)

7 years agopatch 8.0.0580: cannot set the valid flag with setqflist() v8.0.0580
Bram Moolenaar [Sat, 22 Apr 2017 19:20:46 +0000 (21:20 +0200)]
patch 8.0.0580: cannot set the valid flag with setqflist()

Problem:    Cannot set the valid flag with setqflist().
Solution:   Add the "valid" argument. (Yegappan Lakshmanan, closes #1642)

7 years agopatch 8.0.0579: duplicate test case for quickfix v8.0.0579
Bram Moolenaar [Sat, 22 Apr 2017 13:42:53 +0000 (15:42 +0200)]
patch 8.0.0579: duplicate test case for quickfix

Problem:    Duplicate test case for quickfix.
Solution:   Remove the function. (Yegappan Lakshmanan)

7 years agopatch 8.0.0578: :simalt on MS-Windows does not work properly v8.0.0578
Bram Moolenaar [Sat, 22 Apr 2017 13:17:40 +0000 (15:17 +0200)]
patch 8.0.0578: :simalt on MS-Windows does not work properly

Problem:    :simalt on MS-Windows does not work properly.
Solution:   Put something in the typeahead buffer. (Christian Brabandt)

7 years agopatch 8.0.0577: warning for uninitialized variable v8.0.0577
Bram Moolenaar [Fri, 21 Apr 2017 21:18:26 +0000 (23:18 +0200)]
patch 8.0.0577: warning for uninitialized variable

Problem:    Warning for uninitialized variable. (John Marriott)
Solution:   Initialize "indent".

7 years agopatch 8.0.0576: can't build when configure choses "install-sh" v8.0.0576
Bram Moolenaar [Fri, 21 Apr 2017 21:00:02 +0000 (23:00 +0200)]
patch 8.0.0576: can't build when configure choses "install-sh"

Problem:    Can't build when configure choses "install-sh". (Daniel Hahler)
Solution:   Always use install-sh.  Fix remaining use of mkinstalldirs.
            (closes #1647)

7 years agopatch 8.0.0575: using freed memory when resetting 'indentexpr' v8.0.0575
Bram Moolenaar [Thu, 20 Apr 2017 20:57:27 +0000 (22:57 +0200)]
patch 8.0.0575: using freed memory when resetting 'indentexpr'

Problem:    Using freed memory when resetting 'indentexpr' while evaluating
            it. (Dominique Pelle)
Solution:   Make a copy of 'indentexpr'.

7 years agopatch 8.0.0574: get only one quickfix list after :caddbuf v8.0.0574
Bram Moolenaar [Thu, 20 Apr 2017 20:44:47 +0000 (22:44 +0200)]
patch 8.0.0574: get only one quickfix list after :caddbuf

Problem:    Get only one quickfix list after :caddbuf.
Solution:   Reset qf_multiline. (Yegappan Lakshmanan)

7 years agopatch 8.0.0573: running parallel make after distclean fails v8.0.0573
Bram Moolenaar [Thu, 20 Apr 2017 20:32:24 +0000 (22:32 +0200)]
patch 8.0.0573: running parallel make after distclean fails

Problem:    Running parallel make after distclean fails. (Manuel Ortega)
Solution:   Instead of using targets "scratch config myself" use "reconfig".

7 years agopatch 8.0.0572: building the command table requires Perl v8.0.0572
Bram Moolenaar [Thu, 20 Apr 2017 19:55:44 +0000 (21:55 +0200)]
patch 8.0.0572: building the command table requires Perl

Problem:    Building the command table requires Perl.
Solution:   Use a Vim script solution. (Dominique Pelle, closes #1641)

7 years agopatch 8.0.0571: negative line number when using :z^ in an empty buffer v8.0.0571
Bram Moolenaar [Thu, 20 Apr 2017 19:12:30 +0000 (21:12 +0200)]
patch 8.0.0571: negative line number when using :z^ in an empty buffer

Problem:    The cursor line number becomes negative when using :z^ in an empty
            buffer. (neovim #6557)
Solution:   Correct the line number.  Also reset the column.

7 years agopatch 8.0.0570: can't run make with several jobs v8.0.0570
Bram Moolenaar [Thu, 20 Apr 2017 18:20:23 +0000 (20:20 +0200)]
patch 8.0.0570: can't run make with several jobs

Problem:    Can't run make with several jobs, creating directories has a race
            condition.
Solution:   Use the MKDIR_P autoconf mechanism. (Eric N. Vander Weele,
            closes #1639)

7 years agopatch 8.0.0569: bracketed paste is still enabled in a shell command v8.0.0569
Bram Moolenaar [Thu, 20 Apr 2017 17:44:09 +0000 (19:44 +0200)]
patch 8.0.0569: bracketed paste is still enabled in a shell command

Problem:    Bracketed paste is still enabled when executing a shell command.
            (Michael Smith)
Solution:   Disable brackted paste when going into cooked mode. (closes #1638)

7 years agopatch 8.0.0568: 1gd may hang v8.0.0568
Bram Moolenaar [Thu, 20 Apr 2017 16:54:50 +0000 (18:54 +0200)]
patch 8.0.0568: 1gd may hang

Problem:    "1gd" may hang.
Solution:   Don't get stuck in one position. (Christian Brabandt, closes #1643)

7 years agopatch 8.0.0567: call for requesting color and ambiwidth is too early v8.0.0567
Bram Moolenaar [Tue, 18 Apr 2017 16:51:35 +0000 (18:51 +0200)]
patch 8.0.0567: call for requesting color and ambiwidth is too early

Problem:    Call for requesting color and ambiwidth is too early. (Hirohito
            Higashi)
Solution:   Move the call down to below resetting "starting".

7 years agopatch 8.0.0566: setting nocompatible for the tiny version moves the cursor v8.0.0566
Bram Moolenaar [Sat, 15 Apr 2017 13:37:25 +0000 (15:37 +0200)]
patch 8.0.0566: setting nocompatible for the tiny version moves the cursor

Problem:    Setting nocompatible for the tiny version moves the cursor.
Solution:   Use another trick to skip commands when the +eval feature is
            present. (Christian Brabandt, closes #1630)

7 years agopatch 8.0.0565: using freed memory in :caddbuf v8.0.0565
Bram Moolenaar [Sat, 15 Apr 2017 13:22:52 +0000 (15:22 +0200)]
patch 8.0.0565: using freed memory in :caddbuf

Problem:    Using freed memory in :caddbuf after clearing quickfix list.
            (Dominique Pelle)
Solution:   Set qf_last to NULL.

7 years agopatch 8.0.0564: cannot detect Bazel BUILD files on some systems v8.0.0564
Bram Moolenaar [Sat, 15 Apr 2017 12:36:07 +0000 (14:36 +0200)]
patch 8.0.0564: cannot detect Bazel BUILD files on some systems

Problem:    Cannot detect Bazel BUILD files on some systems.
Solution:   Check for BUILD after script checks. (Issue #1340)

8 years agopatch 8.0.0563: crash when getting the window position in tmux v8.0.0563
Bram Moolenaar [Tue, 11 Apr 2017 20:44:05 +0000 (22:44 +0200)]
patch 8.0.0563: crash when getting the window position in tmux

Problem:    Crash when getting the window position in tmux. (Marvin Schmidt)
Solution:   Add t_GP to the list of terminal options. (closes #1627)

8 years agopatch 8.0.0562: not enough test coverage for syntax commands v8.0.0562
Bram Moolenaar [Mon, 10 Apr 2017 20:45:30 +0000 (22:45 +0200)]
patch 8.0.0562: not enough test coverage for syntax commands

Problem:    Not enough test coverage for syntax commands.
Solution:   Add a few more tests. (Dominique Pelle, closes #1624)

8 years agopatch 8.0.0561: undefined behavior when using backslash after empty line v8.0.0561
Bram Moolenaar [Mon, 10 Apr 2017 20:22:42 +0000 (22:22 +0200)]
patch 8.0.0561: undefined behavior when using backslash after empty line

Problem:    Undefined behavior when using backslash after empty line.
Solution:   Check for an empty line. (Dominique Pelle, closes #1631)

8 years agopatch 8.0.0560: :windo allows for ! but it's not supported v8.0.0560
Bram Moolenaar [Mon, 10 Apr 2017 19:46:38 +0000 (21:46 +0200)]
patch 8.0.0560: :windo allows for ! but it's not supported

Problem:    :windo allows for ! but it's not supported.
Solution:   Disallow passing !. (Hirohito Higashi)

8 years agopatch 8.0.0559: setting ttytype to xxx does not always fail v8.0.0559
Bram Moolenaar [Sun, 9 Apr 2017 20:54:13 +0000 (22:54 +0200)]
patch 8.0.0559: setting ttytype to xxx does not always fail

Problem:    Setting ttytype to xxx does not always fail as expected. (Marvin
            Schmidt)
Solution:   Catch both possible errors. (closes #1601)

8 years agoUpdate runtime files.
Bram Moolenaar [Sun, 9 Apr 2017 18:11:58 +0000 (20:11 +0200)]
Update runtime files.

8 years agopatch 8.0.0558: :ownsyntax is not tested v8.0.0558
Bram Moolenaar [Sun, 9 Apr 2017 13:41:31 +0000 (15:41 +0200)]
patch 8.0.0558: :ownsyntax is not tested

Problem:    The :ownsyntax command is not tested.
Solution:   Add a test. (Dominique Pelle, closes #1622)

8 years agopatch 8.0.0557: GTK: using static gravities is not useful v8.0.0557
Bram Moolenaar [Sun, 9 Apr 2017 13:27:09 +0000 (15:27 +0200)]
patch 8.0.0557: GTK: using static gravities is not useful

Problem:    GTK: using static gravities is not useful.
Solution:   Remove setting static gravities. (Kazunobu Kuriyama)

8 years agopatch 8.0.0556: getting window position fails if GUI and term possible v8.0.0556
Bram Moolenaar [Sun, 9 Apr 2017 13:03:15 +0000 (15:03 +0200)]
patch 8.0.0556: getting window position fails if GUI and term possible

Problem:    Getting the window position fails if both the GUI and term
            code is built in.
Solution:   Return after getting the GUI window position. (Kazunobu Kuriyama)

8 years agopatch 8.0.0555: toupper/tolower test fails on OSX without Darwin v8.0.0555
Bram Moolenaar [Sun, 9 Apr 2017 12:58:15 +0000 (14:58 +0200)]
patch 8.0.0555: toupper/tolower test fails on OSX without Darwin

Problem:    Toupper/tolower test fails on OSX without Darwin.
Solution:   Skip that part of the test also for OSX. (Kazunobu Kuriyama)

8 years agopatch 8.0.0554: toupper and tolower don't work properly for Turkish v8.0.0554
Bram Moolenaar [Sun, 9 Apr 2017 11:41:59 +0000 (13:41 +0200)]
patch 8.0.0554: toupper and tolower don't work properly for Turkish

Problem:    Toupper and tolower don't work properly for Turkish when 'casemap'
            contains "keepascii". (Bjorn Linse)
Solution:   When 'casemap' contains "keepascii" use ASCII toupper/tolower.

8 years agopatch 8.0.0553: toupper/tolower test fails on Mac v8.0.0553
Bram Moolenaar [Sat, 8 Apr 2017 17:39:43 +0000 (19:39 +0200)]
patch 8.0.0553: toupper/tolower test fails on Mac

Problem:    Toupper/tolower test with Turkish locale fails on Mac.
Solution:   Skip the test on Mac.

8 years agopatch 8.0.0552: toupper and tolower don't work properly for Turkish v8.0.0552
Bram Moolenaar [Sat, 8 Apr 2017 17:12:06 +0000 (19:12 +0200)]
patch 8.0.0552: toupper and tolower don't work properly for Turkish

Problem:    Toupper and tolower don't work properly for Turkish when 'casemap'
            is empty. (Bjorn Linse)
Solution:   Check the 'casemap' options when deciding how to upper/lower case.

8 years agopatch 8.0.0551: the typeahead buffer is reallocated too often v8.0.0551
Bram Moolenaar [Sat, 8 Apr 2017 16:41:13 +0000 (18:41 +0200)]
patch 8.0.0551: the typeahead buffer is reallocated too often

Problem:    The typeahead buffer is reallocated too often.
Solution:   Re-use the existing buffer if possible.

8 years agopatch 8.0.0550: cannot parse some etags format tags file v8.0.0550
Bram Moolenaar [Fri, 7 Apr 2017 18:30:29 +0000 (20:30 +0200)]
patch 8.0.0550: cannot parse some etags format tags file

Problem:    Some etags format tags file use 0x01, breaking the parsing.
Solution:   Use 0x02 for TAG_SEP. (James McCoy, closes #1614)

8 years agopatch 8.0.0549: no test for the 8g8 command v8.0.0549
Bram Moolenaar [Fri, 7 Apr 2017 18:09:51 +0000 (20:09 +0200)]
patch 8.0.0549: no test for the 8g8 command

Problem:    No test for the 8g8 command.
Solution:   Add a test. (Dominique Pelle, closes #1615)

8 years agopatch 8.0.0548: saving the redo buffer only works one time v8.0.0548
Bram Moolenaar [Fri, 7 Apr 2017 17:50:12 +0000 (19:50 +0200)]
patch 8.0.0548: saving the redo buffer only works one time

Problem:    Saving the redo buffer only works one time, resulting in the "."
            command not working well for a function call inside another
            function call. (Ingo Karkat)
Solution:   Save the redo buffer at every user function call. (closes #1619)

8 years agopatch 8.0.0547: extra line break in verbosefile v8.0.0547
Bram Moolenaar [Fri, 7 Apr 2017 14:17:39 +0000 (16:17 +0200)]
patch 8.0.0547: extra line break in verbosefile

Problem:    Extra line break in verbosefile when using ":echomsg". (Ingo
            Karkat)
Solution:   Don't call msg_start(). (closes #1618)

8 years agopatch 8.0.0546: swap file exists briefly when opening the command window v8.0.0546
Bram Moolenaar [Fri, 7 Apr 2017 13:42:25 +0000 (15:42 +0200)]
patch 8.0.0546: swap file exists briefly when opening the command window

Problem:    Swap file exists briefly when opening the command window.
Solution:   Set the noswapfile command modifier before splitting the window.
            (James McCoy, closes #1620)

8 years agopatch 8.0.0545: edit test may fail on some systems v8.0.0545
Bram Moolenaar [Fri, 7 Apr 2017 12:10:48 +0000 (14:10 +0200)]
patch 8.0.0545: edit test may fail on some systems

Problem:    Edit test may fail on some systems.
Solution:   If creating a directory with a very long path fails, bail out.

8 years agopatch 8.0.0544: cppcheck warnings v8.0.0544
Bram Moolenaar [Fri, 7 Apr 2017 12:02:01 +0000 (14:02 +0200)]
patch 8.0.0544: cppcheck warnings

Problem:    Cppcheck warnings.
Solution:   Use temp variable. Change NUL to NULL. Swap conditions. (Dominique
            Pelle)

8 years agopatch 8.0.0543: test_edit causes older xfce4-terminal to close v8.0.0543
Bram Moolenaar [Tue, 4 Apr 2017 20:41:10 +0000 (22:41 +0200)]
patch 8.0.0543: test_edit causes older xfce4-terminal to close

Problem:    Test_edit causes older xfce4-terminal to close. (Dominique Pelle)
Solution:   Reduce number of columns to 2000.  Try to restore the window
            position.

8 years agopatch 8.0.0542: getpos() can return a negative line number v8.0.0542
Bram Moolenaar [Mon, 3 Apr 2017 20:02:55 +0000 (22:02 +0200)]
patch 8.0.0542: getpos() can return a negative line number

Problem:    getpos() can return a negative line number. (haya14busa)
Solution:   Handle a zero topline and botline. (closes #1613)

8 years agopatch 8.0.0541: compiler warning on MS-Windows v8.0.0541
Bram Moolenaar [Mon, 3 Apr 2017 19:35:42 +0000 (21:35 +0200)]
patch 8.0.0541: compiler warning on MS-Windows

Problem:    Compiler warning on MS-Windows.
Solution:   Add a type cast. (Mike Williams)

8 years agopatch 8.0.0540: building unit tests fails v8.0.0540
Bram Moolenaar [Sun, 2 Apr 2017 16:19:53 +0000 (18:19 +0200)]
patch 8.0.0540: building unit tests fails

Problem:    Building unit tests fails.
Solution:   Move params outside of #ifdef.

8 years agopatch 8.0.0539: startup test fails on Mac v8.0.0539
Bram Moolenaar [Sun, 2 Apr 2017 15:21:16 +0000 (17:21 +0200)]
patch 8.0.0539: startup test fails on Mac

Problem:    Startup test fails on Mac.
Solution:   Use another term name, "unknown" is known. Avoid a 2 second delay.

8 years agopatch 8.0.0538: no test for falling back to default term value v8.0.0538
Bram Moolenaar [Sun, 2 Apr 2017 14:54:09 +0000 (16:54 +0200)]
patch 8.0.0538: no test for falling back to default term value

Problem:    No test for falling back to default term value.
Solution:   Add a test.

8 years agopatch 8.0.0537: illegal memory access with :z and large count v8.0.0537
Bram Moolenaar [Sun, 2 Apr 2017 13:45:17 +0000 (15:45 +0200)]
patch 8.0.0537: illegal memory access with :z and large count

Problem:    Illegal memory access with :z and large count.
Solution:   Check for number overflow, using long instead of int. (Dominique
            Pelle, closes #1612)

8 years agopatch 8.0.0536: quickfix window not updated when freeing quickfix stack v8.0.0536
Bram Moolenaar [Sun, 2 Apr 2017 13:15:49 +0000 (15:15 +0200)]
patch 8.0.0536: quickfix window not updated when freeing quickfix stack

Problem:    Quickfix window not updated when freeing quickfix stack.
Solution:   Update the quickfix window. (Yegappan Lakshmanan)

8 years agopatch 8.0.0535: memory leak when exiting from within a user function v8.0.0535
Bram Moolenaar [Sat, 1 Apr 2017 19:21:30 +0000 (21:21 +0200)]
patch 8.0.0535: memory leak when exiting from within a user function

Problem:    Memory leak when exiting from within a user function.
Solution:   Clear the function call stack on exit.

8 years agopatch 8.0.0534: defaults.vim does not work well with tiny features v8.0.0534
Bram Moolenaar [Sat, 1 Apr 2017 14:59:29 +0000 (16:59 +0200)]
patch 8.0.0534: defaults.vim does not work well with tiny features

Problem:    Defaults.vim does not work well with tiny features. (crd477)
Solution:   When the +eval feature is not available always reset 'compatible'.

8 years agopatch 8.0.0533: abbreviation doesn't work after backspacing newline v8.0.0533
Bram Moolenaar [Sat, 1 Apr 2017 13:15:52 +0000 (15:15 +0200)]
patch 8.0.0533: abbreviation doesn't work after backspacing newline

Problem:    Abbreviation doesn't work after backspacing newline. (Hkonrk)
Solution:   Set the insert start column. (closes #1609)

8 years agopatch 8.0.0532: test with long directory name fails on Mac v8.0.0532
Bram Moolenaar [Sat, 1 Apr 2017 12:13:14 +0000 (14:13 +0200)]
patch 8.0.0532: test with long directory name fails on Mac

Problem:    Test with long directory name fails on Mac.
Solution:   Skip the test on Mac systems.

8 years agopatch 8.0.0531: test with long directory name fails on non-unix systems v8.0.0531
Bram Moolenaar [Fri, 31 Mar 2017 21:32:53 +0000 (23:32 +0200)]
patch 8.0.0531: test with long directory name fails on non-unix systems

Problem:    Test with long directory name fails on non-unix systems.
Solution:   Skip the test on non-unix systems.

8 years agopatch 8.0.0530: buffer overflow when 'columns' is very big v8.0.0530
Bram Moolenaar [Fri, 31 Mar 2017 20:27:12 +0000 (22:27 +0200)]
patch 8.0.0530: buffer overflow when 'columns' is very big

Problem:    Buffer overflow when 'columns' is very big. (Nikolai Pavlov)
Solution:   Correctly compute where to truncate.  Fix translation.
            (closes #1600)

8 years agopatch 8.0.0529: line in test commented out v8.0.0529
Bram Moolenaar [Thu, 30 Mar 2017 20:20:29 +0000 (22:20 +0200)]
patch 8.0.0529: line in test commented out

Problem:    Line in test commented out.
Solution:   Uncomment the lines for character classes that were failing before
            8.0.0519. (Dominique Pelle, closes #1599)

8 years agopatch 8.0.0528: highlight wrong text when 'wim' includes "longest" v8.0.0528
Bram Moolenaar [Thu, 30 Mar 2017 20:04:55 +0000 (22:04 +0200)]
patch 8.0.0528: highlight wrong text when 'wim' includes "longest"

Problem:    When 'wildmenu' is set and 'wildmode' has "longest" then the first
            file name is highlighted, even though the text shows the longest
            match.
Solution:   Do not highlight the first match. (LemonBoy, closes #1602)

8 years agopatch 8.0.0527: leftover file from RISC OS v8.0.0527
Bram Moolenaar [Thu, 30 Mar 2017 19:51:31 +0000 (21:51 +0200)]
patch 8.0.0527: leftover file from RISC OS

Problem:    RISC OS support was removed long ago, but one file is still
            included.
Solution:   Delete the file. (Thomas Dziedzic, closes #1603)

8 years agopatch 8.0.0526: Coverity complains about possible negative value v8.0.0526
Bram Moolenaar [Thu, 30 Mar 2017 19:18:45 +0000 (21:18 +0200)]
patch 8.0.0526: Coverity complains about possible negative value

Problem:    Coverity complains about possible negative value.
Solution:   Check return value of ftell() not to be negative.

8 years agopatch 8.0.0525: completion for user command argument not tested v8.0.0525
Bram Moolenaar [Wed, 29 Mar 2017 19:30:04 +0000 (21:30 +0200)]
patch 8.0.0525: completion for user command argument not tested

Solution:   Completion for user command argument not tested.
Problem:    Add a test.

8 years agopatch 8.0.0524: folds messed up v8.0.0524
Bram Moolenaar [Wed, 29 Mar 2017 18:38:59 +0000 (20:38 +0200)]
patch 8.0.0524: folds messed up

Problem:    Folds are messed up when 'encodin' is "utf-8".
Solution:   Also set the fold character when it's not multi-byte.

8 years agopatch 8.0.0523: dv} deletes part of a multi-byte character. v8.0.0523
Bram Moolenaar [Wed, 29 Mar 2017 17:48:11 +0000 (19:48 +0200)]
patch 8.0.0523: dv} deletes part of a multi-byte character.

Problem:    dv} deletes part of a multi-byte character. (Urtica Dioica)
Solution:   Include the whole character.

8 years agopatch 8.0.0522: Win32: when 'clipboard' is "unnamed" yyp does not work v8.0.0522
Bram Moolenaar [Wed, 29 Mar 2017 17:20:41 +0000 (19:20 +0200)]
patch 8.0.0522: Win32: when 'clipboard' is "unnamed" yyp does not work

Problem:    MS-Windows: when 'clipboard' is "unnamed" yyp does not work in a
            :global command.
Solution:   When setting the clipboard was postponed, do not clear the
            register.

8 years agopatch 8.0.0521: GtkForm handling is outdated v8.0.0521
Bram Moolenaar [Wed, 29 Mar 2017 16:07:40 +0000 (18:07 +0200)]
patch 8.0.0521: GtkForm handling is outdated

Problem:    GtkForm handling is outdated.
Solution:   Get rid of event filter functions.  Get rid of GtkForm.width and
            .height.  Eliminate gtk_widget_size_request() calls. (Kazunobu
            Kuriyama)

8 years agopatch 8.0.0520: using a function pointer while the function is known v8.0.0520
Bram Moolenaar [Wed, 29 Mar 2017 15:30:27 +0000 (17:30 +0200)]
patch 8.0.0520: using a function pointer while the function is known

Problem:    Using a function pointer instead of the actual function, which we
            know.
Solution:   Change mb_ functions to utf_ functions when already checked for
            Unicode. (Dominique Pelle, closes #1582)

8 years agopatch 8.0.0519: character classes are not well tested v8.0.0519
Bram Moolenaar [Wed, 29 Mar 2017 13:31:20 +0000 (15:31 +0200)]
patch 8.0.0519: character classes are not well tested

Problem:    Character classes are not well tested. They can differ between
            platforms.
Solution:   Add tests.  In the documentation make clear which classes depend
            on what library function.  Only use :cntrl: and :graph: for ASCII.
            (Kazunobu Kuriyama, Dominique Pelle, closes #1560)
            Update the documentation.

8 years agopatch 8.0.0518: bad fold text when a multi-byte char has a zero byte v8.0.0518
Bram Moolenaar [Wed, 29 Mar 2017 12:40:47 +0000 (14:40 +0200)]
patch 8.0.0518: bad fold text when a multi-byte char has a zero byte

Problem:    Storing a zero byte from a multi-byte character causes fold text
            to show up wrong.
Solution:   Avoid putting zero in ScreenLines. (Christian Brabandt,
            closes #1567)

8 years agopatch 8.0.0517: there is no way to remove quickfix lists v8.0.0517
Bram Moolenaar [Wed, 29 Mar 2017 12:19:25 +0000 (14:19 +0200)]
patch 8.0.0517: there is no way to remove quickfix lists

Problem:    There is no way to remove quickfix lists (for testing).
Solution:   Add the 'f' action to setqflist(). Add tests. (Yegappan
            Lakshmanan)

8 years agoUpdate runtime files.
Bram Moolenaar [Wed, 29 Mar 2017 11:48:40 +0000 (13:48 +0200)]
Update runtime files.

8 years agopatch 8.0.0516: a large count on a normal command causes trouble v8.0.0516
Bram Moolenaar [Wed, 29 Mar 2017 11:08:35 +0000 (13:08 +0200)]
patch 8.0.0516: a large count on a normal command causes trouble

Problem:    A large count on a normal command causes trouble. (Dominique
            Pelle)
Solution:   Make "opcount" long.

8 years agopatch 8.0.0515: ml_get errors in silent Ex mode v8.0.0515
Bram Moolenaar [Mon, 27 Mar 2017 21:02:07 +0000 (23:02 +0200)]
patch 8.0.0515: ml_get errors in silent Ex mode

Problem:    ml_get errors in silent Ex mode. (Dominique Pelle)
Solution:   Clear valid flags when setting the cursor.  Set the topline when
            not in full screen mode.

8 years agopatch 8.0.0514: script for creating cmdidxs can be improved v8.0.0514
Bram Moolenaar [Sun, 26 Mar 2017 19:46:28 +0000 (21:46 +0200)]
patch 8.0.0514: script for creating cmdidxs can be improved

Problem:    Script for creating cmdidxs can be improved.
Solution:   Count skipped lines instead of collecting the lines.  Add "const".
            (Dominique Pelle, closes #1594)

8 years agopatch 8.0.0513: getting name of cleared highlight group is wrong v8.0.0513
Bram Moolenaar [Sun, 26 Mar 2017 11:50:09 +0000 (13:50 +0200)]
patch 8.0.0513: getting name of cleared highlight group is wrong

Problem:    Getting name of cleared highlight group is wrong. (Matt Wozniski)
Solution:   Only skip over cleared names for completion. (closes #1592)
            Also fix that a cleared group causes duplicate completions.

8 years agopatch 8.0.0512: check for available characters takes too long v8.0.0512
Bram Moolenaar [Sat, 25 Mar 2017 19:16:28 +0000 (20:16 +0100)]
patch 8.0.0512: check for available characters takes too long

Problem:    Check for available characters takes too long.
Solution:   Only check did_start_blocking if wtime is negative. (Daisuke
            Suzuki, closes #1591)

8 years agopatch 8.0.0511: message for skipping client-server tests is unclear v8.0.0511
Bram Moolenaar [Sat, 25 Mar 2017 19:14:34 +0000 (20:14 +0100)]
patch 8.0.0511: message for skipping client-server tests is unclear

Problem:    Menuage for skipping client-server tests is unclear.
Solution:   Be more specific about what's missing (Hirohito Higashi, Kazunobu
            Kuriyama)

8 years agopatch 8.0.0510: typo in link to codecov.io results v8.0.0510
Bram Moolenaar [Sat, 25 Mar 2017 17:10:31 +0000 (18:10 +0100)]
patch 8.0.0510: typo in link to codecov.io results

Problem:    Typo in link to codecov.io results.
Solution:   Remove duplicate https:.