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

6 years agopatch 8.0.1745: build failure on MS-Windows v8.0.1745
Bram Moolenaar [Sat, 21 Apr 2018 20:30:08 +0000 (22:30 +0200)]
patch 8.0.1745: build failure on MS-Windows

Problem:    Build failure on MS-Windows.
Solution:   Build job arguments for MS-Windows. Fix allocating job twice.

6 years agopatch 8.0.1744: on some systems /dev/stdout isn't writable v8.0.1744
Bram Moolenaar [Sat, 21 Apr 2018 18:12:35 +0000 (20:12 +0200)]
patch 8.0.1744: on some systems /dev/stdout isn't writable

Problem:    On some systems /dev/stdout isn't writable.
Solution:   Skip test if writing is not possible. (James McCoy, closes #2830)

6 years agopatch 8.0.1743: terminal window options are named inconsistently v8.0.1743
Bram Moolenaar [Sat, 21 Apr 2018 18:03:20 +0000 (20:03 +0200)]
patch 8.0.1743: terminal window options are named inconsistently

Problem:    Terminal window options are named inconsistently.
Solution:   prefix terminal window options with "termwin".  Keep the old names
            for now as an alias.

6 years agopatch 8.0.1742: cannot get a list of all the jobs v8.0.1742
Bram Moolenaar [Sat, 21 Apr 2018 17:49:08 +0000 (19:49 +0200)]
patch 8.0.1742: cannot get a list of all the jobs

Problem:    Cannot get a list of all the jobs.  Cannot get the command of
            the job.
Solution:   When job_info() is called without an argument return a list of
            jobs.  Otherwise, include the command that the job is running.
            (Yegappan Lakshmanan)

6 years agopatch 8.0.1741: MS-Windows with msys2 cannot build Ruby statically v8.0.1741
Bram Moolenaar [Sat, 21 Apr 2018 17:08:55 +0000 (19:08 +0200)]
patch 8.0.1741: MS-Windows with msys2 cannot build Ruby statically

Problem:    MS-Windows with msys2 cannot build Ruby statically.
Solution:   Add RUBY_VERSION to CFLAGS later. (Gray Wolf, closes #2833)

6 years agopatch 8.0.1740: warning for signed-unsigned incompatibility v8.0.1740
Bram Moolenaar [Fri, 20 Apr 2018 20:48:58 +0000 (22:48 +0200)]
patch 8.0.1740: warning for signed-unsigned incompatibility

Problem:    Warning for signed-unsigned incompatibility.
Solution:   Change type from "char *" to "char_u *". (John Marriott)

6 years agoUpdate runtime files.
Bram Moolenaar [Fri, 20 Apr 2018 20:36:41 +0000 (22:36 +0200)]
Update runtime files.

6 years agopatch 8.0.1739: MS-Windows with msys2 cannot build Ruby statically
Bram Moolenaar [Fri, 20 Apr 2018 20:31:41 +0000 (22:31 +0200)]
patch 8.0.1739: MS-Windows with msys2 cannot build Ruby statically

Problem:    MS-Windows with msys2 cannot build Ruby statically.
Solution:   Define RUBY_VERSION. (Gray Wolf, closes #2826)

6 years agopatch 8.0.1738: ":args" output is hard to read v8.0.1738 v8.0.1739
Bram Moolenaar [Fri, 20 Apr 2018 20:01:41 +0000 (22:01 +0200)]
patch 8.0.1738: ":args" output is hard to read

Problem:    ":args" output is hard to read.
Solution:   Make columns with the names if the output is more than one line.

6 years agopatch 8.0.1737: fchown() used when it is not supported v8.0.1737
Bram Moolenaar [Thu, 19 Apr 2018 19:15:27 +0000 (21:15 +0200)]
patch 8.0.1737: fchown() used when it is not supported

Problem:    fchown() used when it is not supported.
Solution:   Add #ifdef.

6 years agopatch 8.0.1736: check for C99 features is incomplete v8.0.1736
Bram Moolenaar [Thu, 19 Apr 2018 18:39:41 +0000 (20:39 +0200)]
patch 8.0.1736: check for C99 features is incomplete

Problem:    Check for C99 features is incomplete.
Solution:   Use AC_PROG_CC_C99 and when C99 isn't fully supported check the
            features we need. (James McCoy, closes #2820)

6 years agopatch 8.0.1735: flexible array member feature not supported by HP-UX v8.0.1735
Bram Moolenaar [Wed, 18 Apr 2018 21:01:13 +0000 (23:01 +0200)]
patch 8.0.1735: flexible array member feature not supported by HP-UX

Problem:    Flexible array member feature not supported by HP-UX. (John
            Marriott)
Solution:   Do not use the flexible array member feature of C99.

6 years agopatch 8.0.1734: package directory not added to 'rtp' if prefix matches v8.0.1734
Bram Moolenaar [Wed, 18 Apr 2018 20:18:23 +0000 (22:18 +0200)]
patch 8.0.1734: package directory not added to 'rtp' if prefix matches

Problem:    Package directory not added to 'rtp' if prefix matches.
Solution:   Check the match is a full match. (Ozaki Kiichi, closes #2817)
            Also handle different ways of spelling a path.

6 years agopatch 8.0.1733: incomplete testing for completion fix v8.0.1733
Bram Moolenaar [Tue, 17 Apr 2018 21:31:05 +0000 (23:31 +0200)]
patch 8.0.1733: incomplete testing for completion fix

Problem:    Incomplete testing for completion fix. (Lifepillar)
Solution:   Add a test with CTRL-P.

6 years agopatch 8.0.1732: crash when terminal API call deletes the buffer v8.0.1732
Bram Moolenaar [Tue, 17 Apr 2018 21:24:06 +0000 (23:24 +0200)]
patch 8.0.1732: crash when terminal API call deletes the buffer

Problem:    Crash when terminal API call deletes the buffer.
Solution:   Lock the buffer while calling a function. (closes #2813)

6 years agopatch 8.0.1731: characters deleted on completion v8.0.1731
Bram Moolenaar [Tue, 17 Apr 2018 20:14:32 +0000 (22:14 +0200)]
patch 8.0.1731: characters deleted on completion

Problem:    Characters deleted on completion. (Adrià Farrés)
Solution:   Also check the last item for the ORIGINAL_TEXT flag. (Christian
            Brabandt, closes #1645)

6 years agopatch 8.0.1730: no configure check for the used C99 features v8.0.1730
Bram Moolenaar [Tue, 17 Apr 2018 20:02:45 +0000 (22:02 +0200)]
patch 8.0.1730: no configure check for the used C99 features

Problem:    No configure check for the used C99 features.
Solution:   Add a compilation check.  Tentatively document C99 features.

6 years agopatch 8.0.1729: no comma after last enum item v8.0.1729
Bram Moolenaar [Tue, 17 Apr 2018 18:14:39 +0000 (20:14 +0200)]
patch 8.0.1729: no comma after last enum item

Problem:    No comma after last enum item.
Solution:   Add a few commas to check if this works for all compilers.  Also
            add a few // comments.

6 years agopatch 8.0.1728: condition always false, useless code v8.0.1728
Bram Moolenaar [Tue, 17 Apr 2018 18:12:08 +0000 (20:12 +0200)]
patch 8.0.1728: condition always false, useless code

Problem:    Condition always false, useless code.
Solution:   Remove the code. (Nikolai Pavlov, closes #2808)

6 years agopatch 8.0.1727: qf_get_properties() function is too long v8.0.1727
Bram Moolenaar [Mon, 16 Apr 2018 16:04:57 +0000 (18:04 +0200)]
patch 8.0.1727: qf_get_properties() function is too long

Problem:    qf_get_properties() function is too long.
Solution:   Refactor the code. (Yegappan Lakshmanan, closes #2807)

6 years agopatch 8.0.1726: older MSVC doesn't support declarations halfway a block v8.0.1726
Bram Moolenaar [Mon, 16 Apr 2018 15:06:09 +0000 (17:06 +0200)]
patch 8.0.1726: older MSVC doesn't support declarations halfway a block

Problem:    Older MSVC doesn't support declarations halfway a block.
Solution:   Move the declaration back to the start of the block.

6 years agopatch 8.0.1725: terminal debugger doesn't handle command arguments v8.0.1725
Bram Moolenaar [Mon, 16 Apr 2018 14:21:49 +0000 (16:21 +0200)]
patch 8.0.1725: terminal debugger doesn't handle command arguments

Problem:    Terminal debugger doesn't handle command arguments.
Solution:   Add the :TermdebugCommand command.  Use a ! to execute right away.
            (Christian Brabandt)