]> granicus.if.org Git - vim/log
vim
7 years agopatch 8.0.1515: BufWinEnter event fired when opening hidden terminal v8.0.1515
Bram Moolenaar [Tue, 13 Feb 2018 13:07:18 +0000 (14:07 +0100)]
patch 8.0.1515: BufWinEnter event fired when opening hidden terminal

Problem:    BufWinEnter event fired when opening hidden terminal.
Solution:   Do not fire BufWinEnter when the terminal is midden and does not
            open a window. (Kenta Sato, closes #2636)

7 years agopatch 8.0.1514: getting the list of changes is not easy v8.0.1514
Bram Moolenaar [Tue, 13 Feb 2018 12:59:59 +0000 (13:59 +0100)]
patch 8.0.1514: getting the list of changes is not easy

Problem:    Getting the list of changes is not easy.
Solution:   Add the getchangelist() function. (Yegappan Lakshmanan,
            closes #2634)

7 years agopatch 8.0.1513: the jumplist is not always properly cleaned up v8.0.1513
Bram Moolenaar [Tue, 13 Feb 2018 12:33:29 +0000 (13:33 +0100)]
patch 8.0.1513: the jumplist is not always properly cleaned up

Problem:    The jumplist is not always properly cleaned up.
Solution:   Call fname2fnum() before cleanup_jumplist(). (Yegappan Lakshmanan)

7 years agopatch 8.0.1512: warning for possibly using NULL pointer v8.0.1512
Bram Moolenaar [Tue, 13 Feb 2018 12:12:11 +0000 (13:12 +0100)]
patch 8.0.1512: warning for possibly using NULL pointer

Problem:    Warning for possibly using NULL pointer. (Coverity)
Solution:   Skip using the pointer if it's NULL.

7 years agopatch 8.0.1511: some code for the debugger watch expression is clumsy v8.0.1511
Bram Moolenaar [Tue, 13 Feb 2018 11:57:42 +0000 (12:57 +0100)]
patch 8.0.1511: some code for the debugger watch expression is clumsy

Problem:    Some code for the debugger watch expression is clumsy.
Solution:   Clean up the code.

7 years agopatch 8.0.1510: cannot test if a command causes a beep v8.0.1510
Bram Moolenaar [Tue, 13 Feb 2018 11:26:14 +0000 (12:26 +0100)]
patch 8.0.1510: cannot test if a command causes a beep

Problem:    Cannot test if a command causes a beep.
Solution:   Add assert_beeps().

7 years agopatch 8.0.1509: test for failing drag-n-drop command no longer fails v8.0.1509
Bram Moolenaar [Mon, 12 Feb 2018 21:49:00 +0000 (22:49 +0100)]
patch 8.0.1509: test for failing drag-n-drop command no longer fails

Problem:    Test for failing drag-n-drop command no longer fails.
Solution:   Check for the "dnd" feature.

7 years agopatch 8.0.1508: the :drop command is not always available v8.0.1508
Bram Moolenaar [Mon, 12 Feb 2018 21:08:06 +0000 (22:08 +0100)]
patch 8.0.1508: the :drop command is not always available

Problem:    The :drop command is not always available.
Solution:   Include :drop in all builds. (Yasuhiro Matsumoto, closes #2639)

7 years agopatch 8.0.1507: timer test is a bit flaky v8.0.1507
Bram Moolenaar [Mon, 12 Feb 2018 20:31:35 +0000 (21:31 +0100)]
patch 8.0.1507: timer test is a bit flaky

Problem:    Timer test is a bit flaky.
Solution:   Add it to the list of flaky tests.

7 years agopatch 8.0.1506: new version of HP NonStop (Tandem) doesn't like a header v8.0.1506
Bram Moolenaar [Mon, 12 Feb 2018 19:58:11 +0000 (20:58 +0100)]
patch 8.0.1506: new version of HP NonStop (Tandem) doesn't like a header

Problem:    New version of HP NonStop (Tandem) doesn't like the default header
            for setenv().
Solution:   Put a #ifdef around the setenv() entry. (Joachim Schmitz)

7 years agopatch 8.0.1505: debugger can't break on a condition v8.0.1505
Bram Moolenaar [Sun, 11 Feb 2018 18:06:26 +0000 (19:06 +0100)]
patch 8.0.1505: debugger can't break on a condition

Problem:    Debugger can't break on a condition. (Charles Campbell)
Solution:   Add ":breakadd expr". (Christian Brabandt, closes #859)

7 years agopatch 8.0.1504: Win32: the screen may be cleared on startup v8.0.1504
Bram Moolenaar [Sun, 11 Feb 2018 15:40:45 +0000 (16:40 +0100)]
patch 8.0.1504: Win32: the screen may be cleared on startup

Problem:    Win32: the screen may be cleared on startup.
Solution:   Only call shell_resized() when the size actually changed. (Ken
            Takata, closes #2527)

7 years agopatch 8.0.1503: access memory beyond end of string v8.0.1503
Bram Moolenaar [Sun, 11 Feb 2018 14:38:40 +0000 (15:38 +0100)]
patch 8.0.1503: access memory beyond end of string

Problem:    Access memory beyond end of string. (Coverity)
Solution:   Keep allocated memory in separate pointer.  Avoid outputting the
            NUL character.

7 years agopatch 8.0.1502: in out-of-memory situation character is not restored v8.0.1502
Bram Moolenaar [Sun, 11 Feb 2018 14:20:20 +0000 (15:20 +0100)]
patch 8.0.1502: in out-of-memory situation character is not restored

Problem:    In out-of-memory situation character is not restored. (Coverity)
Solution:   Restore the character in all situations.

7 years agopatch 8.0.1501: out-of-memory situation not correctly handled v8.0.1501
Bram Moolenaar [Sun, 11 Feb 2018 14:07:22 +0000 (15:07 +0100)]
patch 8.0.1501: out-of-memory situation not correctly handled

Problem:    Out-of-memory situation not correctly handled. (Coverity)
Solution:   Check for NULL value.

7 years agopatch 8.0.1500: possible NULL pointer dereference v8.0.1500
Bram Moolenaar [Sun, 11 Feb 2018 14:02:48 +0000 (15:02 +0100)]
patch 8.0.1500: possible NULL pointer dereference

Problem:    Possible NULL pointer dereference. (Coverity)
Solution:   Check for the pointer not being NULL.

7 years agopatch 8.0.1499: out-of-memory situation not correctly handled v8.0.1499
Bram Moolenaar [Sun, 11 Feb 2018 13:53:30 +0000 (14:53 +0100)]
patch 8.0.1499: out-of-memory situation not correctly handled

Problem:    Out-of-memory situation not correctly handled. (Coverity)
Solution:   Check for NULL value.

7 years agopatch 8.0.1498: getjumplist() returns duplicate entries v8.0.1498
Bram Moolenaar [Sun, 11 Feb 2018 13:29:49 +0000 (14:29 +0100)]
patch 8.0.1498: getjumplist() returns duplicate entries

Problem:    Getjumplist() returns duplicate entries. (lacygoill)
Solution:   Call cleanup_jumplist(). (Yegappan Lakshmanan)

7 years agopatch 8.0.1497: getting the jump list requires parsing the output of :jumps v8.0.1497
Bram Moolenaar [Sat, 10 Feb 2018 20:06:32 +0000 (21:06 +0100)]
patch 8.0.1497: getting the jump list requires parsing the output of :jumps

Problem:    Getting the jump list requires parsing the output of :jumps.
Solution:   Add getjumplist(). (Yegappan Lakshmanan, closes #2609)

7 years agopatch 8.0.1496: clearing a pointer takes two lines v8.0.1496
Bram Moolenaar [Sat, 10 Feb 2018 17:45:26 +0000 (18:45 +0100)]
patch 8.0.1496: clearing a pointer takes two lines

Problem:    Clearing a pointer takes two lines.
Solution:   Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi,
            closes #2629)

7 years agopatch 8.0.1495: having 'pumwidth' default to zero has no merit v8.0.1495
Bram Moolenaar [Sat, 10 Feb 2018 17:28:52 +0000 (18:28 +0100)]
patch 8.0.1495: having 'pumwidth' default to zero has no merit

Problem:    Having 'pumwidth' default to zero has no merit.
Solution:   Make the default 15, as the actual default value.

7 years agopatch 8.0.1494: no autocmd triggered in Insert mode with visible popup menu v8.0.1494
Bram Moolenaar [Sat, 10 Feb 2018 17:15:19 +0000 (18:15 +0100)]
patch 8.0.1494: no autocmd triggered in Insert mode with visible popup menu

Problem:    No autocmd triggered in Insert mode with visible popup menu.
Solution:   Add TextChangedP. (Prabir Shrestha, Christian Brabandt,
            closes #2372, closes #1691)
            Fix that the TextChanged autocommands are not always triggered
            when sourcing a script.

7 years agopatch 8.0.1493: completion items cannot be annotated v8.0.1493
Bram Moolenaar [Sat, 10 Feb 2018 15:19:32 +0000 (16:19 +0100)]
patch 8.0.1493: completion items cannot be annotated

Problem:    Completion items cannot be annotated.
Solution:   Add a "user_data" entry to the completion item. (Ben Jackson,
            coses #2608, closes #2508)

7 years agopatch 8.0.1492: memory leak in balloon_split() v8.0.1492
Bram Moolenaar [Sat, 10 Feb 2018 14:38:35 +0000 (15:38 +0100)]
patch 8.0.1492: memory leak in balloon_split()

Problem:    Memory leak in balloon_split().
Solution:   Free the balloon lines. Free the balloon when exiting.

7 years agopatch 8.0.1491: the minimum width of the popup menu is hard coded v8.0.1491
Bram Moolenaar [Sat, 10 Feb 2018 14:36:55 +0000 (15:36 +0100)]
patch 8.0.1491: the minimum width of the popup menu is hard coded

Problem:    The minimum width of the popup menu is hard coded.
Solution:   Add the 'pumwidth' option. (Christian Brabandt, James McCoy,
            closes #2314)

7 years agopatch 8.0.1490: number of spell regions is spread out through the code v8.0.1490
Bram Moolenaar [Sat, 10 Feb 2018 13:12:43 +0000 (14:12 +0100)]
patch 8.0.1490: number of spell regions is spread out through the code

Problem:    Number of spell regions is spread out through the code.
Solution:   Define MAXREGIONS.

7 years agoUpdate runtime files.
Bram Moolenaar [Fri, 9 Feb 2018 21:00:53 +0000 (22:00 +0100)]
Update runtime files.

7 years agopatch 8.0.1489: there is no easy way to get the global directory v8.0.1489
Bram Moolenaar [Fri, 9 Feb 2018 19:53:59 +0000 (20:53 +0100)]
patch 8.0.1489: there is no easy way to get the global directory

Problem:    There is no easy way to get the global directory, esp. if some
            windows have a local directory.
Solution:   Make getcwd(-1) return the global directory. (Andy Massimino,
            closes #2606)

7 years agopatch 8.0.1488: emacs tags no longer work v8.0.1488
Bram Moolenaar [Fri, 9 Feb 2018 18:25:29 +0000 (19:25 +0100)]
patch 8.0.1488: emacs tags no longer work

Problem:    Emacs tags no longer work. (zdohnal)
Solution:   Do not skip over end of line.

7 years agopatch 8.0.1487: test 14 fails v8.0.1487
Bram Moolenaar [Fri, 9 Feb 2018 18:24:01 +0000 (19:24 +0100)]
patch 8.0.1487: test 14 fails

Problem:    Test 14 fails.
Solution:   Fix of-by-one error.

7 years agopatch 8.0.1486: accessing invalid memory with "it" v8.0.1486
Bram Moolenaar [Fri, 9 Feb 2018 17:09:54 +0000 (18:09 +0100)]
patch 8.0.1486: accessing invalid memory with "it"

Problem:    Accessing invalid memory with "it". (Dominique Pelle)
Solution:   Avoid going over the end of the line. (Christian Brabandt,
            closes #2532)

7 years agopatch 8.0.1485: weird autocmd may cause arglist to be changed recursively v8.0.1485
Bram Moolenaar [Fri, 9 Feb 2018 16:50:28 +0000 (17:50 +0100)]
patch 8.0.1485: weird autocmd may cause arglist to be changed recursively

Problem:    Weird autocmd may cause arglist to be changed recursively.
Solution:   Prevent recursively changing the argument list. (Christian
            Brabandt, closes #2472)

7 years agopatch 8.0.1484: reduntant conditions v8.0.1484
Bram Moolenaar [Fri, 9 Feb 2018 15:46:00 +0000 (16:46 +0100)]
patch 8.0.1484: reduntant conditions

Problem:    Reduntant conditions.
Solution:   Remove them. (Dominique Pelle)

7 years agopatch 8.0.1483: searchpair() might return an invalid value on timeout v8.0.1483
Bram Moolenaar [Fri, 9 Feb 2018 15:04:25 +0000 (16:04 +0100)]
patch 8.0.1483: searchpair() might return an invalid value on timeout

Problem:    Searchpair() might return an invalid value on timeout.
Solution:   When the second search times out, do not accept a match from the
            first search. (Daniel Hahler, closes #2552)

7 years agopatch 8.0.1482: using feedkeys() does not work to test completion v8.0.1482
Bram Moolenaar [Fri, 9 Feb 2018 14:06:02 +0000 (15:06 +0100)]
patch 8.0.1482: using feedkeys() does not work to test completion

Problem:    Using feedkeys() does not work to test Insert mode completion.
            (Lifepillar)
Solution:   Do not check for typed keys when executing :normal or feedkeys().
            Fix thesaurus completion not working when 'complete' is empty.

7 years agopatch 8.0.1481: clearing a pointer takes two lines v8.0.1481
Bram Moolenaar [Fri, 9 Feb 2018 11:29:56 +0000 (12:29 +0100)]
patch 8.0.1481: clearing a pointer takes two lines

Problem:    Clearing a pointer takes two lines.
Solution:   Add vim_clear() to free and clear the pointer.

7 years agopatch 8.0.1480: patch missing change v8.0.1480
Bram Moolenaar [Fri, 9 Feb 2018 11:28:00 +0000 (12:28 +0100)]
patch 8.0.1480: patch missing change

Problem:    Patch missing change.
Solution:   Add missing change.

7 years agopatch 8.0.1479: insert mode completion state is confusing v8.0.1479
Bram Moolenaar [Fri, 9 Feb 2018 11:13:34 +0000 (12:13 +0100)]
patch 8.0.1479: insert mode completion state is confusing

Problem:    Insert mode completion state is confusing.
Solution:   Move ctrl_x_mode into edit.c.  Add CTRL_X_NORMAL for zero.

7 years agopatch 8.0.1478: unnecessary condition v8.0.1478
Bram Moolenaar [Thu, 8 Feb 2018 21:45:17 +0000 (22:45 +0100)]
patch 8.0.1478: unnecessary condition

Problem:    Unnecessary condition for "len" being zero.
Solution:   Remove the condition. (Dominique Pelle)

7 years agopatch 8.0.1477: redraw flicker when moving the mouse outside of terminal window v8.0.1477
Bram Moolenaar [Thu, 8 Feb 2018 21:33:31 +0000 (22:33 +0100)]
patch 8.0.1477: redraw flicker when moving the mouse outside of terminal window

Problem:    Redraw flicker when moving the mouse outside of terminal window.
Solution:   Instead of updating the cursor color and shape every time leaving
            and entering a terminal window, only update when different from
            the previously used cursor.

7 years agopatch 8.0.1476: screen isn't always updated right away v8.0.1476
Bram Moolenaar [Thu, 8 Feb 2018 08:57:28 +0000 (09:57 +0100)]
patch 8.0.1476: screen isn't always updated right away

Problem:    Screen isn't always updated right away.
Solution:   Adjust #ifdef: Call out_flush() when not running the GUI.

7 years agopatch 8.0.1475: invalid memory access in read_redo() v8.0.1475
Bram Moolenaar [Tue, 6 Feb 2018 21:52:49 +0000 (22:52 +0100)]
patch 8.0.1475: invalid memory access in read_redo()

Problem:    Invalid memory access in read_redo(). (gy741)
Solution:   Convert the replacement character back from a negative number to
            CR or NL. (hint by Dominique Pelle, closes #2616)

7 years agopatch 8.0.1474: Visual C 2017 has multiple MSVCVER numbers v8.0.1474
Bram Moolenaar [Tue, 6 Feb 2018 21:02:43 +0000 (22:02 +0100)]
patch 8.0.1474: Visual C 2017 has multiple MSVCVER numbers

Problem:    Visual C 2017 has multiple MSVCVER numbers.
Solution:   Assume the 2017 version if MSVCVER >= 1910. (Leonardo Valeri
            Manera, closes #2619)

7 years agopatch 8.0.1473: MS-Windows: D&D fails between 32 and 64 bit apps v8.0.1473
Bram Moolenaar [Sun, 4 Feb 2018 18:37:40 +0000 (19:37 +0100)]
patch 8.0.1473: MS-Windows: D&D fails between 32 and 64 bit apps

Problem:    MS-Windows: D&D fails between 32 and 64 bit apps.
Solution:   Add the /HIGHENTROPYVA:NO linker option. (Ken Takata, closes #2504)

7 years agopatch 8.0.1472: MS-Windows: nsis installer is a bit slow v8.0.1472
Bram Moolenaar [Sun, 4 Feb 2018 18:11:30 +0000 (19:11 +0100)]
patch 8.0.1472: MS-Windows: nsis installer is a bit slow

Problem:    MS-Windows: nsis installer is a bit slow.
Solution:   Use ReserveFile for vimrc.ini. (closes #2522)

7 years agopatch 8.0.1471: on MS-Windows CursorIM highlighting no longer works v8.0.1471
Bram Moolenaar [Sun, 4 Feb 2018 18:01:31 +0000 (19:01 +0100)]
patch 8.0.1471: on MS-Windows CursorIM highlighting no longer works

Problem:    On MS-Windows CursorIM highlighting no longer works.
Solution:   Adjust #if statements. (Ken Takata)

7 years agopatch 8.0.1470: integer overflow when using regexp pattern v8.0.1470
Bram Moolenaar [Sun, 4 Feb 2018 17:22:46 +0000 (18:22 +0100)]
patch 8.0.1470: integer overflow when using regexp pattern

Problem:    Integer overflow when using regexp pattern. (geeknik)
Solution:   Use a long instead of int. (Christian Brabandt, closes #2251)

7 years agopatch 8.0.1469: when package path is a symlink 'runtimepath' is wrong v8.0.1469
Bram Moolenaar [Sun, 4 Feb 2018 16:47:42 +0000 (17:47 +0100)]
patch 8.0.1469: when package path is a symlink 'runtimepath' is wrong

Problem:    When package path is a symlink adding it to 'runtimepath' happens
            at the end.
Solution:   Do not resolve symlinks before locating the position in
            'runtimepath'. (Ozaki Kiichi, closes #2604)

7 years agopatch 8.0.1468: illegal memory access in del_bytes() v8.0.1468
Bram Moolenaar [Sun, 4 Feb 2018 15:38:47 +0000 (16:38 +0100)]
patch 8.0.1468: illegal memory access in del_bytes()

Problem:    Illegal memory access in del_bytes().
Solution:   Check for negative byte count. (Christian Brabandt, closes #2466)

7 years agopatch 8.0.1467: libvterm doesn't handle illegal byte sequence correctly v8.0.1467
Bram Moolenaar [Sun, 4 Feb 2018 13:49:57 +0000 (14:49 +0100)]
patch 8.0.1467: libvterm doesn't handle illegal byte sequence correctly

Problem:    Libvterm doesn't handle illegal byte sequence correctly.
Solution:   After the invalid code check if there is space to store another
            character.  Allocate one more character. (zhykzhykzhyk, closes
            #2614, closes #2613)

7 years agopatch 8.0.1466: older GTK versions don't have gtk_entry_get_text_length() v8.0.1466
Bram Moolenaar [Sun, 4 Feb 2018 13:32:57 +0000 (14:32 +0100)]
patch 8.0.1466: older GTK versions don't have gtk_entry_get_text_length()

Problem:    Older GTK versions don't have gtk_entry_get_text_length().
Solution:   Add a function with #ifdefs to take care of GTK version
            differences. (Kazunobu Kuriyama, closes #2605)

7 years agopatch 8.0.1465: python2 and python3 detection not tested v8.0.1465
Bram Moolenaar [Sat, 3 Feb 2018 21:35:40 +0000 (22:35 +0100)]
patch 8.0.1465: python2 and python3 detection not tested

Problem:    Python2 and python3 detection not tested. (Matej Cepl)
Solution:   Add test for detecting python2 and python3.  Also detect a script
            using "js" as javascript.

7 years agopatch 8.0.1464: completing directory after :find does not add slash v8.0.1464
Bram Moolenaar [Sat, 3 Feb 2018 19:43:08 +0000 (20:43 +0100)]
patch 8.0.1464: completing directory after :find does not add slash

Problem:    Completing directory after :find does not add slash.
Solution:   Adjust the flags for globpath(). (Genki Sky)

7 years agopatch 8.0.1463: test fails without 'autochdir' option v8.0.1463
Bram Moolenaar [Sat, 3 Feb 2018 19:11:40 +0000 (20:11 +0100)]
patch 8.0.1463: test fails without 'autochdir' option

Problem:    Test fails without 'autochdir' option.
Solution:   Skip test if 'autochdir' is not supported.

7 years agopatch 8.0.1462: missing yet another file in patch v8.0.1462
Bram Moolenaar [Sat, 3 Feb 2018 18:17:36 +0000 (19:17 +0100)]
patch 8.0.1462: missing yet another file in patch

Problem:    Missing yet another file in patch.
Solution:   Add changes to missing file.

7 years agopatch 8.0.1461: missing another file in patch v8.0.1461
Bram Moolenaar [Sat, 3 Feb 2018 17:33:17 +0000 (18:33 +0100)]
patch 8.0.1461: missing another file in patch

Problem:    Missing another file in patch.
Solution:   Add changes to missing file.

7 years agopatch 8.0.1460: missing file in patch v8.0.1460
Bram Moolenaar [Sat, 3 Feb 2018 17:01:37 +0000 (18:01 +0100)]
patch 8.0.1460: missing file in patch

Problem:    Missing file in patch.
Solution:   Add changes to missing file.

7 years agopatch 8.0.1459: cannot handle change of directory v8.0.1459
Bram Moolenaar [Sat, 3 Feb 2018 16:36:27 +0000 (17:36 +0100)]
patch 8.0.1459: cannot handle change of directory

Problem:    Cannot handle change of directory.
Solution:   Add the DirChanged autocommand event. (Andy Massimino,
            closes #888)  Avoid changing directory for 'autochdir' too often.

7 years agopatch 8.0.1458: filetype detection test does not check all scripts v8.0.1458
Bram Moolenaar [Sat, 3 Feb 2018 14:55:49 +0000 (15:55 +0100)]
patch 8.0.1458: filetype detection test does not check all scripts

Problem:    Filetype detection test does not check all scripts.
Solution:   Add most scripts to the test

7 years agopatch 8.0.1457: clojure now supports a shebang line v8.0.1457
Bram Moolenaar [Sat, 3 Feb 2018 14:43:15 +0000 (15:43 +0100)]
patch 8.0.1457: clojure now supports a shebang line

Problem:    Clojure now supports a shebang line.
Solution:   Detect clojure script from the shebang line. (David Burgin,
            closes #2570)

7 years agopatch 8.0.1456: timer test on travis Mac is still flaky v8.0.1456
Bram Moolenaar [Sat, 3 Feb 2018 14:38:42 +0000 (15:38 +0100)]
patch 8.0.1456: timer test on travis Mac is still flaky

Problem:    Timer test on travis Mac is still flaky.
Solution:   Increase time range a bit more.

7 years agopatch 8.0.1455: if $SHELL contains a space then 'shell' is incorrect v8.0.1455
Bram Moolenaar [Sat, 3 Feb 2018 14:14:46 +0000 (15:14 +0100)]
patch 8.0.1455: if $SHELL contains a space then 'shell' is incorrect

Problem:    If $SHELL contains a space then the default value of 'shell' is
            incorrect. (Matthew Horan)
Solution:   Escape spaces in $SHELL. (Christian Brabandt, closes #459)

7 years agopatch 8.0.1454: when in silent mode too much output is buffered v8.0.1454
Bram Moolenaar [Sat, 3 Feb 2018 13:46:45 +0000 (14:46 +0100)]
patch 8.0.1454: when in silent mode too much output is buffered

Problem:    When in silent mode too much output is buffered.
Solution:   Use line buffering instead of fully buffered. (Brian M. Carlson,
            closes #2537)

7 years agopatch 8.0.1453: terminal test fails on some slow terminals v8.0.1453
Bram Moolenaar [Fri, 2 Feb 2018 17:30:36 +0000 (18:30 +0100)]
patch 8.0.1453: terminal test fails on some slow terminals

Problem:    Terminal test fails on some slow terminals.
Solution:   Increase timeout to 10 seconds.

7 years agopatch 8.0.1452: terminal test fails on some systems v8.0.1452
Bram Moolenaar [Fri, 2 Feb 2018 17:22:31 +0000 (18:22 +0100)]
patch 8.0.1452: terminal test fails on some systems

Problem:    Terminal test fails on some systems. (jonathonf)
Solution:   Use "cat" instead of Python to produce the input.  Add a delay.
            (closes #2607)

7 years agopatch 8.0.1451: difficult to set the python home directories properly v8.0.1451
Bram Moolenaar [Wed, 31 Jan 2018 20:49:05 +0000 (21:49 +0100)]
patch 8.0.1451: difficult to set the python home directories properly

Problem:    It is difficult to set the python home directory properly for
            Python 2.7 and 3.5 since both use $PYTHONHOME.
Solution:   Add the 'pythonhome' and 'pythonthreehome' options. (Kazuki
            Sakamoto, closes #1266)

7 years agopatch 8.0.1450: GUI: endless loop when stopping cursor blinking v8.0.1450
Bram Moolenaar [Wed, 31 Jan 2018 20:10:01 +0000 (21:10 +0100)]
patch 8.0.1450: GUI: endless loop when stopping cursor blinking

Problem:    Endless loop when gui_mch_stop_blink() is called while blink_state
            is BLINK_OFF. (zdohnal)
Solution:   Avoid calling gui_update_cursor() recursively.

7 years agopatch 8.0.1449: slow redrawing with DirectX v8.0.1449
Bram Moolenaar [Wed, 31 Jan 2018 19:51:47 +0000 (20:51 +0100)]
patch 8.0.1449: slow redrawing with DirectX

Problem:    Slow redrawing with DirectX.
Solution:   Avoid calling gui_mch_flush() unnecessarily, especially when
            updating the cursor. (Ken Takata, closes #2560)

7 years agopatch 8.0.1448: segfault with exception inside :rubyfile command v8.0.1448
Bram Moolenaar [Wed, 31 Jan 2018 19:15:30 +0000 (20:15 +0100)]
patch 8.0.1448: segfault with exception inside :rubyfile command

Problem:    Segmentation fault when Ruby throws an exception inside :rubyfile
            command.
Solution:   Use rb_protect() instead of rb_load_protect(). (ujihisa,
            closes #2147, greywolf, closes #2512, #2511)

7 years agopatch 8.0.1447: still too many old style tests v8.0.1447
Bram Moolenaar [Wed, 31 Jan 2018 18:30:24 +0000 (19:30 +0100)]
patch 8.0.1447: still too many old style tests

Problem:    Still too many old style tests.
Solution:   Turn a few tests into new style. (Yegappan Lakshmanan,
            closes #2509)

7 years agopatch 8.0.1446: acessing freed memory after window command in auto command v8.0.1446
Bram Moolenaar [Wed, 31 Jan 2018 18:06:50 +0000 (19:06 +0100)]
patch 8.0.1446: acessing freed memory after window command in auto command

Problem:    Acessing freed memory after window command in auto command.
            (gy741)
Solution:   Adjust the pointer in the parent frame. (Christian Brabandt,
            closes #2467)

7 years agopatch 8.0.1445: cannot act on edits in the command line v8.0.1445
Bram Moolenaar [Wed, 31 Jan 2018 14:48:32 +0000 (15:48 +0100)]
patch 8.0.1445: cannot act on edits in the command line

Problem:    Cannot act on edits in the command line.
Solution:   Add the CmdlineChanged autocommand event. (xtal8, closes #2603,
            closes #2524)

7 years agopatch 8.0.1444: missing -D_FILE_OFFSET_BITS=64 may cause problems v8.0.1444
Bram Moolenaar [Wed, 31 Jan 2018 13:41:37 +0000 (14:41 +0100)]
patch 8.0.1444: missing -D_FILE_OFFSET_BITS=64 may cause problems

Problem:    Missing -D_FILE_OFFSET_BITS=64 may cause problems if a library is
            compiled with it.
Solution:   Include -D_FILE_OFFSET_BITS if some CFLAGS has it. (James McCoy,
            closes #2600)

7 years agopatch 8.0.1443: compiler complains about uninitialized variable v8.0.1443
Bram Moolenaar [Wed, 31 Jan 2018 13:25:53 +0000 (14:25 +0100)]
patch 8.0.1443: compiler complains about uninitialized variable

Problem:    Compiler complains about uninitialized variable. (Tony Mechelynck)
Solution:   Assign a value to the variable.

7 years agopatch 8.0.1442: using pointer before it is set v8.0.1442
Bram Moolenaar [Tue, 30 Jan 2018 21:52:06 +0000 (22:52 +0100)]
patch 8.0.1442: using pointer before it is set

Problem:    Using pointer before it is set.
Solution:   Search in whole buffer instead of next token.

7 years agopatch 8.0.1441: using ":undo 0" leaves undo in wrong state v8.0.1441
Bram Moolenaar [Tue, 30 Jan 2018 21:46:06 +0000 (22:46 +0100)]
patch 8.0.1441: using ":undo 0" leaves undo in wrong state

Problem:    Using ":undo 0" leaves undo in wrong state.
Solution:   Instead of searching for state 1 and go above, just use the start.
            (Ozaki Kiichi, closes #2595)

7 years agopatch 8.0.1440: terminal window: some vterm responses are delayed v8.0.1440
Bram Moolenaar [Tue, 30 Jan 2018 21:31:19 +0000 (22:31 +0100)]
patch 8.0.1440: terminal window: some vterm responses are delayed

Problem:    Terminal window: some vterm responses are delayed.
Solution:   After writing input. check if there is output to read. (Ozaki
            Kiichi, closes #2594)

7 years agopatch 8.0.1439: if cscope fails a search Vim may hang v8.0.1439
Bram Moolenaar [Tue, 30 Jan 2018 20:47:52 +0000 (21:47 +0100)]
patch 8.0.1439: if cscope fails a search Vim may hang

Problem:    If cscope fails a search Vim may hang.
Solution:   Bail out when a search error is encountered. (Safouane Baroudi,
            closes #2598)

7 years agopatch 8.0.1438: filetype detection test not updated for change v8.0.1438
Bram Moolenaar [Mon, 29 Jan 2018 08:17:32 +0000 (09:17 +0100)]
patch 8.0.1438: filetype detection test not updated for change

Problem:    Filetype detection test not updated for change.
Solution:   Update the test.

7 years agopatch 8.0.1437: pkg-config doesn't work with cross compiling v8.0.1437
Bram Moolenaar [Sun, 28 Jan 2018 21:48:55 +0000 (22:48 +0100)]
patch 8.0.1437: pkg-config doesn't work with cross compiling

Problem:    Pkg-config doesn't work with cross compiling.
Solution:   Use AC_PATH_TOOL() instead of AC_PATH_PROG(). (James McCoy,
            closes #2513)

7 years agoUpdate runtime files.
Bram Moolenaar [Sun, 28 Jan 2018 21:47:25 +0000 (22:47 +0100)]
Update runtime files.

7 years agopatch 8.0.1436: not enough information about what Python version may work v8.0.1436
Bram Moolenaar [Sun, 28 Jan 2018 16:45:49 +0000 (17:45 +0100)]
patch 8.0.1436: not enough information about what Python version may work

Problem:    Not enough information about what Python version may work.
Solution:   Add "python_compiled", "python3_compiled", "python_dynamic" and
            "python3_dynamic" values for has().

7 years agopatch 8.0.1435: memory leak in test_arabic v8.0.1435
Bram Moolenaar [Sun, 28 Jan 2018 16:05:16 +0000 (17:05 +0100)]
patch 8.0.1435: memory leak in test_arabic

Problem:    Memory leak in test_arabic.
Solution:   Free the from and to parts. (Christian Brabandt, closes #2569)

7 years agopatch 8.0.1434: GTK: :promtfind does not put focus on text input v8.0.1434
Bram Moolenaar [Sun, 28 Jan 2018 14:36:42 +0000 (15:36 +0100)]
patch 8.0.1434: GTK: :promtfind does not put focus on text input

Problem:    GTK: :promtfind does not put focus on text input. (Adam Novak)
Solution:   When re-opening the dialog put focus on the text input. (Kazunobu
            Kuriyama, closes #2563)

7 years agopatch 8.0.1433: illegal memory access after undo v8.0.1433
Bram Moolenaar [Sat, 27 Jan 2018 20:01:34 +0000 (21:01 +0100)]
patch 8.0.1433: illegal memory access after undo

Problem:    Illegal memory access after undo. (Dominique Pelle)
Solution:   Avoid the column becomes negative. (Christian Brabandt,
            closes #2533)

7 years agopatch 8.0.1432: after ":copen" can't get the window-ID of the quickfix window v8.0.1432
Bram Moolenaar [Sat, 27 Jan 2018 10:52:13 +0000 (11:52 +0100)]
patch 8.0.1432: after ":copen" can't get the window-ID of the quickfix window

Problem:    After ":copen" can't get the window-ID of the quickfix window.
            (FalacerSelene)
Solution:   Make it work without a quickfix list.  Add a test. (Yegappan
            Lakshmanan, closes #2541)

7 years agopatch 8.0.1431: MS-Windows: vimtutor fails if %TMP% has special chars v8.0.1431
Bram Moolenaar [Fri, 26 Jan 2018 21:22:55 +0000 (22:22 +0100)]
patch 8.0.1431: MS-Windows: vimtutor fails if %TMP% has special chars

Problem:    MS-Windows: vimtutor fails if %TMP% has special chars.
Solution:   Add quotes. (Tamce, closes #2561)

7 years agopatch 8.0.1430: crash when term_start() fails v8.0.1430
Bram Moolenaar [Fri, 26 Jan 2018 20:11:03 +0000 (21:11 +0100)]
patch 8.0.1430: crash when term_start() fails

Problem:    Crash when term_start() fails.
Solution:   Initialize winpty_err.

7 years agopatch 8.0.1429: crash when calling term_start() with empty argument v8.0.1429
Bram Moolenaar [Fri, 26 Jan 2018 19:05:18 +0000 (20:05 +0100)]
patch 8.0.1429: crash when calling term_start() with empty argument

Problem:    Crash when calling term_start() with empty argument.
Solution:   Check for invalid argument. (Yasuhiro Matsomoto, closes #2503)
            Fix memory leak.

7 years agopatch 8.0.1428: compiler warning on 64 bit MS-Windows system v8.0.1428
Bram Moolenaar [Tue, 2 Jan 2018 14:37:46 +0000 (15:37 +0100)]
patch 8.0.1428: compiler warning on 64 bit MS-Windows system

Problem:    Compiler warning on 64 bit MS-Windows system.
Solution:   Change type from "int" to "size_t". (Mike Williams)

7 years agopatch 8.0.1427: the :leftabove modifier doesn't work for :copen v8.0.1427
Bram Moolenaar [Tue, 26 Dec 2017 12:53:11 +0000 (13:53 +0100)]
patch 8.0.1427: the :leftabove modifier doesn't work for :copen

Problem:    The :leftabove modifier doesn't work for :copen.
Solution:   Respect the split modifier. (Yegappan Lakshmanan, closes #2496)

7 years agopatch 8.0.1426: "gf" and <cfile> don't accept ? and & in URL v8.0.1426
Bram Moolenaar [Mon, 25 Dec 2017 13:29:18 +0000 (14:29 +0100)]
patch 8.0.1426: "gf" and <cfile> don't accept ? and & in URL

Problem:    "gf" and <cfile> don't accept ? and & in URL. (Dmitrii Tcyganok)
Solution:   Check for a URL and allow for extra characters. (closes #2493)

7 years agopatch 8.0.1425: execute() does not work in completion of user command v8.0.1425
Bram Moolenaar [Mon, 25 Dec 2017 12:44:43 +0000 (13:44 +0100)]
patch 8.0.1425: execute() does not work in completion of user command

Problem:    execute() does not work in completion of user command. (thinca)
Solution:   Switch off redir_off and restore it. (Ozaki Kiichi, closes #2492)

7 years agoupdate a few runtime files
Bram Moolenaar [Sun, 24 Dec 2017 12:22:00 +0000 (13:22 +0100)]
update a few runtime files

7 years agopatch 8.0.1424: the timer_pause test is flaky on Travis v8.0.1424
Bram Moolenaar [Sat, 23 Dec 2017 17:41:35 +0000 (18:41 +0100)]
patch 8.0.1424: the timer_pause test is flaky on Travis

Problem:    The timer_pause test is flaky on Travis.
Solution:   Accept a longer sleep time on Mac.

7 years agopatch 8.0.1423: error in return not caught by try/catch v8.0.1423
Bram Moolenaar [Sat, 23 Dec 2017 16:26:11 +0000 (17:26 +0100)]
patch 8.0.1423: error in return not caught by try/catch

Problem:    Error in return not caught by try/catch.
Solution:   Call update_force_abort(). (Yasuhiro Matsomoto, closes #2483)

7 years agopatch 8.0.1422: no fallback to underline when undercurl is not set v8.0.1422
Bram Moolenaar [Fri, 22 Dec 2017 20:12:34 +0000 (21:12 +0100)]
patch 8.0.1422: no fallback to underline when undercurl is not set

Problem:    No fallback to underline when undercurl is not set. (Ben Jackson)
Solution:   Check for the value to be empty instead of NULL. (closes #2424)

7 years agopatch 8.0.1421: accessing invalid memory with overlong byte sequence v8.0.1421
Bram Moolenaar [Fri, 22 Dec 2017 20:06:56 +0000 (21:06 +0100)]
patch 8.0.1421: accessing invalid memory with overlong byte sequence

Problem:    Accessing invalid memory with overlong byte sequence.
Solution:   Check for NUL character. (test by Dominique Pelle, closes #2485)

7 years agopatch 8.0.1420: accessing freed memory in vimgrep v8.0.1420
Bram Moolenaar [Thu, 21 Dec 2017 19:54:49 +0000 (20:54 +0100)]
patch 8.0.1420: accessing freed memory in vimgrep

Problem:    Accessing freed memory in vimgrep.
Solution:   Check that the quickfix list is still valid. (Yegappan Lakshmanan,
            closes #2474)

7 years agopatch 8.0.1419: cursor column is not updated after ]s v8.0.1419
Bram Moolenaar [Thu, 21 Dec 2017 19:27:47 +0000 (20:27 +0100)]
patch 8.0.1419: cursor column is not updated after ]s

Problem:    Cursor column is not updated after ]s. (Gary Johnson)
Solution:   Set the curswant flag.