]> granicus.if.org Git - vim/log
vim
7 years agopatch 8.0.0912: cannot run a job in a hidden terminal v8.0.0912
Bram Moolenaar [Sat, 12 Aug 2017 12:32:32 +0000 (14:32 +0200)]
patch 8.0.0912: cannot run a job in a hidden terminal

Problem:    Cannot run a job in a hidden terminal.
Solution:   Add option "hidden" and ++hidden.

7 years agopatch 8.0.0911: terminal test takes too long v8.0.0911
Bram Moolenaar [Fri, 11 Aug 2017 20:45:01 +0000 (22:45 +0200)]
patch 8.0.0911: terminal test takes too long

Problem:    Terminal test takes too long.
Solution:   Instead of "sleep 1" use a Python program to briefly sleep.

7 years agopatch 8.0.0910: cannot create a terminal in the current window v8.0.0910
Bram Moolenaar [Fri, 11 Aug 2017 20:27:50 +0000 (22:27 +0200)]
patch 8.0.0910: cannot create a terminal in the current window

Problem:    Cannot create a terminal in the current window.
Solution:   Add option "curwin" and ++curwin.

7 years agopatch 8.0.0909: channel test fails v8.0.0909
Bram Moolenaar [Fri, 11 Aug 2017 20:22:36 +0000 (22:22 +0200)]
patch 8.0.0909: channel test fails

Problem:    Channel test fails.
Solution:   Allow for "cwd" and "env" arguments.

7 years agopatch 8.0.0908: cannot set terminal size with options v8.0.0908
Bram Moolenaar [Fri, 11 Aug 2017 19:51:23 +0000 (21:51 +0200)]
patch 8.0.0908: cannot set terminal size with options

Problem:    Cannot set terminal size with options.
Solution:   Add "term_rows", "term_cols" and "vertical".

7 years agopatch 8.0.0907: with cp932 font names might be misinterpreted v8.0.0907
Bram Moolenaar [Fri, 11 Aug 2017 18:55:55 +0000 (20:55 +0200)]
patch 8.0.0907: with cp932 font names might be misinterpreted

Problem:    With cp932 font names might be misinterpreted.
Solution:   Do not see "_" as a space when it is the second byte of a double
            byte character. (Ken Takata)

7 years agopatch 8.0.0906: don't recognize Couchbase files v8.0.0906
Bram Moolenaar [Fri, 11 Aug 2017 18:50:04 +0000 (20:50 +0200)]
patch 8.0.0906: don't recognize Couchbase files

