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

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

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

7 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.

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

7 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.

7 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.

7 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'.

7 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.

7 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.

7 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.

7 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.

7 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.

7 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().

7 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 >=.

7 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.

7 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.

7 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.

7 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.

7 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.

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

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

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

7 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.

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

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

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

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

7 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.

7 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.

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

7 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.

7 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.

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

7 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.

7 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.

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

7 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.

7 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.

7 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.

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

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

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

7 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.

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

7 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.

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

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

7 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.

7 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().

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

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

7 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.

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

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

7 years agopatch 8.0.1664: test failure because of not allocating enough space v8.0.1664
Bram Moolenaar [Thu, 5 Apr 2018 19:04:15 +0000 (21:04 +0200)]
patch 8.0.1664: test failure because of not allocating enough space

Problem:    Test failure because of not allocating enough space.
Solution:   Allocate more bytes.

7 years agopatch 8.0.1663: cannot build without multi-byte feature v8.0.1663
Bram Moolenaar [Thu, 5 Apr 2018 16:56:48 +0000 (18:56 +0200)]
patch 8.0.1663: cannot build without multi-byte feature

Problem:    Cannot build without multi-byte feature.
Solution:   Add #ifdef.

7 years agopatch 8.0.1662: showing dump diff doesn't mention both file names v8.0.1662
Bram Moolenaar [Thu, 5 Apr 2018 16:45:26 +0000 (18:45 +0200)]
patch 8.0.1662: showing dump diff doesn't mention both file names

Problem:    Showing dump diff doesn't mention both file names.
Solution:   Add the file name in the separator line.

7 years agopatch 8.0.1661: warnings from 64 bit compiler v8.0.1661
Bram Moolenaar [Wed, 4 Apr 2018 21:00:06 +0000 (23:00 +0200)]
patch 8.0.1661: warnings from 64 bit compiler

Problem:    Warnings from 64 bit compiler.
Solution:   Add type casts. (Mike Williams)

7 years agopatch 8.0.1660: the terminal API "drop" command doesn't support options v8.0.1660
Bram Moolenaar [Wed, 4 Apr 2018 20:57:29 +0000 (22:57 +0200)]
patch 8.0.1660: the terminal API "drop" command doesn't support options

Problem:    The terminal API "drop" command doesn't support options.
Solution:   Implement the options.

7 years agopatch 8.0.1659: scroll events not recognized for some xterm emulators v8.0.1659
Bram Moolenaar [Wed, 4 Apr 2018 19:53:11 +0000 (21:53 +0200)]
patch 8.0.1659: scroll events not recognized for some xterm emulators

Problem:    Scroll events not recognized for some xterm emulators.
Solution:   Recognize mouse codes 0x40 and 0x41 as scroll events.

7 years agopatch 8.0.1658: capitalize argument not available in long form v8.0.1658
Bram Moolenaar [Tue, 3 Apr 2018 12:21:16 +0000 (14:21 +0200)]
patch 8.0.1658: capitalize argument not available in long form

Problem:    Capitalize argument not available in long form.
Solution:   Recognize -capitalize.  Update man page.

7 years agopatch 8.0.1657: crash when reading a channel v8.0.1657
Bram Moolenaar [Tue, 3 Apr 2018 10:51:01 +0000 (12:51 +0200)]
patch 8.0.1657: crash when reading a channel

