]> granicus.if.org Git - vim/log
vim
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.

7 years agopatch 8.0.0814: file in Filelist does not exist v8.0.0814
Bram Moolenaar [Sun, 30 Jul 2017 14:58:56 +0000 (16:58 +0200)]
patch 8.0.0814: file in Filelist does not exist

Problem:    File in Filelist does not exist.
Solution:   Remove the line.

7 years agopatch 8.0.0813: cannot use a terminal window while the job is running v8.0.0813
Bram Moolenaar [Sun, 30 Jul 2017 14:52:24 +0000 (16:52 +0200)]
patch 8.0.0813: cannot use a terminal window while the job is running

Problem:    Cannot use Vim commands in a terminal window while the job is
            running.
Solution:   Implement Terminal Normal mode.

7 years agopatch 8.0.0812: terminal window colors shift when 'number' is set v8.0.0812
Bram Moolenaar [Sun, 30 Jul 2017 11:57:41 +0000 (13:57 +0200)]
patch 8.0.0812: terminal window colors shift when 'number' is set

Problem:    Terminal window colors shift when 'number' is set. (Nazri Ramliy)
Solution:   Use vcol instead of col.

7 years agopatch 8.0.0811: MS-Windows: test_expand_dllpath fails v8.0.0811
Bram Moolenaar [Sun, 30 Jul 2017 11:51:37 +0000 (13:51 +0200)]
patch 8.0.0811: MS-Windows: test_expand_dllpath fails

Problem:    MS-Windows: test_expand_dllpath fails.
Solution:   Change backslashes to forward slashes

7 years agopatch 8.0.0810: MS-Windows: tests still hang v8.0.0810
Bram Moolenaar [Sun, 30 Jul 2017 11:28:23 +0000 (13:28 +0200)]
patch 8.0.0810: MS-Windows: tests still hang

Problem:    MS-Windows: tests still hang.
Solution:   Only create the XfakeHOME directory if it does not exist yet.

7 years agopatch 8.0.0809: MS-Windows: tests hang v8.0.0809
Bram Moolenaar [Sat, 29 Jul 2017 21:01:57 +0000 (23:01 +0200)]
patch 8.0.0809: MS-Windows: tests hang

Problem:    MS-Windows: tests hang.
Solution:   Delete the XfakeHOME directory.

7 years agopatch 8.0.0808: cannot build with terminal feature and DEBUG defined v8.0.0808
Bram Moolenaar [Sat, 29 Jul 2017 20:41:18 +0000 (22:41 +0200)]
patch 8.0.0808: cannot build with terminal feature and DEBUG defined

Problem:    Cannot build with terminal feature and DEBUG defined. (Christian
            Brabandt)
Solution:   Use DEBUG_LOG3().

7 years agopatch 8.0.0807: terminal window can't handle mouse buttons v8.0.0807
Bram Moolenaar [Sat, 29 Jul 2017 20:23:40 +0000 (22:23 +0200)]
patch 8.0.0807: terminal window can't handle mouse buttons

Problem:    Terminal window can't handle mouse buttons. (Hirohito Higashi)
Solution:   Implement mouse buttons and many other keys.  Ignore the ones that
            are not implemented.

7 years agopatch 8.0.0806: tests may try to create XfakeHOME twice v8.0.0806
Bram Moolenaar [Sat, 29 Jul 2017 20:21:18 +0000 (22:21 +0200)]
patch 8.0.0806: tests may try to create XfakeHOME twice

Problem:    Tests may try to create XfakeHOME twice.
Solution:   Avoid loading setup.vim twice.

7 years agopatch 8.0.0805: GUI test fails with gnome2 v8.0.0805
Bram Moolenaar [Sat, 29 Jul 2017 18:39:53 +0000 (20:39 +0200)]
patch 8.0.0805: GUI test fails with gnome2

Problem:    GUI test fails with gnome2.
Solution:   Set $HOME to an existing directory.

7 years agopatch 8.0.0804: running tests fails when stdin is /dev/null v8.0.0804
Bram Moolenaar [Sat, 29 Jul 2017 18:16:03 +0000 (20:16 +0200)]
patch 8.0.0804: running tests fails when stdin is /dev/null

