Bram Moolenaar
d5a5886ce9
patch 8.1.0997: using GUI colors in vim.exe when 'termguicolors' is off
...
Problem: Using GUI colors in vim.exe when 'termguicolors' is off.
Solution: Add condition for 'termguicolors' set. (Ken Takata, closes #4078 )
2019-03-07 06:40:27 +01:00
Bram Moolenaar
bdace838c6
patch 8.1.0989: various small code ugliness
...
Problem: Various small code ugliness.
Solution: Remove pointless NULL checks. Fix function calls. Fix typos.
(Dominique Pelle, closes #4060 )
2019-03-02 10:13:42 +01:00
Bram Moolenaar
1eed532999
patch 8.1.0983: checking __CYGWIN32__ unnecessarily
...
Problem: Checking __CYGWIN32__ unnecessarily.
Solution: Remove the checks. (Ken Takata)
2019-02-26 17:03:54 +01:00
Bram Moolenaar
4f97475d32
patch 8.1.0941: macros for MS-Windows are inconsistent
...
Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and
others.
Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the
GUI build. (Hirohito Higashi, closes #3932 )
2019-02-17 17:44:42 +01:00
Bram Moolenaar
78d21dae9c
patch 8.1.0940: MS-Windows console resizing not handled properly
...
Problem: MS-Windows console resizing not handled properly.
Solution: Handle resizing the console better. (Nobuhiro Takasaki,
closes #3968 , closes #3611 )
2019-02-17 15:00:52 +01:00
Bram Moolenaar
21edde8742
patch 8.1.0938: background color is wrong in MS-Windows console
...
Problem: Background color is wrong in MS-Windows console when not using VTP.
Solution: Use g_attrCurrent. (Nobuhiro Takasaki, closes #3987 )
2019-02-17 14:10:56 +01:00
Bram Moolenaar
6982f42f33
patch 8.1.0933: When using VTP scroll region isn't used properly
...
Problem: When using VTP scroll region isn't used properly.
Solution: Make better use of the scroll region. (Nobuhiro Takasaki,
closes #3974 )
2019-02-16 16:48:01 +01:00
Bram Moolenaar
6902c0eb27
patch 8.1.0931: vtp_working included in GUI build but unused
...
Problem: vtp_working included in GUI build but unused.
Solution: Adjust #ifdefs. (Ken Takata, closes #3971 )
2019-02-16 14:07:37 +01:00
Bram Moolenaar
d9ef1b8d77
patch 8.1.0909: MS-Windows: using ConPTY even though it is not stable
...
Problem: MS-Windows: using ConPTY even though it is not stable.
Solution: When ConPTY version is unstable, prefer using winpty. (Ken Takata,
closes #3949 )
2019-02-13 19:23:10 +01:00
Bram Moolenaar
aa5df7e312
patch 8.1.0870: Vim doesn't use the new ConPTY support in Windows 10
...
Problem: Vim doesn't use the new ConPTY support in Windows 10.
Solution: Use ConPTY support, if available. (Nobuhiro Takasaki, closes #3794 )
2019-02-03 14:53:10 +01:00
Bram Moolenaar
240583869a
patch 8.1.0818: MS-Windows: cannot send large data with ch_sendraw()
...
Problem: MS-Windows: cannot send large data with ch_sendraw().
Solution: Split write into several WriteFile() calls. (Yasuhiro Matsumoto,
closes #3823 )
2019-01-24 23:11:49 +01:00
Bram Moolenaar
a12a161b8c
patch 8.1.0809: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 3.
2019-01-24 16:39:02 +01:00
Bram Moolenaar
1f20daa1d7
patch 8.1.0784: messy indent in if statement
...
Problem: Messy indent in if statement.
Solution: Improve structure of if statement. (Ozaki Kiichi, closes #3826 )
2019-01-19 21:12:24 +01:00
Bram Moolenaar
32526b3c18
patch 8.1.0779: argument for message functions is inconsistent
...
Problem: Argument for message functions is inconsistent.
Solution: Make first argument to msg() "char *".
2019-01-19 17:43:09 +01:00
Bram Moolenaar
b091f30bf3
patch 8.1.0777: Win32: using pipes for channel does not work well
...
Problem: Win32: using pipes for channel does not work well.
Solution: Use a larger buffer and handle overlaps. (Yasuhiro Matsumoto,
closes #3782 )
2019-01-19 14:37:00 +01:00
Bram Moolenaar
f9e3e09fdc
patch 8.1.0743: giving error messages is not flexible
...
Problem: Giving error messages is not flexible.
Solution: Add semsg(). Change argument from "char_u *" to "char *", also
for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes
#3302 ) Also make emsg() accept a "char *" argument. Get rid of
an enormous number of type casts.
2019-01-13 23:38:42 +01:00
Bram Moolenaar
d155d7a851
patch 8.1.0615: get_tv function names are not consistent
...
Problem: Get_tv function names are not consistent.
Solution: Rename to tv_get.
2018-12-21 16:04:21 +01:00
Bram Moolenaar
c4568ab37e
patch 8.1.0528: various typos in comments
...
Problem: Various typos in comments.
Solution: Fix the typos.
2018-11-16 16:21:05 +01:00
Bram Moolenaar
0cc7b2d6cc
patch 8.1.0457: win32 console: key mappings don't work
...
Problem: Win32 console: key mappings don't work.
Solution: Use another solution for the keypad keys that doesn't break
mappings. Some values will be negative. (Mike Williams)
2018-10-07 15:49:56 +02:00
Bram Moolenaar
8295666dc2
patch 8.1.0453: MS-Windows: executable() is not reliable
...
Problem: MS-Windows: executable() is not reliable.
Solution: Use $PATHEXT properly. (Yasuhiro Matsumoto, closes #3412 )
2018-10-06 15:18:45 +02:00
Bram Moolenaar
7554c548a4
patch 8.1.0452: MS-Windows: not finding intl.dll
...
Problem: MS-Windows: not finding intl.dll.
Solution: Also find intl.dll next to libintl.dll. (Ken Takata)
2018-10-06 15:03:15 +02:00
Bram Moolenaar
2bc152ab53
patch 8.1.0451: Win32 console: keypad keys don't work
...
Problem: Win32 console: keypad keys don't work.
Solution: Use numbers instead of characters to avoid the value becoming
negative. (Mike Williams)
2018-10-03 20:44:20 +02:00
Bram Moolenaar
6dff58f15c
patch 8.1.0443: unnecessary static function prototypes
...
Problem: Unnecessary static function prototypes.
Solution: Remove unnecessary prototypes.
2018-09-30 21:43:26 +02:00
Bram Moolenaar
42335f50bc
patch 8.1.0377: xdiff doesn't use the Vim memory allocation functions
...
Problem: Xdiff doesn't use the Vim memory allocation functions.
Solution: Change the xdl_ defines. Check for out-of-memory. Rename
"ignored" to "vim_ignored".
2018-09-13 15:33:43 +02:00
Bram Moolenaar
ed5a9d6612
patch 8.1.0349: crash when wiping buffer in a callback
...
Problem: Crash when wiping buffer in a callback.
Solution: Do not handle messages when only peeking for a character.
(closes #2107 ) Add "redraw_flag" to test_override().
2018-09-06 13:14:43 +02:00
Bram Moolenaar
f6ceaf1e05
patch 8.1.0338: MS-Windows: VTP doesn't work properly with Powershell
...
Problem: MS-Windows: VTP doesn't work properly with Powershell.
Solution: Adjust the color index. (Nobuhiro Takasaki, closes #3347 )
2018-08-30 17:47:05 +02:00
Bram Moolenaar
2551c037e4
patch 8.1.0323: reverse order of VTP calls only needed the first time
...
Problem: Reverse order of VTP calls only needed the first time.
Solution: Add a flag to remember the state. (Nobuhiro Takasaki, closes #3366 )
2018-08-23 22:38:31 +02:00
Bram Moolenaar
cea1f9ec52
patch 8.1.0297: MS-Windows: tests fail, Vim crashes
...
Problem: MS-Windows: tests fail, Vim crashes.
Solution: Fix long file name handling.
2018-08-19 14:38:42 +02:00
Bram Moolenaar
3b9fcfcffa
patch 8.1.0294: MS-Windows: sometimes uses short directory name
...
Problem: MS-Windows: sometimes uses short directory name.
Solution: Expand to long file name with correct caps. (Nobuhiro Takasaki,
closes #3334 )
2018-08-18 20:20:27 +02:00
Bram Moolenaar
40385dbcdf
patch 8.1.0253: saving and restoring window title does not always work
...
Problem: Saving and restoring window title does not always work.
Solution: Use the stack push and pop commands. (Kouichi Iwamoto,
closes #3059 )
2018-08-07 22:31:44 +02:00
Bram Moolenaar
b1cf16113f
patch 8.1.0250: MS-Windows using VTP: windows size change incorrect
...
Problem: MS-Windows using VTP: windows size change incorrect.
Solution: Call SetConsoleScreenBufferSize() first. (Nobuhiro Takasaki,
closes #3164 )
2018-08-07 20:47:16 +02:00
Bram Moolenaar
f9c3883b11
patch 8.1.0087: v:shell_error is always zero when using terminal for "!cmd"
...
Problem: v:shell_error is always zero when using terminal for "!cmd".
Solution: Use "exitval" of terminal-job. (Ozaki Kiichi, closes #2994 )
2018-06-19 19:59:20 +02:00
Bram Moolenaar
79c6b51e40
patch 8.1.0051: MS-Windows: missing #endif
...
Problem: MS-Windows: missing #endif.
Solution: Add the #endif.
2018-06-12 21:11:12 +02:00
Bram Moolenaar
493359eb3b
patch 8.1.0050: $VIM_TERMINAL is also set when not in a terminal window
...
Problem: $VIM_TERMINAL is also set when not in a terminal window.
Solution: Pass a flag to indicate whether the job runs in a terminal.
2018-06-12 20:25:52 +02:00
Bram Moolenaar
d7a137fb0d
patch 8.1.0049: shell cannot tell running in a terminal window
...
Problem: Shell cannot tell running in a terminal window.
Solution: Add the VIM_TERMINAL environment variable. (Christian Brabandt)
2018-06-12 18:05:24 +02:00
Bram Moolenaar
5aa9896b2e
patch 8.0.1798: MS-Windows: file considered read-only too often
...
Problem: MS-Windows: file considered read-only when another program has
opened it.
Solution: Pass file sharing flag to CreateFile(). (Linwei, closes #2860 )
2018-05-06 17:09:38 +02:00
Bram Moolenaar
9894e394b2
patch 8.0.1791: using uint8_t does not work everywhere
...
Problem: Using uint8_t does not work everywhere.
Solution: Use char_u instead.
2018-05-05 14:29:06 +02:00
Bram Moolenaar
8a938af6dd
patch 8.0.1785: missing symbol in Win32 small build
...
Problem: Missing symbol in Win32 small build.
Solution: Define VTERM_ANSI_INDEX_NONE without the terminal feature. Also
fix unused function with #ifdef.
2018-05-01 17:30:41 +02:00
Bram Moolenaar
c5cd88554f
patch 8.0.1783: cannot use 256 colors in a MS-Windows console
...
Problem: Cannot use 256 colors in a MS-Windows console.
Solution: Add 256 color support. (Nobuhiro Takasaki, closes #2821 )
2018-05-01 15:47:38 +02:00
Bram Moolenaar
81c3c89a28
patch 8.0.1619: Win32 GUI: crash when winpty is not installed
...
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 )
2018-03-20 11:41:44 +01:00
Bram Moolenaar
42f652f733
patch 8.0.1617: Win32: :shell command in the GUI crashes
...
Problem: Win32: :shell command in the GUI crashes.
Solution: Handle the situation that "cmd" is NULL. (Yasuhiro Matsumoto,
closes #2721 )
2018-03-19 21:44:37 +01:00
Bram Moolenaar
f05fa37822
patch 8.0.1616: Win32: shell commands in the GUI open a new console
...
Problem: Win32: shell commands in the GUI open a new console.
Solution: Use a terminal window for interactive use when 'guioptions'
contains "!".
2018-03-18 19:29:34 +01:00
Bram Moolenaar
20586cb4f4
patch 8.0.1591: MS-Windows: when reparsing the arguments 'wildignore' matters
...
Problem: MS-Windows: when reparsing the arguments 'wildignore' matters.
Solution: Save and reset 'wildignore'. (Yasuhiro Matsumoto, closes #2702 )
2018-03-08 22:03:14 +01:00
Bram Moolenaar
157d813be4
patch 8.0.1582: in the MS-Windows console mouse movement is not used
...
Problem: In the MS-Windows console mouse movement is not used.
Solution: Pass mouse movement events when useful.
2018-03-06 17:09:20 +01:00
Bram Moolenaar
f2bd8ef2b4
patch 8.0.1564: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and
increases code size of tiny Vim by only 40 Kbyte.
2018-03-04 18:08:14 +01:00
Bram Moolenaar
cafafb381a
patch 8.0.1531: cannot use 24 bit colors in MS-Windows console
...
Problem: Cannot use 24 bit colors in MS-Windows console.
Solution: Add support for vcon. (Nobuhiro Takasaki, Ken Takasaki,
fixes #1270 , fixes #2060 )
2018-02-22 21:07:09 +01:00
Bram Moolenaar
c33ecb2915
patch 8.0.1504: Win32: the screen may be cleared on startup
...
Problem: Win32: the screen may be cleared on startup.
Solution: Only call shell_resized() when the size actually changed. (Ken
Takata, closes #2527 )
2018-02-11 16:40:45 +01:00
Bram Moolenaar
d23a823669
patch 8.0.1496: clearing a pointer takes two lines
...
Problem: Clearing a pointer takes two lines.
Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi,
closes #2629 )
2018-02-10 18:45:26 +01:00
Bram Moolenaar
b7407d3fc9
patch 8.0.1459: cannot handle change of directory
...
Problem: Cannot handle change of directory.
Solution: Add the DirChanged autocommand event. (Andy Massimino,
closes #888 ) Avoid changing directory for 'autochdir' too often.
2018-02-03 17:36:27 +01:00
Bram Moolenaar
feeb4d0901
patch 8.0.1371: Shift-Insert doesn't always work in MS-Windows console
...
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 )
2017-12-05 15:14:46 +01:00