Bram Moolenaar
1b243eafb0
patch 8.1.1232: can't build on MS-Windows
...
Problem: Can't build on MS-Windows.
Solution: Define process_still_running.
2019-04-28 22:50:40 +02:00
Bram Moolenaar
67cf86bfff
patch 8.1.1231: asking about existing swap file unnecessarily
...
Problem: Asking about existing swap file unnecessarily.
Solution: When it is safe, delete the swap file. Remove
HAS_SWAP_EXISTS_ACTION, it is always defined. (closes #1237 )
2019-04-28 22:25:38 +02:00
Bram Moolenaar
afde13b62b
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
...
Problem: A lot of code is shared between vim.exe and gvim.exe.
Solution: Optionally put the shared code in vim.dll. (Ken Takata,
closes #4287 )
2019-04-28 19:46:49 +02:00
Bram Moolenaar
0eb035c974
patch 8.1.1103: MS-Windows: old API calls are no longer needed
...
Problem: MS-Windows: old API calls are no longer needed.
Solution: Always use the wide functions. (Ken Takata, closes #4199 )
2019-04-02 22:15:55 +02:00
Bram Moolenaar
b70a47b774
patch 8.1.1096: MS-Windows: cannot distinguish BS and CTRL-H
...
Problem: MS-Windows: cannot distinguish BS and CTRL-H.
Solution: Add code for VK_BACK. (Linwei, closes #1833 )
2019-03-30 22:11:21 +01:00
Bram Moolenaar
8662189736
patch 8.1.1095: MS-Windows: executable() fails on very long filename
...
Problem: MS-Windows: executable() fails on very long filename.
Solution: (Ken Takata, closes #4015 )
2019-03-30 21:51:28 +01:00
Bram Moolenaar
abab0b0fdd
patch 8.1.1086: too many curly braces
...
Problem: Too many curly braces.
Solution: Remove curly braces where they are not needed. (Hirohito Higashi,
closes #3982 )
2019-03-30 18:47:01 +01:00
Bram Moolenaar
8bb41b3d06
patch 8.1.1083: MS-Windows: hang when opening a file on network share
...
Problem: MS-Windows: hang when opening a file on network share.
Solution: Avoid using FindFirstFile(), use GetLongPathNameW(). (Ken Takata,
closes #3923 )
2019-03-30 17:28:16 +01:00
Bram Moolenaar
90d0cf69aa
patch 8.1.1059: MS-Windows: PlatformId() is called unnecessarily
...
Problem: MS-Windows: PlatformId() is called unnecessarily.
Solution: Remove calls to PlatformId(). (Ken Takata, closes #4170 )
2019-03-27 21:49:14 +01:00
Bram Moolenaar
9029b918f9
patch 8.1.1028: MS-Windows: memory leak when creating terminal fails
...
Problem: MS-Windows: memory leak when creating terminal fails.
Solution: Free the command. (Ken Takata, closes #4138 )
2019-03-21 19:58:00 +01:00
Bram Moolenaar
3b5fef6a99
patch 8.1.1013: MS-Windows: Scrolling fails when dividing the screen
...
Problem: MS-Windows: Scrolling fails when dividing the screen.
Solution: Position the cursor before calling ScrollConsoleScreenBuffer().
(Nobuhiro Takasaki, closes #4115 )
2019-03-17 14:54:53 +01:00
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