Bram Moolenaar
e738a1a033
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 )
2017-09-16 17:42:41 +02:00
Bram Moolenaar
1514e8f427
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 )
2017-09-16 17:35:13 +02:00
Bram Moolenaar
495b7dd213
patch 8.0.1115: crash when using foldtextresult() recursively
...
Problem: Crash when using foldtextresult() recursively.
Solution: Avoid recursive calls. (Yasuhiro Matsumoto, closes #2098 )
2017-09-16 17:19:22 +02:00
Bram Moolenaar
4cf56bbc85
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 )
2017-09-16 15:50:32 +02:00
Bram Moolenaar
eef9adddab
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 )
2017-09-16 15:38:04 +02:00
Bram Moolenaar
fc2b270cfd
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)
2017-09-15 22:43:07 +02:00
Bram Moolenaar
b5e79ef5a9
patch 8.0.1111: syntax error in configure when using Perl
...
Problem: Syntax error in configure when using Perl.
Solution: Add missing quote
2017-09-15 12:40:53 +02:00
Bram Moolenaar
e8ff56b28e
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 )
2017-09-14 23:06:23 +02:00
Bram Moolenaar
f5291f301e
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 )
2017-09-14 22:55:37 +02:00
Bram Moolenaar
69fbc9e1da
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 )
2017-09-14 20:37:57 +02:00
Bram Moolenaar
38baa3e634
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.
2017-09-14 16:10:38 +02:00
Bram Moolenaar
69e8aa7511
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 )
2017-09-14 15:55:13 +02:00
Bram Moolenaar
1190cf68e2
patch 8.0.1105: match() and matchend() are not tested
...
Problem: match() and matchend() are not tested.
Solution: Add tests. (Ozaki Kiichi, closes #2088 )
2017-09-14 14:31:18 +02:00
Bram Moolenaar
ef6b8de42f
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)
2017-09-14 13:57:37 +02:00
Bram Moolenaar
478e3a78c3
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.
2017-09-14 13:37:00 +02:00
Bram Moolenaar
c71053c611
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.
2017-09-14 00:00:44 +02:00
Bram Moolenaar
71eeb74a60
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 )
2017-09-13 22:18:01 +02:00
Bram Moolenaar
072412ed45
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 )
2017-09-13 22:11:35 +02:00
Bram Moolenaar
518d699699
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)
2017-09-13 22:09:58 +02:00
Bram Moolenaar
b984b80cd8
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 )
2017-09-12 22:59:58 +02:00
Bram Moolenaar
49a613f84a
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.
2017-09-11 23:05:44 +02:00
Bram Moolenaar
238d43b328
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.
2017-09-11 22:00:51 +02:00
Bram Moolenaar
a038cb5eab
patch 8.0.1095: terminal multibyte escrape test is flaky
...
Problem: Terminal multibyte escrape test is flaky.
Solution: Add another condition to wait for.
2017-09-11 20:45:23 +02:00
Bram Moolenaar
c212798333
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.
2017-09-11 20:34:13 +02:00
Bram Moolenaar
b4d5fbabc9
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)
2017-09-11 19:31:28 +02:00
Bram Moolenaar
45d5f26d11
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.
2017-09-10 19:14:31 +02:00
Bram Moolenaar
95c83c64be
patch 8.0.1091: test for <cexpr> fails without +balloon_eval feature
...
Problem: Test for <cexpr> fails without +balloon_eval feature.
Solution: Remove #ifdefs.
2017-09-10 18:44:29 +02:00
Bram Moolenaar
65f084749b
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>.
2017-09-10 18:16:20 +02:00
Bram Moolenaar
c168bd4bd3
patch 8.0.1089: cannot get range count in user command
...
Problem: Cannot get range count in user command.
Solution: Add <range> argument.
2017-09-10 17:34:35 +02:00
Bram Moolenaar
414168d97f
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.
2017-09-10 15:21:55 +02:00
Bram Moolenaar
e9f6fd27d0
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.
2017-09-10 14:25:49 +02:00
Bram Moolenaar
8696bbaf52
patch 8.0.1086: can't build with GTK 3
...
Problem: Can't build with GTK 3.
Solution: Rename function argument. (Kazunobu Kuriyama)
2017-09-09 23:00:56 +02:00
Bram Moolenaar
e09ba7bae5
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.
2017-09-09 22:19:47 +02:00
Bram Moolenaar
7be9b50fd7
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)
2017-09-09 18:45:26 +02:00
Bram Moolenaar
5b5adf5b9c
patch 8.0.1083: leaking memory in input part of channel
...
Problem: Leaking memory in input part of channel.
Solution: Clear the input part of channel. Free the entry. Move failing
command test to a separate file to avoid bogus leak reports
clouding tests that should not leak.
2017-09-09 18:16:43 +02:00
Bram Moolenaar
9d18961323
patch 8.0.1082: tests fail when run under valgrind
...
Problem: Tests fail when run under valgrind.
Solution: Increase waiting times.
2017-09-09 18:11:00 +02:00
Bram Moolenaar
aba680a851
patch 8.0.1081: memory leak for the channel write queue
...
Problem: Memory leak for the channel write queue.
Solution: Free the write queue when clearing a channel.
2017-09-09 16:42:53 +02:00
Bram Moolenaar
74121231be
patch 8.0.1080: memory leak for eof_chars terminal option and buffer name
...
Problem: Memory leak for eof_chars terminal option and buffer name.
Solution: Free job options. Free the buffer name
2017-09-09 16:34:32 +02:00
Bram Moolenaar
09d6c3818d
patch 8.0.1079: memory leak when remote_foreground() fails
...
Problem: Memory leak when remote_foreground() fails.
Solution: Free the error message.
2017-09-09 16:25:54 +02:00
Bram Moolenaar
b4ea1914b8
patch 8.0.1078: using freed memory with ":hi Normal"
...
Problem: Using freed memory with ":hi Normal".
Solution: Get "item" again after updating the table.
2017-09-09 15:28:14 +02:00
Bram Moolenaar
fe386641b0
patch 8.0.1077: no debugger making use of the terminal window
...
Problem: No debugger making use of the terminal window.
Solution: Add the term debugger plugin. So far only displays the current
line when stopped.
2017-09-08 21:10:04 +02:00
Bram Moolenaar
3c518400d1
patch 8.0.1076: term_start() does not take callbacks
...
Problem: term_start() does not take callbacks. When using two terminals
without a job only one is read from. A terminal without a window
returns the wrong pty.
Solution: Support "callback", "out_cb" and "err_cb". Fix terminal without a
window. Fix reading from multiple channels.
2017-09-08 20:47:00 +02:00
Bram Moolenaar
1a735d6c9b
patch 8.0.1075: MS-Windows: mouse does not work in terminal
...
Problem: MS-Windows: mouse does not work in terminal.
Solution: Force the winpty mouse on. (Yasuhiro Matsumoto, closes #2072 )
2017-09-08 16:25:54 +02:00
Bram Moolenaar
2dc9d26c14
patch 8.0.1074: ":term NONE" does not work on MS-Windows
...
Problem: ":term NONE" does not work on MS-Windows.
Solution: Make it work. Split "pty" into "pty_in" and "pty_out". (Yasuhiro
Matsumoto, closes #2058 , closes #2045 )
2017-09-08 14:39:30 +02:00
Bram Moolenaar
ba2929b6af
patch 8.0.1073: may get an endless loop if 'statusline' changes a highlight
...
Problem: May get an endless loop if 'statusline' changes a highlight.
Solution: Do not let evaluating 'statusline' trigger a redraw.
2017-09-08 13:59:21 +02:00
Bram Moolenaar
99433291b1
patch 8.0.1072: :highlight command causes a redraw even when nothing changed
...
Problem: The :highlight command causes a redraw even when nothing changed.
Solution: Only set "need_highlight_changed" when an attribute changed.
2017-09-08 12:37:47 +02:00
Bram Moolenaar
c6da01a5b8
patch 8.0.1071: putty-color and cygwin-color are not recognized
...
Problem: $TERM names starting with "putty" and "cygwin" are likely to have
a dark background, but are not recognized.
Solution: Only check the first few characters of $TERM to match "putty" or
"cygwin". (Christian Brabandt)
2017-09-07 22:37:36 +02:00
Bram Moolenaar
75a60f74ce
patch 8.0.1070: terminal test is flaky on Mac
...
Problem: Terminal test is flaky on Mac.
Solution: Add Test_terminal_noblock() to list of flaky tests.
2017-09-07 22:24:41 +02:00
Bram Moolenaar
37b53270e1
patch 8.0.1069: still get CTRL-X sometimes
...
Problem: Still get CTRL-X sometimes for t_RS request.
Solution: Also skip 0x18 after a key code response.
2017-09-07 20:18:40 +02:00
Bram Moolenaar
618d6d277e
patch 8.0.1068: vandyke SecureCRT terminal can't handle cursor mode request
...
Problem: Vandyke SecureCRT terminal can't handle cursor mode request.
(Steven Hartland)
Solution: Fix pointer computation. (closes #2008 )
2017-09-07 12:59:25 +02:00