Bram Moolenaar [Sat, 11 Jun 2016 12:47:40 +0000 (14:47 +0200)]
patch 7.4.1917
Problem: History lines read from viminfo in different encoding than when
writing are not converted.
Solution: Convert the history lines.
Bram Moolenaar [Fri, 10 Jun 2016 19:52:42 +0000 (21:52 +0200)]
patch 7.4.1915
Problem: The effect of the PopupMenu autocommand isn't directly visible.
Solution: Call gui_update_menus() before displaying the popup menu. (Shane
Harper, closs #855)
Bram Moolenaar [Fri, 10 Jun 2016 17:49:14 +0000 (19:49 +0200)]
patch 7.4.1914
Problem: Executing autocommands while using the signal stack has a high
chance of crashing Vim.
Solution: Don't invoke autocommands when on the signal stack.
Bram Moolenaar [Thu, 9 Jun 2016 20:53:01 +0000 (22:53 +0200)]
patch 7.4.1913
Problem: When ":doautocmd" is used modelines are used even when no
autocommands were executed. (Daniel Hahler)
Solution: Skip processing modelines. (closes #854)
Bram Moolenaar [Tue, 7 Jun 2016 20:16:36 +0000 (22:16 +0200)]
patch 7.4.1906
Problem: Collapsing channel buffers and searching for NL does not work
properly. (Xavier de Gary, Ramel Eshed)
Solution: Do not assume the buffer contains a NUL or not. Change NUL bytes
to NL to avoid the string is truncated.
Bram Moolenaar [Mon, 6 Jun 2016 19:07:52 +0000 (21:07 +0200)]
patch 7.4.1903
Problem: When writing viminfo merging current history with history in
viminfo may drop recent history entries.
Solution: Add new format for viminfo lines, use it for history entries. Use
a timestamp for ordering the entries. Add test_settime().
Add the viminfo version. Does not do merging on timestamp yet.
Bram Moolenaar [Sat, 4 Jun 2016 20:36:17 +0000 (22:36 +0200)]
patch 7.4.1901
Problem: Win32: the "Disabled" menu items would appear enabled.
Solution: Use submenu_id if there is a parent. (Shane Harper, closes #834)
Bram Moolenaar [Sat, 4 Jun 2016 18:14:07 +0000 (20:14 +0200)]
patch 7.4.1896
Problem: Invoking mark_adjust() when adding a new line below the last line
is pointless.
Solution: Skip calling mark_adjust() when appending below the last line.
Bram Moolenaar [Sat, 4 Jun 2016 16:49:36 +0000 (18:49 +0200)]
patch 7.4.1895
Problem: Cannot use a window ID where a window number is expected.
Solution: Add LOWEST_WIN_ID, so that the window ID can be used where a
number is expected.
Bram Moolenaar [Sat, 4 Jun 2016 14:24:32 +0000 (16:24 +0200)]
patch 7.4.1890
Problem: GUI: When channel data is received the cursor blinking is
interrupted. (Ramel Eshed)
Solution: Don't update the cursor when it is blinking.
Bram Moolenaar [Sat, 4 Jun 2016 11:32:35 +0000 (13:32 +0200)]
patch 7.4.1886
Problem: When waiting for a character is interrupted by receiving channel
data and the first character of a mapping was typed, the mapping
times out. (Ramel Eshed)
Solution: When dealing with channel data don't return from mch_inchar().
Bram Moolenaar [Fri, 3 Jun 2016 17:43:16 +0000 (19:43 +0200)]
patch 7.4.1885
Problem: MinGW console build defaults to not having +channel.
Solution: Include the channel feature if building with huge features. (Ken
Takata)
Bram Moolenaar [Fri, 3 Jun 2016 17:05:49 +0000 (19:05 +0200)]
patch 7.4.1884
Problem: Updating marks in a quickfix list is very slow when the list is
long.
Solution: Only update marks if the buffer has a quickfix entry.
Bram Moolenaar [Thu, 2 Jun 2016 18:26:41 +0000 (20:26 +0200)]
patch 7.4.1880
Problem: MS-Windows console build defaults to not having +channel.
Solution: Include the channel feature if building with huge features.
Bram Moolenaar [Thu, 2 Jun 2016 18:05:26 +0000 (20:05 +0200)]
patch 7.4.1878
Problem: Whether a job has exited isn't detected until a character is
typed. After calling exit_cb the cursor is in the wrong place.
Solution: Don't wait forever for a character to be typed when there is a
pending job. Update the screen if neede after calling exit_cb.
Bram Moolenaar [Thu, 2 Jun 2016 16:37:05 +0000 (18:37 +0200)]
patch 7.4.1876
Problem: Typing "k" at the hit-enter prompt has no effect.
Solution: Don't assume recursive use of the prompt if a character was typed.
(Hirohito Higashi)
Bram Moolenaar [Thu, 2 Jun 2016 15:46:20 +0000 (17:46 +0200)]
patch 7.4.1875
Problem: Comparing functions and partials doesn't work well.
Solution: Add tests. (Nikolai Pavlov) Compare the dict and arguments in the
partial. (closes #813)
Bram Moolenaar [Thu, 2 Jun 2016 12:30:04 +0000 (14:30 +0200)]
patch 7.4.1873
Problem: When a callback adds a timer the GUI doesn't use it until later.
(Ramel Eshed)
Solution: Return early if a callback adds a timer.
Bram Moolenaar [Thu, 2 Jun 2016 11:40:04 +0000 (13:40 +0200)]
patch 7.4.1871
Problem: Appending to the quickfix list while the quickfix window is open
is very slow.
Solution: Do not delete all the lines, only append the new ones. Avoid
using a window while updating the list. (closes #841)
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.