Problem:    Don't recognize Couchbase files.
Solution:   Add filetype detection. (Eugene Ciurana, closes #1951)

7 years agopatch 8.0.0905: MS-Windows: broken multi-byte characters in the console v8.0.0905
Bram Moolenaar [Fri, 11 Aug 2017 18:37:00 +0000 (20:37 +0200)]
patch 8.0.0905: MS-Windows: broken multi-byte characters in the console

Problem:    MS-Windows: broken multi-byte characters in the console.
Solution:   Restore all regions of the console buffer. (Ken Takata)

7 years agopatch 8.0.0904: cannot set a location list from text v8.0.0904
Bram Moolenaar [Fri, 11 Aug 2017 18:25:26 +0000 (20:25 +0200)]
patch 8.0.0904: cannot set a location list from text

Problem:    Cannot set a location list from text.
Solution:   Add the "text" argument to setqflist(). (Yegappan Lakshmanan)

7 years agopatch 8.0.0903: early return from test function v8.0.0903
Bram Moolenaar [Fri, 11 Aug 2017 18:20:27 +0000 (20:20 +0200)]
patch 8.0.0903: early return from test function

Problem:    Early return from test function.
Solution:   Remove the return.

7 years agoUpdate runtime files.
Bram Moolenaar [Fri, 11 Aug 2017 17:50:37 +0000 (19:50 +0200)]
Update runtime files.

7 years agopatch 8.0.0902: cannot specify directory or environment for a job v8.0.0902
Bram Moolenaar [Fri, 11 Aug 2017 17:12:11 +0000 (19:12 +0200)]
patch 8.0.0902: cannot specify directory or environment for a job

Problem:    Cannot specify directory or environment for a job.
Solution:   Add the "cwd" and "env" arguments to job options. (Yasuhiro
            Matsumoto, closes #1160)

7 years agopatch 8.0.0901: asan suppress file missing from distribution v8.0.0901
Bram Moolenaar [Fri, 11 Aug 2017 15:56:21 +0000 (17:56 +0200)]
patch 8.0.0901: asan suppress file missing from distribution

Problem:    Asan suppress file missing from distribution.
Solution:   Add the file.

7 years agopatch 8.0.0900: :tab options doesn't open a new tab page v8.0.0900
Bram Moolenaar [Fri, 11 Aug 2017 15:15:09 +0000 (17:15 +0200)]
patch 8.0.0900: :tab options doesn't open a new tab page

Problem:    :tab options doesn't open a new tab page. (Aviany)
Solution:   Support the :tab modifier. (closes #1960)

7 years agopatch 8.0.0899: function name mch_stop_job() is confusing v8.0.0899
Bram Moolenaar [Fri, 11 Aug 2017 14:31:54 +0000 (16:31 +0200)]
patch 8.0.0899: function name mch_stop_job() is confusing

Problem:    Function name mch_stop_job() is confusing.
Solution:   Rename to mch_signal_job().

7 years agopatch 8.0.0898: can't use the alternate screen in a terminal window v8.0.0898
Bram Moolenaar [Fri, 11 Aug 2017 14:24:50 +0000 (16:24 +0200)]
patch 8.0.0898: can't use the alternate screen in a terminal window

Problem:    Can't use the alternate screen in a terminal window.
Solution:   Initialze the alternate screen. (Yasuhiro Matsumoto, closes
            #1957)  Add term_getaltscreen().

7 years agopatch 8.0.0897: wrong error message for invalid term_finish value v8.0.0897
Bram Moolenaar [Fri, 11 Aug 2017 13:45:28 +0000 (15:45 +0200)]
patch 8.0.0897: wrong error message for invalid term_finish value

Problem:    Wrong error message for invalid term_finish value
Solution:   Pass the right argument to emsg().

7 years agopatch 8.0.0896: cannot close a terminal window when the job ends v8.0.0896
Bram Moolenaar [Thu, 10 Aug 2017 21:15:19 +0000 (23:15 +0200)]
patch 8.0.0896: cannot close a terminal window when the job ends

Problem:    Cannot automaticlaly close a terminal window when the job ends.
Solution:   Add the ++close argument to :term.  Add the term_finish option to
            term_start(). (Yasuhiro  Matsumoto, closes #1950)  Also add
            ++open.

7 years agopatch 8.0.0895: filetype test fails on MS-Windows v8.0.0895
Bram Moolenaar [Wed, 9 Aug 2017 20:24:52 +0000 (22:24 +0200)]
patch 8.0.0895: filetype test fails on MS-Windows

Problem:    Filetype test fails on MS-Windows.
Solution:   Fix file names.

7 years agopatch 8.0.0894: there is no test for runtime filetype detection v8.0.0894
Bram Moolenaar [Wed, 9 Aug 2017 20:06:48 +0000 (22:06 +0200)]
patch 8.0.0894: there is no test for runtime filetype detection

Problem:    There is no test for runtime filetype detection.
Solution:   Test a list of filetypes from patterns.

7 years agopatch 8.0.0893: cannot get the scroll count of a terminal window v8.0.0893
Bram Moolenaar [Tue, 8 Aug 2017 21:06:46 +0000 (23:06 +0200)]
patch 8.0.0893: cannot get the scroll count of a terminal window

Problem:    Cannot get the scroll count of a terminal window.
Solution:   Add term_getscrolled().

7 years agopatch 8.0.0892: when opening a terminal the pty size doesn't always match v8.0.0892
Bram Moolenaar [Tue, 8 Aug 2017 19:52:22 +0000 (21:52 +0200)]
patch 8.0.0892: when opening a terminal the pty size doesn't always match

Problem:    When opening a terminal the pty size doesn't always match.
Solution:   Update the pty size after opening the terminal. (Ken Takata)

7 years agopatch 8.0.0891: uninitialized memory use with empty line in terminal v8.0.0891
Bram Moolenaar [Mon, 7 Aug 2017 20:08:05 +0000 (22:08 +0200)]
patch 8.0.0891: uninitialized memory use with empty line in terminal

Problem:    Uninitialized memory use with empty line in terminal.
Solution:   Initialize growarray earlier. (Yasuhiro Matsumoto, closes #1949)

7 years agopatch 8.0.0890: still many old style tests v8.0.0890
Bram Moolenaar [Mon, 7 Aug 2017 20:02:30 +0000 (22:02 +0200)]
patch 8.0.0890: still many old style tests

Problem:    Still many old style tests.
Solution:   Convert several tests to new style. (Yegappan Lakshmanan)

7 years agopatch 8.0.0889: gcc gives warnings for uninitialized variables v8.0.0889
Bram Moolenaar [Mon, 7 Aug 2017 19:26:29 +0000 (21:26 +0200)]
patch 8.0.0889: gcc gives warnings for uninitialized variables

Problem:    Gcc gives warnings for uninitialized variables. (Tony Mechelynck)
Solution:   Initialize variables even though they are not used.

7 years agopatch 8.0.0888: compiler warnings with 64 bit build v8.0.0888
Bram Moolenaar [Mon, 7 Aug 2017 19:17:57 +0000 (21:17 +0200)]
patch 8.0.0888: compiler warnings with 64 bit build

Problem:    Compiler warnings with 64 bit build.
Solution:   Add type cast of change the type. (Mike Williams)

7 years agopatch 8.0.0887: can create a logfile in the sandbox v8.0.0887
Bram Moolenaar [Mon, 7 Aug 2017 18:51:51 +0000 (20:51 +0200)]
patch 8.0.0887: can create a logfile in the sandbox

Problem:    Can create a logfile in the sandbox.
Solution:   Disable ch_logfile() in the sandbox. (Yasuhiro Matsumoto)

7 years agopatch 8.0.0886: crash when using ":term ls" v8.0.0886
Bram Moolenaar [Mon, 7 Aug 2017 18:38:42 +0000 (20:38 +0200)]
patch 8.0.0886: crash when using ":term ls"

Problem:    Crash when using ":term ls".
Solution:   Fix line number computation.  Add a test for this.

7 years agopatch 8.0.0885: terminal window scrollback is stored inefficiently v8.0.0885
Bram Moolenaar [Sun, 6 Aug 2017 19:36:22 +0000 (21:36 +0200)]
patch 8.0.0885: terminal window scrollback is stored inefficiently

Problem:    Terminal window scrollback is stored inefficiently.
Solution:   Store the text in the Vim buffer.

7 years agopatch 8.0.0884: can't specify the wait time for term_wait() v8.0.0884
Bram Moolenaar [Sun, 6 Aug 2017 17:07:08 +0000 (19:07 +0200)]
patch 8.0.0884: can't specify the wait time for term_wait()

Problem:    Can't specify the wait time for term_wait().
Solution:   Add an otional second argument.

7 years agopatch 8.0.0883: invalid memory access with nonsensical script v8.0.0883
Bram Moolenaar [Sun, 6 Aug 2017 16:15:45 +0000 (18:15 +0200)]
patch 8.0.0883: invalid memory access with nonsensical script

Problem:    Invalid memory access with nonsensical script.
Solution:   Check "dstlen" being positive. (Dominique Pelle)

7 years agopatch 8.0.0882: term_scrape() and term_getline() require two arguments v8.0.0882
Bram Moolenaar [Sun, 6 Aug 2017 15:53:31 +0000 (17:53 +0200)]
patch 8.0.0882: term_scrape() and term_getline() require two arguments

Problem:    term_scrape() and term_getline() require two arguments but it is
            not enforced.
Solution:   Correct minimal number of arguments. (Hirohito Higashi)  Update
            documentation. (Ken Takata)

7 years agopatch 8.0.0881: win32.mak no longer included in Windows SDK v8.0.0881
Bram Moolenaar [Sun, 6 Aug 2017 15:38:06 +0000 (17:38 +0200)]
patch 8.0.0881: win32.mak no longer included in Windows SDK

Problem:    win32.mak no longer included in Windows SDK.
Solution:   Do not include win32.mak. (Ken Takata)

7 years agopatch 8.0.0880: Travis uses an old Ubuntu version v8.0.0880
Bram Moolenaar [Sun, 6 Aug 2017 15:06:24 +0000 (17:06 +0200)]
patch 8.0.0880: Travis uses an old Ubuntu version

Problem:    Travis uses an old Ubuntu version.
Solution:   Switch from precise to trusty. (Ken Takata, closes #1897)

7 years agopatch 8.0.0879: crash when shifting with huge number v8.0.0879
Bram Moolenaar [Sun, 6 Aug 2017 13:42:06 +0000 (15:42 +0200)]
patch 8.0.0879: crash when shifting with huge number

Problem:    Crash when shifting with huge number.
Solution:   Check for overflow. (Dominique Pelle, closes #1945)

7 years agopatch 8.0.0878: no completion for :mapclear v8.0.0878
Bram Moolenaar [Sun, 6 Aug 2017 13:22:15 +0000 (15:22 +0200)]
patch 8.0.0878: no completion for :mapclear

Problem:    No completion for :mapclear.
Solution:   Add completion (Nobuhiro Takasaki et al. closes #1943)

7 years agopatch 8.0.0877: using CTRL-\ CTRL-N in terminal is inconsistent v8.0.0877
Bram Moolenaar [Sun, 6 Aug 2017 12:57:49 +0000 (14:57 +0200)]
patch 8.0.0877: using CTRL-\ CTRL-N in terminal is inconsistent

Problem:    Using CTRL-\ CTRL-N in terminal is inconsistent.
Solution:   Stay in Normal mode.

7 years agopatch 8.0.0876: backslashes and wildcards in backticks don't work v8.0.0876
Bram Moolenaar [Sat, 5 Aug 2017 21:09:31 +0000 (23:09 +0200)]
patch 8.0.0876: backslashes and wildcards in backticks don't work

Problem:    MS-Windows: Backslashes and wildcards in backticks don't work.
Solution:   Do not handle backslashes inside backticks in the wrong place.
            (Yasuhiro Matsumoto, closes #1942)

7 years agopatch 8.0.0875: crash with weird command sequence v8.0.0875
Bram Moolenaar [Sat, 5 Aug 2017 21:00:53 +0000 (23:00 +0200)]
patch 8.0.0875: crash with weird command sequence

Problem:    Crash with weird command sequence. (Dominique Pelle)
Solution:   Use vim_snprintf() instead of STRCPY().

7 years agopatch 8.0.0874: can't build with terminal feature v8.0.0874
Bram Moolenaar [Sat, 5 Aug 2017 19:13:36 +0000 (21:13 +0200)]
patch 8.0.0874: can't build with terminal feature

Problem:    Can't build with terminal feature.
Solution:   Include change to term_use_loop(). (Dominique Pelle)

7 years agopatch 8.0.0873: in terminal cannot use CTRL-\ CTRL-N to start Visual mode v8.0.0873
Bram Moolenaar [Sat, 5 Aug 2017 18:17:00 +0000 (20:17 +0200)]
patch 8.0.0873: in terminal cannot use CTRL-\ CTRL-N to start Visual mode

Problem:    In a terminal window cannot use CTRL-\ CTRL-N to start Visual
            mode.
Solution:   After CTRL-\ CTRL-N enter Terminal-Normal mode for one command.

7 years agopatch 8.0.0872: no mouse scroll with a terminal window v8.0.0872
Bram Moolenaar [Sat, 5 Aug 2017 17:34:47 +0000 (19:34 +0200)]
patch 8.0.0872: no mouse scroll with a terminal window

Problem:    Using mouse scroll while a terminal window has focus and the mouse
            pointer is on another window does not work.  Same for focus in a
            non-terminal window ahd the mouse pointer is over a terminal
            window.
Solution:   Send the scroll action to the right window.

7 years agopatch 8.0.0871: status line for a terminal window always has "[+]". v8.0.0871
Bram Moolenaar [Sat, 5 Aug 2017 16:19:55 +0000 (18:19 +0200)]
patch 8.0.0871: status line for a terminal window always has "[+]".

Problem:    The status line for a terminal window always has "[+]".
Solution:   Do make the status line include "[+]" for a terminal window.

7 years agopatch 8.0.0870: mouse escape codes sent to terminal unintentionally v8.0.0870
Bram Moolenaar [Sat, 5 Aug 2017 16:02:21 +0000 (18:02 +0200)]
patch 8.0.0870: mouse escape codes sent to terminal unintentionally

Problem:    Mouse escape codes sent to terminal unintentionally.
Solution:   Fix libvterm to send mouse codes only when enabled.

7 years agopatch 8.0.0869: job output is sometimes not displayed in a terminal v8.0.0869
Bram Moolenaar [Sat, 5 Aug 2017 15:40:38 +0000 (17:40 +0200)]
patch 8.0.0869: job output is sometimes not displayed in a terminal

Problem:    Job output is sometimes not displayed in a terminal.
Solution:   Flush output before closing the channel.

7 years agopatch 8.0.0868: cannot specify the terminal size on the command line v8.0.0868
Bram Moolenaar [Sat, 5 Aug 2017 15:13:48 +0000 (17:13 +0200)]
patch 8.0.0868: cannot specify the terminal size on the command line

Problem:    Cannot specify the terminal size on the command line.
Solution:   Use the address range for the terminal size. (Yasuhiro Matsumoto,
            closes #1941)

7 years agopatch 8.0.0867: job and channel in a dict value not quoted v8.0.0867
Bram Moolenaar [Sat, 5 Aug 2017 14:33:56 +0000 (16:33 +0200)]
patch 8.0.0867: job and channel in a dict value not quoted

Problem:    When using a job or channel value as a dict value, when turning it
            into a string the quotes are missing.
Solution:   Add quotes to the job and channel values. (Yasuhiro Matsumoto,
            closes #1930)

7 years agopatch 8.0.0866: Solaris also doesn't have MIN and MAX v8.0.0866
Bram Moolenaar [Sat, 5 Aug 2017 13:16:32 +0000 (15:16 +0200)]
patch 8.0.0866: Solaris also doesn't have MIN and MAX

Problem:    Solaris also doesn't have MIN and MAX.
Solution:   Define MIN and MAX whenever they are not defined. (Ozaki Kiichi,
            closes #1939)

7 years agopatch 8.0.0865: cannot build with channel but without terminal feature v8.0.0865
Bram Moolenaar [Sat, 5 Aug 2017 13:02:05 +0000 (15:02 +0200)]
patch 8.0.0865: cannot build with channel but without terminal feature

Problem:    Cannot build with channel but without terminal feature.
Solution:   Add #ifdef

7 years agopatch 8.0.0864: cannot specify the name of a terminal v8.0.0864
Bram Moolenaar [Sat, 5 Aug 2017 12:50:12 +0000 (14:50 +0200)]
patch 8.0.0864: cannot specify the name of a terminal

Problem:    Cannot specify the name of a terminal.
Solution:   Add the "term_name" option. (Yasuhiro Matsumoto, closes #1936)

7 years agopatch 8.0.0863: a remote command does not work in the terminal window v8.0.0863
Bram Moolenaar [Sat, 5 Aug 2017 12:10:48 +0000 (14:10 +0200)]
patch 8.0.0863: a remote command does not work in the terminal window

Problem:    A remote command starting with CTRL-\ CTRL-N does not work in the
            terminal window. (Christian J. Robinson)
Solution:   Use CTRL-\ CTRL-N as a prefix or a Normal mode command.

7 years agopatch 8.0.0862: file size test fails on MS-Windows v8.0.0862
Bram Moolenaar [Fri, 4 Aug 2017 20:56:39 +0000 (22:56 +0200)]
patch 8.0.0862: file size test fails on MS-Windows

Problem:    File size test fails on MS-Windows.
Solution:   Set fileformat after opening new buffer.  Strip CR.

7 years agopatch 8.0.0861: still many old style tests v8.0.0861
Bram Moolenaar [Fri, 4 Aug 2017 20:37:11 +0000 (22:37 +0200)]
patch 8.0.0861: still many old style tests

Problem:    Still many old style tests.
Solution:   Convert several tests to new style. (Yegappan Lakshmanan)

7 years agopatch 8.0.0860: side effects when channel appends to a buffer v8.0.0860
Bram Moolenaar [Fri, 4 Aug 2017 19:37:54 +0000 (21:37 +0200)]
patch 8.0.0860: side effects when channel appends to a buffer

Problem:    There may be side effects when a channel appends to a buffer that
            is not the current buffer.
Solution:   Properly switch to another buffer before appending. (Yasuhiro
            Matsumoto, closes #1926, closes #1937)

7 years agopatch 8.0.0859: NULL pointer access when term_free_vterm called twice v8.0.0859
Bram Moolenaar [Fri, 4 Aug 2017 18:29:53 +0000 (20:29 +0200)]
patch 8.0.0859: NULL pointer access when term_free_vterm called twice

Problem:    NULL pointer access when term_free_vterm called twice.
Solution:   Return when tl_vterm is NULL. (Yasuhiro Matsumoto, closes #1934)

7 years agopatch 8.0.0858: can exit while a terminal is still running a job v8.0.0858
Bram Moolenaar [Thu, 3 Aug 2017 20:44:55 +0000 (22:44 +0200)]
patch 8.0.0858: can exit while a terminal is still running a job

Problem:    Can exit while a terminal is still running a job.
Solution:   Consider a buffer with a running job like a changed file.

7 years agopatch 8.0.0857: terminal test fails on MS-Windows v8.0.0857
Bram Moolenaar [Thu, 3 Aug 2017 19:08:05 +0000 (21:08 +0200)]
patch 8.0.0857: terminal test fails on MS-Windows

Problem:    Terminal test fails on MS-Windows.
Solution:   Sleep a fraction of a second.

7 years agopatch 8.0.0856: MS-Windows: terminal job doesn't take options v8.0.0856
Bram Moolenaar [Thu, 3 Aug 2017 18:59:29 +0000 (20:59 +0200)]
patch 8.0.0856: MS-Windows: terminal job doesn't take options

Problem:    MS-Windows: terminal job doesn't take options.
Solution:   Call job_set_options(). (Yasuhiro Matsumoto)

7 years agopatch 8.0.0855: MS-Windows: can't get tty name of terminal v8.0.0855
Bram Moolenaar [Thu, 3 Aug 2017 18:52:19 +0000 (20:52 +0200)]
patch 8.0.0855: MS-Windows: can't get tty name of terminal

Problem:    MS-Windows: can't get tty name of terminal.
Solution:   Use the winpty process number. (Yasuhiro Matsumoto, closes #1929)

7 years agopatch 8.0.0854: no redraw after terminal was closed v8.0.0854
Bram Moolenaar [Thu, 3 Aug 2017 18:44:48 +0000 (20:44 +0200)]
patch 8.0.0854: no redraw after terminal was closed

Problem:    No redraw after terminal was closed.
Solution:   Set typebuf_was_filled. (Yasuhiro Matsumoto, closes #1925, closes
            #1924)  Add function to check for messages even when input is
            available.

7 years agopatch 8.0.0853: crash when running terminal with unknown command v8.0.0853
Bram Moolenaar [Thu, 3 Aug 2017 17:22:36 +0000 (19:22 +0200)]
patch 8.0.0853: crash when running terminal with unknown command

Problem:    Crash when running terminal with unknown command.
Solution:   Check "term" not to be NULL. (Yasuhiro Matsumoto, closes #1932)

7 years agopatch 8.0.0852: MS-Windows: possible crash when giving a message on startup v8.0.0852
Bram Moolenaar [Thu, 3 Aug 2017 16:55:00 +0000 (18:55 +0200)]
patch 8.0.0852: MS-Windows: possible crash when giving a message on startup

Problem:    MS-Windows: possible crash when giving a message on startup.
Solution:   Initialize length. (Yasuhiro Matsumoto, closes #1931)

7 years agopatch 8.0.0851: 'smartindent' is used even when 'indentexpr' is set v8.0.0851
Bram Moolenaar [Thu, 3 Aug 2017 15:54:03 +0000 (17:54 +0200)]
patch 8.0.0851: 'smartindent' is used even when 'indentexpr' is set

Problem:    'smartindent' is used even when 'indentexpr' is set.
Solution:   Ignore 'smartindent' when 'indentexpr' is set. (Hirohito Higashi)

7 years agopatch 8.0.0850: MS-Windows: error message while starting up may be broken v8.0.0850
Bram Moolenaar [Thu, 3 Aug 2017 15:37:48 +0000 (17:37 +0200)]
patch 8.0.0850: MS-Windows: error message while starting up may be broken

Problem:    MS-Windows: Depending on the console encoding, an error message
            that is given during startup may be broken.
Solution:   Convert the message to the console codepage. (Yasuhiro Matsumoto,
            closes #1927)

7 years agopatch 8.0.0849: crash when job exit callback wipes the terminal v8.0.0849
Bram Moolenaar [Thu, 3 Aug 2017 15:06:45 +0000 (17:06 +0200)]
patch 8.0.0849: crash when job exit callback wipes the terminal

Problem:    Crash when job exit callback wipes the terminal.
Solution:   Check for b_term to be NULL.  (Yasuhiro Matsumoto, closes #1922)
            Implement options for term_start() to be able to test.
            Make term_wait() more reliable.

7 years agopatch 8.0.0848: using multiple ch_log functions is clumsy v8.0.0848
Bram Moolenaar [Thu, 3 Aug 2017 12:49:29 +0000 (14:49 +0200)]
patch 8.0.0848: using multiple ch_log functions is clumsy

Problem:    Using multiple ch_log functions is clumsy.
Solution:   Use variable arguments. (Ozaki Kiichi, closes #1919)

7 years agopatch 8.0.0847: :argadd without argument can't handle space in file name v8.0.0847
Bram Moolenaar [Thu, 3 Aug 2017 12:29:14 +0000 (14:29 +0200)]
patch 8.0.0847: :argadd without argument can't handle space in file name

Problem:    :argadd without argument can't handle space in file name. (Harm te
            Hennepe)
Solution:   Escape the space. (Yasuhiro Matsumoto, closes #1917)

7 years agopatch 8.0.0846: cannot get the name of the pty of a job v8.0.0846
Bram Moolenaar [Thu, 3 Aug 2017 11:51:25 +0000 (13:51 +0200)]
patch 8.0.0846: cannot get the name of the pty of a job

Problem:    Cannot get the name of the pty of a job.
Solution:   Add the "tty" entry to the job info. (Ozaki Kiichi, closes #1920)
            Add the term_gettty() function.

7 years agopatch 8.0.0845: MS-Windows: missing semicolon in terminal code v8.0.0845
Bram Moolenaar [Thu, 3 Aug 2017 09:55:21 +0000 (11:55 +0200)]
patch 8.0.0845: MS-Windows: missing semicolon in terminal code

Problem:    MS-Windows: missing semicolon in terminal code.
Solution:   Add it. (Naruhiko Nishino, closes #1923)

7 years agopatch 8.0.0844: wrong function prototype because of missing static v8.0.0844
Bram Moolenaar [Wed, 2 Aug 2017 21:18:25 +0000 (23:18 +0200)]
patch 8.0.0844: wrong function prototype because of missing static

Problem:    Wrong function prototype because of missing static.
Solution:   Add "static".

7 years agopatch 8.0.0843: MS-Windows: compiler warning for signed/unsigned v8.0.0843
Bram Moolenaar [Wed, 2 Aug 2017 21:13:27 +0000 (23:13 +0200)]
patch 8.0.0843: MS-Windows: compiler warning for signed/unsigned

Problem:    MS-Windows: compiler warning for signed/unsigned.
Solution:   Add type cast. (Yasuhiro Matsumoto, closes #1912)

7 years agopatch 8.0.0842: using slave pty after closing it v8.0.0842
Bram Moolenaar [Wed, 2 Aug 2017 20:33:28 +0000 (22:33 +0200)]
patch 8.0.0842: using slave pty after closing it

Problem:    Using slave pty after closing it.
Solution:   Do the ioctl() before dup'ing it.

7 years agopatch 8.0.0841: term_getline() may cause a crash v8.0.0841
Bram Moolenaar [Wed, 2 Aug 2017 20:10:34 +0000 (22:10 +0200)]
patch 8.0.0841: term_getline() may cause a crash

Problem:    term_getline() may cause a crash.
Solution:   Check that the row is valid. (Hirohito Higashi)

7 years agopatch 8.0.0840: MS-Windows: fopen() and open() prototypes are wrong v8.0.0840
Bram Moolenaar [Wed, 2 Aug 2017 20:07:12 +0000 (22:07 +0200)]
patch 8.0.0840: MS-Windows: fopen() and open() prototypes are wrong

Problem:    MS-Windows: fopen() and open() prototypes do not match the ones in
            the system header file.  Can't build without FEAT_MBYTE.
Solution:   Add "const".  Move macro to after including protoo.h.

7 years agopatch 8.0.0839: cannot kill a job in a terminal with CTRL-C v8.0.0839
Bram Moolenaar [Tue, 1 Aug 2017 20:24:26 +0000 (22:24 +0200)]
patch 8.0.0839: cannot kill a job in a terminal with CTRL-C

Problem:    Cannot kill a job in a terminal with CTRL-C.
Solution:   Set the controlling tty and send SIGINT. (closes #1910)

7 years agopatch 8.0.0838: buffer hangs around whem terminal window is closed v8.0.0838
Bram Moolenaar [Tue, 1 Aug 2017 19:44:33 +0000 (21:44 +0200)]
patch 8.0.0838: buffer hangs around whem terminal window is closed

Problem:    Buffer hangs around whem terminal window is closed.
Solution:   When the job has ended wipe out a terminal buffer when the window
            is closed.

7 years agopatch 8.0.0837: signs can be drawn on top of console messages v8.0.0837
Bram Moolenaar [Tue, 1 Aug 2017 18:53:30 +0000 (20:53 +0200)]
patch 8.0.0837: signs can be drawn on top of console messages

Problem:    Signs can be drawn on top of console messages.
Solution:   don't redraw at a prompt or when scrolled up. (Christian Brabandt,
            closes #1907)

7 years agoUpdated runtime files
Bram Moolenaar [Tue, 1 Aug 2017 18:44:53 +0000 (20:44 +0200)]
Updated runtime files

7 years agopatch 8.0.0836: can abandon a terminal buffer after making a change v8.0.0836
Bram Moolenaar [Tue, 1 Aug 2017 18:25:22 +0000 (20:25 +0200)]
patch 8.0.0836: can abandon a terminal buffer after making a change

Problem:    When a terminal buffer is changed it can still be accidentally
            abandoned.
Solution:   When making a change reset the 'buftype' option.

7 years agopatch 8.0.0835: translations check with msgfmt does not work v8.0.0835
Bram Moolenaar [Tue, 1 Aug 2017 16:52:55 +0000 (18:52 +0200)]
patch 8.0.0835: translations check with msgfmt does not work

Problem:    Translations check with msgfmt does not work.
Solution:   Add a space before the file name.

7 years agopatch 8.0.0834: can't build without the client-server feature v8.0.0834
Bram Moolenaar [Tue, 1 Aug 2017 16:44:29 +0000 (18:44 +0200)]
patch 8.0.0834: can't build without the client-server feature

Problem:    Can't build without the client-server feature.
Solution:   Add #ifdef.

7 years agopatch 8.0.0833: terminal test fails v8.0.0833
Bram Moolenaar [Tue, 1 Aug 2017 16:41:21 +0000 (18:41 +0200)]
patch 8.0.0833: terminal test fails

Problem:    Terminal test fails.
Solution:   Update the row argument to one based.

7 years agopatch 8.0.0832: terminal function arguments are not consistent v8.0.0832
Bram Moolenaar [Tue, 1 Aug 2017 16:35:38 +0000 (18:35 +0200)]
patch 8.0.0832: terminal function arguments are not consistent

Problem:    Terminal function arguments are not consistent.
Solution:   Use one-based instead of zero-based rows and cols.  Use "." for
            the current row.

7 years agopatch 8.0.0831: with 8 colors the bold attribute is not set properly v8.0.0831
Bram Moolenaar [Tue, 1 Aug 2017 16:04:04 +0000 (18:04 +0200)]
patch 8.0.0831: with 8 colors the bold attribute is not set properly

Problem:    With 8 colors the bold attribute is not set properly.
Solution:   Move setting HL_TABLE() out of lookup_color. (closes #1901)

7 years agopatch 8.0.0830: translating messages is not ideal v8.0.0830
Bram Moolenaar [Tue, 1 Aug 2017 15:40:23 +0000 (17:40 +0200)]
patch 8.0.0830: translating messages is not ideal

Problem:    Translating messages is not ideal.
Solution:   Add a remark about obsolete messages.  Use msgfmt in the check
            script. (Christian Brabandt)

7 years agopatch 8.0.0829: job running in terminal can't communicate with Vim v8.0.0829
Bram Moolenaar [Tue, 1 Aug 2017 15:14:21 +0000 (17:14 +0200)]
patch 8.0.0829: job running in terminal can't communicate with Vim

Problem:    A job running in a terminal window cannot easily communicate with
            the Vim it is running in.
Solution:   Pass v:servername in an environment variable. (closes #1908)

7 years agopatch 8.0.0828: Coverity: may dereference NULL pointer v8.0.0828
Bram Moolenaar [Tue, 1 Aug 2017 13:14:26 +0000 (15:14 +0200)]
patch 8.0.0828: Coverity: may dereference NULL pointer

Problem:    Coverity: may dereference NULL pointer.
Solution:   Bail out if calloc_state() returns NULL.

7 years agopatch 8.0.0827: Coverity: could leak pty file descriptor v8.0.0827
Bram Moolenaar [Tue, 1 Aug 2017 13:08:07 +0000 (15:08 +0200)]
patch 8.0.0827: Coverity: could leak pty file descriptor

Problem:    Coverity: could leak pty file descriptor, theoretically.
Solution:   If channel is NULL, free the file descriptors.

7 years agopatch 8.0.0826: cannot use text objects in Terminal mode v8.0.0826
Bram Moolenaar [Mon, 31 Jul 2017 20:56:24 +0000 (22:56 +0200)]
patch 8.0.0826: cannot use text objects in Terminal mode

Problem:    Cannot use text objects in Terminal mode.
Solution:   Check for pending operator and Visual mode first. (Yasuhiro
            Matsumoto, closes #1906)

7 years agopatch 8.0.0825: not easy to see that a window is a terminal window v8.0.0825
Bram Moolenaar [Mon, 31 Jul 2017 20:29:35 +0000 (22:29 +0200)]
patch 8.0.0825: not easy to see that a window is a terminal window

Problem:    Not easy to see that a window is a terminal window.
Solution:   Add StatusLineTerm highlighting.

7 years agopatch 8.0.0824: in Terminal mode the cursor and screen gets redrawn v8.0.0824
Bram Moolenaar [Mon, 31 Jul 2017 19:18:58 +0000 (21:18 +0200)]
patch 8.0.0824: in Terminal mode the cursor and screen gets redrawn

Problem:    In Terminal mode the cursor and screen gets redrawn when the job
            produces output.
Solution:   Check for tl_terminal_mode. (partly by Yasuhiro Matsumoto, closes
            #1904)

7 years agopatch 8.0.0823: cannot paste text into a terminal window v8.0.0823
Bram Moolenaar [Sun, 30 Jul 2017 19:46:04 +0000 (21:46 +0200)]
patch 8.0.0823: cannot paste text into a terminal window

Problem:    Cannot paste text into a terminal window.
Solution:   Make CTRL-W " work.

7 years agopatch 8.0.0822: Test_with_partial_callback is a tiny bit flaky v8.0.0822
Bram Moolenaar [Sun, 30 Jul 2017 19:37:58 +0000 (21:37 +0200)]
patch 8.0.0822: Test_with_partial_callback is a tiny bit flaky

Problem:    Test_with_partial_callback is a tiny bit flaky.
Solution:   Add it to the list of flaky tests.

7 years agopatch 8.0.0821: cannot get the title and status of a terminal window v8.0.0821
Bram Moolenaar [Sun, 30 Jul 2017 17:38:21 +0000 (19:38 +0200)]
patch 8.0.0821: cannot get the title and status of a terminal window

Problem:    Cannot get the title and status of a terminal window.
Solution:   Implement term_gettitle() and term_getstatus().

7 years agopatch 8.0.0820: GUI: cursor in terminal window lags behind v8.0.0820
Bram Moolenaar [Sun, 30 Jul 2017 17:02:02 +0000 (19:02 +0200)]
patch 8.0.0820: GUI: cursor in terminal window lags behind

Problem:    GUI: cursor in terminal window lags behind.
Solution:   call gui_update_cursor() under different conditions. (Ozaki
            Kiichi, closes #1893)

7 years agopatch 8.0.0819: cursor not positioned in terminal window v8.0.0819
Bram Moolenaar [Sun, 30 Jul 2017 16:47:19 +0000 (18:47 +0200)]
patch 8.0.0819: cursor not positioned in terminal window

Problem:    After changing current window the cursor position in the terminal
            window is not updated.
Solution:   Set w_wrow, w_wcol and w_valid.

7 years agopatch 8.0.0818: cannot get the cursor position of a terminal v8.0.0818
Bram Moolenaar [Sun, 30 Jul 2017 16:28:38 +0000 (18:28 +0200)]
patch 8.0.0818: cannot get the cursor position of a terminal

Problem:    Cannot get the cursor position of a terminal.
Solution:   Add term_getcursor().

7 years agopatch 8.0.0817: cannot get the terminal line at the cursor v8.0.0817
Bram Moolenaar [Sun, 30 Jul 2017 16:19:46 +0000 (18:19 +0200)]
patch 8.0.0817: cannot get the terminal line at the cursor

Problem:    Cannot get the line of a terminal window at the cursor.
Solution:   Make the row argunt optionsl. (Yasuhiro Matsumoto, closes #1898)

7 years agopatch 8.0.0816: crash when using invalid buffer number v8.0.0816
Bram Moolenaar [Sun, 30 Jul 2017 16:02:12 +0000 (18:02 +0200)]
patch 8.0.0816: crash when using invalid buffer number

Problem:    Crash when using invalid buffer number.
Solution:   Check for NULL buffer. (Yasuhiro Matsumoto, closes #1899)

7 years agopatch 8.0.0815: terminal window not correctly updated v8.0.0815
Bram Moolenaar [Sun, 30 Jul 2017 15:45:37 +0000 (17:45 +0200)]
patch 8.0.0815: terminal window not correctly updated

Problem:    Terminal window not correctly updated when 'statusline' invokes
            ":sleep". (NIkolay Pavlov)
Solution:   Clear got_int.  Repeat redrawing when needed.