Bram Moolenaar
8dff4cbf6d
patch 8.2.0977: t_8u is made empty for the wrong terminals
...
Problem: t_8u is made empty for the wrong terminals. (Dominique Pelle)
Solution: Invert the check for TPR_YES. (closes #6254 )
2020-06-14 14:34:16 +02:00
Bram Moolenaar
142499de33
patch 8.2.0971: build with tiny features fails
...
Problem: Build with tiny features fails.
Solution: Add #ifdef.
2020-06-13 16:39:31 +02:00
Bram Moolenaar
0c0eddd3dd
patch 8.2.0970: terminal properties are not available in Vim script
...
Problem: Terminal properties are not available in Vim script.
Solution: Add the terminalprops() function.
2020-06-13 15:47:25 +02:00
Bram Moolenaar
71ccd03ee8
patch 8.2.0967: unnecessary type casts for vim_strnsave()
...
Problem: Unnecessary type casts for vim_strnsave().
Solution: Remove the type casts.
2020-06-12 22:59:11 +02:00
Bram Moolenaar
517f00f788
patch 8.2.0941: detecting terminal properties is unstructured
...
Problem: Detecting terminal properties is unstructured.
Solution: Add a table with terminal properties. Set properties when a
terminal is detected.
2020-06-10 12:15:51 +02:00
Bram Moolenaar
0ca8b5ba7b
patch 8.2.0940: build failure with tiny features
...
Problem: Build failure with tiny features.
Solution: Add #ifdef. Add UNUSED. A bit more cleaning up.
2020-06-09 21:35:36 +02:00
Bram Moolenaar
218cb0fb62
patch 8.2.0939: checking for term escape sequences is long and confusing
...
Problem: checking for term escape sequences is long and confusing
Solution: Refactor code into separate functions.
2020-06-09 21:26:36 +02:00
Bram Moolenaar
a45551a535
patch 8.2.0936: some terminals misinterpret the code for getting cursor style
...
Problem: Some terminals misinterpret the code for getting cursor style.
Solution: Send a sequence to the terminal and check the result. (IWAMOTO
Kouichi, closes #2126 ) Merged with current code.
2020-06-09 15:57:37 +02:00
Bram Moolenaar
975a880a13
patch 8.2.0916: mapping with partly modifyOtherKeys code does not work
...
Problem: Mapping with partly modifyOtherKeys code does not work.
Solution: If there is no mapping with a separate modifier include the
modifier in the key and then try mapping again. (closes #6200 )
2020-06-06 22:36:24 +02:00
Bram Moolenaar
ea563cc22b
patch 8.2.0906: when setting 'termguicolors' SpellBad is no longer red
...
Problem: When setting 'termguicolors' SpellBad is no longer red.
Solution: Only use the RGB guisp color for cterm when using the "underline"
or "undercurl" attributes to avoid the background color to be
cleared. Also make t_8u empty when the termresponse indicates a
real xterm. (closes #6207 )
2020-06-05 19:36:57 +02:00
Bram Moolenaar
e023e88bed
patch 8.2.0863: cannot set a separate color for underline/undercurl
...
Problem: Cannot set a separate color for underline/undercurl.
Solution: Add the t_AU and t_8u termcap codes. (Timur Celik, closes #6011 )
2020-05-31 16:42:30 +02:00
Bram Moolenaar
ebe9d34aa0
patch 8.2.0855: GUI tests fail because the test doesn't use a modifier
...
Problem: GUI tests fail because the test doesn't use a modifier.
Solution: Add "\{xxx}" to be able to encode a modifier.
2020-05-30 21:52:54 +02:00
Bram Moolenaar
041c7107f2
patch 8.2.0849: BeOS code is not maintained and probably unused
...
Problem: BeOS code is not maintained and probably unused.
Solution: Remove the BeOS code. (Emir Sari, closes #5817 )
2020-05-30 18:14:57 +02:00
Bram Moolenaar
06b7b58455
patch 8.2.0848: MS-Windows: the Windows terminal code has some flaws
...
Problem: MS-Windows: the Windows terminal code has some flaws.
Solution: Do not redraw the right edge of the screen. Remove the background
color trick. Flush the screen output buffer often. (Nobuhiro
Takasaki, #5546 )
2020-05-30 17:49:25 +02:00
Bram Moolenaar
87202264f8
patch 8.2.0816: terminal test fails when compiled with Athena
...
Problem: Terminal test fails when compiled with Athena.
Solution: Do give an error when the GUI is not running. (hint by Dominique
Pelle, closes #5928 , closes #6132 )
2020-05-24 17:23:45 +02:00
Bram Moolenaar
e5886ccb51
patch 8.2.0804: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revision 727, but add the index instead of switching
between RGB and indexed.
2020-05-21 20:10:04 +02:00
Bram Moolenaar
f4e16ae041
patch 8.2.0779: tmode_T not used everywhere
...
Problem: Tmode_T not used everywhere.
Solution: Also use tmode_T for settmode().
2020-05-17 16:10:11 +02:00
Bram Moolenaar
26e86445bf
patch 8.2.0774: t_TI and t_TE are output when using 'visualbell'
...
Problem: t_TI and t_TE are output when using 'visualbell'. (Dominique
Pelle)
Solution: Do not change the terminal mode for a short sleep. Do not output
t_TI and t_TE when switching to/from TMODE_SLEEP. Make tmode an
enum.
2020-05-17 14:06:16 +02:00
Bram Moolenaar
3b1f18f785
patch 8.2.0773: switching to raw mode every time ":" is used
...
Problem: Switching to raw mode every time ":" is used.
Solution: When executing a shell set cur_tmode to TMODE_UNKNOWN, so that the
next time TMODE_RAW is used it is set, but not every time.
2020-05-16 23:15:08 +02:00
Bram Moolenaar
645e3fe3fe
patch 8.2.0767: modifyOtherKeys active when using a shell command in autocmd
...
Problem: ModifyOtherKeys active when using a shell command in autocmd.
Solution: Output T_CTE when going to cooked mode. (closes 5617)
2020-05-16 15:05:04 +02:00
Bram Moolenaar
759d81549c
patch 8.2.0646: t_Co uses the value of $COLORS in the GUI
...
Problem: t_Co uses the value of $COLORS in the GUI. (Masato Nishihata)
Solution: Ignore $COLORS for the GUI. (closes #5992 )
2020-04-26 16:52:49 +02:00
Bram Moolenaar
314ca7cbb4
patch 8.2.0588: Putty does not use "sgr" 'ttymouse' by default
...
Problem: Putty does not use "sgr" 'ttymouse' by default.
Solution: Make "sgr" the default for Putty. (Christian Brabandt,
closes #5942 )
2020-04-17 16:40:31 +02:00
Bram Moolenaar
acc770a10f
patch 8.2.0554: the GUI doesn't set t_Co
...
Problem: The GUI doesn't set t_Co.
Solution: In the GUI set t_Co to 256 * 256 * 256. (closes #5903 )
2020-04-12 15:11:06 +02:00
Bram Moolenaar
b3f740695a
patch 8.2.0320: no Haiku support
...
Problem: No Haiku support.
Solution: Add support for Haiku. (Emir Sari, closes #5605 )
2020-02-26 16:16:53 +01:00
Bram Moolenaar
0c81d1b112
patch 8.2.0302: setting 'term' may cause error in TermChanged autocommand
...
Problem: Setting 'term' may cause error in TermChanged autocommand.
Solution: Use aucmd_prepbuf() to switch to the buffer where the autocommand
is to be executed. (closes #5682 )
2020-02-22 22:45:55 +01:00
Bram Moolenaar
f4140488c7
patch 8.2.0260: several lines of code are duplicated
...
Problem: Several lines of code are duplicated.
Solution: Move duplicated code to a function. (Yegappan Lakshmanan,
closes #5330 )
2020-02-15 23:06:45 +01:00
Bram Moolenaar
d02e508a18
patch 8.2.0231: silent system command may clear the screen
...
Problem: Silent system command may clear the screen.
Solution: Do not clear the screen in t_te.
2020-02-08 14:22:53 +01:00
Bram Moolenaar
4b96df5a01
patch 8.2.0156: various typos in source files and tests
...
Problem: Various typos in source files and tests.
Solution: Fix the typos. (Emir Sari, closes #5532 )
2020-01-26 22:00:26 +01:00
Bram Moolenaar
7f51bbe0d1
patch 8.2.0148: mapping related function in wrong source file
...
Problem: Mapping related function in wrong source file.
Solution: Move the function. Add a few more test cases. (Yegappan
Lakshmanan, closes #5528 )
2020-01-24 20:21:19 +01:00
Bram Moolenaar
1a47ae32cd
patch 8.2.0056: execution stack is incomplete and inefficient
...
Problem: Execution stack is incomplete and inefficient.
Solution: Introduce a proper execution stack and use it instead of
sourcing_name/sourcing_lnum. Create a string only when used.
2019-12-29 23:04:25 +01:00
Bram Moolenaar
6b649ac4fd
patch 8.1.2406: leaking memory in test_paste and test_registers
...
Problem: Leaking memory in test_paste and test_registers.
Solution: Free the old title. Don't copy expr_line.
2019-12-07 17:47:22 +01:00
Bram Moolenaar
0d6f5d9740
patch 8.1.2395: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-12-05 21:33:15 +01:00
Bram Moolenaar
fc4ea2a72d
patch 8.1.2350: other text for CTRL-V in Insert mode with modifyOtherKeys
...
Problem: Other text for CTRL-V in Insert mode with modifyOtherKeys.
Solution: Convert the Escape sequence back to key as if modifyOtherKeys is
not set, and use CTRL-SHIFT-V to get the Escape sequence itself.
(closes #5254 )
2019-11-26 19:33:22 +01:00
Bram Moolenaar
7bae0b1bc8
patch 8.1.2331: the option.c file is still very big
...
Problem: The option.c file is still very big.
Solution: Move a few functions to where they fit better. (Yegappan
Lakshmanan, closes #4895 )
2019-11-21 22:14:18 +01:00
Bram Moolenaar
eda1da0c9a
patch 8.1.2313: debugging where a delay comes from is not easy
...
Problem: Debugging where a delay comes from is not easy.
Solution: Use different values when calling ui_delay().
2019-11-17 17:06:33 +01:00
Bram Moolenaar
ec6f735012
patch 8.1.2209: LF in escape codes may be expanded to CR-LF
...
Problem: LF in escape codes may be expanded to CR-LF.
Solution: Do not expand LF in escape codes to CR-LF. (closes #5107 )
2019-10-24 17:49:27 +02:00
Bram Moolenaar
4b57018ee4
patch 8.1.2194: modifyOtherKeys is not enabled by default
...
Problem: ModifyOtherKeys is not enabled by default.
Solution: Add t_TI and t_TE to the builtin xterm termcap.
2019-10-20 19:53:22 +02:00
Bram Moolenaar
89577b3b3e
patch 8.1.2174: screen not recognized as supporting "sgr" mouse codes
...
Problem: Screen not recognized as supporting "sgr" mouse codes.
Solution: Recognize screen 4.7. (Jordan Christiansen, closes #5042 )
2019-10-18 21:26:05 +02:00
Bram Moolenaar
a1cb1d1dce
patch 8.1.2171: mouse support not always available
...
Problem: Mouse support not always available.
Solution: Enable mouse support also in tiny version. Do not define
FEAT_MOUSE_XTERM on MS-Windows (didn't really work).
2019-10-17 23:00:07 +02:00
Bram Moolenaar
0d2c4bf171
patch 8.1.2170: cannot build without the +termresponse feature
...
Problem: Cannot build without the +termresponse feature.
Solution: Add #ifdef.
2019-10-17 22:17:02 +02:00
Bram Moolenaar
3cea8a9a51
patch 8.1.2169: terminal flags are never reset
...
Problem: Terminal flags are never reset.
Solution: Reset the flags when setting 'term'.
2019-10-17 21:55:24 +02:00
Bram Moolenaar
459fd785e4
patch 8.1.2145: cannot map <C-H> when modifyOtherKeys is enabled
...
Problem: Cannot map <C-H> when modifyOtherKeys is enabled.
Solution: Add the <C-H> mapping twice, both with modifier and as 0x08. Use
only the first one when modifyOtherKeys has been detected.
2019-10-13 16:43:39 +02:00
Bram Moolenaar
171a921b51
patch 8.1.2144: side effects when using t_ti to enable modifyOtherKeys
...
Problem: Side effects when using t_ti to enable modifyOtherKeys.
Solution: Add t_TI and t_TE.
2019-10-12 21:08:59 +02:00
Bram Moolenaar
d1e2f3984a
patch 8.1.2142: some key mappings do not work with modifyOtherKeys
...
Problem: Some key mappings do not work with modifyOtherKeys.
Solution: Remove the Shift modifier if it is already included in the key.
2019-10-12 18:22:50 +02:00
Bram Moolenaar
6a0299d8f4
patch 8.1.2134: modifier keys are not always recognized
...
Problem: Modifier keys are not always recognized.
Solution: Handle key codes generated by xterm with modifyOtherKeys set.
Add this to libvterm so we can debug it.
2019-10-10 21:14:03 +02:00
Bram Moolenaar
c3e555b22f
patch 8.1.2123: parsing CSI sequence is messy
...
Problem: Parsing CSI sequence is messy.
Solution: Generalize parsing a CSI sequence.
2019-10-08 20:15:39 +02:00
Bram Moolenaar
b8ff5c271e
patch 8.1.2070: mouse code is spread out
...
Problem: Mouse code is spread out.
Solution: Move mouse terminal code parsing to mouse.c. (Yegappan Lakshmanan,
closes #4966 )
2019-09-23 21:16:54 +02:00
Bram Moolenaar
b20b9e14dd
patch 8.1.2062: the mouse code is spread out
...
Problem: The mouse code is spread out.
Solution: Move all the mouse code to mouse.c. (Yegappan Lakshmanan,
closes #4959 )
2019-09-21 20:48:04 +02:00
Bram Moolenaar
e2c453d38f
patch 8.1.1901: the +insert_expand feature is not always available
...
Problem: The +insert_expand feature is not always available.
Solution: Graduate the +insert_expand feature.
2019-08-21 14:37:09 +02:00
Bram Moolenaar
5843f5f37b
patch 8.1.1891: functions used in one file are global
...
Problem: Functions used in one file are global.
Solution: Add "static". (Yegappan Lakshmanan, closes #4840 )
2019-08-20 20:13:45 +02:00