| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: No Haiku support.
Solution: Add support for Haiku. (Emir Sari, closes #5605)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
Problem: Several lines of code are duplicated.
Solution: Move duplicated code to a function. (Yegappan Lakshmanan,
closes #5330)
|
|
|
|
|
| |
Problem: Silent system command may clear the screen.
Solution: Do not clear the screen in t_te.
|
|
|
|
|
| |
Problem: Various typos in source files and tests.
Solution: Fix the typos. (Emir Sari, closes #5532)
|
|
|
|
|
|
| |
Problem: Mapping related function in wrong source file.
Solution: Move the function. Add a few more test cases. (Yegappan
Lakshmanan, closes #5528)
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Leaking memory in test_paste and test_registers.
Solution: Free the old title. Don't copy expr_line.
|
|
|
|
|
| |
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
Problem: The option.c file is still very big.
Solution: Move a few functions to where they fit better. (Yegappan
Lakshmanan, closes #4895)
|
|
|
|
|
| |
Problem: Debugging where a delay comes from is not easy.
Solution: Use different values when calling ui_delay().
|
|
|
|
|
| |
Problem: LF in escape codes may be expanded to CR-LF.
Solution: Do not expand LF in escape codes to CR-LF. (closes #5107)
|
|
|
|
|
| |
Problem: ModifyOtherKeys is not enabled by default.
Solution: Add t_TI and t_TE to the builtin xterm termcap.
|
|
|
|
|
| |
Problem: Screen not recognized as supporting "sgr" mouse codes.
Solution: Recognize screen 4.7. (Jordan Christiansen, closes #5042)
|
|
|
|
|
|
| |
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).
|
|
|
|
|
| |
Problem: Cannot build without the +termresponse feature.
Solution: Add #ifdef.
|
|
|
|
|
| |
Problem: Terminal flags are never reset.
Solution: Reset the flags when setting 'term'.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Side effects when using t_ti to enable modifyOtherKeys.
Solution: Add t_TI and t_TE.
|
|
|
|
|
| |
Problem: Some key mappings do not work with modifyOtherKeys.
Solution: Remove the Shift modifier if it is already included in the key.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Parsing CSI sequence is messy.
Solution: Generalize parsing a CSI sequence.
|
|
|
|
|
|
| |
Problem: Mouse code is spread out.
Solution: Move mouse terminal code parsing to mouse.c. (Yegappan Lakshmanan,
closes #4966)
|
|
|
|
|
|
| |
Problem: The mouse code is spread out.
Solution: Move all the mouse code to mouse.c. (Yegappan Lakshmanan,
closes #4959)
|
|
|
|
|
| |
Problem: The +insert_expand feature is not always available.
Solution: Graduate the +insert_expand feature.
|
|
|
|
|
| |
Problem: Functions used in one file are global.
Solution: Add "static". (Yegappan Lakshmanan, closes #4840)
|
|
|
|
|
| |
Problem: The +cmdline_compl feature is not in the tiny version.
Solution: Graduate the +cmdline_compl feature.
|
|
|
|
|
|
| |
Problem: Deleted match highlighting not updated in other window.
Solution: Mark the window for refresh. (closes #4720) Also fix that
ambi-width check clears with wrong attributes.
|
|
|
|
|
|
| |
Problem: GUI resize may cause changing Rows at a bad time. (Dominique
Pelle)
Solution: Postpone resizing while updating the screen.
|
|
|
|
|
| |
Problem: Length for two-digit rgb termresponse is off by one.
Solution: Adjust the length. (closes #4494)
|
|
|
|
|
| |
Problem: 'background' not correctly set for 2-digit rgb termresponse.
Solution: Adjust what digit to use. (closes #4495)
|
|
|
|
|
| |
Problem: No test for checking the cursor style response.
Solution: Add a simple test. Also include the missing part of 8.1.1464.
|
|
|
|
|
| |
Problem: Only 4-digit rgb termresponse is recognized.
Solution: Also recognize 2-digit rgb response. (closes #4486)
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Unnecessary type casts.
Solution: Remove type casts from alloc() and lalloc() calls. (Mike Williams)
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: 'mouse' option is reset when using GPM mouse.
Solution: Add flag for GPM mouse.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Crash when using invalid command line argument.
Solution: Check for options not being initialized.
|
|
|
|
|
|
| |
Problem: When GPM mouse support is enabled double clicks in xterm do not
work.
Solution: Use KS_GPM_MOUSE for GPM mouse events.
|
|
|
|
|
| |
Problem: Mapping completion contains dead code.
Solution: Remove the code.
|
|
|
|
|
| |
Problem: No test for completion of mapping keys.
Solution: Add a test. Also clean up the code.
|
|
|
|
|
|
| |
Problem: Cannot handle negative mouse coordinate from urxvt.
Solution: Accept '-' where a digit is expected. (Vincent Vinel,
closes #4326)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Typos and small problems in source files.
Solution: Small fixes.
|
|
|
|
|
| |
Problem: getwinpos() doesn't work in terminal on MS-Windows console.
Solution: Adjust #ifdefs. Disable test for MS-Windows console.
|
|
|
|
|
|
| |
Problem: Long escape sequences may be split up.
Solution: Assume esccape sequences can be up to 80 bytes long. (Nobuhiro
Takasaki, closes #4196)
|
|
|
|
|
| |
Problem: MS-Windows: cannot distinguish BS and CTRL-H.
Solution: Add code for VK_BACK. (Linwei, closes #1833)
|