]>
granicus.if.org Git - vim/log
Bram Moolenaar [Sat, 24 Nov 2018 13:27:44 +0000 (14:27 +0100)]
patch 8.1.0543: Coverity warns for leaking memory and using wrong struct
Problem: Coverity warns for leaking memory and using wrong struct.
Solution: Free pointer when allocation fails. Change "boff" to "loff".
(closes #3634)
Bram Moolenaar [Thu, 22 Nov 2018 02:08:29 +0000 (03:08 +0100)]
patch 8.1.0542: shiftwidth() does not take 'vartabstop' into account
Problem: shiftwidth() does not take 'vartabstop' into account.
Solution: Use the cursor position or a position explicitly passed.
Also make >> and << work better with 'vartabstop'. (Christian
Brabandt)
Bram Moolenaar [Wed, 21 Nov 2018 12:58:35 +0000 (13:58 +0100)]
patch 8.1.0541: help message in dosinst.c is outdated
Problem: Help message in dosinst.c is outdated.
Solution: Update the comment. (Ken Takata, closes #3626)
Bram Moolenaar [Tue, 20 Nov 2018 13:27:07 +0000 (14:27 +0100)]
patch 8.1.0540: may evaluate insecure value when appending to option
Problem: May evaluate insecure value when appending to option.
Solution: Set the secure flag when changing an option that was previously
set insecurely. Also allow numbers for the characters from
'spelllang' that are used for LANG.vim.
Bram Moolenaar [Tue, 20 Nov 2018 12:32:36 +0000 (13:32 +0100)]
patch 8.1.0539: cannot build without the sandbox
Problem: Cannot build without the sandbox.
Solution: Set the secure option instead of using the sandbox. Also restrict
the characters from 'spelllang' that are used for LANG.vim.
(suggested by Yasuhiro Matsumoto)
Bram Moolenaar [Tue, 20 Nov 2018 03:25:21 +0000 (04:25 +0100)]
patch 8.1.0538: evaluating a modeline might invoke using a shell command
Problem: Evaluating a modeline might invoke using a shell command. (Paul
Huber)
Solution: Set the sandbox flag when setting options from a modeline.
Bram Moolenaar [Tue, 20 Nov 2018 01:42:43 +0000 (02:42 +0100)]
patch 8.1.0537: ui_breakcheck() may be called recursively
Problem: ui_breakcheck() may be called recursively, which doesn't work.
Solution: When called recursively, just return. (James McCoy, closes #3617)
Bram Moolenaar [Sun, 18 Nov 2018 11:25:09 +0000 (12:25 +0100)]
patch 8.1.0536: file time test fails when using NFS
Problem: File time test fails when using NFS.
Solution: Use three file times instead of localtim(). (James McCoy,
closes #3618)
Bram Moolenaar [Fri, 16 Nov 2018 19:54:47 +0000 (20:54 +0100)]
patch 8.1.0535: increment/decrement might get interrupted by updating folds
Problem: Increment/decrement might get interrupted by updating folds.
Solution: Disable fold updating for a moment. (Christian Brabandt,
closes #3599)
Bram Moolenaar [Fri, 16 Nov 2018 18:39:50 +0000 (19:39 +0100)]
patch 8.1.0534: MS-Windows installer uses different $HOME than Vim
Problem: MS-Windows installer uses different $HOME than Vim.
Solution: Use the Vim logic also in the MS-Windows installer. (Ken Takata,
closes #3564)
Bram Moolenaar [Fri, 16 Nov 2018 17:50:19 +0000 (18:50 +0100)]
patch 8.1.0533: screendump tests can be flaky
Problem: Screendump tests can be flaky.
Solution: Add VerifyScreenDump to the pattern of flaky tests.
Bram Moolenaar [Fri, 16 Nov 2018 17:46:02 +0000 (18:46 +0100)]
patch 8.1.0532: cannot distinguish between quickfix and location list
Problem: Cannot distinguish between quickfix and location list.
Solution: Add an explicit type variable. (Yegappan Lakshmanan)
Bram Moolenaar [Fri, 16 Nov 2018 17:22:45 +0000 (18:22 +0100)]
patch 8.1.0531: flaky tests often fail with a common error message
Problem: Flaky tests often fail with a common error message.
Solution: Add a pattern to match an error message indicating a flaky test.
Bram Moolenaar [Fri, 16 Nov 2018 16:44:48 +0000 (17:44 +0100)]
patch 8.1.0530: channel and terminal tests that start a server can be flaky
Problem: Channel and terminal tests that start a server can be flaky.
Solution: Add all channel and terminal tests that start a server to the list
of flaky tests.
Bram Moolenaar [Fri, 16 Nov 2018 15:52:16 +0000 (16:52 +0100)]
patch 8.1.0529: flaky test sometimes fails in different ways
Problem: Flaky test sometimes fails in different ways.
Solution: When the second run gives a different error, try running the test
again, up to five times.
Bram Moolenaar [Fri, 16 Nov 2018 15:21:05 +0000 (16:21 +0100)]
patch 8.1.0528: various typos in comments
Problem: Various typos in comments.
Solution: Fix the typos.
Bram Moolenaar [Fri, 16 Nov 2018 15:13:44 +0000 (16:13 +0100)]
Update runtime files.
Bram Moolenaar [Wed, 14 Nov 2018 20:45:32 +0000 (21:45 +0100)]
patch 8.1.0527: using 'shiftwidth' from wrong buffer for folding
Problem: Using 'shiftwidth' from wrong buffer for folding.
Solution: Use "buf" instead of "curbuf". (Christian Brabandt)
Bram Moolenaar [Mon, 12 Nov 2018 20:45:08 +0000 (21:45 +0100)]
patch 8.1.0526: running out of signal stack in RealWaitForChar
Problem: Running out of signal stack in RealWaitForChar. (Vladimir Marek)
Solution: Make the fd_set variables static.
Bram Moolenaar [Mon, 12 Nov 2018 20:42:24 +0000 (21:42 +0100)]
patch 8.1.0525: terminal test skips part on Windows
Problem: Terminal test skips part on Windows.
Solution: Fix Test_terminal_does_not_truncate_last_newlines(). (Hirohito
Higashi, closes #3606)
Bram Moolenaar [Sun, 11 Nov 2018 22:14:54 +0000 (23:14 +0100)]
patch 8.1.0524: terminal test fails on Windows
Problem: Terminal test fails on Windows.
Solution: Skip Test_terminal_does_not_truncate_last_newlines() for now.
Bram Moolenaar [Sun, 11 Nov 2018 21:50:27 +0000 (22:50 +0100)]
patch 8.1.0523: opening window from quickfix leaves empty buffer behind
Problem: Opening window from quickfix leaves empty buffer behind.
Solution: Add qf_jump_newwin(). (Yegappan Lakshmanan, closes #2574)
Bram Moolenaar [Sun, 11 Nov 2018 21:18:21 +0000 (22:18 +0100)]
patch 8.1.0522: :terminal does not show trailing empty lines
Problem: :terminal does not show trailing empty lines.
Solution: Add empty lines. (Hirohito Higashi, closes #3605)
Bram Moolenaar [Sun, 11 Nov 2018 20:22:57 +0000 (21:22 +0100)]
patch 8.1.0521: cannot build with +eval but without +quickfix
Problem: Cannot build with +eval but without +quickfix.
Solution: Remove #ifdef for e_stringreq. (John Marriott)
Bram Moolenaar [Sun, 11 Nov 2018 17:51:42 +0000 (18:51 +0100)]
patch 8.1.0520: screen diff test sometimes fails
Problem: Screen diff test sometimes fails.
Solution: Add to list of flaky tests.
Bram Moolenaar [Sun, 11 Nov 2018 14:21:05 +0000 (15:21 +0100)]
patch 8.1.0519: cannot save and restore the tag stack
Problem: Cannot save and restore the tag stack.
Solution: Add gettagstack() and settagstack(). (Yegappan Lakshmanan,
closes #3604)
Bram Moolenaar [Sat, 10 Nov 2018 19:47:48 +0000 (20:47 +0100)]
patch 8.1.0518: Test_window_split_edit_bufnr() fails on AppVeyor
Problem: Test_window_split_edit_bufnr() fails on AppVeyor.
Solution: Disable the failing part for now.
Bram Moolenaar [Sat, 10 Nov 2018 19:28:19 +0000 (20:28 +0100)]
patch 8.1.0517: Test_window_split_edit_alternate() fails on AppVeyor
Problem: Test_window_split_edit_alternate() fails on AppVeyor.
Solution: Disable the failing part for now.
Bram Moolenaar [Sat, 10 Nov 2018 18:19:36 +0000 (19:19 +0100)]
patch 8.1.0516: :move command marks buffer modified when nothing changed
Problem: :move command marks buffer modified when nothing changed.
Solution: Do not set 'modified'. Add a test. (Jason Franklin)
Bram Moolenaar [Sat, 10 Nov 2018 16:33:29 +0000 (17:33 +0100)]
patch 8.1.0515: reloading a script gives errors for existing functions
Problem: Reloading a script gives errors for existing functions.
Solution: Allow redefining a function once when reloading a script.
Bram Moolenaar [Sat, 10 Nov 2018 15:02:01 +0000 (16:02 +0100)]
patch 8.1.0514: CTRL-W ^ does not work when alternate buffer has no name
Problem: CTRL-W ^ does not work when alternate buffer has no name.
Solution: Use another method to split and edit the alternate buffer. (Jason
Franklin)
Bram Moolenaar [Mon, 5 Nov 2018 20:21:33 +0000 (21:21 +0100)]
patch 8.1.0513: no error for set diffopt+=algorithm:
Problem: No error for set diffopt+=algorithm:.
Solution: Check for missing argument. (Hirohito Higashi, closes #3598)
Bram Moolenaar [Mon, 5 Nov 2018 19:25:52 +0000 (20:25 +0100)]
patch 8.1.0512: 'helplang' default is inconsistent for C and C.UTF-8
Problem: 'helplang' default is inconsistent for C and C.UTF-8.
Solution: Don't accept a value unless it starts with two letters.
Bram Moolenaar [Sun, 4 Nov 2018 22:39:38 +0000 (23:39 +0100)]
patch 8.1.0511: ml_get error when calling a function with a range
Problem: ml_get error when calling a function with a range.
Solution: Don't position the cursor after the last line.
Bram Moolenaar [Sun, 4 Nov 2018 13:45:49 +0000 (14:45 +0100)]
Update runtime files
Bram Moolenaar [Sun, 4 Nov 2018 13:40:47 +0000 (14:40 +0100)]
patch 8.1.0510: filter test fails when $LANG is C.UTF-8
Problem: Filter test fails when $LANG is C.UTF-8.
Solution: Set 'helplang' to "en" for any C language. (Christian Brabandt,
closes #3577)
Bram Moolenaar [Sat, 3 Nov 2018 20:47:16 +0000 (21:47 +0100)]
patch 8.1.0509: checking cwd not accessible fails for root
Problem: Checking cwd not accessible fails for root. (James McCoy)
Solution: Skip this part of the test for root. (closes #3595)
Bram Moolenaar [Sat, 3 Nov 2018 20:09:15 +0000 (21:09 +0100)]
patch 8.1.0508: suspend test fails when run by root
Problem: Suspend test fails when run by root.
Solution: Accept both '$' and '#' for the prompt. (James McCoy, closes #3590)
Bram Moolenaar [Sat, 3 Nov 2018 18:52:15 +0000 (19:52 +0100)]
patch 8.1.0507: .raml files not properly detected
Problem: .raml files not properly detected.
Solution: Recognize .raml as raml instead of yaml. (closes #3594)
Bram Moolenaar [Sat, 3 Nov 2018 18:06:25 +0000 (19:06 +0100)]
patch 8.1.0506: modeline test fails when run by root
Problem: Modeline test fails when run by root.
Solution: Set 'modeline' for the test. (James McCoy, closes #3592)
Bram Moolenaar [Sat, 3 Nov 2018 18:00:14 +0000 (19:00 +0100)]
patch 8.1.0505: filter command test may fail if helplang is not set
Problem: Filter command test may fail if helplang is not set.
Solution: Set 'helplang' for the test. (James McCoy, closes #3591)
Bram Moolenaar [Fri, 2 Nov 2018 10:59:15 +0000 (11:59 +0100)]
patch 8.1.0504: when CTRL-C is mapped it triggers InsertLeave
Problem: When CTRL-C is mapped it triggers InsertLeave.
Solution: Make CTRL-C behave the same way when typed or used in a mapping.
Bram Moolenaar [Thu, 1 Nov 2018 20:14:53 +0000 (21:14 +0100)]
patch 8.1.0503: missing change to diff test
Problem: Missing change to diff test. (Hirohito Higashi)
Solution: Add the missing test function.
Bram Moolenaar [Wed, 31 Oct 2018 21:57:26 +0000 (22:57 +0100)]
patch 8.1.0502: internal diff fails when diffing a context diff
Problem: Internal diff fails when diffing a context diff. (Hirohito Higashi)
Solution: Only use callback calls with one line. (closes #3581)
Bram Moolenaar [Tue, 30 Oct 2018 21:15:55 +0000 (22:15 +0100)]
patch 8.1.0501: cppcheck warns for using array index before bounds check
Problem: Cppcheck warns for using array index before bounds check.
Solution: Swap the conditions. (Dominique Pelle)
Bram Moolenaar [Sun, 28 Oct 2018 14:43:58 +0000 (15:43 +0100)]
patch 8.1.0500: cleaning up in src/tee may not always work
Problem: Cleaning up in src/tee may not always work.
Solution: Use "rm" when appropriate. (Michael Soyka, closes #3571)
Bram Moolenaar [Sun, 28 Oct 2018 13:36:09 +0000 (14:36 +0100)]
patch 8.1.0499: :2vimgrep causes an ml_get error
Problem: :2vimgrep causes an ml_get error
Solution: Pass tomatch pointer instead of value. (Yegappan Lakshmanan)
Bram Moolenaar [Sat, 27 Oct 2018 12:27:20 +0000 (14:27 +0200)]
patch 8.1.0498: /etc/gitconfig not recognized at a gitconfig file
Problem: /etc/gitconfig not recognized at a gitconfig file.
Solution: Add pattern to filetype detection. (closes #3568)
Bram Moolenaar [Thu, 25 Oct 2018 15:52:23 +0000 (17:52 +0200)]
patch 8.1.0497: :%diffput changes order of lines
Problem: :%diffput changes order of lines. (Markus Braun)
Solution: Do adjust marks when using internal diff.
Bram Moolenaar [Thu, 25 Oct 2018 14:53:19 +0000 (16:53 +0200)]
patch 8.1.0496: no tests for indent files
Problem: No tests for indent files.
Solution: Add a mechanism for running indent file tests. Add a first test
for Vim indenting.
Bram Moolenaar [Thu, 25 Oct 2018 11:31:37 +0000 (13:31 +0200)]
patch 8.1.0495: :filter only supports some commands
Problem: :filter only supports some commands.
Solution: Add :filter support for more commands. (Marcin Szamotulski,
closes #2856)
Bram Moolenaar [Thu, 25 Oct 2018 11:11:16 +0000 (13:11 +0200)]
patch 8.1.0494: functions do not check for a window ID in other tabs
Problem: Functions do not check for a window ID in other tabs.
Solution: Also find the window ID in other than the current tab.
Bram Moolenaar [Thu, 25 Oct 2018 10:32:11 +0000 (12:32 +0200)]
patch 8.1.0493: argv() and argc() only work on the current argument list
Problem: argv() and argc() only work on the current argument list.
Solution: Add a window ID argument. (Yegappan Lakshmanan, closes #832)
Bram Moolenaar [Thu, 25 Oct 2018 09:25:53 +0000 (11:25 +0200)]
patch 8.1.0492: "Edit with existing Vim" list can get long
Problem: "Edit with existing Vim" list can get long.
Solution: Move the list to a submenu. (Ken Takata, closes #3561)
Bram Moolenaar [Tue, 23 Oct 2018 19:42:59 +0000 (21:42 +0200)]
patch 8.1.0491: if a terminal dump has CR it is considered corrupt
Problem: If a terminal dump has CR it is considered corrupt.
Solution: Ignore CR characters. (Nobuhiro Takasaki, closes #3558)
Bram Moolenaar [Sun, 21 Oct 2018 20:45:43 +0000 (22:45 +0200)]
patch 8.1.0490: MS-Windows: doesn't handle missing glibwinpthread-1.dll
Problem: MS-Windows: doesn't handle missing glibwinpthread-1.dll.
Solution: Adjust Cygwin/MinGW build file. (Ken Takata, closes #2827)
Bram Moolenaar [Sun, 21 Oct 2018 16:47:43 +0000 (18:47 +0200)]
patch 8.1.0489: crash when autocmd clears vimpgrep location list
Problem: Crash when autocmd clears vimpgrep location list.
Solution: Return from qf_jump_edit_buffer() early. (Yegappan Lakshmanan)
Bram Moolenaar [Sat, 20 Oct 2018 18:54:02 +0000 (20:54 +0200)]
patch 8.1.0488: using freed memory in quickfix code
Problem: Using freed memory in quickfix code. (Dominique Pelle)
Solution: Add the quickfix_busy() flag to postpone deleting quickfix lists
until it is safe. (Yegappan Lakshmanan, closes #3538)
Bram Moolenaar [Fri, 19 Oct 2018 20:36:53 +0000 (22:36 +0200)]
patch 8.1.0487: no menus specifically for the terminal window
Problem: No menus specifically for the terminal window.
Solution: Add :tlmenu. (Yee Cheng Chin, closes #3439) Add a menu test.
Bram Moolenaar [Fri, 19 Oct 2018 15:36:01 +0000 (17:36 +0200)]
patch 8.1.0486: can't build in MS-Windows
Problem: Can't build in MS-Windows.
Solution: Put mch_access() call inside #ifdef
Bram Moolenaar [Fri, 19 Oct 2018 14:53:39 +0000 (16:53 +0200)]
patch 8.1.0485: term_start() does not check if directory is accessible
Problem: term_start() does not check if directory is accessible.
Solution: Add mch_access() call. (Jason Franklin)
Bram Moolenaar [Fri, 19 Oct 2018 14:27:31 +0000 (16:27 +0200)]
patch 8.1.0484: some file types are not recognized
Problem: Some file types are not recognized.
Solution: Update the file type detection.
Bram Moolenaar [Fri, 19 Oct 2018 14:22:31 +0000 (16:22 +0200)]
Update runtime files
Bram Moolenaar [Wed, 17 Oct 2018 20:45:54 +0000 (22:45 +0200)]
patch 8.1.0483: MinGW does not build tee.exe
Problem: MinGW does not build tee.exe.
Solution: Add build instructions. (Yasuhiro Matsumoto, closes #3548)
Bram Moolenaar [Wed, 17 Oct 2018 20:12:14 +0000 (22:12 +0200)]
patch 8.1.0482: MinGW "make clean" deletes all .exe files
Problem: MinGW "make clean" deletes all .exe files.
Solution: Only delete .exe files that it builds. (Ken takata)
Bram Moolenaar [Tue, 16 Oct 2018 20:13:00 +0000 (22:13 +0200)]
patch 8.1.0481: when "Terminal" highlight is reverted cursor doesn't show
Problem: When "Terminal" highlight is reverted cursor doesn't show.
Solution: Get the colors of the "Terminal" group. (closes #3546)
Bram Moolenaar [Tue, 16 Oct 2018 19:13:14 +0000 (21:13 +0200)]
patch 8.1.0480: MinGW build file uses different -I flags than MVC
Problem: MinGW build file uses different -I flags than MVC.
Solution: Add -I to $CFLAGS. (Ken takata)
Bram Moolenaar [Mon, 15 Oct 2018 20:51:50 +0000 (22:51 +0200)]
patch 8.1.0479: failure when setting 'varsofttabstop' to end in a comma
Problem: Failure when setting 'varsofttabstop' to end in a comma. (Ralf
Schandl)
Solution: Reject value with trailing command. Add test for invalid values
(closes #3544)
Bram Moolenaar [Mon, 15 Oct 2018 18:11:18 +0000 (20:11 +0200)]
patch 8.1.0478: cannot build with perl using MinGW
Problem: Cannot build with perl using MinGW.
Solution: Add -I. (Ken takata, Cesar Romani)
Bram Moolenaar [Sun, 14 Oct 2018 20:38:09 +0000 (22:38 +0200)]
patch 8.1.0477: tiny build fails
Problem: Tiny build fails.
Solution: Add a dummy declaration for funccal_entry_T.
Bram Moolenaar [Sun, 14 Oct 2018 20:03:56 +0000 (22:03 +0200)]
patch 8.1.0476: memory leaks in test_escaped_glob
Problem: Memory leaks in test_escaped_glob.
Solution: Avoid failure when running the shell, use the sandbox.
Bram Moolenaar [Sun, 14 Oct 2018 19:41:01 +0000 (21:41 +0200)]
patch 8.1.0475: memory not freed on exit when quit in autocmd
Problem: Memory not freed on exit when quit in autocmd.
Solution: Remember funccal stack when executing autocmd.
Bram Moolenaar [Sun, 14 Oct 2018 14:25:10 +0000 (16:25 +0200)]
patch 8.1.0474: directory where if_perl.c is written is inconsistent
Problem: Directory where if_perl.c is written is inconsistent.
Solution: use auto/if_perl.c for MS-Windows. (Ken Takata, closes #3540)
Bram Moolenaar [Sat, 13 Oct 2018 17:06:27 +0000 (19:06 +0200)]
patch 8.1.0473: user doesn't notice file does not exist when swap file does
Problem: User doesn't notice file does not exist when swap file does.
Solution: Add a note that the file cannot be found. Make the "still
running" notice stand out.
Bram Moolenaar [Sat, 13 Oct 2018 15:25:27 +0000 (17:25 +0200)]
patch 8.1.0472: dosinst command has a few flaws
Problem: Dosinst command has a few flaws.
Solution: Register DisplayIcon, DisplayVersion and Publisher for the
uninstaller. (closes #3485) Don't set 'diffexpr' if internal diff
is supported. Allow for using Vi compatible from the command line.
Remove needless sleeps. Add comments in the generated _vimrc.
(Ken Takata, closes #3525)
Bram Moolenaar [Fri, 12 Oct 2018 20:15:12 +0000 (22:15 +0200)]
patch 8.1.0471: some tests are flaky or fail on some systems
Problem: Some tests are flaky or fail on some systems.
Solution: Increase waiting time for port number. Use "cmd /c" to execute
"echo" on win32. (Ken Takata, closes #3534)
Bram Moolenaar [Thu, 11 Oct 2018 17:27:47 +0000 (19:27 +0200)]
patch 8.1.0470: pointer ownership around fname_expand() is unclear
Problem: Pointer ownership around fname_expand() is unclear.
Solution: Allow b_ffname and b_sfname to point to the same allocated memory,
only free one. Update comments.
Bram Moolenaar [Thu, 11 Oct 2018 15:39:12 +0000 (17:39 +0200)]
patch 8.1.0469: too often indexing in qf_lists[]
Problem: Too often indexing in qf_lists[].
Solution: Use a qf_list_T pointer. (Yegappan Lakshmanan)
Bram Moolenaar [Tue, 9 Oct 2018 19:49:33 +0000 (21:49 +0200)]
patch 8.1.0468: MS-Windows: filter command with pipe character fails
Problem: MS-Windows: Filter command with pipe character fails. (Johannes
Riecken)
Solution: Find the pipe character outside of quotes. (Yasuhiro Matsumoto,
closes #1743, closes #3523)
Bram Moolenaar [Mon, 8 Oct 2018 18:07:39 +0000 (20:07 +0200)]
patch 8.1.0467: cannot build with Mac OS X 10.5
Problem: Cannot build with Mac OS X 10.5.
Solution: Change #ifdef into #if. (Akshay Hegde, closes #3022)
Bram Moolenaar [Sun, 7 Oct 2018 21:16:36 +0000 (23:16 +0200)]
patch 8.1.0466: autocmd test fails
Problem: Autocmd test fails.
Solution: Do call inchar() when flushing typeahead.
Bram Moolenaar [Sun, 7 Oct 2018 20:47:07 +0000 (22:47 +0200)]
patch 8.1.0465: client-server test fails
Problem: Client-server test fails.
Solution: Change logic in EnumWindows().
Bram Moolenaar [Sun, 7 Oct 2018 19:36:11 +0000 (21:36 +0200)]
patch 8.1.0464: MS-Windows: job_info() has cmd without backslashes
Problem: MS-Windows: job_info() has cmd without backslashes. (Daniel
Hahler)
Solution: Use rem_backslash(). (closes #3517, closes #3404)
Bram Moolenaar [Sun, 7 Oct 2018 18:48:39 +0000 (20:48 +0200)]
patch 8.1.0463: "simalt ~x" in .vimrc blocks swap file prompt
Problem: "simalt ~x" in .vimrc blocks swap file prompt.
Solution: Flush buffers before prompting. (Yasuhiro Matsumoto,
closes #3518, closes #2192)
Bram Moolenaar [Sun, 7 Oct 2018 18:35:12 +0000 (20:35 +0200)]
patch 8.1.0462: when using ConPTY Vim can be a child process
Problem: When using ConPTY Vim can be a child process.
Solution: To find a Vim window use both EnumWindows() and
EnumChildWindows(). (Nobuhiro Takasaki, closes #3521)
Bram Moolenaar [Sun, 7 Oct 2018 18:26:20 +0000 (20:26 +0200)]
patch 8.1.0461: quickfix code uses too many /* */ comments
Problem: Quickfix code uses too many /* */ comments.
Solution: Change to // comments. (Yegappan Lakshmanan)
Bram Moolenaar [Sun, 7 Oct 2018 18:16:49 +0000 (20:16 +0200)]
patch 8.1.0460: assert_fails() does not take a message argument
Problem: assert_fails() does not take a message argument
Solution: Add the argument.
Bram Moolenaar [Sun, 7 Oct 2018 16:43:05 +0000 (18:43 +0200)]
patch 8.1.0459: Test_executable fails when there is a dog in the system
Problem: Test_executable fails when there is a dog in the system.
Solution: Rename the dog. (Hirohito Higashi)
Bram Moolenaar [Sun, 7 Oct 2018 15:46:42 +0000 (17:46 +0200)]
patch 8.1.0458: ml_get error and crash when using "do"
Problem: Ml_get error and crash when using "do".
Solution: Adjust cursor position also when diffupdate is not needed.
(Hirohito Higashi)
Bram Moolenaar [Sun, 7 Oct 2018 13:49:56 +0000 (15:49 +0200)]
patch 8.1.0457: win32 console: key mappings don't work
Problem: Win32 console: key mappings don't work.
Solution: Use another solution for the keypad keys that doesn't break
mappings. Some values will be negative. (Mike Williams)
Bram Moolenaar [Sun, 7 Oct 2018 13:42:07 +0000 (15:42 +0200)]
patch 8.1.0456: running test hangs when the input file is being edited
Problem: Running test hangs when the input file is being edited.
Solution: Use a SwapExists autocommand to ignore editing the test script.
Bram Moolenaar [Sun, 7 Oct 2018 12:38:49 +0000 (14:38 +0200)]
patch 8.1.0455: checking for empty quickfix stack is not consistent
Problem: Checking for empty quickfix stack is not consistent.
Solution: Use qf_stack_empty(). (Yegappan Lakshmanan)
Bram Moolenaar [Sat, 6 Oct 2018 13:43:17 +0000 (15:43 +0200)]
patch 8.1.0454: resolve() was not tested with a symlink cycle
Problem: resolve() was not tested with a symlink cycle.
Solution: Add a test. (Dominique Pelle, closes #3513)
Bram Moolenaar [Sat, 6 Oct 2018 13:18:45 +0000 (15:18 +0200)]
patch 8.1.0453: MS-Windows: executable() is not reliable
Problem: MS-Windows: executable() is not reliable.
Solution: Use $PATHEXT properly. (Yasuhiro Matsumoto, closes #3412)
Bram Moolenaar [Sat, 6 Oct 2018 13:03:15 +0000 (15:03 +0200)]
patch 8.1.0452: MS-Windows: not finding intl.dll
Problem: MS-Windows: not finding intl.dll.
Solution: Also find intl.dll next to libintl.dll. (Ken Takata)
Bram Moolenaar [Wed, 3 Oct 2018 18:44:20 +0000 (20:44 +0200)]
patch 8.1.0451: Win32 console: keypad keys don't work
Problem: Win32 console: keypad keys don't work.
Solution: Use numbers instead of characters to avoid the value becoming
negative. (Mike Williams)
Bram Moolenaar [Tue, 2 Oct 2018 19:48:34 +0000 (21:48 +0200)]
patch 8.1.0450: build failure without the +fold feature
Problem: Build failure without the +fold feature.
Solution: Add #ifdef.
Bram Moolenaar [Tue, 2 Oct 2018 19:20:32 +0000 (21:20 +0200)]
patch 8.1.0449: when 'rnu' is set folded lines are not displayed correctly
Problem: When 'rnu' is set folded lines are not displayed correctly.
(Vitaly Yashin)
Solution: When only redrawing line numbers do draw folded lines.
(closes #3484)
Bram Moolenaar [Tue, 2 Oct 2018 16:26:10 +0000 (18:26 +0200)]
patch 8.1.0448: cursorline not removed when using 'cursorbind'
Problem: Cursorline not removed when using 'cursorbind'. (Justin Keyes)
Solution: Store the last cursor line per window. (closes #3488)
Bram Moolenaar [Tue, 2 Oct 2018 14:23:58 +0000 (16:23 +0200)]
patch 8.1.0447: GUI scrollbar test fails with Athena and Motif
Problem: GUI scrollbar test fails with Athena and Motif.
Solution: When not using on-the-fly scrolling call normal_cmd().