vim
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)

6 years agopatch 8.0.1698: coverage statistics don't work on coveralls v8.0.1698
Bram Moolenaar [Wed, 11 Apr 2018 19:03:08 +0000 (21:03 +0200)]
patch 8.0.1698: coverage statistics don't work on coveralls

Problem:    Coverate statistics don't work on coveralls.
Solution:   Use curly braces for $SRCDIR.

6 years agopatch 8.0.1697: various tests are still a bit flaky v8.0.1697
Bram Moolenaar [Wed, 11 Apr 2018 18:53:49 +0000 (20:53 +0200)]
patch 8.0.1697: various tests are still a bit flaky

Problem:    Various tests are still a bit flaky.
Solution:   Increase the default wait time to five seconds.

6 years agopatch 8.0.1696: coverage statistics don't work v8.0.1696
Bram Moolenaar [Wed, 11 Apr 2018 08:06:04 +0000 (10:06 +0200)]
patch 8.0.1696: coverage statistics don't work

Problem:    Coverate statistics don't work.
Solution:   Include the xxd directory. (Christian Brabandt)

6 years agopatch 8.0.1695: xxd test not run on MS-Windows v8.0.1695
Bram Moolenaar [Tue, 10 Apr 2018 19:46:10 +0000 (21:46 +0200)]
patch 8.0.1695: xxd test not run on MS-Windows

Problem:    Xxd test not run on MS-Windows.
Solution:   Use xxd.exe if it exists.

6 years agopatch 8.0.1694: terminal API test is a bit flaky v8.0.1694
Bram Moolenaar [Tue, 10 Apr 2018 19:43:26 +0000 (21:43 +0200)]
patch 8.0.1694: terminal API test is a bit flaky

Problem:    Terminal API test is a bit flaky.
Solution:   Wait longer for Vim to stop.

6 years agopatch 8.0.1693: xxd is excluded from coverage statistics v8.0.1693
Bram Moolenaar [Tue, 10 Apr 2018 19:16:32 +0000 (21:16 +0200)]
patch 8.0.1693: xxd is excluded from coverage statistics

Problem:    Xxd is excluded from coverage statistics.
Solution:   Don't skip the xxd directory. (Christian Brabandt)

6 years agopatch 8.0.1692: Python may not work when using statically linked library v8.0.1692
Bram Moolenaar [Tue, 10 Apr 2018 18:26:20 +0000 (20:26 +0200)]
patch 8.0.1692: Python may not work when using statically linked library

Problem:    Python may not work when using statically linked library .
Solution:   Do not define PYTHON_HOME and PYTHON3_HOME in configure if the
            Python library is linked statically.

6 years agopatch 8.0.1691: xxd test sometimes fails v8.0.1691
Bram Moolenaar [Tue, 10 Apr 2018 18:06:17 +0000 (20:06 +0200)]
patch 8.0.1691: xxd test sometimes fails

Problem:    Xxd test sometimes fails.
Solution:   Wipe out the XXDfile buffer.

6 years agopatch 8.0.1690: not easy to run one test with gvim instead of vim v8.0.1690
Bram Moolenaar [Tue, 10 Apr 2018 17:24:04 +0000 (19:24 +0200)]
patch 8.0.1690: not easy to run one test with gvim instead of vim

Problem:    Not easy to run one test with gvim instead of vim.
Solution:   Add VIMTESTTARGET in Makefile.

6 years agopatch 8.0.1689: no tests for xxd v8.0.1689
Bram Moolenaar [Tue, 10 Apr 2018 17:20:31 +0000 (19:20 +0200)]
patch 8.0.1689: no tests for xxd

Problem:    No tests for xxd.
Solution:   Add a test. (Christian Brabandt)

6 years agopatch 8.0.1688: some macros are used without a semicolon v8.0.1688
Bram Moolenaar [Tue, 10 Apr 2018 16:47:20 +0000 (18:47 +0200)]
patch 8.0.1688: some macros are used without a semicolon

Problem:    Some macros are used without a semicolon, causing auto-indent to be
            wrong.
