Bram Moolenaar [Wed, 11 Jan 2017 21:40:19 +0000 (22:40 +0100)]
patch 8.0.0172: command line window does not work
Problem: The command selected in the command line window is not executed.
(Andrey Starodubtsev)
Solution: Save and restore the command line at a lower level. (closes #1370)
Bram Moolenaar [Tue, 10 Jan 2017 15:12:29 +0000 (16:12 +0100)]
patch 8.0.0167: str2nr()/str2float() fail with negative values
Problem: str2nr() and str2float() do not always work with negative values.
Solution: Be more flexible about handling signs. (LemonBoy, closes #1332)
Add more tests.
Bram Moolenaar [Tue, 10 Jan 2017 14:15:37 +0000 (15:15 +0100)]
patch 8.0.0166: JSON with a duplicate key gives an internal error
Problem: JSON with a duplicate key gives an internal error. (Lcd)
Solution: Give a normal error. Avoid an error when parsing JSON from a
remote client fails.
Bram Moolenaar [Sun, 8 Jan 2017 19:00:04 +0000 (20:00 +0100)]
patch 8.0.0159: crash on startup when updating tabline
Problem: Using a NULL pointer when using feedkeys() to trigger drawing a
tabline.
Solution: Skip drawing a tabline if TabPageIdxs is NULL. (Dominique Pelle)
Also fix recursing into getcmdline() from the cmd window.
Bram Moolenaar [Sun, 8 Jan 2017 18:25:40 +0000 (19:25 +0100)]
patch 8.0.0158: float funcion test fails on MS-Windows
Problem: On MS-Windows some float functions return a different value when
passed unusual values. strtod() doesn't work for "inf" and "nan".
Solution: Accept both results. Fix str2float() for MS-Windows. Also
reorder assert function arguments.
Bram Moolenaar [Sun, 8 Jan 2017 16:46:20 +0000 (17:46 +0100)]
patch 8.0.0155: ubsan complains about NULL pointer
Problem: When sorting zero elements a NULL pointer is passed to qsort(),
which ubsan warns for.
Solution: Don't call qsort() if there are no elements. (Dominique Pelle)
Bram Moolenaar [Sun, 8 Jan 2017 12:26:03 +0000 (13:26 +0100)]
patch 8.0.0151: passing buffer content to system() is clumsy
Problem: To pass buffer content to system() and systemlist() one has to
first create a string or list.
Solution: Allow passing a buffer number. (LemonBoy, closes #1240)
Bram Moolenaar [Sat, 7 Jan 2017 19:39:53 +0000 (20:39 +0100)]
patch 8.0.0150: completion for :filter does not skip the pattern
Problem: When the pattern of :filter does not have a separator then
completion of the command fails.
Solution: Skip over the pattern. (Ozaki Kiichi, clodes #1299)
Bram Moolenaar [Sat, 7 Jan 2017 15:14:57 +0000 (16:14 +0100)]
patch 8.0.0149: :earlier does not work after reading the undo file
Problem: ":earlier" and ":later" do not work after startup or reading the
undo file.
Solution: Use absolute time stamps instead of relative to the Vim start
time. (Christian Brabandt, Pavel Juhas, closes #1300, closes
#1254)
Bram Moolenaar [Sat, 7 Jan 2017 14:39:43 +0000 (15:39 +0100)]
patch 8.0.0148: wrong indent in C preprocessor with line continuation
Problem: When a C preprocessor statement has two line continuations the
following line does not have the right indent. (Ken Takata)
Solution: Add the indent of the previous continuation line. (Hirohito
Higashi)
Bram Moolenaar [Fri, 6 Jan 2017 17:16:19 +0000 (18:16 +0100)]
patch 8.0.0146: termguicolors uses wrong colors on MS-Windows with ConEmu
Problem: When using 'termguicolors' on MS-Windows the RGB definition causes
the colors to be wrong.
Solution: Undefined RGB and use our own. (Gabriel Barta)
Bram Moolenaar [Mon, 2 Jan 2017 16:31:24 +0000 (17:31 +0100)]
patch 8.0.0140
Problem: Pasting inserted text in Visual mode does not work properly.
(Matthew Malcomson)
Solution: Stop Visual mode before stuffing the inserted text. (Christian
Brabandt, from neovim #5709)
Bram Moolenaar [Mon, 2 Jan 2017 14:26:27 +0000 (15:26 +0100)]
patch 8.0.0137
Problem: When 'maxfuncdepth' is set above 200 the nesting is limited to
200. (Brett Stahlman)
Solution: Allow for Ex command recursion depending on 'maxfuncdepth'.
Bram Moolenaar [Mon, 2 Jan 2017 13:57:08 +0000 (14:57 +0100)]
patch 8.0.0136
Problem: When using indent folding and changing indent the wrong fold is
opened. (Jonathan Fudger)
Solution: Open the fold under the cursor a bit later. (Christian Brabandt)
Bram Moolenaar [Mon, 2 Jan 2017 13:27:34 +0000 (14:27 +0100)]
patch 8.0.0135
Problem: An address relative to the current line, ":.,+3y", does not work
properly on a closed fold. (Efraim Yawitz)
Solution: Correct for including the closed fold. (Christian Brabandt)
Bram Moolenaar [Fri, 9 Dec 2016 18:36:56 +0000 (19:36 +0100)]
patch 8.0.0127
Problem: Cancelling completion still inserts text when formatting is done
for 'textwidth'. (lacygoill)
Solution: Don't format when CTRL-E was typed. (Hirohito Higashi,
closes #1312)
Bram Moolenaar [Fri, 9 Dec 2016 18:28:48 +0000 (19:28 +0100)]
patch 8.0.0126
Problem: Display problem with 'foldcolumn' and a wide character.
(esiegerman)
Solution: Don't use "extra" but an allocated buffer. (Christian Brabandt,
closes #1310)
Bram Moolenaar [Thu, 1 Dec 2016 20:32:32 +0000 (21:32 +0100)]
patch 8.0.0116
Problem: When reading English help and using CTRl-] the language from
'helplang' is used.
Solution: Make help tag jumps keep the language. (Tatsuki, test by Hirohito
Higashi, closes #1249)
Bram Moolenaar [Thu, 1 Dec 2016 19:37:47 +0000 (20:37 +0100)]
patch 8.0.0115
Problem: When building with Cygwin libwinpthread isn't found.
Solution: Link winpthread statically. (jmmerz, closes #1255, closes #1256)
Bram Moolenaar [Thu, 1 Dec 2016 19:18:50 +0000 (20:18 +0100)]
patch 8.0.0113
Problem: MS-Windows: message box to prompt for saving changes may appear on
the wrong monitor.
Solution: Adjust the CenterWindow function. (Ken Takata)
Bram Moolenaar [Thu, 1 Dec 2016 16:25:20 +0000 (17:25 +0100)]
patch 8.0.0109
Problem: Still checking if memcmp() exists while every system should have
it now.
Solution: Remove vim_memcmp(). (James McCoy, closes #1295)
Bram Moolenaar [Thu, 1 Dec 2016 14:34:12 +0000 (15:34 +0100)]
patch 8.0.0107
Problem: When reading channel output in a timer, messages may go missing.
(Skywind)
Solution: Add the "drop" option. Write error messages in the channel log.
Don't have ch_canread() check for the channel being open.
Bram Moolenaar [Tue, 29 Nov 2016 20:54:44 +0000 (21:54 +0100)]
patch 8.0.0105
Problem: When using ch_read() with zero timeout, can't tell the difference
between reading an empty line and nothing available.
Solution: Add ch_canread().
Bram Moolenaar [Fri, 25 Nov 2016 21:04:13 +0000 (22:04 +0100)]
patch 8.0.0102
Problem: Cannot set 'dictionary' to a path.
Solution: Allow for slash and backslash. Add a test (partly by Daisuke
Suzuki, closes #1279, closes #1284)
Bram Moolenaar [Thu, 24 Nov 2016 16:47:07 +0000 (17:47 +0100)]
patch 8.0.0099
Problem: Popup menu always appears above the cursor when it is in the lower
half of the screen. (Matt Gardner)
Solution: Compute the available space better. (Hirohito Higashi,
closes #1241)
Bram Moolenaar [Thu, 24 Nov 2016 16:22:50 +0000 (17:22 +0100)]
patch 8.0.0097
Problem: When a channel callback consumes a lot of time Vim becomes
unresponsive. (skywind)
Solution: Bail out of checking channel readahead after 100 msec.
Bram Moolenaar [Thu, 24 Nov 2016 14:09:07 +0000 (15:09 +0100)]
patch 8.0.0096
Problem: When the input or output is not a tty Vim appears to hang.
Solution: Add the --ttyfail argument. Also add the "ttyin" and "ttyout"
features to be able to check in Vim script.
Bram Moolenaar [Thu, 17 Nov 2016 20:30:27 +0000 (21:30 +0100)]
patch 8.0.0092
Problem: C indenting does not support nested namespaces that C++ 17 has.
Solution: Add check that passes double colon inside a name. (Pauli, closes
#1214)
Bram Moolenaar [Thu, 17 Nov 2016 18:48:18 +0000 (19:48 +0100)]
patch 8.0.0091
Problem: Test_help_complete sometimes fails in MS-Windows console.
Solution: Use getcompletion() instead of feedkeys() and command line
completion. (Hirohito Higashi)
Bram Moolenaar [Thu, 17 Nov 2016 18:46:51 +0000 (19:46 +0100)]
patch 8.0.0090
Problem: Test_help_complete sometimes fails in MS-Windows console.
Solution: Use getcompletion() instead of feedkeys() and command line
completion. (Hirohito Higashi)
Bram Moolenaar [Thu, 17 Nov 2016 16:25:32 +0000 (17:25 +0100)]
patch 8.0.0087
Problem: When the channel callback gets job info the job may already have
been deleted. (lifepillar)
Solution: Do not delete the job when the channel is still useful. (ichizok,
closes #1242, closes #1245)