Bram Moolenaar [Wed, 1 Jun 2016 20:21:06 +0000 (22:21 +0200)]
patch 7.4.1866
Problem: Invalid memory access when exiting with EXITFREE defined.
(Dominique Pelle)
Solution: Set "really_exiting" and skip error messages.
Bram Moolenaar [Tue, 31 May 2016 20:31:23 +0000 (22:31 +0200)]
patch 7.4.1862
Problem: string() with repeated argument does not give a result usable by
eval().
Solution: Refactor echo_striong and tv2string(), moving the common part to
echo_string_core(). (Ken Takata)
Bram Moolenaar [Sun, 29 May 2016 14:24:50 +0000 (16:24 +0200)]
patch 7.4.1858
Problem: When a channel writes to a buffer it doesn't find a buffer by the
short name but re-uses it anyway.
Solution: Find buffer also by the short name.
Bram Moolenaar [Sun, 29 May 2016 14:17:08 +0000 (16:17 +0200)]
patch 7.4.1857
Problem: When a channel appends to a buffer that is 'nomodifiable' there is
an error but appending is done anyway.
Solution: Add the 'modifiable' option. Refuse to write to a 'nomodifiable'
when the value is 1.
Bram Moolenaar [Sat, 28 May 2016 13:53:53 +0000 (15:53 +0200)]
patch 7.4.1854
Problem: When setting 'termguicolors' the Ignore highlighting doesn't work.
(Charles Campbell)
Solution: Handle the color names "fg" and "bg" when the GUI isn't running
and no colors are speficied, fall back to black and white.
Bram Moolenaar [Sat, 28 May 2016 12:16:10 +0000 (14:16 +0200)]
patch 7.4.1853
Problem: Crash when job and channel are in the same dict while using
partials. (Luc Hermitte)
Solution: Do not decrement the channel reference count too early.
Bram Moolenaar [Wed, 25 May 2016 20:51:17 +0000 (22:51 +0200)]
patch 7.4.1847
Problem: Getting an item from a NULL dict crashes. Setting a register to a
NULL list crashes. (Nikolai Pavlov, issue #768) Comparing a NULL
dict with a NULL dict fails.
Solution: Properly check for NULL.
Bram Moolenaar [Wed, 25 May 2016 19:23:21 +0000 (21:23 +0200)]
patch 7.4.1844
Problem: Using old function name in comment. More functions should start
with test_.
Solution: Rename function in comment. (Higashi Higashi) Rename
disable_char_avail_for_testing() to test_disable_char_avail().
And alloc_fail() to test_alloc_fail().
Bram Moolenaar [Tue, 24 May 2016 17:59:51 +0000 (19:59 +0200)]
patch 7.4.1841
Problem: The code to reallocate the buffer used for quickfix is repeated.
Solution: Move the code to a function. (Yegappan Lakshmanan, closes #831)
Bram Moolenaar [Tue, 24 May 2016 17:37:29 +0000 (19:37 +0200)]
patch 7.4.1840
Problem: When using packages an "after" directory cannot be used.
Solution: Add the "after" directory of the package to 'runtimepath' if it
exists.
Bram Moolenaar [Tue, 24 May 2016 15:33:34 +0000 (17:33 +0200)]
patch 7.4.1838
Problem: Functions specifically for testing do not sort together.
Solution: Rename garbagecollect_for_testing() to test_garbagecollect_now().
Add test_null_list(), test_null_dict(), etc.
Bram Moolenaar [Tue, 24 May 2016 14:07:40 +0000 (16:07 +0200)]
patch 7.4.1837
Problem: The BufUnload event is triggered twice, when :bunload is used with
set to or .
Solution: Do not trigger the event when ml_mfp is NULL. (Hirohito Higashi)
Bram Moolenaar [Tue, 24 May 2016 13:44:17 +0000 (15:44 +0200)]
patch 7.4.1836
Problem: When using a partial on a dictionary it always gets bound to that
dictionary.
Solution: Make a difference between binding a function to a dictionary
explicitly or automatically.
Bram Moolenaar [Tue, 24 May 2016 09:31:32 +0000 (11:31 +0200)]
patch 7.4.1835
Problem: When splitting and closing a window the status height changes.
Solution: Compute the frame height correctly. (Hirohito Higashi)
Bram Moolenaar [Mon, 9 May 2016 15:20:14 +0000 (17:20 +0200)]
patch 7.4.1826
Problem: Callbacks are invoked when it's not safe. (Andrew Stewart)
Solution: When a channel is to be closed don't invoke callbacks right away,
wait for a safe moment.
Bram Moolenaar [Sun, 8 May 2016 11:21:12 +0000 (13:21 +0200)]
patch 7.4.1824
Problem: When a job is no longer referenced and does not have an exit
callback the process may hang around in defunc state. (Nicola)
Solution: Call job_status() if the job is running and won't get freed
because it might still be useful.
Bram Moolenaar [Sun, 1 May 2016 12:22:16 +0000 (14:22 +0200)]
patch 7.4.1814
Problem: A channel may be garbage collected while it's still being used by
a job. (James McCoy)
Solution: Mark the channel as used if the job is still used. Do the same
for channels that are still used.
patch 7.4.1793
Problem: Some character classes may differ between systems. On OS/X the
regexp test fails.
Solution: Make this less dependent on the system. (idea by Kazunobu Kuriyama)
patch 7.4.1789
Problem: Cannot use ch_read() in the close callback.
Solution: Do not discard the channel if there is readahead. Do not discard
readahead if there is a close callback.
patch 7.4.1787
Problem: When a job ends the close callback is invoked before other
callbacks. On Windows the close callback is not called.
Solution: First invoke out/err callbacks before the close callback.
Make the close callback work on Windows.
patch 7.4.1784
Problem: The termtruecolor feature is enabled differently from many other
features.
Solution: Enable the termtruecolor feature for the big build, not through
configure.
patch 7.4.1783
Problem: The old regexp engine doesn't handle character classes correctly.
(Manuel Ortega)
Solution: Use regmbc() instead of regc(). Add a test.
patch 7.4.1782
Problem: strcharpart() does not work properly with some multi-byte
characters.
Solution: Use mb_cptr2len() instead of mb_char2len(). (Hirohito Higashi)
patch 7.4.1778
Problem: When using the term truecolor feature, the t_8f and t_8b termcap
options are not set by default.
Solution: Move the values to before BT_EXTRA_KEYS. (Christian Brabandt)