Bram Moolenaar [Mon, 5 Jun 2017 15:53:37 +0000 (17:53 +0200)]
patch 8.0.0624: warning for unused variable in tiny build
Problem: Warning for unused variable in tiny build. (Tony Mechelynck)
Solution: Add an #ifdef.
Bram Moolenaar [Mon, 5 Jun 2017 14:54:08 +0000 (16:54 +0200)]
patch 8.0.0623: error for invalid regexp is not very informative
Problem: The message "Invalid range" is used for multiple errors.
Solution: Add two more specific error messages. (Itchyny, Ken Hamada)
Bram Moolenaar [Mon, 5 Jun 2017 14:37:07 +0000 (16:37 +0200)]
patch 8.0.0622: selecting quoted text fails with 'selection' "exclusive"
Problem: Using a text object to select quoted text fails when 'selection'
is set to "exclusive". (Guraga)
Solution: Swap cursor and visual start position. (Christian Brabandt,
closes #1687)
Bram Moolenaar [Mon, 5 Jun 2017 14:01:59 +0000 (16:01 +0200)]
patch 8.0.0621: :stag does not respect 'switchbuf'
Problem: The ":stag" command does not respect 'switchbuf'.
Solution: Check 'switchbuf' for tag commands that may open a new window.
(Ingo Karkat, closes #1681) Define macros for the return values
of getfile().
Bram Moolenaar [Mon, 5 Jun 2017 13:07:09 +0000 (15:07 +0200)]
patch 8.0.0620: checking for HAVE_GTK_MULTIHEAD is not needed
Problem: Since we only support GTK versions that have it, the ckeck for
HAVE_GTK_MULTIHEAD is no longer needed.
Solution: Remove HAVE_GTK_MULTIHEAD. (Kazunobu Kuriyama)
Bram Moolenaar [Mon, 5 Jun 2017 12:44:35 +0000 (14:44 +0200)]
Update runtime files.
Bram Moolenaar [Mon, 5 Jun 2017 11:31:56 +0000 (13:31 +0200)]
patch 8.0.0619: GUI gets stuck if timer uses feedkeys()
Problem: In the GUI, when a timer uses feedkeys(), it still waits for an
event. (Raymond Ko)
Solution: Check tb_change_cnt in one more place.
Bram Moolenaar [Mon, 5 Jun 2017 11:30:06 +0000 (13:30 +0200)]
patch 8.0.0618: NFA regex engine handles [0-z] incorrectly
Problem: NFA regex engine handles [0-z] incorrectly.
Solution: Return at the right point. (James McCoy, closes #1703)
Bram Moolenaar [Sun, 4 Jun 2017 19:40:36 +0000 (21:40 +0200)]
patch 8.0.0617: hardcopy test hangs on MS-Windows
Problem: Hardcopy test hangs on MS-Windows.
Solution: Check the postscript feature is supported.
Bram Moolenaar [Sun, 4 Jun 2017 19:06:09 +0000 (21:06 +0200)]
patch 8.0.0616: not always setting 'background' correctly after :hi Normal
Problem: When setting the cterm background with ":hi Normal" the value of
'background' may be set wrongly.
Solution: Check that the color is less than 16. Don't set 'background' when
it was set explicitly. (Lemonboy, closes #1710)
Bram Moolenaar [Sun, 4 Jun 2017 18:43:48 +0000 (20:43 +0200)]
patch 8.0.0615: using % with :hardcopy wrongly escapes spaces
Problem: Using % with :hardcopy wrongly escapes spaces. (Alexey Muranov)
Solution: Expand % differently. (Christian Brabandt, closes #1682)
Bram Moolenaar [Sun, 4 Jun 2017 18:30:00 +0000 (20:30 +0200)]
patch 8.0.0614: float2nr() is not exactly right
Problem: float2nr() is not exactly right.
Solution: Make float2nr() more accurate. Turn test64 into a new style test.
(Hirohito Higashi, closes #1688)
Bram Moolenaar [Sun, 4 Jun 2017 17:00:32 +0000 (19:00 +0200)]
patch 8.0.0613: the conf filetype is used before ftdetect from packages
Problem: The conf filetype detection is done before ftdetect scripts from
packages that are added later.
Solution: Add the FALLBACK argument to :setfiletype. (closes #1679,
closes #1693)
Bram Moolenaar [Sun, 4 Jun 2017 15:47:42 +0000 (17:47 +0200)]
patch 8.0.0612: pack dirs are added to 'runtimepath' too late
Problem: Package directories are added to 'runtimepath' only after loading
non-package plugins.
Solution: Split off the code to add package directories to 'runtimepath'.
(Ingo Karkat, closes #1680)
Bram Moolenaar [Sun, 4 Jun 2017 13:45:50 +0000 (15:45 +0200)]
patch 8.0.0611: the screen is not redrawn after sending t_u7
Problem: When t_u7 is sent a few characters in the second screen line are
overwritten and not redrawn later. (Rastislav Barlik)
Solution: Move redrawing the screen to after overwriting the characters.
Bram Moolenaar [Sun, 4 Jun 2017 13:37:46 +0000 (15:37 +0200)]
patch 8.0.0610: the screen is redrawn when default 'background' is detected
Problem: The screen is redrawn when t_BG is set and used to detect the
value for 'background'.
Solution: Don't redraw when the value of 'background' didn't change.
Bram Moolenaar [Sun, 4 Jun 2017 13:33:48 +0000 (15:33 +0200)]
patch 8.0.0609: some people still don't know how to quit
Problem: For some people the hint about quitting is not sufficient.
Solution: Put <Enter> separately. Also use ":qa!" to get out even when
there are changes.
Bram Moolenaar [Sun, 4 Jun 2017 13:30:34 +0000 (15:30 +0200)]
patch 8.0.0608: cannot manipulate other than the current quickfix list
Problem: Cannot manipulate other than the current quickfix list.
Solution: Pass the list index to quickfix functions. (Yegappan Lakshmanan)
Bram Moolenaar [Sun, 4 Jun 2017 12:58:02 +0000 (14:58 +0200)]
patch 8.0.0607: after :bwipe + :new bufref might still be valid
Problem: When creating a bufref, then using :bwipe and :new it might get
the same memory and bufref_valid() returns true.
Solution: Add br_fnum to check the buffer number didn't change.
Bram Moolenaar [Sun, 28 May 2017 06:16:25 +0000 (08:16 +0200)]
patch 8.0.0606: cannot set the context for a specified quickfix list
Problem: Cannot set the context for a specified quickfix list.
Solution: Use the list index instead of the current list. (Yegappan
Lakshmanan)
Bram Moolenaar [Sun, 28 May 2017 05:56:36 +0000 (07:56 +0200)]
patch 8.0.0605: the quickfix cached buffer may become invalid
Problem: The buffer that quickfix caches for performance may become
invalid. (Daniel Hahler)
Solution: Reset qf_last_bufref in qf_init_ext(). (Daniel Hahler,
closes #1728, closes #1676)
Bram Moolenaar [Sat, 27 May 2017 14:45:17 +0000 (16:45 +0200)]
Update runtime files.
Bram Moolenaar [Wed, 24 May 2017 08:42:37 +0000 (10:42 +0200)]
patch 8.0.0604: gF test fails still on MS-Windows
Problem: gF test fails still on MS-Windows.
Solution: Use : before the line number and remove it from 'isfname'.
Bram Moolenaar [Wed, 24 May 2017 08:05:56 +0000 (10:05 +0200)]
patch 8.0.0603: gF test fails on MS-Windows
Problem: gF test fails on MS-Windows.
Solution: Use @ instead of : before the line number
Bram Moolenaar [Wed, 24 May 2017 07:51:39 +0000 (09:51 +0200)]
patch 8.0.0602: when gF fails to edit the file the cursor still moves
Problem: When gF fails to edit the file the cursor still moves to the found
line number.
Solution: Check the return value of do_ecmd(). (Michael Hwang)
Bram Moolenaar [Tue, 23 May 2017 09:31:22 +0000 (11:31 +0200)]
patch 8.0.0601: no test coverage for :spellrepall
Problem: No test coverage for :spellrepall.
Solution: Add a test. (Dominique Pelle, closes #1717)
Bram Moolenaar [Thu, 18 May 2017 14:23:43 +0000 (16:23 +0200)]
patch 8.0.0600: test_recover fails on some systems
Problem: test_recover fails on some systems.
Solution: Explicitly check if "/" is writable. (Ken Takata)
Bram Moolenaar [Tue, 16 May 2017 11:15:18 +0000 (13:15 +0200)]
patch 8.0.0599: diff mode is insufficiently tested
Problem: diff mode is insufficiently tested
Solution: Add more test cases. (Dominique Pelle, closes #1685)
Bram Moolenaar [Tue, 16 May 2017 07:36:54 +0000 (09:36 +0200)]
patch 8.0.0598: building with gcc 7.1 yields new warnings
Problem: Building with gcc 7.1 yields new warnings.
Solution: Initialize result. (John Marriott)
Bram Moolenaar [Mon, 15 May 2017 06:45:13 +0000 (08:45 +0200)]
patch 8.0.0597: off-by-one error in size computation
Problem: Off-by-one error in buffer size computation.
Solution: Use ">=" instead of ">". (Lemonboy, closes #1694)
Bram Moolenaar [Mon, 1 May 2017 18:46:52 +0000 (20:46 +0200)]
patch 8.0.0596: crash when complete() called after complete_add()
Problem: Crash when complete() is called after complete_add() in
'completefunc'. (Lifepillar)
Solution: Bail out if compl_pattern is NULL. (closes #1668)
Also avoid using freed memory.
Bram Moolenaar [Mon, 1 May 2017 12:14:04 +0000 (14:14 +0200)]
patch 8.0.0595: Coverity warning for not checking return value
Problem: Coverity warning for not checking return value of dict_add().
Solution: Check the return value for FAIL.
Bram Moolenaar [Sun, 30 Apr 2017 18:46:32 +0000 (20:46 +0200)]
patch 8.0.0594: build failure when windows feature is missing
Problem: Build failure when windows feature is missing.
Solution: Add #ifdef.
Bram Moolenaar [Sun, 30 Apr 2017 18:25:19 +0000 (20:25 +0200)]
patch 8.0.0593: duplication of code for adding a list or dict return value
Problem: Duplication of code for adding a list or dict return value.
Solution: Add rettv_dict_set() and rettv_list_set(). (Yegappan Lakshmanan)
Bram Moolenaar [Sun, 30 Apr 2017 17:39:39 +0000 (19:39 +0200)]
patch 8.0.0592: if a job writes to a buffer screen is not updated
Problem: If a job writes to a buffer and the user is typing a command, the
screen isn't updated. When a message is displayed the changed
buffer may cause it to be cleared. (Ramel Eshed)
Solution: Update the screen and then the command line if the screen didn't
scroll. Avoid inserting screen lines, as it clears any message.
Update the status line when the buffer changed.
Bram Moolenaar [Sun, 30 Apr 2017 14:36:05 +0000 (16:36 +0200)]
patch 8.0.0591: changes to eval functionality not documented
Problem: Changes to eval functionality not documented.
Solution: Include all the changes.
Bram Moolenaar [Sun, 30 Apr 2017 12:21:00 +0000 (14:21 +0200)]
patch 8.0.0590: cannot add a context to locations
Problem: Cannot add a context to locations.
Solution: Add the "context" entry in location entries. (Yegappan Lakshmanan,
closes #1012)
Bram Moolenaar [Sat, 29 Apr 2017 15:40:22 +0000 (17:40 +0200)]
patch 8.0.0589: :simalt still does not work
Problem: :simalt still does not work.
Solution: Use K_NOP instead of K_IGNORE. (Christian Brabandt)
Bram Moolenaar [Sat, 29 Apr 2017 14:24:38 +0000 (16:24 +0200)]
patch 8.0.0588: job_stop() often assumes the channel will be closed
Problem: job_stop() often assumes the channel will be closed, while the job
may not actually be stopped. (Martin Gammelsæter)
Solution: Only assume the job stops on "kill". Don't send a signal if the
job has already ended. (closes #1632)
Bram Moolenaar [Fri, 28 Apr 2017 18:32:33 +0000 (20:32 +0200)]
Runtime file updates
Bram Moolenaar [Fri, 28 Apr 2017 13:45:46 +0000 (15:45 +0200)]
patch 8.0.0587: configure check for return value of tgetent skipped
Problem: Configure check for return value of tgetent is skipped.
Solution: Always perform the check. (Marvin Schmidt, closes #1664)
Bram Moolenaar [Sun, 23 Apr 2017 16:49:36 +0000 (18:49 +0200)]
patch 8.0.0586: no test for mapping timing out
Problem: No test for mapping timing out.
Solution: Add a test.
Bram Moolenaar [Sun, 23 Apr 2017 16:44:26 +0000 (18:44 +0200)]
patch 8.0.0585: test_options fails when run in the GUI
Problem: Test_options fails when run in the GUI.
Solution: Also check the 'imactivatekey' value when the GUI is not running.
Specify test values that work and that fail.
Bram Moolenaar [Sun, 23 Apr 2017 16:40:21 +0000 (18:40 +0200)]
Updated runtime files.
Bram Moolenaar [Sun, 23 Apr 2017 15:19:43 +0000 (17:19 +0200)]
patch 8.0.0584: memory leak when executing quickfix tests
Problem: Memory leak when executing quickfix tests.
Solution: Free the list reference. (Yegappan Lakshmanan)
Bram Moolenaar [Sun, 23 Apr 2017 14:48:20 +0000 (16:48 +0200)]
patch 8.0.0583: fold test hangs on MS-Windows
Problem: Fold test hangs on MS-Windows.
Solution: Avoid overflow in compare.
Bram Moolenaar [Sat, 22 Apr 2017 21:49:52 +0000 (23:49 +0200)]
patch 8.0.0582: illegal memory access with z= command
Problem: Illegal memory access with z= command. (Dominique Pelle)
Solution: Avoid case folded text to be longer than the original text. Use
MB_PTR2LEN() instead of MB_BYTE2LEN().
Bram Moolenaar [Sat, 22 Apr 2017 20:40:11 +0000 (22:40 +0200)]
patch 8.0.0581: moving folded text is sometimes not correct
Problem: Moving folded text is sometimes not correct.
Solution: Bail out when "move_end" is zero. (Matthew Malcomson)
Bram Moolenaar [Sat, 22 Apr 2017 19:20:46 +0000 (21:20 +0200)]
patch 8.0.0580: cannot set the valid flag with setqflist()
Problem: Cannot set the valid flag with setqflist().
Solution: Add the "valid" argument. (Yegappan Lakshmanan, closes #1642)
Bram Moolenaar [Sat, 22 Apr 2017 13:42:53 +0000 (15:42 +0200)]
patch 8.0.0579: duplicate test case for quickfix
Problem: Duplicate test case for quickfix.
Solution: Remove the function. (Yegappan Lakshmanan)
Bram Moolenaar [Sat, 22 Apr 2017 13:17:40 +0000 (15:17 +0200)]
patch 8.0.0578: :simalt on MS-Windows does not work properly
Problem: :simalt on MS-Windows does not work properly.
Solution: Put something in the typeahead buffer. (Christian Brabandt)
Bram Moolenaar [Fri, 21 Apr 2017 21:18:26 +0000 (23:18 +0200)]
patch 8.0.0577: warning for uninitialized variable
Problem: Warning for uninitialized variable. (John Marriott)
Solution: Initialize "indent".
Bram Moolenaar [Fri, 21 Apr 2017 21:00:02 +0000 (23:00 +0200)]
patch 8.0.0576: can't build when configure choses "install-sh"
Problem: Can't build when configure choses "install-sh". (Daniel Hahler)
Solution: Always use install-sh. Fix remaining use of mkinstalldirs.
(closes #1647)
Bram Moolenaar [Thu, 20 Apr 2017 20:57:27 +0000 (22:57 +0200)]
patch 8.0.0575: using freed memory when resetting 'indentexpr'
Problem: Using freed memory when resetting 'indentexpr' while evaluating
it. (Dominique Pelle)
Solution: Make a copy of 'indentexpr'.
Bram Moolenaar [Thu, 20 Apr 2017 20:44:47 +0000 (22:44 +0200)]
patch 8.0.0574: get only one quickfix list after :caddbuf
Problem: Get only one quickfix list after :caddbuf.
Solution: Reset qf_multiline. (Yegappan Lakshmanan)
Bram Moolenaar [Thu, 20 Apr 2017 20:32:24 +0000 (22:32 +0200)]
patch 8.0.0573: running parallel make after distclean fails
Problem: Running parallel make after distclean fails. (Manuel Ortega)
Solution: Instead of using targets "scratch config myself" use "reconfig".
Bram Moolenaar [Thu, 20 Apr 2017 19:55:44 +0000 (21:55 +0200)]
patch 8.0.0572: building the command table requires Perl
Problem: Building the command table requires Perl.
Solution: Use a Vim script solution. (Dominique Pelle, closes #1641)
Bram Moolenaar [Thu, 20 Apr 2017 19:12:30 +0000 (21:12 +0200)]
patch 8.0.0571: negative line number when using :z^ in an empty buffer
Problem: The cursor line number becomes negative when using :z^ in an empty
buffer. (neovim #6557)
Solution: Correct the line number. Also reset the column.
Bram Moolenaar [Thu, 20 Apr 2017 18:20:23 +0000 (20:20 +0200)]
patch 8.0.0570: can't run make with several jobs
Problem: Can't run make with several jobs, creating directories has a race
condition.
Solution: Use the MKDIR_P autoconf mechanism. (Eric N. Vander Weele,
closes #1639)
Bram Moolenaar [Thu, 20 Apr 2017 17:44:09 +0000 (19:44 +0200)]
patch 8.0.0569: bracketed paste is still enabled in a shell command
Problem: Bracketed paste is still enabled when executing a shell command.
(Michael Smith)
Solution: Disable brackted paste when going into cooked mode. (closes #1638)
Bram Moolenaar [Thu, 20 Apr 2017 16:54:50 +0000 (18:54 +0200)]
patch 8.0.0568: 1gd may hang
Problem: "1gd" may hang.
Solution: Don't get stuck in one position. (Christian Brabandt, closes #1643)
Bram Moolenaar [Tue, 18 Apr 2017 16:51:35 +0000 (18:51 +0200)]
patch 8.0.0567: call for requesting color and ambiwidth is too early
Problem: Call for requesting color and ambiwidth is too early. (Hirohito
Higashi)
Solution: Move the call down to below resetting "starting".
Bram Moolenaar [Sat, 15 Apr 2017 13:37:25 +0000 (15:37 +0200)]
patch 8.0.0566: setting nocompatible for the tiny version moves the cursor
Problem: Setting nocompatible for the tiny version moves the cursor.
Solution: Use another trick to skip commands when the +eval feature is
present. (Christian Brabandt, closes #1630)
Bram Moolenaar [Sat, 15 Apr 2017 13:22:52 +0000 (15:22 +0200)]
patch 8.0.0565: using freed memory in :caddbuf
Problem: Using freed memory in :caddbuf after clearing quickfix list.
(Dominique Pelle)
Solution: Set qf_last to NULL.
Bram Moolenaar [Sat, 15 Apr 2017 12:36:07 +0000 (14:36 +0200)]
patch 8.0.0564: cannot detect Bazel BUILD files on some systems
Problem: Cannot detect Bazel BUILD files on some systems.
Solution: Check for BUILD after script checks. (Issue #1340)
Bram Moolenaar [Tue, 11 Apr 2017 20:44:05 +0000 (22:44 +0200)]
patch 8.0.0563: crash when getting the window position in tmux
Problem: Crash when getting the window position in tmux. (Marvin Schmidt)
Solution: Add t_GP to the list of terminal options. (closes #1627)
Bram Moolenaar [Mon, 10 Apr 2017 20:45:30 +0000 (22:45 +0200)]
patch 8.0.0562: not enough test coverage for syntax commands
Problem: Not enough test coverage for syntax commands.
Solution: Add a few more tests. (Dominique Pelle, closes #1624)
Bram Moolenaar [Mon, 10 Apr 2017 20:22:42 +0000 (22:22 +0200)]
patch 8.0.0561: undefined behavior when using backslash after empty line
Problem: Undefined behavior when using backslash after empty line.
Solution: Check for an empty line. (Dominique Pelle, closes #1631)
Bram Moolenaar [Mon, 10 Apr 2017 19:46:38 +0000 (21:46 +0200)]
patch 8.0.0560: :windo allows for ! but it's not supported
Problem: :windo allows for ! but it's not supported.
Solution: Disallow passing !. (Hirohito Higashi)
Bram Moolenaar [Sun, 9 Apr 2017 20:54:13 +0000 (22:54 +0200)]
patch 8.0.0559: setting ttytype to xxx does not always fail
Problem: Setting ttytype to xxx does not always fail as expected. (Marvin
Schmidt)
Solution: Catch both possible errors. (closes #1601)
Bram Moolenaar [Sun, 9 Apr 2017 18:11:58 +0000 (20:11 +0200)]
Update runtime files.
Bram Moolenaar [Sun, 9 Apr 2017 13:41:31 +0000 (15:41 +0200)]
patch 8.0.0558: :ownsyntax is not tested
Problem: The :ownsyntax command is not tested.
Solution: Add a test. (Dominique Pelle, closes #1622)
Bram Moolenaar [Sun, 9 Apr 2017 13:27:09 +0000 (15:27 +0200)]
patch 8.0.0557: GTK: using static gravities is not useful
Problem: GTK: using static gravities is not useful.
Solution: Remove setting static gravities. (Kazunobu Kuriyama)
Bram Moolenaar [Sun, 9 Apr 2017 13:03:15 +0000 (15:03 +0200)]
patch 8.0.0556: getting window position fails if GUI and term possible
Problem: Getting the window position fails if both the GUI and term
code is built in.
Solution: Return after getting the GUI window position. (Kazunobu Kuriyama)
Bram Moolenaar [Sun, 9 Apr 2017 12:58:15 +0000 (14:58 +0200)]
patch 8.0.0555: toupper/tolower test fails on OSX without Darwin
Problem: Toupper/tolower test fails on OSX without Darwin.
Solution: Skip that part of the test also for OSX. (Kazunobu Kuriyama)
Bram Moolenaar [Sun, 9 Apr 2017 11:41:59 +0000 (13:41 +0200)]
patch 8.0.0554: toupper and tolower don't work properly for Turkish
Problem: Toupper and tolower don't work properly for Turkish when 'casemap'
contains "keepascii". (Bjorn Linse)
Solution: When 'casemap' contains "keepascii" use ASCII toupper/tolower.
Bram Moolenaar [Sat, 8 Apr 2017 17:39:43 +0000 (19:39 +0200)]
patch 8.0.0553: toupper/tolower test fails on Mac
Problem: Toupper/tolower test with Turkish locale fails on Mac.
Solution: Skip the test on Mac.
Bram Moolenaar [Sat, 8 Apr 2017 17:12:06 +0000 (19:12 +0200)]
patch 8.0.0552: toupper and tolower don't work properly for Turkish
Problem: Toupper and tolower don't work properly for Turkish when 'casemap'
is empty. (Bjorn Linse)
Solution: Check the 'casemap' options when deciding how to upper/lower case.
Bram Moolenaar [Sat, 8 Apr 2017 16:41:13 +0000 (18:41 +0200)]
patch 8.0.0551: the typeahead buffer is reallocated too often
Problem: The typeahead buffer is reallocated too often.
Solution: Re-use the existing buffer if possible.
Bram Moolenaar [Fri, 7 Apr 2017 18:30:29 +0000 (20:30 +0200)]
patch 8.0.0550: cannot parse some etags format tags file
Problem: Some etags format tags file use 0x01, breaking the parsing.
Solution: Use 0x02 for TAG_SEP. (James McCoy, closes #1614)
Bram Moolenaar [Fri, 7 Apr 2017 18:09:51 +0000 (20:09 +0200)]
patch 8.0.0549: no test for the 8g8 command
Problem: No test for the 8g8 command.
Solution: Add a test. (Dominique Pelle, closes #1615)
Bram Moolenaar [Fri, 7 Apr 2017 17:50:12 +0000 (19:50 +0200)]
patch 8.0.0548: saving the redo buffer only works one time
Problem: Saving the redo buffer only works one time, resulting in the "."
command not working well for a function call inside another
function call. (Ingo Karkat)
Solution: Save the redo buffer at every user function call. (closes #1619)
Bram Moolenaar [Fri, 7 Apr 2017 14:17:39 +0000 (16:17 +0200)]
patch 8.0.0547: extra line break in verbosefile
Problem: Extra line break in verbosefile when using ":echomsg". (Ingo
Karkat)
Solution: Don't call msg_start(). (closes #1618)
Bram Moolenaar [Fri, 7 Apr 2017 13:42:25 +0000 (15:42 +0200)]
patch 8.0.0546: swap file exists briefly when opening the command window
Problem: Swap file exists briefly when opening the command window.
Solution: Set the noswapfile command modifier before splitting the window.
(James McCoy, closes #1620)
Bram Moolenaar [Fri, 7 Apr 2017 12:10:48 +0000 (14:10 +0200)]
patch 8.0.0545: edit test may fail on some systems
Problem: Edit test may fail on some systems.
Solution: If creating a directory with a very long path fails, bail out.
Bram Moolenaar [Fri, 7 Apr 2017 12:02:01 +0000 (14:02 +0200)]
patch 8.0.0544: cppcheck warnings
Problem: Cppcheck warnings.
Solution: Use temp variable. Change NUL to NULL. Swap conditions. (Dominique
Pelle)
Bram Moolenaar [Tue, 4 Apr 2017 20:41:10 +0000 (22:41 +0200)]
patch 8.0.0543: test_edit causes older xfce4-terminal to close
Problem: Test_edit causes older xfce4-terminal to close. (Dominique Pelle)
Solution: Reduce number of columns to 2000. Try to restore the window
position.
Bram Moolenaar [Mon, 3 Apr 2017 20:02:55 +0000 (22:02 +0200)]
patch 8.0.0542: getpos() can return a negative line number
Problem: getpos() can return a negative line number. (haya14busa)
Solution: Handle a zero topline and botline. (closes #1613)
Bram Moolenaar [Mon, 3 Apr 2017 19:35:42 +0000 (21:35 +0200)]
patch 8.0.0541: compiler warning on MS-Windows
Problem: Compiler warning on MS-Windows.
Solution: Add a type cast. (Mike Williams)
Bram Moolenaar [Sun, 2 Apr 2017 16:19:53 +0000 (18:19 +0200)]
patch 8.0.0540: building unit tests fails
Problem: Building unit tests fails.
Solution: Move params outside of #ifdef.
Bram Moolenaar [Sun, 2 Apr 2017 15:21:16 +0000 (17:21 +0200)]
patch 8.0.0539: startup test fails on Mac
Problem: Startup test fails on Mac.
Solution: Use another term name, "unknown" is known. Avoid a 2 second delay.
Bram Moolenaar [Sun, 2 Apr 2017 14:54:09 +0000 (16:54 +0200)]
patch 8.0.0538: no test for falling back to default term value
Problem: No test for falling back to default term value.
Solution: Add a test.
Bram Moolenaar [Sun, 2 Apr 2017 13:45:17 +0000 (15:45 +0200)]
patch 8.0.0537: illegal memory access with :z and large count
Problem: Illegal memory access with :z and large count.
Solution: Check for number overflow, using long instead of int. (Dominique
Pelle, closes #1612)
Bram Moolenaar [Sun, 2 Apr 2017 13:15:49 +0000 (15:15 +0200)]
patch 8.0.0536: quickfix window not updated when freeing quickfix stack
Problem: Quickfix window not updated when freeing quickfix stack.
Solution: Update the quickfix window. (Yegappan Lakshmanan)
Bram Moolenaar [Sat, 1 Apr 2017 19:21:30 +0000 (21:21 +0200)]
patch 8.0.0535: memory leak when exiting from within a user function
Problem: Memory leak when exiting from within a user function.
Solution: Clear the function call stack on exit.
Bram Moolenaar [Sat, 1 Apr 2017 14:59:29 +0000 (16:59 +0200)]
patch 8.0.0534: defaults.vim does not work well with tiny features
Problem: Defaults.vim does not work well with tiny features. (crd477)
Solution: When the +eval feature is not available always reset 'compatible'.
Bram Moolenaar [Sat, 1 Apr 2017 13:15:52 +0000 (15:15 +0200)]
patch 8.0.0533: abbreviation doesn't work after backspacing newline
Problem: Abbreviation doesn't work after backspacing newline. (Hkonrk)
Solution: Set the insert start column. (closes #1609)
Bram Moolenaar [Sat, 1 Apr 2017 12:13:14 +0000 (14:13 +0200)]
patch 8.0.0532: test with long directory name fails on Mac
Problem: Test with long directory name fails on Mac.
Solution: Skip the test on Mac systems.
Bram Moolenaar [Fri, 31 Mar 2017 21:32:53 +0000 (23:32 +0200)]
patch 8.0.0531: test with long directory name fails on non-unix systems
Problem: Test with long directory name fails on non-unix systems.
Solution: Skip the test on non-unix systems.
Bram Moolenaar [Fri, 31 Mar 2017 20:27:12 +0000 (22:27 +0200)]
patch 8.0.0530: buffer overflow when 'columns' is very big
Problem: Buffer overflow when 'columns' is very big. (Nikolai Pavlov)
Solution: Correctly compute where to truncate. Fix translation.
(closes #1600)