Bram Moolenaar [Sun, 10 Feb 2019 21:43:46 +0000 (22:43 +0100)]
patch 8.1.0890: pty allocation wrong if using file for out channel
Problem: Pty allocation wrong if using file for out channel and using null
for in channel and null for error channel.
Solution: Correct using use_file_for_out in condition. (Ozaki Kiichi, closes
#3917)
Bram Moolenaar [Sun, 10 Feb 2019 20:48:25 +0000 (21:48 +0100)]
patch 8.1.0886: compiler warning for NULL pointer and condition always true
Problem: Compiler warning for adding to NULL pointer and a condition that
is always true.
Solution: Check for NULL pointer before adding. Remove useless "if".
(Friedirch, closes #3913)
Bram Moolenaar [Fri, 8 Feb 2019 13:34:10 +0000 (14:34 +0100)]
patch 8.1.0881: can execute shell commands in rvim through interfaces
Problem: Can execute shell commands in rvim through interfaces.
Solution: Disable using interfaces in restricted mode. Allow for writing
file with writefile(), histadd() and a few others.
Bram Moolenaar [Fri, 8 Feb 2019 11:47:03 +0000 (12:47 +0100)]
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)
Bram Moolenaar [Tue, 5 Feb 2019 19:12:06 +0000 (20:12 +0100)]
patch 8.1.0876: completion match not displayed when popup menu is not shown
Problem: Completion match not displayed when popup menu is not shown.
Solution: Call update_screen() when not displaying the popup menu to show
the inserted match. (Ken Takata, Hirohito Higashi)
Bram Moolenaar [Sun, 3 Feb 2019 12:13:18 +0000 (13:13 +0100)]
patch 8.1.0869: Travis CI script is too complicated
Problem: Travis CI script is too complicated.
Solution: Add names to environments. Move appveyor script outside of src
directory. (Ozaki Kiichi, closes #3890)
Bram Moolenaar [Sat, 2 Feb 2019 13:02:30 +0000 (14:02 +0100)]
patch 8.1.0868: crash if triggering garbage collector after a function call
Problem: Crash if triggering garbage collector after a function call.
(Michael Henry)
Solution: Don't call the garbage collector right away, do it later.
(closes #3894)
Bram Moolenaar [Thu, 31 Jan 2019 17:26:10 +0000 (18:26 +0100)]
patch 8.1.0864: cannot have a local value for 'scrolloff' and 'sidescrolloff'
Problem: Cannot have a local value for 'scrolloff' and 'sidescrolloff'.
(Gary Holloway)
Solution: Make 'scrolloff' and 'sidescrolloff' global-local. (mostly by
Aron Widforss, closes #3539)
Bram Moolenaar [Thu, 31 Jan 2019 12:22:32 +0000 (13:22 +0100)]
patch 8.1.0856: when scrolling a window the cursorline is not always updated
Problem: When scrolling a window other than the current one the cursorline
highlighting is not always updated. (Jason Franklin)
Solution: Call redraw_for_cursorline() after scrolling. Only set
w_last_cursorline when drawing the cursor line. Reset the lines
to be redrawn also when redrawing the whole window.
Bram Moolenaar [Wed, 30 Jan 2019 20:41:14 +0000 (21:41 +0100)]
patch 8.1.0849: cursorline highlight is not always updated
Problem: Cursorline highlight is not always updated.
Solution: Set w_last_cursorline when redrawing. Fix resetting cursor flags
when using the popup menu.
Bram Moolenaar [Tue, 29 Jan 2019 21:29:07 +0000 (22:29 +0100)]
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)
Bram Moolenaar [Mon, 28 Jan 2019 19:19:05 +0000 (20:19 +0100)]
patch 8.1.0839: when using VTP wrong colors after a color scheme change
Problem: When using VTP wrong colors after a color scheme change.
Solution: When VTP is active always clear after a color scheme change.
(Nobuhiro Takasaki, closes #3872)
Bram Moolenaar [Sun, 27 Jan 2019 15:55:47 +0000 (16:55 +0100)]
patch 8.1.0834: GUI may wait too long before dealing with messages
Problem: GUI may wait too long before dealing with messages. Returning
early may cause a mapping to time out.
Solution: Use the waiting loop from Unix also for the GUI.
(closes #3817, closes #3824)
Bram Moolenaar [Fri, 25 Jan 2019 21:29:57 +0000 (22:29 +0100)]
patch 8.1.0822: peeking and flushing output slows down execution
Problem: Peeking and flushing output slows down execution.
Solution: Do not update the mode message when global_busy is set. Do not
flush when only peeking for a character. (Ken Takata)
Bram Moolenaar [Fri, 25 Jan 2019 20:01:17 +0000 (21:01 +0100)]
patch 8.1.0820: test for sending large data over channel sometimes fails
Problem: Test for sending large data over channel sometimes fails.
Solution: Handle that the job may have finished early. Also fix that file
changed test doesn't work in the GUI and reduce flakyness. (Ozaki
Kiichi, closes #3861)
Bram Moolenaar [Thu, 24 Jan 2019 22:11:49 +0000 (23:11 +0100)]
patch 8.1.0818: MS-Windows: cannot send large data with ch_sendraw()
Problem: MS-Windows: cannot send large data with ch_sendraw().
Solution: Split write into several WriteFile() calls. (Yasuhiro Matsumoto,
closes #3823)
Bram Moolenaar [Thu, 24 Jan 2019 19:30:52 +0000 (20:30 +0100)]
patch 8.1.0814: :mksession cannot handle a very long 'runtimepath'
Problem: :mksession cannot handle a very long 'runtimepath'. (Timothy
Madden)
Solution: Expand each part separately, instead of the whole option at once.
(Christian Brabandt, closes #3466)
Bram Moolenaar [Wed, 23 Jan 2019 22:00:30 +0000 (23:00 +0100)]
patch 8.1.0800: may use a lot of memory when a function refers itself
Problem: May use a lot of memory when a function creates a cyclic
reference.
Solution: After saving a funccal many times, invoke the garbage collector.
(closes #3835)
Bram Moolenaar [Wed, 23 Jan 2019 21:33:18 +0000 (22:33 +0100)]
patch 8.1.0799: calling deleted function; test doesn't work on Mac
Problem: Calling deleted function; test doesn't work on Mac.
Solution: Wait for the function to be called before deleting it. Use a job
to write to the pty, unless in the GUI. (Ozaki Kiichi,
closes #3854)