| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Problem: Win32 GUI: crash when winpty is not installed and trying to use
:shell in a terminal window.
Solution: Check for NULL return form term_start(). (Yasuhiro Matsumoto,
closes #2727)
|
|
|
|
|
|
| |
Problem: Win32: :shell command in the GUI crashes.
Solution: Handle the situation that "cmd" is NULL. (Yasuhiro Matsumoto,
closes #2721)
|
|
|
|
|
|
| |
Problem: Win32: shell commands in the GUI open a new console.
Solution: Use a terminal window for interactive use when 'guioptions'
contains "!".
|
|
|
|
|
| |
Problem: MS-Windows: when reparsing the arguments 'wildignore' matters.
Solution: Save and reset 'wildignore'. (Yasuhiro Matsumoto, closes #2702)
|
|
|
|
|
| |
Problem: In the MS-Windows console mouse movement is not used.
Solution: Pass mouse movement events when useful.
|
|
|
|
|
|
| |
Problem: Too many #ifdefs.
Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and
increases code size of tiny Vim by only 40 Kbyte.
|
|
|
|
|
|
| |
Problem: Cannot use 24 bit colors in MS-Windows console.
Solution: Add support for vcon. (Nobuhiro Takasaki, Ken Takasaki,
fixes #1270, fixes #2060)
|
|
|
|
|
|
| |
Problem: Win32: the screen may be cleared on startup.
Solution: Only call shell_resized() when the size actually changed. (Ken
Takata, closes #2527)
|
|
|
|
|
|
| |
Problem: Clearing a pointer takes two lines.
Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi,
closes #2629)
|
|
|
|
|
|
| |
Problem: Cannot handle change of directory.
Solution: Add the DirChanged autocommand event. (Andy Massimino,
closes #888) Avoid changing directory for 'autochdir' too often.
|
|
|
|
|
|
| |
Problem: Shift-Insert doesn't always work in MS-Windows console.
Solution: Handle K_NUL differently if the second character is more than one
byte. (Yasuhiro Matsumoto, closes #2381)
|
|
|
|
|
| |
Problem: Cursor keys don't work in MS-Windows console.
Solution: Revert the previous patch. Also delete dead code.
|
|
|
|
|
| |
Problem: Shift-Insert doesn't always work in MS-Windows console.
Solution: Handle K_NUL differently. (Yasuhiro Matsumoto, closes #2381)
|
|
|
|
|
|
| |
Problem: MS-Windows: job in terminal can't get back to Vim.
Solution: set VIM_SERVERNAME in the environment. (Yasuhiro Matsumoto, closes
#2360)
|
|
|
|
|
|
| |
Problem: balloon_show() only works in terminal when compiled with the GUI.
Solution: Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI
specific file.
|
|
|
|
|
|
| |
Problem: MS-Windows: term_start() does not support environment.
Solution: Implement the environment argument. (Yasuhiro Matsumoto, closes
#2264)
|
|
|
|
|
| |
Problem: MS-Windows: wrong #ifdef, compiler warnings for signed/unsigned.
Solution: Change variable type. Change TERMINAL to FEAT_TERMINAL.
|
|
|
|
|
| |
Problem: 64-bit compiler warnings.
Solution: Use "size_t" instead of "int". (Mike Williams)
|
|
|
|
|
|
| |
Problem: MS-Windows:CTRL-C handling in terminal window is wrong
Solution: Pass CTRL-C as a key. Turn CTRL-BREAK into a key stroke. (Yasuhiro
Matsumoto, closes #1965)
|
|
|
|
|
|
|
| |
Problem: MS-Windows: CTRL-C kills shell in terminal window instead of the
command running in the shell.
Solution: Make CTRL-C only send a CTRL_C_EVENT and have CTRL-BREAK kill the
job. (partly by Yasuhiro Matsumoto, closes #1962)
|
|
|
|
|
| |
Problem: MS-Windows: broken multi-byte characters in the console.
Solution: Restore all regions of the console buffer. (Ken Takata)
|
|
|
|
|
|
| |
Problem: Cannot specify directory or environment for a job.
Solution: Add the "cwd" and "env" arguments to job options. (Yasuhiro
Matsumoto, closes #1160)
|
|
|
|
|
| |
Problem: Function name mch_stop_job() is confusing.
Solution: Rename to mch_signal_job().
|
|
|
|
|
| |
Problem: Compiler warnings with 64 bit build.
Solution: Add type cast of change the type. (Mike Williams)
|
|
|
|
|
|
| |
Problem: MS-Windows: Backslashes and wildcards in backticks don't work.
Solution: Do not handle backslashes inside backticks in the wrong place.
(Yasuhiro Matsumoto, closes #1942)
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Wrong function prototype because of missing static.
Solution: Add "static".
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: A terminal window uses pipes instead of a pty.
Solution: Add pty support.
|
|
|
|
|
|
| |
Problem: On MS-Windows ":!start" does not work as expected.
Solution: When creating a process fails try passing the argument to
ShellExecute(). (Katsuya Hino, closes #1570)
|
|
|
|
|
| |
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case.
|
|
|
|
|
|
| |
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case. Avoid lower case macros use an
argument twice.
|
|
|
|
|
| |
Problem: Compiler warnings on MS-Windows. (Ajit Thakkar)
Solution: Add type casts.
|
|
|
|
|
|
| |
Problem: Test for v:progpath fails on MS-Windows.
Solution: Expand to full path. Also add ".exe" when the path is an absolute
path.
|
|
|
|
|
|
| |
Problem: Setting v:progpath is not quite right.
Solution: On MS-Windows add the extension. On Unix use the full path for a
relative directory. (partly by James McCoy, closes #1531)
|
|
|
|
|
| |
Problem: 'balloonexpr' only works synchronously.
Solution: Add balloon_show(). (Jusufadis Bakamovic, closes #1449)
|
|
|
|
|
|
|
|
| |
Problem: Asan detects a memory error when EXITFREE is defined. (Dominique
Pelle)
Solution: In getvcol() check for ml_get_buf() returning an empty string.
Also skip adjusting the scroll position. Set "exiting" in
mch_exit() for all systems.
|
|
|
|
|
|
| |
Problem: MS-Windows files are still using ARGSUSED while most other files
have UNUSED.
Solution: Change ARGSUSED to UNUSED or delete it.
|
|
|
|
|
|
| |
Problem: On MS-Windows setting an environment variable with multi-byte
strings does not work well.
Solution: Use wputenv when possible. (Taro Muraoka, Ken Takata)
|
|
|
|
|
|
| |
Problem: Setting language in gvim on MS-Windows does not work when
libintl.dll is dynamically linked with msvcrt.dll.
Solution: Use putenv() from libintl as well. (Ken Takata, closes #1082)
|
|
|
|
|
| |
Problem: May not process channel readahead. (skywind)
Solution: If there is readahead don't block on input.
|
|
|
|
|
|
| |
Problem: When a channel callback consumes a lot of time Vim becomes
unresponsive. (skywind)
Solution: Bail out of checking channel readahead after 100 msec.
|
|
|
|
|
|
| |
Problem: When vimrun.exe is not found the error message is not properly
encoded.
Solution: Use utf-16 and MessageBoxW(). (Ken Takata)
|
|
|
|
|
|
|
| |
Problem: When the channel callback gets job info the job may already have
been deleted. (lifepillar)
Solution: Do not delete the job when the channel is still useful. (ichizok,
closes #1242, closes #1245)
|
|
|
|
|
|
|
|
| |
Problem: On Windows job_stop() stops cmd.exe, not the processes it runs.
(Linwei)
Solution: Iterate over all processes and terminate the one where the parent
is the job process. Now only when there is no job object.
(Yasuhiro Matsumoto, closes #1203)
|
|
|
|
|
| |
Problem: New code for job_stop() breaks channel test on AppVeyor.
Solution: Revert the change.
|
|
|
|
|
|
|
| |
Problem: On Windows job_stop() stops cmd.exe, not the processes it runs.
(Linwei)
Solution: Iterate over all processes and terminate the one where the parent
is the job process. (Yasuhiro Matsumoto, closes #1184)
|
|
|
|
|
| |
Problem: Detecting that a job has finished may take a while.
Solution: Check for a finished job more often (Ozaki Kiichi)
|
|
|
|
|
|
| |
Problem: Code for MS-Windows is complicated because of the exceptions for
old systems.
Solution: Drop support for MS-Windows older than Windows XP. (Ken Takata)
|
|
|
|
|
|
| |
Problem: When using ":sleep" channel input is not handled.
Solution: When there is a channel check for input also when not in raw mode.
Check every 100 msec.
|