]> granicus.if.org Git - vim/log
vim
6 years agopatch 8.0.1841: HP-UX does not have setenv() v8.0.1841
Bram Moolenaar [Mon, 14 May 2018 20:58:34 +0000 (22:58 +0200)]
patch 8.0.1841: HP-UX does not have setenv()

Problem:    HP-UX does not have setenv().
Solution:   Use vim_setenv(). (John Marriott)

6 years agopatch 8.0.1840: getwinpos() is not tested v8.0.1840
Bram Moolenaar [Mon, 14 May 2018 19:31:08 +0000 (21:31 +0200)]
patch 8.0.1840: getwinpos() is not tested

Problem:    getwinpos() is not tested.
Solution:   Add a test. (Dominique Pelle, closes #2911)

6 years agopatch 8.0.1839: script to check .po file doesn't check for plural header v8.0.1839
Bram Moolenaar [Sun, 13 May 2018 20:37:03 +0000 (22:37 +0200)]
patch 8.0.1839: script to check .po file doesn't check for plural header

Problem:    Script to check .po file doesn't check for plural header.
Solution:   Add a check that the plural header is present when needed.

6 years agoUpdated runtime files
Bram Moolenaar [Sun, 13 May 2018 20:34:24 +0000 (22:34 +0200)]
Updated runtime files

6 years agopatch 8.0.1838: cursor in wrong pos when switching to Terminal-Normal mode v8.0.1838
Bram Moolenaar [Sun, 13 May 2018 17:06:12 +0000 (19:06 +0200)]
patch 8.0.1838: cursor in wrong pos when switching to Terminal-Normal mode

Problem:    Cursor in wrong position when switching to Terminal-Normal mode.
            (Dominique Pelle)
Solution:   Move to the end of the line if coladvance() fails.  Do not take a
            snapshot a second time.

6 years agopatch 8.0.1837: one character cmdline abbreviation not triggered after '<,'> v8.0.1837
Bram Moolenaar [Sun, 13 May 2018 16:36:27 +0000 (18:36 +0200)]
patch 8.0.1837: one character cmdline abbreviation not triggered after '<,'>

Problem:    One character cmdline abbreviation not triggered after '<,'>.
Solution:   Skip over the special range. (Christian Brabandt, closes #2320)

6 years agopatch 8.0.1836: buffer-local window options may not be recent v8.0.1836
Bram Moolenaar [Sun, 13 May 2018 16:05:33 +0000 (18:05 +0200)]
patch 8.0.1836: buffer-local window options may not be recent

Problem:    Buffer-local window options may not be recent if the buffer is
            still open in another window.
Solution:   Copy the options from the window instead of the outdated window
            options. (Bjorn Linse, closes #2336)

6 years agopatch 8.0.1835: print document name does not support multi-byte v8.0.1835
Bram Moolenaar [Sun, 13 May 2018 15:30:45 +0000 (17:30 +0200)]
patch 8.0.1835: print document name does not support multi-byte

Problem:    Print document name does not support multi-byte.
Solution:   Use StartDocW() if needed. (Yasuhiro Matsumoto, closes #2478)

6 years agopatch 8.0.1834: GUI: find/replace dialog does not handle some chars v8.0.1834
Bram Moolenaar [Sun, 13 May 2018 15:05:30 +0000 (17:05 +0200)]
patch 8.0.1834: GUI: find/replace dialog does not handle some chars

Problem:    GUI: find/replace dialog does not handle some chars properly.
Solution:   Escape '?' when needed.  Always escape backslash. (closes #2418,
            closes #2435)

6 years agopatch 8.0.1833: X11: ":echo 3.14" gives E806 v8.0.1833
Bram Moolenaar [Sun, 13 May 2018 14:23:40 +0000 (16:23 +0200)]
patch 8.0.1833: X11: ":echo 3.14" gives E806

Problem:    X11: ":echo 3.14" gives E806.
Solution:   set LC_NUMERIC to "C". (Dominique Pelle, closes #2368)

6 years agopatch 8.0.1832: cannot use :unlet for an environment variable v8.0.1832
Bram Moolenaar [Sun, 13 May 2018 13:59:50 +0000 (15:59 +0200)]
patch 8.0.1832: cannot use :unlet for an environment variable

Problem:    Cannot use :unlet for an environment variable.
Solution:   Make it work.  Use unsetenv() if available. (Ken Takata,
            closes #2855)

6 years agopatch 8.0.1831: sometimes the quickfix title is incorrectly prefixed with ':' v8.0.1831
Bram Moolenaar [Sun, 13 May 2018 13:29:04 +0000 (15:29 +0200)]
patch 8.0.1831: sometimes the quickfix title is incorrectly prefixed with ':'

Problem:    Sometimes the quickfix title is incorrectly prefixed with ':'.
Solution:   Prepend the colon in another way. (Yegappan Lakshmanan, closes
            #2905)

6 years agopatch 8.0.1830: switching to Terminal-Normal mode does not redraw v8.0.1830
Bram Moolenaar [Sun, 13 May 2018 13:15:43 +0000 (15:15 +0200)]
patch 8.0.1830: switching to Terminal-Normal mode does not redraw

Problem:    Switching to Terminal-Normal mode does not redraw. (Dominique
            Pelle)
Solution:   Also redraw when not updating the snapshot. (closes #2904)

6 years agopatch 8.0.1829: MS-Windows: script for vimdiff can't handle ! chars v8.0.1829
Bram Moolenaar [Sun, 13 May 2018 12:45:25 +0000 (14:45 +0200)]
patch 8.0.1829: MS-Windows: script for vimdiff can't handle ! chars

Problem:    MS-Windows: script for vimdiff can't handle ! chars.
Solution:   Escape the ! chars. (Hans Ginzel, closes #2896)

6 years agopatch 8.0.1828: get no clue why :gui does not fork v8.0.1828
Bram Moolenaar [Sun, 13 May 2018 12:40:15 +0000 (14:40 +0200)]
patch 8.0.1828: get no clue why :gui does not fork

Problem:    Get no clue why :gui does not fork.
Solution:   Add a channel log message.

6 years agopatch 8.0.1827: compiler warning for signed/unsigned char pointers v8.0.1827
Bram Moolenaar [Sun, 13 May 2018 12:05:18 +0000 (14:05 +0200)]
patch 8.0.1827: compiler warning for signed/unsigned char pointers

Problem:    Compiler warning for signed/unsigned char pointers. (Cesar Romani)
Solution:   Change the type of jv_argv.

6 years agoUpdate runtime files.
Bram Moolenaar [Sat, 12 May 2018 22:02:36 +0000 (00:02 +0200)]
Update runtime files.

6 years agopatch 8.0.1826: configure uses old compiler flag v8.0.1826
Bram Moolenaar [Sat, 12 May 2018 19:38:13 +0000 (21:38 +0200)]
patch 8.0.1826: configure uses old compiler flag

Problem:    Configure uses old compiler flag.
Solution:   Remove _DARWIN_C_SOURCE. (Kazunobu Kuriyama)

6 years agopatch 8.0.1825: might use NULL pointer when out of memory v8.0.1825
Bram Moolenaar [Sat, 12 May 2018 19:34:58 +0000 (21:34 +0200)]
patch 8.0.1825: might use NULL pointer when out of memory

Problem:    Might use NULL pointer when out of memory. (Coverity)
Solution:   Handle NULL pointer better.

6 years agopatch 8.0.1824: Coverity warns for variable that may be uninitialized v8.0.1824
Bram Moolenaar [Sat, 12 May 2018 19:16:25 +0000 (21:16 +0200)]
patch 8.0.1824: Coverity warns for variable that may be uninitialized

Problem:    Coverity warns for variable that may be uninitialized.
Solution:   Initialize the variable.

6 years agopatch 8.0.1823: test for terminal stdout redirection is flaky v8.0.1823
Bram Moolenaar [Sat, 12 May 2018 19:12:12 +0000 (21:12 +0200)]
patch 8.0.1823: test for terminal stdout redirection is flaky

Problem:    Test for terminal stdout redirection is flaky.
Solution:   Wait for the job to finish.

6 years agopatch 8.0.1822: make uninstall does not remove colors/tools v8.0.1822
Bram Moolenaar [Sat, 12 May 2018 19:05:45 +0000 (21:05 +0200)]
patch 8.0.1822: make uninstall does not remove colors/tools

Problem:    Make uninstall does not remove colors/tools.
Solution:   Add a line to delete the tools directory. (Kazunobu Kuriyama)

6 years agopatch 8.0.1821: cursor in terminal window moves when pressing CTRL-W v8.0.1821
Bram Moolenaar [Sat, 12 May 2018 18:36:24 +0000 (20:36 +0200)]
patch 8.0.1821: cursor in terminal window moves when pressing CTRL-W

Problem:    Cursor in terminal window moves when pressing CTRL-W. (Dominique
            Pelle)
Solution:   Do not more the cursor or redraw when not in Terminal-Normal mode.
            (closes #2904)

6 years agopatch 8.0.1820: terminal window redirecting stdout does not show stderr v8.0.1820
Bram Moolenaar [Sat, 12 May 2018 15:42:42 +0000 (17:42 +0200)]
patch 8.0.1820: terminal window redirecting stdout does not show stderr

Problem:    Terminal window redirecting stdout does not show stderr. (Matéo
            Zanibelli)
Solution:   When stdout is not connected to pty_master_fd then use it for
            stderr. (closes #2903)

6 years agopatch 8.0.1819: swap file warning for file with non-existing directory v8.0.1819
Bram Moolenaar [Sat, 12 May 2018 15:04:12 +0000 (17:04 +0200)]
patch 8.0.1819: swap file warning for file with non-existing directory

Problem:    Swap file warning for a file in a non-existing directory, if there
            is another with the same file name. (Juergen Weigert)
Solution:   When expanding the file name fails compare the file names.

6 years agopatch 8.0.1818: lines remove from wrong buffer when using terminal window v8.0.1818
Bram Moolenaar [Sat, 12 May 2018 14:55:14 +0000 (16:55 +0200)]
patch 8.0.1818: lines remove from wrong buffer when using terminal window

Problem:    Lines remove from wrong buffer when using terminal window.
Solution:   Make sure to use tl_buffer.

6 years agopatch 8.0.1817: a timer may change v:count unexpectedly v8.0.1817
Bram Moolenaar [Sat, 12 May 2018 13:38:26 +0000 (15:38 +0200)]
patch 8.0.1817: a timer may change v:count unexpectedly

Problem:    A timer may change v:count unexpectedly.
Solution:   Save and restore v:count and similar variables when a timer
            callback is invoked. (closes #2897)

6 years agopatch 8.0.1816: no test for setcmdpos() v8.0.1816
Bram Moolenaar [Sat, 12 May 2018 11:18:46 +0000 (13:18 +0200)]
patch 8.0.1816: no test for setcmdpos()

Problem:    No test for setcmdpos().
Solution:   Add a test. (Dominique Pelle, closes #2901)

6 years agopatch 8.0.1815: crash with terminal window and with 'lazyredraw' set v8.0.1815
Bram Moolenaar [Fri, 11 May 2018 20:01:51 +0000 (22:01 +0200)]
patch 8.0.1815: crash with terminal window and with 'lazyredraw' set

Problem:    Still a crash with terminal window and with 'lazyredraw' set.
            (Antoine)
Solution:   Do not wipe out the buffer when updating the screen.

6 years agopatch 8.0.1814: crash with terminal window and with 'lazyredraw' set v8.0.1814
Bram Moolenaar [Fri, 11 May 2018 18:48:29 +0000 (20:48 +0200)]
patch 8.0.1814: crash with terminal window and with 'lazyredraw' set

Problem:    Crash with terminal window and with 'lazyredraw' set. (Antoine)
Solution:   Check the terminal still exists after update_screen().

6 years agopatch 8.0.1813: Windows installer doesn't install terminal debugger v8.0.1813
Bram Moolenaar [Thu, 10 May 2018 19:24:35 +0000 (21:24 +0200)]
patch 8.0.1813: Windows installer doesn't install terminal debugger

Problem:    Windows installer doesn't install terminal debugger.
Solution:   Add the package to the list of files to install.

6 years agopatch 8.0.1812: the qf_jump_to_usable_window() function is too long v8.0.1812
Bram Moolenaar [Thu, 10 May 2018 16:55:28 +0000 (18:55 +0200)]
patch 8.0.1812: the qf_jump_to_usable_window() function is too long

Problem:    The qf_jump_to_usable_window() function is too long.
Solution:   Split it in parts. (Yegappan Lakshmanan, closes #2891)

6 years agopatch 8.0.1811: no test for winrestcmd() v8.0.1811
Bram Moolenaar [Thu, 10 May 2018 16:23:29 +0000 (18:23 +0200)]
patch 8.0.1811: no test for winrestcmd()

Problem:    No test for winrestcmd().
Solution:   Add a test. (Dominique Pelle, closes #2894)

6 years agopatch 8.0.1810: buffer of a terminal only updated in Terminal-Normal mode v8.0.1810
Bram Moolenaar [Thu, 10 May 2018 16:05:56 +0000 (18:05 +0200)]
patch 8.0.1810: buffer of a terminal only updated in Terminal-Normal mode

Problem:    Buffer of a terminal only updated in Terminal-Normal mode.
Solution:   Copy the terminal window content to the buffer when in
            Terminal-Job mode.

6 years agopatch 8.0.1809: various typos v8.0.1809
Bram Moolenaar [Thu, 10 May 2018 13:09:49 +0000 (15:09 +0200)]
patch 8.0.1809: various typos

Problem:    Various typos.
Solution:   Correct the mistakes, change "cursur" to "cursor". (closes #2887)

6 years agopatch 8.0.1808: can't build without TGETENT v8.0.1808
Bram Moolenaar [Thu, 10 May 2018 12:40:57 +0000 (14:40 +0200)]
patch 8.0.1808: can't build without TGETENT

Problem:    Can't build without TGETENT.
Solution:   Add #ifdef

6 years agopatch 8.0.1807: function to set terminal name is too long v8.0.1807
Bram Moolenaar [Thu, 10 May 2018 12:11:52 +0000 (14:11 +0200)]
patch 8.0.1807: function to set terminal name is too long

Problem:    Function to set terminal name is too long.
Solution:   Refactor the function.  Fix typo in test.

6 years agopatch 8.0.1806: InsertCharPre causes problems for autocomplete v8.0.1806
Bram Moolenaar [Tue, 8 May 2018 20:48:00 +0000 (22:48 +0200)]
patch 8.0.1806: InsertCharPre causes problems for autocomplete

Problem:    InsertCharPre causes problems for autocomplete. (Lifepillar)
Solution:   Check for InsertCharPre before calling vpeekc(). (Christian
            Brabandt, closes #2876)

6 years agopatch 8.0.1805: qf_parse_line() is too long v8.0.1805
Bram Moolenaar [Tue, 8 May 2018 20:31:37 +0000 (22:31 +0200)]
patch 8.0.1805: qf_parse_line() is too long

Problem:    qf_parse_line() is too long.
Solution:   Split it in parts.  Properly handle vim_realloc() failing.
            (Yegappan Lakshmanan, closes #2881)

6 years agopatch 8.0.1804: using :normal in terminal window causes problems v8.0.1804
Bram Moolenaar [Tue, 8 May 2018 20:01:07 +0000 (22:01 +0200)]
patch 8.0.1804: using :normal in terminal window causes problems

Problem:    Using :normal in terminal window causes problems. (Dominique
            Pelle)
Solution:   Don't call terminal_loop() for :normal. (closes #2886)

6 years agopatch 8.0.1803: warning for uninitialized variable v8.0.1803
Bram Moolenaar [Mon, 7 May 2018 18:10:17 +0000 (20:10 +0200)]
patch 8.0.1803: warning for uninitialized variable

Problem:    Warning for uninitialized variable. (Tony Mechelynck)
Solution:   Initialize it.

6 years agopatch 8.0.1802: MS-Windows: terminal test fails v8.0.1802
Bram Moolenaar [Sun, 6 May 2018 20:01:42 +0000 (22:01 +0200)]
patch 8.0.1802: MS-Windows: terminal test fails

Problem:    MS-Windows: terminal test fails.
Solution:   Close redirected output file earlier.

6 years agopatch 8.0.1801: MS-Windows: redirecting terminal output does not work v8.0.1801
Bram Moolenaar [Sun, 6 May 2018 19:49:32 +0000 (21:49 +0200)]
patch 8.0.1801: MS-Windows: redirecting terminal output does not work

Problem:    MS-Windows: redirecting terminal output does not work.
Solution:   Intercept the text written to the terminal and write it to the
            file.

6 years agopatch 8.0.1800: X11: getting color is slow v8.0.1800
Bram Moolenaar [Sun, 6 May 2018 17:19:36 +0000 (19:19 +0200)]
patch 8.0.1800: X11: getting color is slow

Problem:    X11: getting color is slow.
Solution:   Avoid using sprintf() and XParseColor(), put the RGB values in
            XColor directly.

6 years agoUpdate runtime files.
Bram Moolenaar [Sun, 6 May 2018 15:57:30 +0000 (17:57 +0200)]
Update runtime files.

6 years agopatch 8.0.1799: no test for :registers command v8.0.1799
Bram Moolenaar [Sun, 6 May 2018 15:32:19 +0000 (17:32 +0200)]
patch 8.0.1799: no test for :registers command

Problem:    No test for :registers command.
Solution:   Add a test. (Dominique Pelle, closes #2880)

6 years agopatch 8.0.1798: MS-Windows: file considered read-only too often v8.0.1798
Bram Moolenaar [Sun, 6 May 2018 15:09:38 +0000 (17:09 +0200)]
patch 8.0.1798: MS-Windows: file considered read-only too often

Problem:    MS-Windows: file considered read-only when another program has
            opened it.
Solution:   Pass file sharing flag to CreateFile(). (Linwei, closes #2860)

6 years agopatch 8.0.1797: terminal window is redrawn too often v8.0.1797
Bram Moolenaar [Sun, 6 May 2018 14:40:16 +0000 (16:40 +0200)]
patch 8.0.1797: terminal window is redrawn too often

Problem:    Terminal window is redrawn too often and scrolling is repeated.
Solution:   Don't scroll immediately but only when redrawing.  Avoid redrawing
            the whole terminal window on every change.

6 years agopatch 8.0.1796: GUI: click on tab fails when the focus is in a terminal v8.0.1796
Bram Moolenaar [Sun, 6 May 2018 11:53:50 +0000 (13:53 +0200)]
patch 8.0.1796: GUI: click on tab fails when the focus is in a terminal

Problem:    GUI: click on tab fails when the focus is in a terminal window.
Solution:   Handle K_TABLINE.

6 years agopatch 8.0.1795: lose contact with jobs when :gui forks v8.0.1795
Bram Moolenaar [Sat, 5 May 2018 19:01:00 +0000 (21:01 +0200)]
patch 8.0.1795: lose contact with jobs when :gui forks

Problem:    Lose contact with jobs when :gui forks.
Solution:   Don't fork when there is a running job. Make log message for a
            died job clearer.  Also close the terminal when stderr and stdout
            are the same FD.

6 years agopatch 8.0.1794: duplicate term options after renaming v8.0.1794
Bram Moolenaar [Sat, 5 May 2018 14:36:06 +0000 (16:36 +0200)]
patch 8.0.1794: duplicate term options after renaming

Problem:    Duplicate term options after renaming.
Solution:   Remove the old names 'termkey', 'termsize' and 'terminalscroll'.

6 years agopatch 8.0.1793: no test for "vim -g" v8.0.1793
Bram Moolenaar [Sat, 5 May 2018 13:47:19 +0000 (15:47 +0200)]
patch 8.0.1793: no test for "vim -g"

Problem:    No test for "vim -g".
Solution:   Add a test for "-g" and "-y".

6 years agopatch 8.0.1792: MS-Windows users expect -? to work like --help v8.0.1792
Bram Moolenaar [Sat, 5 May 2018 13:09:51 +0000 (15:09 +0200)]
patch 8.0.1792: MS-Windows users expect -? to work like --help

Problem:    MS-Windows users expect -? to work like --help.
Solution:   Add -?. (Christian Brabandt, closes #2867)

6 years agopatch 8.0.1791: using uint8_t does not work everywhere v8.0.1791
Bram Moolenaar [Sat, 5 May 2018 12:29:06 +0000 (14:29 +0200)]
patch 8.0.1791: using uint8_t does not work everywhere

Problem:    Using uint8_t does not work everywhere.
Solution:   Use char_u instead.

6 years agopatch 8.0.1790: 'winfixwidth' is not always respected by :close v8.0.1790
Bram Moolenaar [Fri, 4 May 2018 18:15:38 +0000 (20:15 +0200)]
patch 8.0.1790: 'winfixwidth' is not always respected by :close

Problem:    'winfixwidth' is not always respected by :close.
Solution:   Prefer a frame without 'winfixwidth' or 'winfixheight'. (Jason
            Franklin)

6 years agopatch 8.0.1789: BufWinEnter does not work well for a terminal window v8.0.1789
Bram Moolenaar [Thu, 3 May 2018 18:40:20 +0000 (20:40 +0200)]
patch 8.0.1789: BufWinEnter does not work well for a terminal window

Problem:    BufWinEnter does not work well for a terminal window.
Solution:   Do not trigger BufWinEnter when opening a terminal window.

6 years agopatch 8.0.1788: tool to check a color scheme is not installed v8.0.1788
Bram Moolenaar [Wed, 2 May 2018 20:00:17 +0000 (22:00 +0200)]
patch 8.0.1788: tool to check a color scheme is not installed

Problem:    Tool to check a color scheme is not installed.
Solution:   Update the install rule. (Christian Brabandt)

6 years agopatch 8.0.1787: cannot insert the whole cursor line v8.0.1787
Bram Moolenaar [Tue, 1 May 2018 17:24:03 +0000 (19:24 +0200)]
patch 8.0.1787: cannot insert the whole cursor line

Problem:    Cannot insert the whole cursor line.
Solution:   Make CTRL-R CTRL-L work. (Andy Massimino, closes #2857)

6 years agopatch 8.0.1786: no test for 'termwinkey' v8.0.1786
Bram Moolenaar [Tue, 1 May 2018 16:47:59 +0000 (18:47 +0200)]
patch 8.0.1786: no test for 'termwinkey'

Problem:    No test for 'termwinkey'.
Solution:   Add a test.  Make feedkeys() handle terminal_loop() returning
            before characters are consumed.

6 years agopatch 8.0.1785: missing symbol in Win32 small build v8.0.1785
Bram Moolenaar [Tue, 1 May 2018 15:30:41 +0000 (17:30 +0200)]
patch 8.0.1785: missing symbol in Win32 small build

Problem:    Missing symbol in Win32 small build.
Solution:   Define VTERM_ANSI_INDEX_NONE without the terminal feature. Also
            fix unused function with #ifdef.

6 years agopatch 8.0.1784: gvim test gets stuck in dialog v8.0.1784
Bram Moolenaar [Tue, 1 May 2018 14:26:48 +0000 (16:26 +0200)]
patch 8.0.1784: gvim test gets stuck in dialog

Problem:    Gvim test gets stuck in dialog.
Solution:   Rename the file used.

6 years agopatch 8.0.1783: cannot use 256 colors in a MS-Windows console v8.0.1783
Bram Moolenaar [Tue, 1 May 2018 13:47:38 +0000 (15:47 +0200)]
patch 8.0.1783: cannot use 256 colors in a MS-Windows console

Problem:    Cannot use 256 colors in a MS-Windows console.
Solution:   Add 256 color support. (Nobuhiro Takasaki, closes #2821)

6 years agopatch 8.0.1782: no simple way to label quickfix entries v8.0.1782
Bram Moolenaar [Tue, 1 May 2018 13:02:04 +0000 (15:02 +0200)]
patch 8.0.1782: no simple way to label quickfix entries

Problem:    No simple way to label quickfix entries.
Solution:   Add the "module" item, to be used instead of the file name for
            display purposes. (Martin Szamotulski, closes #1757)

6 years agopatch 8.0.1781: file names in quickfix window are not shortened v8.0.1781
Bram Moolenaar [Tue, 1 May 2018 12:30:36 +0000 (14:30 +0200)]
patch 8.0.1781: file names in quickfix window are not shortened

Problem:    File names in quickfix window are not always shortened.
Solution:   Shorten the file name when opening the quickfix window. (Yegappan
            Lakshmanan, closes #2851, closes #2846)

6 years agoUpdate runtime files and translations
Bram Moolenaar [Mon, 30 Apr 2018 20:19:58 +0000 (22:19 +0200)]
Update runtime files and translations

6 years agopatch 8.0.1780: test fails because Vim in a terminal uses wrong 'encoding' v8.0.1780
Bram Moolenaar [Mon, 30 Apr 2018 16:03:10 +0000 (18:03 +0200)]
patch 8.0.1780: test fails because Vim in a terminal uses wrong 'encoding'

Problem:    Test fails because Vim in a terminal uses wrong 'encoding'.
Solution:   Set encoding in the test where it matters. (James McCoy,
            closes #2847)

6 years agopatch 8.0.1779: deleting in a block selection causes problems v8.0.1779
Bram Moolenaar [Mon, 30 Apr 2018 15:21:03 +0000 (17:21 +0200)]
patch 8.0.1779: deleting in a block selection causes problems

Problem:    Deleting in a block selection causes problems.
Solution:   Check the length of the line before adding bd.textcol and
            bd.textlen. (Christian Brabandt, closes #2825)

6 years agopatch 8.0.1778: script to check translations does not always work v8.0.1778
Bram Moolenaar [Mon, 30 Apr 2018 13:45:17 +0000 (15:45 +0200)]
patch 8.0.1778: script to check translations does not always work

Problem:    Script to check translations does not always work.
Solution:   Go to first line before searching for MIME.

6 years agopatch 8.0.1777: cannot cleanup before loading another colorscheme v8.0.1777
Bram Moolenaar [Mon, 30 Apr 2018 13:40:48 +0000 (15:40 +0200)]
patch 8.0.1777: cannot cleanup before loading another colorscheme

Problem:    Cannot cleanup before loading another colorscheme.
Solution:   Add the ColorSchemePre autocommand event.

6 years agopatch 8.0.1776: in tests, when WaitFor() fails it doesn't say why v8.0.1776
Bram Moolenaar [Mon, 30 Apr 2018 12:28:24 +0000 (14:28 +0200)]
patch 8.0.1776: in tests, when WaitFor() fails it doesn't say why

Problem:    In tests, when WaitFor() fails it doesn't say why.
Solution:   Turn a few more WaitFor() into WaitForAssert().

6 years agopatch 8.0.1775: MS-Windows: warning for unused variable v8.0.1775
Bram Moolenaar [Mon, 30 Apr 2018 08:38:40 +0000 (10:38 +0200)]
patch 8.0.1775: MS-Windows: warning for unused variable

Problem:    MS-Windows: warning for unused variable.
Solution:   Move declaration inside #ifdef. (Mike Williams)

6 years agopatch 8.0.1774: reading very long lines can be slow v8.0.1774
Bram Moolenaar [Sun, 29 Apr 2018 11:34:47 +0000 (13:34 +0200)]
patch 8.0.1774: reading very long lines can be slow

Problem:    Reading very long lines can be slow.
Solution:   Read up to 1 Mbyte at a time to avoid a lot of copying.  Add a
            check for going over the column limit.

6 years agopatch 8.0.1773: dialog messages are not translated v8.0.1773
Bram Moolenaar [Sun, 29 Apr 2018 10:22:56 +0000 (12:22 +0200)]
patch 8.0.1773: dialog messages are not translated

Problem:    Dialog messages are not translated.
Solution:   Add N_() and _() where needed. (Sergey Alyoshin)

6 years agopatch 8.0.1772: quickfix: mixup of FALSE and FAIL, returning -1 v8.0.1772
Bram Moolenaar [Sat, 28 Apr 2018 19:56:44 +0000 (21:56 +0200)]
patch 8.0.1772: quickfix: mixup of FALSE and FAIL, returning -1

Problem:    Quickfix: mixup of FALSE and FAIL, returning -1.
Solution:   Use FAIL and INVALID_QFIDX. (Yegappan Lakshmanan)

6 years agopatch 8.0.1771: in tests, when WaitFor() fails it doesn't say why v8.0.1771
Bram Moolenaar [Sat, 28 Apr 2018 19:34:40 +0000 (21:34 +0200)]
patch 8.0.1771: in tests, when WaitFor() fails it doesn't say why

Problem:    In tests, when WaitFor() fails it doesn't say why. (James McCoy)
Solution:   Add WaitForAssert(), which produces an assert error when it fails.

6 years agopatch 8.0.1770: assert functions don't return anything v8.0.1770
Bram Moolenaar [Sat, 28 Apr 2018 14:56:53 +0000 (16:56 +0200)]
patch 8.0.1770: assert functions don't return anything

Problem:    Assert functions don't return anything.
Solution:   Return non-zero when the assertion fails.

6 years agopatch 8.0.1769: repeated saving and restoring viewstate for 'incsearch' v8.0.1769
Bram Moolenaar [Sat, 28 Apr 2018 11:56:09 +0000 (13:56 +0200)]
patch 8.0.1769: repeated saving and restoring viewstate for 'incsearch'

Problem:    Repeated saving and restoring viewstate for 'incsearch'.
Solution:   Use a structure.

6 years agopatch 8.0.1768: SET_NO_HLSEARCH() used in a wrong way v8.0.1768
Bram Moolenaar [Fri, 27 Apr 2018 20:53:07 +0000 (22:53 +0200)]
patch 8.0.1768: SET_NO_HLSEARCH() used in a wrong way

Problem:    SET_NO_HLSEARCH() used in a wrong way.
Solution:   Make it a function. (suggested by Dominique Pelle,
            closes #2850)

6 years agopatch 8.0.1767: with 'incsearch' text may jump up and down v8.0.1767
Bram Moolenaar [Fri, 27 Apr 2018 20:18:12 +0000 (22:18 +0200)]
patch 8.0.1767: with 'incsearch' text may jump up and down

Problem:    With 'incsearch' text may jump up and down. ()
Solution:   Besides w_botline also save and restore w_empty_rows.
            (closes # 2530)

6 years agopatch 8.0.1766: expanding abbreviation doesn't work v8.0.1766
Bram Moolenaar [Thu, 26 Apr 2018 20:30:33 +0000 (22:30 +0200)]
patch 8.0.1766: expanding abbreviation doesn't work

Problem:    Expanding abbreviation doesn't work. (Tooth Pik)
Solution:   Return OK instead of FALSE and FAIL instead of TRUE. (Christian
            Brabandt)

6 years agopatch 8.0.1765: CTRL-G j in Insert mode is incorrect when 'virtualedit' set v8.0.1765
Bram Moolenaar [Wed, 25 Apr 2018 20:38:17 +0000 (22:38 +0200)]
patch 8.0.1765: CTRL-G j in Insert mode is incorrect when 'virtualedit' set

Problem:    CTRL-G j in Insert mode is incorrect when 'virtualedit' is set.
Solution:   Take coladd into account. (Christian Brabandt, closes #2743)

6 years agopatch 8.0.1764: lgtm considers tutor.es to be EcmaScript v8.0.1764
Bram Moolenaar [Wed, 25 Apr 2018 19:36:47 +0000 (21:36 +0200)]
patch 8.0.1764: lgtm considers tutor.es to be EcmaScript

Problem:    Lgtm considers tutor.es to be EcmaScript.
Solution:   Add a config file for lgtm. (Bas van Schaik, closes #2844)

6 years agopatch 8.0.1763: :argedit does not reuse an empty unnamed buffer v8.0.1763
Bram Moolenaar [Tue, 24 Apr 2018 19:58:51 +0000 (21:58 +0200)]
patch 8.0.1763: :argedit does not reuse an empty unnamed buffer

Problem:    :argedit does not reuse an empty unnamed buffer.
Solution:   Add the BLN_CURBUF flag and fix all the side effects. (Christian
            Brabandt, closes #2713)

6 years agopatch 8.0.1762: terminal debug logging is a bit complicated v8.0.1762
Bram Moolenaar [Tue, 24 Apr 2018 19:40:10 +0000 (21:40 +0200)]
patch 8.0.1762: terminal debug logging is a bit complicated

Problem:    Terminal debug logging is a bit complicated.
Solution:   Make log_tr() use variable arguments (Ozaki Kiichi, closes #2730)

6 years agopatch 8.0.1761: job in terminal window with no output channel is killed v8.0.1761
Bram Moolenaar [Tue, 24 Apr 2018 18:54:07 +0000 (20:54 +0200)]
patch 8.0.1761: job in terminal window with no output channel is killed

Problem:    Job in terminal window with no output channel is killed.
Solution:   Keep the job running when the input is a tty. (Ozaki Kiichi,
            closes #2734)

6 years agopatch 8.0.1760: wrong number of arguments to vms_read() v8.0.1760
Bram Moolenaar [Tue, 24 Apr 2018 18:27:26 +0000 (20:27 +0200)]
patch 8.0.1760: wrong number of arguments to vms_read()

Problem:    Wrong number of arguments to vms_read().
Solution:   Drop the first argument. (Ozaki Kiichi)

6 years agopatch 8.0.1759: memory leak from duplicate options v8.0.1759
Bram Moolenaar [Tue, 24 Apr 2018 18:23:56 +0000 (20:23 +0200)]
patch 8.0.1759: memory leak from duplicate options

Problem:    Memory leak from duplicate options. (Yegappan Lakshmanan)
Solution:   Don't set the default value twice.

6 years agopatch 8.0.1758: open_line() returns TRUE/FALSE for success/failure v8.0.1758
Bram Moolenaar [Tue, 24 Apr 2018 17:36:43 +0000 (19:36 +0200)]
patch 8.0.1758: open_line() returns TRUE/FALSE for success/failure

Problem:    open_line() returns TRUE/FALSE for success/failure.
Solution:   Return OK or FAIL.

6 years agopatch 8.0.1757: unnecessary changes in libvterm v8.0.1757
Bram Moolenaar [Tue, 24 Apr 2018 16:39:14 +0000 (18:39 +0200)]
patch 8.0.1757: unnecessary changes in libvterm

Problem:    Unnecessary changes in libvterm.
Solution:   Bring back // comments and trailing comma in enums.

6 years agopatch 8.0.1756: GUI: after prompting for a number the mouse shape is wrong v8.0.1756
Bram Moolenaar [Tue, 24 Apr 2018 15:41:57 +0000 (17:41 +0200)]
patch 8.0.1756: GUI: after prompting for a number the mouse shape is wrong

Problem:    GUI: after prompting for a number the mouse shape is sometimes
            wrong.
Solution:   Call setmouse() after setting "State". (Hirohito Higashi,
            closes #2709)

6 years agopatch 8.0.1755: MS-Windows: high unicode char received as two utf-16 words v8.0.1755
Bram Moolenaar [Tue, 24 Apr 2018 14:04:57 +0000 (16:04 +0200)]
patch 8.0.1755: MS-Windows: high unicode char received as two utf-16 words

Problem:    MS-Windows GUI: high unicode char received as two utf-16 words.
Solution:   Keep the first word until the second word is received. (Chris
            Morgan, closes #2800)

6 years agopatch 8.0.1754: ex_helpgrep() is too long v8.0.1754
Bram Moolenaar [Tue, 24 Apr 2018 13:48:11 +0000 (15:48 +0200)]
patch 8.0.1754: ex_helpgrep() is too long

Problem:    ex_helpgrep() is too long.
Solution:   Refactor the function. (Yegappan Lakshmanan, closes #2766)

6 years agopatch 8.0.1753: various warnings from a static analyser v8.0.1753
Bram Moolenaar [Tue, 24 Apr 2018 13:19:04 +0000 (15:19 +0200)]
patch 8.0.1753: various warnings from a static analyser

Problem:    Various warnings from a static analyser
Solution:   Add type casts, remove unneeded conditions. (Christian Brabandt,
            closes #2770)

6 years agopatch 8.0.1752: qf_set_properties() is to long v8.0.1752
Bram Moolenaar [Tue, 24 Apr 2018 11:55:00 +0000 (13:55 +0200)]
patch 8.0.1752: qf_set_properties() is to long

Problem:    qf_set_properties() is to long.
Solution:   Refactor the function.  Define INVALID_QFIDX. (Yegappan
            Lakshmanan, closes #2812)

6 years agopatch 8.0.1751: #ifdef causes bad highlighting v8.0.1751
Bram Moolenaar [Tue, 24 Apr 2018 11:29:51 +0000 (13:29 +0200)]
patch 8.0.1751: #ifdef causes bad highlighting

Problem:    #ifdef causes bad highlighting.
Solution:   Move code around. (Ozaki Kiichi, closes #2731)

6 years agopatch 8.0.1750: crash when clearing loccation list in autocommand v8.0.1750
Bram Moolenaar [Mon, 23 Apr 2018 19:29:48 +0000 (21:29 +0200)]
patch 8.0.1750: crash when clearing loccation list in autocommand

Problem:    Crash when clearing loccation list in autocommand.
Solution:   Check if "qi" equals "ql_info". (Yegappan Lakshmanan)

6 years agopatch 8.0.1749: VMS: 100% CPU use, redefining mch_open() fails v8.0.1749
Bram Moolenaar [Mon, 23 Apr 2018 18:46:16 +0000 (20:46 +0200)]
patch 8.0.1749: VMS: 100% CPU use, redefining mch_open() fails

Problem:    VMS: 100% CPU use, redefining mch_open() and mch_fopen() fails.
Solution:   Do not wait indefinitely in RealWaitForChar(). (Neil Rieck)
            Do not redefine mch_open() and mch_fopen() on VMS. (Zoltan
            Arpadffy)

6 years agopatch 8.0.1748: CmdlineEnter command uses backslash instead of slash v8.0.1748
Bram Moolenaar [Sun, 22 Apr 2018 11:27:44 +0000 (13:27 +0200)]
patch 8.0.1748: CmdlineEnter command uses backslash instead of slash

Problem:    CmdlineEnter command uses backslash instead of slash.
Solution:   Don't treat the character as a file name. (closes #2837)

6 years agopatch 8.0.1747: MS-Windows: term_start() does not set job_info() cmd v8.0.1747
Bram Moolenaar [Sat, 21 Apr 2018 21:34:43 +0000 (23:34 +0200)]
patch 8.0.1747: MS-Windows: term_start() does not set job_info() cmd

Problem:    MS-Windows: term_start() does not set job_info() cmd.
Solution:   Share the code from job_start() to set jv_argv.

6 years agopatch 8.0.1746: MS-Windows: channel tests fail v8.0.1746
Bram Moolenaar [Sat, 21 Apr 2018 21:00:27 +0000 (23:00 +0200)]
patch 8.0.1746: MS-Windows: channel tests fail

Problem:    MS-Windows: channel tests fail.
Solution:   Make a copy of the command before splitting it.