Bram Moolenaar
2ce14589f2
patch 8.2.1598: starting a hidden terminal resizes the current window
...
Problem: Starting a hidden terminal resizes the current window.
Solution: Do not resize the current window for a hidden terminal.
(closes #6872 )
2020-09-05 16:08:49 +02:00
Bram Moolenaar
b936b79424
patch 8.2.1589: term_start() options for size are overruled by 'termwinsize'
...
Problem: Term_start() options for size are overruled by 'termwinsize'.
(Sergey Vlasov)
Solution: Set 'termwinsize' to the specified size.
2020-09-04 18:34:09 +02:00
Bram Moolenaar
d58d4f90ae
patch 8.2.1108: mouse left-right scroll is not supported in terminal window
...
Problem: Mouse left-right scroll is not supported in terminal window.
Solution: Implement mouse codes 6 and 7. (Trygve Aaberge, closes #6363 )
2020-07-01 15:49:29 +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
b10090928c
patch 8.2.0862: ":term ++curwin" makes the current buffer hidden
...
Problem: ":term ++curwin" makes the current buffer hidden. (Harm te
Hennepe)
Solution: Do not hide the current buffer. (closes #6170 )
2020-05-31 16:04:42 +02:00
Bram Moolenaar
ca70c07b72
patch 8.2.0853: ml_delete() often called with FALSE argument
...
Problem: ml_delete() often called with FALSE argument.
Solution: Use ml_delete_flags(x, ML_DEL_MESSAGE) when argument is TRUE.
2020-05-30 20:30:46 +02:00
Bram Moolenaar
b42c0d5427
patch 8.2.0839: dropping modifier when putting a character back in typeahead
...
Problem: Dropping modifier when putting a character back in typeahead.
Solution: Add modifier to ins_char_typebuf(). (closes #6158 )
2020-05-29 22:41:41 +02:00
Bram Moolenaar
f4b68e9056
patch 8.2.0831: compiler warnings for integer sizes
...
Problem: Compiler warnings for integer sizes.
Solution: Add type casts. (Mike Williams)
2020-05-27 21:22:14 +02:00
Bram Moolenaar
98f1671cc0
patch 8.2.0808: not enough testing for the terminal window
...
Problem: Not enough testing for the terminal window.
Solution: Add more tests. (Yegappan Lakshmanan, closes #6069 ) Fix memory
leak.
2020-05-22 13:34:01 +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
d863728913
patch 8.2.0802: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revisions 759 - 762.
2020-05-20 18:41:41 +02:00
Bram Moolenaar
eaa3e0dae5
patch 8.2.0801: terminal test fails on Mac
...
Problem: Terminal test fails on Mac.
Solution: Concatenate OSC pieces.
2020-05-19 23:11:00 +02:00
Bram Moolenaar
be593bf135
patch 8.2.0798: libvterm code lags behind the upstream version
...
Problem: Libvterm code lags behind the upstream version.
Solution: Include revisions 755 - 758.
2020-05-19 21:20:04 +02:00
Bram Moolenaar
07b761a012
patch 8.2.0645: MS-Windows terminal: CTRL-C does not get to child job
...
Problem: MS-Windows terminal: CTRL-C does not get to child job.
Solution: Remove CREATE_NEW_PROCESS_GROUP from CreateProcessW(). (Nobuhiro
Takasaki, closes #5987 )
2020-04-26 16:06:01 +02:00
Bram Moolenaar
e297802d6d
patch 8.2.0643: terminal uses brown instead of dark yellow
...
Problem: Terminal uses brown instead of dark yellow. (Romain Lafourcade)
Solution: Use color index 3 instead of 130. (closes #5993 )
2020-04-26 14:47:44 +02:00
Bram Moolenaar
a80faa8930
patch 8.2.0559: clearing a struct is verbose
...
Problem: Clearing a struct is verbose.
Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
2020-04-12 19:37:17 +02:00
Bram Moolenaar
aeea72151c
patch 8.2.0500: using the same loop in many places
...
Problem: Using the same loop in many places.
Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339 )
2020-04-02 18:50:46 +02:00
Bram Moolenaar
360bdbda81
patch 8.2.0472: terminal highlight name is set twice, leaking memory
...
Problem: Terminal highlight name is set twice, leaking memory.
Solution: Delete one.
2020-03-28 22:37:14 +01:00
Bram Moolenaar
83d4790a04
patch 8.2.0455: cannot set the highlight group for a specific terminal
...
Problem: Cannot set the highlight group for a specific terminal.
Solution: Add the "highlight" option to term_start(). (closes #5818 )
2020-03-26 20:34:00 +01:00
Bram Moolenaar
d5bc32df20
patch 8.2.0428: buffer name may leak
...
Problem: Buffer name may leak.
Solution: Free the buffer name before overwriting it.
2020-03-22 19:25:50 +01:00
Bram Moolenaar
5e94a29ebb
patch 8.2.0413: buffer menu does not handle special buffers properly
...
Problem: Buffer menu does not handle special buffers properly.
Solution: Keep a dictionary with buffer names to reliably keep track of
entries.
Also trigger BufFilePre and BufFilePost for command-line and
terminal buffers when the name changes.
2020-03-19 18:46:57 +01:00
Bram Moolenaar
3a05ce63fe
patch 8.2.0373: type of term_sendkeys() is unknown
...
Problem: Type of term_sendkeys() is unknown.
Solution: Just return zero. (closes #5762 )
2020-03-11 19:30:01 +01:00
Bram Moolenaar
cee52204ca
patch 8.2.0371: crash with combination of terminal popup and autocmd
...
Problem: Crash with combination of terminal popup and autocmd.
Solution: Disallow closing a popup that is the current window. Add a check
that the current buffer is valid. (closes #5754 )
2020-03-11 14:19:58 +01:00
Bram Moolenaar
e52e0c89d1
patch 8.2.0328: no redraw when leaving term-normal mode in popup terminal
...
Problem: No redraw when leaving terminal-normal mode in a terminal popup
window.
Solution: Redraw the popup window. (closes #5708 )
2020-02-28 22:20:10 +01:00
Bram Moolenaar
e010c720b2
patch 8.2.0314: short name not set for terminal buffer
...
Problem: Short name not set for terminal buffer.
Solution: Set the short name. (closes #5687 )
2020-02-24 21:37:54 +01:00
Bram Moolenaar
7ba3b91e03
patch 8.2.0237: crash when setting 'wincolor' on finished terminal window
...
Problem: Crash when setting 'wincolor' on finished terminal window.
(Bakudankun)
Solution: Check that the vterm is not NULL. (Yasuhiro Matsumoto, closes
#5607 , closes #5610 )
2020-02-10 20:34:04 +01:00
Bram Moolenaar
d98c0b63ab
patch 8.2.0196: blocking commands for a finished job in a popup window
...
Problem: Blocking commands for a finished job in a popup window.
Solution: Do not block commands if the job has finished. Adjust test.
2020-02-02 15:25:16 +01:00
Bram Moolenaar
219c7d0638
patch 8.2.0191: cannot put a terminal in a popup window
...
Problem: Cannot put a terminal in a popup window.
Solution: Allow opening a terminal in a popup window. It will always have
keyboard focus until closed.
2020-02-01 21:57:29 +01:00
Bram Moolenaar
21109272f5
patch 8.2.0181: problems parsing :term arguments
...
Problem: Problems parsing :term arguments.
Solution: Improve parsing, fix memory leak, add tests. (Ozaki Kiichi,
closes #5536 )
2020-01-30 16:27:20 +01:00
Bram Moolenaar
b09920203a
patch 8.2.0179: still a few places where range() does not work
...
Problem: Still a few places where range() does not work.
Solution: Fix using range() causing problems.
2020-01-30 14:55:42 +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
adf4aa200b
patch 8.1.2291: memory leak when executing command in a terminal
...
Problem: Memory leak when executing command in a terminal.
Solution: Free "argv". (Dominique Pelle, closes #5208 )
2019-11-10 22:36:44 +01:00
Bram Moolenaar
2d6d76f9cd
patch 8.1.2255: ":term ++shell" does not work on MS-Windows
...
Problem: ":term ++shell" does not work on MS-Windows.
Solution: Add MS-Windows support.
2019-11-04 23:18:35 +01:00
Bram Moolenaar
197c6b7da3
patch 8.1.2251: ":term command" may not work without a shell
...
Problem: ":term command" may not work without a shell.
Solution: Add the ++shell option to :term. (closes #3340 )
2019-11-03 23:37:12 +01:00
Bram Moolenaar
1e814bc017
patch 8.1.2248: CTRL-W dot does not work when modifyOtherKeys is enabled
...
Problem: CTRL-W dot does not work in a terminal when modifyOtherKeys is
enabled.
Solution: Use the modifier when needed. Pass the modifier along with the
key to avoid mistakes.
2019-11-03 21:19:41 +01:00
Bram Moolenaar
28ed4dfe1f
patch 8.1.2219: no autocommand for open window with terminal
...
Problem: No autocommand for open window with terminal.
Solution: Add TerminalWinOpen. (Christian Brabandt)
2019-10-26 16:21:40 +02:00
Bram Moolenaar
8f7ab4bd1e
patch 8.1.2204: crash on exit when closing terminals
...
Problem: Crash on exit when closing terminals. (Corey Hickey)
Solution: Actually wait for the job to stop. (closes #5100 )
2019-10-23 23:16:45 +02:00
Bram Moolenaar
4d14bac8e7
patch 8.1.2195: Vim does not exit when the terminal window is last window
...
Problem: Vim does not exit when closing a terminal window and it is the
last window.
Solution: Exit Vim if the closed terminal window is the last one.
(closes #4539 )
2019-10-20 21:15:15 +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
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
1614a14901
patch 8.1.2120: some MB_ macros are more complicated than necessary
...
Problem: Some MB_ macros are more complicated than necessary. (Dominique
Pelle)
Solution: Simplify the macros. Expand inline.
2019-10-06 22:00:13 +02:00
Bram Moolenaar
8617348e21
patch 8.1.2107: various memory leaks reported by asan
...
Problem: Various memory leaks reported by asan.
Solution: Free the memory. (Ozaki Kiichi, closes #5003 )
2019-10-01 17:02:16 +02:00
Bram Moolenaar
d2842ea60b
patch 8.1.2080: the terminal API is limited and can't be disabled
...
Problem: The terminal API is limited and can't be disabled.
Solution: Add term_setapi() to set the function prefix. (Ozaki Kiichi,
closes #2907 )
2019-09-26 23:08:54 +02:00
Bram Moolenaar
e0d749a496
patch 8.1.2076: crash when trying to put a terminal in a popup window
...
Problem: Crash when trying to put a terminal buffer in a popup window.
Solution: Check for NULL buffer. Do not allow putting a terminal in a popup
window.
2019-09-25 22:14:48 +02:00
Bram Moolenaar
bd67aac279
patch 8.1.2064: MS-Windows: compiler warnings for unused arguments
...
Problem: MS-Windows: compiler warnings for unused arguments.
Solution: Add UNUSED. (Yegappan Lakshmanan, closes #4963 )
2019-09-21 23:09:04 +02:00
Bram Moolenaar
840d16fd36
patch 8.1.2021: some global functions can be local to the file
...
Problem: Some global functions can be local to the file.
Solution: Add "static". (Yegappan Lakshmanan, closes #4917 )
2019-09-10 21:27:18 +02:00
Bram Moolenaar
7ee80f7661
patch 8.1.2012: more functions can be used as methods
...
Problem: More functions can be used as methods.
Solution: Make terminal functions usable as a method. Fix term_getattr().
2019-09-08 20:55:06 +02:00
Bram Moolenaar
a4b2699e28
patch 8.1.1848: 'langmap' is not used for CTRL-W command in terminal
...
Problem: 'langmap' is not used for CTRL-W command in terminal.
Solution: Push the command in the typeahead buffer instead of the stuff
buffer. (closes #4814 )
2019-08-15 20:58:54 +02:00
Bram Moolenaar
c6538bcc1c
patch 8.1.1800: function call functions have too many arguments
...
Problem: Function call functions have too many arguments.
Solution: Pass values in a funcexe_T struct.
2019-08-03 18:17:11 +02:00
Bram Moolenaar
5c381eb9e7
patch 8.1.1592: may start file dialog while exiting
...
Problem: May start file dialog while exiting.
Solution: Ignore the "browse" modifier when exiting. (Ozaki Kiichi,
closes #4582
2019-06-25 06:50:31 +02:00