summaryrefslogtreecommitdiff
path: root/src/term.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.4531: LGTM warnings for condition and buffer sizev8.2.4531=?UTF-8?q?Dundar=20G=C3=B6c?=2022-03-091-1/+1
| | | | | | Problem: LGTM warnings for condition always true and buffer size too small. Solution: Remove the useless condition. Make the buffer larger. (Goc Dundar, closes #9914)
* patch 8.2.4523: when gvim is started maximized the 'window' option isn't setv8.2.4523K.Takata2022-03-071-1/+2
| | | | | | | Problem: When gvim is started maximized the 'window' option isn't set properly. (Christian J. Robinson) Solution: Check if 'windows' was already set or not. (Ken Takata, closes #9904)
* patch 8.2.4490: terminal focus reporting only works for xterm-like terminalsv8.2.4490Bram Moolenaar2022-03-021-9/+9
| | | | | | Problem: Terminal focus reporting only works for xterm-like terminals. (Jonathan Rascher) Solution: Remove the "focus_mode" flag. (closes #9859)
* patch 8.2.4368: Amiga: a few compiler warningsv8.2.4368ola.soder@axis.com2022-02-131-1/+1
| | | | | | Problem: Amiga: a few compiler warnings. Solution: Adjust #ifdefs. Add "UNUSED". (Ola Söder, closes #9756, closes #9757)
* patch 8.2.4273: the EBCDIC support is outdatedv8.2.4273Bram Moolenaar2022-01-311-293/+283
| | | | | Problem: The EBCDIC support is outdated. Solution: Remove the EBCDIC support.
* patch 8.2.4038: various code not used when features are disabledv8.2.4038Dominique Pelle2022-01-081-0/+2
| | | | | Problem: Various code not used when features are disabled. Solution: Add #ifdefs. (Dominique Pellé, closes #9491)
* patch 8.2.4031: crash in xterm with only two linesv8.2.4031Bram Moolenaar2022-01-071-1/+1
| | | | | Problem: Crash in xterm with only two lines. (Dominique Pellé) Solution: Only perform xterm compatibility test if possible. (closes #9488)
* patch 8.2.3987: error messages are spread outv8.2.3987Bram Moolenaar2022-01-021-3/+3
| | | | | Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
* patch 8.2.3985: error messages are spread outv8.2.3985Bram Moolenaar2022-01-021-2/+2
| | | | | Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
* patch 8.2.3914: various spelling mistakes in commentsv8.2.3914Dominique Pelle2021-12-271-1/+1
| | | | | Problem: Various spelling mistakes in comments. Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
* patch 8.2.3864: cannot disable requesting key codes from xtermv8.2.3864Bram Moolenaar2021-12-211-3/+2
| | | | | Problem: Cannot disable requesting key codes from xterm. Solution: Add the 'xtermcodes' option, default on.
* patch 8.2.3750: error messages are everywherev8.2.3750Bram Moolenaar2021-12-051-1/+1
| | | | | Problem: Error messages are everywhere. Solution: Move more error messages to errors.h and adjust the names.
* patch 8.2.3731: "set! termcap" shows codes in one column, but not keysv8.2.3731Bram Moolenaar2021-12-031-5/+8
| | | | | Problem: "set! termcap" shows codes in one column, but not keys. Solution: Also use one column for keys. (closes #9258)
* patch 8.2.3727: in a gnome terminal keys are recognized as mouse eventsv8.2.3727Bram Moolenaar2021-12-031-6/+41
| | | | | | Problem: In a gnome terminal keys are recognized as mouse events. Solution: Only recognize DEC mouse events when four numbers are following. (closes #9256)
* patch 8.2.3699: the +title feature adds a lot of #ifdef but little codev8.2.3699Bram Moolenaar2021-11-291-6/+2
| | | | | Problem: The +title feature adds a lot of #ifdef but little code. Solution: Graduate the +title feature.
* patch 8.2.3620: memory leak reported in libtlibv8.2.3620Bram Moolenaar2021-11-191-0/+22
| | | | | | Problem: Memory leak reported in libtlib. Solution: Call del_curterm() when cleaning up memory. Rename term.h to termdefs.h to avoid a name clash.
* patch 8.2.3562: cannot add color namesv8.2.3562Drew Vogel2021-10-241-198/+1
| | | | | Problem: Cannot add color names. Solution: Add the v:colornames dictionary. (Drew Vogel, closes #8761)
* patch 8.2.3274: macro for printf format check can be simplifiedv8.2.3274Bram Moolenaar2021-08-021-1/+1
| | | | | Problem: Macro for printf format check can be simplified. Solution: Add ATTRIBUTE_FORMAT_PRINTF(). (Dominique Pellé, issue #8635)
* patch 8.2.3251: listing builtin_gui as an available terminal is confusingv8.2.3251Bram Moolenaar2021-07-301-1/+2
| | | | | | Problem: Listing builtin_gui as an available terminal is confusing. Solution: Do not list builtin_gui. (Christian Brabandt, closes #8669, closes #8661)
* patch 8.2.2963: GUI: mouse move may start Visual mode with a popup visiblev8.2.2963Bram Moolenaar2021-06-081-0/+4
| | | | | Problem: GUI: mouse move may start Visual mode with a popup visible. Solution: Add special code for mouse move. (closes #8318)
* patch 8.2.2922: computing array length is done in various waysv8.2.2922K.Takata2021-06-021-1/+1
| | | | | Problem: Computing array length is done in various ways. Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305)
* patch 8.2.2907: memory leak when running out of memoryv8.2.2907Dominique Pelle2021-05-291-0/+1
| | | | | Problem: Memory leak when running out of memory. Solution: Free the allocated memory. (Dominique Pellé, closes #8284)
* patch 8.2.2754: :sleep! does not always hide the cursorv8.2.2754Bram Moolenaar2021-04-111-1/+35
| | | | | | Problem: :sleep! does not always hide the cursor. Solution: Add the cursor_is_asleep flag. (Jeremy Lerner, closes #8097, closes #7998)
* patch 8.2.2655: The -w command line argument doesn't workv8.2.2655Bram Moolenaar2021-03-261-2/+3
| | | | | Problem: The -w command line argument doesn't work. Solution: Don't set 'window' when set with the -w argument. (closes #8011)
* patch 8.2.2638: cannot write a message to the terminal from the GUIv8.2.2638Bram Moolenaar2021-03-221-1/+1
| | | | | Problem: Cannot write a message to the terminal from the GUI. Solution: Add :echoconsole and use it in the test runner. (issue #7975)
* patch 8.2.2564: focus events end Insert mode if 'esckeys' is not setv8.2.2564Bram Moolenaar2021-03-031-6/+7
| | | | | Problem: Focus events end Insert mode if 'esckeys' is not set. Solution: Do not enable focus events when 'esckeys' is off. (closes #7926)
* patch 8.2.2428: FocusGained does not work when 'ttymouse' is emptyv8.2.2428Bram Moolenaar2021-01-301-4/+26
| | | | | | Problem: FocusGained does not work when 'ttymouse' is empty. Solution: Don't use the short mouse code if there is a longer matching code. (closes #7755) Add a test.
* patch 8.2.2366: when using ":sleep" the cursor is always displayedv8.2.2366Bram Moolenaar2021-01-161-1/+1
| | | | | | Problem: When using ":sleep" the cursor is always displayed. Solution: Do not display the cursor when using ":sleep!". (Jeremy Lerner, closes #7688)
* patch 8.2.2358: wrong #ifdef for use_xterm_like_mouse()v8.2.2358Bram Moolenaar2021-01-161-5/+5
| | | | | Problem: Wrong #ifdef for use_xterm_like_mouse(). Solution: Use FEAT_MOUSE_XTERM.
* patch 8.2.2352: if focus lost/gained is received twice code is not ignoredv8.2.2352Bram Moolenaar2021-01-141-8/+14
| | | | | | Problem: If the focus lost/gained escape sequence is received twice it is not ignored. (Christ van Willigen) Solution: Adjust the logic to ignore the escape code.
* patch 8.2.2348: no check for modified files after focus gainedv8.2.2348Bram Moolenaar2021-01-141-12/+2
| | | | | Problem: No check for modified files after focus gained. (Mathias Stearn) Solution: Call ui_focus_change().
* patch 8.2.2347: build failure without GUIv8.2.2347Bram Moolenaar2021-01-141-2/+4
| | | | | Problem: Build failure without GUI. Solution: Add #ifdef.
* patch 8.2.2345: no focus events in a terminalv8.2.2345Bram Moolenaar2021-01-141-1/+87
| | | | | | | Problem: No focus events in a terminal. Solution: Add the t_fd and t_fe termcap entries and implement detecting focus events. (Hayaki Saito, Magnus Groß, closes #7673, closes #609, closes #5526)
* patch 8.2.2248: ASAN error on exit with GUIv8.2.2248Bram Moolenaar2020-12-301-3/+4
| | | | | | Problem: ASAN error on exit with GUI. Solution: Check the window still has lines. (Christian Brabandt, closes #7573)
* patch 8.2.2247: VMS: various smaller problemsv8.2.2247Bram Moolenaar2020-12-301-1/+1
| | | | | Problem: VMS: various smaller problems. Solution: Fix VMS building and other problems. (Zoltan Arpadffy)
* patch 8.2.2246: cursor keys not recognized at the hit-Enter promptv8.2.2246Bram Moolenaar2020-12-291-7/+21
| | | | | | | Problem: Cursor keys not recognized at the hit-Enter prompt after executing an external command. Solution: Change the codes for the extra cursor keys. (closes #7562) Tune the delays to avoid test flakyness.
* patch 8.2.2160: various typosv8.2.2160Bram Moolenaar2020-12-181-2/+2
| | | | | Problem: Various typos. Solution: Fix spelling mistakes. (closes #7494)
* patch 8.2.2025: Amiga: Not all colors are used on OS4v8.2.2025Bram Moolenaar2020-11-211-1/+1
| | | | | | Problem: Amiga: Not all colors are used on OS4. Solution: Adjust the #ifdef to include __amigaos4__. (Ola Söder, closes #7328)
* patch 8.2.1930: wrong input if removing shift results in special key codev8.2.1930Bram Moolenaar2020-10-311-2/+9
| | | | | Problem: Wrong input if removing shift results in special key code. Solution: Handle special key codes. (closes #7189)
* patch 8.2.1919: assert_fails() setting emsg_silent changes normal executionv8.2.1919Bram Moolenaar2020-10-281-1/+1
| | | | | Problem: Assert_fails() setting emsg_silent changes normal execution. Solution: Use a separate flag in_assert_fails.
* patch 8.2.1809: mapping some keys with Ctrl does not work properlyv8.2.1809Bram Moolenaar2020-10-071-6/+3
| | | | | Problem: Mapping some keys with Ctrl does not work properly. Solution: For terminal, GTK and Motif handle "@", "^" and "_" codes.
* patch 8.2.1595: cannot easily see what Vim sends to the terminalv8.2.1595Bram Moolenaar2020-09-051-4/+52
| | | | | | Problem: Cannot easily see what Vim sends to the terminal. Solution: Write output to the channel log if it contains terminal control sequences. Avoid warnings for tputs() argument.
* patch 8.2.1513: cannot interrupt shell used for filename expansionv8.2.1513Bram Moolenaar2020-08-231-1/+1
| | | | | | Problem: Cannot interrupt shell used for filename expansion. (Dominique Pellé) Solution: Do set tmode in mch_delay(). (closes #6770)
* patch 8.2.1362: last entry of ":set term=xxx" overwritten by error messagev8.2.1362Bram Moolenaar2020-08-041-0/+5
| | | | | | Problem: Last entry of ":set term=xxx" overwritten by error message when 'cmdheight' is two or more. (Tony Mechelynck) Solution: Output extra line breaks.
* patch 8.2.1215: Atari MiNT support is outdatedv8.2.1215Bram Moolenaar2020-07-141-39/+2
| | | | | Problem: Atari MiNT support is outdated. Solution: Nobody responded this code is still useful, so let's delete it.
* patch 8.2.1164: text cleared by checking terminal properties not redrawnv8.2.1164Bram Moolenaar2020-07-081-0/+2
| | | | | | Problem: Text cleared by checking terminal properties not redrawn. (Alexey Radkov) Solution: Mark the screen characters as invalid. (closes #6422)
* patch 8.2.1019: mapping <M-S-a> does not work in the GUIv8.2.1019Bram Moolenaar2020-06-201-11/+2
| | | | | | Problem: Mapping <M-S-a> does not work in the GUI. Solution: Move the logic to remove the shift modifier to may_remove_shift_modifier() and also use it in the GUI.
* patch 8.2.1015: popup filter gets key with modifier prependedv8.2.1015Bram Moolenaar2020-06-191-2/+5
| | | | | | | Problem: Popup filter gets key with modifier prepended when using modifyOtherKeys. Solution: Remove the shift modifier when it is included in the key, also when the Alt or Meta modifier is used.
* patch 8.2.0979: a couple of screendump tests failv8.2.0979Bram Moolenaar2020-06-141-1/+2
| | | | | Problem: A couple of screendump tests fail. Solution: Do not redraw when clearing t_8u.
* patch 8.2.0978: leaking memory in termcodes testv8.2.0978Bram Moolenaar2020-06-141-1/+1
| | | | | Problem: Leaking memory in termcodes test. Solution: Set t_8u with set_option_value().