Bram Moolenaar
ba6febd380
patch 8.0.1240: MS-Windows: term_start() does not support environment
...
Problem: MS-Windows: term_start() does not support environment.
Solution: Implement the environment argument. (Yasuhiro Matsumoto, closes
#2264 )
2017-10-30 21:56:23 +01:00
Bram Moolenaar
48570488f1
patch 8.0.1239: cannot use a lambda for the skip argument to searchpair()
...
Problem: Cannot use a lambda for the skip argument to searchpair().
Solution: Evaluate a partial, funcref and lambda. (LemonBoy, closes #1454 ,
closes #2265 )
2017-10-30 21:48:41 +01:00
Bram Moolenaar
2e51d9a097
patch 8.0.1238: incremental search only shows one match
...
Problem: Incremental search only shows one match.
Solution: When 'incsearch' and and 'hlsearch' are both set highlight all
matches. (haya14busa, closes #2198 )
2017-10-29 16:40:30 +01:00
Bram Moolenaar
00ce63dc23
patch 8.0.1198: older compilers don't know uint8_t
...
Problem: Older compilers don't know uint8_t.
Solution: Use char_u instead.
2017-10-15 21:44:45 +02:00
Bram Moolenaar
65e4c4f686
patch 8.0.1194: actual fg and bg colors of terminal are unknown
...
Problem: Actual fg and bg colors of terminal are unknown.
Solution: Add t_RF. Store response to t_RB and t_RF, use for terminal.
2017-10-14 23:24:25 +02:00
Bram Moolenaar
f33606112a
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().
2017-10-01 16:21:31 +02:00
Bram Moolenaar
2a02745709
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)
2017-09-26 19:10:37 +02:00
Bram Moolenaar
a21a6a9ade
patch 8.0.1139: using window toolbar changes state
...
Problem: Using window toolbar changes state.
Solution: Always execute window toolbar actions in Normal mode.
2017-09-23 16:33:50 +02:00
Bram Moolenaar
f3d769a585
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 )
2017-09-22 13:44:56 +02:00
Bram Moolenaar
1b9645de3c
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.
2017-09-17 23:03:31 +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
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
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
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
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
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
e2e69e4813
patch 8.0.1041: bogus characters when indenting during visual-block append
...
Problem: Bogus characters appear when indenting kicks in while doing a
visual-block append.
Solution: Recompute when indenting is done. (Christian Brabandt)
2017-09-02 20:30:35 +02:00
Bram Moolenaar
3346cc4ffb
patch 8.0.1034: sending buffer lines to terminal doesn't work on MS-Windows
...
Problem: Sending buffer lines to terminal doesn't work on MS-Windows.
Solution: Send CTRL-D to mark the end of the text. (Yasuhiro Matsumoto,
closes #2043 ) Add the "eof_chars" option.
2017-09-02 14:54:21 +02:00
Bram Moolenaar
b47a2597e6
patch 8.0.1014: old compiler doesn't know uint32_t
...
Problem: Old compiler doesn't know uint32_t. Warning for using NULL instead
of NUL.
Solution: Use UINT32_T. Use NUL instead of NULL.
2017-08-30 13:22:28 +02:00
Bram Moolenaar
4db2554954
patch 8.0.1009: Xterm cursor blinking status may be inverted
...
Problem: Xterm cursor blinking status may be inverted.
Solution: Use another request to get the blink status and compare with the
cursor style report
2017-08-28 22:43:05 +02:00
Bram Moolenaar
7adf06f4e2
patch 8.0.1006: quickfix list changes when parsing text with 'erroformat'
...
Problem: Cannot parse text with 'erroformat' without changing a quickfix
list.
Solution: Add the "text" argument to getqflist(). (Yegappan Lakshmanan)
2017-08-27 15:23:41 +02:00
Bram Moolenaar
4ab7968aa9
patch 8.0.1005: terminal without job updates slowly in GUI
...
Problem: Terminal without job updates slowly in GUI.
Solution: Poll for input when a channel has the keep_open flag.
2017-08-27 14:50:47 +02:00
Bram Moolenaar
02e177d3e8
patch 8.0.1002: unnecessarily updating screen after timer callback
...
Problem: Unnecessarily updating screen after timer callback.
Solution: Check if calling the timer sets must_redraw.
2017-08-26 23:43:28 +02:00
Bram Moolenaar
13ebb03e75
patch 8.0.1000: cannot open a terminal without running a job in it
...
Problem: Cannot open a terminal without running a job in it.
Solution: Make ":terminal NONE" open a terminal with a pty.
2017-08-26 22:02:51 +02:00
Bram Moolenaar
6d0826dfbb
patch 8.0.0985: libvterm has its own idea of character width
...
Problem: Libvterm has its own idea of character width.
Solution: Use the Vim functions for character width and composing to avoid a
mismatch. (idea by Yasuhiro Matsumoto)
2017-08-22 22:12:17 +02:00
Bram Moolenaar
ce1c32780a
patch 8.0.0973: initial info about blinking cursor is wrong
...
Problem: initial info about blinking cursor is wrong
Solution: Invert the blink flag. Add t_VS to stop a blinking cursor.
2017-08-20 15:05:15 +02:00
Bram Moolenaar
97bd5e6527
patch 8.0.0957: a terminal job can deadlock when sending many keys
...
Problem: When term_sendkeys() sends many keys it may get stuck in writing
to the job.
Solution: Make the write non-blocking, buffer keys to be sent.
2017-08-18 20:50:30 +02:00
Bram Moolenaar
cfce71710b
patch 8.0.0956: scrolling in a terminal window has flicker
...
Problem: Scrolling in a terminal hwindow as flicker when the Normal
background differs from the terminal window background.
Solution: Set the attribute to clear with.
2017-08-17 20:31:48 +02:00
Bram Moolenaar
f5be7cd016
patch 8.0.0953: get "no write since last change" error in terminal window
...
Problem: Get "no write since last change" error in terminal window.
Solution: Use another message when closing a terminal window. Make ":quit!"
also end the job.
2017-08-17 16:55:13 +02:00
Bram Moolenaar
a83e3962ac
patch 8.0.0952: has('terminal') does not check existence of dll file
...
Problem: MS-Windows: has('terminal') does not check existence of dll file.
Solution: Check if the winpty dll file can be loaded. (Ken Takata)
2017-08-17 14:39:07 +02:00
Bram Moolenaar
4f44b88684
patch 8.0.0932: terminal may not use right characters for BS and Enter
...
Problem: Terminal may not use right characters for BS and Enter.
Solution: Get the characters from the tty.
2017-08-13 20:06:18 +02:00
Bram Moolenaar
dcaa61384c
patch 8.0.0928: MS-Windows: passing arglist to job has escaping problems
...
Problem: MS-Windows: passing arglist to job has escaping problems.
Solution: Improve escaping. (Yasuhiro Matsumoto, closes #1954 )
2017-08-13 17:13:09 +02:00
Bram Moolenaar
3d9bdfebf1
patch 8.0.0921: terminal window cursor shape not supported in the GUI
...
Problem: Terminal window cursor shape not supported in the GUI.
Solution: Use the terminal window cursor shape in the GUI.
2017-08-12 22:55:58 +02:00
Bram Moolenaar
3cd43ccccb
patch 8.0.0918: cannot get terminal window cursor shape or attributes
...
Problem: Cannot get terminal window cursor shape or attributes.
Solution: Support cursor shape, attributes and color.
2017-08-12 19:51:41 +02:00
Bram Moolenaar
08d384ff3a
patch 8.0.0908: cannot set terminal size with options
...
Problem: Cannot set terminal size with options.
Solution: Add "term_rows", "term_cols" and "vertical".
2017-08-11 21:51:23 +02:00
Bram Moolenaar
2d33e90f81
patch 8.0.0899: function name mch_stop_job() is confusing
...
Problem: Function name mch_stop_job() is confusing.
Solution: Rename to mch_signal_job().
2017-08-11 16:31:54 +02:00
Bram Moolenaar
e41e3b41f9
patch 8.0.0898: can't use the alternate screen in a terminal window
...
Problem: Can't use the alternate screen in a terminal window.
Solution: Initialze the alternate screen. (Yasuhiro Matsumoto, closes
#1957 ) Add term_getaltscreen().
2017-08-11 16:24:50 +02:00
Bram Moolenaar
82b9ca05f4
patch 8.0.0893: cannot get the scroll count of a terminal window
...
Problem: Cannot get the scroll count of a terminal window.
Solution: Add term_getscrolled().
2017-08-08 23:06:46 +02:00
Bram Moolenaar
cae92dc3d5
patch 8.0.0878: no completion for :mapclear
...
Problem: No completion for :mapclear.
Solution: Add completion (Nobuhiro Takasaki et al. closes #1943 )
2017-08-06 15:22:15 +02:00
Bram Moolenaar
6d8197485d
patch 8.0.0877: using CTRL-\ CTRL-N in terminal is inconsistent
...
Problem: Using CTRL-\ CTRL-N in terminal is inconsistent.
Solution: Stay in Normal mode.
2017-08-06 14:57:49 +02:00
Bram Moolenaar
aaa8a35fbd
patch 8.0.0873: in terminal cannot use CTRL-\ CTRL-N to start Visual mode
...
Problem: In a terminal window cannot use CTRL-\ CTRL-N to start Visual
mode.
Solution: After CTRL-\ CTRL-N enter Terminal-Normal mode for one command.
2017-08-05 20:17:00 +02:00
Bram Moolenaar
98fd66d311
patch 8.0.0872: no mouse scroll with a terminal window
...
Problem: Using mouse scroll while a terminal window has focus and the mouse
pointer is on another window does not work. Same for focus in a
non-terminal window ahd the mouse pointer is over a terminal
window.
Solution: Send the scroll action to the right window.
2017-08-05 19:34:47 +02:00
Bram Moolenaar
6b7355a30d
patch 8.0.0860: side effects when channel appends to a buffer
...
Problem: There may be side effects when a channel appends to a buffer that
is not the current buffer.
Solution: Properly switch to another buffer before appending. (Yasuhiro
Matsumoto, closes #1926 , closes #1937 )
2017-08-04 21:37:54 +02:00
Bram Moolenaar
e9c21aed62
patch 8.0.0854: no redraw after terminal was closed
...
Problem: No redraw after terminal was closed.
Solution: Set typebuf_was_filled. (Yasuhiro Matsumoto, closes #1925 , closes
#1924 ) Add function to check for messages even when input is
available.
2017-08-03 20:44:48 +02:00
Bram Moolenaar
2f3a90a3bd
patch 8.0.0848: using multiple ch_log functions is clumsy
...
Problem: Using multiple ch_log functions is clumsy.
Solution: Use variable arguments. (Ozaki Kiichi, closes #1919 )
2017-08-03 14:49:29 +02:00
Bram Moolenaar
398ee7326b
patch 8.0.0847: :argadd without argument can't handle space in file name
...
Problem: :argadd without argument can't handle space in file name. (Harm te
Hennepe)
Solution: Escape the space. (Yasuhiro Matsumoto, closes #1917 )
2017-08-03 14:29:14 +02:00
Bram Moolenaar
7c9aec4ac8
patch 8.0.0846: cannot get the name of the pty of a job
...
Problem: Cannot get the name of the pty of a job.
Solution: Add the "tty" entry to the job info. (Ozaki Kiichi, closes #1920 )
Add the term_gettty() function.
2017-08-03 13:51:25 +02:00
Bram Moolenaar
e0ab979fa7
patch 8.0.0844: wrong function prototype because of missing static
...
Problem: Wrong function prototype because of missing static.
Solution: Add "static".
2017-08-02 23:18:25 +02:00
Bram Moolenaar
b6843a007d
patch 8.0.0840: MS-Windows: fopen() and open() prototypes are wrong
...
Problem: MS-Windows: fopen() and open() prototypes do not match the ones in
the system header file. Can't build without FEAT_MBYTE.
Solution: Add "const". Move macro to after including protoo.h.
2017-08-02 22:07:12 +02:00