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

6 years agopatch 8.0.1724: declarations cannot be halfway a block v8.0.1724
Bram Moolenaar [Mon, 16 Apr 2018 13:40:50 +0000 (15:40 +0200)]
patch 8.0.1724: declarations cannot be halfway a block

Problem:    Declarations cannot be halfway a block.
Solution:   Move one declaration to check if this works for all compilers.

6 years agopatch 8.0.1723: using one item array size declaration is misleading v8.0.1723
Bram Moolenaar [Mon, 16 Apr 2018 12:45:45 +0000 (14:45 +0200)]
patch 8.0.1723: using one item array size declaration is misleading

Problem:    Using one item array size declaration is misleading.
Solution:   Instead of using "[1]" and actually using a larger array, use
            "[]".  This is to verify that this C99 feature works for all
            compilers.

6 years agopatch 8.0.1722: cannot specify a minimal size for a terminal window v8.0.1722
Bram Moolenaar [Sun, 15 Apr 2018 21:45:15 +0000 (23:45 +0200)]
patch 8.0.1722: cannot specify a minimal size for a terminal window

Problem:    Cannot specify a minimal size for a terminal window.
Solution:   Support the "rows*cols" format for 'winsize'.

6 years agopatch 8.0.1721: no test for using the 'termsize' option v8.0.1721
Bram Moolenaar [Sun, 15 Apr 2018 20:25:54 +0000 (22:25 +0200)]
patch 8.0.1721: no test for using the 'termsize' option

Problem:    No test for using the 'termsize' option.
Solution:   Add a test.

6 years agopatch 8.0.1720: when a timer is running a terminal window may not close v8.0.1720
Bram Moolenaar [Sun, 15 Apr 2018 15:28:13 +0000 (17:28 +0200)]
patch 8.0.1720: when a timer is running a terminal window may not close

Problem:    When a timer is running a terminal window may not close after a
            shell has exited.
Solution:   Call job_status() more often.

6 years agopatch 8.0.1719: cannot specify which Python executable configure should use v8.0.1719
Bram Moolenaar [Sun, 15 Apr 2018 14:03:25 +0000 (16:03 +0200)]
patch 8.0.1719: cannot specify which Python executable configure should use

Problem:    Cannot specify which Python executable configure should use.
Solution:   Add --with-python-command and --with-python3-command.

6 years agopatch 8.0.1718: terminal scrollback test fails on MS-Windows v8.0.1718
Bram Moolenaar [Sun, 15 Apr 2018 11:28:42 +0000 (13:28 +0200)]
patch 8.0.1718: terminal scrollback test fails on MS-Windows

Problem:    Terminal scrollback test fails on MS-Windows.
Solution:   Check for the last line of output anticipating there might be an
            empty line below it.

6 years agopatch 8.0.1717: C89 check causes too much trouble v8.0.1717
Bram Moolenaar [Sun, 15 Apr 2018 11:12:46 +0000 (13:12 +0200)]
patch 8.0.1717: C89 check causes too much trouble

Problem:    C89 check causes too much trouble.
Solution:   Remove enforcing C89 for now.

6 years agopatch 8.0.1716: test for term_setsize() does not give a good error message v8.0.1716
Bram Moolenaar [Sun, 15 Apr 2018 11:10:44 +0000 (13:10 +0200)]
patch 8.0.1716: test for term_setsize() does not give a good error message

Problem:    Test for term_setsize() does not give a good error message.
Solution:   use assert_inrange().

6 years agopatch 8.0.1715: terminal buffer can be 1 more than 'terminalscroll' lines v8.0.1715
Bram Moolenaar [Sun, 15 Apr 2018 10:55:13 +0000 (12:55 +0200)]
patch 8.0.1715: terminal buffer can be 1 more than 'terminalscroll' lines

Problem:    Terminal buffer can be 1 more than 'terminalscroll' lines.
Solution:   Change > to >=.

6 years agopatch 8.0.1714: term_setsize() does not give an error in a normal buffer v8.0.1714
Bram Moolenaar [Sat, 14 Apr 2018 19:31:35 +0000 (21:31 +0200)]
patch 8.0.1714: term_setsize() does not give an error in a normal buffer

Problem:    Term_setsize() does not give an error in a normal buffer.
Solution:   Add an error message.

6 years agopatch 8.0.1713: terminal debugger doesn't handle arguments v8.0.1713
Bram Moolenaar [Sat, 14 Apr 2018 16:59:50 +0000 (18:59 +0200)]
patch 8.0.1713: terminal debugger doesn't handle arguments

Problem:    Terminal debugger doesn't handle arguments.
Solution:   Use <f-args> and pass all the arguments to gdb, e.g. the core file
            or process number. (suggested by Christian Brabandt) Disallow
            starting the debugger twice.

6 years agopatch 8.0.1712: terminal scrollback is not limited v8.0.1712
Bram Moolenaar [Sat, 14 Apr 2018 16:14:06 +0000 (18:14 +0200)]
patch 8.0.1712: terminal scrollback is not limited

Problem:    Terminal scrollback is not limited.
Solution:   Add the 'terminalscroll' option.

6 years agopatch 8.0.1711: term_setsize() is not implemented yet v8.0.1711
Bram Moolenaar [Sat, 14 Apr 2018 15:05:38 +0000 (17:05 +0200)]
patch 8.0.1711: term_setsize() is not implemented yet

