Bram Moolenaar [Fri, 29 Jun 2018 18:28:31 +0000 (20:28 +0200)]
patch 8.1.0127: build failure when disabling the session feature
Problem: Build failure when disabling the session feature. (Pawel Slowik)
Solution: Adjust #ifdef for vim_chdirfile().
Bram Moolenaar [Thu, 28 Jun 2018 20:23:00 +0000 (22:23 +0200)]
patch 8.1.0126: various problems with 'vartabstop'
Problem: Various problems with 'vartabstop'.
Solution: Fix memory leak. Fix crash. Add a few more tests. (Christian
Brabandt, closes #3076)
Bram Moolenaar [Thu, 28 Jun 2018 17:26:28 +0000 (19:26 +0200)]
patch 8.1.0125: virtual edit replace with multi-byte fails at end of line
Problem: Virtual edit replace with multi-byte fails at end of line. (Lukas
Werling)
Solution: use ins_char() to add the character. (Christian Brabandt,
closes #3114) Rename PCHAR() to PBYTE() to avoid mistakes like
this.
Bram Moolenaar [Thu, 28 Jun 2018 13:50:28 +0000 (15:50 +0200)]
patch 8.1.0124: has('vcon') returns true even for non-win32 terminal
Problem: has('vcon') returns true even for non-win32 terminal.
Solution: Check the terminal type. (Nobuhiro Takasaki, closes #3106)
Bram Moolenaar [Thu, 28 Jun 2018 13:29:52 +0000 (15:29 +0200)]
patch 8.1.0123: MS-Windows: colors are wrong after setting 'notgc'
Problem: MS-Windows: colors are wrong after setting 'notgc'.
Solution: Only call control_console_color_rgb() for the win32 terminal.
(Nobuhiro Takasaki, closes #3107)
Bram Moolenaar [Thu, 28 Jun 2018 12:54:43 +0000 (14:54 +0200)]
patch 8.1.0122: translators don't always understand the maintainer message
Problem: Translators don't always understand the maintainer message.
Solution: Add a comment that ends up in the generated po file. (Christian
Brabandt, closes #3037)
Bram Moolenaar [Thu, 28 Jun 2018 10:05:11 +0000 (12:05 +0200)]
patch 8.1.0121: crash when using ballooneval related to 'vartabstop'
Problem: Crash when using ballooneval related to 'vartabstop'.
Solution: Initialize balloonEval->vts to NULL. (Markus Braun)
Bram Moolenaar [Thu, 28 Jun 2018 09:28:08 +0000 (11:28 +0200)]
patch 8.1.0120: buffer 'modified' set even when :sort has no changes
Problem: Buffer 'modified' set even when :sort has no changes.
Solution: Only set 'modified' when lines are moved. (Jason Franklin)
Bram Moolenaar [Wed, 27 Jun 2018 21:12:36 +0000 (23:12 +0200)]
patch 8.1.0119: failing test goes unnoticed because messages is not written
Problem: Failing test goes unnoticed because testdir/messages is not
written.
Solution: Set 'nomodifiable' only local to the buffer.
Bram Moolenaar [Wed, 27 Jun 2018 18:49:44 +0000 (20:49 +0200)]
patch 8.1.0118: duplicate error message for put command
Problem: Duplicate error message for put command.
Solution: Check return value of u_save(). (Jason Franklin)
Bram Moolenaar [Tue, 26 Jun 2018 21:18:45 +0000 (23:18 +0200)]
patch 8.1.0117: URL in install program still points to SourceForge
Problem: URL in install program still points to SourceForge.
Solution: Change it to www.vim.org. (closes #3100)
Bram Moolenaar [Mon, 25 Jun 2018 19:24:51 +0000 (21:24 +0200)]
patch 8.1.0116: display problem with 'vartabstop' and 'linebreak'
Problem: Display problem with 'vartabstop' and 'linebreak'. (Chauca
Fuentes)
Solution: Call tabstop_padding(). (Christian Brabandt, closes #3076)
Bram Moolenaar [Sun, 24 Jun 2018 22:05:59 +0000 (00:05 +0200)]
patch 8.1.0115: the matchparen plugin may throw an error
Problem: The matchparen plugin may throw an error.
Solution: Change the skip argument from zero to "0".
Bram Moolenaar [Sun, 24 Jun 2018 21:53:28 +0000 (23:53 +0200)]
patch 8.1.0114: confusing variable name
Problem: Confusing variable name.
Solution: Rename new_ts to new_vts_array. Change zero to NULL.
Bram Moolenaar [Sun, 24 Jun 2018 18:42:01 +0000 (20:42 +0200)]
Update runtime files.
Bram Moolenaar [Sun, 24 Jun 2018 17:24:03 +0000 (19:24 +0200)]
patch 8.1.0113: compiler warning for unused variable
Problem: Compiler warning for unused variable. (Yegappan Lakshmanan)
Solution: Add UNUSED. (Christian Brabandt)
Bram Moolenaar [Sun, 24 Jun 2018 17:01:59 +0000 (19:01 +0200)]
patch 8.1.0112: no error when using bad arguments with searchpair()
Problem: No error when using bad arguments with searchpair().
Solution: Add error messages.
Bram Moolenaar [Sun, 24 Jun 2018 16:04:50 +0000 (18:04 +0200)]
patch 8.1.0111: .po files do not use recommended names
Problem: .po files do not use recommended names.
Solution: Give a warning if the recommended name is not used. Accept the
recommended name for conversion. (Christian Brabandt, Ken Takata)
Bram Moolenaar [Sun, 24 Jun 2018 14:53:35 +0000 (16:53 +0200)]
patch 8.1.0110: file name not displayed with ":file"
Problem: File name not displayed with ":file" when 'F' is in 'shortmess'.
Solution: Always display the file name when there is no argument (Christian
Brabandt, closes #3070)
Bram Moolenaar [Sun, 24 Jun 2018 13:56:24 +0000 (15:56 +0200)]
patch 8.1.0109: new po makefile missing from distribution
Problem: New po makefile missing from distribution.
Solution: Add it to the file list.
Bram Moolenaar [Sun, 24 Jun 2018 13:52:56 +0000 (15:52 +0200)]
patch 8.1.0108: no Danish translations
Problem: No Danish translations.
Solution: Add Danish message translations. (closes #3073) Move list of
languages to a common makefile.
Bram Moolenaar [Sun, 24 Jun 2018 13:14:07 +0000 (15:14 +0200)]
patch 8.1.0107: Python: getting buffer option clears message
Problem: Python: getting buffer option clears message. (Jacob Niehus)
Solution: Don't use aucmd_prepbuf(). (closes #3079)
Bram Moolenaar [Sun, 24 Jun 2018 12:44:46 +0000 (14:44 +0200)]
patch 8.1.0106: build fails when HAVE_DATE_TIME is undefined
Problem: Build fails when HAVE_DATE_TIME is undefined.
Solution: Always define init_longVersion(). (Christian Brabandt,
closes #3075)
Bram Moolenaar [Sat, 23 Jun 2018 17:23:02 +0000 (19:23 +0200)]
patch 8.1.0105: all tab stops are the same
Problem: All tab stops are the same.
Solution: Add the variable tabstop feature. (Christian Brabandt,
closes #2711)
Bram Moolenaar [Sat, 23 Jun 2018 15:14:41 +0000 (17:14 +0200)]
patch 8.1.0104: can't build without the +eval feature
Problem: Can't build without the +eval feature.
Solution: Add #ifdef.
Bram Moolenaar [Sat, 23 Jun 2018 14:12:21 +0000 (16:12 +0200)]
patch 8.1.0103: long version string cannot be translated
Problem: Long version string cannot be translated.
Solution: Build the string in init_longVersion().
Bram Moolenaar [Sat, 23 Jun 2018 13:09:10 +0000 (15:09 +0200)]
patch 8.1.0102: cannot build without syntax highlighting
Problem: Cannot build without syntax highlighting.
Solution: Add #ifdef around using reg_do_extmatch.
Bram Moolenaar [Sat, 23 Jun 2018 12:55:03 +0000 (14:55 +0200)]
patch 8.1.0101: no test for getcmdwintype()
Problem: No test for getcmdwintype().
Solution: Add a test. (Dominique Pelle, closes #3068)
Bram Moolenaar [Sat, 23 Jun 2018 12:36:17 +0000 (14:36 +0200)]
patch 8.1.0100: terminal debugger: error when setting a watch point
Problem: Terminal debugger: error when setting a watch point.
Solution: Don't try defining a sign for a watch point.
Bram Moolenaar [Sat, 23 Jun 2018 12:34:28 +0000 (14:34 +0200)]
patch 8.1.0099: exclamation mark in error message not needed
Problem: Exclamation mark in error message not needed.
Solution: Remove the exclamation mark.
Bram Moolenaar [Sat, 23 Jun 2018 12:21:42 +0000 (14:21 +0200)]
patch 8.1.0098: segfault when pattern with \z() is very slow
Problem: Segfault when pattern with \z() is very slow.
Solution: Check for NULL regprog. Add "nfa_fail" to test_override() to be
able to test this. Fix that 'searchhl' resets called_emsg.
Bram Moolenaar [Fri, 22 Jun 2018 19:42:30 +0000 (21:42 +0200)]
patch 8.1.0097: superfluous space before exclamation mark
Problem: Superfluous space before exclamation mark.
Solution: Remove the space. Don't translate debug message.
Bram Moolenaar [Fri, 22 Jun 2018 19:30:31 +0000 (21:30 +0200)]
patch 8.1.0096: inconsistent use of the word autocommands
Problem: Inconsistent use of the word autocommands.
Solution: Don't use auto-commands or "auto commands".
Bram Moolenaar [Thu, 21 Jun 2018 20:10:08 +0000 (22:10 +0200)]
patch 8.1.0095: dialog for ":browse tabnew" says "new window"
Problem: Dialog for ":browse tabnew" says "new window".
Solution: Use "new tab page". (closes #3053)
Bram Moolenaar [Thu, 21 Jun 2018 19:38:33 +0000 (21:38 +0200)]
patch 8.1.0094: help text "usage:" is not capatalized
Problem: Help text "usage:" is not capatalized.
Solution: Make it "Usage:". (closes #3044)
Bram Moolenaar [Thu, 21 Jun 2018 18:31:14 +0000 (20:31 +0200)]
patch 8.1.0093: non-MS-Windows: Cannot interrupt gdb when program is running
Problem: non-MS-Windows: Cannot interrupt gdb when program is running.
Solution: Only use debugbreak() on MS-Windows.
Bram Moolenaar [Thu, 21 Jun 2018 10:07:04 +0000 (12:07 +0200)]
patch 8.1.0092: prompt buffer test fails
Problem: Prompt buffer test fails.
Solution: Set 'nomodified' before closing the window. (Ozaki Kiichi,
closes #3051
Bram Moolenaar [Wed, 20 Jun 2018 20:38:21 +0000 (22:38 +0200)]
patch 8.1.0091: MS-Windows: Cannot interrupt gdb when program is running
Problem: MS-Windows: Cannot interrupt gdb when program is running.
Solution: Add debugbreak() and use it in the terminal debugger.
Respect 'modified' in a prompt buffer.
Bram Moolenaar [Wed, 20 Jun 2018 18:37:36 +0000 (20:37 +0200)]
patch 8.1.0090: "..." used inconsistently in a message
Problem: "..." used inconsistently in a message.
Solution: Define the message with " ..." once. (hint by Ken Takata)
Bram Moolenaar [Tue, 19 Jun 2018 20:34:46 +0000 (22:34 +0200)]
patch 8.1.0089: error when ending the terminal debugger
Problem: error when ending the terminal debugger
Solution: Fix deleting defined signs for breakpoints. Make the debugger
work better on MS-Windows.
Bram Moolenaar [Tue, 19 Jun 2018 18:08:14 +0000 (20:08 +0200)]
patch 8.1.0088: terminal test for stdout and stderr is a bit flaky
Problem: Terminal test for stdout and stderr is a bit flaky.
Solution: Wait for both stdout and stderr to have been processed. (Ozaki
Kiichi, closes #2991)
Bram Moolenaar [Tue, 19 Jun 2018 17:59:20 +0000 (19:59 +0200)]
patch 8.1.0087: v:shell_error is always zero when using terminal for "!cmd"
Problem: v:shell_error is always zero when using terminal for "!cmd".
Solution: Use "exitval" of terminal-job. (Ozaki Kiichi, closes #2994)
Bram Moolenaar [Tue, 19 Jun 2018 17:46:06 +0000 (19:46 +0200)]
patch 8.1.0086: no tests for libcall() and libcallnr()
Problem: No tests for libcall() and libcallnr().
Solution: Add tests. (Dominique Pelle, closes #2982)
Bram Moolenaar [Tue, 19 Jun 2018 17:09:09 +0000 (19:09 +0200)]
patch 8.1.0085: no test for completing user name and language
Problem: No test for completing user name and language.
Solution: Add tests. (Dominique Pelle, closes #2978)
Bram Moolenaar [Tue, 19 Jun 2018 16:58:07 +0000 (18:58 +0200)]
patch 8.1.0084: user name completion does not work on MS-Windows
Problem: User name completion does not work on MS-Windows.
Solution: Use NetUserEnum() to get user names. (Yasuhiro Matsumoto)
Bram Moolenaar [Tue, 19 Jun 2018 16:27:41 +0000 (18:27 +0200)]
patch 8.1.0083: "is" and "as" have trouble with quoted punctuation
Problem: "is" and "as" have trouble with quoted punctuation.
Solution: Check for punctuation before a quote. (Jason Franklin)
Bram Moolenaar [Tue, 19 Jun 2018 15:49:24 +0000 (17:49 +0200)]
patch 8.1.0082: in terminal window, typing : at more prompt, inserts ':'
Problem: In terminal window, typing : at more prompt, inserts ':' instead
of starting another Ex command.
Solution: Add skip_term_loop and set it when putting ':' in the typeahead
buffer.
Bram Moolenaar [Tue, 19 Jun 2018 15:27:53 +0000 (17:27 +0200)]
patch 8.1.0081: the terminal debugger doesn't adjust to changed 'background'
Problem: The terminal debugger doesn't adjust to changed 'background'.
Solution: Add an OptionSet autocommand. (Christian Brabandt)
Bram Moolenaar [Tue, 19 Jun 2018 14:59:54 +0000 (16:59 +0200)]
patch 8.1.0080: can't see the breakpoint number in the terminal debugger
Problem: Can't see the breakpoint number in the terminal debugger.
Solution: Use the breakpoint number for the sign. (Christian Brabandt)
Bram Moolenaar [Tue, 19 Jun 2018 12:45:37 +0000 (14:45 +0200)]
patch 8.1.0079: superfluous space in messages
Problem: Superfluous space in messages.
Solution: Remove the spaces. (closes #3030)
Bram Moolenaar [Tue, 19 Jun 2018 12:35:59 +0000 (14:35 +0200)]
Update runtime files.
Bram Moolenaar [Tue, 19 Jun 2018 12:23:53 +0000 (14:23 +0200)]
patch 8.1.0078: "..." used inconsistently in messages
Problem: "..." used inconsistently in messages.
Solution: Drop the space before " ...".
Bram Moolenaar [Mon, 18 Jun 2018 20:31:11 +0000 (22:31 +0200)]
patch 8.1.0077: header of README file is not nice
Problem: Header of README file is not nice.
Solution: Move text to the bottom.
Bram Moolenaar [Mon, 18 Jun 2018 20:15:50 +0000 (22:15 +0200)]
patch 8.1.0076: command getting cleared with CTRL-W : in a terminal window
Problem: Command getting cleared with CTRL-W : in a terminal window. (Jason
Franklin)
Solution: Call redraw_after_callback() when editing the command line.
Bram Moolenaar [Mon, 18 Jun 2018 20:00:22 +0000 (22:00 +0200)]
patch 8.1.0075: no Vim logo in README file
Problem: No Vim logo in README file.
Solution: Add one. (Árni Dagur, closes #3024)
Bram Moolenaar [Mon, 18 Jun 2018 19:53:28 +0000 (21:53 +0200)]
patch 8.1.0074: crash when running quickfix tests
Problem: Crash when running quickfix tests.
Solution: Do not alloc a new location list when checking for the reference
to be still valid.
Bram Moolenaar [Mon, 18 Jun 2018 18:52:13 +0000 (20:52 +0200)]
patch 8.1.0073: crash when autocommands call setloclist()
Problem: Crash when autocommands call setloclist(). (Dominique Pelle)
Solution: If the quickfix list changes then don't jump to the error.
Bram Moolenaar [Sun, 17 Jun 2018 20:19:12 +0000 (22:19 +0200)]
patch 8.1.0072: use of 'termwinkey' is inconsistent
Problem: Use of 'termwinkey' is inconsistent.
Solution: Change the documentation and the behavior. (Ken Takata)
Bram Moolenaar [Sun, 17 Jun 2018 19:34:11 +0000 (21:34 +0200)]
patch 8.1.0071: terminal debugger only works with the terminal feature
Problem: Terminal debugger only works with the terminal feature.
Solution: Make it also work with a prompt buffer. Makes it possible to use
on MS-Windows. Various other improvements. (closes #3012)
Bram Moolenaar [Sun, 17 Jun 2018 18:10:39 +0000 (20:10 +0200)]
patch 8.1.0070: missing part of the changes for prompt_setinterrupt()
Problem: Missing part of the changes for prompt_setinterrupt().
Solution: Add the missing changes.
Bram Moolenaar [Sun, 17 Jun 2018 17:36:33 +0000 (19:36 +0200)]
patch 8.1.0069: cannot handle pressing CTRL-C in a prompt buffer
Problem: Cannot handle pressing CTRL-C in a prompt buffer.
Solution: Add prompt_setinterrupt().
Bram Moolenaar [Sun, 17 Jun 2018 17:22:52 +0000 (19:22 +0200)]
patch 8.1.0068: nasty autocommands can still cause using freed memory
Problem: Nasty autocommands can still cause using freed memory.
Solution: Disallow using setloclist() and setqflist() recursively.
Bram Moolenaar [Sun, 17 Jun 2018 17:08:30 +0000 (19:08 +0200)]
patch 8.1.0067: syntax highlighting not working when re-entering a buffer
Problem: Syntax highlighting not working when re-entering a buffer.
Solution: Do force executing autocommands when not called recursively.
Bram Moolenaar [Sun, 17 Jun 2018 15:32:58 +0000 (17:32 +0200)]
patch 8.1.0066: nasty autocommand causes using freed memory
Problem: Nasty autocommand causes using freed memory. (Dominique Pelle)
Solution: Do not force executing autocommands if the value of 'syntax' or
'filetype' did not change.
Bram Moolenaar [Sun, 17 Jun 2018 15:10:59 +0000 (17:10 +0200)]
patch 8.1.0065: balloon displayed at the wrong position
Problem: Balloon displayed at the wrong position.
Solution: Do not reposition the popup menu at the cursor position.
Bram Moolenaar [Sun, 17 Jun 2018 14:23:34 +0000 (16:23 +0200)]
patch 8.1.0064: typing CTRL-W in a prompt buffer shows mode "-- --"
Problem: Typing CTRL-W in a prompt buffer shows mode "-- --".
Solution: Set restart_edit to 'A' and check for it.
Bram Moolenaar [Sun, 17 Jun 2018 13:01:04 +0000 (15:01 +0200)]
patch 8.1.0063: Mac: NSStringPboardType is deprecated
Problem: Mac: NSStringPboardType is deprecated.
Solution: Use NSPasteboardTypeString. (Akshay Hegde, closes #3022)
Bram Moolenaar [Sun, 17 Jun 2018 12:47:55 +0000 (14:47 +0200)]
patch 8.1.0062: popup menu broken if a callback changes the window layout
Problem: Popup menu broken if a callback changes the window layout. (Qiming
Zhao)
Solution: Recompute the popup menu position if needed. Redraw the ruler
even when the popup menu is displayed.
Bram Moolenaar [Sat, 16 Jun 2018 20:58:15 +0000 (22:58 +0200)]
patch 8.1.0061: window title is wrong after resetting and setting 'title'
Problem: Window title is wrong after resetting and setting 'title'.
Solution: Move resetting the title into maketitle(). (Jason Franklin)
Bram Moolenaar [Sat, 16 Jun 2018 20:16:47 +0000 (22:16 +0200)]
patch 8.1.0060: crash when autocommands delete the current buffer
Problem: Crash when autocommands delete the current buffer. (Dominique
Pelle)
Solution: Check that autocommands don't change the buffer.
Bram Moolenaar [Sat, 16 Jun 2018 15:25:22 +0000 (17:25 +0200)]
patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"
Problem: Displayed digraph for "ga" wrong with 'encoding' "cp1251".
Solution: Convert from 'encoding' to "utf-8" if needed. (closes #3015)
Bram Moolenaar [Sat, 16 Jun 2018 14:20:52 +0000 (16:20 +0200)]
patch 8.1.0058: display problem with margins and scrolling
Problem: Display problem with margins and scrolling.
Solution: Place the cursor in the right column. (Kouichi Iwamoto,
closes #3016)
Bram Moolenaar [Sat, 16 Jun 2018 13:32:38 +0000 (15:32 +0200)]
patch 8.1.0057: popup menu displayed wrong when using autocmd
Problem: Popup menu displayed wrong when using autocmd.
Solution: Use aucmd_prepbuf(). Force updating status line if the popup menu
is going to be redrawn anyway. (Christian Brabandt, closes #3009)
Bram Moolenaar [Sat, 16 Jun 2018 12:44:11 +0000 (14:44 +0200)]
patch 8.1.0056: crash when using :hardcopy with illegal byte
Problem: Crash when using :hardcopy with illegal byte.
Solution: Check for string_convert() returning NULL. (Dominique Pelle)
Bram Moolenaar [Wed, 13 Jun 2018 19:27:24 +0000 (21:27 +0200)]
patch 8.1.0055: complete test has wrong order of arguments
Problem: Complete test has wrong order of arguments. Wrong type for
sentinel variable.
Solution: Swap arguments, use VAR_UNKNOWN. (Ozaki Kiichi)
Bram Moolenaar [Wed, 13 Jun 2018 18:49:50 +0000 (20:49 +0200)]
patch 8.1.0054: compiler warning for using %ld for "long long"
Problem: Compiler warning for using %ld for "long long".
Solution: Add a type cast. (closes #3002)
Bram Moolenaar [Tue, 12 Jun 2018 20:05:14 +0000 (22:05 +0200)]
patch 8.1.0053: first argument of 'completefunc' has inconsistent type
Problem: The first argument given to 'completefunc' can be Number or
String, depending on the value.
Solution: Avoid guessing the type of an argument, use typval_T in the
callers of call_vim_function(). (Ozaki Kiichi, closes #2993)
Bram Moolenaar [Tue, 12 Jun 2018 19:35:40 +0000 (21:35 +0200)]
patch 8.1.0052: when mapping to <Nop> times out the next mapping is skipped
Problem: When a mapping to <Nop> times out the next mapping is skipped.
Solution: Reset "timedout" when waiting for a character. (Christian
Brabandt, closes #2921)
Bram Moolenaar [Tue, 12 Jun 2018 19:11:12 +0000 (21:11 +0200)]
patch 8.1.0051: MS-Windows: missing #endif
Problem: MS-Windows: missing #endif.
Solution: Add the #endif.
Bram Moolenaar [Tue, 12 Jun 2018 18:25:52 +0000 (20:25 +0200)]
patch 8.1.0050: $VIM_TERMINAL is also set when not in a terminal window
Problem: $VIM_TERMINAL is also set when not in a terminal window.
Solution: Pass a flag to indicate whether the job runs in a terminal.
Bram Moolenaar [Tue, 12 Jun 2018 16:05:24 +0000 (18:05 +0200)]
patch 8.1.0049: shell cannot tell running in a terminal window
Problem: Shell cannot tell running in a terminal window.
Solution: Add the VIM_TERMINAL environment variable. (Christian Brabandt)
Bram Moolenaar [Tue, 12 Jun 2018 15:25:36 +0000 (17:25 +0200)]
patch 8.1.0048: vim_str2nr() does not handle numbers close to the maximum
Problem: vim_str2nr() does not handle numbers close to the maximum.
Solution: Check for overflow more precisely. (Ken Takata, closes #2746)
Bram Moolenaar [Tue, 12 Jun 2018 15:03:39 +0000 (17:03 +0200)]
patch 8.1.0047: no completion for :unlet $VAR
Problem: No completion for :unlet $VAR.
Solution: Add completion. (Jason Franklin)
Bram Moolenaar [Tue, 12 Jun 2018 14:49:30 +0000 (16:49 +0200)]
patch 8.1.0046: loading a session file fails if 'winheight' is big
Problem: Loading a session file fails if 'winheight' is a big number.
Solution: Set 'minwinheight' to zero at first. Don't give an error when
setting 'minwinheight' while 'winheight' is a big number.
Fix using vertical splits. Fix setting 'minwinwidth'.
(closes #2970)
Bram Moolenaar [Tue, 12 Jun 2018 13:22:43 +0000 (15:22 +0200)]
patch 8.1.0045: popup test isn't run completely
Problem: Popup test isn't run completely.
Solution: Remove "finish". Clean up function definitions.
Bram Moolenaar [Tue, 12 Jun 2018 12:58:39 +0000 (14:58 +0200)]
patch 8.1.0044: if a test function exists Vim this may go unnoticed
Problem: If a test function exists Vim this may go unnoticed.
Solution: Check for a test funtion quitting Vim. Fix tests that did exit
Vim.
Bram Moolenaar [Tue, 12 Jun 2018 10:39:41 +0000 (12:39 +0200)]
patch 8.1.0043: ++bad argument of :edit does not work properly
Problem: ++bad argument of :edit does not work properly.
Solution: Return FAIL from get_bad_opt() only when there is no valid
argument. (Dominique Pelle, Christian Brabandt, closes #2966,
closes #2947)
Bram Moolenaar [Sun, 10 Jun 2018 12:39:52 +0000 (14:39 +0200)]
patch 8.1.0042: if omni completion opens a window Insert mode is stopped
Problem: If omni completion opens a window Insert mode is stopped.
(Hirohito Higashi)
Solution: Only set stop_insert_mode in a prompt buffer window.
Bram Moolenaar [Sun, 10 Jun 2018 11:55:55 +0000 (13:55 +0200)]
patch 8.1.0041: attribute "width" missing from python window attribute list
Problem: Attribute "width" missing from python window attribute list.
Solution: Add the item. (Ken Takata) Order the list like the items are used
in the WindowAttr() function.
Bram Moolenaar [Sun, 10 Jun 2018 11:12:55 +0000 (13:12 +0200)]
patch 8.1.0040: warnings from 64-bit compiler
Problem: Warnings from 64-bit compiler.
Solution: Add type casts. (Mike Williams)
Bram Moolenaar [Thu, 7 Jun 2018 16:17:46 +0000 (18:17 +0200)]
patch 8.1.0039: cannot easily delete lines in another buffer
Problem: Cannot easily delete lines in another buffer.
Solution: Add deletebufline().
Bram Moolenaar [Thu, 7 Jun 2018 13:18:41 +0000 (15:18 +0200)]
patch 8.1.0038: popup test causes Vim to exit
Problem: Popup test causes Vim to exit.
Solution: Disable the broken part of the test for now.
Bram Moolenaar [Wed, 6 Jun 2018 19:04:07 +0000 (21:04 +0200)]
patch 8.1.0037: cannot easily append lines to another buffer
Problem: Cannot easily append lines to another buffer.
Solution: Add appendbufline().
Bram Moolenaar [Wed, 6 Jun 2018 16:02:39 +0000 (18:02 +0200)]
patch 8.1.0036: not restoring Insert mode if leaving prompt buffer with mouse
Problem: Not restoring Insert mode if leaving a prompt buffer by using a
mouse click.
Solution: Set b_prompt_insert appropriately. Also correct cursor position
when moving cursor to last line.
Bram Moolenaar [Wed, 6 Jun 2018 07:11:12 +0000 (09:11 +0200)]
patch 8.1.0035: not easy to switch between prompt buffer and other windows
Problem: Not easy to switch between prompt buffer and other windows.
Solution: Accept CTRL-W commands in Insert mode. Start and stop Insert mode
as one would expect.
Bram Moolenaar [Mon, 4 Jun 2018 18:34:23 +0000 (20:34 +0200)]
patch 8.1.0034: cursor not restored with ":edit #"
Problem: Cursor not restored with ":edit #".
Solution: Don't assume autocommands moved the cursor when it was moved to
the first non-blank.
Bram Moolenaar [Mon, 4 Jun 2018 17:11:11 +0000 (19:11 +0200)]
patch 8.1.0033: keys to stop Vim in terminal are wrong
Problem: Keys to stop Vim in terminal are wrong. (Marius Gedminas)
Solution: Move ":" to before CTRL-U.
Bram Moolenaar [Mon, 4 Jun 2018 15:28:44 +0000 (17:28 +0200)]
patch 8.1.0032: BS in prompt buffer starts new line
Problem: BS in prompt buffer starts new line.
Solution: Do not allows BS over the prompt. Make term_sendkeys() handle
special keys. Add a test.
Bram Moolenaar [Sun, 3 Jun 2018 16:22:02 +0000 (18:22 +0200)]
patch 8.1.0031: terminal test aucmd_on_close if flaky
Problem: Terminal test aucmd_on_close if flaky.
Solution: Wait a bit longer.
Bram Moolenaar [Sun, 3 Jun 2018 15:10:40 +0000 (17:10 +0200)]
patch 8.1.0030: stoping Vim running in a terminal may not work
Problem: Stoping Vim running in a terminal may not work.
Solution: Instead of sending <Esc> send CTRL-O.