Solution:   Use the do-while(0) trick. (Ozaki Kiichi, closes #2729)

6 years agopatch 8.0.1687: 64 bit compiler warnings v8.0.1687
Bram Moolenaar [Tue, 10 Apr 2018 16:26:27 +0000 (18:26 +0200)]
patch 8.0.1687: 64 bit compiler warnings

Problem:    64 bit compiler warnings.
Solution:   change type, add type cast. (Mike Williams)

6 years agopatch 8.0.1686: Python does not work when configuring with specific dir v8.0.1686
Bram Moolenaar [Tue, 10 Apr 2018 16:13:05 +0000 (18:13 +0200)]
patch 8.0.1686: Python does not work when configuring with specific dir

Problem:    Python does not work when configuring with specific dir. (Rajdeep)
Solution:   Do define PYTHON_HOME and PYTHON3_HOME in configure if the Python
            config dir was specified.

6 years agopatch 8.0.1685: can't set ANSI colors of a terminal window v8.0.1685
Bram Moolenaar [Tue, 10 Apr 2018 13:59:11 +0000 (15:59 +0200)]
patch 8.0.1685: can't set ANSI colors of a terminal window

Problem:    Can't set ANSI colors of a terminal window.
Solution:   Add term_setansicolors(), term_getansicolors() and
            g:term_ansi_colors. (Andy Massimino, closes #2747)

6 years agopatch 8.0.1684: ml_get errors when using terminal window for shell command v8.0.1684
Bram Moolenaar [Tue, 10 Apr 2018 12:56:18 +0000 (14:56 +0200)]
patch 8.0.1684: ml_get errors when using terminal window for shell command

Problem:    ml_get errors when using terminal window for shell command.
            (Blay263)
Solution:   Do not change the size of the current window.

6 years agopatch 8.0.1683: Python upgrade breaks Vim when defining PYTHON_HOME v8.0.1683
Bram Moolenaar [Tue, 10 Apr 2018 11:29:34 +0000 (13:29 +0200)]
patch 8.0.1683: Python upgrade breaks Vim when defining PYTHON_HOME

Problem:    Python upgrade breaks Vim when defining PYTHON_HOME.
Solution:   Do not define PYTHON_HOME and PYTHON3_HOME in configure. (Naoki
            Inada, closes #2787)

6 years agopatch 8.0.1682: auto indenting breaks inserting a block v8.0.1682
Bram Moolenaar [Tue, 10 Apr 2018 11:15:47 +0000 (13:15 +0200)]
patch 8.0.1682: auto indenting breaks inserting a block

Problem:    Auto indenting breaks inserting a block.
Solution:   Do not check for cursor movement if indent was changed. (Christian
            Brabandt, closes #2778)

6 years agopatch 8.0.1681: the format attribute fails with MinGW v8.0.1681
Bram Moolenaar [Tue, 10 Apr 2018 10:42:44 +0000 (12:42 +0200)]
patch 8.0.1681: the format attribute fails with MinGW

Problem:    The format attribute fails with MinGW. (John Marriott)
Solution:   Don't use the format attribute with MinGW.

6 years agopatch 8.0.1680: memory allocated by libvterm is not profiled v8.0.1680
Bram Moolenaar [Tue, 10 Apr 2018 10:04:27 +0000 (12:04 +0200)]
patch 8.0.1680: memory allocated by libvterm is not profiled

Problem:    Memory allocated by libvterm does not show up in profile.
Solution:   Pass allocater functions to vterm_new().

6 years agopatch 8.0.1679: compiler warning for printf format v8.0.1679
Bram Moolenaar [Sun, 8 Apr 2018 14:34:22 +0000 (16:34 +0200)]
patch 8.0.1679: compiler warning for printf format

Problem:    Compiler warning for printf format. (Chdiza)
Solution:   Change type to "long long". (closes #2791)

6 years agopatch 8.0.1678: errorformat "%r" implies "%>" v8.0.1678
Bram Moolenaar [Sun, 8 Apr 2018 11:27:39 +0000 (13:27 +0200)]
patch 8.0.1678: errorformat "%r" implies "%>"

Problem:    Errorformat "%r" implies "%>". (Jan Gosmann)
Solution:   Jump to before setting fmt_ptr. (Yegappan Lakshmanan,
            closes #2785)

6 years agopatch 8.0.1677: no compiler warning for wrong format in vim_snprintf() v8.0.1677
Bram Moolenaar [Sun, 8 Apr 2018 11:07:22 +0000 (13:07 +0200)]
patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()

Problem:    No compiler warning for wrong format in vim_snprintf().
Solution:   Add printf attribute for gcc.  Fix reported problems.

6 years agopatch 8.0.1676: no compiler warning for wrong printf format v8.0.1676
Bram Moolenaar [Sun, 8 Apr 2018 10:38:26 +0000 (12:38 +0200)]
patch 8.0.1676: no compiler warning for wrong printf format

Problem:    No compiler warning for wrong printf format.
Solution:   Add a printf attribute for gcc. Fix reported problems. (Dominique
            Pelle, closes #2789)

6 years agopatch 8.0.1675: unused macro argument in libvterm v8.0.1675
Bram Moolenaar [Sun, 8 Apr 2018 10:17:04 +0000 (12:17 +0200)]
patch 8.0.1675: unused macro argument in libvterm

Problem:    Unused macro argument in libvterm. (Randall W. Morris)
Solution:   Remove the argument.

7 years agopatch 8.0.1674: libvterm can't handle an OSC string split v8.0.1674
Bram Moolenaar [Sat, 7 Apr 2018 19:42:56 +0000 (21:42 +0200)]
patch 8.0.1674: libvterm can't handle an OSC string split

Problem:    Libvterm can't handle a long OSC string that is split.
Solution:   When an incomplete OSC string is received copy it to the parser
            buffer. Increase the size of the parser buffer to be able to
            handle longer strings.

7 years agopatch 8.0.1673: terminal window tests are still a bit flaky v8.0.1673
Bram Moolenaar [Sat, 7 Apr 2018 17:27:16 +0000 (19:27 +0200)]
patch 8.0.1673: terminal window tests are still a bit flaky

Problem:    Terminal window tests are still a bit flaky.
Solution:   Increase the waiting time even more. (Elimar Riesebieter)

7 years agopatch 8.0.1672: error during completion causes command to be cancelled v8.0.1672
Bram Moolenaar [Sat, 7 Apr 2018 17:09:09 +0000 (19:09 +0200)]
patch 8.0.1672: error during completion causes command to be cancelled

Problem:    Error during completion causes command to be cancelled.
Solution:   Reset did_emsg before waiting for another character. (Tom M.)

7 years agopatch 8.0.1671: crash when passing non-dict argument as env to job_start() v8.0.1671
Bram Moolenaar [Sat, 7 Apr 2018 11:22:21 +0000 (13:22 +0200)]
patch 8.0.1671: crash when passing non-dict argument as env to job_start()

Problem:    Crash when passing non-dict argument as env to job_start().
Solution:   Check for valid argument. (Ozaki Kiichi, closes #2765)

7 years agopatch 8.0.1670: terminal window tests are still a bit flaky v8.0.1670
Bram Moolenaar [Sat, 7 Apr 2018 08:42:14 +0000 (10:42 +0200)]
patch 8.0.1670: terminal window tests are still a bit flaky

Problem:    Terminal window tests are still a bit flaky.
Solution:   Increase the waiting time for the buffer to be created.

7 years agopatch 8.0.1669: :vimgrep may add entries to the wrong quickfix list v8.0.1669
Bram Moolenaar [Fri, 6 Apr 2018 20:58:23 +0000 (22:58 +0200)]
patch 8.0.1669: :vimgrep may add entries to the wrong quickfix list

Problem:    :vimgrep may add entries to the wrong quickfix list.
Solution:   Use the list identifier. (Yegappan Lakshmanan)

7 years agopatch 8.0.1668: terminal debugger: can't re-open source code window v8.0.1668
Bram Moolenaar [Fri, 6 Apr 2018 20:26:25 +0000 (22:26 +0200)]
patch 8.0.1668: terminal debugger: can't re-open source code window

Problem:    Terminal debugger: can't re-open source code window.
Solution:   Add the :Source command.  Also create the window if needed when
            gdb stops at a source line.

7 years agopatch 8.0.1667: terminal window tests are flaky v8.0.1667
Bram Moolenaar [Fri, 6 Apr 2018 18:22:06 +0000 (20:22 +0200)]
patch 8.0.1667: terminal window tests are flaky

Problem:    Terminal window tests are flaky.
Solution:   Increase the waiting time for Vim to start.

7 years agoUpdate runtime files
Bram Moolenaar [Fri, 6 Apr 2018 09:14:11 +0000 (11:14 +0200)]
Update runtime files

7 years agopatch 8.0.1666: % argument in ch_log() causes trouble v8.0.1666
Bram Moolenaar [Thu, 5 Apr 2018 20:44:39 +0000 (22:44 +0200)]
patch 8.0.1666: % argument in ch_log() causes trouble

Problem:    % argument in ch_log() causes trouble.
Solution:   Use string as third argument in internal ch_log(). (Dominique
            Pelle, closes #2784)

7 years agopatch 8.0.1665: when running a terminal from the GUI 'term' is not useful v8.0.1665
Bram Moolenaar [Thu, 5 Apr 2018 20:15:22 +0000 (22:15 +0200)]
patch 8.0.1665: when running a terminal from the GUI 'term' is not useful

Problem:    When running a terminal from the GUI 'term' is not useful.
Solution:   Use $TERM in the GUI if it starts with "xterm". (closes #2776)