Bram Moolenaar
ef8c83c550
patch 8.1.1146: in MS-Windows console colors in a terminal window are wrong
...
Problem: In MS-Windows console colors in a terminal window are wrong.
Solution: Use the ansi index also for 16 colors. (Ken Takata)
2019-04-11 11:40:13 +02:00
Bram Moolenaar
16c34c3765
patch 8.1.1131: getwinpos() does not work in the MS-Windows console
...
Problem: getwinpos() does not work in the MS-Windows console.
Solution: Implement getwinpos().
2019-04-06 22:01:24 +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
fa1e90cd4d
patch 8.1.1125: libvterm does not handle the window position report
...
Problem: Libvterm does not handle the window position report.
Solution: Let libvterm call the fallback CSI handler when not handling CSI
sequence. Handle the window position report in Vim.
2019-04-06 17:47:40 +02:00
Bram Moolenaar
abab0b0fdd
patch 8.1.1086: too many curly braces
...
Problem: Too many curly braces.
Solution: Remove curly braces where they are not needed. (Hirohito Higashi,
closes #3982 )
2019-03-30 18:47:01 +01:00
Bram Moolenaar
697005f2cf
patch 8.1.1024: stray log calls in terminal code
...
Problem: Stray log calls in terminal code. (Christian Brabandt)
Solution: Remove the calls.
2019-03-20 20:38:44 +01:00
Bram Moolenaar
8376c3d321
patch 8.1.1018: window cleared when entering Terminal-Normal twice
...
Problem: Window cleared when entering Terminal-Normal twice. (Epheien)
Solution: Don't cleanup scrollback when there is no postponed scrollback.
(Christian Brabandt, closes #4126 )
2019-03-19 20:50:43 +01:00
Bram Moolenaar
32033d2397
patch 8.1.0982: update_cursor() called twice in :shell
...
Problem: update_cursor() called twice in :shell.
Solution: Remove one of the calls. (Yasuhiro Matsumoto, closes #4039 )
2019-02-25 06:28:57 +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
5acd987258
patch 8.1.0929: no error when requesting ConPTY but it's not available
...
Problem: No error when requesting ConPTY but it's not available.
Solution: Add an error message. (Hirohito Higashi, closes #3967 )
2019-02-16 13:35:13 +01:00
Bram Moolenaar
c3ef896608
patch 8.1.0923: terminal dump diff swap does not update file names
...
Problem: Terminal dump diff swap does not update file names.
Solution: Also swap the file name. Add a test.
2019-02-15 00:16:13 +01:00
Bram Moolenaar
81aa0f56f8
patch 8.1.0921: terminal test sometimes fails; using memory after free
...
Problem: Terminal test sometimes fails; using memory after free.
Solution: Fee memory a bit later. Add test to cover this. Disable flaky
screenshot test. (closes #3956 )
2019-02-14 23:23:19 +01:00
Bram Moolenaar
29ae223ddc
patch 8.1.0920: in Terminal-Normal mode job output messes up the window
...
Problem: In Terminal-Normal mode job output messes up the window.
Solution: Postpone scrolling and updating the buffer when in Terminal-Normal
mode.
2019-02-14 21:22:01 +01:00
Bram Moolenaar
18442cbcc0
patch 8.1.0912: MS-Windows: warning for signed/unsigned
...
Problem: MS-Windows: warning for signed/unsigned.
Solution: Add type cast. (Nobuhiro Takasaki, closes #3945 )
2019-02-13 21:22:12 +01:00
Bram Moolenaar
d9ef1b8d77
patch 8.1.0909: MS-Windows: using ConPTY even though it is not stable
...
Problem: MS-Windows: using ConPTY even though it is not stable.
Solution: When ConPTY version is unstable, prefer using winpty. (Ken Takata,
closes #3949 )
2019-02-13 19:23:10 +01:00
Bram Moolenaar
48773f1f83
patch 8.1.0900: ConPTY many crash with 32-bit build
...
Problem: ConPTY many crash with 32-bit build.
Solution: Fix function declarations. (Ken Takata, closes #3943 )
2019-02-12 21:46:46 +01:00
Bram Moolenaar
c6ddce3f2c
patch 8.1.0880: MS-Windows: inconsistent selection of winpty/conpty
...
Problem: MS-Windows: inconsistent selection of winpty/conpty.
Solution: Name option 'termwintype', use ++type argument and "term_pty" for
term_start(). (Hirohito Higashi, closes #3915 )
2019-02-08 12:47:03 +01:00
Bram Moolenaar
aa5df7e312
patch 8.1.0870: Vim doesn't use the new ConPTY support in Windows 10
...
Problem: Vim doesn't use the new ConPTY support in Windows 10.
Solution: Use ConPTY support, if available. (Nobuhiro Takasaki, closes #3794 )
2019-02-03 14:53:10 +01:00
Bram Moolenaar
9172d23d05
patch 8.1.0847: may use terminal after it was cleaned up
...
Problem: May use terminal after it was cleaned up.
Solution: Use the job pointer.
2019-01-29 23:06:54 +01:00
Bram Moolenaar
2a4857a1fc
patch 8.1.0845: having job_status() free the job causes problems
...
Problem: Having job_status() free the job causes problems.
Solution: Do not actually free the job or terminal yet, put it in a list and
free it a bit later. Do not use a terminal after checking the job
status. (closes #3873 )
2019-01-29 22:29:07 +01:00
Bram Moolenaar
1ecc5e4a99
patch 8.1.0824: SunOS/Solaris has a problem with ttys
...
Problem: SunOS/Solaris has a problem with ttys.
Solution: Add mch_isatty() with extra handling for SunOS. (Ozaki Kiichi,
closes #3865 )
2019-01-26 15:12:55 +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
617d7ef046
patch 8.1.0760: no proper test for using 'termencoding'
...
Problem: No proper test for using 'termencoding'.
Solution: Add a screendump test. Fix using double width characters in a
screendump.
2019-01-17 13:04:30 +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
f2d79fa92d
patch 8.1.0685: get_buf_tv() is named inconsistently
...
Problem: get_buf_tv() is named inconsistently.
Solution: Rename it to tv_get_buf(). (Yegappan Lakshmanan, closes #3759 )
2019-01-03 22:19:27 +01:00
Bram Moolenaar
06d6260323
patch 8.1.0645: Coverity warns for possible use of NULL pointer
...
Problem: Coverity warns for possible use of NULL pointer.
Solution: Check return value of vterm_obtain_screen().
2018-12-27 21:27:03 +01:00
Bram Moolenaar
cd929f7ba8
patch 8.1.0633: crash when out of memory while opening a terminal window
...
Problem: Crash when out of memory while opening a terminal window.
Solution: Handle out-of-memory more gracefully.
2018-12-24 21:38:45 +01:00
Bram Moolenaar
528ccfbaa1
patch 8.1.0618: term_getjob() does not return v:null as documented
...
Problem: term_getjob() does not return v:null as documented.
Solution: Do return v:null. (Damien) Add a test.
2018-12-21 20:55:22 +01:00
Bram Moolenaar
d155d7a851
patch 8.1.0615: get_tv function names are not consistent
...
Problem: Get_tv function names are not consistent.
Solution: Rename to tv_get.
2018-12-21 16:04:21 +01:00
Bram Moolenaar
a79fd56923
patch 8.1.0611: crash when using terminal with long composing characters
...
Problem: Crash when using terminal with long composing characters.
Solution: Make space for all characters. (Yasuhiro Matsumoto, closes #3619 ,
closes #3703 )
2018-12-20 20:47:32 +01:00
Bram Moolenaar
8f66717a1f
patch 8.1.0583: using illogical name for get_dict_number()/get_dict_string()
...
Problem: Using illogical name for get_dict_number()/get_dict_string().
Solution: Rename to start with dict_.
2018-12-14 15:38:31 +01:00
Bram Moolenaar
f3aea59afa
patch 8.1.0522: :terminal does not show trailing empty lines
...
Problem: :terminal does not show trailing empty lines.
Solution: Add empty lines. (Hirohito Higashi, closes #3605 )
2018-11-11 22:18:21 +01:00
Bram Moolenaar
0fd6be77de
patch 8.1.0491: if a terminal dump has CR it is considered corrupt
...
Problem: If a terminal dump has CR it is considered corrupt.
Solution: Ignore CR characters. (Nobuhiro Takasaki, closes #3558 )
2018-10-23 21:42:59 +02:00
Bram Moolenaar
29e7fe55be
patch 8.1.0481: when "Terminal" highlight is reverted cursor doesn't show
...
Problem: When "Terminal" highlight is reverted cursor doesn't show.
Solution: Get the colors of the "Terminal" group. (closes #3546 )
2018-10-16 22:13:00 +02:00
Bram Moolenaar
a5c48c2698
patch 8.1.0358: crash when using term_dumpwrite() after the job finished
...
Problem: Crash when using term_dumpwrite() after the job finished.
Solution: Check for a finished job and give an error message.
2018-09-09 19:56:07 +02:00
Bram Moolenaar
98fc8d7b6c
patch 8.1.0326: screen dump does not consider NUL and space equal
...
Problem: Screen dump does not consider NUL and space equal.
Solution: Use temp variables instead of character from cell.
2018-08-24 21:30:28 +02:00
Bram Moolenaar
5db7eec423
patch 8.1.0243: using :term ++close ++hidden closes a window
...
Problem: Using :term ++close ++hidden closes a window. (Marcin Szamotulski)
Solution: Don't close the window if only using it temporarily for unloading
the terminal buffer. (closes #3287 )
2018-08-07 16:33:18 +02:00
Bram Moolenaar
7da1fb5532
patch 8.1.0238: 'buftype' is cleared when using ":term ++hidden cat"
...
Problem: 'buftype' is cleared when using ":term ++hidden cat". (Marcin
Szamotulski)
Solution: Set the "options initialized" flag earlier. (closes #3278 )
2018-08-04 16:54:11 +02:00
Bram Moolenaar
875cf87894
patch 8.1.0171: typing CTRL-W n in a terminal window causes ml_get error
...
Problem: Typing CTRL-W n in a terminal window causes ml_get error.
Solution: When resizing the terminal outside of terminal_loop() make sure
the snapshot is complete.
2018-07-08 20:49:07 +02:00
Bram Moolenaar
e0be167a80
patch 8.1.0166: using dict_add_nr_str() is clumsy
...
Problem: Using dict_add_nr_str() is clumsy.
Solution: Split into two functions. (Ozaki Kiichi, closes #3154 )
2018-07-08 16:50:37 +02:00
Bram Moolenaar
f9c3883b11
patch 8.1.0087: v:shell_error is always zero when using terminal for "!cmd"
...
Problem: v:shell_error is always zero when using terminal for "!cmd".
Solution: Use "exitval" of terminal-job. (Ozaki Kiichi, closes #2994 )
2018-06-19 19:59:20 +02:00
Bram Moolenaar
0ce7413a83
patch 8.1.0076: command getting cleared with CTRL-W : in a terminal window
...
Problem: Command getting cleared with CTRL-W : in a terminal window. (Jason
Franklin)
Solution: Call redraw_after_callback() when editing the command line.
2018-06-18 22:15:50 +02:00
Bram Moolenaar
dcdeaaf150
patch 8.1.0072: use of 'termwinkey' is inconsistent
...
Problem: Use of 'termwinkey' is inconsistent.
Solution: Change the documentation and the behavior. (Ken Takata)
2018-06-17 22:19:12 +02:00
Bram Moolenaar
493359eb3b
patch 8.1.0050: $VIM_TERMINAL is also set when not in a terminal window
...
Problem: $VIM_TERMINAL is also set when not in a terminal window.
Solution: Pass a flag to indicate whether the job runs in a terminal.
2018-06-12 20:25:52 +02:00
Bram Moolenaar
6b810d92a9
patch 8.1.0032: BS in prompt buffer starts new line
...
Problem: BS in prompt buffer starts new line.
Solution: Do not allows BS over the prompt. Make term_sendkeys() handle
special keys. Add a test.
2018-06-04 17:28:44 +02:00
Bram Moolenaar
d45aa55d42
patch 8.1.0016: possible crash in term_wait()
...
Problem: Possible crash in term_wait(). (Dominique Pelle)
Solution: Check for a valid buffer after ui_delay(). (closes #2944 )
2018-05-21 22:50:29 +02:00
Bram Moolenaar
05af9a4191
patch 8.1.0015: cursor color wrong when closing a terminal window
...
Problem: Cursor color wrong when closing a terminal window, ending up in
another terminal window. (Dominique Pelle)
Solution: Bail out of terminal_loop() when the buffer changes.
(closes #2942 )
2018-05-21 18:48:12 +02:00
Bram Moolenaar
4f7fd56b42
patch 8.1.0013: using freed memory when changing terminal cursor color
...
Problem: Using freed memory when changing terminal cursor color.
Solution: Make a copy of the color. (Dominique Pelle, closes #2938 ,
closes #2941 )
2018-05-21 14:55:28 +02:00
Bram Moolenaar
03998f606a
patch 8.0.1850: todo items in source code not visible for users
...
Problem: Todo items in source code not visible for users.
Solution: Move the todo items to the help file.
2018-05-17 13:20:45 +02:00
Bram Moolenaar
4d6cd291ce
patch 8.0.1848: 'termwinscroll' does not work properly
...
Problem: 'termwinscroll' does not work properly. (Dominique Pelle)
Solution: Subtract removed scrollback from the scrollback count. Add a test
for 'termwinscroll'. (closes #2909 )
2018-05-15 23:53:26 +02:00