Problem:    Running tests fails when stdin is /dev/null. (James McCoy)
Solution:   Do not bail out from getting input if the --not-a-term argument
            was given. (closes #1460)

7 years agopatch 8.0.0804: terminal window functions not yet implemented v8.0.0803
Bram Moolenaar [Sat, 29 Jul 2017 18:15:08 +0000 (20:15 +0200)]
patch 8.0.0804: terminal window functions not yet implemented

Problem:    Terminal window functions not yet implemented.
Solution:   Implement several functions. Add a first test. (Yasuhiro
            Matsumoto, closes #1871)

7 years agopatch 8.0.0802: last line of terminal window has no color v8.0.0802
Bram Moolenaar [Sat, 29 Jul 2017 14:01:53 +0000 (16:01 +0200)]
patch 8.0.0802: last line of terminal window has no color

Problem:    After a job exits the last line in the terminal window does not
            get color attributes.
Solution:   Fix off-by-one error.

7 years agopatch 8.0.0801: terminal window title says "running" after job exits v8.0.0801
Bram Moolenaar [Sat, 29 Jul 2017 13:53:39 +0000 (15:53 +0200)]
patch 8.0.0801: terminal window title says "running" after job exits

Problem:    The terminal window title sometimes still says "running" even
            though the job has finished.
Solution:   Also consider the job finished when the channel has been closed.

7 years agopatch 8.0.0800 v8.0.0800
Bram Moolenaar [Sat, 29 Jul 2017 12:52:43 +0000 (14:52 +0200)]
patch 8.0.0800
Problem:    Terminal window scrollback contents is wrong.
Solution:   Fix handling of multi-byte characters (Yasuhiro Matsumoto) Handle
            empty lines correctly. (closes #1891)

7 years agopatch 8.0.0799: missing semicolon v8.0.0799
Bram Moolenaar [Fri, 28 Jul 2017 21:16:13 +0000 (23:16 +0200)]
patch 8.0.0799: missing semicolon

Problem:    Missing semicolon.
Solution:   Add it.

7 years agopatch 8.0.0798: no highlighting in a terminal window with a finished job v8.0.0798
Bram Moolenaar [Fri, 28 Jul 2017 20:29:35 +0000 (22:29 +0200)]
patch 8.0.0798: no highlighting in a terminal window with a finished job

Problem:    No highlighting in a terminal window with a finished job.
Solution:   Highlight the text.

7 years agopatch 8.0.0797: finished job in terminal window is not handled v8.0.0797
Bram Moolenaar [Fri, 28 Jul 2017 19:51:57 +0000 (21:51 +0200)]
patch 8.0.0797: finished job in terminal window is not handled

Problem:    Finished job in terminal window is not handled.
Solution:   Add the scrollback buffer.  Use it to fill the buffer when the job
            has ended.

7 years agopatch 8.0.0796: no coverage on Travis with clang v8.0.0796
Bram Moolenaar [Fri, 28 Jul 2017 16:01:58 +0000 (18:01 +0200)]
patch 8.0.0796: no coverage on Travis with clang

Problem:    No coverage on Travis with clang.
Solution:   Use a specific coveralls version. (Ozaki Kiichi, closes #1888)

7 years agopatch 8.0.0795: terminal feature does not build with older MSVC v8.0.0795
Bram Moolenaar [Fri, 28 Jul 2017 15:04:15 +0000 (17:04 +0200)]
patch 8.0.0795: terminal feature does not build with older MSVC

Problem:    Terminal feature does not build with older MSVC.
Solution:   Do not use stdint.h.

7 years agopatch 8.0.0794: checking translations fails with multiple NL v8.0.0794
Bram Moolenaar [Fri, 28 Jul 2017 14:46:57 +0000 (16:46 +0200)]
patch 8.0.0794: checking translations fails with multiple NL

Problem:    The script to check translations fails if there is more than one
            NL in one line.
Solution:   Count the number of NL characters.  Make count() accept a string.

7 years agopatch 8.0.0793: using wrong terminal name for terminal window v8.0.0793
Bram Moolenaar [Fri, 28 Jul 2017 13:55:32 +0000 (15:55 +0200)]
patch 8.0.0793: using wrong terminal name for terminal window

Problem:    Using wrong terminal name for terminal window.
Solution:   When 'term' starts with "xterm" use it for $TERM in a terminal
            window.

7 years agopatch 8.0.0792: spell test leaves files behind v8.0.0792
Bram Moolenaar [Fri, 28 Jul 2017 13:38:10 +0000 (15:38 +0200)]
patch 8.0.0792: spell test leaves files behind

Problem:    Spell test leaves files behind.
Solution:   Delete the files.

7 years agopatch 8.0.0791: terminal colors depend on the system v8.0.0791
Bram Moolenaar [Fri, 28 Jul 2017 13:11:38 +0000 (15:11 +0200)]
patch 8.0.0791: terminal colors depend on the system

Problem:    Terminal colors depend on the system.
Solution:   Use the highlight color lookup tables.

7 years agopatch 8.0.0790: MSVC compiler warning for strncpy in libvterm v8.0.0790
Bram Moolenaar [Fri, 28 Jul 2017 12:19:19 +0000 (14:19 +0200)]
patch 8.0.0790: MSVC compiler warning for strncpy in libvterm

Problem:    MSVC compiler warning for strncpy in libvterm.
Solution:   Add a define to stop the warnings. (Mike Williams)

7 years agopatch 8.0.0789: splitting terminal window has resizing problems v8.0.0789
Bram Moolenaar [Fri, 28 Jul 2017 12:17:34 +0000 (14:17 +0200)]
patch 8.0.0789: splitting terminal window has resizing problems

Problem:    When splitting a terminal window where the terminal follows the
            size of the window doesn't work.
Solution:   Use the size of the smallest window. (Yasuhiro Matsumoto, closes
            #1885)

7 years agopatch 8.0.0788: MS-Windows: cannot build with terminal feature v8.0.0788
Bram Moolenaar [Fri, 28 Jul 2017 11:51:30 +0000 (13:51 +0200)]
patch 8.0.0788: MS-Windows: cannot build with terminal feature

Problem:    MS-Windows: cannot build with terminal feature.
Solution:   Move set_ref_in_term(). (Ozaki Kiichi)

7 years agopatch 8.0.0787: cannot send CTRL-W command to terminal job v8.0.0787
Bram Moolenaar [Fri, 28 Jul 2017 11:48:34 +0000 (13:48 +0200)]
patch 8.0.0787: cannot send CTRL-W command to terminal job

Problem:    Cannot send CTRL-W command to terminal job.
Solution:   Make CTRL-W . a prefex for sending a key to the job.

7 years agopatch 8.0.0786: build failures on Travis v8.0.0786
Bram Moolenaar [Fri, 28 Jul 2017 11:45:16 +0000 (13:45 +0200)]
patch 8.0.0786: build failures on Travis

Problem:    Build failures on Travis.
Solution:   Go back to precise termporarily.  Disable coverage with clang.

7 years agoDo not run coverage with clang, currently fails.
Bram Moolenaar [Fri, 28 Jul 2017 11:41:22 +0000 (13:41 +0200)]
Do not run coverage with clang, currently fails.

7 years agoDo not invoke rvm reset
Bram Moolenaar [Fri, 28 Jul 2017 11:12:19 +0000 (13:12 +0200)]
Do not invoke rvm reset

7 years agoRemove ruby-dev from travis config.
Bram Moolenaar [Fri, 28 Jul 2017 10:45:40 +0000 (12:45 +0200)]
Remove ruby-dev from travis config.

7 years agoSwitch travis back to precise temporarily
Bram Moolenaar [Fri, 28 Jul 2017 10:22:55 +0000 (12:22 +0200)]
Switch travis back to precise temporarily

7 years agopatch 8.0.0785: wildcards are not expanded for :terminal v8.0.0785
Bram Moolenaar [Thu, 27 Jul 2017 20:57:00 +0000 (22:57 +0200)]
patch 8.0.0785: wildcards are not expanded for :terminal

Problem:    Wildcards are not expanded for :terminal.
Solution:   Add FILES to the command flags. (Yasuhiro Matsumoto, closes #1883)
            Also complete commands.

7 years agopatch 8.0.0784: job of terminal may be garbage collected v8.0.0784
Bram Moolenaar [Thu, 27 Jul 2017 20:14:59 +0000 (22:14 +0200)]
patch 8.0.0784: job of terminal may be garbage collected

Problem:    Job of terminal may be garbage collected.
Solution:   Set copyID on job in terminal. (Ozaki Kiichi)

7 years agopatch 8.0.0783: job of terminal may be freed too early v8.0.0783
Bram Moolenaar [Thu, 27 Jul 2017 20:07:35 +0000 (22:07 +0200)]
patch 8.0.0783: job of terminal may be freed too early

Problem:    Job of terminal may be freed too early.
Solution:   Increment job refcount. (Yasuhiro Matsumoto)

7 years agopatch 8.0.0782: using freed memory in quickfix code v8.0.0782
Bram Moolenaar [Thu, 27 Jul 2017 20:03:50 +0000 (22:03 +0200)]
patch 8.0.0782: using freed memory in quickfix code

Problem:    Using freed memory in quickfix code. (Dominique Pelle)
Solution:   Handle a help window differently. (Yegappan Lakshmanan)

7 years agopatch 8.0.0781: MS-Windows: memory leak when using :terminal v8.0.0781
Bram Moolenaar [Thu, 27 Jul 2017 19:46:43 +0000 (21:46 +0200)]
patch 8.0.0781: MS-Windows: memory leak when using :terminal

Problem:    MS-Windows: Memory leak when using :terminal.
Solution:   Handle failures properly. (Ken Takata)

7 years agopatch 8.0.0780: build failure on Travis v8.0.0780
Bram Moolenaar [Thu, 27 Jul 2017 19:29:31 +0000 (21:29 +0200)]
patch 8.0.0780: build failure on Travis

Problem:    Build failure on Travis.
Solution:   Set distribution explicitly. Use Lua and Ruby dev. (Ken Takata,
            closes #1884)

7 years agopatch 8.0.0779: :term without an argument uses empty buffer name v8.0.0779
Bram Moolenaar [Wed, 26 Jul 2017 21:11:01 +0000 (23:11 +0200)]
patch 8.0.0779: :term without an argument uses empty buffer name

Problem:    :term without an argument uses empty buffer name but runs the
            snell.
Solution:   Change the command to the shell earlier.

7 years agopatch 8.0.0778: in a terminal the cursor may be hidden v8.0.0778
Bram Moolenaar [Wed, 26 Jul 2017 19:49:37 +0000 (21:49 +0200)]
patch 8.0.0778: in a terminal the cursor may be hidden

Problem:    In a terminal the cursor may be hidden and screen updating lags
            behind. (Nazri Ramliy)
Solution:   Switch the cursor on and flush output when needed. (Ozaki Kiichi)

7 years agopatch 8.0.0777: compiler warnings with 64 bit compiler v8.0.0777
Bram Moolenaar [Wed, 26 Jul 2017 19:29:34 +0000 (21:29 +0200)]
patch 8.0.0777: compiler warnings with 64 bit compiler

Problem:    Compiler warnings with 64 bit compiler.
Solution:   Add type casts. (Mike Williams)

7 years agopatch 8.0.0776: function prototypes missing without the quickfix feature v8.0.0776
Bram Moolenaar [Tue, 25 Jul 2017 21:31:12 +0000 (23:31 +0200)]
patch 8.0.0776: function prototypes missing without the quickfix feature

Problem:    Function prototypes missing without the quickfix feature. (Tony
            Mechelynck)
Solution:   Move non-quickfix functions to buffer.c.

7 years agopatch 8.0.0775: in a terminal the cursor is updated too often v8.0.0775
Bram Moolenaar [Tue, 25 Jul 2017 21:08:47 +0000 (23:08 +0200)]
patch 8.0.0775: in a terminal the cursor is updated too often

Problem:    In a terminal the cursor is updated too often.
Solution:   Only flush when needed. (Yasuhiro Matsumoto).  Remeber whether the
            cursor is visible. (closes #1873)

7 years agopatch 8.0.0774: build failure without the multi-byte feature v8.0.0774
Bram Moolenaar [Tue, 25 Jul 2017 20:06:43 +0000 (22:06 +0200)]
patch 8.0.0774: build failure without the multi-byte feature

Problem:    Build failure without the multi-byte feature on HPUX.
Solution:   Move #ifdefs. (John Marriott)

7 years agopatch 8.0.0773: mixing 32 and 64 bit libvterm builds fails v8.0.0773
Bram Moolenaar [Tue, 25 Jul 2017 19:49:35 +0000 (21:49 +0200)]
patch 8.0.0773: mixing 32 and 64 bit libvterm builds fails

Problem:    Mixing 32 and 64 bit libvterm builds fails.
Solution:   Use OUTDIR. (Ken Takata)

7 years agopatch 8.0.0772: other stdbool.h dependencies in libvterm v8.0.0772
Bram Moolenaar [Tue, 25 Jul 2017 19:34:46 +0000 (21:34 +0200)]
patch 8.0.0772: other stdbool.h dependencies in libvterm

Problem:    Other stdbool.h dependencies in libvterm.
Solution:   Remove the dependency and use TRUE/FALSE/int. (Ken Takata)

7 years agopatch 8.0.0771: cursor in terminal window not always updated in GUI v8.0.0771
Bram Moolenaar [Mon, 24 Jul 2017 21:36:41 +0000 (23:36 +0200)]
patch 8.0.0771: cursor in terminal window not always updated in GUI

Problem:    Cursor in a terminal window not always updated in the GUI.
Solution:   Call gui_update_cursor(). (Yasuhiro Matsumoto, closes #1868)

7 years agopatch 8.0.0770: compiler warning for missing field initializer v8.0.0770
Bram Moolenaar [Mon, 24 Jul 2017 21:05:35 +0000 (23:05 +0200)]
patch 8.0.0770: compiler warning for missing field initializer

Problem:    Compiler warning for missing field initializer.
Solution:   Add two more values. (Yegappan Lakshmanan)

7 years agopatch 8.0.0769: build problems with terminal on MS-Windows v8.0.0769
Bram Moolenaar [Mon, 24 Jul 2017 20:29:21 +0000 (22:29 +0200)]
patch 8.0.0769: build problems with terminal on MS-Windows

Problem:    Build problems with terminal on MS-Windows using MSVC.
Solution:   Remove stdbool.h dependency. Only use ScreenLinesUC when it was
            allocated. Fix typos. (Ken Takata)

7 years agopatch 8.0.0768: terminal window status shows "[Scratch]" v8.0.0768
Bram Moolenaar [Mon, 24 Jul 2017 19:44:43 +0000 (21:44 +0200)]
patch 8.0.0768: terminal window status shows "[Scratch]"

Problem:    Terminal window status shows "[Scratch]".
Solution:   Show "[Terminal]" when no title was set. (Yasuhiro Matsumoto)
            Store the terminal title that vterm sends and use it.  Update the
            special buffer name.  (closes #1869)

7 years agopatch 8.0.0767: build failure with Athena and Motif v8.0.0767
Bram Moolenaar [Mon, 24 Jul 2017 18:15:30 +0000 (20:15 +0200)]
patch 8.0.0767: build failure with Athena and Motif

Problem:    Build failure with Athena and Motif.
Solution:   Move local variable delcarations. (Kazunobu Kuriyama)

7 years agopatch 8.0.0766: option test fails with +terminal feature v8.0.0766
Bram Moolenaar [Mon, 24 Jul 2017 18:03:01 +0000 (20:03 +0200)]
patch 8.0.0766: option test fails with +terminal feature

Problem:    Option test fails with +terminal feature.
Solution:   Fix using the right option when checking the value.

7 years agopatch 8.0.0765: build fails with tiny features v8.0.0765
Bram Moolenaar [Sun, 23 Jul 2017 20:57:00 +0000 (22:57 +0200)]
patch 8.0.0765: build fails with tiny features

Problem:    Build fails with tiny features.
Solution:   Adjust #ifdef. (John Marriott)

7 years agopatch 8.0.0764: 'termkey' does not work yet v8.0.0764
Bram Moolenaar [Sun, 23 Jul 2017 20:50:51 +0000 (22:50 +0200)]
patch 8.0.0764: 'termkey' does not work yet

Problem:    'termkey' does not work yet.
Solution:   Implement 'termkey'.

7 years agoDocumentation updates.
Bram Moolenaar [Sun, 23 Jul 2017 20:12:20 +0000 (22:12 +0200)]
Documentation updates.

7 years agopatch 8.0.0763: libvterm can be improved v8.0.0763
Bram Moolenaar [Sun, 23 Jul 2017 20:07:27 +0000 (22:07 +0200)]
patch 8.0.0763: libvterm can be improved

Problem:    Libvterm can be improved.
Solution:   Various small improvements, more comments.

7 years agopatch 8.0.0762: ml_get error with :psearch in buffer without a name v8.0.0762
Bram Moolenaar [Sun, 23 Jul 2017 20:02:02 +0000 (22:02 +0200)]
patch 8.0.0762: ml_get error with :psearch in buffer without a name

Problem:    ml_get error with :psearch in buffer without a name. (Dominique
            Pelle)
Solution:   Use the buffer number instead of the file name.  Check the cursor
            position.

7 years agopatch 8.0.0761: options not set properly for a terminal buffer v8.0.0761
Bram Moolenaar [Sun, 23 Jul 2017 17:51:01 +0000 (19:51 +0200)]
patch 8.0.0761: options not set properly for a terminal buffer

Problem:    Options of a buffer for a terminal window are not set properly.
Solution:   Add "terminal" value for 'buftype'.  Make 'buftype' and
            'bufhidden' not depend on the quickfix feature.
            Also set the buffer name and show "running" or "finished" in the
            window title.

7 years agopatch 8.0.0760: terminal window colors wrong with 'termguicolors' v8.0.0760
Bram Moolenaar [Sun, 23 Jul 2017 16:07:56 +0000 (18:07 +0200)]
patch 8.0.0760: terminal window colors wrong with 'termguicolors'

Problem:    Terminal window colors wrong with 'termguicolors'.
Solution:   Add 'termguicolors' support.

7 years agopatch 8.0.0759: MS-Windows: terminal does not adjust size v8.0.0759
Bram Moolenaar [Sun, 23 Jul 2017 15:27:54 +0000 (17:27 +0200)]
patch 8.0.0759: MS-Windows: terminal does not adjust size

Problem:    MS-Windows: terminal does not adjust size to the Vim window size.
Solution:   Add a call to winpty_set_size(). (Yasuhiro Matsumoto, closes #1863)

7 years agopatch 8.0.0758: possible crash when using a terminal window v8.0.0758
Bram Moolenaar [Sun, 23 Jul 2017 15:22:35 +0000 (17:22 +0200)]
patch 8.0.0758: possible crash when using a terminal window

Problem:    Possible crash when using a terminal window.
Solution:   Check for NULL pointers. (Yasuhiro Matsumoto, closes #1864)

7 years agopatch 8.0.0757: libvterm MSVC Makefile not included in the distribution v8.0.0757
Bram Moolenaar [Sun, 23 Jul 2017 15:15:18 +0000 (17:15 +0200)]
patch 8.0.0757: libvterm MSVC Makefile not included in the distribution

Problem:    Libvterm MSVC Makefile not included in the distribution.
Solution:   Add the file to the list.

7 years agopatch 8.0.0756: cannot build libvterm with MSVC v8.0.0756
Bram Moolenaar [Sun, 23 Jul 2017 15:11:15 +0000 (17:11 +0200)]
patch 8.0.0756: cannot build libvterm with MSVC

Problem:    Cannot build libvterm with MSVC.
Solution:   Add an MSVC Makefile to libvterm. (Yasuhiro Matsumoto, closes
            #1865)