Problem:    Crash when reading a channel.
Solution:   Clear the write flag before writing. (idea by Shinya Ohyanagi,
            closes #2769).

7 years agopatch 8.0.1656: no option to have xxd produce upper case variable names v8.0.1656
Bram Moolenaar [Tue, 3 Apr 2018 10:17:25 +0000 (12:17 +0200)]
patch 8.0.1656: no option to have xxd produce upper case variable names

Problem:    No option to have xxd produce upper case variable names.
Solution:   Add the -C argument. (Matt Panaro closes #2772)

7 years agoSmall runtime update
Bram Moolenaar [Fri, 30 Mar 2018 10:27:32 +0000 (12:27 +0200)]
Small runtime update

7 years agopatch 8.0.1655: outdated gdb message in terminal debugger unclear v8.0.1655
Bram Moolenaar [Thu, 29 Mar 2018 16:29:51 +0000 (18:29 +0200)]
patch 8.0.1655: outdated gdb message in terminal debugger unclear

Problem:    Outdated gdb message in terminal debugger unclear.
Solution:   Specifically mention the required gdb version.  Avoid getting
            stuck on pagination.

7 years agoUpdate runtime files
Bram Moolenaar [Thu, 29 Mar 2018 16:27:07 +0000 (18:27 +0200)]
Update runtime files

7 years agopatch 8.0.1654: warnings for conversion of void to function pointer v8.0.1654
Bram Moolenaar [Thu, 29 Mar 2018 16:15:26 +0000 (18:15 +0200)]
patch 8.0.1654: warnings for conversion of void to function pointer

Problem:    Warnings for conversion of void to function pointer.
Solution:   Use a temp variable that is a function pointer.

7 years agopatch 8.0.1653: screen dump is made too soon v8.0.1653
Bram Moolenaar [Thu, 29 Mar 2018 15:40:46 +0000 (17:40 +0200)]
patch 8.0.1653: screen dump is made too soon

Problem:    Screen dump is made too soon.
Solution:   Wait until the ruler is displayed. (Ozaki Kiichi, closes #2755)

7 years agopatch 8.0.1652: term_dumpwrite() does not output composing characters v8.0.1652
Bram Moolenaar [Thu, 29 Mar 2018 15:22:24 +0000 (17:22 +0200)]
patch 8.0.1652: term_dumpwrite() does not output composing characters

Problem:    term_dumpwrite() does not output composing characters.
Solution:   Use the cell index.

7 years agopatch 8.0.1651: cannot filter :ls output for terminal buffers v8.0.1651
Bram Moolenaar [Thu, 29 Mar 2018 14:37:16 +0000 (16:37 +0200)]
patch 8.0.1651: cannot filter :ls output for terminal buffers

Problem:    Cannot filter :ls output for terminal buffers.
Solution:   Add flags for terminal buffers. (Marcin Szamotulski, closes #2751)

7 years agopatch 8.0.1650: too many #ifdefs v8.0.1650
Bram Moolenaar [Thu, 29 Mar 2018 14:04:08 +0000 (16:04 +0200)]
patch 8.0.1650: too many #ifdefs

Problem:    Too many #ifdefs.
Solution:   Graduate FEAT_LISTCMDS, no reason to leave out buffer commands.

7 years agopatch 8.0.1649: no completion for argument list commands v8.0.1649
Bram Moolenaar [Thu, 29 Mar 2018 13:55:38 +0000 (15:55 +0200)]
patch 8.0.1649: no completion for argument list commands

Problem:    No completion for argument list commands.
Solution:   Add arglist completion. (Yegappan Lakshmanan, closes #2706)

7 years agopatch 8.0.1648: resource fork tool doesn't work on Python 3 v8.0.1648
Bram Moolenaar [Tue, 27 Mar 2018 19:12:01 +0000 (21:12 +0200)]
patch 8.0.1648: resource fork tool doesn't work on Python 3

Problem:    Resource fork tool doesn't work on Python 3.
Solution:   Use "print()" instead of "print". (Marius Gedminas)

7 years agopatch 8.0.1647: terminal API may call any user function v8.0.1647
Bram Moolenaar [Mon, 26 Mar 2018 19:38:52 +0000 (21:38 +0200)]
patch 8.0.1647: terminal API may call any user function

Problem:    Terminal API may call a function not meant to be called by this
            API.
Solution:   Require the function to start with Tapi_.

7 years agopatch 8.0.1646: MS-Windows: executable contains unreferenced functions v8.0.1646
Bram Moolenaar [Mon, 26 Mar 2018 18:55:10 +0000 (20:55 +0200)]
patch 8.0.1646: MS-Windows: executable contains unreferenced functions

Problem:    MS-Windows: executable contains unreferenced functions and data.
Solution:   Add /opt:ref to the compiler command. (Ken Takata)

7 years agopatch 8.0.1645: test for terminal response to escape sequence may fail v8.0.1645
Bram Moolenaar [Sun, 25 Mar 2018 19:24:12 +0000 (21:24 +0200)]
patch 8.0.1645: test for terminal response to escape sequence may fail

Problem:    Test for terminal response to escape sequence fails for some
            people. (toothpik)
Solution:   Run "cat" and let it echo the characters.

7 years agopatch 8.0.1644: terminal API tests still fail v8.0.1644
Bram Moolenaar [Sun, 25 Mar 2018 18:31:32 +0000 (20:31 +0200)]
patch 8.0.1644: terminal API tests still fail

Problem:    Terminal API tests still fail.
Solution:   Explicitly set 'title' in the terminal job. (Ozaki Kiichi,
            closes #2750)

7 years agopatch 8.0.1643: terminal API tests fail v8.0.1643
Bram Moolenaar [Sun, 25 Mar 2018 17:09:56 +0000 (19:09 +0200)]
patch 8.0.1643: terminal API tests fail

Problem:    Terminal API tests fail.
Solution:   Explicitly set 'title'.

7 years agopatch 8.0.1642: running Vim in terminal fails with two windows v8.0.1642
Bram Moolenaar [Sun, 25 Mar 2018 16:56:25 +0000 (18:56 +0200)]
patch 8.0.1642: running Vim in terminal fails with two windows

Problem:    Running Vim in terminal fails with two windows.
Solution:   Pass the number of rows to RunVimInTerminal().

7 years agopatch 8.0.1641: job in terminal can't communicate with Vim v8.0.1641
Bram Moolenaar [Sun, 25 Mar 2018 16:20:17 +0000 (18:20 +0200)]
patch 8.0.1641: job in terminal can't communicate with Vim

Problem:    Job in terminal can't communicate with Vim.
Solution:   Add the terminal API.

7 years agopatch 8.0.1640: Test_cwd() is flaky v8.0.1640
Bram Moolenaar [Sun, 25 Mar 2018 15:12:58 +0000 (17:12 +0200)]
patch 8.0.1640: Test_cwd() is flaky

Problem:    Test_cwd() is flaky.
Solution:   Add to list of flaky tests.

7 years agopatch 8.0.1639: libvterm code lags behind master v8.0.1639
Bram Moolenaar [Sun, 25 Mar 2018 14:20:37 +0000 (16:20 +0200)]
patch 8.0.1639: libvterm code lags behind master

Problem:    Libvterm code lags behind master.
Solution:   Sync to head, solve merge problems.

7 years agopatch 8.0.1638: popup test fails depending on environment variable v8.0.1638
Bram Moolenaar [Sat, 24 Mar 2018 16:56:13 +0000 (17:56 +0100)]
patch 8.0.1638: popup test fails depending on environment variable

Problem:    Popup test fails depending on environment variable.
Solution:   Reset $COLORFGBG when running Vim in a terminal. (closes #2693)

7 years agopatch 8.0.1637: no test for term_dumpdiff() options argument v8.0.1637
Bram Moolenaar [Sat, 24 Mar 2018 16:16:33 +0000 (17:16 +0100)]
patch 8.0.1637: no test for term_dumpdiff() options argument

Problem:    No test for term_dumpdiff() options argument.
Solution:   Add a test.

7 years agopatch 8.0.1636: no test for term_dumpload() and term_dumpdiff() v8.0.1636
Bram Moolenaar [Sat, 24 Mar 2018 13:30:32 +0000 (14:30 +0100)]
patch 8.0.1636: no test for term_dumpload() and term_dumpdiff()

Problem:    No test for term_dumpload() and term_dumpdiff().
Solution:   Add tests.

7 years agopatch 8.0.1635: undefining _POSIX_THREADS causes problems with Python 3 v8.0.1635
Bram Moolenaar [Sat, 24 Mar 2018 13:06:15 +0000 (14:06 +0100)]
patch 8.0.1635: undefining _POSIX_THREADS causes problems with Python 3

Problem:    Undefining _POSIX_THREADS causes problems with Python 3. (Micah
            Bucy, closes #2748)
Solution:   Remove the lines.

7 years agopatch 8.0.1634: the ex_vimgrep() function is too long v8.0.1634
Bram Moolenaar [Sat, 24 Mar 2018 13:01:56 +0000 (14:01 +0100)]
patch 8.0.1634: the ex_vimgrep() function is too long

Problem:    The ex_vimgrep() function is too long.
Solution:   Split it in smaller functions. (Yegappan Lakshmanan)

7 years agopatch 8.0.1633: a TextChanged autocmd triggers when it is defined v8.0.1633
Bram Moolenaar [Fri, 23 Mar 2018 21:39:31 +0000 (22:39 +0100)]
patch 8.0.1633: a TextChanged autocmd triggers when it is defined

Problem:    A TextChanged autocmd triggers when it is defined after creating a
            buffer.
Solution:   Set b_last_changedtick when opening a buffer. (Hirohito Highlight,
            closes #2742)