Bram Moolenaar
847a5d69a8
patch 8.1.1664: GUI resize may cause changing Rows at a bad time
...
Problem: GUI resize may cause changing Rows at a bad time. (Dominique
Pelle)
Solution: Postpone resizing while updating the screen.
2019-07-12 15:37:13 +02:00
Bram Moolenaar
12e71eb8a8
patch 8.1.1481: length for two-digit rgb termresponse is off by one
...
Problem: Length for two-digit rgb termresponse is off by one.
Solution: Adjust the length. (closes #4494 )
2019-06-06 15:19:31 +02:00
Bram Moolenaar
32e1977012
patch 8.1.1471: 'background' not correctly set for 2-digit rgb termresponse
...
Problem: 'background' not correctly set for 2-digit rgb termresponse.
Solution: Adjust what digit to use. (closes #4495 )
2019-06-05 22:57:04 +02:00
Bram Moolenaar
66761db11d
patch 8.1.1469: no test for checking the cursor style response
...
Problem: No test for checking the cursor style response.
Solution: Add a simple test. Also include the missing part of 8.1.1464.
2019-06-05 22:07:51 +02:00
Bram Moolenaar
cea254f5a7
patch 8.1.1464: only 4-digit rgb termresponse is recognized
...
Problem: Only 4-digit rgb termresponse is recognized.
Solution: Also recognize 2-digit rgb response. (closes #4486 )
2019-06-04 21:41:28 +02:00
Bram Moolenaar
c799fe206e
patch 8.1.1414: alloc() returning "char_u *" causes a lot of type casts
...
Problem: Alloc() returning "char_u *" causes a lot of type casts.
Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to
check the simple allocations.
2019-05-28 23:08:19 +02:00
Bram Moolenaar
51e14387f1
patch 8.1.1393: unnecessary type casts
...
Problem: Unnecessary type casts.
Solution: Remove type casts from alloc() and lalloc() calls. (Mike Williams)
2019-05-25 20:21:28 +02:00
Bram Moolenaar
964b3746b9
patch 8.1.1384: using "int" for alloc() often results in compiler warnings
...
Problem: Using "int" for alloc() often results in compiler warnings.
Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim
only works with 32 bit ints anyway.
2019-05-24 18:54:09 +02:00
Bram Moolenaar
5d0183b706
patch 8.1.1323: 'mouse' option is reset when using GPM mouse
...
Problem: 'mouse' option is reset when using GPM mouse.
Solution: Add flag for GPM mouse.
2019-05-11 21:38:58 +02:00
Bram Moolenaar
afd78266c5
patch 8.1.1315: there is always a delay if a termrequest is never answered
...
Problem: There is always a delay if a termrequest is never answered.
Solution: When the response is not received within two seconds consider the
request to have failed.
2019-05-10 23:10:31 +02:00
Bram Moolenaar
27821260c0
patch 8.1.1296: crash when using invalid command line argument
...
Problem: Crash when using invalid command line argument.
Solution: Check for options not being initialized.
2019-05-08 16:41:09 +02:00
Bram Moolenaar
bedf091a95
patch 8.1.1265: when GPM mouse support is enabled double clicks do not work
...
Problem: When GPM mouse support is enabled double clicks in xterm do not
work.
Solution: Use KS_GPM_MOUSE for GPM mouse events.
2019-05-04 16:58:45 +02:00
Bram Moolenaar
61df0c7996
patch 8.1.1254: mapping completion contains dead code
...
Problem: Mapping completion contains dead code.
Solution: Remove the code.
2019-05-03 21:10:36 +02:00
Bram Moolenaar
2cb9f02532
patch 8.1.1251: no test for completion of mapping keys
...
Problem: No test for completion of mapping keys.
Solution: Add a test. Also clean up the code.
2019-05-03 15:13:57 +02:00
Bram Moolenaar
bb7e1b4ba8
patch 8.1.1246: cannot handle negative mouse coordinate from urxvt
...
Problem: Cannot handle negative mouse coordinate from urxvt.
Solution: Accept '-' where a digit is expected. (Vincent Vinel,
closes #4326 )
2019-05-02 20:24:12 +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
958eabe5e5
patch 8.1.1198: bracketed paste may remain active after Vim exists
...
Problem: Bracketed paste may remain active after Vim exists, because the
terminal emulater restores the setting.
Solution: Set/reset bracketed paste mode before setting the terminal mode.
(closes #3579 )
2019-04-21 17:22:33 +02:00
Bram Moolenaar
ad3ec76bb8
patch 8.1.1194: typos and small problems in source files
...
Problem: Typos and small problems in source files.
Solution: Small fixes.
2019-04-21 00:00:13 +02:00
Bram Moolenaar
6bc9305a02
patch 8.1.1127: getwinpos() doesn't work in terminal on MS-Windows console
...
Problem: getwinpos() doesn't work in terminal on MS-Windows console.
Solution: Adjust #ifdefs. Disable test for MS-Windows console.
2019-04-06 20:00:19 +02:00
Bram Moolenaar
5da04ef1b4
patch 8.1.1105: long escape sequences may be split up
...
Problem: Long escape sequences may be split up.
Solution: Assume esccape sequences can be up to 80 bytes long. (Nobuhiro
Takasaki, closes #4196 )
2019-04-03 21:15:58 +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
2ace1bd652
patch 8.1.1034: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Merge FEAT_MOUSE_SGR into FEAT_MOUSE_XTERM / FEAT_MOUSE_TTY.
2019-03-22 12:03:30 +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
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
0ea21e41c6
patch 8.1.0898: a messed up rgb.txt can crash Vim
...
Problem: A messed up rgb.txt can crash Vim. (Pavel Cheremushkin)
Solution: Limit to 10000 entries. Also don't retry many times when the file
cannot be read.
2019-02-12 20:46:48 +01:00
Bram Moolenaar
264b74fa54
patch 8.1.0810: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 4.
2019-01-24 17:18:42 +01:00
Bram Moolenaar
113e10721f
patch 8.1.0785: depending on the configuration some functions are unused
...
Problem: Depending on the configuration some functions are unused.
Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle,
closes #3822 )
2019-01-20 15:30:40 +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
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
20091c18c4
patch 8.1.0566: SGR not enabled for mintty because $TERM is "xterm"
...
Problem: SGR not enabled for mintty because $TERM is "xterm".
Solution: Detect mintty by the termresponse. (Ken Takata, closes #3667 )
2018-12-07 13:18:19 +01:00
Bram Moolenaar
35bc7d6c52
patch 8.1.0445: setting 'term' does not store location for termcap options
...
Problem: Setting 'term' does not store location for termcap options.
Solution: Set the script context for termcap options that are changed when
'term' is set.
2018-10-02 14:45:10 +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
d4f73438bb
patch 8.1.0415: not actually using 16 colors with vtp
...
Problem: Not actually using 16 colors with vtp.
Solution: Always use 256 colors when vtp is used. (Nobuhiro Takasaki,
closes #3432 )
2018-09-21 12:24:12 +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
f29c1c6aa3
patch 8.1.0362: cannot get the script line number when executing a function
...
Problem: Cannot get the script line number when executing a function.
Solution: Store the line number besides the script ID. (Ozaki Kiichi,
closes #3362 ) Also display the line number with ":verbose set".
2018-09-10 21:05:02 +02:00
Bram Moolenaar
2e31048c30
patch 8.1.0304: no redraw when using a STOP signal on Vim and then CONT
...
Problem: No redraw when using a STOP signal on Vim and then a CONT signal.
Solution: Catch the CONT signal and set the terminal to raw mode. This is
like 8.1.0244 but without the screen redraw and a fix for
multi-threading suggested by Dominique Pelle.
2018-08-21 13:09:10 +02:00
Bram Moolenaar
f1883479be
patch 8.1.0302: crash when using :suspend and "fg"
...
Problem: Crash when using :suspend and "fg".
Solution: Undo patch 8.1.244.
2018-08-20 21:58:57 +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
917e32bda5
patch 8.1.0244: no redraw when using a STOP signal on Vim and then CONT
...
Problem: No redraw when using a STOP signal on Vim and then a CONT signal.
Solution: Catch the CONT signal and force a redraw. (closes #3285 )
2018-08-07 17:38:41 +02:00
Bram Moolenaar
18085fae74
patch 8.1.0176: overlapping string argument for strcpy()
...
Problem: Overlapping string argument for strcpy(). (Coverity)
Solution: Use STRMOVE() instead of STRCPY(). (Dominique Pelle, closes #3187 )
2018-07-10 17:33:45 +02:00
Bram Moolenaar
e330ef42f2
patch 8.1.0157: old iTerm2 is not recognized, resulting in stray output
...
Problem: Old iTerm2 is not recognized, resulting in stray output.
Solution: Recognize the termresponse.
2018-07-06 23:11:40 +02:00
Bram Moolenaar
e6882bdc44
patch 8.1.0142: xterm and vt320 builtin termcap missing keypad keys
...
Problem: Xterm and vt320 builtin termcap missing keypad keys.
Solution: Add the escape sequences. (Kouichi Iwamoto, closes #2973 )
2018-07-03 17:16:59 +02:00
Bram Moolenaar
668324ef4f
patch 8.1.0129: still some xterm-like terminals get a stray "p"
...
Problem: Still some xterm-like terminals get a stray "p" on startup.
Solution: Consider all terminals that reply with a version smaller than 95
as not an xterm. (James McCoy)
2018-06-30 17:09:26 +02:00
Bram Moolenaar
d315cf551f
patch 8.1.0021: clang warns for undefined behavior
...
Problem: Clang warns for undefined behavior.
Solution: Move #ifdef outside of sprintf() call.(suggestion by Michael
Jarvis, closes #2956 )
2018-05-23 20:30:56 +02:00
Bram Moolenaar
9289df5ca9
patch 8.0.1808: can't build without TGETENT
...
Problem: Can't build without TGETENT.
Solution: Add #ifdef
2018-05-10 14:40:57 +02:00
Bram Moolenaar
69e056915c
patch 8.0.1807: function to set terminal name is too long
...
Problem: Function to set terminal name is too long.
Solution: Refactor the function. Fix typo in test.
2018-05-10 14:11:52 +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
b255b90503
patch 8.0.1762: terminal debug logging is a bit complicated
...
Problem: Terminal debug logging is a bit complicated.
Solution: Make log_tr() use variable arguments (Ozaki Kiichi, closes #2730 )
2018-04-24 21:40:10 +02:00