Problem:    Term_setsize() is not implemented yet.
Solution:   Implement it.

6 years agopatch 8.0.1710: building with Ruby fails v8.0.1710
Bram Moolenaar [Sat, 14 Apr 2018 14:12:30 +0000 (16:12 +0200)]
patch 8.0.1710: building with Ruby fails

Problem:    Building with Ruby fails.
Solution:   Don't add -ansi when building with Ruby.

6 years agopatch 8.0.1709: some non-C89 code may slip through v8.0.1709
Bram Moolenaar [Sat, 14 Apr 2018 12:37:07 +0000 (14:37 +0200)]
patch 8.0.1709: some non-C89 code may slip through

Problem:    Some non-C89 code may slip through.
Solution:   Enforce C89 in configure. Fix detected problems. (James McCoy,
            closes #2735)

6 years agopatch 8.0.1708: mkdir with 'p' flag fails on existing directory v8.0.1708
Bram Moolenaar [Sat, 14 Apr 2018 11:51:55 +0000 (13:51 +0200)]
patch 8.0.1708: mkdir with 'p' flag fails on existing directory

Problem:    Mkdir with 'p' flag fails on existing directory, which is
            different from the mkdir shell command.
Solution:   Don't fail if the directory already exists. (James McCoy,
            closes #2775)

6 years agopatch 8.0.1707: when 'wfh' is set ":bel 10new" scrolls window v8.0.1707
Bram Moolenaar [Fri, 13 Apr 2018 20:15:46 +0000 (22:15 +0200)]
patch 8.0.1707: when 'wfh' is set ":bel 10new" scrolls window

Problem:    When 'wfh' is set ":bel 10new" scrolls window. (Andrew Pyatkov)
Solution:   Set the fraction before changing the window height. (closes #2798)

6 years agopatch 8.0.1706: cannot sent CTRL-\ to a terminal window v8.0.1706
Bram Moolenaar [Fri, 13 Apr 2018 20:11:56 +0000 (22:11 +0200)]
patch 8.0.1706: cannot sent CTRL-\ to a terminal window

Problem:    Cannot sent CTRL-\ to a terminal window.
Solution:   Make CTRL-W CTRL-\ send CTRL-\ to a terminal window.

6 years agopatch 8.0.1705: when making a vertical split the mode message isn't updated v8.0.1705
Bram Moolenaar [Fri, 13 Apr 2018 18:41:29 +0000 (20:41 +0200)]
patch 8.0.1705: when making a vertical split the mode message isn't updated

Problem:    When making a vertical split the mode message isn't always
            updated, "VISUAL" remains. (Alexei Averchenko)
Solution:   Only reset clear_cmdline when filling all columns of the last
            screen line. (Tom M. closes #2611)

6 years agopatch 8.0.1704: 'backupskip' default doesn't work for Mac v8.0.1704
Bram Moolenaar [Thu, 12 Apr 2018 19:37:34 +0000 (21:37 +0200)]
patch 8.0.1704: 'backupskip' default doesn't work for Mac

Problem:    'backupskip' default doesn't work for Mac.
Solution:   Use "/private/tmp". (Rainer Müller, closes #2793)

6 years agopatch 8.0.1703: in the tutor 'showcmd' is not set v8.0.1703
Bram Moolenaar [Thu, 12 Apr 2018 18:36:43 +0000 (20:36 +0200)]
patch 8.0.1703: in the tutor 'showcmd' is not set

Problem:    In the tutor 'showcmd' is not set.
Solution:   Set 'showcmd' in the vimtutor script. (Ken Takata, closes #2792)

6 years agopatch 8.0.1702: leaking memory when autocommands make quickfix list invalid v8.0.1702
Bram Moolenaar [Thu, 12 Apr 2018 18:35:05 +0000 (20:35 +0200)]
patch 8.0.1702: leaking memory when autocommands make quickfix list invalid

Problem:    Leaking memory when autocommands make a quickfix list invalid.
Solution:   Call FreeWild(). (Yegappan Lakshmanan)

6 years agopatch 8.0.1701: can disable COLOR_EMOJI with MSVC but not MinGW v8.0.1701
Bram Moolenaar [Thu, 12 Apr 2018 18:23:48 +0000 (20:23 +0200)]
patch 8.0.1701: can disable COLOR_EMOJI with MSVC but not MinGW

Problem:    Can disable COLOR_EMOJI with MSVC but not MinGW.
Solution:   Add COLOR_EMOJI flag.  Also add some empty lines for readability.

6 years agopatch 8.0.1700: coverage statistics still don't work on coveralls v8.0.1700
Bram Moolenaar [Thu, 12 Apr 2018 18:06:05 +0000 (20:06 +0200)]
patch 8.0.1700: coverage statistics still don't work on coveralls

Problem:    Coverate statistics still don't work on coveralls.
Solution:   Exclude the xxd directory again.

6 years agopatch 8.0.1699: leftover stuff for Python 1.4 v8.0.1699
Bram Moolenaar [Wed, 11 Apr 2018 20:19:36 +0000 (22:19 +0200)]
patch 8.0.1699: leftover stuff for Python 1.4

Problem:    Leftover stuff for Python 1.4.
Solution:   Remove outdated Python 1.4 stuff. (Naoki Inada, closes #2794)