vim
7 years agopatch 8.0.1179: Test_popup_and_window_resize() does not always pass v8.0.1179
Bram Moolenaar [Sat, 7 Oct 2017 18:03:23 +0000 (20:03 +0200)]
patch 8.0.1179: Test_popup_and_window_resize() does not always pass

Problem:    Test_popup_and_window_resize() does not always pass.
Solution:   Do not use $VIMPROG, pass the Vim executable in the vimcmd file.
            (Ozaki Kiichi, closes #2186)

7 years agopatch 8.0.1178: using old compiler on MS-Windows v8.0.1178
Bram Moolenaar [Sat, 7 Oct 2017 16:38:43 +0000 (18:38 +0200)]
patch 8.0.1178: using old compiler on MS-Windows

Problem:    Using old compiler on MS-Windows.
Solution:   Switch default build on MS-Windows to use MSVC 2015. (Ken Takata)

7 years agopatch 8.0.1177: in a terminal window the popup menu is not cleared v8.0.1177
Bram Moolenaar [Sat, 7 Oct 2017 15:35:09 +0000 (17:35 +0200)]
patch 8.0.1177: in a terminal window the popup menu is not cleared

Problem:    In a terminal window the popup menu is not cleared. (Gerry
            Agbobada)
Solution:   Redraw when SOME_VALID is used instead of NOT_VALID. (closes
            #2194)

7 years agopatch 8.0.1176: job_start() does not handle quote and backslash correctly v8.0.1176
Bram Moolenaar [Thu, 5 Oct 2017 23:07:41 +0000 (01:07 +0200)]
patch 8.0.1176: job_start() does not handle quote and backslash correctly

Problem:    Job_start() does not handle quote and backslash correctly.
Solution:   Remove quotes, recognize and remove backslashes.

7 years agopatch 8.0.1175: build failure without +termresponse v8.0.1175
Bram Moolenaar [Wed, 4 Oct 2017 17:35:02 +0000 (19:35 +0200)]
patch 8.0.1175: build failure without +termresponse

Problem:    Build failure without +termresponse.
Solution:   Add #ifdef.

7 years agopatch 8.0.1174: Mac Terminal.app has wrong color for white v8.0.1174
Bram Moolenaar [Wed, 4 Oct 2017 16:04:16 +0000 (18:04 +0200)]
patch 8.0.1174: Mac Terminal.app has wrong color for white

Problem:    Mac Terminal.app has wrong color for white.
Solution:   Use white from the color cube.

7 years agopatch 8.0.1173: terminal window is not redrawn after CTRL-L v8.0.1173
Bram Moolenaar [Mon, 2 Oct 2017 19:54:59 +0000 (21:54 +0200)]
patch 8.0.1173: terminal window is not redrawn after CTRL-L

Problem:    Terminal window is not redrawn after CTRL-L. (Marcin Szamotulski)
Solution:   Redraw the whole terminal when w_redr_type is NOT_VALID.

7 years agopatch 8.0.1172: when E734 is given option is still set v8.0.1172
Bram Moolenaar [Mon, 2 Oct 2017 17:29:48 +0000 (19:29 +0200)]
patch 8.0.1172: when E734 is given option is still set

Problem:    When E734 is given option is still set.
Solution:   Assign NULL to "s". (Christian Brabandt)

7 years agopatch 8.0.1171: popup test is still a bit flaky v8.0.1171
Bram Moolenaar [Sun, 1 Oct 2017 14:59:18 +0000 (16:59 +0200)]
patch 8.0.1171: popup test is still a bit flaky

Problem:    Popup test is still a bit flaky.
Solution:   Change term_wait() calls. (Ozaki Kiichi)

7 years agopatch 8.0.1170: using termdebug results in 100% CPU time v8.0.1170
Bram Moolenaar [Sun, 1 Oct 2017 14:21:31 +0000 (16:21 +0200)]
patch 8.0.1170: using termdebug results in 100% CPU time

Problem:    Using termdebug results in 100% CPU time. (tomleb)
Solution:   Use polling instead of select().

7 years agopatch 8.0.1169: highlignting one char too many with 'list' and 'cul' v8.0.1169
Bram Moolenaar [Sun, 1 Oct 2017 12:35:02 +0000 (14:35 +0200)]
patch 8.0.1169: highlignting one char too many with 'list' and 'cul'

Problem:    Highlignting one char too many with 'list' and 'cul'.
Solution:   Check for 'list' being active. (Ozaki Kiichi, closes #2177)

7 years agopatch 8.0.1168: wrong highlighting with combination of match and 'cursorline' v8.0.1168
Bram Moolenaar [Sat, 30 Sep 2017 19:23:55 +0000 (21:23 +0200)]
patch 8.0.1168: wrong highlighting with combination of match and 'cursorline'

Problem:    wrong highlighting with combination of match and 'cursorline'.
Solution:   Use "line_attr" when appropriate. (Ozaki Kiichi, closes #2111)
            But don't highlight more than one character.

7 years agopatch 8.0.1167: Motif: typing in terminal window is slow v8.0.1167
Bram Moolenaar [Sat, 30 Sep 2017 18:40:27 +0000 (20:40 +0200)]
patch 8.0.1167: Motif: typing in terminal window is slow

Problem:    Motif: typing in terminal window is slow.
Solution:   Do not redraw the whole terminal window but only was was changed.

7 years agopatch 8.0.1166: :terminal doesn't work on Mac High Sierra v8.0.1166
Bram Moolenaar [Sat, 30 Sep 2017 18:04:36 +0000 (20:04 +0200)]
patch 8.0.1166: :terminal doesn't work on Mac High Sierra

Problem:    :terminal doesn't work on Mac High Sierra.
Solution:   Change #ifdef for OpenPTY(). (Ozaki Kiichi, Kazunobu Kuriyama,
            closes #2162)

7 years agopatch 8.0.1165: popup test is still flaky v8.0.1165
Bram Moolenaar [Sat, 30 Sep 2017 14:49:19 +0000 (16:49 +0200)]
patch 8.0.1165: popup test is still flaky

Problem:    Popup test is still flaky.
Solution:   Add a term_wait() call. (Ozaki Kiichi)

7 years agopatch 8.0.1164: changing StatusLine highlight does not always work v8.0.1164
Bram Moolenaar [Sat, 30 Sep 2017 14:00:14 +0000 (16:00 +0200)]
patch 8.0.1164: changing StatusLine highlight does not always work

Problem:    Changing StatusLine highlight while evaluating 'statusline' may
            not change the status line color.
Solution:   When changing highlighting while redrawing don't cause another
            redraw. (suggested by Ozaki Kiichi, closes #2171, closes #2120)

7 years agopatch 8.0.1163: popup test is flaky v8.0.1163
Bram Moolenaar [Sat, 30 Sep 2017 12:39:27 +0000 (14:39 +0200)]
patch 8.0.1163: popup test is flaky

Problem:    Popup test is flaky.
Solution:   Add a WaitFor() and fix another.

7 years agopatch 8.0.1162: shared script for tests cannot be included twice v8.0.1162
Bram Moolenaar [Sat, 30 Sep 2017 12:26:58 +0000 (14:26 +0200)]
patch 8.0.1162: shared script for tests cannot be included twice

Problem:    Shared script for tests cannot be included twice.
Solution:   Include it where needed, it will "finish" if loaded again.

7 years agopatch 8.0.1161: popup menu drawing problem when resizing terminal v8.0.1161
Bram Moolenaar [Fri, 29 Sep 2017 20:42:33 +0000 (22:42 +0200)]
patch 8.0.1161: popup menu drawing problem when resizing terminal

Problem:    Popup menu drawing problem when resizing terminal.
Solution:   Redraw after resizing also when a popup menu is visible. (Ozaki
            Kiichi, closes #2110)

7 years agopatch 8.0.1160: getting tab-local variable fails after closing window v8.0.1160
Bram Moolenaar [Fri, 29 Sep 2017 19:29:18 +0000 (21:29 +0200)]
patch 8.0.1160: getting tab-local variable fails after closing window

Problem:    Getting tab-local variable fails after closing window.
Solution:   set tp_firstwin and tp_lastwin. (Jason Franklin, closes #2170)

7 years agopatch 8.0.1159: typo in #ifdef v8.0.1159
Bram Moolenaar [Thu, 28 Sep 2017 20:35:25 +0000 (22:35 +0200)]
patch 8.0.1159: typo in #ifdef

Problem:    Typo in #ifdef.
Solution:   Change "PROT" to "PROTO". (Nobuhiro Takasaki, closes #2165)

7 years agopatch 8.0.1158: still old style tests v8.0.1158
Bram Moolenaar [Thu, 28 Sep 2017 19:52:17 +0000 (21:52 +0200)]
patch 8.0.1158: still old style tests

Problem:    Still old style tests.
Solution:   Convert serveral tests to new style. (Yegappan Lakshmanan)

7 years agoUpdate runtime files
Bram Moolenaar [Wed, 27 Sep 2017 20:23:55 +0000 (22:23 +0200)]
Update runtime files

7 years agopatch 8.0.1157: compiler warning on MS-Windows v8.0.1157
Bram Moolenaar [Wed, 27 Sep 2017 19:46:19 +0000 (21:46 +0200)]
patch 8.0.1157: compiler warning on MS-Windows

Problem:    Compiler warning on MS-Windows.
Solution:   Add type cast. (Yasuhiro Matsomoto)

7 years agopatch 8.0.1156: trouble from removing one -W argument from Perl CFLAGS v8.0.1156
Bram Moolenaar [Wed, 27 Sep 2017 19:42:08 +0000 (21:42 +0200)]
patch 8.0.1156: trouble from removing one -W argument from Perl CFLAGS

Problem:    Removing one -W argument from Perl CFLAGS may cause trouble.
Solution:   Remove all -W flags. (Christian Brabandt)

7 years agopatch 8.0.1155: Ruby command triggers a warning v8.0.1155
Bram Moolenaar [Tue, 26 Sep 2017 19:21:44 +0000 (21:21 +0200)]
patch 8.0.1155: Ruby command triggers a warning

Problem:    Ruby command triggers a warning when RUBYOPT is set to "-w".
Solution:   use "-e_=0" instead of "-e0". (Masataka Pocke Kuwabara, closes
            #2143)

7 years agopatch 8.0.1154: 'indentkeys' does not work properly v8.0.1154
Bram Moolenaar [Tue, 26 Sep 2017 18:04:54 +0000 (20:04 +0200)]
patch 8.0.1154: 'indentkeys' does not work properly

Problem:    'indentkeys' does not work properly. (Gary Johnson)
Solution:   Get the cursor line again. (Christian Brabandt, closes #2151)

7 years agopatch 8.0.1153: no tests for diff_hlID() and diff_filler() v8.0.1153
Bram Moolenaar [Tue, 26 Sep 2017 17:41:46 +0000 (19:41 +0200)]
patch 8.0.1153: no tests for diff_hlID() and diff_filler()

Problem:    No tests for diff_hlID() and diff_filler().
Solution:   Add tests. (Dominique Pelle, closes #2156)

7 years agopatch 8.0.1152: encoding of error message wrong in Cygwin terminal v8.0.1152
Bram Moolenaar [Tue, 26 Sep 2017 17:10:37 +0000 (19:10 +0200)]
patch 8.0.1152: encoding of error message wrong in Cygwin terminal

Problem:    Encoding of error message wrong in Cygwin terminal.
Solution:   Get locale from environment variables. (Ken Takata)

7 years agopatch 8.0.1151: "vim -c startinsert!" doesn't append v8.0.1151
Bram Moolenaar [Tue, 26 Sep 2017 15:40:45 +0000 (17:40 +0200)]
patch 8.0.1151: "vim -c startinsert!" doesn't append

Problem:    "vim -c startinsert!" doesn't append.
Solution:   Correct line number on startup. (Christian Brabandt, closes #2117)

7 years agopatch 8.0.1150: MS-Windows GUI: dialog font size is incorrect v8.0.1150
Bram Moolenaar [Tue, 26 Sep 2017 12:46:04 +0000 (14:46 +0200)]
patch 8.0.1150: MS-Windows GUI: dialog font size is incorrect

Problem:    MS-Windows GUI: dialog font size is incorrect.
Solution:   Pass flag to indicate 'encoding' or active codepage. (Yasuhiro
            Matsomoto, closes #2160)

7 years agopatch 8.0.1149: libvterm colors differ from xterm v8.0.1149
Bram Moolenaar [Tue, 26 Sep 2017 11:59:47 +0000 (13:59 +0200)]
patch 8.0.1149: libvterm colors differ from xterm

Problem:    libvterm colors differ from xterm.
Solution:   Use the xterm colors for libvterm.

7 years agopatch 8.0.1148: gN doesn't work on last match with 'wrapscan' off v8.0.1148
Bram Moolenaar [Tue, 26 Sep 2017 10:28:45 +0000 (12:28 +0200)]
patch 8.0.1148: gN doesn't work on last match with 'wrapscan' off

Problem:    "gN" doesn't work on last match with 'wrapscan' off. (fcpg)
Solution:   Adjust for searching backward. (Christian Brabandt)

7 years agopatch 8.0.1147: fail to build with tiny features v8.0.1147
Bram Moolenaar [Tue, 26 Sep 2017 09:15:53 +0000 (11:15 +0200)]
patch 8.0.1147: fail to build with tiny features

Problem:    Fail to build with tiny features. (Tony Mechelynck)
Solution:   Move #ifdefs.

7 years agopatch 8.0.1146: redraw when highlight is set with same names v8.0.1146
Bram Moolenaar [Mon, 25 Sep 2017 20:57:27 +0000 (22:57 +0200)]
patch 8.0.1146: redraw when highlight is set with same names

Problem:    Redraw when highlight is set with same names. (Ozaki Kiichi)
Solution:   Only free and save a name when it changed. (closes #2120)

7 years agopatch 8.0.1145: warning when compiling with Perl v8.0.1145
Bram Moolenaar [Mon, 25 Sep 2017 20:02:32 +0000 (22:02 +0200)]
patch 8.0.1145: warning when compiling with Perl

Problem:    Warning when compiling with Perl.
Solution:   Remove unused variable. (Ken Takata0

7 years agopatch 8.0.1144: using wrong #ifdef for computing length v8.0.1144
Bram Moolenaar [Sun, 24 Sep 2017 17:39:09 +0000 (19:39 +0200)]
patch 8.0.1144: using wrong #ifdef for computing length

Problem:    Using wrong #ifdef for computing length.
Solution:   use BACKSLASH_IN_FILENAME instead of COLON_IN_FILENAME. (Yasuhiro
            Matsomoto, closes #2153)

7 years agopatch 8.0.1143: macros always expand to the same thing v8.0.1143
Bram Moolenaar [Sun, 24 Sep 2017 14:24:34 +0000 (16:24 +0200)]
patch 8.0.1143: macros always expand to the same thing

Problem:    Macros always expand to the same thing.
Solution:   Remove W_VSEP_WIDTH() and W_STATUS_HEIGHT().

7 years agopatch 8.0.1142: window toolbar menu gets a tear-off item v8.0.1142
Bram Moolenaar [Sat, 23 Sep 2017 21:58:28 +0000 (23:58 +0200)]
patch 8.0.1142: window toolbar menu gets a tear-off item

Problem:    Window toolbar menu gets a tear-off item.
Solution:   Recognize the window toolbar.

7 years agopatch 8.0.1141: MS-Windows build dependencies are incomplete v8.0.1141
Bram Moolenaar [Sat, 23 Sep 2017 17:48:29 +0000 (19:48 +0200)]
patch 8.0.1141: MS-Windows build dependencies are incomplete

Problem:    MS-Windows build dependencies are incomplete.
Solution:   Fix the dependencies. (Ken Takata)

7 years agopatch 8.0.1140: still old style tests v8.0.1140
Bram Moolenaar [Sat, 23 Sep 2017 17:24:46 +0000 (19:24 +0200)]
patch 8.0.1140: still old style tests

Problem:    Still old style tests.
Solution:   Convert two tests to new style. (Yegappan Lakshmanan)

7 years agopatch 8.0.1139: using window toolbar changes state v8.0.1139
Bram Moolenaar [Sat, 23 Sep 2017 14:33:50 +0000 (16:33 +0200)]
patch 8.0.1139: using window toolbar changes state

Problem:    Using window toolbar changes state.
Solution:   Always execute window toolbar actions in Normal mode.

7 years agopatch 8.0.1138: click in window toolbar starts Visual mode v8.0.1138
Bram Moolenaar [Sat, 23 Sep 2017 13:08:17 +0000 (15:08 +0200)]
patch 8.0.1138: click in window toolbar starts Visual mode

Problem:    Click in window toolbar starts Visual mode.
Solution:   Add the MOUSE_WINBAR flag.

7 years agopatch 8.0.1137: cannot build with Ruby v8.0.1137
Bram Moolenaar [Fri, 22 Sep 2017 14:56:22 +0000 (16:56 +0200)]
patch 8.0.1137: cannot build with Ruby

Problem:    Cannot build with Ruby.
Solution:   Fix misplaced brace.

7 years agopatch 8.0.1136: W_WIDTH() is always the same v8.0.1136
Bram Moolenaar [Fri, 22 Sep 2017 13:20:32 +0000 (15:20 +0200)]
patch 8.0.1136: W_WIDTH() is always the same

Problem:    W_WIDTH() is always the same.
Solution:   Expand the macro.

7 years agopatch 8.0.1135: W_WINCOL() is always the same v8.0.1135
Bram Moolenaar [Fri, 22 Sep 2017 12:35:51 +0000 (14:35 +0200)]
patch 8.0.1135: W_WINCOL() is always the same

Problem:    W_WINCOL() is always the same.
Solution:   Expand the macro.

7 years agopatch 8.0.1134: superfluous call to syn_get_final_id() v8.0.1134
Bram Moolenaar [Fri, 22 Sep 2017 11:53:37 +0000 (13:53 +0200)]
patch 8.0.1134: superfluous call to syn_get_final_id()

Problem:    Superfluous call to syn_get_final_id().
Solution:   Remove it. (Ken Takata)

7 years agopatch 8.0.1133: syntax timeout not used correctly v8.0.1133
Bram Moolenaar [Fri, 22 Sep 2017 11:44:56 +0000 (13:44 +0200)]
patch 8.0.1133: syntax timeout not used correctly

Problem:    Syntax timeout not used correctly.
Solution:   Do not pass the timeout to syntax_start() but set it explicitly.
            (Yasuhiro Matsumoto, closes #2139)

7 years agoMissing part of 8.0.1131.
Bram Moolenaar [Fri, 22 Sep 2017 09:13:52 +0000 (11:13 +0200)]
Missing part of 8.0.1131.

7 years agopatch 8.0.1132: #if condition is not portable v8.0.1132
Bram Moolenaar [Thu, 21 Sep 2017 20:46:47 +0000 (22:46 +0200)]
patch 8.0.1132: #if condition is not portable

Problem:    #if condition is not portable.
Solution:   Add defined(). (Zuloloxi, closes #2136)

7 years agopatch 8.0.1131: not easy to trigger an autocommand for new terminal window v8.0.1131
Bram Moolenaar [Thu, 21 Sep 2017 20:16:21 +0000 (22:16 +0200)]
patch 8.0.1131: not easy to trigger an autocommand for new terminal window

Problem:    It is not easy to trigger an autocommand for new terminal window.
            (Marco Restelli)
Solution:   Trigger BufWinEnter after setting 'buftype'.

7 years agopatch 8.0.1130: the qf_jump() function is still too long v8.0.1130
Bram Moolenaar [Wed, 20 Sep 2017 20:43:02 +0000 (22:43 +0200)]
patch 8.0.1130: the qf_jump() function is still too long

Problem:    The qf_jump() function is still too long.
Solution:   Split of parts to separate functions. (Yegappan Lakshmanan)

7 years agoAdd back terminal.c
Bram Moolenaar [Wed, 20 Sep 2017 08:03:07 +0000 (10:03 +0200)]
Add back terminal.c

7 years agopatch 8.0.1129: window toolbar missing a part of the patch v8.0.1129
Bram Moolenaar [Tue, 19 Sep 2017 20:08:04 +0000 (22:08 +0200)]
patch 8.0.1129: window toolbar missing a part of the patch

Problem:    Window toolbar missing a part of the patch.
Solution:   Add change in vim.h.

7 years agoUpdate runtime files.
Bram Moolenaar [Tue, 19 Sep 2017 20:06:03 +0000 (22:06 +0200)]
Update runtime files.

7 years agopatch 8.0.1128: old xterm sends CTRL-X in response to t_RS v8.0.1128
Bram Moolenaar [Tue, 19 Sep 2017 18:47:16 +0000 (20:47 +0200)]
patch 8.0.1128: old xterm sends CTRL-X in response to t_RS

Problem:    Old xterm sends CTRL-X in response to t_RS.
Solution:   Only send t_RS for xterm 279 and later.  Remove the workaround to
            ignore CTRL-X.

7 years agopatch 8.0.1127: Test_peek_and_get_char fails on 32 bit system v8.0.1127
Bram Moolenaar [Mon, 18 Sep 2017 19:50:47 +0000 (21:50 +0200)]
patch 8.0.1127: Test_peek_and_get_char fails on 32 bit system

Problem:    Test_peek_and_get_char fails on 32 bit system. (Eliminate
            Riesebieter)
Solution:   Avoid an integer overflow. (James McCoy, closes #2116)

7 years agopatch 8.0.1126: endless resize when terminal showing in two buffers v8.0.1126
Bram Moolenaar [Mon, 18 Sep 2017 19:24:56 +0000 (21:24 +0200)]
patch 8.0.1126: endless resize when terminal showing in two buffers

Problem:    Endless resize when terminal showing in two buffers. (Hirohito
            Higashi)
Solution:   Set a flag to prevent resizing the window.

7 years agopatch 8.0.1125: wrong window height when splitting window with window toolbar v8.0.1125
Bram Moolenaar [Mon, 18 Sep 2017 18:31:41 +0000 (20:31 +0200)]
patch 8.0.1125: wrong window height when splitting window with window toolbar

Problem:    Wrong window height when splitting window with window toolbar.
Solution:   Add or subtract the window toolbar height.

7 years agopatch 8.0.1124: use of MZSCHEME_VER is unclear v8.0.1124
Bram Moolenaar [Mon, 18 Sep 2017 18:01:02 +0000 (20:01 +0200)]
patch 8.0.1124: use of MZSCHEME_VER is unclear

Problem:    Use of MZSCHEME_VER is unclear.
Solution:   Add a comment. (Ken Takata)

7 years agopatch 8.0.1123: cannot define a toolbar for a window v8.0.1123
Bram Moolenaar [Sun, 17 Sep 2017 21:03:31 +0000 (23:03 +0200)]
patch 8.0.1123: cannot define a toolbar for a window

Problem:    Cannot define a toolbar for a window.
Solution:   Add a window-local toolbar.

7 years agopatch 8.0.1122: vimtutor.bat doesn't work well with vim.bat v8.0.1122
Bram Moolenaar [Sun, 17 Sep 2017 19:43:00 +0000 (21:43 +0200)]
patch 8.0.1122: vimtutor.bat doesn't work well with vim.bat

Problem:    vimtutor.bat doesn't work well with vim.bat.
Solution:   Use "call vim". (Ken Takata, closes #2105)

7 years agopatch 8.0.1121: can uncheck executables in MS-Windows installer v8.0.1121
Bram Moolenaar [Sun, 17 Sep 2017 19:00:03 +0000 (21:00 +0200)]
patch 8.0.1121: can uncheck executables in MS-Windows installer

Problem:    Can uncheck executables in MS-Windows installer.
Solution:   Make the choice read-only. (Ken Takata, closes #2106)

7 years agopatch 8.0.1120: :tm means :tmap instead of :tmenu v8.0.1120
Bram Moolenaar [Sun, 17 Sep 2017 18:32:20 +0000 (20:32 +0200)]
patch 8.0.1120: :tm means :tmap instead of :tmenu

Problem:    :tm means :tmap instead of :tmenu. (Taro Muraoka)
Solution:   Move the new entry below the old entry. (closes #2102)

7 years agopatch 8.0.1119: quitting a split terminal window kills the job v8.0.1119
Bram Moolenaar [Sun, 17 Sep 2017 17:08:02 +0000 (19:08 +0200)]
patch 8.0.1119: quitting a split terminal window kills the job

Problem:    Quitting a split terminal window kills the job. (Yasuhiro
            Matsumoto)
Solution:   Only stop terminal job if it is the last window.

7 years agopatch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefs v8.0.1118
Bram Moolenaar [Sat, 16 Sep 2017 18:54:51 +0000 (20:54 +0200)]
patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefs

Problem:    FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always
            enabled and only adds 7% to the binary size of the tiny build.
Solution:   Graduate FEAT_WINDOWS.

7 years agopatch 8.0.1117: Test_terminal_no_cmd hangs on MS-Windows with GUI v8.0.1117
Bram Moolenaar [Sat, 16 Sep 2017 15:42:41 +0000 (17:42 +0200)]
patch 8.0.1117: Test_terminal_no_cmd hangs on MS-Windows with GUI

Problem:    Test_terminal_no_cmd hangs on MS-Windows with GUI. (Christian
            Brabandt)
Solution:   Run the command with "start" and wait for the text to appear.
            (micbou, closes #2096)

7 years agopatch 8.0.1116: terminal test fails on MS-Windows v8.0.1116
Bram Moolenaar [Sat, 16 Sep 2017 15:35:13 +0000 (17:35 +0200)]
patch 8.0.1116: terminal test fails on MS-Windows

Problem:    Terminal test fails on MS-Windows.
Solution:   Wait for the text to appear. (micbou, closes #2097)

7 years agopatch 8.0.1115: crash when using foldtextresult() recursively v8.0.1115
Bram Moolenaar [Sat, 16 Sep 2017 15:19:22 +0000 (17:19 +0200)]
patch 8.0.1115: crash when using foldtextresult() recursively

Problem:    Crash when using foldtextresult() recursively.
Solution:   Avoid recursive calls. (Yasuhiro Matsumoto, closes #2098)

7 years agopatch 8.0.1114: default for 'iminsert' is annoying v8.0.1114
Bram Moolenaar [Sat, 16 Sep 2017 13:50:32 +0000 (15:50 +0200)]
patch 8.0.1114: default for 'iminsert' is annoying

Problem:    Default for 'iminsert' is annoying.
Solution:   Make the default always zero. (Yasuhiro Matsumoto, closes #2071)

7 years agopatch 8.0.1113: can go to Insert mode from Terminal-Normal mode v8.0.1113
Bram Moolenaar [Sat, 16 Sep 2017 13:38:04 +0000 (15:38 +0200)]
patch 8.0.1113: can go to Insert mode from Terminal-Normal mode

Problem:    Can go to Insert mode from Terminal-Normal mode.
Solution:   Prevent :startinsert and "VA" to enter Insert mode. (Yasuhiro
            Matsumoto, closes #2092)

7 years agopatch 8.0.1112: can't get size or current index from quickfix list v8.0.1112
Bram Moolenaar [Fri, 15 Sep 2017 20:43:07 +0000 (22:43 +0200)]
patch 8.0.1112: can't get size or current index from quickfix list

Problem:    Can't get size or current index from quickfix list.
Solution:   Add "idx" and "size" options. (Yegappan Lakshmanan)

7 years agopatch 8.0.1111: syntax error in configure when using Perl v8.0.1111
Bram Moolenaar [Fri, 15 Sep 2017 10:40:53 +0000 (12:40 +0200)]
patch 8.0.1111: syntax error in configure when using Perl

Problem:    Syntax error in configure when using Perl.
Solution:   Add missing quote

7 years agopatch 8.0.1110: FORTIFY_SOURCE from Perl causes problems v8.0.1110
Bram Moolenaar [Thu, 14 Sep 2017 21:06:23 +0000 (23:06 +0200)]
patch 8.0.1110: FORTIFY_SOURCE from Perl causes problems

Problem:    FORTIFY_SOURCE from Perl causes problems. (Scott Baker)
Solution:   Filter out the flag. (Christian Brabandt, closes #2068)

7 years agopatch 8.0.1109: timer causes error on exit from Ex mode v8.0.1109
Bram Moolenaar [Thu, 14 Sep 2017 20:55:37 +0000 (22:55 +0200)]
patch 8.0.1109: timer causes error on exit from Ex mode

Problem:    Timer causes error on exit from Ex mode. (xtal8)
Solution:   save and restore the ex_pressedreturn flag. (Christian Brabandt,
            closes #2079)

7 years agopatch 8.0.1108: cannot specify mappings for the terminal window v8.0.1108
Bram Moolenaar [Thu, 14 Sep 2017 18:37:57 +0000 (20:37 +0200)]
patch 8.0.1108: cannot specify mappings for the terminal window

Problem:    Cannot specify mappings for the terminal window.
Solution:   Add the :tmap command and associated code.  (Jacob Askeland,
            closes #2073)

7 years agopatch 8.0.1107: terminal debugger jumps to non-existing file v8.0.1107
Bram Moolenaar [Thu, 14 Sep 2017 14:10:38 +0000 (16:10 +0200)]
patch 8.0.1107: terminal debugger jumps to non-existing file

Problem:    Terminal debugger jumps to non-existing file.
Solution:   Check that the file exists.  Add an option to make the Vim wide
            wide. Fix removing highlight groups.

7 years agopatch 8.0.1106: terminal colors wrong on an MS-Windows console v8.0.1106
Bram Moolenaar [Thu, 14 Sep 2017 13:55:13 +0000 (15:55 +0200)]
patch 8.0.1106: terminal colors wrong on an MS-Windows console

Problem:    Terminal colors on an MS-Windows console are not matching the
            normal colors.
Solution:   Use the normal colors for the terminal. (Yasuhiro Matsumoto,
            closes #2087)

7 years agopatch 8.0.1105: match() and matchend() are not tested v8.0.1105
Bram Moolenaar [Thu, 14 Sep 2017 12:31:18 +0000 (14:31 +0200)]
patch 8.0.1105: match() and matchend() are not tested

Problem:    match() and matchend() are not tested.
Solution:   Add tests. (Ozaki Kiichi, closes #2088)

7 years agopatch 8.0.1104: the qf_jump() function is too long v8.0.1104
Bram Moolenaar [Thu, 14 Sep 2017 11:57:37 +0000 (13:57 +0200)]
patch 8.0.1104: the qf_jump() function is too long

Problem:    The qf_jump() function is too long.
Solution:   Split of parts to separate functions. (Yegappan Lakshmanan)

7 years agopatch 8.0.1103: converting cterm color fails for grey ramp v8.0.1103
Bram Moolenaar [Thu, 14 Sep 2017 11:37:00 +0000 (13:37 +0200)]
patch 8.0.1103: converting cterm color fails for grey ramp

Problem:    Converting cterm color fails for grey ramp.
Solution:   Use index instead of number.

7 years agopatch 8.0.1102: terminal window does not use Normal colors v8.0.1102
Bram Moolenaar [Wed, 13 Sep 2017 22:00:44 +0000 (00:00 +0200)]
patch 8.0.1102: terminal window does not use Normal colors

Problem:    Terminal window does not use Normal colors.
Solution:   For the GUI and when 'termguicolors' is enabled, use the actual
            foreground and background colors for the terminal.  (Yasuhiro
            Matsumoto, closes #2067)
            Use the "Terminal" highlight group if defined.

7 years agopatch 8.0.1101: channel write fails if writing to log fails v8.0.1101
Bram Moolenaar [Wed, 13 Sep 2017 20:18:01 +0000 (22:18 +0200)]
patch 8.0.1101: channel write fails if writing to log fails

Problem:    Channel write fails if writing to log fails.
Solution:   Ignore return value of fwrite(). (Ozaki Kiichi, closes #2081)

7 years agopatch 8.0.1100: stuck in redraw loop when 'lazyredraw' is set v8.0.1100
Bram Moolenaar [Wed, 13 Sep 2017 20:11:35 +0000 (22:11 +0200)]
patch 8.0.1100: stuck in redraw loop when 'lazyredraw' is set

Problem:    Stuck in redraw loop when 'lazyredraw' is set.
Solution:   Don't loop on update_screen() when not redrawing. (Yasuhiro
            Matsumoto, closes #2082)

7 years agopatch 8.0.1099: warnings for GDK calls v8.0.1099
Bram Moolenaar [Wed, 13 Sep 2017 20:09:58 +0000 (22:09 +0200)]
patch 8.0.1099: warnings for GDK calls

Problem:    Warnings for GDK calls.
Solution:   Use other calls for GTK 3 and fix a few problems. (Kazunobu
            Kuriyama)

7 years agopatch 8.0.1098: build failure if libvterm installed v8.0.1098
Bram Moolenaar [Tue, 12 Sep 2017 20:59:58 +0000 (22:59 +0200)]
patch 8.0.1098: build failure if libvterm installed

Problem:    Build failure if libvterm installed on the system. (Oleh
            Hushchenkov)
Solution:   Change the CCCTERM argument order. (Ken Takata, closes #2080)

7 years agopatch 8.0.1097: background color wrong if job changes background color v8.0.1097
Bram Moolenaar [Mon, 11 Sep 2017 21:05:44 +0000 (23:05 +0200)]
patch 8.0.1097: background color wrong if job changes background color

Problem:    Background color wrong if job changes background color.
Solution:   Get the background color from vterm.

7 years agopatch 8.0.1096: terminal window in Normal mode has wrong background v8.0.1096
Bram Moolenaar [Mon, 11 Sep 2017 20:00:51 +0000 (22:00 +0200)]
patch 8.0.1096: terminal window in Normal mode has wrong background

Problem:    Terminal window in Normal mode has wrong background.
Solution:   Store the default background and use it for clearning until the
            end of the line.  Not for below the last line, since there is no
            text there.

7 years agopatch 8.0.1095: terminal multibyte escrape test is flaky v8.0.1095
Bram Moolenaar [Mon, 11 Sep 2017 18:45:23 +0000 (20:45 +0200)]
patch 8.0.1095: terminal multibyte escrape test is flaky

Problem:    Terminal multibyte escrape test is flaky.
Solution:   Add another condition to wait for.

7 years agopatch 8.0.1094: using ssh from Terminal.app runs into xterm incompatibility v8.0.1094
Bram Moolenaar [Mon, 11 Sep 2017 18:34:13 +0000 (20:34 +0200)]
patch 8.0.1094: using ssh from Terminal.app runs into xterm incompatibility

Problem:    Using ssh from Terminal.app runs into xterm incompatibility.
Solution:   Also detect Terminal.app on non-Mac systems.

7 years agopatch 8.0.1093: various small quickfix issues v8.0.1093
Bram Moolenaar [Mon, 11 Sep 2017 17:31:28 +0000 (19:31 +0200)]
patch 8.0.1093: various small quickfix issues

Problem:    Various small quickfix issues.
Solution:   Remove ":" prefix from title set by a user. Add the qf_id2nr().
            function. Add a couple more tests.  Update documentation.
            (Yegappan Lakshmanan)

7 years agopatch 8.0.1092: terminal debugger can't evaluate expressions v8.0.1092
Bram Moolenaar [Sun, 10 Sep 2017 17:14:31 +0000 (19:14 +0200)]
patch 8.0.1092: terminal debugger can't evaluate expressions

Problem:    Terminal debugger can't evaluate expressions.
Solution:   Add :Evaluate and K.  Various other improvements.

7 years agopatch 8.0.1091: test for <cexpr> fails without +balloon_eval feature v8.0.1091
Bram Moolenaar [Sun, 10 Sep 2017 16:44:29 +0000 (18:44 +0200)]
patch 8.0.1091: test for <cexpr> fails without +balloon_eval feature

Problem:    Test for <cexpr> fails without +balloon_eval feature.
Solution:   Remove #ifdefs.

7 years agopatch 8.0.1090: cannot get the text under the cursor like v:beval_text v8.0.1090
Bram Moolenaar [Sun, 10 Sep 2017 16:16:20 +0000 (18:16 +0200)]
patch 8.0.1090: cannot get the text under the cursor like v:beval_text

Problem:    cannot get the text under the cursor like v:beval_text
Solution:   Add <cexpr>.

7 years agopatch 8.0.1089: cannot get range count in user command v8.0.1089
Bram Moolenaar [Sun, 10 Sep 2017 15:34:35 +0000 (17:34 +0200)]
patch 8.0.1089: cannot get range count in user command

Problem:    Cannot get range count in user command.
Solution:   Add <range> argument.

7 years agopatch 8.0.1088: occasional memory use after free v8.0.1088
Bram Moolenaar [Sun, 10 Sep 2017 13:21:55 +0000 (15:21 +0200)]
patch 8.0.1088: occasional memory use after free

Problem:    Occasional memory use after free.
Solution:   Use the highlight table directly, don't keep a pointer.

7 years agopatch 8.0.1087: Test_terminal_cwd is flaky v8.0.1087
Bram Moolenaar [Sun, 10 Sep 2017 12:25:49 +0000 (14:25 +0200)]
patch 8.0.1087: Test_terminal_cwd is flaky

Problem:    Test_terminal_cwd is flaky. MS-Windows: term_start() "cwd"
            argument does not work.
Solution:   Wait for the condition to be true instead of using a sleep.
            Pass the directory to winpty.

7 years agopatch 8.0.1086: can't build with GTK 3 v8.0.1086
Bram Moolenaar [Sat, 9 Sep 2017 21:00:56 +0000 (23:00 +0200)]
patch 8.0.1086: can't build with GTK 3

Problem:    Can't build with GTK 3.
Solution:   Rename function argument. (Kazunobu Kuriyama)

7 years agopatch 8.0.1085: terminal debugger can't set breakpoints v8.0.1085
Bram Moolenaar [Sat, 9 Sep 2017 20:19:47 +0000 (22:19 +0200)]
patch 8.0.1085: terminal debugger can't set breakpoints

Problem:    The terminal debugger can't set breakpoints.
Solution:   Add :Break and :Delete commands.  Also commands for stepping
            through code.

7 years agopatch 8.0.1084: GTK build has compiler warnings v8.0.1084
Bram Moolenaar [Sat, 9 Sep 2017 16:45:26 +0000 (18:45 +0200)]
patch 8.0.1084: GTK build has compiler warnings

Problem:    GTK build has compiler warnings. (Christian Brabandt)
Solution:   Get screen size with a different function. (Ken Takata, Yasuhiro
            Matsumoto)